:root {
  --green: #16794a;
  --green-dark: #0e5a36;
  --green-light: #e7f4ee;
  --gold: #f2b705;
  --ink: #142019;
  --muted: #5d6b64;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --line: #e2e9e5;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(14, 90, 54, 0.35);
  --container: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(var(--container), 92%); margin-inline: auto; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green-light); color: var(--green-dark); }
.btn--lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.btn--small { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.badge--dark { background: rgba(255,255,255,0.15); color: #fff; }

.hl { color: var(--green); position: relative; }

/* Topbar */
.topbar {
  background: var(--green-dark);
  color: #eafaf2;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.topbar__phone { font-weight: 700; }
.topbar__phone:hover { color: var(--gold); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.logo__mark {
  background: var(--green);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.04em;
}
.logo__text { font-weight: 600; }
.logo__text strong { color: var(--green); font-weight: 900; }
.logo--light .logo__text, .logo--light { color: #fff; }
.logo--light .logo__text strong { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--green); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--bg-soft) 0%, #eef6f1 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.1rem; }
.hero__lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.8rem; max-width: 32ch; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero__points { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; }
.hero__points li { color: var(--green-dark); }

/* Device mockup */
.hero__visual { display: grid; place-items: center; }
.device {
  background: #1d2a24;
  border-radius: 24px;
  padding: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 380px;
  transform: rotate(1.5deg);
}
.device__screen { background: #fff; border-radius: 14px; overflow: hidden; }
.pos { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pos__head { display: flex; justify-content: space-between; font-weight: 700; color: var(--green-dark); border-bottom: 2px dashed var(--line); padding-bottom: 0.5rem; }
.pos__time { color: var(--muted); font-weight: 600; }
.pos__items { display: flex; flex-direction: column; gap: 0.45rem; }
.pos__row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.pos__total { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--line); padding-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.pos__total strong { font-size: 1.4rem; color: var(--ink); }
.pos__pay { background: var(--green); color: #fff; border: none; border-radius: 10px; padding: 0.7rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.pos__tse { background: var(--green-light); color: var(--green-dark); font-size: 0.78rem; font-weight: 600; text-align: center; padding: 0.4rem; border-radius: 8px; }

/* Trust */
.trust { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.trust__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust__label { font-weight: 700; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.trust__items { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.trust__items span { font-weight: 800; color: var(--green-dark); opacity: 0.7; font-size: 0.95rem; }

/* Sections */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 2rem; margin-bottom: 0.7rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Products */
.products { background: var(--bg-soft); }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product--featured { border: 2px solid var(--green); }
.product__tag, .plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 0.78rem;
  padding: 0.3rem 0.9rem; border-radius: 999px;
}
.product__img { font-size: 2.6rem; margin-bottom: 0.6rem; }
.product h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.product__desc { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.product ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.product li { padding-left: 1.5rem; position: relative; font-size: 0.95rem; }
.product li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Industries */
.industry {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.industry:hover { transform: translateY(-4px); background: var(--green-light); }
.industry span { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }
.industry h4 { font-size: 1rem; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.plan__num { font-size: 2.6rem; font-weight: 900; color: var(--green-dark); }
.plan__per { color: var(--muted); font-weight: 600; }
.plan__note { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.2rem; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.6rem; flex: 1; }
.plan li { font-size: 0.95rem; }
.pricing__foot { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 1.6rem; }
.payments { text-align: center; margin-top: 2.6rem; }
.payments__label { display: block; font-weight: 700; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.payments__methods { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.pay-badge {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.55rem 1.1rem; font-weight: 700; font-size: 0.92rem; color: var(--ink);
  box-shadow: 0 6px 14px -10px rgba(0,0,0,0.25);
}
.payments__note { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }

/* TSE */
.tse { background: var(--green-dark); color: #eafaf2; }
.tse__inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
.tse h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.tse p { margin-bottom: 0.9rem; color: #d6ece0; }
.tse strong { color: #fff; }
.tse__list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1.2rem 0; }
.tse__list li { padding-left: 1.6rem; position: relative; color: #d6ece0; }
.tse__list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.tse__assure { background: rgba(255,255,255,0.1); padding: 1rem; border-radius: 12px; font-weight: 600; color: #fff !important; }
.tse__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 1.4rem 1rem; text-align: center; }
.stat strong { display: block; font-size: 2rem; color: var(--gold); }
.stat span { font-size: 0.88rem; color: #d6ece0; }

/* Testimonials */
.quote {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.quote p { font-style: italic; margin-bottom: 1rem; }
.quote footer { font-weight: 700; color: var(--green-dark); font-size: 0.92rem; }

/* FAQ */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.3rem;
}
.faq__item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--green); font-weight: 400; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin-top: 0.8rem; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.contact__text p { color: var(--muted); margin-bottom: 1.5rem; }
.contact__info { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.contact__info li { font-size: 1.05rem; }
.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--bg-soft);
  transition: border 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
  background: #fff;
}
.contact__success { text-align: center; color: var(--green-dark); font-weight: 700; margin-top: 1rem; }

/* Footer */
.footer { background: #0e1b14; color: #b9cfc3; padding: 3.5rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 36ch; }
.footer__company { font-size: 0.82rem; line-height: 1.7; color: #8fa99b; }
.footer__company strong { color: #fff; }
.footer__col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer__col a, .footer__col span { display: block; font-size: 0.92rem; margin-bottom: 0.55rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}
.footer__legal a:hover { color: var(--gold); }

/* Legal pages */
.nav-legal { display: flex; align-items: center; gap: 1.3rem; }
.nav-legal a { font-weight: 600; font-size: 0.92rem; }
.nav-legal a:not(.btn):hover { color: var(--green); }
.legal-hero { background: var(--green-dark); color: #fff; padding: 3rem 0 2.4rem; }
.legal-hero .legal-back { color: #d6ece0; font-weight: 600; display: inline-block; margin-bottom: 1rem; }
.legal-hero .legal-back:hover { color: var(--gold); }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-hero p { color: #d6ece0; margin-top: 0.5rem; }
.legal-content { padding: 3rem 0 4rem; }
.legal-content .container { max-width: 840px; }
.legal-section { margin-bottom: 1rem; }
.lang-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--green-light); color: var(--green-dark);
  font-weight: 800; font-size: 0.8rem; padding: 0.35rem 0.95rem;
  border-radius: 999px; letter-spacing: 0.04em; margin-bottom: 1.2rem;
}
.legal-content h2 { font-size: 1.45rem; margin: 2rem 0 0.7rem; }
.legal-content h3 { font-size: 1.08rem; margin: 1.4rem 0 0.4rem; }
.legal-content p, .legal-content li { color: var(--ink); font-size: 0.97rem; margin-bottom: 0.6rem; }
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-content address { font-style: normal; line-height: 1.8; margin-bottom: 0.8rem; }
.legal-content a { color: var(--green); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-divider { border: none; border-top: 2px dashed var(--line); margin: 3rem 0; }
.legal-note {
  background: #fff7e0; border: 1px solid #f2d98a; border-radius: 12px;
  padding: 1rem 1.2rem; font-size: 0.9rem; color: #7a5b00; margin: 1.4rem 0;
}
.legal-updated { color: var(--muted); font-size: 0.88rem; margin-top: 0.5rem; }
.placeholder { background: #ffe9a8; color: #7a5b00; padding: 0 0.3rem; border-radius: 4px; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .hero__inner, .tse__inner, .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 75%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 5rem 2rem 2rem; gap: 1.4rem; transform: translateX(100%);
    transition: transform 0.25s ease; box-shadow: var(--shadow); z-index: 60;
  }
  .nav.open { transform: translateX(0); }
  .nav__toggle { display: block; z-index: 70; }
}
@media (max-width: 540px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .nav-legal a:not(.btn) { display: none; }
}
