/* Miller Roofing Solutions — Midnight Coastal theme */
/* Self-hosted Google Fonts (latin subset) so no third-party CSS blocks the first paint */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cinzel-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/cinzel-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/cinzel-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/inter-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0B1416; --bg-2: #10262B; --bg-3: #153238; --bg-4: #1B3F47;
  --ink: #F5F2EA; --ink-2: #CDD8DA; --muted: #8FA3A6;
  --gold: #C9A24A; --gold-2: #E0C47A; --gold-3: #F1DDA3; --gold-deep: #AF933E;
  --teal: #0F818C; --teal-2: #1BA3B0; --teal-deep: #0A3E45;
  --cream: #F5F2EA; --cream-2: #ECE6D6; --cream-3: #E2DAC5; --cream-ink: #1B2628; --cream-muted: #5E6F72;
  --line: rgba(245,242,234,.12); --line-strong: rgba(245,242,234,.24); --line-gold: rgba(201,162,74,.55);
  --radius: 8px; --radius-lg: 14px;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1240px; --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --shadow: 0 24px 64px rgba(0,0,0,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold-3); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 6px; z-index: 1000; font-weight: 800; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.wrap--narrow { max-width: 860px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .005em; color: var(--ink); }
.h1 { font-size: clamp(42px, 6.4vw, 82px); }
.h1--sm { font-size: clamp(36px, 5vw, 60px); }
.h2 { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.08; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.kicker { margin: 0 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.kicker--light { color: var(--gold-2); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); margin: 18px 0 0; max-width: 62ch; font-weight: 500; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.sec--cream .h1, .sec--cream .h2, .sec--cream .h3, .sec--cream .h4 { color: var(--cream-ink); }
.sec--cream .lead { color: #35474A; }
.sec--cream .fine { color: var(--cream-muted); }
.sec--cream { background: var(--cream); color: var(--cream-ink); }
.sec--cream a { color: var(--teal); }
.sec--cream a:hover { color: #0A5C64; }
.sec--dark { background: var(--bg); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--cream + .sec--cream { padding-top: 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 820px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head--split > div:first-child { max-width: 820px; }
.sec-head__action { display: flex; gap: 12px; flex-wrap: wrap; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 6px; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; white-space: nowrap; line-height: 1.1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--bg); border-color: var(--gold); box-shadow: 0 10px 30px rgba(201,162,74,.25); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--gold-2); border-color: var(--gold-2); }
.sec--cream .btn-ghost, .cream .btn-ghost { color: var(--cream-ink); border-color: rgba(27,38,40,.35); }
.sec--cream .btn-ghost:hover { color: var(--teal); border-color: var(--teal); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-2); border-color: var(--teal-2); color: #fff; }
.btn-lg { padding: 20px 32px; font-size: 16px; }
.btn-sm { padding: 11px 16px; font-size: 13px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- top bar + header ---------- */
.topbar { background: #060D0F; color: var(--ink-2); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 9px 0; flex-wrap: wrap; }
.topbar__hours { display: inline-flex; align-items: center; gap: 6px; }
.topbar__social { display: flex; gap: 16px; }
.topbar__social a { color: var(--gold-2); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(11,20,22,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.site-header .wrap { width: min(100% - 40px, 1440px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.site-header .brand, .site-header__cta { flex: none; }
.site-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { height: 50px; width: auto; }
.brand__word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand__word b { font-size: 19px; font-weight: 700; letter-spacing: .06em; color: var(--gold-2); text-transform: uppercase; white-space: nowrap; }
.brand__word small { font-size: 10px; font-weight: 700; letter-spacing: .4em; color: var(--ink-2); text-transform: uppercase; margin-top: 5px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a { display: block; padding: 12px 9px; color: var(--ink); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; border-radius: 6px; white-space: nowrap; }
.site-nav__list > li > a:hover, .site-nav__list > li.is-active > a { color: var(--gold-2); }
.sub-toggle { background: none; border: 0; color: var(--ink-2); padding: 6px 4px 6px 0; margin-left: -8px; display: inline-flex; vertical-align: middle; min-width: 24px; min-height: 24px; }
.sub-toggle .ico { width: 14px; height: 14px; transition: transform .25s; }
.has-sub { display: flex; align-items: center; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease); z-index: 20; }
.sub a { display: block; padding: 11px 14px; border-radius: 6px; color: var(--ink); font-weight: 700; font-size: 15px; }
.sub a:hover { background: rgba(201,162,74,.12); color: var(--gold-2); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub.open .sub-toggle .ico { transform: rotate(180deg); }
.site-header__cta { display: flex; align-items: center; gap: 10px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 16px; padding: 8px 10px; white-space: nowrap; }
.site-header__phone:hover { color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 2px solid var(--line-strong); color: var(--ink); border-radius: 6px; width: 46px; height: 46px; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico + .ico, body.nav-open .nav-toggle .ico:first-child { display: none; }
body.nav-open .nav-toggle .ico + .ico { display: block; }
.site-nav__mobile { display: none; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); min-height: calc(100vh - 130px); display: flex; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.hero__bg { position: absolute; inset: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(1.05); }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,20,22,.97) 0%, rgba(11,20,22,.82) 45%, rgba(11,20,22,.45) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,20,22,0) 35%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; color: var(--ink-2); margin: 24px 0 0; max-width: 58ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__phone { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 28px; color: var(--ink); font-weight: 800; font-size: 20px; }
.hero__phone span { white-space: nowrap; }
.hero__phone small { font-weight: 700; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.hero__phone .ico { color: var(--gold-2); }
.hero__side { display: flex; flex-direction: column; gap: 18px; }
.brand-loop { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow), 0 0 0 6px rgba(201,162,74,.08); background: #000; aspect-ratio: 16 / 9; }
.brand-loop__video { width: 100%; height: 100%; object-fit: cover; }
.rating-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: rgba(245,242,234,.06); border: 1px solid var(--line-strong); border-left: 5px solid var(--gold); border-radius: var(--radius); color: var(--ink); transition: background .25s, border-color .25s; }
.rating-card:hover { background: rgba(245,242,234,.1); border-color: var(--gold); color: var(--ink); }
.rating-card__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.rating-card__row { display: flex; align-items: center; gap: 12px; }
.rating-card__num { font-family: var(--font-display); font-size: 36px; font-weight: 700; }
.rating-card__num--txt { font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.rating-card__count { font-weight: 700; color: var(--ink-2); }
.rating-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--gold-2); font-size: 14px; margin-top: 4px; }
.stars { color: var(--gold-2); font-size: 22px; letter-spacing: 2px; line-height: 1; }
.stars__off { color: rgba(245,242,234,.2); }

/* ---------- page hero ---------- */
.phero { position: relative; overflow: hidden; background: var(--bg-2); padding: clamp(56px, 7vw, 96px) 0; }
.phero--compact { padding: clamp(40px, 5vw, 64px) 0; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.phero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,20,22,.96) 0%, rgba(11,20,22,.78) 50%, rgba(11,20,22,.4) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,20,22,0) 40%); }
.phero__inner { position: relative; max-width: 900px; }
.phero--photo { min-height: 520px; display: flex; align-items: flex-end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }
.crumbs i { font-style: normal; color: var(--gold-deep); }

/* ---------- trust strip ---------- */
.trust { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 18px 0; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: rgba(245,242,234,.03); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.trust__item:hover { border-color: var(--gold); background: rgba(201,162,74,.08); color: var(--ink); transform: translateY(-2px); }
.trust__big { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--gold-2); min-width: 38px; display: inline-flex; align-items: center; }
.trust__big .ico { width: 24px; height: 24px; }
.trust__seal { height: 40px; width: auto; }
.trust__txt { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
.trust__txt b { font-weight: 800; }
.trust__txt small { color: var(--muted); font-weight: 700; margin-top: 2px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card--link:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.card__ico { width: 48px; height: 48px; border-radius: 10px; background: rgba(201,162,74,.14); color: var(--gold-2); display: inline-flex; align-items: center; justify-content: center; }
.card__ico .ico { width: 24px; height: 24px; }
.card__num { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--gold-2); line-height: 1; }
.card__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--gold-2); font-size: 14px; }
.sec--cream .card { background: #fff; border-color: rgba(27,38,40,.1); color: var(--cream-ink); }
.sec--cream .card p { color: #3B4C4E; }
.sec--cream .card--link:hover { color: var(--cream-ink); border-color: var(--gold); }
.sec--cream .card__cta { color: var(--teal); }
.sec--cream .card__ico { background: rgba(15,129,140,.12); color: var(--teal); }

/* photo cards */
.pcards { display: grid; gap: 22px; }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.pcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 26px; }
.pcard__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.pcard__text { color: var(--ink-2); font-size: 15.5px; }
.pcard__cta { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--gold-2); font-size: 14px; }

/* ---------- bands ---------- */
.band { background: var(--bg-2); }
.band--teal { background: linear-gradient(135deg, var(--teal-deep), #0E2F35 60%, var(--bg-2)); }
.band--deep { background: var(--bg-2); }
.band__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.band--reverse .band__copy { order: 2; }
.band__copy .lead { color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps__item { display: flex; gap: 18px; padding: 20px 22px; background: rgba(245,242,234,.05); border: 1px solid var(--line); border-radius: 10px; }
.steps__num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--gold-2); line-height: 1; min-width: 44px; }
.steps__item b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps__item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps--row .steps__item { flex-direction: column; gap: 10px; }
.sec--cream .steps__item { background: #fff; border-color: rgba(27,38,40,.1); }
.sec--cream .steps__item p { color: #3B4C4E; }
.sec--cream .steps__num { color: var(--gold-deep); }

/* ---------- before/after ---------- */
.ba { position: relative; aspect-ratio: 4 / 3; max-height: 720px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow); user-select: none; }
.ba img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba__before img { width: calc(100% / var(--w, .5)); max-width: none; }
.ba__after { position: absolute; inset: 0; }
.ba__tag { position: absolute; top: 16px; left: 16px; background: rgba(11,20,22,.8); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.ba__tag--r { left: auto; right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--gold); transform: translateX(-50%); pointer-events: none; z-index: 2; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.ba__handle span::before, .ba__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; transform: translateY(-50%); }
.ba__handle span::before { left: 10px; border-right-color: var(--bg); }
.ba__handle span::after { right: 10px; border-left-color: var(--bg); }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 16px; }
.gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); }
.gallery--featured .gallery__item--feat { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(11,20,22,.92), rgba(11,20,22,0)); color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.gallery__item figcaption b { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.gallery__item figcaption span { font-size: 14px; font-weight: 700; }

/* ---------- stats ---------- */
.stats { background: linear-gradient(90deg, var(--bg-3), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: clamp(40px, 5vw, 64px) 0; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.5vw, 60px); color: var(--gold-2); line-height: 1; }
.stat__label { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- reviews ---------- */
.review { gap: 14px; }
.review p { font-size: 16px; line-height: 1.65; color: var(--ink); }
.review footer { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.review footer b { font-weight: 800; }
.review footer span { color: var(--muted); font-weight: 700; }
.reviews-empty { display: flex; gap: 22px; align-items: center; padding: 30px 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.reviews-empty__g { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #4285F4; flex: none; }
.reviews-empty__g .ico { width: 34px; height: 34px; }
.reviews-empty__t { margin: 0; font-weight: 800; font-size: 18px; }
.reviews-empty__s { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- two column, aside, prose ---------- */
.twocol { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.twocol--even { grid-template-columns: 1fr 1fr; align-items: center; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose .h3 { margin: 28px 0 12px; }
.prose .h3:first-child { margin-top: 0; }
.sec--cream .prose p { color: #35474A; }
.aside { position: sticky; top: 110px; padding: 28px 28px 30px; background: var(--bg-2); border: 1px solid var(--line-gold); border-radius: 12px; }
.aside .h3 { margin-bottom: 16px; }
.aside__cta { margin-top: 22px; }
.sec--cream .aside { background: #fff; border-color: rgba(201,162,74,.6); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.checklist .ico { color: var(--gold-2); margin-top: 3px; width: 20px; height: 20px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.sec--cream .checklist li { color: var(--cream-ink); }
.sec--cream .checklist .ico { color: var(--teal); }
.panel { padding: 30px; background: var(--bg-2); border: 1px solid var(--line-gold); border-radius: 14px; }
.sec--cream .panel { background: #fff; border-color: rgba(201,162,74,.6); }
.fig { margin: 24px 0 0; }
.fig img { border-radius: 12px; }
.fig figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.fig--framed { position: relative; margin: 0; padding: 0 0 18px 18px; }
.fig--framed::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border: 2px solid var(--gold); border-radius: 12px; }
.fig--framed img { position: relative; box-shadow: var(--shadow); }
.towns { display: flex; flex-wrap: wrap; gap: 10px; }
.town { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 15px; background: rgba(245,242,234,.04); transition: border-color .25s, background .25s; }
.town:hover { border-color: var(--gold); background: rgba(201,162,74,.1); color: var(--ink); }
.town .ico { color: var(--gold-2); width: 16px; height: 16px; }
.map { border-radius: 12px; overflow: hidden; border: 1px solid rgba(27,38,40,.15); background: var(--cream-2); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }
.office { margin-top: 24px; }
.office p { margin: 6px 0 20px; }
.hours { list-style: none; margin: 8px 0 0; padding: 0; max-width: 360px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(27,38,40,.12); font-size: 15px; }
.embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-gold); background: #fff; }
.embed iframe { width: 100%; height: 820px; border: 0; display: block; }
.embed--tall iframe { height: 960px; }
.embed__fallback { margin: 0; padding: 14px 18px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { color: var(--gold-2); transition: transform .25s; }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq__a p { margin: 0 0 12px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- cta + form ---------- */
.cta { background: linear-gradient(135deg, var(--bg-3), var(--bg-2) 55%, #0E2F35); border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.cta__contacts { display: grid; gap: 12px; margin-top: 32px; }
.cta__contacts a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: rgba(245,242,234,.04); transition: border-color .25s; }
.cta__contacts a:hover { border-color: var(--gold); color: var(--ink); }
.cta__contacts .ico { color: var(--gold-2); width: 22px; height: 22px; }
.cta__contacts span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; }
.cta__contacts b { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.cta__form { padding: 32px; background: var(--bg); border: 1px solid var(--line-gold); border-radius: 16px; box-shadow: var(--shadow); }
.lead-form__title { margin-bottom: 6px; }
.lead-form__intro { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.lead-form label em { font-style: normal; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--muted); }
.lead-form__full { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 14px; background: rgba(245,242,234,.06); border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); font-size: 16px; font-weight: 500; transition: border-color .2s, background .2s; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--gold); background: rgba(245,242,234,.09); }
.lead-form select option { color: var(--cream-ink); }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form__consent { flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 13px !important; margin-top: 14px; color: var(--muted) !important; }
.lead-form__consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.lead-form__actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.lead-form__actions button { border: 0; }
.lead-form__fine { font-size: 13px; color: var(--muted); max-width: 32ch; line-height: 1.4; }
.lead-form__status { margin-top: 14px; font-weight: 700; min-height: 1em; }
.lead-form__status.ok { color: #7ED8A1; }
.lead-form__status.err { color: #F0997B; }
.lead-form--compact .lead-form__grid { gap: 10px; }
.sec--cream .lead-form label { color: #35474A; }
.sec--cream .lead-form input, .sec--cream .lead-form select, .sec--cream .lead-form textarea { background: var(--cream); border-color: rgba(27,38,40,.2); color: var(--cream-ink); }
.sec--cream .lead-form input:focus, .sec--cream .lead-form select:focus, .sec--cream .lead-form textarea:focus { border-color: var(--gold-deep); background: #fff; }
.sec--cream .lead-form__fine, .sec--cream .lead-form__consent, .sec--cream .lead-form__intro { color: var(--cream-muted) !important; }
.sec--cream .lead-form__status.ok { color: #1F7A4D; }
.sec--cream .lead-form__status.err { color: #A33A2B; }

/* ---------- footer ---------- */
.site-footer { background: #060D0F; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.site-footer h4 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.site-footer h4 + ul + h4 { margin-top: 26px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__brand img { height: 150px; width: auto; margin: -16px 0 6px -18px; }
.site-footer__brand p { margin: 0 0 14px; max-width: 42ch; }
.site-footer__brand address { font-style: normal; margin-top: 12px; line-height: 1.5; }
.site-footer__brand > a { display: block; }
.site-footer__phone { font-size: 22px; font-weight: 800; color: var(--ink) !important; margin-bottom: 4px; }
.site-footer__hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 110px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer__bottom nav { display: flex; gap: 18px; }
@media (min-width: 900px) { .site-footer__bottom { padding-bottom: 28px; } }

/* ---------- sticky bar, chat ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; grid-template-columns: repeat(4, 1fr); background: var(--gold); box-shadow: 0 -8px 30px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom); }
.sticky-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-right: 1px solid rgba(11,20,22,.18); }
.sticky-bar a:last-child { border-right: 0; }
.sticky-bar a.is-primary { background: var(--bg); color: var(--gold-2); }
.sec--cream .kicker, .cream .kicker { color: #6F5A1F; } /* 6.6:1 on cream for the 13px kicker */
.site-nav .site-nav__mobile .btn-gold, .site-nav .site-nav__mobile .btn-gold span { color: var(--bg); }
.sticky-bar .ico { width: 22px; height: 22px; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 960; }
.chat__fab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--gold); color: var(--bg); border: 0; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .25s var(--ease), background .25s; }
.chat__fab:hover { transform: translateY(-2px); background: var(--gold-2); }
.chat__fab .ico { width: 22px; height: 22px; }
.chat__panel[hidden] { display: none; }
.chat__panel { position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 32px)); background: var(--bg-2); border: 1px solid var(--line-gold); border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { color: var(--muted); font-weight: 700; font-size: 12px; }
.chat__close { background: none; border: 0; color: var(--ink-2); padding: 6px; }
.chat__log { height: 340px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.chat__msg { max-width: 86%; padding: 11px 14px; border-radius: 12px; white-space: pre-wrap; }
.chat__msg--bot { align-self: flex-start; background: rgba(245,242,234,.07); color: var(--ink); border-bottom-left-radius: 4px; }
.chat__msg--me { align-self: flex-end; background: var(--gold); color: var(--bg); border-bottom-right-radius: 4px; font-weight: 700; }
.chat__msg--sys { align-self: center; color: var(--muted); font-size: 13px; text-align: center; }
.chat__msg a { font-weight: 800; }
.chat__msg--me a { color: var(--bg); text-decoration: underline; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; padding: 11px 12px; background: rgba(245,242,234,.06); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-size: 15px; }
.chat__form input:focus { outline: none; border-color: var(--gold); }
.chat__form button { width: 44px; border-radius: 8px; border: 0; background: var(--gold); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.chat__form button .ico { width: 20px; height: 20px; }
.chat__foot { margin: 0; padding: 8px 16px 12px; font-size: 12px; color: var(--muted); text-align: center; }
.chat__lead { display: grid; gap: 8px; padding: 10px; background: rgba(201,162,74,.1); border: 1px solid var(--line-gold); border-radius: 10px; }
.chat__lead input { padding: 10px 12px; background: rgba(245,242,234,.06); border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); font-size: 14px; }
.chat__lead button { padding: 10px; border: 0; border-radius: 6px; background: var(--gold); color: var(--bg); font-weight: 800; }
.chat__typing span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.chat__typing span:nth-child(2) { animation-delay: .2s; } .chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .pcard, .pcard__media img, .gallery__item img { transition: none !important; }
  .brand-loop__video { display: none; }
  .brand-loop { background: #000 url('/assets/media/poster.jpg') center / cover no-repeat; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1499px) {
  .brand__word { display: none; }
  .brand__mark { height: 56px; }
}
@media (max-width: 1240px) {
  .site-header__phone span { display: none; }
}
@media (max-width: 1100px) {
  .site-nav__list > li > a { padding: 12px 6px; font-size: 12px; }
  .trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4, .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-header__cta .btn { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 100%); height: calc(100dvh - 100%); background: var(--bg); z-index: 890; padding: 16px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); display: block; }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__list > li > a { padding: 16px 0; font-size: 18px; flex: 1; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { margin-left: auto; padding: 12px; }
  .sub-toggle .ico { width: 22px; height: 22px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 12px; }
  .has-sub.open .sub { display: block; }
  .sub a { font-size: 16px; padding: 10px 12px; }
  .site-nav__mobile { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-bottom: 0 !important; }
  .site-nav__mobile .btn { justify-content: center; }
  .hero { min-height: 0; }
  .brand-loop { display: none; } /* phones: the logo loop sits below the fold; the header logo carries the brand */
  .hero__inner, .band__grid, .twocol, .twocol--even, .cta__grid { grid-template-columns: 1fr; }
  .band--reverse .band__copy { order: 0; }
  .aside { position: static; }
  .pcards--3, .cards--3, .gallery--4, .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-bar { display: grid; }
  .chat { bottom: 84px; right: 14px; }
  .chat__panel { bottom: 62px; }
  .topbar__social { display: none; }
  .phero--photo { min-height: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__mark { height: 40px; }
  .brand__word b { font-size: 15px; }
  .brand__word small { font-size: 8.5px; letter-spacing: .32em; }
  .site-header__inner { min-height: 70px; }
  .topbar__inner { justify-content: center; text-align: center; font-size: 12px; gap: 8px; }
  .hero__ctas .btn, .phero .btn, .ctas .btn { width: 100%; justify-content: center; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--4, .cards--5, .cards--3, .pcards--3, .gallery--4, .gallery--3 { grid-template-columns: 1fr; }
  .gallery--featured .gallery__item--feat { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .checklist--2 { grid-template-columns: 1fr; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .cta__form { padding: 22px; }
  .steps--row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .chat__fab span { display: none; }
  .chat__fab { padding: 14px; }
  .embed iframe { height: 680px; }
}
/* Mobile menu buttons: keep icon and label on one line, centered (nav link rules above would stack them) */
@media (max-width: 960px) {
  .site-nav .site-nav__mobile .btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; border-bottom: 0; }
  .site-nav .site-nav__mobile .btn span { display: inline; }
}
