:root {
  --primary: #0b6e4f;
  --primary-dark: #064e38;
  --primary-light: #e6f4ef;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --ink: #10231c;
  --muted: #5b6b64;
  --bg: #f6faf8;
  --surface: #ffffff;
  --line: #dce7e1;
  --shadow: 0 10px 30px rgba(6, 78, 56, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul, ol { padding-left: 1.2rem; }
li { margin-bottom: .35rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary-dark);
  color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: .18s ease;
  text-decoration: none !important; line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: #fff; color: var(--primary-dark); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--primary);
  display: grid; place-items: center; color: #fff; font-size: 1.1rem; flex: none;
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 36px; } }

.main-nav { display: flex; align-items: center; gap: 1.35rem; }
.main-nav a { font-weight: 600; color: var(--ink); font-size: .98rem; }
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-dark); }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.phone-link { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--primary-dark); }
.phone-link:hover { text-decoration: none; color: var(--accent-dark); }

.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink);
  padding: 6px 10px; border-radius: 8px;
}
.nav-toggle:focus-visible { outline: 3px solid var(--primary); }

@media (max-width: 940px) {
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 20px 1.2rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .phone-link span { display: none; }
  .header-inner { gap: .5rem; }
  .header-cta { gap: .45rem; }
  .header-cta .btn { padding: .6rem 1rem; font-size: .92rem; }
}

@media (max-width: 420px) {
  .brand-logo { height: 32px; }
  .nav-toggle { font-size: 1.4rem; padding: 4px 6px; }
  .header-cta .btn { padding: .5rem .75rem; font-size: .8rem; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(242,92,38,.35), transparent 65%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: #e6f4ef; max-width: 34ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.28); color: #fff; padding: .4rem .8rem;
  border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.25rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.hero-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.hero-card li svg { flex: none; margin-top: 4px; color: var(--primary); }

.hero figure img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero figure img { max-height: 340px; } }

/* ---------- Sections ---------- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--accent-dark); margin-bottom: .5rem; }
.bg-white { background: #fff; }
.bg-light { background: var(--primary-light); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 4px 16px rgba(6,78,56,.05); transition: .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.card h3 { margin-top: .4rem; }
.card p { color: var(--muted); flex-grow: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary-light);
  color: var(--primary-dark); display: grid; place-items: center; margin-bottom: .4rem;
}
.card-img { border-radius: var(--radius-sm); overflow: hidden; margin: -.4rem 0 .9rem; aspect-ratio: 4/3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.4rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 1.5rem; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats .stat strong { display: block; font-size: 2.2rem; color: var(--primary-dark); line-height: 1; }
.stats .stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Content/prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.2rem 0; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-light);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0;
}
.two-col { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 4px 16px rgba(6,78,56,.05); }
.sidebar h3 { margin-top: 0; }
.hero .sidebar, .hero .sidebar p { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.2rem; margin-bottom: .8rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1.05rem 1.5rem 1.05rem 0; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1rem; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(11,110,79,.25); border-color: var(--primary); }
.field .req { color: var(--accent-dark); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary-dark); color: #fff; text-align: center; border-radius: var(--radius); padding: 2.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe6dd; max-width: 46ch; margin: 0 auto 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1f18; color: #cfe6dd; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cfe6dd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: .8rem; }
.footer-logo { height: 42px; width: auto; display: block; }
.footer-contact p { margin: 0 0 .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .85rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  width: min(960px, calc(100% - 32px)); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(6,78,56,.28);
  padding: 1.4rem 1.6rem; z-index: 300; transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.visible { transform: translate(-50%, 0); }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-actions .btn { padding: .65rem 1.2rem; font-size: .92rem; }
.cookie-prefs { display: none; margin: 1rem 0 .4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.cookie-prefs.open { display: block; }
.cookie-pref-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.cookie-pref-row:last-child { border-bottom: 0; }
.cookie-pref-row strong { display: block; font-size: .95rem; }
.cookie-pref-row span { font-size: .82rem; color: var(--muted); }
.cookie-pref-row input { width: auto; margin-top: .3rem; transform: scale(1.2); }
@media (max-width: 560px) { .cookie-actions { flex-direction: column; } .cookie-actions .btn { width: 100%; } }

/* ---------- Misc ---------- */
.pill { display: inline-block; background: var(--primary-light); color: var(--primary-dark); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.not-found { text-align: center; padding: 5rem 0; }
.not-found .code { font-size: clamp(4rem, 16vw, 9rem); font-weight: 900; color: var(--primary); line-height: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
