:root {
  --bg: #ffffff;
  --cream: #eef6ea;
  --tint: #f1f8ec;
  --card: #ffffff;
  --fg: #10241f;
  --muted: #55695f;
  --primary: #2f6b45;
  --primary-dark: #234f34;
  --primary-fg: #ffffff;
  --secondary: #e4f3da;
  --accent: #c9ecb3;
  --lime: #a6e86a;
  --lime-dark: #8fd457;
  --border: #dbe8d2;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(16, 36, 25, .14);
  --navy: #10241f;
  --sky: #a6e86a;
  --serif: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--fg); background: var(--bg);
  line-height: 1.6; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
input, select, textarea, button { font-size: 16px; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--fg); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--lime); color: var(--fg); }
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-light { background: var(--fg); color: #fff; }
.btn-light:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline-light { border-color: var(--fg); color: var(--fg); }
.btn-outline-light:hover { background: rgba(16, 36, 31, .06); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 36, 31, .97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header :focus-visible { outline-color: var(--sky); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: auto; height: 44px; }
.brand-text { font-family: var(--sans); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: #fff; }

.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { color: #e6f1f8; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .92; }
.nav a:hover { color: var(--sky); opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.lang button { border: 0; background: transparent; padding: 5px 11px; font: inherit; font-size: .8rem; font-weight: 700; color: #cfe3ef; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--sky); color: var(--navy); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* ---------- Trust strip ---------- */
.trust { background: var(--secondary); border-bottom: 1px solid var(--border); }
.trust-inner { list-style: none; padding: 10px 0; margin-block: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 36px; font-size: .9rem; font-weight: 600; color: var(--primary-dark); }
.trust-inner li { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner svg { width: 16px; height: 16px; fill: var(--primary); }

/* ---------- Hero ---------- */
.hero-points { display: none; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn-ghost { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-ghost:hover { background: var(--secondary); }
.burger { flex: none; }
.hero { background: var(--fg); padding: clamp(36px, 6vw, 80px) 0; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { color: #b9ccbf; }
.hero .badge { background: rgba(255, 255, 255, .1); color: var(--lime); }
.hero .badge svg { fill: var(--lime); }
.hero .hero-buttons .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .hero-buttons .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.hero .hero-sub { color: #b9ccbf; }
.hero .hero-sub a { color: var(--lime); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 5px 14px 5px 10px; border-radius: 999px; background: var(--secondary);
  color: var(--primary-dark); font-size: .88rem; font-weight: 700;
}
.badge svg { width: 16px; height: 16px; fill: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }

.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 14px; }
.quick input, .quick select {
  flex: 1 1 150px; min-width: 0; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; background: var(--card); font: inherit; color: var(--fg);
}
.quick input:focus, .quick select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 123, 176, .18); }
.hero-sub { font-size: .92rem; color: var(--muted); }
.hero-sub a { font-weight: 700; }

.hero-art { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 640 / 520; background: var(--cream); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.kicker { margin: 0 0 8px; color: var(--primary); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px;
  color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
a.card { cursor: pointer; }
a.card:hover { border-color: var(--primary); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--secondary); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; fill: var(--primary); }
.note { margin-top: 30px; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-copy p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { background: var(--card); border: 1px solid var(--border); border-left: 5px solid var(--primary); border-radius: 14px; padding: 18px 20px; display: grid; gap: 2px; }
.values strong { font-family: var(--serif); font-size: 1.1rem; }
.values span { color: var(--muted); }

/* CTA band */
.cta { background: var(--fg); color: #fff; padding: clamp(48px, 7vw, 76px) 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #b9ccbf; font-size: 1.1rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.cta .btn-light { background: var(--lime); color: var(--fg); }
.cta .btn-light:hover { background: var(--lime-dark); }
.cta .btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta .btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* Area pills */
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pills li { background: var(--secondary); color: var(--primary-dark); border-radius: 999px; padding: 10px 22px; font-weight: 700; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--secondary); fill: var(--primary); }
.contact-list .label { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.contact-list a, .contact-list span:not(.label) { font-weight: 700; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--primary); }

.form { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px;
  font: inherit; color: var(--fg); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 123, 176, .18); }
.field .invalid { border-color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.form .btn { width: 100%; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-status.error { color: #b03a2e; }
.form-status.ok { color: var(--primary); }

/* Privacy policy modal */
dialog.modal { border: 0; padding: 0; border-radius: 18px; width: min(640px, calc(100% - 32px)); max-height: 85vh; background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
dialog.modal::backdrop { background: rgba(16, 36, 25, .55); }
.modal-inner { position: relative; max-height: 85vh; overflow-y: auto; padding: 32px 28px 36px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--fg); display: grid; place-items: center; cursor: pointer; padding: 0; }
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--tint); }
.legal > p { color: var(--muted); }
.legal h3 { font-size: 1.2rem; margin: 1.8em 0 .4em; }
.legal h3 + p { color: var(--fg); }
.legal .section-head { margin-bottom: 24px; }
@media (max-width: 620px) {
  dialog.modal { width: calc(100% - 24px); }
  .modal-inner { padding: 26px 18px 30px; }
  .modal-close { width: 40px; height: 40px; }
  .lang button { padding: 8px 12px; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .trust { display: none; }
  .hero { padding: 20px 0; }
}

/* WhatsApp */
.btn-wa { --wa-cut: #1a9a4f; background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a46; transform: translateY(-1px); box-shadow: var(--shadow); }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wa-ico .ph { fill: var(--wa-cut, var(--secondary)); }
.form-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .form-buttons .btn { width: 100%; padding-inline: 14px; }

/* Footer */
.site-footer { background: var(--fg); color: #d6e6f0; padding: 56px 0 0; }
.site-footer a { color: #d6e6f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { width: 200px; height: auto; margin: 0 0 12px; }
.f-desc { color: #a9c2d2; font-size: .95rem; max-width: 30ch; }
.site-footer .btn-wa { color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #8fb0c4; }
.footer-bottom p { margin: 0; }
/* ---------- Responsive ---------- */
.brand-text, .nav a, .header-phone, .lang { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .header-phone span { display: none; }
  .header-phone { padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
}

@media (max-width: 960px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards, .cards-4, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .header-actions { margin-left: auto; }
}

@media (max-width: 620px) {
  .brand-text { font-size: 1.02rem; white-space: nowrap; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .lang button { padding: 7px 9px; font-size: .76rem; }
  .trust-inner { gap: 4px 20px; font-size: .84rem; }
  .cards, .cards-4, .steps, .field-row, .footer-grid, .form-buttons { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .hero-buttons .btn { width: 100%; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .header-actions { gap: 8px; }
  .lang button { padding: 8px 11px; font-size: .8rem; }
}

@media (max-width: 620px) {
  .trust { display: none; }
  .hero-points { display: grid; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; font-weight: 700; font-size: .95rem; color: #fff; }
  .hero-points li { display: flex; align-items: center; gap: 10px; }
  .hero-points li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--lime); font-size: .8rem; font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
