/* ============================================
   The Coverage Compound
   Identity: coverage as shelter — a structured,
   protected enclosure. Blueprint calm, not
   stock-photo insurance.
   ============================================ */

:root {
  /* Palette — warm light base, dark anchors at hero & contact.
     Calm and readable, with dark moments for drama. */
  --ink:        #211f18;   /* primary text on light — warm near-black */
  --ink-soft:   #55514a;   /* muted body text */
  --slate:      #837d73;   /* captions / fine print */
  --paper:      #f7f4ee;   /* page base — warm off-white */
  --paper-2:    #efeae0;   /* raised / alt surface */
  --line:       #e0dacd;   /* hairline on light */
  --card:       #ffffff;   /* card surface */

  /* Dark-anchor surfaces (hero, contact) */
  --dark:       #1a1912;   /* deep warm graphite */
  --dark-2:     #232219;   /* raised surface on dark */
  --dark-line:  #38362c;   /* hairline on dark */
  --on-dark:    #f2efe8;   /* text on dark */
  --on-dark-soft:#b3ada2;  /* muted text on dark */

  /* Accents */
  --teal:       #8a8578;   /* neutral accent (legacy name) */
  --teal-deep:  #6f6a5e;
  --brass:      #8a7f6b;   /* warm neutral accent for light bg */
  --amber:      #b08d4e;   /* accent — warm tan/gold, softer than orange */
  --amber-ink:  #8a6d38;   /* darker gold for text/contrast on light */
  --amber-soft: rgba(176,141,78,0.14);
  --white:      #ffffff;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--teal); margin-bottom: 0.9rem;
}
.eyebrow-light { color: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--brass); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand-mark { color: var(--amber); display: inline-flex; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--amber); color: #fff !important; padding: 0.55rem 1.1rem;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--amber-ink); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 56px; position: relative; overflow: hidden; background: var(--paper); color: var(--ink); }
.hero::before {
  /* faint blueprint grid — the "compound" ground */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55; mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1fr 0.92fr;
  gap: 56px; align-items: start;
}
.hero-copy { padding-top: 8px; }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 1.4rem; color: var(--ink); }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.85rem; color: var(--slate); }

/* Signature: The Compound */
.compound {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 22px; position: relative;
  box-shadow: 0 30px 70px -34px rgba(33,31,24,0.28);
}
.compound-label {
  position: absolute; top: -11px; left: 20px; background: var(--amber);
  color: #fff; font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; padding: 3px 10px; border-radius: 3px;
}
.compound-grid {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.cell {
  border: 1px solid var(--line); border-radius: 4px; padding: 14px;
  display: flex; flex-direction: column; gap: 2px; background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.cell:hover { border-color: var(--amber); transform: translateY(-2px); }
.cell-lg { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cell-lg:hover { border-color: var(--amber); }
.cell-k { font-family: var(--display); font-size: 0.78rem; color: var(--amber); font-weight: 600; }
.cell-lg .cell-k { color: var(--amber); }
.cell-n { font-weight: 600; font-size: 1.02rem; }
.cell-d { font-size: 0.78rem; color: var(--slate); }
.cell-lg .cell-d { color: #b3ada2; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 56ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-sub { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 22px 44px -26px rgba(33,31,24,0.22); }
.card-num {
  font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--amber);
  display: block; margin-bottom: 0.9rem; letter-spacing: 0.04em;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-quiet { background: linear-gradient(160deg, #f7ecdc, #f1e3cf); color: var(--ink); border-color: #e6d3b6; }
.card-quiet .card-num { color: var(--amber); }
.card-quiet h3 { color: var(--ink); }
.card-quiet p { color: var(--ink-soft); }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--amber); padding-bottom: 2px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none;
}
.step { position: relative; padding-top: 12px; }
.step-num {
  font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--amber);
  display: block; line-height: 1; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); }
.step::before {
  content: ""; position: absolute; top: 20px; left: 46px; right: -14px; height: 1px;
  background: var(--line);
}
.step:last-child::before { display: none; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.why-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.why-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.why-list li {
  padding: 20px 0; border-top: 1px solid var(--line); font-size: 1.02rem; color: var(--ink-soft);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Contact ---------- */
.section-dark { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); }
.section-dark h2 { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.contact-copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.contact-direct li {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cd-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); width: 72px; flex-shrink: 0; font-weight: 600; }
.contact-direct a { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.contact-direct a:hover { color: var(--amber); }

/* ---------- Form ---------- */
.form {
  background: var(--card); color: var(--ink); border-radius: 6px;
  padding: 30px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -34px rgba(33,31,24,0.3);
}
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 0.98rem; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--paper);
  color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft);
}
.field textarea { resize: vertical; }
.form .btn-block { margin-top: 6px; }
.form-fine { font-size: 0.8rem; color: var(--slate); text-align: center; margin-top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-brand .brand-name { font-size: 1.15rem; color: var(--ink); }
.footer-brand p { color: var(--slate); font-size: 0.92rem; margin-top: 6px; max-width: 40ch; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-contact a { font-weight: 500; color: var(--ink-soft); }
.footer-contact a:hover { color: var(--amber); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 20px; }
.footer-legal p { font-size: 0.8rem; color: var(--slate); }
.footer-legal-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--amber-ink); }
.disclaimer { margin-top: 8px; max-width: 90ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step::before { display: none; }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 24px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .compound-grid { grid-template-columns: 1fr; }
}

/* ============================================
   POLISH LAYER — motion, depth, detail
   ============================================ */

/* ---------- Type refinement ---------- */
h1, h2 { text-wrap: balance; }
.lede, .section-sub, .card p { text-wrap: pretty; }

/* Ligatures & optical sizing for the display serif */
h1, h2, h3, .brand-name { font-optical-sizing: auto; font-feature-settings: "liga" 1, "dlig" 1; }

/* ---------- Eyebrow with tick mark ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; }
.eyebrow::before {
  content: ""; width: 20px; height: 1px; background: var(--amber);
  display: inline-block; flex-shrink: 0;
}
.eyebrow-light::before { background: var(--amber); }

/* ---------- Buttons: refined ---------- */
.btn {
  position: relative; overflow: hidden; border-radius: 3px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: #a5824a; color: #fff; box-shadow: 0 8px 24px -12px rgba(176,141,78,0.5); }
.btn-primary:hover { background: var(--amber-ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(138,109,56,0.55); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-ink); background: transparent; }

/* Solid gold pair (hero Call / Email) — lighter than the primary CTA */
.btn-gold { background: var(--amber); color: #fff; border-color: var(--amber); box-shadow: 0 8px 22px -14px rgba(176,141,78,0.55); }
.btn-gold:hover { background: #a5824a; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(176,141,78,0.6); }

/* Nav CTA gets the amber treatment */
.nav-cta { background: #a5824a; color: #fff !important; transition: background .2s var(--ease), transform .2s var(--ease); }
.nav-cta:hover { background: var(--amber-ink); transform: translateY(-1px); }

/* Brand mark + accents to gold. Small text uses the darker gold for legibility. */
.brand-mark { color: var(--amber-ink); }
.eyebrow { color: var(--amber-ink); }
.cell-k, .card-num, .step-num { color: var(--amber-ink); }
.cell:hover, .card:hover { border-color: var(--amber); }
.compound-label { background: var(--amber); color: #fff; }
.contact-direct a:hover, .footer-contact a:hover { color: var(--amber-ink); }
.cd-label { color: var(--amber-ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft);
}

/* keep the dark compound feature chips readable — lighter gold pops on dark */
.cell-lg .cell-k { color: var(--amber); }
.card-quiet .card-num { color: var(--amber-ink); }
.card-quiet .card-link { border-bottom-color: var(--amber); }
.step-num { position: relative; display: inline-block; }

/* ---------- Header: shadow on scroll ---------- */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.scrolled {
  box-shadow: 0 8px 30px -22px rgba(33,31,24,0.35);
  background: rgba(247,244,238,0.95);
}

/* ---------- Hero: ambient glow + load sequence ---------- */
.hero { position: relative; }
.hero::after {
  content: ""; position: absolute; top: -10%; right: -5%;
  width: 620px; height: 620px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(176,141,78,0.08), transparent 62%);
  filter: blur(10px);
}
.hero-grid > * { position: relative; z-index: 1; }

/* Page-load reveal for hero pieces */
.hero-copy > *, .compound {
  opacity: 0; transform: translateY(16px);
  animation: rise .8s var(--ease) forwards;
}
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .15s; }
.hero-copy .lede { animation-delay: .28s; }
.hero-copy .hero-actions { animation-delay: .40s; }
.hero-copy .hero-note { animation-delay: .50s; }
.compound { animation-delay: .34s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
/* stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }

/* ---------- Cards: sharper hover, top accent line ---------- */
.card { overflow: hidden; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { box-shadow: 0 24px 50px -28px rgba(0,0,0,0.75); }

/* ---------- Steps: connecting line animates ---------- */
.step-num {
  width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--card);
}

/* ---------- Section headings: larger, tighter ---------- */
.section { padding: 104px 0; }
.section-head h2, .why-copy h2, .contact-copy h2 { letter-spacing: -0.02em; }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px;
}

/* ---------- Selection ---------- */
::selection { background: var(--amber); color: #fff; }

/* ---------- Reduced motion honors ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .compound, .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .hero::after { width: 360px; height: 360px; }
}

/* ============================================
   QUOTE WIZARD + CONTACT BAND
   ============================================ */

/* Wizard card */
.quote {
  position: relative; z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px 26px;
  box-shadow: 0 34px 80px -38px rgba(33,31,24,0.34);
  opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease) .34s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .quote { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* brief highlight when a CTA scrolls the user to the form */
.quote-flash { opacity: 1; transform: none; animation: quoteFlash 1.2s var(--ease); }
@keyframes quoteFlash {
  0%   { box-shadow: 0 34px 80px -38px rgba(33,31,24,0.34), 0 0 0 0 var(--amber-soft); }
  30%  { box-shadow: 0 34px 80px -38px rgba(33,31,24,0.34), 0 0 0 6px var(--amber-soft); }
  100% { box-shadow: 0 34px 80px -38px rgba(33,31,24,0.34), 0 0 0 0 rgba(0,0,0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .quote-flash { animation: none; }
}

/* Progress bar */
.quote-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.qp-step {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; font-weight: 600; color: var(--slate); white-space: nowrap;
}
.qp-step i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 50%; font-style: normal; font-size: 0.72rem;
  background: var(--paper-2); color: var(--slate); border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.qp-step.is-active { color: var(--ink); }
.qp-step.is-active i { background: var(--amber); color: #fff; border-color: var(--amber); }
.qp-step.is-done i { background: var(--amber-ink); color: #fff; border-color: var(--amber-ink); }
.qp-line { flex: 1; height: 1px; background: var(--line); min-width: 12px; }

/* Steps */
.quote-step { display: none; }
.quote-step.is-active { display: block; animation: qfade .4s var(--ease); }
@keyframes qfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.quote-head { margin-bottom: 18px; }
.quote-title { font-size: 1.5rem; line-height: 1.1; margin: 0 0 6px; color: var(--ink); }
.quote-sub { font-size: 0.94rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.quote-sub strong { color: var(--ink); font-weight: 600; }

/* Groups */
.q-group { margin-bottom: 16px; border: 0; padding: 0; }
.q-group legend, .q-label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; padding: 0;
}
.q-opt { font-weight: 400; color: var(--slate); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--paper); cursor: pointer; font-family: var(--body);
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.tile:hover { border-color: var(--amber); transform: translateY(-1px); }
.tile-ico { color: var(--amber-ink); }
.tile-ico svg { width: 26px; height: 26px; }
.tile-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.tile.is-selected { border-color: var(--amber); background: #faf4ea; box-shadow: 0 0 0 3px var(--amber-soft); }
.tile.is-selected .tile-ico { color: var(--amber-ink); }

/* Selects */
.q-select {
  width: 100%; font-family: var(--body); font-size: 0.96rem; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease; cursor: pointer;
}
.q-select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.q-select.q-error { border-color: #c0562f; box-shadow: 0 0 0 3px rgba(192,86,47,0.14); }

/* People / ages */
.is-hidden { display: none !important; }
.people { display: flex; flex-direction: column; gap: 8px; }
.person {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
.person-role { font-size: 0.9rem; font-weight: 600; color: var(--ink); min-width: 78px; }
.person-age { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.person-age span { font-size: 0.8rem; color: var(--slate); font-weight: 500; }
.age-input {
  width: 66px; font-family: var(--body); font-size: 0.96rem; padding: 8px 10px; text-align: center;
  border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.age-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.person-remove {
  width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--slate); font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: all .15s ease;
}
.person-remove:hover { border-color: #c0562f; color: #c0562f; }
.dependents { display: flex; flex-direction: column; gap: 8px; }
.dependents:empty { display: none; }

.add-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.add-btn {
  font-family: var(--body); font-size: 0.86rem; font-weight: 600; color: var(--amber-ink);
  background: transparent; border: 1px dashed var(--amber); border-radius: 6px;
  padding: 8px 14px; cursor: pointer; transition: all .15s ease;
}
.add-btn:hover { background: #faf4ea; }

/* Estimate (step 2) */
.estimate {
  text-align: center; padding: 26px 20px; border-radius: 10px;
  background: linear-gradient(165deg, #faf4ea, #f4ead8);
  border: 1px solid #ecdcc2; margin-bottom: 18px;
}
.estimate-label {
  display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--amber-ink); margin-bottom: 8px;
}
.estimate-range { font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--ink); line-height: 1; }
.estimate-note { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }

.estimate-facts { list-style: none; margin: 0 0 16px; padding: 0; }
.estimate-facts li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.92rem;
}
.estimate-facts li:last-child { border-bottom: 1px solid var(--line); }
.estimate-facts span { color: var(--slate); }
.estimate-facts strong { color: var(--ink); font-weight: 600; }
.estimate-fine { font-size: 0.78rem; color: var(--slate); line-height: 1.5; margin: 0 0 16px; }

/* Text button (back) */
.btn-text {
  background: transparent; border: 0; color: var(--ink-soft); box-shadow: none;
  padding: 8px; font-weight: 500; margin-top: 4px;
}
.btn-text:hover { background: transparent; color: var(--ink); transform: none; box-shadow: none; }

/* Services intro — text + illustration side by side */
#services { padding-top: 72px; }
.services-intro {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center;
  margin-bottom: 48px;
}
.services-intro .section-head { margin-bottom: 0; }
.services-art { width: 100%; }
.services-art svg { width: 100%; height: auto; border-radius: 14px; display: block;
  box-shadow: 0 24px 60px -34px rgba(33,31,24,0.22); }

@media (max-width: 900px) {
  .services-intro { grid-template-columns: 1fr; gap: 32px; }
  .services-art { max-width: 420px; }
}

/* Contact band — direct info, no form */
.contact-band {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.contact-band .contact-copy h2 { margin-bottom: 1rem; }
.contact-band .contact-copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.6rem; max-width: 42ch; }
.contact-band .contact-direct li { border-top: 1px solid var(--line); }
.cd-booking { color: var(--ink); }
.cd-booking:hover { color: var(--amber-ink); }

@media (max-width: 900px) {
  .contact-band { grid-template-columns: 1fr; gap: 36px; }
  .quote { margin-top: 8px; }
}
@media (max-width: 400px) {
  .tiles { gap: 7px; }
  .tile { padding: 13px 5px; }
  .tile-label { font-size: 0.82rem; }
  .qp-step { font-size: 0; gap: 0; }
  .qp-step i { font-size: 0.72rem; }
}

/* ============================================
   LEGAL PAGES (privacy, terms)
   ============================================ */
.legal { padding: 64px 0 80px; background: var(--paper); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 8px; color: var(--ink); letter-spacing: -0.02em; }
.legal-updated { font-size: 0.88rem; color: var(--slate); margin-bottom: 32px; }
.legal h2 {
  font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--ink);
  margin: 34px 0 10px; letter-spacing: -0.01em;
}
.legal p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin-bottom: 14px; }
.legal a { color: var(--amber-ink); font-weight: 500; border-bottom: 1px solid var(--amber-soft); }
.legal a:hover { border-bottom-color: var(--amber); }
.legal-disclaimer {
  margin-top: 32px; padding: 16px 18px; background: var(--paper-2);
  border-left: 3px solid var(--amber); border-radius: 4px;
  font-size: 0.9rem; color: var(--slate);
}
.legal-back { margin-top: 32px; }
.legal-back a { font-weight: 600; border-bottom: 0; }

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #b7924f 0%, #9a7838 55%, #8a6d38 100%);
  color: #fff;
  border-top: 1px solid #a5824a;
  border-bottom: 1px solid #7a5f30;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 78%);
  opacity: 0.5;
}
.stats-grid {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 44px 24px; gap: 24px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 58px; width: 1px; background: rgba(255,255,255,0.22);
}
.stat-num {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: #fff;
  letter-spacing: -0.01em;
}
.stat-label {
  display: block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.82);
}

@media (max-width: 620px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.18); }
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking { padding: 56px 0 80px; background: var(--paper); }
.booking-wrap { max-width: 640px; text-align: center; }
.booking-head { margin-bottom: 32px; }
.booking-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 12px; color: var(--ink); letter-spacing: -0.02em; }
.booking-sub { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; }

.booking-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 44px 36px; box-shadow: 0 30px 70px -38px rgba(33,31,24,0.28);
}
.booking-card-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; color: var(--amber-ink);
  display: flex; align-items: center; justify-content: center;
  background: #faf4ea; border: 1px solid #ecdcc2; border-radius: 14px;
}
.booking-card-icon svg { width: 32px; height: 32px; }
.booking-card-title { font-size: 1.5rem; margin: 0 0 10px; color: var(--ink); }
.booking-card-text { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; margin: 0 auto 24px; max-width: 42ch; }
.btn-lg { font-size: 1.02rem; padding: 1rem 2rem; }
.booking-card-alt { font-size: 0.9rem; color: var(--slate); margin-top: 20px; }
.booking-card-alt a { color: var(--amber-ink); font-weight: 600; }
.booking-card-alt a:hover { color: var(--amber); }

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-page { padding: 56px 0 80px; background: var(--paper); }
.faq-wrap { max-width: 780px; }
.faq-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.faq-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 12px; color: var(--ink); letter-spacing: -0.02em; }
.faq-sub { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.6; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item:hover { border-color: #d8ccb4; }
.faq-item.is-open { border-color: var(--amber); box-shadow: 0 14px 34px -26px rgba(33,31,24,0.3); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: 1.12rem; font-weight: 500; color: var(--ink);
}
.faq-q:hover { color: var(--amber-ink); }

/* plus / minus icon */
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--amber-ink); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }           /* horizontal */
.faq-icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }           /* vertical */
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }

/* answer — animated open/close */
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .34s var(--ease);
}
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 22px 22px; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7;
}

/* closing CTA */
.faq-cta { text-align: center; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.faq-cta > p { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 20px; }
.faq-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-icon::before, .faq-icon::after { transition: none; }
}
