/* =========================================================
   Order Growth Partners — pulled from Figma (node 1:4 page tree)
   Colors / fonts / copy are sourced exactly from get_design_context.
   ========================================================= */

:root {
  --charcoal: #2c2c2c;
  --gray-900: #111827;
  --gray-600: #4b5563;
  --gray-500: #8c8c8c;
  --gray-400: #6f6e6e;
  --orange: #d96b27;
  --amber: #e59e30;
  --blue-accent: #1a4de5;
  --blue-footer: #4885ed;
  --green: #10b981;
  --bg-soft: #f2f2f2;
  --border-soft: #f3f4f6;
  --border-mid: #e5e7eb;
  --bezel-black: #151515;
  --bezel-border: #333333;

  --font-sora: 'Sora', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-manrope: 'Manrope', sans-serif;

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-inter);
  color: var(--charcoal);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
a { text-decoration: none; color: inherit; }

.btn {
  font-family: var(--font-sora);
  font-weight: 700;
  border-radius: 36px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast);
}
.btn--orange { background: var(--orange); color: #fff; padding: 16px 24px; font-size: 20px; }
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(217,107,39,0.3); }

/* =========================== HEADER =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px clamp(20px, 6vw, 104px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.nav-logo__icon { width: 20px; height: 20px; flex-shrink: 0; }
.nav-logo__text {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: clamp(16px, 1.1vw + 12px, 25px);
  letter-spacing: clamp(-2px, -1px - 0.15vw, -1px);
  color: var(--charcoal);
  white-space: nowrap;
}
.nav-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 20px);
}
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: clamp(13px, 0.5vw + 11px, 15px);
  color: var(--charcoal);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-whatsapp:hover { color: var(--orange); }
.nav-whatsapp__icon { width: 16px; height: 16px; flex-shrink: 0; }
.nav-whatsapp strong { font-weight: 700; color: var(--green); }
.nav-cta__btn {
  width: auto;
  height: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1vw + 10px, 24px);
  padding: clamp(10px, 1.4vw, 16px) clamp(16px, 2.4vw, 24px);
  white-space: nowrap;
}

/* =========================== HERO =========================== */
.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  padding-top: clamp(20px, 3vw, 36px);
}
.hero-heading {
  display: flex;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 24px);
}
.hero-heading h1 {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: clamp(28px, 3.9vw + 15px, 72px);
  letter-spacing: clamp(-1.8px, -0.8px - 0.15vw, -0.8px);
  text-align: center;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.05;
}

.hero-panel-wrap {
  display: flex;
  justify-content: center;
  padding: 0 24px;
  /* the phone mockup (hero-phone-slot) is pulled up by -13.15% of the panel's
     own height (~73px at the 555px min-height), a ratio pulled directly from
     Figma's node offsets. The hero's flex gap above this wrap (28-48px) isn't
     enough clearance for that pull-up on its own, so at desktop widths the
     phone bezel overlapped the headline text underneath it. This adds the
     missing clearance without touching the phone's Figma-sourced position. */
  padding-top: clamp(56px, 8vw, 96px);
}
.hero-panel {
  position: relative;
  width: 100%;
  max-width: 1150px;
  min-height: 555px;
}
/* Figma: the phone (7:749) and CTA bar (5:55) are separate top-level layers that
   overlap this panel, not children of it — only the bg+tint+subtitle are clipped
   to the rounded panel; the overlay elements below must NOT be clipped by it. */
.hero-panel__clip {
  position: absolute;
  inset: 0;
  border-radius: 29px;
  overflow: hidden;
  padding: 52px 24px;
  display: flex;
  align-items: center;
}
.hero-panel__bg { position: absolute; inset: 0; z-index: -2; }
.hero-panel__bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel__tint { position: absolute; inset: 0; background: rgba(26,77,229,0.85); mix-blend-mode: color; }

.hero-panel__subtitle {
  position: relative;
  z-index: 1;
  max-width: 542px;
  padding-left: 24px;
}
.hero-panel__subtitle p {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw + 10px, 40px);
  line-height: 1.39;
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}
.hero-panel__subtitle strong { font-weight: 700; }

/* offsets below are exact ratios of the 1150x555 "Background Container" (node 1:77):
   phone (node 7:749) sits at left 67.3%/top -13.15% (position only — width is a fixed
   262px at all screen sizes, not the Figma-ratio 26.9%, so the phone's proportions never
   distort as its position shifts with the panel's width)
   CTA bar (node 5:55) sits at abs x212,y770,w1020,h72 -> left 5.83%/top 78.7%/w 88.7% */
.hero-phone-slot {
  position: absolute;
  left: 67.3%;
  top: -13.15%;
  width: 262px;
  z-index: 2;
}
.cta-bar-slot {
  position: absolute;
  left: 5.83%;
  top: 78.7%;
  width: 88.7%;
  z-index: 3;
}

/* ===== phone / gauge =====
   bezel styling refined against owner.com's iPhone mockup reference: a single
   smooth dark tone (not a flat fill + separate lighter border ring) with a
   subtle inset highlight for depth, plus a camera dot in the dynamic island
   and faint side-button notches — thinner and cleaner than the old two-tone
   bezel, which read as chunkier than it needed to. */
.phone-tilt { transform: rotate(-0.24deg); }
.phone-bezel {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #303033, #121214 55%);
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.08),
    inset 0 -2px 3px rgba(0,0,0,0.5);
  filter: drop-shadow(0 16px 16px rgba(0,0,0,0.25));
}
.phone-bezel::before,
.phone-bezel::after {
  content: "";
  position: absolute;
  background: #232326;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone-bezel::before {
  /* mute switch + volume rocker, simplified as one notch */
  left: -2.5px;
  top: 18%;
  width: 3px;
  height: 14%;
  border-radius: 2px 0 0 2px;
}
.phone-bezel::after {
  /* power button */
  right: -2.5px;
  top: 24%;
  width: 3px;
  height: 10%;
  border-radius: 0 2px 2px 0;
}
.phone-screen {
  position: relative;
  background: #fff9f5;
  border-radius: 40px;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  overflow: hidden;
}
/* height-independent sweep: a tall gradient band scrolls through via background-position
   (percentage-based, so it still works once the phone screen becomes fluid-height in
   the responsive pass) rather than animating a fixed-pixel transform. */
.scan-line {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background-image: linear-gradient(180deg,
    rgba(217,107,39,0) 0%,
    rgba(217,107,39,0) 38%,
    rgba(217,107,39,0.5) 47%,
    rgba(217,107,39,0.85) 50%,
    rgba(217,107,39,0.5) 53%,
    rgba(217,107,39,0) 62%,
    rgba(217,107,39,0) 100%);
  background-size: 100% 500%;
  background-repeat: no-repeat;
  background-position: 0 -120%;
}
.scan-line.is-scanning {
  animation: scanSweep 1.1s cubic-bezier(0.45, 0, 0.4, 1) forwards;
}
@keyframes scanSweep {
  0% { opacity: 0; background-position: 0 -120%; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: 0 120%; }
}
.status-row { display: flex; align-items: center; justify-content: space-between; }
.status-row__time { font-family: var(--font-sora); font-weight: 700; font-size: 13px; color: var(--charcoal); }
.dynamic-island { position: relative; background: #000; height: 24px; width: 84px; border-radius: 12px; }
.dynamic-island::after {
  content: "";
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  width: 22%;
  aspect-ratio: 1;
  max-width: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a5568 0%, #1a1d24 45%, #000 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}
.status-row__icons { display: flex; align-items: center; gap: 4px; }
.status-row__icons img { height: 10px; }

.gauge-section { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 10px; }
.gauge-container { position: relative; width: 160px; aspect-ratio: 160 / 140; display: flex; align-items: center; justify-content: center; }
.gauge-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.score-text { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.score-text__num { font-family: var(--font-sora); font-weight: 800; font-size: 38px; color: var(--charcoal); margin: 0; }
.score-text__total { font-family: var(--font-sora); font-weight: 600; font-size: 12px; color: var(--gray-500); margin: 0; }

.health-labels { text-align: center; }
.health-labels__title { font-family: var(--font-sora); font-weight: 600; font-size: 13px; color: var(--gray-500); margin: 0 0 4px; }
.health-labels__status { font-family: var(--font-sora); font-weight: 800; font-size: 22px; color: var(--orange); margin: 0; }

.categories-list { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; width: 100%; }
.status-row-item { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }
.status-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mini-gauge { flex-shrink: 0; width: 28px; height: 28px; }
.status-labels { min-width: 0; }
.status-labels__name { font-family: var(--font-sora); font-weight: 600; font-size: 14px; color: var(--charcoal); margin: 0 0 2px; overflow-wrap: break-word; }
.status-labels__status { font-family: var(--font-sora); font-weight: 600; font-size: 12px; margin: 0; }
.status-labels__status--poor { color: var(--orange); }
.status-labels__status--fair { color: var(--amber); }
.row-score { font-family: var(--font-sora); font-weight: 600; font-size: 14px; color: var(--gray-500); margin: 0; flex-shrink: 0; }

/* ===== CTA bar (shared) ===== */
.cta-bar {
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 32px;
  box-shadow: 0 12px 12px rgba(0,0,0,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: clamp(8px, 1.6vw, 10px) clamp(8px, 1.6vw, 10px) clamp(8px, 1.6vw, 10px) clamp(16px, 3vw, 24px);
  min-height: clamp(56px, 8vw, 72px);
  gap: clamp(8px, 1.6vw, 12px);
}
.cta-bar__input { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.cta-bar__input img { width: 26px; height: 32px; flex-shrink: 0; }
.cta-bar__input span { font-family: var(--font-inter); font-size: clamp(14px, 2vw + 8px, 24px); color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta-bar__btn { height: clamp(44px, 6vw, 52px); font-size: clamp(14px, 1.3vw + 9px, 22px); padding: 0 clamp(16px, 2.5vw, 24px); flex-shrink: 0; white-space: nowrap; }

/* =========================== PARTNER LOGO MARQUEE =========================== */
/* Same technique owner.com uses for its dual-direction reviews marquee: each
   row's track is duplicated back-to-back so translateX(-100%)/translateX(100%)
   loops seamlessly into an identical copy, animation-timing-function is
   linear + infinite, and the section just clips overflow rather than fading
   the edges. Two rows scroll opposite directions for visual interest. */
.partners { padding: clamp(20px, 4vw, 32px) 0 clamp(28px, 5vw, 44px); }
.partners__label {
  text-align: center;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: clamp(13px, 0.6vw + 11px, 15px);
  color: var(--gray-600);
  margin: 0 0 clamp(16px, 3vw, 24px);
  padding: 0 20px;
}
.partners__rows { display: flex; flex-direction: column; gap: 14px; }
.partners__row {
  overflow: hidden;
  display: flex;
  width: 100%;
  /* soft fade at the left/right edges so chips don't hard-cut at the viewport edge */
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.partners__track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
  animation: partnersScrollLeft 34s linear infinite;
}
.partners__track--rev { animation-name: partnersScrollRight; animation-duration: 30s; }
@keyframes partnersScrollLeft { 100% { transform: translateX(-100%); } }
/* Not just translateX(0 -> 100%): with the duplicate track sitting to the
   right in the DOM (same markup as the left-scrolling row), animating
   forward to +100% drags BOTH copies rightward and out of frame together,
   leaving a growing gap on the left that snaps shut when the loop resets.
   Starting pre-shifted at -100% and animating back to 0% instead means the
   two tracks always overlap-cover the full row width at every point in the
   cycle, same as the left row just mirrored. */
@keyframes partnersScrollRight { 0% { transform: translateX(-100%); } 100% { transform: translateX(0%); } }

.partner-chip {
  flex-shrink: 0;
  height: 56px;
  min-width: 130px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.partner-chip img { height: 26px; width: auto; max-width: 110px; }
.partner-chip--text span { font-family: var(--font-sora); font-weight: 800; font-size: 17px; letter-spacing: -0.4px; }

@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none !important; }
  .partners__row { overflow-x: auto; }
}

/* =========================== GROWTH / TABS SECTION =========================== */
.growth-section { background: #f2f2f2; margin-top: 24px; }
.growth-hero {
  padding: clamp(28px, 6vw, 40px) clamp(16px, 4vw, 18px) clamp(28px, 6vw, 47px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 8vw, 69px);
}
.growth-hero__heading { text-align: center; max-width: 1274px; }
.growth-hero__heading h2 {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw + 8px, 63px);
  letter-spacing: clamp(-3.48px, -1.2px - 0.28vw, -1.2px);
  color: var(--charcoal);
  margin: 0 0 8px;
  line-height: 1.25;
}
.growth-hero__subtitle { font-family: var(--font-inter); font-size: clamp(15px, 1.1vw + 12px, 24px); line-height: 1.5; color: var(--gray-600); margin: 0; }

/* exact box from node 7:1101 "CTA container" (788x684); children below are positioned
   by the same margin-left/margin-top ratios get_design_context returned for
   7:1102 (phone), 7:1115 (trust badge) and 7:1121 (CTA-bar wrapper). */
.growth-cta-container { position: relative; width: 788px; max-width: 100%; height: 684px; margin: 0 auto; }
.growth-phone { position: absolute; left: 38.2%; top: 0; width: 47.3%; z-index: 1; }
.phone-bezel--map { width: 100%; max-width: 373px; }
.phone-screen--map { width: 100%; aspect-ratio: 373 / 668; position: relative; padding: 0; }
.phone-screen__map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.status-row--overlay { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 2; }
.status-row__time--dark { color: #fff; }

.trust-badge {
  position: absolute;
  left: 0;
  top: 29.8%;
  width: 59.6%;
  height: 112px;
  background: #fbf8f5;
  border-radius: 21px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding-left: 119px;
  z-index: 3;
}
.trust-badge__icon {
  position: absolute;
  left: 6px;
  top: 8px;
  width: 94px;
  height: 96px;
  border-radius: 15px;
  background: rgba(22,75,86,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.trust-badge__text {
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: clamp(15px, 1.8vw + 10px, 24px);
  letter-spacing: -1.45px;
  color: #000;
  line-height: 1.33;
  margin: 0;
  padding-right: 16px;
}
.trust-badge__accent { color: var(--orange); }

.growth-cta-bar-slot {
  position: absolute;
  left: 21.2%;
  top: 65.5%;
  width: 78.8%;
  z-index: 3;
}
.growth-cta-bar-slot .cta-bar { padding: clamp(14px, 2.5vw, 20px) clamp(12px, 2vw, 17px) clamp(14px, 2.5vw, 20px) clamp(20px, 4vw, 44px); height: auto; min-height: 72px; }

.growth-tabs { max-width: 1440px; margin: 0 auto; padding: clamp(36px, 7vw, 71px) clamp(16px, 3vw, 20px); }
/* below ~640px the 3 tab labels don't all fit and the row scrolls — without
   this, the 3rd label ("More Repeat Orders") just hard-clips mid-word at the
   screen edge with no indication there's more to scroll to. The fade signals
   "more content this way"; scrollbar is hidden since the fade is the affordance. */
.tab-row-wrap { position: relative; }
.tab-row-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to right, rgba(242,242,242,0), var(--bg-soft));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media (max-width: 640px) {
  .tab-row-wrap::after { opacity: 1; }
}
.tab-row {
  display: flex;
  gap: clamp(16px, 3.5vw, 40px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-row::-webkit-scrollbar { display: none; }
.tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-bottom: 12px;
  flex-shrink: 0;
}
.tab span:first-child {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: clamp(13px, 0.6vw + 11px, 15px);
  letter-spacing: -0.45px;
  color: var(--gray-400);
  white-space: nowrap;
  transition: color 0.25s;
}
.tab__underline { height: 1px; background: #e6e6e6; border-radius: 1.5px; width: 100%; transition: background 0.25s, height 0.25s; }
.tab.is-active span:first-child { font-family: var(--font-sora); font-weight: 700; color: var(--charcoal); }
.tab.is-active .tab__underline { background: var(--charcoal); height: 2px; }
.tab-progress-bar {
  position: relative;
}

.tab-card {
  background: #f2f2f2;
  border-radius: 24px;
  height: 650px;
  overflow: hidden;
  position: relative;
}
.tab-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}
.tab-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.tab-panel.is-leaving { transform: translateX(-40px); }
.tab-panel__left {
  flex: 0 0 clamp(260px, 39vw, 560px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 0 clamp(20px, 3vw, 40px) 0 clamp(24px, 4vw, 56px);
}
.tab-panel__eyebrow { font-size: clamp(11px, 0.5vw + 9px, 12px); letter-spacing: 2px; color: var(--blue-accent); font-family: var(--font-sora); font-weight: 700; margin: 0; }
.tab-panel__title { font-family: var(--font-sora); font-weight: 700; font-size: clamp(20px, 2.2vw + 12px, 34px); letter-spacing: -1.4px; color: var(--charcoal); line-height: 1.18; margin: 0; }
.tab-panel__desc { font-family: var(--font-inter); font-size: clamp(14px, 0.6vw + 12px, 17px); line-height: 1.5; color: var(--gray-600); margin: 0; max-width: 420px; }
.tab-panel__right { flex: 1; min-width: 0; position: relative; overflow: hidden; }

/* google panel visual — one cluster (info column + phone), not three
   elements pinned to separate corners with a lot of dead space between
   them. Desktop-first: row layout, since the panel is wide but height-
   capped (tab-card is a fixed 650px) — a pure vertical stack would need
   more height than that at a size big enough to not look small, which is
   exactly what a plain column stack did here before (verified: it pushed
   the caption below the visible area). Row spends the panel's abundant
   width instead of fighting its scarce height. Stacks back to a column
   below 860px, in the same breakpoint everything else in this tab already
   switches at, where height is no longer capped.
   Border-radius matches the sales-card/orders-card panels (16px, was 8px). */
.google-card {
  position: absolute;
  inset: 0;
  background: var(--blue-accent);
  background-image: linear-gradient(135deg, #1a4de5, #2f5fe8);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
}
.google-card__cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  max-width: 100%;
  max-height: 100%;
}
.google-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  flex-shrink: 0;
  /* without this, this column's own flex-basis:auto sizing pulls in the
     caption's *unwrapped* single-line max-content width (~500px+) instead
     of its actual wrapped size, ballooning the gap to the phone. */
  max-width: min(320px, 32vw);
}
.google-card__badge {
  flex-shrink: 0;
  width: clamp(140px, 12vw, 190px);
  height: clamp(44px, 4vw, 58px);
  background: #f5f5f5;
  border: 1px solid #f0f0f0;
  border-radius: 15px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-card__badge img { height: 48%; max-height: 30px; }

/* aspect-ratio makes it (and everything positioned as a % of it) scale
   cleanly at any width without a transform:scale() mobile hack. Sized
   meaningfully bigger than its old 175px cap — that read as small against
   how much room this panel actually has. */
.google-card__phone {
  position: relative;
  width: clamp(160px, 15vw, 230px);
  aspect-ratio: 175 / 352;
  flex-shrink: 0;
}
.phone-bezel--sm { border-radius: 34px; padding: clamp(4px, 1.4vw, 6px); }
.phone-screen--sm { border-radius: 28px; position: relative; height: auto; aspect-ratio: 163 / 340; overflow: hidden; padding: 0; }
.status-row--sm { position: absolute; top: 8px; left: 10px; right: 10px; z-index: 2; }

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: clamp(2px, 0.7vw, 3px) clamp(4px, 1.2vw, 5px);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: clamp(5px, 1.7vw, 6px);
  color: #fff;
  white-space: nowrap;
  transform-origin: 0 50%;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.map-pin.is-shown { transform: scale(1); opacity: 1; }
.map-pin img { width: clamp(5px, 1.7vw, 6px); height: clamp(5px, 1.7vw, 6px); }
.map-pin--green { background: #4dd980; }
.map-pin--orange { background: #e8a838; }
.map-pin--blue { background: #66b2ff; }
.map-pin--purple { background: #e580e5; }

/* "you" — the featured result the whole panel is building up to */
.map-pin--you { background: #db3236; z-index: 2; }
/* absolutely positioned (not inline) so it never adds to the pin's own flex
   width — inline it clipped at some map positions once the pin sits close
   to the phone screen's right edge, since the badge pushed the row wider
   than the visible screen. */
.map-pin__badge {
  position: absolute;
  top: -45%;
  right: -10%;
  width: clamp(9px, 3vw, 12px);
  height: clamp(9px, 3vw, 12px);
  background: #fff;
  color: #db3236;
  font-weight: 800;
  font-size: clamp(4px, 1.3vw, 5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.map-pin__ping {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(219,50,54,0.55);
  pointer-events: none;
}
.map-pin--you.is-pinging .map-pin__ping {
  animation: mapPinPing 1.8s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
@keyframes mapPinPing {
  0% { transform: scale(0.6); opacity: 0.55; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { opacity: 0; }
}

/* a distinct step in the cluster's story (Google -> what you'd type -> the
   result), not an overlay awkwardly floating on top of the phone. Sized as
   a real search bar, not a small pill lost in a big blue panel. */
.google-card__search {
  flex-shrink: 0;
  width: clamp(180px, 20vw, 260px);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 12px);
  padding: clamp(10px, 1.6vw, 14px) clamp(14px, 2vw, 18px);
  font-family: var(--font-inter);
  font-size: clamp(12px, 1.3vw, 15px);
  color: #000;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
}
.google-card__search.is-shown { opacity: 1; transform: translateY(0); }
.google-card__search img { width: clamp(13px, 1.4vw, 17px); flex-shrink: 0; }
.google-card__search-cursor {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.1em;
  animation: searchCursorBlink 1s step-end infinite;
}
@keyframes searchCursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.google-card__caption {
  flex-shrink: 0;
  width: max-content;
  max-width: min(320px, 90%);
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 19px);
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

/* sales panel visual */
.sales-card { position: absolute; left: 160px; top: 85px; width: 400px; height: 480px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: visible; }
.sales-card__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.sales-card__pill, .sales-card__pill--2, .sales-card__pill--3 {
  position: absolute; left: 90px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; white-space: nowrap;
  font-family: var(--font-sora); font-weight: 700; font-size: 14px; color: #1f242b;
}
.sales-card__pill { top: 30px; }
.sales-card__pill--2 { top: 93px; }
.sales-card__pill--3 { top: 156px; }
.sales-card__pill .connected, .sales-card__pill--2 .connected, .sales-card__pill--3 .connected { font-family: var(--font-inter); font-weight: 400; color: var(--green); }
.pulse-dot { width: 10px; height: 10px; animation: pulseDot 2s ease-in-out infinite; }

/* orders panel visual */
.orders-card { position: absolute; left: 200px; top: 85px; width: 440px; height: 480px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.orders-card__photo { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.orders-card__pill {
  position: absolute; left: 100px; top: 30px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 6px; padding: 14px 20px;
}
.stars { color: #e8a838; font-size: 18px; letter-spacing: 1px; }
.orders-card__reviews { font-family: var(--font-inter); font-size: 14px; color: #8c949e; margin-left: 6px; }
.orders-card__reviews-num { font-family: var(--font-manrope); font-weight: 700; font-size: 16px; color: var(--gray-900); }

/* =========================== SERVICES GRID =========================== */
.services-section { max-width: 1440px; margin: 0 auto; padding: clamp(48px, 9vw, 96px) clamp(20px, 6vw, 80px) clamp(64px, 11vw, 120px); }
.services-header { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 16px; }
.services-header h2 {
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw + 8px, 63px);
  line-height: 1.1;
  color: var(--gray-900);
  margin: 0;
  max-width: 1000px;
}
.services-header__subtitle { font-family: var(--font-inter); font-size: clamp(15px, 1.1vw + 12px, 24px); line-height: 1.5; color: var(--gray-600); margin: 0; max-width: 1192px; }
.services-header__eyebrow { font-family: var(--font-inter); font-weight: 700; font-size: clamp(20px, 1.6vw + 14px, 32px); color: var(--orange); text-transform: uppercase; margin: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin-top: clamp(20px, 3vw, 32px);
}
/* .service-card already defines its own transition (hover transform/shadow/border)
   and .fade-on-scroll defines its own (entrance opacity/transform); since both are
   single-class selectors of equal specificity, whichever rule is later in the
   cascade would silently clobber the other's `transition` shorthand. This merges
   both needs into one list so hover and scroll-entrance motion both keep working. */
.service-card.fade-on-scroll {
  transition: opacity 0.7s var(--ease-soft), transform 0.5s var(--ease-soft), box-shadow 0.45s var(--ease-soft), border-color 0.45s;
}

/* cascading stagger so the 9 cards lift in one after another instead of all at once */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.18s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.36s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.42s; }
.services-grid .service-card:nth-child(9) { transition-delay: 0.48s; }
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
  position: relative;
  overflow: hidden;
  cursor: default;
  min-width: 0;
  --mx: 50%;
  --my: 50%;
  transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft), border-color 0.45s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 220px at var(--mx) var(--my), rgba(217,107,39,0.14), transparent 70%);
  transition: opacity 0.35s ease;
  border-radius: inherit;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 24px 40px -8px rgba(0,0,0,0.12);
  border-color: var(--border-mid);
}

.service-card__snippet {
  background: var(--border-soft);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.service-card__title { font-family: var(--font-manrope); font-weight: 700; font-size: 18px; color: var(--gray-900); margin: 0; line-height: 1.2; }
.service-card__desc { font-family: var(--font-inter); font-size: 14px; line-height: 1.5; color: var(--gray-600); margin: 0; }

/* card 1: website browser frame */
.browser-frame { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; padding: 8px; width: 100%; max-width: 280px; }
.browser-frame__bar { display: flex; align-items: center; gap: 8px; }
.browser-frame__dots { width: 26px; height: 6px; }
.browser-frame__url { background: var(--border-soft); border-radius: 4px; height: 18px; flex: 1; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.browser-frame__url img { width: 8px; height: 8px; }
.browser-frame__url span { font-size: 9px; color: var(--gray-600); }

/* card 2: gmb */
.gmb-card { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; padding: 10px; width: 100%; max-width: 280px; display: flex; align-items: center; gap: 10px; }
.gmb-card__icon { width: 40px; height: 40px; background: #eef2ff; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gmb-card__icon img { width: 20px; height: 20px; }
.gmb-card__name { font-family: var(--font-manrope); font-weight: 700; font-size: 12px; color: var(--gray-900); margin: 0 0 4px; }
.gmb-card__meta { font-family: var(--font-inter); font-size: 10px; color: var(--gray-600); margin: 0; }

/* card 3: neighborhood popularity */
.metric-card { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; padding: 12px; width: 100%; max-width: 280px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.metric-card__label { font-family: var(--font-inter); font-size: 9px; color: var(--gray-600); text-transform: uppercase; margin: 0 0 2px; }
.metric-card__value { font-family: var(--font-manrope); font-weight: 700; font-size: 18px; color: var(--gray-900); margin: 0; }
.metric-card__sparkline { width: 100px; height: 36px; }

/* card 4: delivery app setup */
.app-status-list { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 280px; }
.app-status-row { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-family: var(--font-inter); font-weight: 600; font-size: 11px; color: var(--gray-900); }
.app-status-row__live { display: flex; align-items: center; gap: 4px; color: var(--green); font-weight: 500; font-size: 10px; }
.app-status-row__live img { width: 6px; height: 6px; }

/* card 5: reviews */
.reviews-card { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; padding: 12px; width: 100%; max-width: 280px; display: flex; align-items: center; justify-content: space-between; }
.reviews-card__stars { display: flex; gap: 4px; }
.reviews-card__stars img { width: 14px; height: 14px; }
.reviews-card__count { display: flex; align-items: baseline; gap: 4px; }
.reviews-card__count strong { font-family: var(--font-manrope); font-weight: 700; font-size: 18px; color: var(--gray-900); }
.reviews-card__count span { font-family: var(--font-inter); font-size: 11px; color: var(--gray-600); }

/* card 6: marketing */
.marketing-graphic { width: 100%; max-width: 280px; height: auto; aspect-ratio: 280 / 70; }

/* card 7: order straight from you */
.chat-bubble-row { display: flex; align-items: flex-end; gap: 8px; width: 100%; max-width: 280px; }
.chat-bubble-row__avatar { width: 24px; height: 24px; flex-shrink: 0; }
.chat-bubble { background: #4885ed; color: #fff; font-family: var(--font-inter); font-size: 11px; line-height: 1.4; border-radius: 12px 12px 12px 4px; padding: 8px 12px; max-width: 220px; }

/* card 8: delivery team route */
.route-card { background: #fff; border: 1px solid var(--border-mid); border-radius: 6px; padding: 12px; width: 100%; max-width: 280px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.route-card__left { display: flex; align-items: center; gap: 8px; font-family: var(--font-inter); font-weight: 600; font-size: 11px; color: var(--gray-900); }
.route-card__icon { width: 24px; height: 24px; background: #eef2ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.route-card__icon img { width: 12px; height: 12px; }
.route-card__right { display: flex; align-items: center; gap: 4px; width: 100px; }
.route-card__right img:first-child { width: 6px; height: 6px; }
.route-card__line { height: 2px; background: #d1d5db; flex: 1; }
.route-card__right img:last-child { width: 10px; height: 10px; }

/* card 9: answer every call */
.call-pill { background: #000; border-radius: 24px; padding: 10px 12px; width: 100%; max-width: 280px; display: flex; align-items: center; justify-content: space-between; }
.call-pill__left { display: flex; align-items: center; gap: 8px; font-family: var(--font-inter); font-weight: 600; font-size: 11px; color: #fff; }
.call-pill__left img { width: 12px; height: 12px; }
.call-pill__waveform { display: flex; align-items: center; gap: 3px; height: 16px; }
.wf-bar { width: 2px; background: var(--green); border-radius: 1px; animation: waveform 1.2s ease-in-out infinite; }
.wf-bar--1 { height: 8px; animation-delay: 0s; }
.wf-bar--2 { height: 14px; animation-delay: 0.15s; }
.wf-bar--3 { height: 10px; animation-delay: 0.3s; }
.wf-bar--4 { height: 16px; animation-delay: 0.45s; }
.wf-bar--5 { height: 6px; animation-delay: 0.6s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.15); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* =========================== FOOTER =========================== */
.site-footer { background: var(--blue-footer); overflow: hidden; }
.site-footer__bg { position: relative; min-height: 506px; display: flex; align-items: center; overflow: hidden; }
.site-footer__app-img { position: absolute; right: -8px; top: -4px; width: 537px; height: auto; }
.site-footer__content { max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 clamp(20px, 6vw, 80px); position: relative; z-index: 1; }
.site-footer__content h2 { font-family: var(--font-sora); font-weight: 700; font-size: clamp(26px, 2.6vw + 20px, 48px); letter-spacing: -1.2px; color: #fff; margin: 0 0 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px; }
.btn--white-pill { background: #fff; color: var(--charcoal); font-size: 14px; padding: 14px 24px; border-radius: 12px; }
.btn--white-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.btn--translucent-pill { background: rgba(255,255,255,0.25); color: #fff; font-size: 14px; padding: 14px 24px; border-radius: 12px; }
.btn--translucent-pill:hover { background: rgba(255,255,255,0.38); transform: translateY(-2px); }

/* =========================== SCROLL / REVEAL ANIMATION LAYER =========================== */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
}
.fade-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.fade-in-up { opacity: 0; transform: translateY(30px); }
.fade-in-up.is-loaded { opacity: 1; transform: translateY(0); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft); }
.fade-in-up--delay1.is-loaded { transition-delay: 0.15s; }
.fade-in-up--delay2.is-loaded { transition-delay: 0.3s; }

.reveal-words { }
.reveal-words .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(4px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), filter 0.5s var(--ease-soft);
}
.reveal-words.is-revealed .reveal-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== headline word rotator (GSAP-driven) =====
   .word here is the single GSAP-tweened text node (yPercent + opacity), a
   deliberately different mechanism than .reveal-word above, so it is never
   swallowed by wrapWords() or matched by the .reveal-word transition rules. */
.rotator {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.05em;
  line-height: 1.05;
  vertical-align: bottom;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(0.5em);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), filter 0.5s var(--ease-soft);
}
.reveal-words.is-revealed .rotator {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.rotator .word {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity;
  color: var(--orange);
}

.hero-phone-float {
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* growth-section fades in as a block too */
.growth-section.fade-on-scroll,
.services-section.fade-on-scroll { }

/* =========================== RESPONSIVE =========================== */
/* Font sizes, paddings and gaps are handled by fluid clamp()/vw values inline
   with each rule above, so they scale smoothly between breakpoints instead of
   jumping. The media queries below are reserved for genuine structural
   changes: switching a composition from absolute-positioned overlay to a
   stacked flex layout, or changing a grid's column count. */

@media (max-width: 1200px) {
  .growth-cta-container { transform: scale(0.85); transform-origin: top center; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* below 1024px there's no longer room for the phone + CTA bar to overlay
     beside the subtitle, so the hero card becomes a normal in-flow stack:
     subtitle card on top, phone below it, CTA bar below that. Previously
     hero-panel__clip stayed position:absolute here, which made it overlay the
     in-flow phone/CTA rather than stack cleanly above them. */
  .hero-panel { min-height: auto; }
  .hero-panel__clip {
    position: relative;
    inset: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-panel__subtitle { padding-left: 0; max-width: 100%; }
  .hero-phone-slot {
    position: static;
    left: auto; top: auto;
    margin: 24px auto 0;
  }
  .cta-bar-slot {
    position: static;
    left: auto; top: auto;
    width: 100%;
    margin-top: 24px;
  }

  .growth-cta-container { transform: scale(0.7); }
}

@media (max-width: 860px) {
  /* below ~860px the fixed 788x684 absolute composition (phone + trust badge + CTA bar)
     no longer fits alongside the heading without overlapping, so it switches to a
     simple stacked flex layout instead of being scaled as one rigid block. */
  .growth-cta-container {
    transform: none;
    position: relative;
    width: 100%;
    max-width: 340px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .growth-phone { position: static; left: auto; top: auto; width: 220px; }
  .trust-badge {
    position: static;
    left: auto; top: auto;
    width: 100%;
    height: auto;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .trust-badge__icon { position: static; width: 64px; height: 64px; font-size: 32px; flex-shrink: 0; }
  .trust-badge__text { padding-right: 0; }
  .growth-cta-bar-slot { position: static; left: auto; top: auto; width: 100%; }
  .growth-cta-bar-slot .cta-bar { flex-direction: column; height: auto; align-items: stretch; padding: 14px; gap: 10px; }
  .growth-cta-bar-slot .cta-bar__btn { width: 100%; }

  /* the two-column tab layout (fixed-width text column + visual column) no
     longer has room to sit side by side, so panels stack vertically. */
  .tab-card { height: auto; }
  .tab-panel { position: relative; flex-direction: column; }
  .tab-panel.is-active { display: flex; }
  .tab-panel:not(.is-active) { display: none; }
  .tab-panel__left { flex: none; padding: 32px 24px 0; }
  .tab-panel__right { min-height: 360px; }

  /* below 860px the row layout (info column beside the phone) no longer
     has room to sit side by side, so it stacks into a column instead —
     height isn't capped here (.tab-card is auto below this breakpoint),
     so a vertical stack is exactly the right call at this size. */
  .google-card__cluster { flex-direction: column; }
  .google-card__info { align-items: center; }
  .google-card__caption { text-align: center; }
  .tab-panel__right--google { min-height: 560px; }

  /* .sales-card / .orders-card were built as fixed-px compositions (pills
     positioned with absolute left/top values) sized for the wide flex:1
     column they get on desktop. Below 860px that column narrows to the
     full-width mobile stack, far smaller than the canvas those children
     assume — so instead of rewriting every pill's position as a percentage,
     the whole composition is centered and scaled down as one unit.
     (.google-card no longer needs this treatment — it was rebuilt fluid.) */
  .sales-card {
    left: 50%;
    top: 12px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
  }
  .orders-card {
    left: 50%;
    top: 12px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
  }

  .site-footer__app-img { position: relative; width: 100%; opacity: 0.35; }
  .site-footer__bg { flex-direction: column; min-height: auto; padding-bottom: 24px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }

  /* 5 fully-labeled pins on a ~100px-wide phone is cramped no matter the font
     size — competitor pins collapse to plain dots so labels don't clip
     against the screen edge, and the one pin that matters (yours) stays
     labeled, which also reads better against the "Score #1" caption. */
  .map-pin:not(.map-pin--you) span { display: none; }
  .map-pin:not(.map-pin--you) { padding: 4px; gap: 0; }

  /* "Katz's Deli" at this pin's map position + the narrowest phone width
     leaves less room than the text needs at any font-size — ellipsis so it
     truncates gracefully instead of getting a hard clip off the screen edge.
     (targets .map-pin__label specifically — .map-pin--you also contains a
     .map-pin__ping span, which a bare `span:not(.map-pin__badge)` selector
     would have matched too.) */
  .map-pin--you .map-pin__label {
    display: inline-block;
    max-width: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .cta-bar__input { padding: 4px; }
  .cta-bar__input span { white-space: normal; }
  /* width:100% (not flex-basis) so this stays correct whether the parent .cta-bar
     is row-direction (hero) or column-direction (growth section, from 860px up) —
     flex-basis:100% would resolve against height in the column case and collapse it. */
  .cta-bar__btn { flex: 0 0 auto; width: 100%; }

  /* narrower still — the 860px scale factors above are still too wide, so
     shrink the same two cards a bit further at phone widths.
     (.google-card scales itself via clamp()s, no override needed here.) */
  .sales-card { transform: translateX(-50%) scale(0.58); }
  .orders-card { transform: translateX(-50%) scale(0.58); }
}

/* =========================== REDUCED MOTION =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-on-scroll, .fade-in-up, .reveal-words .reveal-word, .rotator {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-phone-float { animation: none !important; }
}
