/* ==========================================================================
   Pilot Light Agency — Heat + Cool design system
   Dark theme. Flame orange + cool cyan. Archivo headings / Inter body.
   ========================================================================== */

:root {
  color-scheme: dark;
  /* Brand */
  --flame: #ff7a18;
  --flame-soft: #ff9440;
  --highlight: #ffc46b;
  --cyan: #38d6f0;
  --cyan-light: #7eeaff;
  --green: #35c47f;

  /* Surfaces */
  --bg: #060f1b;
  --bg-2: #0a1726;
  --panel: #0d2037;
  --panel-2: #112a46;
  --line: rgba(126, 234, 255, 0.10);
  --line-strong: rgba(126, 234, 255, 0.18);

  /* Text */
  --text: #eaf3fb;
  --muted: #9fb3c8;
  --muted-2: #6f8299;
  --on-flame: #0a1522;

  /* Effects */
  --glow-flame: 0 0 40px rgba(255, 122, 24, 0.35);
  --glow-cyan: 0 0 40px rgba(56, 214, 240, 0.28);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

/* Prevent CSS-grid blowout: grid items default to min-width:auto, so an image's
   intrinsic width can force a track wider than the screen. min-width:0 fixes it. */
.grid > *, .hero-grid > *, .media-wrap > *, .media-collage > *, .promise-grid > *,
.report-wrap > *, .price-layout > *, .fit-grid > *, .pricing-grid > *, .steps > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: rgba(255, 122, 24, 0.3); color: #fff; }

/* Ambient page background: dual radial glow (heat upper-left, cool lower-right) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(255, 122, 24, 0.14), transparent 60%),
    radial-gradient(1000px 700px at 100% 108%, rgba(56, 214, 240, 0.12), transparent 60%),
    linear-gradient(180deg, #071324 0%, var(--bg) 40%, #050c16 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-block; max-width: 100%; line-height: 1.4;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-light);
  padding: 7px 14px; border-radius: 100px;
  background: rgba(56, 214, 240, 0.07);
  border: 1px solid var(--line-strong);
}
.eyebrow .dot { display: inline-block; vertical-align: middle; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); margin-right: 9px; position: relative; top: -1px; }
@media (max-width: 480px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.07em; padding: 6px 12px; overflow-wrap: anywhere; }
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.text-flame { color: var(--highlight); }
.text-cyan { color: var(--cyan-light); }
.text-muted { color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }

/* Gradient heat→cool text */
.gradient-text {
  background: linear-gradient(100deg, var(--highlight) 0%, var(--flame) 35%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--flame);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent;
  position: relative; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(180deg, var(--flame-soft), var(--flame));
  color: var(--on-flame);
  box-shadow: 0 10px 30px -8px rgba(255, 122, 24, 0.5);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(255, 122, 24, 0.65); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--cyan); color: #fff; box-shadow: var(--glow-cyan); }
.btn--cyan {
  background: linear-gradient(180deg, var(--cyan-light), var(--cyan));
  color: var(--on-flame);
  box-shadow: 0 10px 30px -8px rgba(56, 214, 240, 0.5);
}
.btn--cyan:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(56, 214, 240, 0.65); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; color: var(--cyan-light); font-size: 0.95rem;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: #fff; gap: 11px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 15, 27, 0.85);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg { height: 26px; width: auto; filter: drop-shadow(0 0 10px rgba(255,122,24,0.5)); }
.brand .wordmark {
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.18em; color: #eaf3fb;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500; font-size: 0.95rem; color: var(--muted);
  padding: 9px 14px; border-radius: 10px; transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(255, 255, 255, 0.03); flex: 0 0 auto; }
.nav-lang a { font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 100px; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-lang a:hover { color: #fff; }
.nav-lang a.active { background: linear-gradient(180deg, var(--flame-soft), var(--flame)); color: var(--on-flame); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle span + span { margin-top: 6px; }

/* CTA buttons mirrored into the mobile menu are hidden on desktop */
.nav-cta-mobile { display: none; }

@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8, 20, 34, 0.97); backdrop-filter: blur(20px);
    padding: 16px var(--gutter) 24px; gap: 6px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links.open .nav-cta-mobile { display: inline-flex !important; justify-content: center; border-bottom: 0; margin-top: 8px; padding: 15px 22px; font-size: 1rem; }
  .nav-links.open .nav-cta-mobile:first-of-type { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.9; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 46%, transparent 40%, rgba(6,15,27,0.55) 100%),
              linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 880px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero-sub { max-width: 620px; margin-bottom: 18px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px;
  font-size: 0.92rem; color: var(--muted); font-weight: 500;
}
.hero-trust .pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.4s infinite; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 34px; }
.hero-meta .item { display: flex; align-items: center; gap: 11px; }
.hero-meta .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(56,214,240,0.08); border: 1px solid var(--line-strong); color: var(--cyan-light); flex: 0 0 auto; }
.hero-meta .ico svg { width: 19px; height: 19px; }
.hero-meta strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: #fff; }
.hero-meta span { font-size: 0.85rem; color: var(--muted-2); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid var(--line-strong); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 3px; background: var(--cyan-light); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(10,23,38,0.5); padding-block: 18px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--muted); letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "•"; color: var(--flame); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(130deg, rgba(255,122,24,0.4), transparent 40%, rgba(56,214,240,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }

/* ---------- Stat (the leak) cards ---------- */
.leak-card { display: flex; flex-direction: column; gap: 10px; }
.leak-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 4px; border: 1px solid var(--line-strong); }
.leak-ico svg { width: 23px; height: 23px; }
.leak-ico.heat { background: rgba(255, 122, 24, 0.1); color: var(--flame); }
.leak-ico.cool { background: rgba(56, 214, 240, 0.1); color: var(--cyan-light); }
.leak-card .stat { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; }
.leak-card .stat.heat { color: var(--highlight); }
.leak-card .stat.cool { color: var(--cyan-light); }
.leak-card .label { font-weight: 600; color: var(--text); font-size: 1.02rem; }
.leak-card .desc { color: var(--muted); font-size: 0.94rem; }
.leak-card .source { margin-top: auto; padding-top: 12px; font-size: 0.78rem; color: var(--muted-2); border-top: 1px solid var(--line); }

/* ---------- Catch Close Count ---------- */
.ccc-card { padding: 34px 30px; }
.ccc-media { position: relative; height: 162px; margin: -34px -30px 0; overflow: hidden; }
.ccc-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.38) brightness(0.68) contrast(1.06) saturate(0.88);
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.ccc-card:hover .ccc-media img { transform: scale(1.07); filter: grayscale(0.2) brightness(0.78) contrast(1.06) saturate(1); }
.ccc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 15, 27, 0.05) 25%, var(--panel) 100%); }
.ccc-media::before { content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; }
.ccc-card.catch .ccc-media::before { background: radial-gradient(110% 100% at 80% 0%, rgba(255, 122, 24, 0.34), transparent 60%); }
.ccc-card.close .ccc-media::before { background: radial-gradient(110% 100% at 80% 0%, rgba(56, 214, 240, 0.3), transparent 60%); }
.ccc-card.count .ccc-media::before { background: radial-gradient(110% 100% at 80% 0%, rgba(53, 196, 127, 0.3), transparent 60%); }
.ccc-media .ccc-badge { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 2; }
.ccc-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem;
  padding: 8px 15px; border-radius: 100px;
}
.ccc-card.catch .ccc-badge { color: var(--highlight); background: rgba(255,122,24,0.1); border: 1px solid rgba(255,122,24,0.25); }
.ccc-card.close .ccc-badge { color: var(--cyan-light); background: rgba(56,214,240,0.1); border: 1px solid rgba(56,214,240,0.25); }
.ccc-card.count .ccc-badge { color: var(--green); background: rgba(53,196,127,0.1); border: 1px solid rgba(53,196,127,0.25); }
.ccc-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin: -36px 0 20px; position: relative; z-index: 2; background: var(--panel-2); border: 1px solid var(--line-strong); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7); }
.ccc-icon svg { width: 27px; height: 27px; }
.ccc-card.catch .ccc-icon svg { color: var(--flame); }
.ccc-card.close .ccc-icon svg { color: var(--cyan); }
.ccc-card.count .ccc-icon svg { color: var(--green); }
.ccc-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.ccc-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.feature-list { display: flex; flex-direction: column; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; color: var(--text); }
.feature-list .check { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: rgba(53,196,127,0.14); color: var(--green); margin-top: 1px; }
.feature-list .check svg { width: 12px; height: 12px; }

/* ---------- Promise ---------- */
.promise { background: linear-gradient(160deg, #09182a, #060f1b); border-block: 1px solid var(--line); }
.promise-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 9px 16px; border-radius: 100px; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  color: var(--green); background: rgba(53,196,127,0.1); border: 1px solid rgba(53,196,127,0.3);
}
.promise-badge svg { width: 16px; height: 16px; }
.promise-list { display: flex; flex-direction: column; gap: 14px; }
.promise-item {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.promise-item:hover { border-color: var(--line-strong); transform: translateX(6px); background: rgba(255,255,255,0.04); }
.promise-item .num { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--flame); flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,122,24,0.1); }
.promise-item strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 3px; }
.promise-item p { color: var(--muted); font-size: 0.92rem; }
.promise-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted-2); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step .n { font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--cyan-light); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.step .n::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: rgba(56,214,240,0.1); border: 1px solid var(--line-strong); display: grid; place-items: center; counter-increment: step; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Who it's for ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-col { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.fit-col.good { background: linear-gradient(180deg, rgba(53,196,127,0.07), transparent); border-color: rgba(53,196,127,0.2); }
.fit-col.bad { background: linear-gradient(180deg, rgba(255,122,24,0.05), transparent); border-color: rgba(255,122,24,0.15); }
.fit-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 20px; }
.fit-col .tag { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.fit-col.good .tag { background: rgba(53,196,127,0.15); color: var(--green); }
.fit-col.bad .tag { background: rgba(255,122,24,0.12); color: var(--flame); }
.fit-list li { display: flex; gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); font-size: 0.96rem; color: var(--text); }
.fit-list li:first-child { border-top: 0; }
.fit-list .ic { flex: 0 0 auto; margin-top: 2px; }
.fit-col.good .ic { color: var(--green); }
.fit-col.bad .ic { color: var(--muted-2); }

/* ---------- Example report ---------- */
.report-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 880px) { .report-wrap { grid-template-columns: 1fr; } }
.report-card {
  background: linear-gradient(165deg, #0e2237, #081525); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); position: relative;
}
.report-card .rc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.report-card .rc-title { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.report-card .rc-tag { font-size: 0.72rem; color: var(--muted-2); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line); }
.rc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.rc-stat { padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.rc-stat .v { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.rc-stat .k { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rc-rows { display: flex; flex-direction: column; gap: 9px; }
.rc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,0.02); font-size: 0.86rem; }
.rc-row .src { color: var(--text); font-weight: 500; }
.rc-row .bars { height: 6px; width: 90px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.rc-row .bars i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--flame), var(--cyan)); }
.rc-row .cnt { font-family: var(--font-head); font-weight: 700; color: var(--cyan-light); min-width: 48px; text-align: right; }
.rc-note { margin-top: 14px; font-size: 0.74rem; color: var(--muted-2); text-align: center; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); position: relative; transition: transform 0.4s var(--ease), border-color 0.4s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border-color: rgba(255,122,24,0.45); background: linear-gradient(180deg, #16263b, #0a1726); box-shadow: 0 30px 70px -30px rgba(255,122,24,0.4); }
.price-card .pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-flame); background: linear-gradient(180deg, var(--flame-soft), var(--flame)); padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.price-card .trucks { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--cyan-light); margin-bottom: 6px; }
.price-card .price { font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1; margin-bottom: 4px; }
.price-card .price span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.price-card .price.custom { font-size: 1.8rem; color: var(--highlight); }
.price-card .sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }
.pricing-includes { margin-top: 30px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.pricing-includes h4 { font-size: 1.05rem; margin-bottom: 16px; }
.inc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 26px; }
@media (max-width: 760px) { .inc-grid { grid-template-columns: 1fr; } }
.inc-grid li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--muted); align-items: flex-start; }
.inc-grid .check { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.pricing-foot { margin-top: 18px; font-size: 0.84rem; color: var(--muted-2); text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; padding: 24px 44px 24px 0; position: relative; display: flex; }
.faq-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); 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='%2338d6f0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform 0.35s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(135deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 44px 24px 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; border: 1px solid var(--line-strong); background: linear-gradient(135deg, #12263c 0%, #0a1829 55%, #0d1f33 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,122,24,0.18), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(56,214,240,0.16), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Embed (booking / form) ---------- */
.embed-wrap { max-width: 860px; margin-inline: auto; }
.embed-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow-card); }
.embed-frame { width: 100%; min-height: 720px; border: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); }
.embed-placeholder { min-height: 420px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); display: grid; place-items: center; text-align: center; padding: 40px; }
.embed-placeholder .inner { max-width: 440px; }
.embed-placeholder h4 { font-size: 1.15rem; margin-bottom: 10px; }
.embed-placeholder p { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.embed-placeholder code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8rem; color: var(--cyan-light); background: rgba(56,214,240,0.08); padding: 3px 8px; border-radius: 6px; word-break: break-all; }
.consent-text { margin-top: 18px; font-size: 0.78rem; color: var(--muted-2); line-height: 1.6; }
.consent-text a { color: var(--cyan-light); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050c16; padding-block: 60px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 300px; }
.footer-col h5 { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; padding-block: 6px; transition: color 0.25s; }
.footer-col a:hover { color: var(--cyan-light); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted-2); }
.footer-bottom .legal-name { color: var(--muted); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom nav a:hover { color: var(--text); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Generic page (legal / book) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 20px; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--cyan-light); }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan-light); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: rgba(255,255,255,0.03); color: var(--text); font-family: var(--font-head); }
.prose td { color: var(--muted); }
.note-box { padding: 16px 20px; border-radius: var(--radius-sm); background: rgba(255,122,24,0.06); border: 1px solid rgba(255,122,24,0.2); font-size: 0.9rem; color: var(--highlight); margin: 20px 0; }

/* Divider */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); margin-block: 0; }

/* Language switch (privacy EN/FR) */
.lang-switch { display: inline-flex; gap: 4px; margin: 0 0 24px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(255, 255, 255, 0.03); }
.lang-switch a { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; padding: 7px 16px; border-radius: 100px; color: var(--muted); transition: color 0.25s, background 0.25s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: linear-gradient(180deg, var(--flame-soft), var(--flame)); color: var(--on-flame); }

/* ==========================================================================
   POLISH LAYER — the little details
   ========================================================================== */

/* Smooth anchor landing under the sticky header */
[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* Accessible focus ring (keyboard only) */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* Skip link */
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -140%);
  z-index: 200; background: var(--flame); color: var(--on-flame);
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 100px; transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Custom scrollbar */
* { scrollbar-width: thin; scrollbar-color: #1d3a57 transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--flame), var(--cyan)); border-radius: 100px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--flame-soft), var(--cyan-light)); }

/* Scroll progress bar */
#pl-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 300; background: linear-gradient(90deg, var(--flame), var(--highlight) 40%, var(--cyan));
  box-shadow: 0 0 12px rgba(56, 214, 240, 0.5); transition: width 0.1s linear;
}

/* Back-to-top */
#pl-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(13, 32, 55, 0.8); backdrop-filter: blur(10px); color: var(--cyan-light);
  display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(0.8);
  pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s;
}
#pl-top.show { opacity: 1; transform: none; pointer-events: auto; }
#pl-top:hover { color: #fff; border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-3px); }
#pl-top svg { width: 20px; height: 20px; }

/* Cookie consent banner */
#pl-cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%);
  z-index: 250; width: min(620px, calc(100% - 32px));
  background: rgba(10, 23, 38, 0.92); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  padding: 20px 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transition: transform 0.5s var(--ease);
}
#pl-cookie.show { transform: translate(-50%, 0); }
#pl-cookie .cc-text { flex: 1 1 280px; font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
#pl-cookie .cc-text strong { color: var(--text); font-family: var(--font-head); display: block; margin-bottom: 3px; }
#pl-cookie .cc-text a { color: var(--cyan-light); text-decoration: underline; }
#pl-cookie .cc-actions { display: flex; gap: 10px; flex: 0 0 auto; }
#pl-cookie .cc-btn { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); transition: all 0.25s; }
#pl-cookie .cc-btn:hover { border-color: var(--cyan); color: #fff; }
#pl-cookie .cc-btn.accept { background: linear-gradient(180deg, var(--flame-soft), var(--flame)); color: var(--on-flame); border-color: transparent; }
#pl-cookie .cc-btn.accept:hover { box-shadow: 0 8px 24px -8px rgba(255, 122, 24, 0.6); }
@media (max-width: 520px) { #pl-cookie .cc-actions { width: 100%; } #pl-cookie .cc-btn { flex: 1; } }

/* Button sheen on hover */
.btn { overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 150%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(126, 234, 255, 0.18), transparent); }

/* Card cursor spotlight */
.card > * { position: relative; z-index: 1; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 196, 107, 0.07), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover::after { opacity: 1; }

/* Active nav link (scroll spy) */
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--flame), var(--cyan));
}

/* Flame logo gentle flicker (transform + opacity only; drop-shadow stays static) */
@media (prefers-reduced-motion: no-preference) {
  .brand svg { animation: flicker 5s ease-in-out infinite; transform-origin: 50% 85%; }
  @keyframes flicker {
    0%, 100% { transform: scale(1); opacity: 1; }
    48% { transform: scale(0.99); opacity: 0.92; }
    72% { transform: scale(1.012); opacity: 1; }
  }
}

/* Hero staggered entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-badges, .hero h1 .line, .hero-sub, .hero-trust, .hero-actions, .hero-meta {
    opacity: 0; animation: heroUp 0.85s var(--ease) forwards;
  }
  .hero-badges { animation-delay: 0.05s; }
  .hero h1 .line:nth-child(1) { animation-delay: 0.15s; }
  .hero h1 .line:nth-child(2) { animation-delay: 0.27s; }
  .hero h1 .line:nth-child(3) { animation-delay: 0.39s; }
  .hero-sub { animation-delay: 0.52s; }
  .hero-trust { animation-delay: 0.62s; }
  .hero-actions { animation-delay: 0.72s; }
  .hero-meta { animation-delay: 0.82s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* Report bars grow in when card reveals */
.report-card .rc-row .bars i { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.report-card.in .rc-row .bars i { transform: scaleX(1); }
.report-card .rc-row:nth-child(1) .bars i { transition-delay: 0.1s; }
.report-card .rc-row:nth-child(2) .bars i { transition-delay: 0.2s; }
.report-card .rc-row:nth-child(3) .bars i { transition-delay: 0.3s; }
.report-card .rc-row:nth-child(4) .bars i { transition-delay: 0.4s; }
.report-card .rc-row:nth-child(5) .bars i { transition-delay: 0.5s; }

/* Nicer tap targets on touch + remove tap highlight */
a, button { -webkit-tap-highlight-color: transparent; }

/* Print: keep it readable */
@media print {
  body::before, body::after, #hero-canvas, #pl-progress, #pl-top, #pl-cookie, .scroll-hint, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   FIX: spacing / collisions
   ========================================================================== */
/* Give hero content breathing room so stats never meet the scroll hint */
.hero { padding-bottom: clamp(88px, 12vh, 140px); }
.hero-meta { row-gap: 18px; }

/* The scroll hint sits at the very bottom — only show it when there's real room,
   otherwise it overlaps the hero stats on short laptop screens. */
@media (max-height: 880px), (max-width: 760px) {
  .scroll-hint { display: none; }
}

/* Keep long stat labels from crowding on small screens */
@media (max-width: 420px) {
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-meta .item { width: 100%; }
}

/* ==========================================================================
   Pricing — "book a call" lead-in panel
   ========================================================================== */
.price-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  padding: 28px 32px; margin-bottom: 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 122, 24, 0.12), rgba(56, 214, 240, 0.10));
  border: 1px solid var(--line-strong); position: relative; overflow: hidden;
}
.price-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 220px at 8% 0%, rgba(255, 122, 24, 0.16), transparent 62%),
              radial-gradient(520px 220px at 100% 100%, rgba(56, 214, 240, 0.14), transparent 62%);
}
.price-cta > * { position: relative; z-index: 1; }
.price-cta-tag {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); padding: 5px 12px; border-radius: 100px;
  background: rgba(53, 196, 127, 0.12); border: 1px solid rgba(53, 196, 127, 0.3);
}
.price-cta-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 8px; }
.price-cta-copy p { color: var(--muted); font-size: 0.96rem; max-width: 580px; }
.price-cta .btn { flex: 0 0 auto; }
@media (max-width: 760px) {
  .price-cta { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .price-cta .btn { width: 100%; }
}

/* ==========================================================================
   LIVELINESS — ambient motion (reduced-motion users get a calm page)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Floating hero stat icons (transform-only = GPU-composited, no repaint) */
  .hero-meta .ico { animation: floaty 5.5s ease-in-out infinite; will-change: transform; }
  .hero-meta .item:nth-child(2) .ico { animation-delay: 0.9s; }
  .hero-meta .item:nth-child(3) .ico { animation-delay: 1.8s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  /* Gentle lift on the example report card */
  .report-card { animation: cardFloat 7s ease-in-out infinite; will-change: transform; }
  @keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  /* Eyebrow dots pulse (opacity only) */
  .eyebrow .dot { animation: dotPulse 2.6s ease-in-out infinite; }
  @keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
}


/* ==========================================================================
   Pricing (no-numbers, book-a-call layout)
   ========================================================================== */
.price-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 880px) { .price-layout { grid-template-columns: 1fr; } }

.price-book {
  display: flex; flex-direction: column; padding: 36px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #16263b, #0a1726); border: 1px solid rgba(255, 122, 24, 0.4);
  box-shadow: 0 34px 80px -34px rgba(255, 122, 24, 0.4); position: relative; overflow: hidden;
}
.price-book::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 100% 0%, rgba(255, 122, 24, 0.2), transparent 60%),
              radial-gradient(420px 240px at 0% 100%, rgba(56, 214, 240, 0.14), transparent 60%);
}
.price-book > * { position: relative; z-index: 1; }
.price-book h3 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin: 14px 0 14px; }
.price-book > p { color: var(--muted); margin-bottom: 24px; font-size: 1rem; }
.price-reassure { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
.price-reassure span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.price-reassure svg { width: 15px; height: 15px; color: var(--green); }

.price-includes-card {
  display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.price-includes-card h4 { font-size: 1.1rem; margin-bottom: 18px; }
.inc-grid--col { grid-template-columns: 1fr; gap: 14px; margin-bottom: auto; }
.inc-grid--col li { font-size: 0.95rem; color: var(--text); }

.tier-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; }
.tier-chips-label { color: var(--muted-2); font-size: 0.9rem; width: 100%; text-align: center; margin-bottom: 4px; }
@media (min-width: 620px) { .tier-chips-label { width: auto; margin-bottom: 0; } }
.chip {
  padding: 11px 20px; border-radius: 100px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); font-family: var(--font-head); font-weight: 700;
  font-size: 0.9rem; color: var(--text); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--cyan); transform: translateY(-2px); }
.chip em { color: var(--highlight); font-style: normal; font-weight: 600; font-size: 0.74rem; margin-left: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ==========================================================================
   Media band — treated HVAC photography
   ========================================================================== */
.media-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .media-wrap { grid-template-columns: 1fr; } }

.media-collage {
  display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 14px; position: relative; min-height: 460px;
}
@media (max-width: 480px) { .media-collage { min-height: 380px; } }

.media-shot {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line-strong); margin: 0; background: var(--panel);
  box-shadow: var(--shadow-card);
}
.media-shot--main { grid-row: 1 / span 2; }
.media-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Duotone-ish treatment to fit the Heat + Cool theme */
  filter: grayscale(0.35) brightness(0.72) contrast(1.08) saturate(0.9);
  transition: transform 0.9s var(--ease), filter 0.6s;
}
/* Navy wash (bottom) + heat glow (top-right) so photos read as part of the brand */
.media-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 24, 42, 0.1) 0%, rgba(6, 15, 27, 0.78) 100%);
}
.media-shot::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(130% 90% at 80% 12%, rgba(255, 122, 24, 0.28), transparent 55%),
              radial-gradient(120% 90% at 10% 100%, rgba(56, 214, 240, 0.16), transparent 55%);
}
.media-shot:hover img { transform: scale(1.06); filter: grayscale(0.15) brightness(0.82) contrast(1.08) saturate(1); }

/* Floating stat card over the collage */
.media-stat {
  position: absolute; left: -14px; bottom: -14px; z-index: 3;
  background: rgba(10, 23, 38, 0.86); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8); max-width: 230px;
}
.media-stat .ms-v { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--highlight); line-height: 1; }
.media-stat .ms-k { font-size: 0.78rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }
@media (max-width: 480px) { .media-stat { left: 8px; bottom: 8px; padding: 12px 15px; } .media-stat .ms-v { font-size: 1.35rem; } }

@media (prefers-reduced-motion: no-preference) { .media-stat { animation: floaty 6s ease-in-out infinite; will-change: transform; } }

/* ==========================================================================
   Photo-backed CTA band
   ========================================================================== */
.cta-band--photo { background: linear-gradient(135deg, rgba(18, 38, 60, 0.92) 0%, rgba(10, 24, 41, 0.95) 55%, rgba(13, 31, 51, 0.92) 100%), url("/assets/img/hvac-tech-outdoor.jpg"); background-size: cover; background-position: center; }
.cta-band--photo::before { background: radial-gradient(600px 300px at 20% 0%, rgba(255, 122, 24, 0.28), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(56, 214, 240, 0.2), transparent 60%); }

/* ==========================================================================
   Hero split layout + live "call booked" visual
   ========================================================================== */
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; width: 100%; }
.hero-inner { max-width: 620px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { max-width: 660px; }
  .hero-visual { max-width: 440px; width: 100%; margin-inline: auto; }
}

/* Blueprint grid texture (HVAC schematic feel) */
.section--grid { position: relative; z-index: 0; isolation: isolate; }
.section--grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(rgba(126, 234, 255, 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(126, 234, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 25%, transparent 78%);
}

.hero-visual { position: relative; }
.hv-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  aspect-ratio: 4 / 4.5;
}
@media (max-width: 440px) { .hv-photo { aspect-ratio: 4 / 3.8; } }
.hv-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.32) brightness(0.74) contrast(1.08) saturate(0.95);
}
.hv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 15, 27, 0.08), rgba(6, 15, 27, 0.74)); }
.hv-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen;
  background: radial-gradient(120% 80% at 82% 8%, rgba(255, 122, 24, 0.32), transparent 55%),
              radial-gradient(110% 80% at 0% 100%, rgba(56, 214, 240, 0.2), transparent 55%);
}
.hv-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; padding: 7px 12px; border-radius: 100px; background: rgba(6, 15, 27, 0.55);
  backdrop-filter: blur(8px); border: 1px solid var(--line-strong);
}

.hv-card {
  position: absolute; z-index: 3; background: rgba(9, 21, 36, 0.84);
  backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
}
.hv-call { left: -18px; bottom: 44px; width: min(300px, 88%); padding: 15px 17px; }
.hv-call-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.hv-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--highlight); }
.hv-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); animation: pulse 1.8s infinite; }
.hv-time { font-size: 0.7rem; color: var(--muted-2); }
.hv-call-body { display: flex; gap: 12px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 13px; }
.hv-ava { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 122, 24, 0.12); color: var(--flame); border: 1px solid rgba(255, 122, 24, 0.25); }
.hv-ava svg { width: 20px; height: 20px; }
.hv-call-text strong { display: block; font-family: var(--font-head); font-size: 0.92rem; }
.hv-call-text span { font-size: 0.82rem; color: var(--muted); }
.hv-booked { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; font-weight: 600; color: var(--green); }
.hv-booked svg { width: 16px; height: 16px; flex: 0 0 auto; }

.hv-chip { right: -14px; top: 30px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; font-size: 0.8rem; color: var(--text); font-weight: 500; max-width: 215px; }
.hv-chip svg { width: 18px; height: 18px; color: var(--cyan-light); flex: 0 0 auto; }

@media (max-width: 980px) { .hv-call { left: 3%; } .hv-chip { right: 3%; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual { opacity: 0; animation: heroUp 0.9s var(--ease) 0.5s forwards; }
  .hv-call { animation: cardIn 0.7s var(--ease) 1s both, floaty 6s ease-in-out 1.7s infinite; will-change: transform; }
  .hv-chip { animation: cardIn 0.7s var(--ease) 1.35s both, floaty 6.5s ease-in-out 2s infinite; will-change: transform; }
  @keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
}
