/* ==========================================================
   8th Wonder Home Care — brand tokens (navy + chrome/silver)
   ========================================================== */
:root {
  --navy-900: #0B1838;
  --navy-800: #102349;
  --navy-700: #14285A;   /* logo navy */
  --navy-600: #1F3A78;
  --navy-100: #E6EBF4;
  --silver-50: #F5F6F8;
  --silver-100: #ECEEF2;
  --silver-200: #DADEE5;
  --silver-300: #C2C8D2;
  --silver-500: #8A929F;
  --ink: #111827;
  --ink-muted: #4B5563;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #067647;

  --chrome: linear-gradient(135deg, #FFFFFF 0%, #D7DCE3 35%, #AEB5C0 55%, #E9ECF0 75%, #C3C9D2 100%);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(11 24 56 / .06), 0 2px 8px rgb(11 24 56 / .06);
  --shadow: 0 10px 30px rgb(11 24 56 / .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy-900); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy-700); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .pay :focus-visible, .header :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: var(--silver-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font: 700 1rem/1 var(--font-head); letter-spacing: .01em;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--chrome { background: var(--chrome); color: var(--navy-900); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 6px 20px rgb(0 0 0 / .25); }
.btn--chrome:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 8px 26px rgb(0 0 0 / .35); filter: brightness(1.05); }
.btn--ghost { color: var(--white); border-color: rgb(255 255 255 / .55); }
.btn--ghost svg { fill: currentColor; stroke: none; }
.btn--ghost:hover { background: rgb(255 255 255 / .12); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--silver-100); }
.btn--navy { background: var(--navy-700); color: var(--white); box-shadow: 0 6px 18px rgb(20 40 90 / .25); }
.btn--navy:hover { background: var(--navy-900); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .8125rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--silver-500); }
.eyebrow--light { color: var(--silver-200); }
.eyebrow--light::before { background: var(--silver-300); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.h2--light { color: var(--white); }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 62ch; }

.section { padding-block: clamp(72px, 8vw, 120px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .lead { margin: 18px auto 0; }
.section-head--left { text-align: left; margin: 0; }
.section-head--left .lead { margin-left: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--silver-200); font-size: .9375rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 42px; }
.topbar__link, .topbar__loc { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.topbar__link:hover { color: var(--white); }
.topbar svg { width: 16px; height: 16px; fill: var(--silver-300); }
.topbar__loc { margin-left: auto; font-weight: 500; }

/* ---------- Header ---------- */
.header { position: absolute; top: 42px; left: 0; right: 0; z-index: 50; padding-block: 20px; transition: background-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease); }
.header.is-stuck { position: fixed; top: 0; padding-block: 10px; background: rgb(11 24 56 / .96); box-shadow: 0 6px 24px rgb(0 0 0 / .2); backdrop-filter: blur(8px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__badge {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: #EEF0F2; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6), 0 4px 14px rgb(0 0 0 / .25); overflow: hidden;
}
.brand__badge img { width: 34px; height: auto; mix-blend-mode: multiply; }
.brand__badge--lg { width: 68px; height: 68px; }
.brand__badge--lg img { width: 44px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 800 1.25rem/1 var(--font-head); color: var(--white); letter-spacing: .02em; }
.brand__sub { font: 600 .75rem/1 var(--font-head); color: var(--silver-300); letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: var(--radius-pill); background: rgb(11 24 56 / .6); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(10px); }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: var(--radius-pill);
  color: var(--white); text-decoration: none; font: 600 .9375rem/1.2 var(--font-head);
  transition: background-color .2s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { background: rgb(255 255 255 / .12); }
.nav__cta { min-height: 44px; padding: 10px 20px; margin-left: 8px; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / .25); border-radius: 12px; background: rgb(11 24 56 / .6); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); padding-top: 180px; padding-bottom: 90px; min-height: min(100dvh, 920px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: url("assets/img/hero-water-heater.jpg") center 35% / cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 24 56 / .94) 0%, rgb(11 24 56 / .82) 45%, rgb(11 24 56 / .45) 100%), linear-gradient(0deg, rgb(11 24 56 / .85) 0%, transparent 45%); }
.hero__content { max-width: var(--container); }
.hero__title { color: var(--white); font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem); font-weight: 800; letter-spacing: -.025em; max-width: 13ch; text-wrap: balance; }
.hero__lead { margin-top: 22px; max-width: 54ch; font-size: 1.1875rem; color: var(--silver-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 110px); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 6px 28px; border-left: 1px solid rgb(255 255 255 / .28); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font: 800 clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem)/1 var(--font-head); letter-spacing: -.02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--silver-200); font-size: 1rem; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 48px; fill: var(--white); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; margin: 0; }
.about__media > video { background: var(--navy-900); }
.about__media > img, .about__media > video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__tag {
  position: absolute; right: -20px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
  font: 700 .9375rem/1.3 var(--font-head); color: var(--navy-900);
}
.about__tag img { width: 34px; border-radius: 8px; }
.about__copy .lead { margin-top: 20px; }
.points { display: grid; gap: 24px; margin: 34px 0 38px; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.points svg { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--silver-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.points h3 { font-size: 1.1875rem; font-weight: 700; }
.points p { color: var(--ink-muted); margin-top: 6px; }

/* ---------- Services carousel ---------- */
.services { background: var(--silver-50); }
.carousel { position: relative; width: min(100% - 32px, 1320px); margin-inline: auto; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 24px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.card__body { padding: 24px 24px 28px; text-align: center; border-bottom: 3px solid var(--silver-200); flex: 1; }
.card h3 { font-size: 1.375rem; font-weight: 700; }
.card p { color: var(--ink-muted); margin-top: 10px; }
.carousel__btn {
  position: absolute; top: 38%; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center;
  border: 0; border-radius: 12px; cursor: pointer; transition: background-color .2s, opacity .2s;
}
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn--prev { left: -26px; background: var(--white); color: var(--navy-900); box-shadow: var(--shadow); }
.carousel__btn--next { right: -26px; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow); }
.carousel__btn:disabled { opacity: .35; cursor: default; }

/* ---------- Work: before/after + gallery ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ba { margin: 0; background: var(--silver-50); padding: 14px; border-radius: var(--radius); }
.ba:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba__img { position: relative; }
.ba__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.ba__label { position: absolute; left: 10px; top: 10px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgb(17 24 39 / .78); color: var(--white); font: 700 .75rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.ba__label--after { background: var(--navy-700); }
.ba figcaption { margin-top: 14px; text-align: center; font: 700 1.0625rem/1.3 var(--font-head); color: var(--navy-900); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.gallery li { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.gallery li:hover img { transform: scale(1.04); }
.gallery span { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgb(11 24 56 / .85)); color: var(--white); font: 700 .9375rem/1.3 var(--font-head); }

/* ---------- Reviews ---------- */
.reviews { padding-top: 0; }
.reviews__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: var(--silver-50); border: 1px solid var(--silver-200); }
.reviews__copy .lead { margin: 18px 0 24px; }
.reviews__facts { display: grid; gap: 14px; }
.reviews__facts li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--ink-muted); }
.reviews__num { min-width: 84px; font: 800 2rem/1 var(--font-head); color: var(--navy-700); }
.reviews__num svg { width: 40px; height: 40px; fill: var(--navy-700); }
.reviews__num--sm { font-size: 1.125rem; }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rating__stars { font-size: 1.5rem; letter-spacing: 2px; color: var(--navy-700); }
.rating__text { font-weight: 600; color: var(--ink-muted); }
.quote-card { margin: 0 0 28px; padding: 18px 22px; border-left: 4px solid var(--navy-700); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); box-shadow: var(--shadow-sm); }
.quote-card p { font: 700 1.125rem/1.4 var(--font-head); color: var(--navy-900); }
.quote-card cite { display: block; margin-top: 8px; font-style: normal; font-size: .9375rem; color: var(--ink-muted); }
.reviews__alias { margin-top: 14px; font-size: .9375rem; color: var(--ink-muted); }
.pay__lead strong { color: var(--white); }
.pay__group { margin-top: 32px; font: 700 .8125rem/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--silver-300); }
.pay__group + .steps { margin-top: 16px; }
.steps .steps__num--free { background: transparent; border: 2px solid var(--silver-300); color: var(--white); }
.steps .steps__num--free svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pay__arrive { margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); color: var(--silver-100); max-width: 56ch; }
.pay__arrive strong { color: var(--white); }
.pay__fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .15); color: var(--silver-200); max-width: 56ch; }
.pay__price { margin: 6px 0 4px !important; color: var(--ink-muted); font-weight: 600; }
.pay__price span { font: 800 2.75rem/1 var(--font-head); color: var(--navy-900); margin-right: 4px; }
.zelle {display: grid; gap: 4px; margin-bottom: 16px; padding: 18px; border-radius: var(--radius); background: var(--silver-50); border: 1.5px dashed var(--silver-300); }
.zelle__label { font: 700 .75rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--silver-500); }
.zelle__value { font: 800 clamp(1rem, .85rem + .9vw, 1.3rem)/1.3 var(--font-head); color: var(--navy-900); overflow-wrap: anywhere; }
.zelle__memo { margin-top: 16px; font-size: .9375rem; color: var(--ink-muted); }
.zelle__status { margin-top: 8px; font-size: .9375rem; font-weight: 600; color: var(--navy-800); }
.zelle__status:empty { display: none; }
.pay__methods { margin-top: 16px; font-size: .9375rem; font-weight: 600; color: var(--navy-800); }

/* ---------- Pay ahead ---------- */
.pay { position: relative; background: var(--navy-900); color: var(--white); padding-block: clamp(72px, 8vw, 110px); overflow: hidden; }
.pay::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(194 200 210 / .14), transparent 65%); pointer-events: none; }
.pay__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pay__lead { margin-top: 18px; color: var(--silver-200); font-size: 1.125rem; max-width: 56ch; }
.steps { display: grid; gap: 22px; margin-top: 36px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--chrome); color: var(--navy-900); font: 800 1.125rem/1 var(--font-head); }
.steps h3 { color: var(--white); font-size: 1.125rem; }
.steps p { color: var(--silver-300); margin-top: 4px; }
.pay__card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 36px; text-align: center; box-shadow: 0 30px 60px rgb(0 0 0 / .35); }
.pay__logo { width: 64px; margin: 0 auto 16px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.pay__card h3 { font-size: 1.5rem; }
.pay__card > p { color: var(--ink-muted); margin: 10px 0 24px; }
.pay__card .btn svg { fill: none; }
.pay__note { margin-top: 18px; font-size: .9375rem; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--silver-200); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--silver-300); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font: 700 1.0625rem/1.35 var(--font-head); color: var(--navy-900); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 2.5px solid var(--navy-600); border-bottom: 2.5px solid var(--navy-600); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 22px 22px; color: var(--ink-muted); }

/* ---------- Quote form ---------- */
.quote { background: var(--silver-50); }
.quote__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.quote__info .lead { margin-top: 18px; }
.contact-list { display: grid; gap: 18px; margin: 34px 0 30px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-700); flex-shrink: 0; }
.contact-list__icon svg { fill: var(--white); width: 22px; height: 22px; }
.contact-list__label { display: block; font: 700 .75rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--silver-500); margin-bottom: 2px; }
.contact-list a, .contact-list li span:not(.contact-list__label):not(.contact-list__icon) { font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 6px 14px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--silver-200); font-size: .9375rem; font-weight: 600; color: var(--navy-800); }

.form { background: var(--white); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 .9375rem/1.3 var(--font-head); color: var(--navy-900); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--silver-300); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgb(31 58 120 / .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .9rem; font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.form__error-summary { padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--danger); background: #FEF3F2; color: var(--danger); font-weight: 600; }
.form__error-summary ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.form__error-summary a { color: var(--danger); }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form__status.is-success { background: #ECFDF3; color: var(--success); }
.form__status.is-error { background: #FEF3F2; color: var(--danger); }
.form__fine { font-size: .9375rem; color: var(--ink-muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--silver-200); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 40px; align-items: start; padding-bottom: 48px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer a { color: var(--silver-200); text-decoration: none; display: inline-block; padding-block: 6px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__contact { display: grid; gap: 2px; overflow-wrap: anywhere; }
.footer__contact span { padding-block: 6px; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 22px; font-size: .9375rem; color: var(--silver-500); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; border-radius: 18px;
    background: var(--navy-900); border-color: rgb(255 255 255 / .14);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 14px 16px; font-size: 1.0625rem; }
  .nav__cta { margin: 6px 0 0; min-height: 50px; }
  .header { background: transparent; }
  .header.menu-open { background: var(--navy-900); }
}

@media (max-width: 1024px) {
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .carousel__btn--prev { left: -8px; }
  .carousel__btn--next { right: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews__panel, .pay__grid, .faq__grid, .quote__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  .topbar__email { display: none; }
  .topbar__inner { gap: 16px; }
  .hero { padding-top: 150px; padding-bottom: 72px; min-height: auto; }
  .hero__bg { background-position: 70% 35%; }
  .hero__bg::after { background: linear-gradient(180deg, rgb(11 24 56 / .75) 0%, rgb(11 24 56 / .9) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stat { padding: 4px 16px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__tag { right: 12px; bottom: 12px; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .carousel { width: 100%; }
  .carousel__track { grid-auto-columns: 82%; gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .carousel__btn { top: auto; bottom: -46px; width: 48px; height: 48px; }
  .carousel__btn--prev { left: calc(50% - 56px); }
  .carousel__btn--next { right: calc(50% - 56px); }
  .services { padding-bottom: 120px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .97); box-shadow: 0 -6px 20px rgb(11 24 56 / .12);
  }
  .callbar__btn { display: grid; place-items: center; min-height: 48px; border-radius: var(--radius-pill); font: 700 1rem/1 var(--font-head); text-decoration: none; background: var(--silver-100); color: var(--navy-900); }
  .callbar__btn--call { background: var(--navy-700); color: var(--white); }
}

@media (max-width: 420px) {
  .topbar__loc { display: none; }
  .brand__name { font-size: 1.0625rem; }
  .brand__badge { width: 46px; height: 46px; }
  .stats { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .stat__label { font-size: .9375rem; }
}

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