/* ExtensionKings - West Midlands Extension Specialists
 * Design system: deep navy #0F172A, warm gold #D4A017, off-white #F8FAFC,
 * charcoal #1F2937, slate #64748B
 * Headings: Manrope. Body: Inter.
 */

:root {
  --navy: #0F172A;
  --navy-700: #1E293B;
  --gold: #D4A017;
  --gold-600: #B8870E;
  --gold-text: #8b6508; /* Accessible gold for text on white/off-white */
  --off-white: #F8FAFC;
  --charcoal: #1F2937;
  --slate: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #FFFFFF;
  --success: #15803D;
  --error: #B91C1C;

  --container: 1200px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.14);

  --font-head: 'Manrope', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; height: auto; }

h1,h2,h3,h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 1em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--gold-600); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section--navy { background: var(--navy); color: #cbd5e1; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--slate { background: var(--slate-100); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--gold); }

/* Skip link — sr-only style so it does not contribute to scrollWidth */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--navy); color: var(--white);
}
.skip-link:focus {
  position: fixed; left: 12px; top: 12px;
  width: auto; height: auto;
  padding: 12px 16px; margin: 0;
  clip: auto; clip-path: none; overflow: visible;
  z-index: 999;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  flex-wrap: nowrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  text-decoration: none; font-size: 1.15rem; letter-spacing: -0.01em;
  flex: 0 0 auto; white-space: nowrap;
}
.brand img { display: block; height: 36px; width: auto; max-width: 220px; }
.brand-mark { width: 32px; height: 32px; background: var(--navy); color: var(--gold); display: grid; place-items: center; border-radius: 6px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.brand span em { color: var(--gold-text); font-style: normal; }
.nav {
  display: flex; align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav a { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: .96rem; white-space: nowrap; }
.nav a:hover { color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.nav-phone { font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--gold-text); }
.nav-cta .btn { padding: 12px 18px; min-height: 44px; font-size: .95rem; }
.menu-toggle {
  display: none;
  background: var(--navy); border: 1px solid var(--navy);
  border-radius: 8px; padding: 10px; cursor: pointer; color: var(--gold);
  min-height: 44px; min-width: 44px;
  align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle[aria-expanded="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* In-drawer mobile-only block — must NEVER render on desktop */
.nav-mobile-actions { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; min-height: 48px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: .98rem; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease; line-height: 1.1; text-align: center; }
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--slate-200); }
.btn-ghost:hover { background: var(--slate-100); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--off-white); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.72) 50%, rgba(15,23,42,.55) 100%); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; max-width: 1200px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p.lede { font-size: 1.18rem; color: #cbd5e1; max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: #cbd5e1; font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--white); font-weight: 600; }

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--slate-200); padding: 22px 0; }
.trust-strip .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; color: var(--slate); font-size: .92rem; }
.trust-strip strong { color: var(--navy); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.card h3 { margin-top: 0; }
.card .price-band { font-family: var(--font-head); color: var(--gold-text); font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.card a.more { font-weight: 600; text-decoration: none; color: var(--navy); }
.card a.more::after { content: " \2192"; color: var(--gold-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Service tile with image */
.tile { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tile .img { aspect-ratio: 4/3; background: var(--slate-100); overflow: hidden; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .img img { transform: scale(1.04); }
.tile .body { padding: 22px 24px 26px; }
.tile .price-band { font-family: var(--font-head); color: var(--gold-text); font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tile h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.tile p { color: var(--slate); margin: 0 0 12px; font-size: .95rem; }
.tile a.more { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; font-size: .95rem; }
.tile a.more::after { content: " \2192"; color: var(--gold-text); }

/* Two column content */
.two-col { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
.two-col-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.image-block { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--slate-100); }
.image-block img { width: 100%; height: 100%; object-fit: cover; }

/* Steps / process */
.process { counter-reset: step; }
.process-step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--slate-200); }
.process-step:first-child { border-top: none; }
.process-step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.process-step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.process-step p { color: var(--slate); margin: 0; }

/* Facts block */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.fact { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px; }
.fact .label { color: var(--slate); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-head); font-weight: 600; }
.fact .value { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); font-weight: 700; margin-top: 6px; }

/* FAQs */
.faqs details { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
.faqs details[open] { box-shadow: var(--shadow-sm); border-color: #cbd5e1; }
.faqs summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-text); line-height: 1; }
.faqs details[open] summary::after { content: "\2013"; }
.faqs p { margin: 12px 0 0; color: var(--charcoal); }

/* Testimonial */
.testimonial { background: var(--navy); color: var(--off-white); border-radius: var(--radius-lg); padding: 40px; }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; color: var(--white); }
.testimonial cite { display: block; margin-top: 18px; color: #cbd5e1; font-style: normal; font-size: .95rem; }
.testimonial cite strong { color: var(--gold); display: block; font-weight: 600; }

/* Lead Form */
.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.form-card h2 { margin-top: 0; }
.form-step-indicator { display: flex; gap: 8px; margin-bottom: 18px; font-family: var(--font-head); font-size: .85rem; color: var(--slate); }
.form-step-indicator .pill { padding: 4px 10px; border: 1px solid var(--slate-200); border-radius: 99px; }
.form-step-indicator .pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: var(--radius); font: inherit; color: var(--charcoal); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(212,160,23,.18); outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field .error { display: none; color: var(--error); font-size: .85rem; margin-top: 6px; }
.field input[aria-invalid="true"] ~ .error, .field select[aria-invalid="true"] ~ .error, .field textarea[aria-invalid="true"] ~ .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; }
.consent input { margin-top: 4px; }
.consent label { font-size: .9rem; color: var(--charcoal); font-family: var(--font-body); font-weight: 400; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 10px; }
.form-success, .form-error { display: none; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; }
.form-success { background: #ecfdf5; color: var(--success); border: 1px solid #bbf7d0; }
.form-error { background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.form-success.show, .form-error.show { display: block; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; color: var(--slate); font-size: .88rem; background: var(--white); border-bottom: 1px solid var(--slate-200); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span[aria-current="page"] { color: var(--navy); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li:not(:first-child)::before { content: "/"; margin-right: 8px; color: var(--slate); }

/* CTA banner */
.cta-banner { background: var(--navy); color: var(--white); padding: 56px 0; }
.cta-banner h2 { color: var(--white); margin-top: 0; }
.cta-banner .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-banner p { color: #cbd5e1; margin-bottom: 0; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Footer */
.site-footer { background: #0b1224; color: #94a3b8; padding: 64px 0 28px; }
.site-footer .grid-foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3, .site-footer .foot-h { color: var(--white); font-size: 1rem; margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .legal { border-top: 1px solid #1e293b; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #94a3b8; font-size: .82rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .image-block { aspect-ratio: 4/3; }

/* Before/after pair (case study) */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ba-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--slate-100); position: relative; }
.ba-frame img { width: 100%; height: 100%; aspect-ratio: 1000/544; object-fit: cover; display: block; }
.ba-frame figcaption {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15, 23, 42, .82); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}

/* Project intro hero */
.project-hero { background: var(--navy); color: var(--white); }
.project-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .55; }

/* Star project — hero */
.star-hero { position: relative; background: var(--navy); color: var(--off-white); overflow: hidden; display: flex; align-items: flex-end; min-height: 620px; }
.star-hero .hero-bg { object-position: center 58%; }
.star-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.10) 0%, rgba(15,23,42,.62) 45%, rgba(15,23,42,.94) 100%); }
.star-hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 56px; }
.star-hero h1 { color: var(--white); max-width: 24ch; margin-top: 10px; }
.star-hero .lede { color: #e2e8f0; max-width: 64ch; font-size: 1.12rem; }
.star-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; line-height: 1; }
.star-badge svg { width: 13px; height: 13px; }

/* Star project — self-hosted video walk-around (portrait) */
.video-frame { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; background: #000; border: 6px solid var(--navy); box-shadow: var(--shadow-lg); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

/* Star project — feature card on the projects hub */
.feature-card { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--navy); color: var(--off-white); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 56px; box-shadow: var(--shadow-lg); }
.feature-card .img { position: relative; display: block; min-height: 380px; overflow: hidden; }
.feature-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform .6s ease; }
.feature-card:hover .img img { transform: scale(1.035); }
.feature-card .img .star-badge { position: absolute; top: 18px; left: 18px; }
.feature-card .body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.feature-card .eyebrow { color: #fcd34d; }
.feature-card h2 { color: var(--white); margin: 12px 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.feature-card p { color: #cbd5e1; }
.feature-card .meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 24px; color: #e2e8f0; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.feature-card .meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }

/* Star project — photo tour */
.photo-group { margin-top: 40px; }
.photo-group h3 { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); }
.photo-group h3::after { content: ""; flex: 1; height: 1px; background: var(--slate-200); }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(170px, 20vw, 280px); gap: 14px; margin-top: 16px; }
.photo { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--slate-100); grid-column: span 4; }
.photo.wide { grid-column: span 8; }
.photo.half { grid-column: span 6; }
.photo a { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 12px; background: linear-gradient(180deg, transparent, rgba(15,23,42,.82)); color: #fff; font-size: .84rem; font-family: var(--font-head); font-weight: 600; pointer-events: none; }
.ba-frame a { display: block; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(2,6,23,.92); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; position: relative; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); display: block; margin: 0 auto; }
.lightbox figcaption { color: #e2e8f0; text-align: center; padding: 14px 56px; font-family: var(--font-head); font-size: .95rem; min-height: 44px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(15,23,42,.72); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; transition: background-color .18s ease; }
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 10px; }
.lightbox .lb-next { right: 10px; }
.lightbox .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; font-size: 1.3rem; }
body.lb-open { overflow: hidden; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }

/* Pill tags */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.tag { padding: 6px 12px; background: var(--slate-100); color: var(--navy); border-radius: 99px; font-size: .82rem; font-family: var(--font-head); font-weight: 600; border: 1px solid var(--slate-200); }
.tag a { text-decoration: none; color: inherit; }

/* Caveat box */
.caveat { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 16px 20px; border-radius: var(--radius); font-size: .92rem; margin: 16px 0; }
.caveat strong { color: #78350f; }

/* Hero-lite (interior pages) */
.hero-lite { background: var(--navy); color: var(--off-white); padding: 64px 0 56px; }
.hero-lite h1 { color: var(--white); max-width: 22ch; }
.hero-lite p { color: #cbd5e1; max-width: 56ch; font-size: 1.08rem; }

/* Mobile sticky bottom CTA — improves conversion on phones */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,23,42,.96);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-sticky-cta a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 12px 8px;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: .95rem;
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.mobile-sticky-cta .call  { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.mobile-sticky-cta .quote { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }

/* Scrollable table wrapper for narrow viewports */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 20px; border-radius: var(--radius); }
.table-scroll table { min-width: 480px; width: 100%; }
.table-scroll table th, .table-scroll table td { padding: 12px 14px; border-bottom: 1px solid var(--slate-200); white-space: normal; }
.table-scroll table thead { background: var(--slate-100); }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid, .two-col, .two-col-equal, .cta-banner .container { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .site-footer .grid-foot { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-banner-actions { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .img { min-height: 280px; aspect-ratio: 16/10; }
  .feature-card .body { padding: 32px 30px; }
  .star-hero { min-height: 0; }
  .star-hero .container { padding-top: 96px; }
  .photo-grid { grid-auto-rows: 26vw; }
}

/* Mobile-nav cutoff — anything below this uses the drawer */
@media (max-width: 1100px) {
  .nav-cta .nav-phone { display: none; }
  .nav-cta > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    gap: 0;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    justify-content: flex-start;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--slate-100); font-size: 1rem; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
  .nav a:last-of-type { border-bottom: none; }
  .nav.open { display: flex; }
  .nav .nav-mobile-actions {
    display: flex; flex-direction: column;
    gap: 10px; margin-top: 14px; padding-top: 4px;
    border-top: 1px solid var(--slate-200);
  }
  .nav .nav-mobile-actions .btn { width: 100%; min-height: 48px; padding: 14px 18px; font-size: 1rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-tight { padding: 36px 0; }
  .hero .container { padding-top: 64px; padding-bottom: 80px; }
  .hero-lite { padding: 48px 0 40px; }

  /* Reveal the mobile sticky CTA bar */
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 84px; }

  h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  h2 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .hero p.lede { font-size: 1.04rem; }

  .form-card { padding: 22px; }
  .testimonial { padding: 26px; }
  .testimonial blockquote { font-size: 1.1rem; line-height: 1.45; }
  .form-step-indicator { flex-wrap: wrap; }
  .form-step-indicator .pill { font-size: .78rem; padding: 4px 9px; }
  .form-actions { flex-wrap: wrap; gap: 10px; }
  .form-actions .btn { flex: 1 1 auto; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact { padding: 16px; }
  .fact .value { font-size: 1.2rem; }
  .site-footer .grid-foot { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 48px 0 24px; }
  .site-footer .legal { flex-direction: column; align-items: flex-start; }

  .hero-meta { gap: 14px 18px; font-size: .85rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }

  .process-step { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; }
  .process-step .num { width: 40px; height: 40px; font-size: 1rem; }

  .gallery { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr; gap: 14px; }
  .star-hero .container { padding-top: 72px; padding-bottom: 40px; }
  .star-hero .lede { font-size: 1rem; }
  .video-frame { max-width: 300px; border-width: 5px; border-radius: 22px; }
  .feature-card .body { padding: 26px 20px 28px; }
  .feature-card .meta { gap: 10px 16px; font-size: .86rem; }
  .photo-grid { grid-auto-rows: 46vw; gap: 10px; }
  .photo, .photo.half { grid-column: span 6; }
  .photo.wide, .photo:last-child:nth-child(even) { grid-column: span 12; }
  .photo figcaption { font-size: .76rem; padding: 26px 10px 8px; }
  .lightbox figcaption { padding: 12px 8px; font-size: .88rem; }
  .lightbox .lb-prev, .lightbox .lb-next { width: 40px; height: 40px; }
  .breadcrumbs { font-size: .82rem; padding: 12px 0; }
  .breadcrumbs ol { flex-wrap: wrap; row-gap: 4px; }

  .cta-banner { padding: 44px 0; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn { width: 100%; }

  .faqs details { padding: 14px 16px; }
  .faqs summary { gap: 12px; }

  .brand span { font-size: 1rem; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .brand span { font-size: .95rem; }
  .form-card { padding: 18px; }
  .testimonial { padding: 22px; }
  .hero h1 { font-size: 1.65rem; }
  .hero .container { padding-top: 48px; padding-bottom: 60px; }
}

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