/* ============================================================
   Radiant Haven Cleaning Services
   Design: Style 3 (editorial). Navy #1a365d, warm gold #c5a059,
   stone neutrals, square edges.
   Fonts: Playfair Display (headings), Inter (body)
   ============================================================ */

:root {
  --brand: #1a365d;
  --brand-700: #142a49;
  --brand-900: #0e1d33;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --paper: #ffffff;
  --mist: #f7f6f4;
  --mist-2: #efede9;
  --line: #e7e5e4;
  --gold: #c5a059;
  --gold-ink: #8f6f2e;
  --gold-soft: #f6efe1;

  --radius: 2px;
  --radius-lg: 2px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, .10);
  --wrap: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(197, 160, 89, .3); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 400;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-style: italic; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-style: italic; color: var(--brand); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--brand); }

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1rem;
}

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

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 700; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 1.1rem 2rem;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-900); border-color: var(--brand-900); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 249, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark { flex: none; }
.brand-logo { display: block; height: 56px; width: auto; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-style: italic; font-size: 1.22rem; color: var(--brand); font-weight: 700; letter-spacing: -0.01em; }
.brand-text em { font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a, .nav-link {
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); position: relative; transition: color .2s;
}
.nav a:not(.nav-cta):hover { color: var(--brand); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--brand); transition: width .25s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--brand); }
.nav a.nav-cta { background: var(--brand); color: #fff; padding: .85rem 1.5rem; letter-spacing: .2em; font-weight: 700; transition: background .25s var(--ease); }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--brand-900); color: #fff; }

/* Services dropdown */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item::before { content: ""; position: absolute; top: 100%; left: -8px; right: -8px; height: 18px; }
.nav-link {
  display: inline-flex; align-items: center; gap: .32rem;
  background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: .5rem 0; min-width: 260px;
  display: grid; z-index: 120;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.dropdown a { padding: .7rem 1.2rem; color: var(--body); white-space: nowrap; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--mist); color: var(--brand); }
.dropdown a.dd-all { color: var(--gold-ink); border-bottom: 1px solid var(--line); margin-bottom: .3rem; padding-bottom: .85rem; }

@media (min-width: 821px) {
  .nav-item:hover .nav-link, .nav-item:focus-within .nav-link, .nav-item.open .nav-link { color: var(--brand); }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .nav-item:hover .nav-link svg, .nav-item:focus-within .nav-link svg, .nav-item.open .nav-link svg { transform: rotate(180deg); }
}

.nav-toggle { display: none; flex-direction: column; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--brand); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0; background: #f5f5f4; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-bg { display: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero-copy, .hero-media { min-width: 0; }
.hero h1 { margin-bottom: 1.8rem; }
.hero h1 .hl { font-style: normal; font-weight: 900; color: var(--brand); }
.hero-copy .lead, .svc-hero-copy .lead {
  font-size: 1.15rem; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--body);
  max-width: 46ch; margin-bottom: 2.2rem;
  border-left: 2px solid var(--gold); padding-left: 1.6rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }

.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem 1.8rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .55rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.hero-trust svg { width: 20px; height: 20px; color: var(--gold-ink); flex: none; }

.hero-media, .svc-hero-media { position: relative; }
.hero-media::before, .svc-hero-media::before {
  content: ""; position: absolute; top: -14px; right: -14px; width: 56px; height: 56px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); pointer-events: none;
}
.hero-media::after, .svc-hero-media::after {
  content: ""; position: absolute; bottom: -14px; left: -14px; width: 56px; height: 56px;
  border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); pointer-events: none;
}
.hero-media-frame {
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff;
}
.hero-media-frame img { display: block; width: 100%; height: 100%; aspect-ratio: 5/4; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line);
  padding: .85rem 1.1rem; box-shadow: var(--shadow-md); max-width: 320px;
}
.hero-badge-stars { color: var(--gold); font-size: 1rem; letter-spacing: .08em; flex: none; }
.hero-badge div { display: flex; flex-direction: column; line-height: 1.3; }
.hero-badge strong { font-family: var(--serif); color: var(--brand); font-size: .95rem; font-weight: 700; }
.hero-badge div span { font-size: .76rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .14em; font-size: .95rem; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--brand); color: #fff; }
.trustbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.15rem; padding: 1.15rem 22px; text-align: center; }
.trustbar span:not(.dot) { font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.trustbar .dot { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 7.5vw, 6.5rem) 0; }
.section-alt { background: var(--mist); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.04rem; font-weight: 300; margin: 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.card {
  background: var(--mist); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: rgba(197, 160, 89, .7); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.12rem; margin-bottom: .7rem; transition: color .25s; }
.card:hover h3 { color: var(--gold-ink); }
.card p { font-size: .9rem; font-weight: 300; line-height: 1.7; color: var(--muted); margin: 0; }
.card-link {
  margin-top: auto; padding-top: 1.3rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
}
.card-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  padding: 2.2rem 1.9rem 2rem; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero); display: block;
  font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1;
  color: var(--gold); margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line);
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: .93rem; font-weight: 300; color: var(--muted); margin: 0; }
.steps-cta { text-align: center; margin-top: 2.8rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.why-media, .why-copy { min-width: 0; }
.why-media img { border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.why-copy h2 { margin-bottom: 1.2rem; }
.why-copy > p:not(.eyebrow), .svc-detail-copy > p:not(.eyebrow), .areas-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-weight: 300; }
.checks { list-style: none; margin: 1.6rem 0 2.2rem; padding: 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--ink); font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--gold-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4 12 5.5 5.5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4 12 5.5 5.5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Results / before after ---------- */
.results-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border: 1px solid var(--line); margin-bottom: 1.4rem; background: var(--brand); }
.results-feature img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; }
.results-caption {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: #fff;
}
.results-caption .tag {
  display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  background: var(--gold); color: var(--brand-900); padding: .4rem .8rem; margin-bottom: 1.4rem;
}
.results-caption p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.5; color: rgba(255,255,255,.95); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0;
  background: #fff; color: var(--brand);
  font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .6rem .9rem;
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line);
  padding: 2.4rem 2rem 2.2rem; display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.6rem; font-style: italic; font-weight: 400; margin-bottom: .4rem; }
.plan-tag { color: var(--gold-ink); font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 1.3rem; font-size: .93rem; font-weight: 300; color: var(--body); }
.plan li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.plan-featured { background: var(--brand); border-color: var(--brand); color: #fff; position: relative; box-shadow: var(--shadow-md); }
.plan-featured h3 { color: #fff; }
.plan-featured .plan-tag { color: var(--gold); border-bottom-color: rgba(255,255,255,.16); }
.plan-featured li { color: rgba(255,255,255,.88); }
.plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--brand-900); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: .4rem .9rem; white-space: nowrap;
}
.plan-featured .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--brand-900); }
.plan-featured .btn-primary:hover { background: #fff; border-color: #fff; }
.plans-note { text-align: center; color: var(--muted); font-weight: 300; margin: 2.2rem auto 0; font-size: .95rem; max-width: 70ch; }

/* ---------- Reviews ---------- */
.reviews { columns: 3; column-gap: 1.4rem; }
.review {
  break-inside: avoid; margin: 0 0 1.4rem; background: #fff; border: 1px solid var(--line);
  padding: 2rem 1.9rem 1.8rem;
}
.review .stars { display: block; margin-bottom: 1rem; }
.review p { font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.3rem; }
.review cite { font-style: normal; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.areas-copy h2 { margin-bottom: 1.2rem; }
.areas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.areas-list li {
  background: var(--mist); border: 1px solid var(--line);
  padding: .85rem 1rem; font-weight: 500; font-size: .88rem; color: var(--brand);
  display: flex; align-items: center; gap: .65rem;
}
.areas-list li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; }
.areas-zips { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Booking embed ---------- */
.booking-embed {
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.booking-frame {
  display: block;
  width: 100%;
  height: 100vh;   /* fixed to the viewport, no iframe-resizer */
  height: 100dvh;  /* dynamic viewport height for mobile browser toolbars */
  border: 0;
}

/* ---------- FAQ ---------- */
.faq .section-head { margin-inline: auto; text-align: center; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem .2rem;
  font-family: var(--serif); font-weight: 700; color: var(--brand); font-size: 1.08rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--gold-ink); font-weight: 300; line-height: 1;
  transition: transform .25s var(--ease); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-ink); }
.faq-a { padding: 0 .2rem 1.5rem; color: var(--body); max-width: 70ch; }
.faq-a p { margin: 0; font-size: .96rem; font-weight: 300; }

/* ---------- Contact ---------- */
.contact { background: var(--mist); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; max-width: 680px; }
.contact-copy, .quote-form { min-width: 0; }
.contact-copy h2 { margin-bottom: 1.2rem; }
.contact-cta { margin-top: 2rem; }
.contact-info { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-info li { display: flex; align-items: center; gap: .9rem; font-weight: 500; font-size: .96rem; color: var(--ink); }
.contact-info svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.contact-info a:hover { color: var(--brand); }

.quote-form { position: relative; background: #fff; border: 1px solid var(--line); padding: 2.4rem; box-shadow: var(--shadow-md); }
.quote-form::before {
  content: ""; position: absolute; top: -14px; right: -14px; width: 48px; height: 48px;
  border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); pointer-events: none;
}
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: .55rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 0;
  background: #fafaf9; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, .18);
}
.form-status { margin: 1rem 0 0; font-size: .9rem; font-weight: 500; color: var(--brand); text-align: center; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: #fafaf9; color: var(--muted); padding: 4.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-slogan { margin: 1.3rem 0 .5rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--brand); }
.footer-badges { font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.footer-col h4 { font-family: var(--sans); color: var(--ink); font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.footer-col a, .footer-col li { font-size: .9rem; color: var(--muted); transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--line); margin-top: 3.5rem; padding-top: 1.8rem;
  font-size: .62rem; font-style: italic; letter-spacing: .16em; text-transform: uppercase; color: #94a3b8;
}
.footer-bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-900); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Service pages ---------- */
.breadcrumb { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.2rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--brand); }
.breadcrumb .sep { color: var(--gold); }

.svc-hero { position: relative; padding: clamp(1.8rem, 4vw, 2.6rem) 0 clamp(3.5rem, 6vw, 5.5rem); background: #f5f5f4; border-bottom: 1px solid var(--line); overflow: hidden; }
.svc-hero .wrap { position: relative; z-index: 1; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.svc-hero-copy { min-width: 0; }
.svc-hero-copy h1 { margin-bottom: 1.5rem; }
.svc-hero-media { min-width: 0; }

.svc-detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.svc-detail-copy { min-width: 0; }
.svc-detail-copy h2 { margin-bottom: 1.2rem; }
.svc-detail-media { min-width: 0; }
.svc-detail-media img { width: 100%; border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; }

.svc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.svc-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); }
.svc-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s var(--ease); }
.svc-gallery figure:hover img { transform: scale(1.05); }

.other-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.other-card {
  background: #fff; border: 1px solid var(--line);
  padding: 1.3rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-family: var(--serif); font-weight: 700; font-size: 1rem; color: var(--brand);
  transition: border-color .25s var(--ease), color .25s, box-shadow .25s var(--ease);
}
.other-card:hover { border-color: rgba(197, 160, 89, .7); color: var(--gold-ink); box-shadow: var(--shadow-md); }
.other-card svg { width: 16px; height: 16px; flex: none; color: var(--gold-ink); transition: transform .25s var(--ease); }
.other-card:hover svg { transform: translateX(4px); }

.cta-band { background: var(--brand); color: #fff; }
.cta-band .wrap { padding-top: clamp(3.2rem, 6vw, 4.5rem); padding-bottom: clamp(3.2rem, 6vw, 4.5rem); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, .8); font-weight: 300; max-width: 54ch; margin: 0 auto 2rem; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--brand-900); }
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav { gap: 1.4rem; }
}

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { columns: 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 80px; }
  .nav {
    position: fixed; inset: 80px 0 auto 0;
    max-height: calc(100dvh - 80px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 22px 1.6rem; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .35s var(--ease); z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 1.1rem .2rem; border-bottom: 1px solid var(--line); font-size: .74rem; }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 1.2rem; text-align: center; justify-content: center; border-bottom: 0; padding: 1.1rem; }
  .nav-toggle { display: flex; }

  /* Mobile services accordion */
  .nav-item { display: block; }
  .nav-link { width: 100%; justify-content: space-between; padding: 1.1rem .2rem; border-bottom: 1px solid var(--line); font-size: .74rem; }
  .nav-link svg { width: 16px; height: 16px; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: .2rem 0 .6rem 1rem;
    min-width: 0; display: none;
  }
  .nav-item.open .dropdown { display: grid; }
  .nav-item.open .nav-link svg { transform: rotate(180deg); }
  .dropdown a { border-bottom: 0; padding: .7rem .3rem; color: var(--muted); }
  .dropdown a.dd-all { border-bottom: 0; margin-bottom: 0; padding-bottom: .7rem; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy .lead, .svc-hero-copy .lead { max-width: none; }
  .hero-media { order: -1; }
  .why-grid, .areas-grid, .contact-grid, .results-feature { grid-template-columns: minmax(0, 1fr); }
  .why-media { order: -1; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .svc-hero-grid, .svc-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-hero-media { order: -1; }
  .svc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-featured { order: -1; }
  .hero-media::before, .svc-hero-media::before, .quote-form::before { top: -10px; right: -10px; }
  .hero-media::after, .svc-hero-media::after { bottom: -10px; left: -10px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .reviews { columns: 1; }
  .areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .other-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-gallery { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-badge { left: 10px; right: 10px; max-width: none; bottom: 10px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .quote-form { padding: 1.6rem; }
  .trustbar .dot { display: none; }
  .trustbar-inner { gap: .45rem 1.15rem; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text em { letter-spacing: .22em; }
  .brand-logo { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
