/* ==========================================================================
   Anderson Fence Company
   Design system: sharp corners, warm brand palette, strong type hierarchy.
   Palette derived from the company emblem. All text pairs meet WCAG AA.
   ========================================================================== */

:root {
  /* Brand */
  --cream:      #FCF8EE;
  --cream-2:    #F4EEE0;
  --white:      #FFFFFF;
  --ink:        #2B2A26;
  --brown:      #4D4438;
  --brown-2:    #3A332A;
  --taupe:      #867E6A;
  --taupe-mid:  #6E6653;
  --taupe-lt:   #C9C1AC;
  --line:       #E1D9C7;
  --line-dk:    #6A5F4E;

  /* Action */
  --cta:        #B8431A;
  --cta-hover:  #A63B14;
  --cta-ink:    #A63B14;
  --accent:     #D9531E;
  --gold:       #C99A2E;
  --good:       #2F6B3F;

  /* Type */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-h1:  clamp(2.25rem, 4.6vw, 3.75rem);
  --fs-h2:  clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-h3:  clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm:  0.9375rem;
  --fs-xs:  0.8125rem;

  /* Space */
  --s1: .5rem;  --s2: 1rem;   --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;   --s6: 4rem;   --s7: 5.5rem; --s8: 7rem;

  /* Layout */
  --container: 1220px;
  --narrow: 760px;
  --radius: 0;
  --header-h: 76px;
  --bar-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.16em; }
.ico--stroke { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--cta-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }

p { text-wrap: pretty; }
p + p { margin-top: var(--s2); }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.wrap-narrow { max-width: var(--narrow); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--cream2 { background: var(--cream-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--brown); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--cream); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cta-ink);
  margin-bottom: var(--s2);
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--cta); flex: none; }
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before, .section--ink .eyebrow::before { background: var(--gold); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: var(--fs-lead); color: var(--taupe-mid); margin-top: var(--s2); }
.section--dark .section-head p, .section--ink .section-head p { color: var(--taupe-lt); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1.0625rem 1.75rem; border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-hover); color: #fff; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--brown); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: var(--taupe-lt); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn--lg { padding: 1.25rem 2.1rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--cream);
  font-size: var(--fs-xs); letter-spacing: .04em;
  min-height: var(--bar-h);
  display: flex; align-items: center;
  padding-block: .4rem;
}
.announce .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; justify-content: center; text-align: center; }
.announce strong { color: var(--gold); font-weight: 700; }
.announce .dot { width: 7px; height: 7px; background: #46B25C; display: inline-block; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: var(--s3);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; padding-block: .5rem; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.28rem; letter-spacing: -0.025em; color: var(--ink); }
.brand-sub { font-size: .58rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--taupe-mid); margin-top: .22rem; }
.drawer .brand img { width: 40px; height: 40px; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav > ul { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.5rem); list-style: none; padding: 0; margin: 0; }
.primary-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
  padding: .5rem 0; display: inline-flex; align-items: center; gap: .3rem;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-bottom-color: var(--cta); }
.primary-nav .caret { width: .6rem; height: .6rem; flex: none; transition: transform .15s ease; }

.header-cta { display: flex; align-items: center; gap: .75rem; flex: none; }
.header-quote { display: none; }
.header-call { padding: .8rem 1rem; font-size: .95rem; }
.header-phone {
  display: none; text-decoration: none; color: var(--ink); line-height: 1.15;
}
.header-phone .label { display: block; font-size: var(--fs-xs); color: var(--taupe-mid); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.header-phone .num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.01em; }
.header-phone:hover .num { color: var(--cta-ink); }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  background: none; border: 2px solid var(--ink); padding: .62rem .72rem; cursor: pointer;
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink);
}
.nav-toggle-label { display: none; }
.nav-toggle .ico { width: 20px; height: 20px; }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100vw - 3rem));
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--cta);
  box-shadow: 0 24px 48px rgba(43,42,38,.14);
  padding: var(--s4); z-index: 95;
  display: none; grid-template-columns: repeat(4, 1fr); gap: var(--s3) var(--s4);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega h3 {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cta-ink);
  padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem;
}
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.mega a { font-size: var(--fs-sm); font-weight: 500; color: var(--brown); border: 0; padding: .2rem 0; }
.mega a:hover { color: var(--cta-ink); border: 0; text-decoration: underline; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; justify-content: space-between; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--cream);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: var(--s3) 0 6rem;
}
.drawer[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.drawer-close { background: none; border: 2px solid var(--ink); padding: .6rem .8rem; cursor: pointer; font-weight: 700; }
.drawer nav ul { list-style: none; padding: 0; margin: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer nav a { display: block; padding: .95rem 0; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.drawer details summary { padding: .95rem 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.drawer details[open] summary::after { content: "\2013"; }
.drawer details ul { padding: 0 0 .75rem .25rem; }
.drawer details a { padding: .5rem 0; font-weight: 500; font-size: .98rem; color: var(--brown); }
.drawer-cta { margin-top: var(--s4); display: grid; gap: var(--s2); }

/* ---------- Review bar ---------- */
.review-bar {
  background: var(--brown); color: var(--cream);
  font-size: var(--fs-sm); padding-block: .7rem;
}
.review-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .85rem; text-align: center; }
.review-bar .stars { display: inline-flex; gap: 2px; }
.review-bar a { color: var(--cream); text-underline-offset: 4px; }
.stars .ico { width: 17px; height: 17px; fill: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,27,24,.94) 0%, rgba(28,27,24,.86) 42%, rgba(28,27,24,.55) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hero h1 { color: var(--cream); }
.hero h1 .accent { color: var(--gold); display: block; }
.hero-sub { font-size: var(--fs-lead); color: #E6DFD0; margin-top: var(--s3); max-width: 34rem; }
.hero-points { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: .7rem; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--cream); }
.hero-points .ico { width: 22px; height: 22px; margin-top: .15em; stroke: var(--gold); }
.hero-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.hero-note { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--taupe-lt); }

/* ---------- Form card ---------- */
.form-card { background: var(--cream); color: var(--brown); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(20,19,17,.3); }
.form-card__head { background: var(--cta); color: #fff; padding: 1.1rem 1.4rem; }
.form-card__head h2, .form-card__head p { color: #fff; }
.form-card__head h2 { font-size: 1.4rem; line-height: 1.15; }
.form-card__head p { font-size: var(--fs-sm); margin-top: .3rem; opacity: .95; }
.form-card__body { padding: 1rem; }
.form-card .embed { border-color: var(--line); }
.form-card__foot { padding: .85rem 1.4rem 1.1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--taupe-mid); text-align: center; }
.form-card__foot a { font-weight: 700; }

.embed { position: relative; width: 100%; background: var(--white); border: 1px solid var(--line); }
.embed::before {
  content: "Loading your quote form\2026"; position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; color: var(--taupe-mid); font-size: var(--fs-sm);
}
.embed iframe { width: 100%; border: 0; display: block; position: relative; z-index: 1; background: var(--white); }
.embed--compact { max-width: 244px; margin-inline: auto; }
.embed-fallback { padding: var(--s3); border: 2px dashed var(--line); text-align: center; font-size: var(--fs-sm); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--brown); color: var(--cream); }
.trust-bar .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item { padding: 1.25rem 1rem; text-align: center; border-right: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); }
.trust-item:nth-child(2n) { border-right: 0; }
.trust-item .n { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--gold); line-height: 1; display: block; }
.trust-item .t { font-size: var(--fs-xs); letter-spacing: .07em; text-transform: uppercase; color: var(--taupe-lt); margin-top: .4rem; display: block; font-weight: 600; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--s3); }
.grid > *, .with-aside > *, .hero-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

.svc-card {
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-card:hover { border-color: var(--cta); box-shadow: 0 12px 28px rgba(43,42,38,.1); }
.svc-card__img { aspect-ratio: 2 / 1; overflow: hidden; background: var(--cream-2); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.svc-card h3 { font-size: 1.2rem; }
.svc-card p { font-size: var(--fs-sm); color: var(--taupe-mid); }
.svc-card .more { margin-top: auto; padding-top: .8rem; font-weight: 700; font-size: var(--fs-sm); color: var(--cta-ink); display: flex; gap: .4rem; align-items: center; }
.svc-card .more .ico { transition: transform .15s ease; }
.svc-card:hover .more .ico { transform: translateX(3px); }


.tile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: 1fr; }
.tile-list a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--white); border: 1px solid var(--line); padding: .85rem 1rem;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: var(--fs-sm);
}
.tile-list a:hover { border-color: var(--cta); color: var(--cta-ink); }
.tile-list a::after { content: "\2192"; color: var(--cta); }

/* ---------- Heading links (service to city, city to service) ---------- */
.h-link-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; margin-top: var(--s3); }
.h-link-grid--wide { gap: var(--s3); }

.h-link { margin: 0; display: flex; }
.h-link a {
  display: flex; align-items: flex-start; gap: .85rem; width: 100%;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--cta);
  padding: 1rem 1.15rem; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.2;
  letter-spacing: -0.01em;
  transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}
.h-link a:hover { background: var(--cream-2); border-left-color: var(--ink); transform: translateX(3px); }
.h-link a::before {
  content: "\2197"; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  color: var(--cta); flex: none; margin-top: .22em;
}
.h-link--stack a { flex-direction: column; gap: .35rem; }
.h-link--stack a::before { display: none; }
.h-link .sub {
  display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm);
  color: var(--taupe-mid); line-height: 1.55; letter-spacing: 0; margin-top: .3rem;
}
.section--dark .h-link a, .section--ink .h-link a { background: var(--brown-2); border-color: var(--line-dk); color: var(--cream); }
.section--dark .h-link a:hover, .section--ink .h-link a:hover { background: #443C31; }
.section--dark .h-link .sub, .section--ink .h-link .sub { color: var(--taupe-lt); }

/* ---------- Prose ---------- */
.prose > * + * { margin-top: var(--s3); }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose li { padding-left: .2rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; background: var(--cta); }
.prose strong { color: var(--ink); font-weight: 700; }

.stat-line {
  border-left: 4px solid var(--gold); background: var(--cream-2);
  padding: 1rem 1.25rem; font-size: var(--fs-sm);
}
.stat-line strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); margin-bottom: .2rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); min-width: 30rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--brown); color: var(--cream); font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .07em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--ink); }

/* ---------- Why choose us ---------- */
.pillar { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--cta); padding: var(--s3); }
.pillar .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--cream-2); line-height: .8; display: block; margin-bottom: .5rem; }
.pillar h3 { margin-bottom: .6rem; }
.pillar p { font-size: var(--fs-sm); }
.section--dark .pillar, .section--ink .pillar { background: var(--brown-2); border-color: var(--line-dk); border-top-color: var(--gold); color: var(--taupe-lt); }
.section--dark .pillar .num, .section--ink .pillar .num { color: #453D32; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white); border: 1px solid var(--line); padding: var(--s3);
  display: flex; flex-direction: column; gap: .85rem; position: relative;
}
.review-card::before {
  content: "\201C"; position: absolute; top: -.35rem; right: 1rem;
  font-family: var(--font-head); font-size: 5.5rem; line-height: 1; color: var(--cream-2); z-index: 0;
}
.review-card > * { position: relative; z-index: 1; }
.review-quote { font-size: var(--fs-body); color: var(--brown); font-style: normal; }
.review-quote p + p { margin-top: .75rem; }
.review-meta { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: .5rem; border-top: 1px solid var(--line); }
.review-avatar {
  width: 38px; height: 38px; flex: none; background: var(--brown); color: var(--cream);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 1.05rem;
}
.review-name { display: block; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); line-height: 1.25; }
.review-src { display: block; font-size: var(--fs-xs); color: var(--taupe-mid); margin-top: .1rem; }
.review-badge { font-size: var(--fs-xs); color: var(--taupe-mid); }

.shot-card { background: var(--white); border: 1px solid var(--line); padding: .6rem; }
.shot-card img { width: 100%; border: 1px solid var(--line); }
.shot-card figcaption { font-size: var(--fs-xs); color: var(--taupe-mid); padding: .55rem .35rem .2rem; }

.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); background: var(--white); border: 1px solid var(--line); padding: var(--s3); }
.rating-summary .big { font-family: var(--font-head); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); margin-bottom: .6rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--cta);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 1.1rem 1.25rem; font-size: var(--fs-sm); }
.faq .answer p + p { margin-top: .75rem; }

/* ---------- Form band ---------- */
.form-band { background: var(--brown); color: var(--cream); }
.form-band .wrap { display: grid; gap: var(--s4); align-items: center; }
.form-band h2 { color: var(--cream); }
.form-band p { color: var(--taupe-lt); }
.form-band .points { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: .55rem; }
.form-band .points li { display: flex; gap: .6rem; font-weight: 600; color: var(--cream); font-size: var(--fs-sm); }
.form-band .points .ico { width: 20px; height: 20px; margin-top: .15em; stroke: var(--gold); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--cta); color: #fff; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.92); font-size: var(--fs-lead); margin-top: var(--s2); }
.final-cta .btn-row { margin-top: var(--s4); }
.final-cta .btn--dark { background: var(--ink); color: #fff; }
.final-cta .btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.final-cta .btn--ghost-light:hover { background: #fff; color: var(--cta-hover); }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--cream-2); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); }
.crumbs ol { list-style: none; margin: 0; padding: .7rem 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: .4rem; color: var(--taupe-mid); }
.crumbs li + li::before { content: "/"; color: var(--taupe); }
.crumbs a { color: var(--taupe-mid); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Page header ---------- */
.page-head { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.page-head .hero-media::after { background: linear-gradient(100deg, rgba(28,27,24,.93) 0%, rgba(28,27,24,.8) 60%, rgba(28,27,24,.6) 100%); }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { color: var(--cream); max-width: 22ch; }
.page-head .lead { color: #E6DFD0; margin-top: var(--s3); max-width: 44rem; }
.page-head .btn-row { margin-top: var(--s4); }

/* ---------- Layout with sidebar ---------- */
.with-aside { display: grid; gap: var(--s5); align-items: start; }
.prose { min-width: 0; }
.aside-sticky { position: static; }

/* ---------- Area / footer link blocks ---------- */
.link-columns { columns: 2; column-gap: var(--s4); list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); }
.link-columns li { break-inside: avoid; margin-bottom: .45rem; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--taupe-lt); padding-block: var(--s6) var(--s4); font-size: var(--fs-sm); }
.site-footer h3 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s2); font-weight: 700; }
.site-footer a { color: var(--taupe-lt); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s4); }
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.6rem; }
.footer-brand .brand-sub { color: var(--taupe-lt); }
.footer-nap { margin-top: var(--s3); display: grid; gap: .5rem; }
.footer-nap .name { color: var(--cream); font-weight: 700; }
.footer-nap a.phone { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; color: var(--cream); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid #3A3833; margin-top: var(--s5); padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); justify-content: space-between; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }

/* ---------- Sticky mobile CTA + desktop FAB ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(110%); transition: transform .22s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 24px rgba(20,19,17,.18);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem .5rem; font-weight: 700; text-decoration: none; font-size: 1rem; }
.sticky-cta .call { background: var(--ink); color: #fff; }
.sticky-cta .quote { background: var(--cta); color: #fff; }
.sticky-cta .ico { width: 1.15em; height: 1.15em; }

.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 80; display: none;
  width: 62px; height: 62px; background: var(--cta); color: #fff;
  align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(20,19,17,.3);
  transform: scale(0); transition: transform .2s ease;
}
.fab.is-visible { transform: scale(1); }
.fab .ico { width: 26px; height: 26px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; font-weight: 700;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 480px) {
  .trust-bar .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(2n) { border-right: 1px solid var(--line-dk); }
  .trust-item:nth-child(3n) { border-right: 0; }
  .tile-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .svc-card__img { aspect-ratio: 3 / 2; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .h-link-grid { grid-template-columns: 1fr 1fr; }
  .link-columns { columns: 3; }
  .form-band .wrap { grid-template-columns: 1fr minmax(320px, 620px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: block; }
  .header-call { display: none; }
  .nav-toggle-label { display: inline; }
  .review-bar { font-size: var(--fs-body); }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .625rem; }
  .tile-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 1.65rem; }
  .brand-sub { font-size: .66rem; }
  .nav-toggle { display: none; }
  .header-quote { display: inline-flex; }
  .primary-nav { display: block; }
  .hero-grid { grid-template-columns: 1.05fr minmax(390px, .95fr); align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .trust-bar .wrap { grid-template-columns: repeat(6, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:nth-child(3n) { border-right: 1px solid var(--line-dk); }
  .trust-item:last-child { border-right: 0; }
  .with-aside { grid-template-columns: minmax(0, 1fr) 320px; }
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.25rem); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
  .link-columns { columns: 3; }
  .h-link-grid { grid-template-columns: repeat(3, 1fr); }
  .h-link-grid--wide { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  .fab { display: flex; }
  .tile-list { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .link-columns { columns: 4; }
  .h-link-grid { grid-template-columns: repeat(4, 1fr); }
}

@media print {
  .announce, .site-header, .sticky-cta, .fab, .form-band, .final-cta, .embed { display: none !important; }
  body { background: #fff; color: #000; }
}
