/* ==========================================================================
   Panda Heating and Cooling — design system
   Palette is pulled straight from the logo: black bear, red + blue compass.
   ========================================================================== */

:root {
  --ink:        #0a0e14;
  --ink-2:      #141a23;
  --ink-3:      #1e2732;
  --slate:      #4c5866;
  --slate-2:    #6b7787;
  --line:       #e2e8f0;
  --mist:       #f4f7fa;
  --mist-2:     #eaeff5;
  --paper:      #ffffff;

  --red:        #d21f3c;
  --red-600:    #b3162f;
  --red-700:    #8d1024;
  --red-soft:   #fdeef1;

  --blue:       #1d3fa6;
  --blue-600:   #17338a;
  --blue-700:   #102568;
  --blue-soft:  #eef2fc;

  --amber:      #f5a623;

  --shadow-s: 0 1px 2px rgba(10,14,20,.06), 0 2px 6px rgba(10,14,20,.05);
  --shadow-m: 0 2px 4px rgba(10,14,20,.05), 0 12px 28px -8px rgba(10,14,20,.14);
  --shadow-l: 0 4px 8px rgba(10,14,20,.06), 0 30px 60px -20px rgba(10,14,20,.28);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-full: 999px;

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);

  --font-display: "Outfit", "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Stops the off-screen skip link and the parked mobile nav drawer from making a
   horizontal scrollbar. This MUST sit on <html>, not <body>: with it on body
   and html left visible, body can become its own scroll container and the page
   then intermittently refuses to scroll vertically. Reported twice. */
html { overflow-x: hidden; }

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.65rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.06rem; }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-s) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.sec { padding-block: clamp(3.2rem, 7vw, 6rem); }
.sec-tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.sec-mist { background: var(--mist); }
.sec-ink { background: var(--ink); color: #c9d2de; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.center { text-align: center; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.sec-ink .eyebrow { color: #ff7d8f; }
.sec-ink .eyebrow::before { background: #ff7d8f; }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--slate); }
.sec-ink .lede { color: #a9b4c2; }
.sec-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.sec-head.center { margin-inline: auto; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.6rem; border-radius: var(--r-full); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red   { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(210,31,60,.65); }
.btn-red:hover   { background: var(--red-600); color: #fff; box-shadow: 0 14px 28px -10px rgba(210,31,60,.7); }
.btn-blue  { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(29,63,166,.6); }
.btn-blue:hover  { background: var(--blue-600); color: #fff; }
.btn-ink   { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-glass {
  background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ------------------------------------------------------------- header --- */
.topbar {
  background: var(--ink); color: #98a5b5; font-size: .82rem; letter-spacing: .01em;
}
.topbar svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { color: #cfd8e3; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-facts { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-facts span { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 800px) { .topbar-facts span:nth-child(n+3) { display: none; } }
@media (max-width: 560px) { .topbar-facts span:nth-child(n+2) { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 400; font-size: 1.6rem;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-sub {
  font-family: var(--font-display); font-size: .58rem; font-weight: 500;
  letter-spacing: .19em; margin-top: .28rem; white-space: nowrap;
}
.brand-sub .h { color: var(--red); }
.brand-sub .a { color: var(--ink); }
.brand-sub .c { color: var(--blue); }
@media (max-width: 400px) { .brand-name { font-size: 1.35rem; } .brand-sub { font-size: .5rem; letter-spacing: .15em; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav > li { list-style: none; position: relative; margin: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: var(--ink-2); text-decoration: none; padding: .6rem .72rem; border-radius: var(--r-s);
  transition: background-color .16s ease, color .16s ease;
  /* The dropdown parents are <button> — they toggle a submenu rather than
     navigate. Without these they render with the UA's grey fill and outset
     border, which looks broken next to the <a> items beside them. */
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; cursor: pointer; margin: 0; line-height: inherit;
}
.nav-link:hover, .nav > li:hover > .nav-link, .nav-link[aria-current="page"] { background: var(--mist); color: var(--red); }
.nav-link svg { width: 11px; height: 11px; opacity: .55; transition: transform .2s ease; }
.nav > li:hover .nav-link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px);
  min-width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-m); box-shadow: var(--shadow-l); padding: .5rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav > li:hover .mega, .nav > li:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a {
  display: block; padding: .55rem .75rem; border-radius: var(--r-s);
  text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500;
}
.mega a:hover { background: var(--mist); color: var(--red); }
.mega a small { display: block; font-weight: 400; font-size: .78rem; color: var(--slate-2); margin-top: .1rem; }
.mega-2 { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }

.header-cta { display: flex; align-items: center; gap: .55rem; }
.phone-link {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  padding: .5rem .7rem; border-radius: var(--r-full);
}
.phone-link:hover { color: var(--red); background: var(--red-soft); }
.phone-link svg { width: 17px; height: 17px; color: var(--red); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-s);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  /* The drawer is position:fixed, so the header must not create a containing
     block for it — that means no backdrop-filter below this breakpoint. */
  .topbar { display: none; }
  .site-header { background: #fff; backdrop-filter: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(400px, 88vw);
    background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow-l);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1rem 6rem;
    overflow-y: auto; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  }
  .nav[data-open="true"] { transform: translateX(0); }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem .8rem; font-size: 1.02rem; }
  .mega {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 .5rem .8rem; padding: 0 0 0 .4rem; display: none;
  }
  .mega-2 { grid-template-columns: 1fr; }
  .nav > li[data-open="true"] .mega { display: block; }
  .nav > li:hover .nav-link svg { transform: none; }
  .nav > li[data-open="true"] .nav-link svg { transform: rotate(180deg); }
}
@media (max-width: 640px) { .phone-link span { display: none; } }

/* --------------------------------------------------------------- hero --- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10,14,20,.94) 0%, rgba(10,14,20,.82) 38%, rgba(10,14,20,.42) 68%, rgba(10,14,20,.55) 100%),
    linear-gradient(to top, rgba(10,14,20,.85), transparent 45%);
}
.hero-inner { padding-block: clamp(3.4rem, 9vw, 7.5rem); max-width: 46rem; }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 5.6vw, 4rem); }
.hero h1 .hl {
  background: linear-gradient(100deg, #ff5a72, #ff8fa1 45%, #6f92ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: #d7dee8; max-width: 40rem; font-size: clamp(1.06rem, 1.7vw, 1.25rem); }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); border-radius: var(--r-full);
  padding: .42rem .95rem .42rem .5rem; font-size: .84rem; font-weight: 500; color: #eef2f7;
}
.hero-badge b { font-weight: 700; color: #fff; }
.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #37d67a; margin-left: .35rem;
  box-shadow: 0 0 0 0 rgba(55,214,122,.75); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(55,214,122,0); } 100% { box-shadow: 0 0 0 0 rgba(55,214,122,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 2rem;
  padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16);
}
.hero-trust li { list-style: none; margin: 0; display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #cbd5e1; }
.hero-trust svg { width: 16px; height: 16px; color: #37d67a; flex: none; }

.hero-strip { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); }
.hero-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 1.4rem 0; list-style: none; }
.hero-strip li { margin: 0; text-align: center; }
.hero-strip b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; font-weight: 700; letter-spacing: -.02em; }
.hero-strip span { font-size: .8rem; color: #8fa0b3; }
@media (max-width: 700px) { .hero-strip ul { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }

/* -------------------------------------------------------------- cards --- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #cbd5e1; }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .45rem; font-size: 1.18rem; }
.card-body p { color: var(--slate); font-size: .95rem; margin-bottom: 1.1rem; }
.card-link {
  margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: rgba(10,14,20,.78); backdrop-filter: blur(8px); color: #fff;
  font-family: var(--font-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--r-full);
}
.tag-red { background: var(--red); }
.tag-blue { background: var(--blue); }

/* feature cards (why us / process) */
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.6rem; height: 100%; }
.feat-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1rem;
}
.feat-ico svg { width: 23px; height: 23px; }
.feat-ico.blue { background: var(--blue-soft); color: var(--blue); }
.feat h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feat p { color: var(--slate); font-size: .95rem; margin: 0; }

.step { position: relative; padding-left: 3.6rem; }
.step-n {
  position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { color: var(--slate); font-size: .95rem; margin: 0; }

/* ------------------------------------------------------ before / after --- */
.ba {
  position: relative; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-m);
  user-select: none; touch-action: pan-y; cursor: ew-resize; aspect-ratio: 6 / 5; background: var(--ink);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The "after" layer. It MUST be positioned: its only child is an absolutely
   positioned <img>, so a static wrapper collapses to 731x0 and the clip-path
   then clips the after image away completely — leaving the before image
   showing on both sides of the handle, which is exactly how this shipped. */
.ba-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(10,14,20,.2); z-index: 3; pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-m);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E"),
                    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: 15px 15px, 15px 15px;
  background-position: 22% 50%, 78% 50%;
}
.ba-tag {
  position: absolute; bottom: .9rem; z-index: 4; background: rgba(10,14,20,.8); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .35rem .75rem; border-radius: var(--r-full); backdrop-filter: blur(6px);
}
.ba-tag.l { left: .9rem; } .ba-tag.r { right: .9rem; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 5; }

/* ------------------------------------------------------------ gallery --- */
.gal { columns: 3; column-gap: 1rem; }
@media (max-width: 900px) { .gal { columns: 2; } }
@media (max-width: 520px) { .gal { columns: 1; } }
.gal figure {
  margin: 0 0 1rem; break-inside: avoid; position: relative; border-radius: var(--r-m);
  overflow: hidden; background: var(--mist-2); cursor: zoom-in;
}
.gal img { width: 100%; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.gal figure:hover img { transform: scale(1.045); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .85rem;
  background: linear-gradient(to top, rgba(10,14,20,.88), transparent);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,9,13,.94);
  display: none; place-items: center; padding: 2rem 1rem; backdrop-filter: blur(6px);
}
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 84vh; object-fit: contain; border-radius: var(--r-s); }
.lightbox figcaption { color: #cbd5e1; text-align: center; margin-top: 1rem; font-size: .95rem; max-width: 60ch; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: #fff; color: var(--ink); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------- videos --- */
.vid {
  position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--ink);
  aspect-ratio: 16 / 10;
}
.vid video, .vid img { width: 100%; height: 100%; object-fit: cover; }
.vid video { display: none; }
.vid[data-playing="true"] video { display: block; }
.vid[data-playing="true"] img, .vid[data-playing="true"] .vid-ui { display: none; }
.vid-ui {
  position: absolute; inset: 0; display: grid; align-content: end; gap: .3rem; padding: 1.3rem;
  background: linear-gradient(to top, rgba(10,14,20,.9) 0%, rgba(10,14,20,.25) 55%, rgba(10,14,20,.35) 100%);
  color: #fff; cursor: pointer; border: 0; text-align: left; width: 100%; font: inherit;
}
.vid-ui h3 { color: #fff; font-size: 1.12rem; margin: 0; }
.vid-ui p { color: #c3cdd9; font-size: .9rem; margin: 0; }
.vid-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: grid; place-items: center; transition: transform .22s ease, background-color .22s ease;
}
.vid-ui:hover .vid-play { transform: translate(-50%, -50%) scale(1.09); background: #fff; }
.vid-play svg { width: 24px; height: 24px; color: var(--red); margin-left: 3px; }

/* ------------------------------------------------------------ reviews --- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.7rem; height: 100%; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; margin-bottom: .9rem; color: var(--amber); }
.stars svg { width: 17px; height: 17px; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1rem; color: var(--ink-2); line-height: 1.65; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex: none;
}
.quote cite { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--ink); display: block; font-size: .95rem; }
.quote small { color: var(--slate-2); font-size: .84rem; }

/* --------------------------------------------------------------- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 13px; height: 13px;
  margin-top: -6px; transition: transform .25s ease;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d21f3c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 3rem 1.4rem 0; color: var(--slate); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- cities --- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.city-chip {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .85rem 1.1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-s); text-decoration: none; color: var(--ink-2);
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.city-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.city-chip svg { width: 14px; height: 14px; opacity: .45; }

/* --------------------------------------------------------------- club --- */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--red); box-shadow: var(--shadow-l); }
.plan-tag {
  position: absolute; top: -.75rem; left: 1.7rem; background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .8rem; border-radius: var(--r-full);
}
.plan h3 { margin-bottom: .2rem; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.plan-price span { font-size: .95rem; font-weight: 500; color: var(--slate-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; }
.plan li { position: relative; padding-left: 1.7rem; font-size: .95rem; color: var(--slate); margin-bottom: .6rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 15px; height: 15px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317338a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.plan .btn { margin-top: auto; }

/* --------------------------------------------------------------- prose -- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul li::marker { color: var(--red); }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .1rem 1.6rem; }
.checks li { position: relative; padding: .4rem 0 .4rem 1.9rem; margin: 0; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d21f3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ pagehead -- */
.pagehead { background: var(--ink); color: #c9d2de; position: relative; isolation: isolate; overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28;
  background: radial-gradient(60rem 30rem at 88% -10%, rgba(29,63,166,.9), transparent 65%),
              radial-gradient(46rem 26rem at 10% 110%, rgba(210,31,60,.75), transparent 60%);
}
.pagehead .wrap { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.pagehead h1 { color: #fff; margin-bottom: .5rem; }
.pagehead .lede { color: #b8c3d1; max-width: 58ch; }

.crumbs { font-size: .85rem; color: #8a97a7; margin-bottom: 1.1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: #55606f; }
.crumbs a { color: #b8c3d1; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------- CTA ---- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue-700); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50rem 28rem at 82% 0%, rgba(210,31,60,.55), transparent 62%),
              linear-gradient(120deg, #102568, #1d3fa6 62%, #2a54c9);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd8ee; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.cta-inner > div:first-child { max-width: 42rem; }

/* -------------------------------------------------------------- forms --- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-m); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .38rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-s);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,63,166,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .84rem; color: var(--slate-2); margin: .9rem 0 0; }

/* ------------------------------------------------------------ contact --- */
.nap { list-style: none; padding: 0; margin: 0; }
.nap li { display: flex; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.nap li:last-child { border-bottom: 0; }
.nap svg { width: 19px; height: 19px; color: var(--red); flex: none; margin-top: .22rem; }
.nap b { display: block; font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-2); font-weight: 600; }
.nap a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nap a:hover { color: var(--red); }

.map-embed { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------- footer --- */
.site-footer { background: var(--ink); color: #96a3b3; font-size: .93rem; }
.site-footer a { color: #c3cdd9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4rem; padding-block: clamp(2.8rem, 6vw, 4.2rem); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .58rem; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub .a { color: #fff; }
.footer-brand .brand-sub .h { color: #ff6f83; }
.footer-brand .brand-sub .c { color: #7f9dff; }
.footer-brand .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; transition: background-color .18s ease, border-color .18s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between; font-size: .85rem; color: #74818f;
}
.footer-cities { padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; line-height: 2; }
.footer-cities a { color: #8b98a8; }

/* --------------------------------------------------------- mobile bar --- */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 95; display: none;
  background: rgba(10,14,20,.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.12); padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.callbar .btn { flex: 1; padding: .8rem 1rem; font-size: .95rem; }
@media (max-width: 780px) { .callbar { display: flex; } body { padding-bottom: 70px; } }

/* ------------------------------------------------------------ reveals --- */
/* Reveal-on-scroll. These start invisible and site.js adds .in.
   The html.js guard means that if the stylesheet loads but the script never
   does — blocked, errored, or just slow — the content still paints instead of
   leaving a blank page. site.js sets the class on <html> as its first act. */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .city-chip:hover { transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ------------------------------------------------------------ helpers --- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split:has(.svc-aside), .split-top { align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .svc-aside { position: static; } }
.rounded { border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-m); }
.muted { color: var(--slate); }
.small { font-size: .88rem; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--r-full); padding: .4rem .85rem;
  font-size: .85rem; font-weight: 500; color: var(--slate);
}
.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;
}


/* ------------------------------------------------------- pricing table ---
   Prices are the reason people open /pricing/, so the figure is the loudest
   thing in the row. Wrapped in .table-wrap so a narrow phone scrolls the
   table rather than the whole page. */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--line); border-radius: 10px; }
table.pricing { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .95rem; }
table.pricing th, table.pricing td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.pricing thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; font-weight: 600; }
table.pricing tbody th { font-weight: 600; }
table.pricing tbody tr:last-child th, table.pricing tbody tr:last-child td { border-bottom: 0; }
table.pricing td.price { font-weight: 700; font-size: 1.12rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.card.special { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.special-price { font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.special-price .was { font-size: 1.05rem; font-weight: 500; opacity: .55; text-decoration: line-through; margin-left: .45rem; }

.form-fail { margin-top: .8rem; padding: .8rem 1rem; border-radius: 10px;
  background: rgba(214,40,57,.08); border: 1px solid rgba(214,40,57,.35);
  font-size: .9rem; line-height: 1.5; }
.form-fail[hidden] { display: none; }

/* Used where one paragraph on a page matters more than the rest — the warranty
   registration deadline, for instance, which costs five years if missed. */
.callout { margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: 12px;
  background: rgba(214,40,57,.06); border: 1px solid rgba(214,40,57,.28); }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Article body with no sidebar. Keeps the reading measure sane on a wide
   screen instead of running text the full width of the page. */
.prose-wide { max-width: 46rem; margin-inline: auto; }
