:root {
  --bg: #f7f3ed;
  --paper: #fffdf8;
  --ink: #17211f;
  --muted: #5b665f;
  --green: #17362f;
  --green-2: #245548;
  --clay: #b96d45;
  --gold: #d9b15f;
  --line: rgba(23, 54, 47, .16);
  --shadow: 0 20px 55px rgba(22, 32, 29, .14);
  --r: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 78px 0; }
.section.alt { background: #ebe7df; }
.section-head { max-width: 760px; margin: 0 0 32px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; color: #fff; letter-spacing: 0; text-wrap: balance; }
h2 { margin-bottom: 14px; color: var(--green); font-size: clamp(29px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
h3 { margin-bottom: 10px; color: var(--green); font-size: 22px; line-height: 1.2; }
.section-head p, .muted { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--clay), #d78952); box-shadow: 0 12px 26px rgba(185,109,69,.23); }
.btn-dark { color: #fff; background: var(--green); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.54); background: rgba(255,255,255,.08); }
.btn-light { color: var(--green); border-color: var(--line); background: #fff; }
.btn.full { width: 100%; }

.topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(247,243,237,.94); backdrop-filter: blur(14px); }
.topbar-inner { min-height: 70px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 205px; height: auto; }
.nav { display: flex; align-items: center; gap: 17px; margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 9px; }
.breadcrumbs { padding: 14px 0; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--green); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,26,23,.92), rgba(14,26,23,.74) 52%, rgba(14,26,23,.25)); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) 400px; gap: 34px; align-items: center; padding: 52px 0 58px; }
.hero-copy { max-width: 720px; }
.hero-copy .lead { max-width: 680px; margin-bottom: 18px; color: rgba(255,255,255,.86); font-size: clamp(17px, 1.8vw, 21px); }
.hero-offer { display: inline-flex; margin-bottom: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--r); background: rgba(255,255,255,.11); font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-card { padding: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.lead-card h2 { font-size: 26px; }
.lead-card p { margin-bottom: 17px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span { color: var(--muted); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 46px; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); outline: none; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(36,85,72,.11); }
.checkbox { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 13px; color: var(--muted); font-size: 12px; }
.checkbox input { width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.checkbox a { color: var(--green); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 20px; margin-top: 8px; color: var(--green); font-size: 13px; font-weight: 700; }
.form-status.error { color: #a2392c; }

.trust-strip { position: relative; z-index: 2; margin-top: -18px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.trust-item { padding: 20px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--green); }
.trust-item span { color: var(--muted); font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.card p { margin: 0; color: var(--muted); }
.card ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; min-height: 270px; margin: 0; border-radius: var(--r); background: #ddd; }
.gallery img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 24px 15px 14px; color: #fff; background: linear-gradient(transparent, rgba(10,18,16,.82)); font-weight: 800; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.package.featured { border-color: var(--clay); box-shadow: 0 16px 42px rgba(185,109,69,.14); }
.package strong { display: block; margin-bottom: 8px; color: var(--clay); font-size: 13px; text-transform: uppercase; }
.package ul { display: grid; gap: 8px; padding-left: 19px; color: var(--muted); }
.price-note { margin-top: 18px; padding: 16px; border-left: 4px solid var(--gold); background: #f0ebe2; color: var(--muted); }

.promo { color: #fff; background: var(--green); }
.promo-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.promo h2 { color: #fff; }
.promo p { color: rgba(255,255,255,.78); }
.promo-box { padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); background: rgba(255,255,255,.08); }
.promo-box strong { display: block; margin-bottom: 8px; font-size: 36px; }

.quiz-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.quiz { padding: 25px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.quiz-progress { height: 6px; margin-bottom: 20px; overflow: hidden; border-radius: 999px; background: #e3ddd4; }
.quiz-progress span { display: block; width: var(--progress, 16%); height: 100%; background: var(--clay); transition: width .25s ease; }
.quiz-step h3 { margin-bottom: 16px; font-size: 25px; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-option { min-height: 48px; padding: 11px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--green); font-weight: 800; text-align: left; }
.quiz-option:hover, .quiz-option.active { border-color: var(--clay); background: #f5ebe3; }
.quiz-final { padding-top: 2px; }
.quiz-final .lead-card { box-shadow: none; padding: 0; border: 0; }

.measure-grid, .materials-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.feature-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: steps; }
.step { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); counter-increment: steps; }
.step::before { content: counter(steps); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 15px; border-radius: 50%; color: #fff; background: var(--clay); font-weight: 900; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reviews img { width: 100%; height: 210px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.faq summary { cursor: pointer; color: var(--green); font-weight: 800; }
.faq p { margin: 12px 0 0; color: var(--muted); }
.map-frame { overflow: hidden; min-height: 390px; border: 1px solid var(--line); border-radius: var(--r); background: #ddd; }
.map-frame iframe { display: block; width: 100%; min-height: 390px; border: 0; }
.contact-box { padding: 26px; border-radius: var(--r); color: #fff; background: var(--green); }
.contact-box h2 { color: #fff; }
.contact-box p { color: rgba(255,255,255,.78); }
.phone-big { display: block; margin: 12px 0 18px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.directions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.direction-link { padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--green); font-weight: 800; }
.footer { padding: 30px 0 92px; color: rgba(255,255,255,.72); background: #102b25; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer a { color: #fff; }

.mobile-bar { position: fixed; z-index: 42; inset: auto 0 0; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.96); border-top: 1px solid var(--line); }
.cookie { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: none; align-items: center; gap: 14px; width: min(620px, calc(100% - 36px)); padding: 15px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.cookie.show { display: flex; }
.cookie p { margin: 0; color: var(--muted); font-size: 13px; }
.cookie a { color: var(--green); text-decoration: underline; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .quiz-layout, .promo-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .lead-card { max-width: 600px; }
  .trust-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards, .packages, .directions { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .topbar-inner { min-height: 60px; }
  .brand img { width: 145px; }
  .header-actions .btn-light { display: none; }
  .header-actions .btn-dark { min-height: 40px; padding: 8px 11px; font-size: 13px; }
  .hero-grid { padding: 32px 0 38px; gap: 22px; }
  h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-actions { display: grid; }
  .trust-strip { margin-top: 0; }
  .trust-grid, .gallery, .packages, .measure-grid, .materials-grid, .reviews, .steps { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .quiz-options { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .cookie { right: 10px; bottom: 78px; width: calc(100% - 20px); flex-direction: column; align-items: stretch; }
  .footer-grid { display: grid; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
