/* ============================================================
   hero.css — hero section, cycling card stack, animated aura,
   and all in-card mockups (browser bar, website, email, dashboard).
   This is one self-contained ecosystem because everything inside
   the hero is tightly coupled.
   ============================================================ */

/* -------------------- Hero (DARK) -------------------- */
.hero {
  background: var(--black);
  color: var(--on-dark-text);
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--on-dark-border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(45, 212, 191, 0.25) 0%, transparent 55%),
    radial-gradient(700px 400px at 0% 110%, rgba(15, 118, 110, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 25%, transparent 75%);
  pointer-events: none;
}

/* Cursor-following grid spotlight. Same grid pattern as .hero::after
   but painted brighter (≈4× alpha) and revealed only inside a soft
   circle around the cursor. Net effect: the grid "lights up" where
   you point, while the rest stays at the baseline 3% opacity. No
   colored halo — pure white reveal so it reads as a flashlight, not
   a tinted glow. CSS variables --spot-x / --spot-y are written by
   ui/hero-spotlight.js on mousemove. */
.hero-spotlight {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, transparent 75%);
          mask-image: radial-gradient(circle 260px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, transparent 75%);
}
.hero.is-spotlight-active .hero-spotlight {
  opacity: 1;
}
/* Hide entirely on touch / coarse-pointer devices — no cursor to follow */
@media (hover: none), (pointer: coarse) {
  .hero-spotlight { display: none; }
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .hero { padding: 5.7rem 0 8rem; }
}
.hero h1 {
  font-size: clamp(2.75rem, 5.8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--on-dark-heading);
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--tint) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
  max-width: 38rem;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust-item::before {
  content: "✓";
  color: var(--primary-glow);
  font-weight: 700;
}

/* -------------------- Hero cycling card stack -------------------- */
.hero-stack-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 20px;
}

/* Two glowing line segments traveling along the card perimeter (Huly-style) */
.stack-aura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.stack-aura rect {
  stroke-linecap: round;
  fill: none;
}

/* Soft, much longer "tail" segments that fade past the core ends */
.stack-aura-fade {
  stroke: rgba(45, 212, 191, 0.7);
  stroke-width: 6.5;
  stroke-dasharray: 720 480 720 480;
  stroke-dashoffset: 185;
  filter: blur(14px);
  animation: stackTraceFade 12s linear infinite;
}

/* Sharp, shorter core line — sits centered inside the fade */
.stack-aura-core {
  stroke: #2DD4BF;
  stroke-width: 6.5;
  stroke-dasharray: 350 850 350 850;
  animation: stackTraceCore 12s linear infinite;
}

@keyframes stackTraceCore { to { stroke-dashoffset: -2400; } }
@keyframes stackTraceFade { to { stroke-dashoffset: -2215; } }

@media (prefers-reduced-motion: reduce) {
  .stack-aura-fade,
  .stack-aura-core { animation: none; }
}

/* Black label bar inside each card, floating with margin from edges */
.stack-card-label {
  margin: 0 12px 12px;
  background: #0A0A0B;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.stack-card-label-step {
  background: var(--primary-glow);
  color: #0A0A0B;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.stack-card-label-text {
  font-weight: 500;
  line-height: 1.35;
  color: #E2E8F0;
}

.hero-stack {
  position: relative;
  width: 100%;
  height: 420px;
  z-index: 1;
}
.stack-card {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 80px rgba(45, 212, 191, 0.18);
  overflow: hidden;
  transform: translateY(36px) translateX(28px) scale(0.92);
  opacity: 0;
  z-index: 1;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s ease,
              box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}
.hero-stack[data-active="0"] .stack-card[data-card="0"],
.hero-stack[data-active="1"] .stack-card[data-card="1"],
.hero-stack[data-active="2"] .stack-card[data-card="2"] {
  transform: translateY(0) translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}
.hero-stack[data-active="0"] .stack-card[data-card="1"],
.hero-stack[data-active="1"] .stack-card[data-card="2"],
.hero-stack[data-active="2"] .stack-card[data-card="0"] {
  transform: translateY(18px) translateX(14px) scale(0.96);
  opacity: 0.5;
  z-index: 2;
}
.hero-stack[data-active="0"] .stack-card[data-card="2"],
.hero-stack[data-active="1"] .stack-card[data-card="0"],
.hero-stack[data-active="2"] .stack-card[data-card="1"] {
  transform: translateY(36px) translateX(28px) scale(0.92);
  opacity: 0.25;
  z-index: 1;
}

/* Dot indicators (currently unused but kept for compat) */
.stack-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 4;
}
.stack-dot {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.stack-dot:hover { background: rgba(255, 255, 255, 0.45); }
.stack-dot.is-active {
  background: var(--primary-glow);
  width: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .stack-card { transition: none; }
  .stack-blob { transition: none; }
}

/* -------------------- Mock browser shell (shared by cards) -------------------- */
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-cream);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mock-browser-bar > span:nth-child(1),
.mock-browser-bar > span:nth-child(2),
.mock-browser-bar > span:nth-child(3) {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.mock-browser-bar > span:nth-child(1) { background: #FCA5A5; }
.mock-browser-bar > span:nth-child(2) { background: #FCD34D; }
.mock-browser-bar > span:nth-child(3) { background: #6EE7B7; }
.mock-url, .mock-mail-tab {
  margin-left: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.mock-mail-tab { background: var(--tint); color: var(--primary-darker); border-color: transparent; }
.mock-mail-time { margin-left: auto; font-size: 0.72rem; color: var(--muted); }

/* -------------------- Card 1: Website mockup -------------------- */
.mock-site { padding: 0.85rem 0.95rem 0.95rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; min-height: 0; }

.mock-site-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.55rem; border-bottom: 1px solid var(--border);
  gap: 0.65rem;
}
.mock-site-nav strong {
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
}

/* The Mike's HVAC demo card uses a generic system sans-serif family
   (Arial / Helvetica) instead of RBS's branded Plus Jakarta + Inter
   stack. Most real Florida contractor sites are built on legacy
   templates that ship with Arial — using it here makes the demo feel
   like an actual contractor's site, not a polished SaaS marketing
   card. Scoped to .mock-site (the demo content), so the .stack-card-
   label STEP strip at the bottom stays in RBS's branded fonts (that
   strip is RBS narrating ABOUT the demo, not part of the demo). */
.stack-card[data-card="0"] .mock-site {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.stack-card[data-card="0"] .mock-site .mock-headline {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.mock-site-nav-links {
  display: inline-flex;
  gap: 0.85rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
/* Right-side nav CTA — mirrors the Coastline Plumbing mockup's nav
   button pattern. Real contractor sites use a small "Get a quote" pill
   on the right of the nav, not a raw phone number. */
.mock-site-nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 5px;
  white-space: nowrap;
}

/* Hero block with photo-style backdrop */
.mock-site-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  min-height: 170px;
  display: flex;
  align-items: stretch;
  padding: 0.85rem 1rem;
}

/* Real photo backdrop, aspect-ratio preserved via object-fit: cover */
.mock-site-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right; /* keep technician + AC unit in frame on narrow crops */
  display: block;
}
.mock-site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* Floating Google reviews badge */
.mock-site-google {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  font-family: var(--sans);
}
.mock-site-google-g {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mock-site-google-g .g-blue   { color: #4285F4; }
.mock-site-google-g .g-red    { color: #EA4335; }
.mock-site-google-g .g-yellow { color: #FBBC05; }
.mock-site-google-g .g-blue-2 { color: #4285F4; }
.mock-site-google-g .g-green  { color: #34A853; }
.mock-site-google-g .g-red-2  { color: #EA4335; }
.mock-site-google-stars {
  color: #FBBC05;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.mock-site-google-meta {
  font-size: 0.62rem;
  color: var(--muted-strong);
  font-weight: 500;
  line-height: 1;
}
.mock-site-google-meta strong {
  color: var(--text);
  font-weight: 700;
}

.mock-site-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #FFFFFF;
  width: 100%;
  align-self: flex-end;
  padding-right: 90px;
}
.mock-site-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  width: fit-content;
  backdrop-filter: blur(6px);
}
.mock-site-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-glow);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.35);
}
.mock-site-hero-overlay .mock-headline {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--serif-display);
  color: #FFFFFF;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.mock-site-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.mock-site-hero-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.mock-site-cta {
  background: #FFFFFF;
  color: var(--primary-darker);
  padding: 0.42rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mock-site-cta--call {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.45);
}
.mock-site-cta--call svg {
  width: 12px; height: 12px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.mock-site-cta--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

/* ----------------------------------------------------------------
   Mike's HVAC card: sky-blue accent palette
   Re-skin only card 0 (the website mockup) so it reads as a separate
   demo brand rather than blending into RBS's own teal/green chrome.
   The black STEP strip + green pill at the bottom stay RBS-themed
   on purpose — that's RBS narration, not the demo brand.
   ---------------------------------------------------------------- */
.stack-card[data-card="0"] .mock-site-nav-cta {
  background: #0369A1;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(3, 105, 161, 0.35);
}
.stack-card[data-card="0"] .mock-site-dot {
  background: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35);
}
.stack-card[data-card="0"] .mock-site-cta {
  color: #075985;
}
.stack-card[data-card="0"] .mock-site-cta--call {
  background: #0369A1;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.45);
}
.stack-card[data-card="0"] .mock-site-cta--ghost {
  /* ghost CTA stays white-on-photo — no teal here, no change needed */
  color: #FFFFFF;
}
/* -------------------- Card 2: Email mockup --------------------
   Visual-only: clip overflow + block all pointer events so taps,
   swipes, and scrolls pass straight through to the page (no nested
   scroll trap on mobile). */
.mock-mail {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.mock-mail-head { padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
.mock-mail-head .mock-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}
.mock-mail-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; }
.mock-mail-from { font-size: 0.85rem; color: var(--text); }
.mock-mail-from strong { color: var(--heading); }
.mock-mail-body { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.82rem; color: var(--text); line-height: 1.5; }
.mock-mail-link {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}
.mock-mail-sig { font-size: 0.78rem; color: var(--muted); padding-top: 0.65rem; border-top: 1px solid var(--border); margin-top: 0.4rem; }
.mock-mail-sig strong { color: var(--heading); display: block; }

/* -------------------- Card 3: Dashboard mockup -------------------- */
.mock-dash { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; min-height: 0; }
.mock-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.mock-dash-head .mock-headline { font-size: 1.05rem; font-weight: 700; color: var(--heading); letter-spacing: -0.015em; }
.mock-dash-search {
  flex: 1;
  max-width: 250px;
  background: var(--surface-cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.mock-dash-search-icon { font-size: 0.75rem; }
.mock-dash-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mock-dash-pills span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-cream);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.mock-dash-pills span em { font-style: normal; color: var(--muted); }
.mock-dash-pills span.is-active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.mock-dash-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-dash-row {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.mock-dash-row-name { display: flex; align-items: center; gap: 0.5rem; }
.mock-dash-row-name strong { font-size: 0.82rem; color: var(--heading); }
.mock-dash-row-main p { font-size: 0.7rem; color: var(--muted); margin-top: 0.18rem; }
.mock-dash-time { font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.mock-tag {
  font-size: 0.62rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: lowercase;
}
.mock-tag--new { background: #DBEAFE; color: #1E40AF; }
.mock-tag--contacted { background: #FEF3C7; color: #92400E; }
.mock-tag--qualified { background: var(--tint); color: var(--primary-darker); }

/* ============================================================
   MOBILE OVERRIDES — hero stack mockups
   The stack-card is fixed at 420px tall on all viewports. On narrow
   widths the website mockup contents overflow + overlap (brand wraps,
   phone wraps, headline collides with the floating Google badge,
   STEP 1 strip overlaps the trust seals). Compress and re-layout.
   ============================================================ */
@media (max-width: 640px) {
  /* Tighter outer card padding so content has more room */
  .mock-site {
    padding: 0.65rem 0.7rem 0.7rem;
    gap: 0.55rem;
  }

  /* Top nav: brand + phone only (drop Services/Reviews/Contact) */
  .mock-site-nav {
    padding-bottom: 0.45rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .mock-site-nav strong {
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 0.3rem;
  }
  .mock-site-nav-links { display: none; }
  .mock-site-nav-cta {
    font-size: 0.6rem;
    padding: 0.25rem 0.55rem;
    flex-shrink: 0;
  }

  /* Hero photo block */
  .mock-site-hero {
    min-height: 150px;
    padding: 0.7rem 0.85rem;
  }
  /* Stronger gradient so the headline reads against the photo */
  .mock-site-hero::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
  }

  /* Floating Google badge: smaller + tucked into a corner that doesn't
     collide with the headline */
  .mock-site-google {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.45rem;
    gap: 0.08rem;
  }
  .mock-site-google-g { font-size: 0.62rem; }
  .mock-site-google-stars { font-size: 0.55rem; }
  .mock-site-google-meta { font-size: 0.5rem; }

  /* Hero overlay: drop the chip + subtitle (visual noise on narrow),
     left-align content, give it just enough right padding to clear the
     smaller Google badge */
  .mock-site-hero-overlay {
    padding-right: 0;
    gap: 0.35rem;
  }
  /* Same-day · Tampa Bay frosted pill — kept on mobile (user request) */
  .mock-site-tag {
    font-size: 0.55rem;
    padding: 0.16rem 0.5rem;
    gap: 0.3rem;
  }
  .mock-site-dot { width: 5px; height: 5px; }
  .mock-site-sub { display: none; }
  .mock-site-hero-overlay .mock-headline {
    font-size: 0.85rem;
    line-height: 1.18;
    padding-right: 65px; /* clear the (smaller) Google badge */
  }
  .mock-site-hero-actions {
    gap: 0.35rem;
    margin-top: 0.3rem;
    flex-wrap: nowrap;
  }
  .mock-site-cta {
    font-size: 0.62rem;
    padding: 0.34rem 0.6rem;
  }
  .mock-site-cta--call svg { width: 10px; height: 10px; }

  /* STEP label strip at the bottom of the card */
  .stack-card-label {
    margin: 0 8px 8px;
    padding: 0.5rem 0.6rem;
    gap: 0.45rem;
    font-size: 0.68rem;
  }
  .stack-card-label-step {
    font-size: 0.55rem;
    padding: 0.14rem 0.45rem;
  }

  /* Browser chrome dots row — slightly tighter to claw back vertical room */
  .mock-browser-bar { padding: 0.45rem 0.7rem; }
  .mock-browser-bar > span:nth-child(1),
  .mock-browser-bar > span:nth-child(2),
  .mock-browser-bar > span:nth-child(3) { width: 8px; height: 8px; }
}

/* Extra-narrow phones (≤360): the Call (xxx) xxx-xxxx CTA + trust-seal
   captions don't fit alongside their siblings. Shrink further + allow
   trust seals to truncate cleanly. */
@media (max-width: 360px) {
  .mock-site-cta {
    font-size: 0.56rem;
    padding: 0.3rem 0.5rem;
    gap: 0.25rem;
  }
  .mock-site-cta--call svg { width: 9px; height: 9px; }
  .mock-site-hero-overlay .mock-headline {
    font-size: 0.78rem;
    padding-right: 58px;
  }
}
