/* Valdez Air Conditioning & Heating | demo site styles
   Palette pulled from the logo: desert-night navy, flame red, ice blue, chrome white. */

:root {
  --navy-950: #050d1c;
  --navy-900: #081429;
  --navy-800: #0b1933;
  --navy-700: #112449;
  --navy-600: #19325f;
  --line: rgba(169, 198, 245, 0.14);
  --red: #d8243b;
  --red-hot: #ff3b4f;
  --red-deep: #9e1a2c;
  --blue: #2f63d6;
  --blue-bright: #4d84ff;
  --blue-deep: #1d4592;
  --ice: #a9c6f5;
  --ice-50: #f3f7fd;
  --ice-100: #e6eefb;
  --text: #f3f6fb;
  --muted: #a5b3cc;
  --ink: #0b1933;
  --ink-muted: #4a5a78;
  --star: #ffc23d;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(3, 10, 24, 0.65);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 68px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, .site-footer { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.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;
}

/* ---------- Type ---------- */
.display {
  font-stretch: 125%;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ice);
}
.eyebrow::before { content: "\2726"; color: var(--red-hot); font-size: 12px; letter-spacing: 0; }
.section-title {
  font-stretch: 118%;
  font-weight: 850;
  font-size: clamp(30px, 7.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 12px 0 14px;
  text-transform: uppercase;
}
.section-lede { color: var(--muted); max-width: 620px; margin: 0; font-size: 17.5px; }
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #b9c9e2 52%, #e9f0fa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fire-ice {
  background: linear-gradient(95deg, var(--red-hot) 0%, #ff6b5a 30%, var(--ice) 62%, var(--blue-bright) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 17px; letter-spacing: 0.01em; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-hot), var(--red) 55%, var(--red-deep));
  box-shadow: 0 14px 30px -12px rgba(216, 36, 59, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s var(--ease) infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-ice {
  color: var(--navy-800);
  background: linear-gradient(180deg, #ffffff, var(--ice-100));
  box-shadow: 0 14px 30px -14px rgba(169, 198, 245, 0.6), inset 0 -2px 0 rgba(47, 99, 214, 0.15);
}
.btn-ice svg { color: var(--blue); }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1.5px rgba(169, 198, 245, 0.35);
}
.btn-dark { color: #fff; background: var(--navy-800); box-shadow: 0 14px 30px -14px rgba(5, 13, 28, 0.7); }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(255, 59, 79, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
}

.cta-pair { display: grid; gap: 12px; }
@media (min-width: 640px) { .cta-pair { grid-template-columns: auto auto; justify-content: start; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 25, 51, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(8, 20, 41, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 50px; height: auto; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name {
  font-stretch: 125%; font-weight: 900; font-size: 21px; letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff 0%, #fff 48%, #b6c7e1 54%, #eef3fb 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { margin-top: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--ice); white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  border: 0; cursor: pointer; text-decoration: none; color: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(0.92); }
.icon-btn-call { background: linear-gradient(135deg, var(--red-hot), var(--red-deep)); box-shadow: 0 8px 20px -8px rgba(216, 36, 59, 0.9); }
.icon-btn-call::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255, 59, 79, 0.55);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.icon-btn-menu { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(169, 198, 245, 0.35); }
.icon-btn-menu .bars { position: relative; width: 18px; height: 12px; }
.icon-btn-menu .bars span {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.icon-btn-menu .bars span:nth-child(1) { top: 0; }
.icon-btn-menu .bars span:nth-child(2) { top: 5px; width: 70%; }
.icon-btn-menu .bars span:nth-child(3) { top: 10px; }
.menu-open .icon-btn-menu .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .icon-btn-menu .bars span:nth-child(2) { opacity: 0; }
.menu-open .icon-btn-menu .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.header-phone { display: none; }
@media (max-width: 359px) {
  .brand-sub { display: none; }
  .pill-more { display: none; }
}
@media (max-width: 379px) {
  .brand img { width: 42px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.1em; }
  .icon-btn { width: 42px; height: 42px; }
  .header-actions { gap: 8px; }
}
@media (min-width: 900px) {
  .header-phone {
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 20px 0 16px; border-radius: 999px;
    font-weight: 800; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
    box-shadow: 0 8px 20px -8px rgba(216, 36, 59, 0.9);
    transition: transform 0.2s var(--ease);
  }
  .header-phone:hover { transform: translateY(-1px); }
  .header-phone svg { width: 18px; height: 18px; }
  .header-actions .icon-btn-call { display: none; }
  .brand img { width: 58px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 10.5px; }
}

/* Menu panel */
.menu-panel {
  position: fixed; z-index: 49; top: var(--header-h); left: 0; right: 0;
  background: rgba(8, 20, 41, 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0s linear 0.35s;
}
.menu-open .menu-panel { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-panel nav { display: grid; padding: 10px 0 22px; }
.menu-panel nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 2px; border-bottom: 1px solid var(--line);
  font-stretch: 115%; font-weight: 800; font-size: 20px; text-decoration: none; text-transform: uppercase;
}
.menu-panel nav a::after { content: "\2192"; color: var(--ice); font-weight: 400; }
.menu-panel .btn { margin-top: 18px; }
.menu-backdrop {
  position: fixed; inset: 0; z-index: 48; background: rgba(3, 8, 18, 0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s;
}
.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (min-width: 900px) {
  .menu-panel { left: auto; right: max(20px, calc((100vw - 1180px) / 2)); width: 360px; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 0 22px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 46px;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--navy-900); }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 46% 40%;
  transform-origin: 50% 30%;
  animation: kenburns 30s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translate3d(-1%, 0.5%, 0); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 20, 41, 0.45) 0%, rgba(8, 20, 41, 0.05) 13%, rgba(8, 20, 41, 0.22) 24%, rgba(8, 20, 41, 0.74) 40%, rgba(8, 20, 41, 0.9) 62%, var(--navy-800) 100%);
}
.hero .hero-glow { opacity: 0.25; }
.hero-glow {
  position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 10% 80%, rgba(216, 36, 59, 0.45), transparent 70%),
    radial-gradient(45% 40% at 95% 20%, rgba(47, 99, 214, 0.5), transparent 70%);
  mix-blend-mode: screen;
  animation: glowshift 14s ease-in-out infinite alternate;
}
@keyframes glowshift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.85; }
  50% { opacity: 1; }
  100% { transform: translate3d(4%, -3%, 0) rotate(6deg); opacity: 0.9; }
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero-content { position: relative; max-width: 720px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(8, 20, 41, 0.6); border: 1px solid rgba(169, 198, 245, 0.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

.hero h1 { font-size: clamp(38px, 13.2vw, 104px); margin: 20px 0 18px; filter: drop-shadow(0 2px 16px rgba(5, 13, 28, 0.5)); }
.display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.display .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.display .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }
.hero-sub { font-size: 18.5px; color: #d7e0ef; max-width: 540px; margin: 0 0 28px; }
.hero-sub strong { color: #fff; }

.fade-in { opacity: 0; transform: translateY(14px); animation: fadeUp 0.9s var(--ease) forwards; }
.fade-in.d1 { animation-delay: 0.35s; }
.fade-in.d2 { animation-delay: 0.5s; }
.fade-in.d3 { animation-delay: 0.65s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Trust badges */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, 0.96); color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease);
}
.trust-badge:hover { transform: translateY(-2px); }
.trust-badge .g-logo { width: 28px; height: 28px; flex: none; }
@media (max-width: 420px) {
  .trust-row { flex-wrap: nowrap; gap: 8px; }
  .trust-badge { gap: 9px; padding: 9px 12px 9px 10px; border-radius: 14px; }
  .trust-badge .g-logo, .trust-badge .yelp-mark { width: 24px; height: 24px; }
  .trust-badge .t-top { font-size: 16px; }
  .trust-badge .stars svg { width: 12px; height: 12px; }
  .trust-badge .t-bottom { font-size: 11.5px; }
}
.trust-badge .t-top { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 18px; line-height: 1; }
.trust-badge .t-bottom { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); margin-top: 3px; }
.trust-badge.alt { background: rgba(8, 20, 41, 0.6); color: #fff; box-shadow: inset 0 0 0 1px rgba(169, 198, 245, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.trust-badge.alt .t-bottom { color: var(--muted); }
.yelp-mark { width: 28px; height: 28px; border-radius: 8px; background: #d32323; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }

.scroll-cue {
  position: absolute; right: 22px; bottom: 26px; z-index: 1;
  width: 28px; height: 46px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.4);
  display: none;
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 900px) {
  .hero { padding-bottom: 60px; }
  .hero-content { max-width: none; }
  .hero h1 { font-size: clamp(54px, 5vw, 76px); max-width: 7.5em; margin: 18px 0 16px; }
  .hero-sub { max-width: 500px; margin-bottom: 26px; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  .hero-actions .trust-row { margin-top: 0; }
  .hero-shade {
    background:
      radial-gradient(75% 85% at 0% 100%, rgba(8, 20, 41, 0.88) 0%, rgba(8, 20, 41, 0.6) 45%, rgba(8, 20, 41, 0) 80%),
      linear-gradient(180deg, rgba(8, 20, 41, 0.4) 0%, rgba(8, 20, 41, 0) 14%, rgba(8, 20, 41, 0) 46%, rgba(8, 20, 41, 0.55) 72%, var(--navy-800) 100%);
  }
  .hero-bg img { object-position: 30% 42%; }
  .scroll-cue { display: block; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 22%, #5a2a6b 50%, var(--blue) 78%, var(--blue-deep));
  border-block: 1px solid rgba(255, 255, 255, 0.14);
  padding: 15px 0;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 50px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--red-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--blue-deep), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-stretch: 120%; font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.marquee-item::after { content: "\2726"; color: rgba(255, 255, 255, 0.75); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section-head { margin-bottom: 36px; }
.section-light { background: var(--ice-50); color: var(--ink); }
.section-light .section-lede { color: var(--ink-muted); }
.section-light .eyebrow { color: var(--blue); }
.section-deep { background: var(--navy-900); }
@media (min-width: 900px) { .section { padding: 116px 0; } .section-head { margin-bottom: 52px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: var(--d, 0s); }
@media (min-width: 900px) {
  .reveal.from-left { transform: translateX(-30px); }
  .reveal.from-right { transform: translateX(30px); }
}
.reveal.zoom { transform: scale(0.94); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Services: list on the left, photo on the right that follows the active row ---------- */
.svc { display: grid; gap: 8px; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { position: relative; border-bottom: 1px solid var(--line); }
.svc-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--ice) 60%, var(--blue-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.svc-row.is-active::after { transform: scaleX(1); }
.svc-link {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: start; column-gap: 14px;
  padding: 22px 0; text-decoration: none; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.svc-link:focus-visible { outline-offset: 6px; border-radius: 6px; }
.svc-num {
  padding-top: 5px; font-stretch: 120%; font-weight: 800; font-size: 13px; letter-spacing: 0.08em;
  color: rgba(165, 179, 204, 0.7); transition: color 0.35s;
}
.svc-title {
  display: block; font-stretch: 115%; font-weight: 850; font-size: clamp(18px, 4.6vw, 23px);
  line-height: 1.15; letter-spacing: 0.005em; text-transform: uppercase;
  color: rgba(243, 246, 251, 0.62); transition: color 0.35s;
}
.svc-desc { display: block; margin-top: 6px; max-width: 460px; font-size: 15.5px; color: var(--muted); opacity: 0.72; transition: opacity 0.35s; }
.svc-go {
  align-self: center; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ice);
  box-shadow: inset 0 0 0 1.5px rgba(169, 198, 245, 0.22);
  transition: background-color 0.35s, color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.svc-go svg { width: 18px; height: 18px; }
.svc-row.is-active .svc-num { color: var(--red-hot); }
.svc-row.is-active .svc-title { color: #fff; }
.svc-row.is-active .svc-desc { opacity: 1; }
.svc-row.is-active .svc-go {
  color: #fff; box-shadow: 0 10px 22px -10px rgba(216, 36, 59, 0.9);
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
}
@media (hover: hover) { .svc-link:hover .svc-go { transform: translateX(4px); } }

.svc-feature {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--navy-700);
  box-shadow: var(--shadow);
}
.svc-media { position: absolute; inset: 0; }
.svc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease);
}
.svc-media img.is-on { opacity: 1; transform: none; }
.svc-cap {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 70px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 28, 0.88));
  font-weight: 800; font-size: 16px; line-height: 1.25;
}
.svc-cap-text { display: grid; gap: 4px; min-width: 0; }
.svc-cap-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }
.svc-count { flex: none; font-stretch: 120%; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.svc-count b { color: #fff; font-weight: 900; }
.svc-cap.is-swapping .svc-cap-text { animation: capIn 0.5s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Phones & tablets: photo sticks under the header and swaps as rows scroll past */
@media (max-width: 899px) {
  #services { padding-bottom: calc(84px + 110px); }
  .svc-list { margin-bottom: -110px; }
  .svc-link { grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; padding: 18px 0; }
  .svc-desc { font-size: 15px; margin-top: 4px; }
  .svc-go { width: 40px; height: 40px; }
  .svc-aside {
    position: sticky; top: var(--header-h); z-index: 2;
    margin: 0 -20px; padding: 10px 20px 12px;
    background: var(--navy-800);
  }
  .svc-aside::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; pointer-events: none;
    background: linear-gradient(180deg, var(--navy-800), rgba(11, 25, 51, 0));
  }
  .svc-feature { aspect-ratio: 16 / 10; max-height: 36vh; max-height: 36svh; width: 100%; }
  .svc-cap { padding: 50px 16px 14px; font-size: 15px; }
}

/* Desktop: list left, sticky photo right, hover or focus a row to swap the photo */
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .svc-list { grid-column: 1; grid-row: 1; }
  .svc-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 28px); }
  .svc-feature { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 56px); width: 100%; }
  .svc-link { grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 18px; padding: 22px 0; }
  .svc-cap { padding: 90px 26px 24px; font-size: 18px; }
}
@media (min-width: 1100px) { .svc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; } }

/* ---------- Brands ---------- */
.brands-wrap { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .brands-wrap { grid-template-columns: 0.95fr 1.05fr; gap: 64px; } }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-tile {
  position: relative; overflow: hidden;
  height: 104px; border-radius: var(--radius); background: #fff;
  display: grid; place-items: center; padding: 18px 22px;
  border: 1px solid #dfe7f4;
  box-shadow: 0 10px 26px -18px rgba(11, 25, 51, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand-tile img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(0.15); transition: filter 0.3s, transform 0.35s var(--ease); }
.brand-tile img.tall { max-height: 60px; }
.brand-tile.more { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); border-color: transparent; color: #fff; text-align: center; }
.brand-tile.more strong { display: block; font-stretch: 115%; font-weight: 900; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.brand-tile.more span { font-size: 13px; color: var(--ice); }
@media (hover: hover) {
  .brand-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -20px rgba(11, 25, 51, 0.55); }
  .brand-tile:hover img { filter: none; transform: scale(1.05); }
}
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Recent work ---------- */
.work-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 18px; margin: 0 -20px;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.work-strip::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .work-strip { grid-auto-columns: 42%; } }
@media (min-width: 1000px) { .work-strip { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; padding-inline: 0; margin: 0; scroll-padding-inline: 0; } }
.work-card {
  position: relative; scroll-snap-align: start; margin: 0;
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-700);
  box-shadow: var(--shadow);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 13, 28, 0.92));
  font-weight: 800; font-size: 15.5px; line-height: 1.25;
}
.work-card figcaption small { display: block; margin-top: 4px; font-weight: 600; font-size: 12.5px; color: var(--ice); letter-spacing: 0.06em; text-transform: uppercase; }
@media (hover: hover) { .work-card:hover img { transform: scale(1.06); } }

.strip-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.strip-progress { flex: 1; height: 3px; border-radius: 3px; background: rgba(169, 198, 245, 0.15); overflow: hidden; }
.strip-progress span { display: block; height: 100%; width: 25%; border-radius: 3px; background: linear-gradient(90deg, var(--red-hot), var(--blue-bright)); transition: transform 0.2s linear; transform-origin: left; }
.section-light .strip-progress { background: rgba(11, 25, 51, 0.1); }
.arrow-btns { display: flex; gap: 8px; }
.arrow-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(169, 198, 245, 0.3);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.arrow-btn:active { transform: scale(0.92); }
.arrow-btn svg { width: 18px; height: 18px; }
.section-light .arrow-btn { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px #d4def0; }
@media (hover: hover) { .arrow-btn:hover { background: rgba(255, 255, 255, 0.16); } .section-light .arrow-btn:hover { background: var(--ice-100); } }

/* ---------- Mid CTA ---------- */
.difference { padding: 30px 0 84px; background: var(--navy-900); }
@media (min-width: 900px) { .difference { padding: 40px 0 116px; } }
.diff-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 34px; padding: 40px 24px 28px;
  background: linear-gradient(135deg, #2a0d1a 0%, var(--navy-800) 45%, #0d2456 100%);
  border: 1px solid rgba(169, 198, 245, 0.2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.diff-card::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -180px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 79, 0.55), transparent 65%);
  animation: floaty 9s ease-in-out infinite alternate;
}
.diff-card::after {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -200px; top: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 132, 255, 0.55), transparent 65%);
  animation: floaty 11s ease-in-out infinite alternate-reverse;
}
@keyframes floaty { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, -30px, 0); } }
.diff-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .diff-card { padding: 64px 60px; } .diff-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 56px; } }
.urgent-hook {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(255, 59, 79, 0.16); color: #ffc0c7; border: 1px solid rgba(255, 59, 79, 0.35);
  font-weight: 800; font-size: 14px;
}
.urgent-hook svg { width: 16px; height: 16px; }
.diff-card h2 { margin: 0 0 14px; font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 7.6vw, 54px); line-height: 1.02; }
.diff-card .big-hook { font-size: clamp(22px, 5.4vw, 30px); font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.2; }
.diff-card .big-hook em { font-style: normal; color: var(--ice); }
.diff-card p { color: #cdd7ea; margin: 0; }
.diff-points { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
.diff-points li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(169, 198, 245, 0.14);
  font-weight: 700;
}
.diff-points b { flex: none; white-space: nowrap; font-stretch: 120%; font-weight: 900; font-size: 22px; min-width: 84px; color: #fff; }
.diff-points li:nth-child(1) b { color: #ff8c98; }
.diff-points li:nth-child(2) b { color: var(--ice); }
.diff-actions { display: grid; gap: 12px; }

/* ---------- Reviews ---------- */
.reviews-top { display: grid; gap: 22px; margin-bottom: 30px; }
@media (min-width: 900px) { .reviews-top { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 44px; } }
.score-cards { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 899px) {
  .score-cards { display: grid; grid-template-columns: 1fr 1fr; }
  .score-card { padding: 12px 14px; gap: 10px; }
  .score-card .num { font-size: 26px; }
  .score-card .meta { font-size: 12px; }
}
.score-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; border: 1px solid #dfe7f4; text-decoration: none; color: var(--ink);
  transition: transform 0.25s var(--ease);
}
.score-card:hover { transform: translateY(-2px); }
.score-card .num { font-stretch: 120%; font-weight: 900; font-size: 30px; line-height: 1; }
.score-card .meta { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.reviews-strip { grid-auto-columns: 86%; }
@media (min-width: 640px) { .reviews-strip { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .reviews-strip { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
.review-card {
  scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column;
  padding: 24px 22px 20px; border-radius: var(--radius-lg);
  background: #fff; color: var(--ink);
  border: 1px solid #dfe7f4;
  box-shadow: 0 18px 40px -30px rgba(11, 25, 51, 0.6);
}
.review-card .stars svg { width: 18px; height: 18px; }
.review-card blockquote { margin: 14px 0 20px; font-size: 16.5px; line-height: 1.55; color: #22304d; }
.review-card blockquote::before { content: "\201C"; display: block; height: 30px; font-size: 64px; line-height: 0.9; font-weight: 900; color: var(--red); opacity: 0.85; }
.review-card footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #e8eef8; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy-700));
}
.review-card:nth-child(3n + 2) .avatar { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.review-card:nth-child(3n) .avatar { background: linear-gradient(135deg, #5a2a6b, var(--blue-deep)); }
.review-card .who { display: block; font-weight: 800; line-height: 1.2; }
.review-card .where { display: block; font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.review-card .src { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #d32323; background: #fdeaea; padding: 5px 8px; border-radius: 8px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 30px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 30px); } }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s; }
.faq-item.is-open { background: rgba(255, 255, 255, 0.07); border-color: rgba(169, 198, 245, 0.3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px; background: none; border: 0; color: #fff; cursor: pointer; text-align: left;
  font-size: 17.5px; font-weight: 800; line-height: 1.3;
}
.faq-icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(169, 198, 245, 0.12); transition: background-color 0.3s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform 0.4s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--red); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 20px 22px; color: var(--muted); }

/* ---------- Closing / Find us ---------- */
.closing { position: relative; overflow: hidden; padding: 84px 0 0; background: radial-gradient(90% 60% at 50% 0%, rgba(47, 99, 214, 0.22), transparent 70%), var(--navy-950); }
.closing-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.closing-head .section-lede { margin-inline: auto; }
.closing-head .cta-pair { margin-top: 28px; }
@media (min-width: 640px) { .closing-head .cta-pair { justify-content: center; } }
.closing-emblem { width: 120px; margin: 0 auto 18px; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 16px 30px rgba(47, 99, 214, 0.35)); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.find-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .find-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .find-grid .map-card { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .find-grid { grid-template-columns: 1fr 1fr 1.3fr; } .find-grid .map-card { grid-column: 3; grid-row: 1 / span 2; } .find-grid .areas-card { grid-column: 1 / span 2; } }
.info-card { padding: 24px 22px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid var(--line); }
.info-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-stretch: 115%; font-weight: 850; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice); }
.info-card h3 svg { width: 20px; height: 20px; color: var(--red-hot); }
.info-card .big { color: #fff; font-stretch: 112%; font-weight: 900; font-size: 26px; line-height: 1.1; margin: 0 0 6px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a.big { text-decoration: none; display: inline-block; padding: 6px 0; }
.hours-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 15px; }
.hours-list li { display: flex; justify-content: space-between; color: var(--muted); border-bottom: 1px dashed rgba(169, 198, 245, 0.14); padding-bottom: 6px; }
.hours-list li b { color: #fff; font-weight: 700; }
.hours-list li.today b, .hours-list li.today span { color: #3ddc84; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.area-chips li { padding: 8px 13px; border-radius: 999px; background: rgba(169, 198, 245, 0.1); border: 1px solid rgba(169, 198, 245, 0.18); font-weight: 700; font-size: 14.5px; }
.area-chips li.home { background: linear-gradient(135deg, var(--red), var(--red-deep)); border-color: transparent; }
.map-card { padding: 0; overflow: hidden; min-height: 300px; position: relative; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(185deg) saturate(0.7) brightness(0.95) contrast(0.9); }
.map-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 10px 14px; border-radius: 14px; background: rgba(8, 20, 41, 0.92); border: 1px solid var(--line);
  font-weight: 800; font-size: 14px;
}
.map-label span { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); }
.final-ctas { display: grid; gap: 12px; margin: 28px 0 0; }
@media (min-width: 640px) { .final-ctas { grid-template-columns: 1fr 1fr; max-width: 640px; margin-inline: auto; } }

.site-footer { margin-top: 70px; padding: 34px 0 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer-inner img { width: 150px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; text-decoration: none; font-weight: 700; color: #dbe4f3; }
.footer-links a:hover { color: #fff; }
.footer-small { font-size: 12.5px; opacity: 0.8; }
@media (min-width: 900px) { .site-footer { padding-bottom: 40px; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(8, 20, 41, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(169, 198, 245, 0.2);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.8);
  transform: translateY(140%); transition: transform 0.45s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { min-height: 50px; font-size: 16px; padding: 0 14px; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Schedule page ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 34px) 0 34px;
  background: var(--navy-900);
}
.page-hero .hero-glow { opacity: 0.8; }
.page-hero .hero-canvas { opacity: 0.8; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ice); font-weight: 700; text-decoration: none; font-size: 15px; }
.back-link svg { width: 16px; height: 16px; }
.page-hero h1 { font-size: clamp(40px, 11vw, 76px); margin: 18px 0 12px; }
.page-hero p { color: #d2dcec; margin: 0; max-width: 560px; font-size: 18px; }

.schedule-wrap { display: grid; gap: 20px; padding: 10px 0 90px; }
@media (min-width: 980px) { .schedule-wrap { grid-template-columns: 1.35fr 0.65fr; gap: 28px; align-items: start; padding-top: 24px; } .schedule-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-card {
  border-radius: 30px; padding: 26px 20px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
@media (min-width: 640px) { .form-card { padding: 38px 36px; } }
.form-step { border: 0; padding: 0; margin: 0 0 28px; }
.form-step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-stretch: 112%; font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--red-hot), var(--red-deep)); font-stretch: 100%; }
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .chip-grid { grid-template-columns: repeat(3, 1fr); } }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 14px 12px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid #d6e0f0; background: var(--ice-50);
  font-weight: 800; font-size: 14.5px; line-height: 1.2;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.chip span svg { width: 22px; height: 22px; color: var(--blue); }
.chip.hot span svg { color: var(--red); }
.chip input:checked + span { border-color: var(--blue); background: #eaf1ff; box-shadow: 0 0 0 3px rgba(47, 99, 214, 0.16); transform: translateY(-1px); }
.chip.hot input:checked + span { border-color: var(--red); background: #fff0f2; box-shadow: 0 0 0 3px rgba(216, 36, 59, 0.14); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: var(--ice-100); }
.segmented .chip span { border: 0; background: transparent; align-items: center; text-align: center; justify-content: center; padding: 12px 6px; font-size: 13.5px; }
.segmented .chip input:checked + span { background: #fff; box-shadow: 0 6px 16px -8px rgba(11, 25, 51, 0.5); color: var(--ink); }
.segmented .chip.hot input:checked + span { background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(216, 36, 59, 0.8); }
.field-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: 14.5px; }
.field label .opt { font-weight: 600; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid #d6e0f0; background: #fff; color: var(--ink);
  font: inherit; font-size: 16.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1933' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  padding-right: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 99, 214, 0.15); }
.field.has-error input, .field.has-error select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(216, 36, 59, 0.12); }
.field-error { display: none; color: var(--red); font-size: 13.5px; font-weight: 700; }
.field.has-error .field-error { display: block; }
.form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-muted); text-align: center; }
.hidden-field { display: none; }
.submit-btn[disabled] { opacity: 0.7; pointer-events: none; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; display: none; }
.is-loading .spinner { display: block; }
.is-loading .btn-label-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-panel { display: none; text-align: center; padding: 20px 4px 6px; }
.form-card.is-done form { display: none; }
.form-card.is-done .success-panel { display: block; animation: fadeUp 0.7s var(--ease) both; }
.success-badge {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep)); color: #fff;
  box-shadow: 0 20px 40px -16px rgba(47, 99, 214, 0.8);
}
.success-badge svg { width: 40px; height: 40px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-panel h2 { font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: 30px; margin: 0 0 8px; }
.success-panel p { color: var(--ink-muted); margin: 0 auto 22px; max-width: 420px; }
.success-panel .cta-pair { justify-content: center; }

.aside-card { padding: 24px 22px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border: 1px solid var(--line); margin-bottom: 14px; }
.aside-card h3 { margin: 0 0 6px; font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: 18px; }
.aside-card p { margin: 0 0 16px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: s; font-weight: 600; color: #dbe4f3; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgba(169, 198, 245, 0.12); color: var(--ice); }
.steps li b { display: block; color: #fff; }
.mini-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-trust span { padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(169, 198, 245, 0.1); border: 1px solid rgba(169, 198, 245, 0.16); }

/* ---------- Focus & motion ---------- */
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.btn:focus-visible, .icon-btn:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .display .line > span { transform: none; }
  .fade-in { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

.nowrap { white-space: nowrap; }
