/* ============================================================
   Latin Branding — redesign
   Dark canvas, coral accent, rounded light cards
   ============================================================ */

:root {
  --bg: #131110;
  --bg-soft: #1b1917;
  --ink: #f5f2ee;
  --ink-dim: #a8a29b;
  --coral: #f0785a;
  --coral-deep: #e2603f;
  --cream: #efedea;
  --card: #edeae6;
  --radius-lg: 28px;
  --radius-md: 16px;
  --font-body: "Poppins", -apple-system, sans-serif;
  --font-mono: "DM Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.55;
  /* clip (not hidden) so position:sticky keeps working for the orbit pin */
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.center { text-align: center; }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}

.section-sub { color: var(--ink-dim); max-width: 420px; margin-top: 18px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 400; transition: .2s;
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-coral {
  background: var(--coral); color: #2b130b;
  box-shadow: 0 4px 0 rgba(226, 96, 63, .55), 0 10px 30px rgba(240, 120, 90, .25);
}
.btn-coral:hover { background: var(--coral-deep); transform: translateY(-1px); }
.btn-ghost { background: #262320; color: var(--ink); }
.btn-ghost:hover { background: #33302c; }
.btn-outline { border: 1px solid #3c3833; color: var(--ink); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }

/* ============ Nav — blends dark, lights up on hover/open ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--bg);
  transition: background-color .25s ease, box-shadow .3s;
}
/* light state: pointer over the bar (panels are children, so hover holds) or a panel open */
.nav.mega-open { background: #f4f2ef; }
.nav.scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.14); }
.nav.mega-open { box-shadow: none; }
.nav-inner {
  width: min(1320px, 96vw); margin: 0 auto;
  display: flex; align-items: center; gap: 34px;
  padding: 12px 0;
  position: relative; z-index: 2;
}
/* logo swap: white variant on the dark bar, color variant on the light bar */
.nav-logo { display: flex; align-items: center; position: relative; }
.nav-logo img { height: 50px; width: auto; display: block; transition: opacity .25s ease; }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.mega-open .nav-logo .logo-dark { opacity: 1; }
.nav.mega-open .nav-logo .logo-light { opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--ink); opacity: .85;
  padding: 8px 12px; border-radius: 8px;
  transition: color .25s ease;
}
.nav.mega-open .nav-link { color: #23211f; }
.nav-link:hover, .nav-item.open .nav-link {
  opacity: 1;
  text-decoration: underline; text-underline-offset: 7px;
  text-decoration-thickness: 1.5px;
}
.nav-item { position: static; }
.nav-item .nav-link svg { transition: transform .2s; }
.nav-item.open .nav-link svg { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-lang {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim);
  transition: color .25s ease;
}
.nav.mega-open .nav-lang { color: #6c6862; }
/* Login pill: dark ghost on the dark bar, white on the light bar */
.btn-login {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.3); color: var(--ink);
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn-login:hover { border-color: rgba(255,255,255,.55); }
.nav.mega-open .btn-login { background: #fff; border-color: #e2ddd6; color: #23211f; }
.nav.mega-open .btn-login:hover { border-color: #c9c3ba; }
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px; position: relative; z-index: 2; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }
.nav.mega-open .nav-burger span { background: #23211f; }

/* Full-width mega panel dropping from under the bar */
.mega-panel {
  /* overlap the bar 1px so no dark hairline shows through the seam */
  position: absolute; top: calc(100% - 1px); left: 0; right: 0;
  background: #f4f2ef;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 50px 90px rgba(0,0,0,.4);
  /* keep the drop shadow from bleeding upward and tinting the bar */
  clip-path: inset(0 0 -300px 0);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .25s ease, visibility .25s;
  z-index: 1;
}
.mega-panel.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-inner {
  width: min(1320px, 96vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px;
  padding: 30px 0 42px;
}
.mega-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #8d8781; margin-bottom: 24px;
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.mega-item { display: flex; align-items: flex-start; gap: 11px; }
.mega-item .mi-ico { color: var(--coral-deep); flex: none; margin-top: 2px; display: flex; }
.mega-item strong { display: block; font-size: 14.5px; font-weight: 500; color: #23211f; transition: color .15s; }
.mega-item small { display: block; font-size: 12px; color: #8d8781; line-height: 1.4; margin-top: 2px; }
.mega-item:hover strong { color: var(--coral-deep); }
.mega-foot {
  display: inline-flex; align-items: center; gap: 11px;
  margin-top: 34px; font-size: 13.5px; color: #23211f;
}
.mega-foot:hover { color: var(--coral-deep); }
.mega-foot i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral);
  animation: megaPulse 1.8s ease-in-out infinite;
}
@keyframes megaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 120, 90, .45); }
  50% { box-shadow: 0 0 0 7px rgba(240, 120, 90, 0); }
}
.mega-visual {
  border-radius: 22px; overflow: hidden; background: #e9e5e0;
  min-height: 280px; align-self: stretch;
}
.mega-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 3D logo visual: layered SVG copies (extrusion) + slow Y rotation */
.mega-visual-logo {
  display: flex; align-items: center; justify-content: center;
  background: none;
  perspective: 900px;
}
.mega-excl {
  position: relative; width: 84px; height: 228px;
  transform-style: preserve-3d;
  animation: megaLogoSpin 16s linear infinite;
}
.mega-excl img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  transform: translateZ(var(--z));
  /* inner layers darkened so the edge reads as extruded depth */
  filter: brightness(.45);
}
.mega-excl img:first-child, .mega-excl img:last-child { filter: brightness(1); }
@keyframes megaLogoSpin {
  from { transform: rotateX(9deg) rotateY(0deg); }
  to { transform: rotateX(9deg) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mega-excl { animation: none; transform: rotateX(9deg) rotateY(24deg); }
}

/* Mobile menu: full-screen light sheet (allo-style) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: #eceae6; color: #23211f;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  pointer-events: none;
  transition: opacity .28s ease, transform .3s ease, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
body.menu-locked { overflow: hidden; }
.mm-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 6vw;
  border-bottom: 1px solid rgba(0,0,0,.08);
  flex: none;
}
.mm-logo img { height: 40px; width: auto; display: block; }
.mm-close {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; color: #23211f;
}
.mm-scroll { flex: 1; overflow-y: auto; padding: 6px 6vw 20px; -webkit-overflow-scrolling: touch; }
.mm-links { display: flex; flex-direction: column; }
.mm-links > a, .mm-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  font-size: 18px; font-weight: 400; color: #23211f;
  padding: 17px 0;
}
.mm-toggle svg { width: 11px; height: 7px; color: #55524d; transition: transform .25s; }
.mm-group.open .mm-toggle svg { transform: rotate(180deg); }
.mm-sub { display: none; padding: 2px 0 16px 10px; }
.mm-group.open .mm-sub { display: block; }
.mm-label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: #8d8781;
  padding: 6px 0 10px;
}
.mm-sub a {
  display: flex; align-items: center; gap: 13px;
  font-size: 15.5px; color: #3a3733; padding: 10.5px 0;
}
.mm-sub a:active { color: var(--coral-deep); }
.mmi-ico { color: var(--coral-deep); display: flex; flex: none; }
.mm-langs {
  display: flex; flex-direction: column; align-items: flex-start;
  margin-top: 14px; padding: 16px 0 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.mm-lang {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16.5px; color: #23211f; padding: 9px 0;
}
.mm-lang i { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.mm-lang.on i { display: inline-block; }
.mm-actions {
  flex: none;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 6vw calc(16px + env(safe-area-inset-bottom, 0px));
}
.mm-actions .btn { width: 100%; padding: 14px; font-size: 15px; border-radius: 12px; }
.mm-btn-login { background: #fff; border: 1px solid #e0dbd4; color: #23211f; }

/* On mobile the bar keeps only logo + CTA + burger */
@media (max-width: 960px) {
  .mega-panel { display: none; }
}

/* ============ Hero ============ */
.hero { padding: 150px 0 60px; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(30px, 4.5vw, 80px); align-items: center;
}
.hero-title { font-size: clamp(38px, 4.4vw, 62px); max-width: 900px; text-wrap: balance; }
.hero-sub { color: var(--ink-dim); font-size: clamp(15px, 1.4vw, 18px); margin: 26px 0 34px; }
.hero-sub strong { font-weight: 600; color: var(--ink); }
.store-badges { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.store-badges a { display: inline-block; transition: transform .2s ease, opacity .2s ease; }
.store-badges a:hover { transform: translateY(-2px); opacity: .92; }
.store-badges img { display: block; height: 46px; width: auto; }
/* the official Google Play PNG carries built-in clear space — upsize to match visually */
.store-badges a:last-child img { height: 54px; margin: -4px 0; }
.hero-pricing { margin-bottom: 26px; }
.hero-price { font-size: clamp(14px, 1.3vw, 16px); color: var(--ink); font-weight: 400; }
.hero-media img { width: 100%; height: clamp(320px, 60vh, 640px); object-fit: cover; }
.hero-media-video { display: flex; justify-content: center; }
.hero-vid { position: relative; display: inline-block; max-width: 100%; }
.hero-media-video video {
  height: clamp(400px, 62vh, 600px); width: auto; max-width: 100%; display: block;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 80px rgba(240, 120, 90, .07);
  background: #000;
}
/* animated play button: background preview plays muted; click = restart with sound */
.vid-play {
  position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border: 0; background: none; padding: 0; cursor: pointer; z-index: 3;
  display: grid; place-items: center; transition: opacity .3s ease, transform .3s ease;
}
.vid-play .vp-btn {
  position: relative; z-index: 2; width: 72px; height: 72px; border-radius: 50%;
  background: var(--coral); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px rgba(240,120,90,.55), 0 0 0 6px rgba(240,120,90,.22);
  transition: transform .25s ease, background .25s ease;
}
.vid-play .vp-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.vid-play:hover .vp-btn { transform: scale(1.08); background: var(--coral-deep); }
.vid-play .vp-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(240,120,90,.9);
  animation: vpPulse 2.2s ease-out infinite;
}
.vid-play .vp-ring2 { animation-delay: 1.1s; }
@keyframes vpPulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.hero-vid.playing .vid-play { opacity: 0; pointer-events: none; transform: scale(.8); }
@media (prefers-reduced-motion: reduce) { .vid-play .vp-ring { animation: none; opacity: .5; } }

/* ============ Hero: client showcase (site + dashboard device pairs) ============ */
.client-showcase { margin-top: clamp(56px, 7vw, 96px); }
.cs-caption {
  text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 30px;
}
.cs-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 4px; perspective: 1800px; }
/* --s drives both the layout box and the scale so siblings never overlap */
.cs-slot { --s: .72; width: calc(520px * var(--s)); height: calc(410px * var(--s)); position: relative; flex: none; }
.cs-stage {
  position: absolute; top: 0; left: 0; width: 520px; height: 380px;
  transform: scale(var(--s)); transform-origin: top left;
  transition: transform .45s cubic-bezier(.16,1,.3,1), filter .45s ease;
}
.cs-slot:hover .cs-stage { transform: scale(var(--s)) translateY(-10px) scale(1.035); filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.cs-slot.reveal { transition-delay: var(--d, 0s); }

/* tablet — branded dashboard */
.cs-tablet {
  position: absolute; top: 0; right: 0; width: 500px;
  background: #0d0c0c; border-radius: 22px; padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 36px 80px rgba(0,0,0,.55);
  transform: rotateY(-9deg) rotateX(2deg); transform-origin: right center;
}
.cs-screen {
  position: relative; height: 352px; border-radius: 14px; overflow: hidden; background: #f6f8fa;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body), sans-serif; color: #1a1a1a;
}
.cs-top { height: 44px; background: #fff; border-bottom: 1px solid #eceef1; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex: none; }
.cs-brand { display: flex; align-items: center; gap: 8px; }
.cs-brand b { font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.cs-logo { height: 22px; width: 22px; border-radius: 5px; object-fit: cover; display: block; }
.cs-logo-full { height: 18px; width: auto; display: block; }
.cs-topr { display: flex; align-items: center; gap: 8px; }
.cs-topr i { width: 88px; height: 18px; border-radius: 999px; background: #f1f3f5; }
.cs-topr b { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.cs-body { flex: 1; padding: 13px 16px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; min-height: 0; }
.cs-head { display: flex; align-items: baseline; justify-content: space-between; }
.cs-head b { font-size: 13px; font-weight: 700; }
.cs-head small { font-size: 10px; color: #94a0ad; }
.cs-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cs-kpi { background: #fff; border: 1px solid #eceef1; border-radius: 10px; padding: 9px 9px 10px; }
.cs-kpi i { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.cs-kpi i svg { width: 12px; height: 12px; }
.cs-kpi small { display: block; font-size: 8.5px; color: #94a0ad; font-weight: 600; line-height: 1.1; margin-bottom: 3px; }
.cs-kpi div { display: flex; align-items: baseline; gap: 4px; }
.cs-kpi strong { font-size: 14px; font-weight: 800; }
.cs-kpi em { font-style: normal; font-size: 8px; font-weight: 700; color: #16a34a; }
.cs-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; flex: 1; min-height: 0; }
.cs-chart, .cs-list { background: #fff; border: 1px solid #eceef1; border-radius: 10px; display: flex; flex-direction: column; }
.cs-chart { padding: 10px 12px; }
.cs-chart > b, .cs-list > b { font-size: 9.5px; font-weight: 700; margin-bottom: 2px; }
.cs-chart small { font-size: 8px; color: #94a0ad; margin-bottom: 8px; }
.cs-bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; flex: 1; }
.cs-bars span { width: 100%; border-radius: 3px; }
.cs-list { padding: 10px 11px; gap: 7px; }
.cs-act { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cs-act > div { min-width: 0; }
.cs-rt { display: block; font-size: 9.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-tag { display: inline-block; margin-top: 2px; font-size: 7.5px; font-weight: 700; border-radius: 999px; padding: 1px 6px; }
.cs-won { background: rgba(22,163,74,.12); color: #16a34a; }
.cs-sent { background: rgba(217,119,6,.14); color: #b45309; }
.cs-new { background: #eef1f4; color: #64748b; }
.cs-act > b { font-size: 9.5px; font-weight: 700; color: #475569; flex-shrink: 0; }
.cs-foot { height: 22px; border-top: 1px solid #eceef1; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 7.5px; color: #aab4bf; letter-spacing: .3px; flex: none; }

/* phone — client's live website */
.cs-phone {
  position: absolute; bottom: -6px; left: -6px; z-index: 4;
  width: 132px; height: 276px; background: #0d0c0c; border-radius: 26px; padding: 6px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 50px rgba(0,0,0,.55);
  animation: csFloat 5.2s ease-in-out infinite;
}
.cs-slot:hover .cs-phone { animation-play-state: paused; }
.cs-pscreen { position: relative; height: 100%; border-radius: 21px; overflow: hidden; background: #fff; }
.cs-pscreen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; pointer-events: none; user-select: none; }
.cs-pscreen i { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 44px; height: 12px; border-radius: 999px; background: #0d0c0c; z-index: 5; }
@keyframes csFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 3-up must fit min(1180px, 92vw): slot ≈ (container - 2 gaps) / 3 / 520 */
@media (max-width: 1279px) { .cs-slot { --s: .62; } }
@media (max-width: 1099px) { .cs-slot { --s: .55; } }
@media (max-width: 959px)  { .cs-slot { --s: .74; } .cs-row { gap: 12px 20px; } } /* wraps 2+1 / stacked */
@media (max-width: 420px)  { .cs-slot { --s: .56; } }
@media (prefers-reduced-motion: reduce) { .cs-phone { animation: none; } .cs-stage { transition: none; } }

/* ============ Trusted marquee ============ */
.trusted { padding: 70px 0 30px; }
.marquee { overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { white-space: nowrap; font-size: 20px; font-weight: 400; color: #6e6862; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Orbit / All-in-One ============ */
.orbit { padding: 90px 0 0; text-align: center; }
.orbit-pin { height: 260vh; position: relative; }
.orbit-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.orbit-stage { position: relative; height: 480px; width: min(1000px, 92vw); margin: 0 auto; }
.orbit-stage .chip { will-change: transform, opacity; }
.orbit-stage.scrub .chip { animation: none; }
#orbitLabel { display: inline-block; }
.orbit-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  perspective: 900px;
}

/* 3D logo mark built from stacked copies of the SVG */
.excl {
  position: relative; width: 66px; height: 180px;
  transform-style: preserve-3d;
}
.excl img {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%;
  transform: translateZ(var(--z));
  /* inner layers darkened so the edge reads as extruded depth */
  filter: brightness(.45);
}
.excl img:first-child, .excl img:last-child {
  filter: brightness(1);
}

.orbit-tagline {
  position: absolute; left: 50%; top: calc(50% + 118px);
  transform: translateX(-50%);
  width: max-content; max-width: 92vw;
  text-align: center; opacity: 0;
}
.orbit-tagline .ot { opacity: 0; will-change: transform, opacity; }
.ot-l1 {
  font-size: clamp(26px, 3.4vw, 42px); font-weight: 300;
  letter-spacing: -.02em; line-height: 1.15; color: var(--ink);
}
.ot-l2 {
  font-size: clamp(32px, 4.6vw, 58px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.1; margin-top: 2px;
  background: linear-gradient(92deg, var(--coral) 10%, #f5b301 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ot-l3 {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
  font-family: var(--font-mono); font-size: clamp(10px, 1.1vw, 12.5px);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim);
}
.ot-l3 i { font-style: normal; color: var(--coral); }
.orbit-phone {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 250px; height: 300px;
  border-radius: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 400;
}
/* scroll-drawn outline (allo-style): conic sweep from top center, masked to a thin ring */
.op-ring {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  --p: 0;
  background: conic-gradient(from 0deg,
    rgba(240, 120, 90, .85) calc(var(--p) * 1turn - 2deg),
    rgba(240, 120, 90, 0) calc(var(--p) * 1turn));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: clamp(0, calc(var(--p) * 30), 1);
}
.op-ring.full { background: rgba(240, 120, 90, .85); }
@media (prefers-reduced-motion: reduce) {
  .op-ring { --p: 1 !important; background: rgba(240, 120, 90, .85); }
}
.orbit-photo {
  position: absolute; margin: 0;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  animation: floaty 7s ease-in-out infinite;
  will-change: transform, opacity;
}
.orbit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oph-1 { width: 212px; height: 148px; right: 20%; top: -16%; animation-delay: -2s; }
.oph-2 { width: 196px; height: 136px; left: 8%; top: -18%; animation-delay: -4.6s; }
.oph-3 { width: 150px; height: 198px; right: 3%; bottom: -22%; animation-delay: -1.1s; }
.oph-4 { width: 150px; height: 198px; left: 1%; bottom: -26%; animation-delay: -3.4s; }
.orbit-stage.scrub .orbit-photo { animation: none; }

.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: #211e1c; border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 10px 16px;
  font-size: 13.5px; color: #cfc9c2;
  animation: floaty 6s ease-in-out infinite;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.chip-1 { left: 6%; top: 18%; animation-delay: 0s; }
.chip-2 { right: 4%; top: 8%; animation-delay: -1.2s; }
.chip-3 { left: 14%; bottom: 12%; animation-delay: -2.4s; }
.chip-4 { right: 12%; bottom: 22%; animation-delay: -3.1s; }
.chip-5 { left: 30%; top: 2%; animation-delay: -1.8s; }
.chip-6 { right: 26%; bottom: 2%; animation-delay: -4s; }
.chip-7 { left: 2%; top: 52%; animation-delay: -2.8s; }
.chip-8 { right: 1%; top: 52%; animation-delay: -0.6s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.orbit-copy h3 { font-size: clamp(26px, 3vw, 38px); margin-top: 40px; }
.orbit-copy p { color: var(--ink-dim); margin-top: 12px; }
.orbit-icon { display: flex; justify-content: center; padding: 90px 0 20px; }
.app-icon {
  width: 118px; height: 118px; border-radius: 30px;
  border: 1px solid rgba(240, 120, 90, .6);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--coral); font-weight: 500;
  box-shadow: 0 0 70px rgba(240, 120, 90, .25), 0 0 40px rgba(240, 120, 90, .15) inset;
}

/* ============ Light cards (soluciones / testimonios) ============ */
.light-card { padding: 24px 10px; }
.light-card-inner {
  background: var(--card); color: #21201e;
  border-radius: var(--radius-lg);
  width: min(1400px, 100%); margin: 0 auto;
  padding: clamp(36px, 5vw, 70px);
}
.light-card .eyebrow { color: var(--coral-deep); }
.light-card h2 { color: #191817; }
.light-card .section-sub { color: #6c6862; }

.demo-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: start; }

.demo-hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 36px 0 14px; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--coral-deep); font-weight: 500;
}
.demo-hint svg { width: 15px; height: 15px; }

.sol-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #e6e3de; border: 1px solid #d6d2cc;
  border-radius: 100px; padding: 11px 20px 11px 15px;
  font-size: 14px; font-weight: 400; color: #35322e;
  font-family: inherit; cursor: pointer;
  transition: .2s;
}
.sol-pill svg { width: 17px; height: 17px; color: var(--coral-deep); transition: .2s; }
.sol-pill:hover {
  background: #191817; border-color: #191817; color: #f5f2ee;
  transform: translateY(-2px);
}
.sol-pill:hover svg { color: var(--coral); }
.sol-pill.active {
  background: var(--coral-deep); border-color: var(--coral-deep); color: #fff;
  box-shadow: 0 8px 24px rgba(214, 84, 46, .35);
}
.sol-pill.active svg { color: #fff; }
.sol-pill-more { background: transparent; border-style: dashed; color: #6c6862; padding: 11px 15px 11px 20px; }
.sol-pill-more svg { color: currentColor; }

/* ---- Demo stage: tabs + phone ---- */
.demo-stage { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.demo-tab {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 100px; overflow: hidden;
  background: #eae7e2; border: 1px solid #dcd8d2; color: #6c6862;
  font-family: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: .2s;
}
.demo-tab svg { width: 14px; height: 14px; }
.demo-tab.active { background: #191817; border-color: #191817; color: #fff; }
.demo-tab i {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--coral); border-radius: 2px;
}
.demo-tab.active i { animation: tabProgress 5s linear forwards; }
@keyframes tabProgress { from { width: 0; } to { width: 100%; } }

.demo-phone { box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.demo-screen { position: relative; height: 430px; overflow: hidden; padding: 16px 14px; }

.scene {
  position: absolute; inset: 16px 14px;
  opacity: 0; transform: translateX(18px); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.scene.on { opacity: 1; transform: none; pointer-events: auto; }

/* staggered entrance for elements inside the active scene */
.scene .an { opacity: 0; transform: translateY(10px); }
.scene.on .an { animation: sceneIn .45s cubic-bezier(.2,.7,.3,1) forwards; }
.scene.on .an-1 { animation-delay: .15s; }
.scene.on .an-2 { animation-delay: .75s; }
.scene.on .an-3 { animation-delay: 1.5s; }
.scene.on .an-4 { animation-delay: 2.3s; }
.scene.on .an-5 { animation-delay: 3s; }
.scene.on .an-6 { animation-delay: 3.4s; }
.scene.on .an-7 { animation-delay: 3.8s; }
@keyframes sceneIn { to { opacity: 1; transform: none; } }

.scene-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e4e0da; margin-bottom: 12px; }
.scene-head strong { font-size: 13px; font-weight: 500; display: block; }
.scene-head small { color: #8b857e; font-size: 11px; }
.sc-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: var(--coral); color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}
.sc-avatar-coral { background: #f6e3dc; }
.sc-avatar-g { background: #fff; border: 1px solid #e4e0da; color: #4285F4; font-weight: 600; }

/* Scene 1 — SMS chat */
.chat { display: flex; flex-direction: column; gap: 8px; }
.bub {
  max-width: 82%; padding: 9px 13px; border-radius: 16px;
  font-size: 12px; line-height: 1.45;
}
.bub-out { align-self: flex-end; background: var(--coral); color: #fff; border-bottom-right-radius: 4px; }
.bub-in { align-self: flex-start; background: #e8e5e0; color: #35322e; border-bottom-left-radius: 4px; }
.bub-pay { background: #fff; border: 1px solid #eee6e0; color: #35322e; padding: 10px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.bub-pay-top { display: block; font-size: 11.5px; color: #6c6862; margin-bottom: 7px; }
.bub-pay-top b { color: #191817; }
.bub-pay-btn {
  display: block; text-align: center; background: #191817; color: #fff;
  padding: 8px; border-radius: 9px; font-size: 12px; font-weight: 500;
}
.bub-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.bub-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #a29b92;
  animation: typing 1s infinite;
}
.bub-typing span:nth-child(2) { animation-delay: .15s; }
.bub-typing span:nth-child(3) { animation-delay: .3s; }
.chat-time { text-align: center; font-size: 9.5px; color: #9b958d; margin-bottom: 2px; }
.chat-status { align-self: flex-end; font-size: 9px; color: #9b958d; margin: -4px 4px 0 0; }
@keyframes typing { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }

.paid-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; padding: 10px; border-radius: 12px;
  background: #d9f2e3; color: #17784a; font-size: 12px; font-weight: 500;
}
.paid-banner svg { width: 15px; height: 15px; }
.paid-banner b { font-weight: 600; }

/* Scene 2 — Invoice */
.inv-card {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  padding: 16px 14px; position: relative; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.inv-card header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid #f0ece7; margin-bottom: 4px; }
.inv-card header strong { font-size: 13px; display: block; }
.inv-card header small { color: #9b958d; font-size: 10.5px; }
.inv-row { display: flex; justify-content: space-between; font-size: 12px; padding: 9px 0; border-bottom: 1px solid #f4f1ec; color: #55514b; }
.inv-row b { color: #191817; font-weight: 500; }
.inv-green { color: #1e9e63 !important; }
.inv-total { display: flex; justify-content: space-between; padding-top: 12px; font-size: 14px; font-weight: 500; }
.inv-total b { color: var(--coral-deep); }
.inv-stamp {
  position: absolute; top: 44%; right: 16px; transform: rotate(-12deg);
  border: 2.5px solid #1e9e63; color: #1e9e63; border-radius: 8px;
  padding: 4px 12px; font-size: 15px; font-weight: 600; letter-spacing: .08em;
}
.scene.on .inv-stamp { animation: stampIn .4s cubic-bezier(.2,.7,.3,1.4) forwards; animation-delay: 4.2s; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-12deg) scale(2); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.inv-note { text-align: center; margin-top: 14px; font-size: 11.5px; color: #8b857e; }

/* realistic invoice details */
.inv-real { padding: 14px; }
.inv-real .inv-stamp { opacity: 0; }
.inv-biz { font-size: 15px; font-weight: 700; color: #191817; letter-spacing: -.02em; }
.inv-biz b { color: var(--coral-deep); }
.inv-real header small { display: block; line-height: 1.5; margin-top: 3px; }
.inv-meta { text-align: right; flex: 0 0 auto; }
.inv-meta strong { font-size: 11px; letter-spacing: .12em; color: #191817; }
.inv-meta small { display: block; white-space: nowrap; line-height: 1.5; }
.inv-bill { background: #faf8f5; border-radius: 8px; padding: 7px 10px; margin: 10px 0 4px; }
.inv-bill small { display: block; font-size: 8px; letter-spacing: .12em; color: #9b958d; font-weight: 600; }
.inv-bill span { font-size: 10.5px; color: #35322e; }
.inv-cols {
  display: flex; justify-content: space-between; padding: 7px 0 4px;
  font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #9b958d; font-weight: 600; border-bottom: 1px solid #f0ece7;
}
.inv-pay {
  display: block; text-align: center; margin-top: 11px;
  background: var(--coral-deep); color: #fff; border-radius: 9px;
  padding: 9px; font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(214,84,46,.3);
}

/* Scene 3 — Citas */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 12px; }
.week span {
  text-align: center; font-size: 11px; padding: 7px 0; border-radius: 8px;
  color: #9b958d; background: #eceae5;
}
.week .wk-on { background: var(--coral); color: #fff; font-weight: 500; }
.apt {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px;
}
.apt-time { font-size: 13px; font-weight: 500; color: var(--coral-deep); text-align: center; line-height: 1.1; flex: 0 0 40px; }
.apt-time small { display: block; font-size: 8.5px; color: #9b958d; }
.apt strong { font-size: 12px; font-weight: 500; display: block; }
.apt small { font-size: 10.5px; color: #9b958d; }
.apt .tag { margin-left: auto; flex: 0 0 auto; }
.apt > div { min-width: 0; }
.apt > div strong, .apt > div small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Scene 4 — Reviews */
.rev-score { margin-left: auto; font-size: 22px; font-weight: 600; color: #191817; }
.rev-stars { display: flex; justify-content: center; gap: 6px; margin: 14px 0 16px; }
.rev-stars svg { width: 26px; height: 26px; fill: #f5b301; }
.scene.on .rev-stars svg { opacity: 0; transform: scale(.3); animation: starPop .35s cubic-bezier(.2,.7,.3,1.5) forwards; }
.scene.on .rev-stars svg:nth-child(1) { animation-delay: .9s; }
.scene.on .rev-stars svg:nth-child(2) { animation-delay: 1.1s; }
.scene.on .rev-stars svg:nth-child(3) { animation-delay: 1.3s; }
.scene.on .rev-stars svg:nth-child(4) { animation-delay: 1.5s; }
.scene.on .rev-stars svg:nth-child(5) { animation-delay: 1.7s; }
@keyframes starPop { to { opacity: 1; transform: scale(1); } }
.rev-card {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  padding: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.rev-card header { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.rev-card header strong { font-size: 12.5px; font-weight: 500; display: block; }
.rev-card header small { font-size: 10.5px; color: #9b958d; }
.rev-mini { margin-left: auto; color: #f5b301; font-size: 12px; letter-spacing: 1px; }
.rev-card p { font-size: 11.5px; line-height: 1.55; color: #55514b; }

/* ---- Soluciones: 3D wheel of 5 animated tablets ---- */
.kp3d-inner { text-align: center; position: relative; overflow: hidden; }
.kp3d-inner .section-sub { margin-left: auto; margin-right: auto; }
.ring-wrap { margin-top: 10px; }
.ring-stage {
  position: relative; height: 800px;
  perspective: 1600px; perspective-origin: 50% 20%;
  /* drag to rotate: horizontal drags are ours, vertical stays with the page */
  touch-action: pan-y;
  cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.ring-stage.dragging { cursor: grabbing; }
.ring-stage.dragging .ring-card { cursor: grabbing; }
.ring {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.24,.8,.22,1);
}
.ring-card {
  position: absolute; left: 50%; top: 50%;
  width: 236px; height: 470px; margin: -251px 0 0 -118px;
  padding: 0; border: 0; background: none;
  font-family: inherit; cursor: pointer; text-align: left;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
/* device thickness: a dense stack of plates at 1px depth increments behind the
   front face — reads as one solid machined edge at any rotation angle (two
   spaced plates left a visible hollow gap when seen near edge-on) */
.tab-depth {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.24,.8,.22,1);
}
.ring-card.on .tab-depth { transform: translateY(-14px); }
.tab-depth i {
  position: absolute; inset: 0; border-radius: 35px;
  background: linear-gradient(160deg, #55504a, #2b2823 36%, #191715 80%);
  backface-visibility: hidden;
  opacity: var(--fade, 1);
}
.tab-depth i:nth-child(1) { transform: translateZ(-1px); }
.tab-depth i:nth-child(2) { transform: translateZ(-2px); }
.tab-depth i:nth-child(3) { transform: translateZ(-3px); }
.tab-depth i:nth-child(4) { transform: translateZ(-4px); }
.tab-depth i:nth-child(5) { transform: translateZ(-5px); }
.tab-depth i:nth-child(6) { transform: translateZ(-6px); }
.tab-depth i:nth-child(7) { transform: translateZ(-7px); }
.tab-depth i:nth-child(8) { transform: translateZ(-8px); }
.tab-depth i:nth-child(9) { transform: translateZ(-9px); }
.tab-depth i:nth-child(10) { transform: translateZ(-10px); }
.tab-depth i:nth-child(11) { transform: translateZ(-11px); }
.tab-depth i:nth-child(12) {
  transform: translateZ(-12px);
  background: linear-gradient(160deg, #3b3731, #1b1917 60%);
  box-shadow: 0 30px 56px rgba(20,18,16,.38);
}
/* soft contact shadow under each tablet */
.tab-shadow {
  position: absolute; left: 6%; right: 6%; bottom: -20px; height: 30px;
  transform: translateZ(-14px);
  background: radial-gradient(ellipse at center, rgba(15,14,13,.4), transparent 68%);
  filter: blur(5px);
  backface-visibility: hidden; pointer-events: none;
  opacity: var(--fade, 1);
}
/* tablet front: slim near-black frame with a metallic edge highlight */
.rc-in {
  position: relative; display: flex; flex-direction: column;
  width: 100%; height: 100%; padding: 7px;
  background: linear-gradient(158deg, #3a3a3d, #0d0d0f 30%, #0d0d0f 70%, #45454a);
  border: 1px solid rgba(255,255,255,.16); border-radius: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.5),
    inset 1px 0 0 rgba(255,255,255,.05),
    0 18px 34px rgba(20,18,16,.25);
  backface-visibility: hidden;
  opacity: var(--fade, 1);
  transition: transform .6s cubic-bezier(.24,.8,.22,1), border-color .6s, box-shadow .6s, opacity .5s ease;
}
.ring-card:not(.on) { pointer-events: none; }
.ring-card.on .rc-in {
  transform: translateY(-14px);
  border-color: rgba(240,120,90,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 34px 60px rgba(20,18,16,.42), 0 0 0 1px rgba(240,120,90,.25), 0 18px 60px rgba(240,120,90,.22);
}
.ring-card:not(.on) .tab-screen { filter: brightness(.86) saturate(.88); }
/* phone screen + iOS chrome */
.ph-screen {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  background: #f6f7f9; color: #1b1d22; border-radius: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body), sans-serif;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ph-island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 66px; height: 20px; border-radius: 999px; background: #000;
}
.ph-status {
  position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 18px;
  font-size: 10px; font-weight: 600; color: #1b1d22;
}
.ph-status span { display: inline-flex; align-items: center; gap: 3px; }
.ph-status svg { height: 8px; width: auto; display: block; }
.ph-home {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 36%; height: 3.5px; border-radius: 999px; background: #000; opacity: .8;
}
/* every scene renders into this exact 220x400 box (status bar above, home indicator below) */
.sc-wrap {
  position: absolute; top: 26px; bottom: 30px; left: 1px; right: 1px;
  display: flex; flex-direction: column; text-align: left;
}
.sc-wrap i, .sc-wrap em { font-style: normal; }
.sc-wrap u { text-decoration: none; }

/* ===== scene 1 — customer pays an invoice from a text message =====
   shared tokens: ink #1b1d22 / ink-2 #3d434e / muted #8b909c / mark #c9cdd6
   hairline #eef0f4 / outline #e9ebef / ground #f6f7f9 / surface #fff
   blue #0b84ff (iOS chrome) / coral #f0785a (primary action) / green #16a34a
   radii: card 14 / inset 12 / control 10 / tile 8 / pill 999
   rhythm: 12px gutter, 12px card padding                                  */
.sc-1 {
  display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden;
  background: #fff; color: #1b1d22; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sc-1 i, .sc-1 em { font-style: normal; }

/* conversation header */
.p1-nav {
  flex: none; display: grid; grid-template-columns: 18px 1fr 18px;
  align-items: center; gap: 4px; padding: 2px 12px 6px;
  background: #f6f7f9; border-bottom: 1px solid #e9ebef;
}
.p1-back, .p1-ft { display: inline-flex; align-items: center; color: #0b84ff; }
.p1-ft { justify-self: end; }
.p1-who { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.p1-av {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #37855a, #1f6440);
  color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
}
.p1-name {
  display: inline-flex; align-items: center; gap: 3px; max-width: 100%;
  font-size: 10px; color: #1b1d22; white-space: nowrap; overflow: hidden;
}
.p1-chev { display: inline-flex; flex: none; color: #8b909c; }

/* thread */
.p1-thread {
  flex: 1; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 2px; padding: 10px 12px 8px;
}
.p1-stamp { align-self: center; font-size: 9.5px; color: #8b909c; margin-bottom: 7px; }
.p1-time { font-weight: 600; color: #8b909c; }
.p1-b {
  position: relative; max-width: 82%; padding: 7px 11px; border-radius: 16px;
  font-size: 12.5px; line-height: 1.34; word-wrap: break-word;
}
.p1-in { align-self: flex-start; background: #e9e9eb; color: #1b1d22; }
.p1-out { align-self: flex-end; background: #0b84ff; color: #fff; }
.p1-in::before  { content: ""; position: absolute; bottom: 0; left: -6px; width: 17px; height: 17px; background: #e9e9eb; border-bottom-right-radius: 15px; }
.p1-in::after   { content: ""; position: absolute; bottom: 0; left: -17px; width: 17px; height: 17px; background: #fff; border-bottom-right-radius: 9px; }
.p1-out::before { content: ""; position: absolute; bottom: 0; right: -6px; width: 17px; height: 17px; background: #0b84ff; border-bottom-left-radius: 15px; }
.p1-out::after  { content: ""; position: absolute; bottom: 0; right: -17px; width: 17px; height: 17px; background: #fff; border-bottom-left-radius: 9px; }
.p1-del { align-self: flex-end; font-size: 9px; color: #8b909c; margin: 3px 3px 9px 0; }
.p1-b1 { transform-origin: 0 100%; }

/* tappable pay card — two faces that flip */
.p1-card {
  position: relative; align-self: flex-start;
  width: 178px; height: 122px; margin-top: 6px;
  perspective: 620px;
}
.p1-face, .p1-done {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px;
  box-shadow: 0 3px 10px rgba(23,25,35,.09);
  backface-visibility: hidden;
}
.p1-face { padding: 12px; transform: rotateX(0deg); }
.p1-top { display: flex; align-items: center; gap: 8px; }
.p1-ico {
  flex: none; width: 23px; height: 23px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f58a6e, #f0785a);
  color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 5px rgba(240,120,90,.3);
}
.p1-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.p1-ttl { font-size: 12px; font-weight: 600; color: #1b1d22; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p1-sub { font-size: 9.5px; color: #8b909c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p1-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
  margin-top: 9px; padding-top: 8px; border-top: 1px solid #eef0f4;
}
.p1-lbl { font-size: 10px; color: #8b909c; }
.p1-amt { font-size: 14.5px; font-weight: 700; color: #1b1d22; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.p1-pay {
  margin-top: auto; display: block; height: 30px; line-height: 30px; text-align: center;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, #f58a6e, #f0785a); border-radius: 10px;
  box-shadow: 0 3px 8px rgba(240,120,90,.34), inset 0 1px 0 rgba(255,255,255,.28);
}
/* tap: fingertip + ripple, centred on the Pay button */
.p1-ring, .p1-dot { position: absolute; left: 50%; bottom: 27px; border-radius: 50%; opacity: 0; }
.p1-ring {
  width: 26px; height: 26px; margin: 0 0 -13px -13px; transform: scale(.35);
  background: rgba(240,120,90,.16); border: 1.5px solid rgba(240,120,90,.5);
}
.p1-dot {
  width: 32px; height: 32px; margin: 0 0 -16px -16px; transform: scale(1.75);
  background: rgba(16,21,31,.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 0 0 6px rgba(16,21,31,.07);
}

/* success face */
.p1-done {
  align-items: center; justify-content: center; text-align: center;
  gap: 2px; padding: 12px;
  opacity: 0; transform: rotateX(90deg);
}
.p1-ck {
  width: 29px; height: 29px; margin-bottom: 5px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #16a34a; box-shadow: 0 4px 10px rgba(22,163,74,.28);
}
.p1-tick { fill: none; stroke: #fff; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 19; stroke-dashoffset: 0; }
.p1-ok { font-size: 11.5px; font-weight: 600; color: #16a34a; }
.p1-big { font-size: 15px; font-weight: 700; color: #1b1d22; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.p1-cardno { font-size: 9.5px; color: #8b909c; letter-spacing: .02em; }

/* input bar */
.p1-bar { flex: none; display: flex; align-items: center; gap: 7px; padding: 6px 12px 9px; }
.p1-plus {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e4e6eb; color: #8b909c;
  display: inline-flex; align-items: center; justify-content: center;
}
.p1-input {
  flex: 1; min-width: 0; height: 24px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #e9ebef; border-radius: 999px; padding: 0 6px 0 10px;
  font-size: 11px; color: #8b909c;
}
.p1-mic { display: inline-flex; flex: none; color: #8b909c; }

/* ---- animation (front device only) ---- */
.ring-card.play .p1-b1   { animation: p1Bubble 5.2s ease infinite; }
.ring-card.play .p1-card { animation: p1Card 5.2s ease infinite; }
.ring-card.play .p1-face { animation: p1Front 5.2s ease infinite; }
.ring-card.play .p1-done { animation: p1Back 5.2s ease infinite; }
.ring-card.play .p1-ck   { animation: p1Pop 5.2s ease infinite; }
.ring-card.play .p1-tick { animation: p1Tick 5.2s ease infinite; }
.ring-card.play .p1-dot  { animation: p1Tap 5.2s ease infinite; }
.ring-card.play .p1-ring { animation: p1Ripple 5.2s ease infinite; }
.ring-card.play .p1-pay  { animation: p1Press 5.2s ease infinite; }

@keyframes p1Bubble {
  0%, 1%   { opacity: 0; transform: translateY(9px) scale(.9); }
  8%       { opacity: 1; transform: translateY(-1px) scale(1.015); }
  11%, 90% { opacity: 1; transform: none; }
  96.5%    { opacity: 0; transform: translateY(-6px); }
  100%     { opacity: 0; transform: translateY(9px) scale(.9); }
}
@keyframes p1Card {
  0%, 10%  { opacity: 0; transform: translateY(12px) scale(.93); }
  17%      { opacity: 1; transform: translateY(-1px) scale(1.012); }
  20%, 33% { opacity: 1; transform: none; }
  36%      { opacity: 1; transform: scale(.965); }
  41%      { opacity: 1; transform: none; }
  47%      { opacity: 1; transform: translateY(-3px) scale(1.03); }
  56%, 90% { opacity: 1; transform: none; }
  96.5%    { opacity: 0; transform: translateY(-6px); }
  100%     { opacity: 0; transform: translateY(12px) scale(.93); }
}
@keyframes p1Front {
  0%       { opacity: 1; transform: rotateX(0deg); }
  42%      { opacity: 1; transform: rotateX(0deg); animation-timing-function: cubic-bezier(.42,0,.86,.6); }
  46%      { opacity: 1; transform: rotateX(-87deg); }
  46.5%    { opacity: 0; transform: rotateX(-90deg); }
  97.5%    { opacity: 0; transform: rotateX(-90deg); }
  100%     { opacity: 1; transform: rotateX(0deg); }
}
@keyframes p1Back {
  0%, 46%  { opacity: 0; transform: rotateX(90deg); }
  46.5%    { opacity: 1; transform: rotateX(87deg); animation-timing-function: cubic-bezier(.2,.6,.3,1); }
  52%      { opacity: 1; transform: rotateX(-7deg); }
  56%, 97.5% { opacity: 1; transform: rotateX(0deg); }
  100%     { opacity: 0; transform: rotateX(90deg); }
}
@keyframes p1Pop {
  0%, 48%  { opacity: 0; transform: scale(.35); }
  56%      { opacity: 1; transform: scale(1.14); }
  60%, 97.5% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(.35); }
}
@keyframes p1Tick {
  0%, 53%  { stroke-dashoffset: 19; }
  62%, 97.5% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: 19; }
}
@keyframes p1Tap {
  0%, 29%  { opacity: 0; transform: scale(1.75); }
  35%, 38% { opacity: 1; transform: scale(1); }
  43%      { opacity: 0; transform: scale(1.1); }
  100%     { opacity: 0; transform: scale(1.75); }
}
@keyframes p1Ripple {
  0%, 34%  { opacity: 0; transform: scale(.35); }
  36%      { opacity: .9; transform: scale(.5); }
  45%      { opacity: 0; transform: scale(2.7); }
  100%     { opacity: 0; transform: scale(.35); }
}
@keyframes p1Press {
  0%, 33%  { filter: none; }
  36%, 38% { filter: brightness(.88) saturate(1.1); }
  42%      { filter: none; }
  100%     { filter: none; }
}
/* ---------- scene 2 — customer signs the estimate ---------- */
.sc-2 {
  display: flex; flex-direction: column; gap: 0; padding: 0;
  background: #f6f7f9; color: #1b1d22; overflow: hidden; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sc-2 i, .sc-2 em { font-style: normal; }

/* nav chrome */
.p2-nav {
  flex: none; height: 26px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 12px; color: #0b84ff;
}
.p2-back { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; }
.p2-back svg { width: 6px; height: 10px; display: block; }
.p2-tools { display: inline-flex; }
.p2-tools svg { width: 13px; height: 13px; display: block; }

/* the document */
.p2-doc {
  position: relative; flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  margin: 0 12px 12px; padding: 12px;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(23,25,35,.08);
}
.p2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.p2-head b { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #1b1d22; }
.p2-head em { font-size: 10.5px; color: #8b909c; font-variant-numeric: tabular-nums; }

.p2-biz {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; padding-bottom: 11px; border-bottom: 1px solid #eef0f4;
}
.p2-mark {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px;
  background: linear-gradient(180deg, #37855a, #1f6440);
  color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center;
}
.p2-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.p2-who b { font-size: 11.5px; font-weight: 600; color: #1b1d22; }
.p2-who em { font-size: 9.5px; color: #8b909c; }

.p2-items { display: flex; flex-direction: column; gap: 9px; padding-top: 11px; }
.p2-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.p2-row i { font-size: 11px; color: #3d434e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p2-row i em { font-size: 9px; color: #8b909c; margin-left: 3px; }
.p2-row b { flex: none; font-size: 11px; font-weight: 600; color: #1b1d22; white-space: nowrap; font-variant-numeric: tabular-nums; }

.p2-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-top: 11px; padding-top: 10px; border-top: 1px solid #eef0f4;
}
.p2-total i { font-size: 11px; color: #8b909c; letter-spacing: .02em; }
.p2-total b { font-size: 15px; font-weight: 800; color: #1b1d22; font-variant-numeric: tabular-nums; }

.p2-lab { display: flex; margin: 12px 0 8px; }
.p2-lab i { font-size: 9px; font-weight: 700; letter-spacing: .1em; color: #8b909c; }

/* signature field — base state is the finished, signed frame */
.p2-sig {
  position: relative; flex: 1; min-height: 92px;
  border: 1.5px dashed #b7e2c6; border-radius: 12px; background: #f4fbf6;
}
/* the ink is pinned to the ruled line, so a taller field just adds air above it */
.p2-ink { position: absolute; left: 12px; right: 12px; bottom: 20px; height: auto; }
.p2-stroke { stroke-dasharray: 800; stroke-dashoffset: 0; }
.p2-base { position: absolute; left: 14px; right: 14px; bottom: 25px; height: 1px; background: #c9cdd6; }
.p2-x { position: absolute; left: 14px; bottom: 26px; font-size: 9px; font-weight: 700; color: #c9cdd6; }
.p2-cap {
  position: absolute; left: 14px; right: 14px; bottom: 8px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
}
.p2-cap i { font-size: 9px; color: #3d434e; }
.p2-cap em { font-size: 9px; color: #8b909c; font-variant-numeric: tabular-nums; }

.p2-badge {
  position: absolute; right: 7px; top: -11px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border: 1.5px solid #16a34a; border-radius: 8px;
  background: #fff; color: #16a34a;
  box-shadow: 0 3px 9px rgba(22,163,74,.18);
  transform: rotate(-7deg); transform-origin: 90% 50%;
}
.p2-badge svg { width: 9px; height: 9px; display: block; }
.p2-badge i { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }

.p2-foot { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: #8b909c; }
.p2-foot svg { width: 8px; height: 9.5px; display: block; flex: none; }
.p2-foot i { font-size: 9px; }

/* ---------- animation (front card only) — 5.2s loop ---------- */
.ring-card.play .p2-doc    { animation: p2Doc 5.2s ease infinite; }
.ring-card.play .p2-r1     { animation: p2Row1 5.2s ease infinite; }
.ring-card.play .p2-r2     { animation: p2Row2 5.2s ease infinite; }
.ring-card.play .p2-r3     { animation: p2Row3 5.2s ease infinite; }
.ring-card.play .p2-total  { animation: p2Total 5.2s ease infinite; }
.ring-card.play .p2-sig    { animation: p2Field 5.2s ease infinite; }
.ring-card.play .p2-stroke { animation: p2Draw 5.2s linear infinite; }
.ring-card.play .p2-cap em { animation: p2Date 5.2s ease infinite; }
.ring-card.play .p2-badge  { animation: p2Stamp 5.2s cubic-bezier(.2,1.5,.5,1) infinite; }

@keyframes p2Doc {
  0%   { opacity: 0; transform: translateY(9px) scale(.985); }
  4%, 94% { opacity: 1; transform: none; }
  98%  { opacity: 0; transform: translateY(-11px) scale(.97); }
  99%, 100% { opacity: 0; transform: translateY(9px) scale(.985); }
}
@keyframes p2Row1 { 0%, 4% { opacity: 0; transform: translateY(5px); } 10%, 100% { opacity: 1; transform: none; } }
@keyframes p2Row2 { 0%, 7% { opacity: 0; transform: translateY(5px); } 13%, 100% { opacity: 1; transform: none; } }
@keyframes p2Row3 { 0%, 10% { opacity: 0; transform: translateY(5px); } 16%, 100% { opacity: 1; transform: none; } }
@keyframes p2Total { 0%, 14% { opacity: 0; transform: translateY(5px); } 20%, 100% { opacity: 1; transform: none; } }

/* field: idle grey -> focused blue while signing -> confirmed green */
@keyframes p2Field {
  0%, 16% { border-color: #e9ebef; background: #fafbfc; box-shadow: 0 0 0 0 rgba(11,132,255,0); }
  22%, 54% { border-color: #0b84ff; background: #f4f9ff; box-shadow: 0 0 0 3px rgba(11,132,255,.11); }
  62%, 100% { border-color: #b7e2c6; background: #f4fbf6; box-shadow: 0 0 0 3px rgba(22,163,74,.10); }
}
@keyframes p2Draw {
  0%, 21% { stroke-dashoffset: 800; }
  58%, 98% { stroke-dashoffset: 0; }
  99%, 100% { stroke-dashoffset: 800; }
}
@keyframes p2Date { 0%, 57% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes p2Stamp {
  0%, 59% { opacity: 0; transform: rotate(-14deg) scale(2.1); }
  68%, 98% { opacity: 1; transform: rotate(-7deg) scale(1); }
  99%, 100% { opacity: 0; transform: rotate(-14deg) scale(2.1); }
}
/* ============================================================
   scene 3 — invoice sent in seconds  (220 x 400 phone screen)
   ============================================================ */
.sc-3 {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px; overflow: hidden;
  background: #f6f7f9; color: #1b1d22; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sc-3 i, .sc-3 em { font-style: normal; }

/* nav — opaque layer, the document slides away underneath it */
.p3-nav {
  position: relative; z-index: 2; margin: -12px -12px 0; padding: 12px 12px 6px;
  background: #f6f7f9;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.p3-cancel, .p3-preview { font-size: 11px; color: #0b84ff; }
.p3-title { font-size: 12.5px; font-weight: 600; color: #1b1d22; letter-spacing: -.01em; }

/* the document that flies away (card + option row + button) */
.p3-doc { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }

.p3-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(23,25,35,.07);
}
.p3-brand { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #eef0f4; }
.p3-mark {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(180deg, #37855a, #1f6440);
  color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center;
}
.p3-brand-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.p3-brand-t b { font-size: 11.5px; font-weight: 600; color: #1b1d22; white-space: nowrap; }
.p3-brand-t em { font-size: 9.5px; color: #8b909c; }

.p3-meta { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0 10px; border-bottom: 1px solid #eef0f4; }
.p3-meta-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p3-meta-r { align-items: flex-end; text-align: right; }
.p3-meta-c em { font-size: 9px; font-weight: 600; letter-spacing: .09em; color: #8b909c; }
.p3-meta-c b { font-size: 11.5px; font-weight: 600; color: #3d434e; white-space: nowrap; }

.p3-label { font-size: 9px; font-weight: 600; letter-spacing: .09em; color: #8b909c; padding: 9px 0 3px; }
.p3-items { display: flex; flex-direction: column; }
.p3-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; }
.p3-row + .p3-row { border-top: 1px solid #eef0f4; }
.p3-row em { font-size: 11.5px; color: #3d434e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p3-row b { flex: none; font-size: 11.5px; font-weight: 600; color: #1b1d22; font-variant-numeric: tabular-nums; }

.p3-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #eef0f4; }
.p3-total em { font-size: 11px; font-weight: 600; color: #3d434e; }
/* odometer window — the roll counts $0.00 -> $450.00 -> $1,250.00 */
.p3-amt { display: block; height: 18px; overflow: hidden; }
.p3-roll { display: flex; flex-direction: column; align-items: flex-end; transform: translateY(-36px); }
.p3-roll b { display: block; height: 18px; line-height: 18px; font-size: 14px; font-weight: 700; color: #1b1d22; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* payment-link row */
.p3-opt {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid #e9ebef; border-radius: 12px; padding: 10px 12px;
}
.p3-opt-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p3-opt-t b { font-size: 11.5px; font-weight: 600; color: #1b1d22; white-space: nowrap; }
.p3-opt-t em { font-size: 9.5px; color: #8b909c; white-space: nowrap; }
.p3-sw { flex: none; width: 34px; height: 20px; border-radius: 999px; background: #16a34a; display: flex; align-items: center; padding: 0 2px; }
.p3-knob { width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translateX(14px); box-shadow: 0 1px 3px rgba(0,0,0,.28); }

/* send button */
.p3-send {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px; padding: 12px 0;
  background: linear-gradient(180deg, #f58a6e, #f0785a);
  box-shadow: 0 6px 14px rgba(240,120,90,.34), inset 0 1px 0 rgba(255,255,255,.28);
}
.p3-send b { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .01em; }
.p3-plane { display: block; width: 13px; height: 13px; }

/* confirmation */
.p3-done {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 84%; text-align: center; opacity: 0;
}
.p3-ring {
  width: 50px; height: 50px; border-radius: 50%; background: #16a34a;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(22,163,74,.28);
}
.p3-ring svg { display: block; width: 27px; height: 27px; }
.p3-tick { stroke-dasharray: 20; stroke-dashoffset: 0; }
.p3-done-t { font-size: 15px; font-weight: 600; color: #1b1d22; }
.p3-done-s { font-size: 11.5px; color: #8b909c; }
.p3-chip {
  margin-top: 2px; font-size: 9.5px; color: #3d434e; font-variant-numeric: tabular-nums;
  background: #fff; border: 1px solid #e9ebef; border-radius: 999px; padding: 5px 10px;
}

/* ---- animation (front device only) ---- */
.ring-card.play .p3-r1    { animation: p3Row1 5.2s ease infinite; }
.ring-card.play .p3-r2    { animation: p3Row2 5.2s ease infinite; }
.ring-card.play .p3-roll  { animation: p3Roll 5.2s ease infinite; }
.ring-card.play .p3-amt   { animation: p3Pop 5.2s ease infinite; }
.ring-card.play .p3-sw    { animation: p3Track 5.2s ease infinite; }
.ring-card.play .p3-knob  { animation: p3Knob 5.2s ease infinite; }
.ring-card.play .p3-send  { animation: p3Press 5.2s ease infinite; }
.ring-card.play .p3-doc   { animation: p3Fly 5.2s ease infinite; }
.ring-card.play .p3-done  { animation: p3Done 5.2s ease infinite; }
.ring-card.play .p3-tick  { animation: p3Tick 5.2s ease infinite; }

@keyframes p3Row1 {
  0%, 3%    { opacity: 0; transform: translateY(9px); }
  10%, 56%  { opacity: 1; transform: none; }
  60%, 100% { opacity: 0; transform: translateY(9px); }
}
@keyframes p3Row2 {
  0%, 12%   { opacity: 0; transform: translateY(9px); }
  19%, 56%  { opacity: 1; transform: none; }
  60%, 100% { opacity: 0; transform: translateY(9px); }
}
@keyframes p3Roll {
  0%, 10%   { transform: translateY(0); }
  15%, 19%  { transform: translateY(-18px); }
  25%, 56%  { transform: translateY(-36px); }
  61%, 100% { transform: translateY(0); }
}
@keyframes p3Pop {
  0%, 23%   { transform: none; }
  27%       { transform: scale(1.12); }
  32%, 100% { transform: none; }
}
@keyframes p3Track {
  0%, 29%   { background: #e4e6eb; }
  34%, 56%  { background: #16a34a; }
  60%, 100% { background: #e4e6eb; }
}
@keyframes p3Knob {
  0%, 29%   { transform: translateX(0); }
  34%, 56%  { transform: translateX(14px); }
  60%, 100% { transform: translateX(0); }
}
@keyframes p3Press {
  0%, 36%   { transform: none; }
  39%       { transform: scale(.94); }
  43%, 100% { transform: none; }
}
@keyframes p3Fly {
  0%, 44%   { opacity: 1; transform: none; }
  48%       { opacity: 1; transform: translateY(-9px) scale(1.015); }
  56%       { opacity: 0; transform: translateY(-230px) scale(.9); }
  57%, 90%  { opacity: 0; transform: translateY(-230px) scale(.9); }
  91%       { opacity: 0; transform: none; }
  100%      { opacity: 1; transform: none; }
}
@keyframes p3Done {
  0%, 53%   { opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  61%       { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  66%, 86%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  93%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.86); }
}
@keyframes p3Tick {
  0%, 58%   { stroke-dashoffset: 20; }
  69%, 100% { stroke-dashoffset: 0; }
}
/* ---- scene 4 — Google reviews arrive automatically ---- */
.sc-4 {
  display: flex; flex-direction: column; gap: 10px;
  box-sizing: border-box; padding: 12px; overflow: hidden; text-align: left;
  background: #f6f7f9; color: #1b1d22;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sc-4 i, .sc-4 em { font-style: normal; }
.p4-note, .p4-card, .p4-foot, .p4-gicon, .p4-track { box-sizing: border-box; }

/* (a) iOS-style notification banner */
.p4-note {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px;
  padding: 11px 12px;
  box-shadow: 0 10px 22px rgba(23,25,35,.12), 0 1px 2px rgba(23,25,35,.05);
}
.p4-gicon {
  flex: 0 0 27px; width: 27px; height: 27px; border-radius: 8px;
  background: #fff; border: 1px solid #e9ebef;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(23,25,35,.08);
}
.p4-gicon b { font-size: 15px; font-weight: 700; line-height: 1; color: #4285f4; }
.p4-ntxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.p4-nhead { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.p4-nhead em {
  font-size: 9px; font-weight: 600; letter-spacing: .09em; color: #8b909c; text-transform: uppercase;
}
.p4-nhead .p4-now { letter-spacing: .02em; text-transform: none; font-weight: 500; }
.p4-ntitle {
  font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #1b1d22;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p4-nsub {
  font-size: 10.5px; line-height: 1.3; color: #8b909c;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* (b,c) review card — auto margins pin the banner to the top of the screen
   (where iOS puts it) and the footnote to the bottom, hero card centred between */
.p4-card {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 11px;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px; padding: 12px;
  box-shadow: 0 6px 18px rgba(23,25,35,.06);
}
.p4-stars { display: flex; justify-content: center; gap: 6px; }
.p4-stars i {
  display: block; width: 25px; height: 25px; background: #fbbc04;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.p4-quote { display: block; font-size: 12.5px; line-height: 1.5; color: #1b1d22; }
.p4-auth { display: flex; align-items: center; gap: 7px; }
.p4-dash { display: block; flex: none; width: 13px; height: 1.5px; border-radius: 2px; background: #c9cdd6; }
.p4-auth em { font-size: 11px; font-weight: 500; color: #8b909c; }

/* (d) rating footer */
.p4-foot {
  margin-bottom: auto;
  display: flex; flex-direction: column; gap: 9px;
  background: #fff; border: 1px solid #e9ebef; border-radius: 14px; padding: 12px;
  box-shadow: 0 4px 14px rgba(23,25,35,.05);
}
.p4-frow { display: flex; align-items: center; gap: 7px; }
.p4-reelclip { display: block; flex: none; height: 20px; overflow: hidden; }
.p4-reel { display: flex; flex-direction: column; transform: translateY(-40px); }
.p4-reel b {
  display: block; height: 20px; line-height: 20px;
  font-size: 15px; font-weight: 700; color: #1b1d22; font-variant-numeric: tabular-nums;
}
.p4-flabel {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px;
  font-size: 9.5px; color: #8b909c; white-space: nowrap; overflow: hidden;
}
.p4-dot { display: block; flex: none; width: 3px; height: 3px; border-radius: 50%; background: #c9cdd6; }
.p4-up {
  flex: none; font-size: 9px; font-weight: 700; letter-spacing: .04em; color: #e2603f;
  background: #fdf0ec; border-radius: 999px; padding: 2px 7px;
}
.p4-track { display: block; height: 5px; border-radius: 3px; background: #eef0f4; overflow: hidden; }
.p4-fill {
  display: block; width: 96%; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #fbbc04, #f0a202); transform-origin: left center;
}

/* automation footnote — persistent chrome, never animates, so the screen
   is never fully empty at the loop seam (same role as scene 5's footnote) */
.p4-auto { display: flex; align-items: center; justify-content: center; gap: 6px; }
.p4-chk {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: #16a34a;
  display: inline-flex; align-items: center; justify-content: center;
}
.p4-chk svg { display: block; width: 9px; height: 9px; }
.p4-auto em { font-size: 9.5px; color: #8b909c; }

/* ---- motion (front card only) ---- */
.ring-card.play .p4-note  { animation: p4Note 5.2s ease infinite; }
.ring-card.play .p4-card  { animation: p4Card 5.2s ease infinite; }
.ring-card.play .p4-s1    { animation: p4S1 5.2s ease infinite; }
.ring-card.play .p4-s2    { animation: p4S2 5.2s ease infinite; }
.ring-card.play .p4-s3    { animation: p4S3 5.2s ease infinite; }
.ring-card.play .p4-s4    { animation: p4S4 5.2s ease infinite; }
.ring-card.play .p4-s5    { animation: p4S5 5.2s ease infinite; }
.ring-card.play .p4-quote { animation: p4Quote 5.2s ease infinite; }
.ring-card.play .p4-auth  { animation: p4Auth 5.2s ease infinite; }
.ring-card.play .p4-foot  { animation: p4Foot 5.2s ease infinite; }
.ring-card.play .p4-reel  { animation: p4Reel 5.2s ease infinite; }
.ring-card.play .p4-fill  { animation: p4Fill 5.2s ease infinite; }
.ring-card.play .p4-up    { animation: p4Up 5.2s ease infinite; }

@keyframes p4Note {
  0%, 1%   { opacity: 0; transform: translateY(-72px) scale(.96); }
  7%       { opacity: 1; transform: translateY(3px) scale(1); }
  10%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  96%, 100%{ opacity: 0; transform: translateY(-72px) scale(.96); }
}
@keyframes p4Card {
  0%, 6%   { opacity: 0; transform: translateY(12px) scale(.97); }
  13%, 90% { opacity: 1; transform: translateY(0) scale(1); }
  97%, 100%{ opacity: 0; transform: translateY(12px) scale(.97); }
}
@keyframes p4S1 {
  0%, 14%  { background: #e4e6eb; transform: scale(.72); }
  17%      { background: #fbbc04; transform: scale(1.28); }
  20%, 92% { background: #fbbc04; transform: scale(1); }
  97%, 100%{ background: #e4e6eb; transform: scale(.72); }
}
@keyframes p4S2 {
  0%, 18%  { background: #e4e6eb; transform: scale(.72); }
  21%      { background: #fbbc04; transform: scale(1.28); }
  24%, 92% { background: #fbbc04; transform: scale(1); }
  97%, 100%{ background: #e4e6eb; transform: scale(.72); }
}
@keyframes p4S3 {
  0%, 22%  { background: #e4e6eb; transform: scale(.72); }
  25%      { background: #fbbc04; transform: scale(1.28); }
  28%, 92% { background: #fbbc04; transform: scale(1); }
  97%, 100%{ background: #e4e6eb; transform: scale(.72); }
}
@keyframes p4S4 {
  0%, 26%  { background: #e4e6eb; transform: scale(.72); }
  29%      { background: #fbbc04; transform: scale(1.28); }
  32%, 92% { background: #fbbc04; transform: scale(1); }
  97%, 100%{ background: #e4e6eb; transform: scale(.72); }
}
@keyframes p4S5 {
  0%, 30%  { background: #e4e6eb; transform: scale(.72); }
  33%      { background: #fbbc04; transform: scale(1.28); }
  36%, 92% { background: #fbbc04; transform: scale(1); }
  97%, 100%{ background: #e4e6eb; transform: scale(.72); }
}
@keyframes p4Quote {
  0%, 31%  { opacity: 0; transform: translateY(7px); }
  40%, 92% { opacity: 1; transform: translateY(0); }
  97%, 100%{ opacity: 0; transform: translateY(7px); }
}
@keyframes p4Auth {
  0%, 39%  { opacity: 0; transform: translateX(-7px); }
  47%, 92% { opacity: 1; transform: translateX(0); }
  97%, 100%{ opacity: 0; transform: translateX(-7px); }
}
@keyframes p4Foot {
  0%, 47%  { opacity: 0; transform: translateY(9px); }
  55%, 90% { opacity: 1; transform: translateY(0); }
  96%, 100%{ opacity: 0; transform: translateY(9px); }
}
@keyframes p4Reel {
  0%, 55%  { transform: translateY(0); }
  60%, 63% { transform: translateY(-20px); }
  68%, 94% { transform: translateY(-40px); }
  97%, 100%{ transform: translateY(0); }
}
@keyframes p4Fill {
  0%, 53%  { transform: scaleX(0); }
  69%, 94% { transform: scaleX(1); }
  97%, 100%{ transform: scaleX(0); }
}
@keyframes p4Up {
  0%, 65%  { opacity: 0; transform: scale(.5); }
  70%      { opacity: 1; transform: scale(1.18); }
  73%, 90% { opacity: 1; transform: scale(1); }
  95%, 100%{ opacity: 0; transform: scale(.5); }
}
/* ===================== scene 5 — website leads land in one inbox ===================== */
.sc-5 {
  display: flex; flex-direction: column; gap: 0;
  padding: 12px;
  background: #f6f7f9; color: #1b1d22; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
.sc-5 i, .sc-5 em { font-style: normal; }
/* header ------------------------------------------------------------ */
.p5-head { display: block; flex: none; padding-bottom: 11px; border-bottom: 1px solid #eef0f4; }
.p5-org {
  display: block; font-size: 9px; font-weight: 600; line-height: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: #8b909c;
}
.p5-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.p5-title > b { font-size: 15px; font-weight: 700; line-height: 20px; letter-spacing: -.015em; color: #1b1d22; }
.p5-pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 999px; background: #fdf0ec; border: 1px solid #f7ddd2;
  font-size: 13px; font-weight: 700; color: #e2603f;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.p5-pill > i { display: block; height: 16px; line-height: 16px; }
.p5-win { overflow: hidden; }
.p5-reel { display: block; transform: translateY(-48px); }
.p5-reel b { display: block; height: 16px; line-height: 16px; font-weight: 700; }
/* segmented control -------------------------------------------------- */
.p5-seg {
  display: flex; align-items: center; gap: 2px; flex: none;
  margin-top: 11px; padding: 2px; border-radius: 10px; background: #e4e6eb;
}
.p5-seg i {
  flex: 1 1 0; text-align: center; border-radius: 8px;
  font-size: 9.5px; font-weight: 600; line-height: 18px; color: #8b909c;
}
.p5-seg .p5-on { background: #fff; color: #1b1d22; box-shadow: 0 1px 2px rgba(23,25,35,.14); }
/* list --------------------------------------------------------------- */
.p5-list { display: flex; flex-direction: column; gap: 7px; flex: none; margin-top: 11px; }
/* the three arriving leads live in a clipped, growing stack so the
   already-handled lead below is pushed down as each one lands */
.p5-new {
  display: flex; flex-direction: column; gap: 7px;
  box-sizing: border-box; height: 191px; overflow: hidden;
  margin: -8px -12px -7px; padding: 8px 12px 7px;
}
.p5-row { display: block; flex: none; }
.p5-card {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 11px; border-radius: 12px;
  background: #fff; border: 1px solid #e9ebef;
  box-shadow: 0 2px 7px rgba(23,25,35,.05);
}
.p5-av {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em;
}
.p5-a1 { background: #6f7fd0; }
.p5-a2 { background: #35a08f; }
.p5-a3 { background: #c2618f; }
.p5-a0 { background: #c9cdd6; }
.p5-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p5-txt b { font-size: 12px; font-weight: 600; line-height: 14px; color: #1b1d22; white-space: nowrap; }
.p5-txt em { font-size: 9.5px; font-weight: 400; line-height: 12px; letter-spacing: -.005em; color: #8b909c; white-space: nowrap; }
.p5-dot {
  flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%;
  background: #f0785a; box-shadow: 0 0 0 3px rgba(240,120,90,.14);
}
.p5-chk {
  flex: 0 0 15px; width: 15px; height: 15px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #16a34a;
}
.p5-chk svg { display: block; width: 9px; height: 9px; }
.p5-read { background: #fbfbfc; box-shadow: none; }
.p5-read .p5-txt b { font-weight: 500; color: #8b909c; }
/* footnote ----------------------------------------------------------- */
.p5-foot {
  margin-top: auto; padding-top: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 9px; line-height: 11px; color: #8b909c;
}
.p5-foot em { font-size: 9px; }
.p5-fchk {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e6f4ea;
}
.p5-fchk svg { display: block; width: 8px; height: 8px; }
/* motion — only the front device plays -------------------------------- */
.ring-card.play .p5-reel { animation: p5Reel 5.2s ease infinite; }
.ring-card.play .p5-new { animation: p5Stack 5.2s ease infinite; }
.ring-card.play .p5-r1 { animation: p5Row1 5.2s ease infinite; }
.ring-card.play .p5-r2 { animation: p5Row2 5.2s ease infinite; }
.ring-card.play .p5-r3 { animation: p5Row3 5.2s ease infinite; }
.ring-card.play .p5-flash { animation: p5Flash 5.2s ease infinite; }
.ring-card.play .p5-ping { animation: p5Ping 5.2s ease infinite; }
@keyframes p5Reel {
  0%, 30% { transform: translateY(0); }
  35%, 48% { transform: translateY(-16px); }
  53%, 91% { transform: translateY(-32px); }
  98%, 100% { transform: translateY(-48px); }
}
@keyframes p5Stack {
  0%, 5% { height: 15px; }
  14%, 22% { height: 69px; }
  31%, 40% { height: 130px; }
  49%, 92% { height: 191px; }
  100% { height: 15px; }
}
@keyframes p5Row1 {
  0%, 5% { opacity: 0; transform: translateX(28px); }
  14%, 90% { opacity: 1; transform: translateX(0); }
  96%, 100% { opacity: 0; transform: translateX(28px); }
}
@keyframes p5Row2 {
  0%, 22% { opacity: 0; transform: translateX(28px); }
  31%, 88.5% { opacity: 1; transform: translateX(0); }
  94.5%, 100% { opacity: 0; transform: translateX(28px); }
}
@keyframes p5Row3 {
  0%, 40% { opacity: 0; transform: translateX(28px); }
  49%, 87% { opacity: 1; transform: translateX(0); }
  93%, 100% { opacity: 0; transform: translateX(28px); }
}
/* newest row lifts on a coral edge + glow — no coral background wash */
@keyframes p5Flash {
  0%, 56% { border-color: #e9ebef; box-shadow: 0 2px 7px rgba(23,25,35,.05); }
  62%, 70% { border-color: #f0785a; box-shadow: 0 4px 12px rgba(240,120,90,.26); }
  79%, 100% { border-color: #e9ebef; box-shadow: 0 2px 7px rgba(23,25,35,.05); }
}
@keyframes p5Ping {
  0%, 56% { transform: scale(1); box-shadow: 0 0 0 3px rgba(240,120,90,.14); }
  63% { transform: scale(1.5); box-shadow: 0 0 0 6px rgba(240,120,90,.22); }
  72%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(240,120,90,.14); }
}

.ring-floor {
  position: absolute; left: 50%; bottom: -6px; width: 800px; height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(25,24,23,.16), transparent 65%);
  pointer-events: none;
}
.ring-detail { max-width: 560px; margin: 26px auto 0; min-height: 96px; }
.rd-num {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--coral-deep); font-weight: 600;
  border: 1px solid rgba(214,84,46,.35); border-radius: 100px; padding: 4px 12px;
}
.ring-detail h3 { margin-top: 10px; font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; color: #191817; letter-spacing: -.01em; }
.ring-detail p { margin-top: 6px; font-size: 14.5px; color: #6c6862; line-height: 1.6; }
.ring-detail.swap h3, .ring-detail.swap p, .ring-detail.swap .rd-num { animation: rdIn .45s cubic-bezier(.2,.7,.3,1); }
@keyframes rdIn { from { opacity: 0; transform: translateY(10px); } }
.ring-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.ring-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #e0dbd4; color: #35322e;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: .2s;
}
.ring-arrow svg { width: 17px; height: 17px; }
.ring-arrow:hover { background: #191817; border-color: #191817; color: #fff; transform: translateY(-2px); }
.ring-dots { display: flex; gap: 7px; }
.ring-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #d6d2cc; cursor: pointer; transition: .25s;
}
.ring-dots i.on { background: var(--coral-deep); transform: scale(1.3); }
@media (max-width: 960px) {
  /* the phone scales as one unit (JS appends scale() to the ring transform), so no per-scene overrides */
  .ring-stage { height: 480px; perspective: 1000px; perspective-origin: 50% 30%; }
  .tab-depth i:nth-child(n+9) { display: none; }
  .tab-depth i:nth-child(8) {
    background: linear-gradient(160deg, #3b3731, #1b1917 60%);
    box-shadow: 0 30px 56px rgba(20,18,16,.38);
  }
  .ring-card.on .tab-depth { transform: translateY(-8px); }
  .tab-shadow { bottom: -13px; height: 20px; transform: translateZ(-9px); filter: blur(4px); }
  .ring-card.on .rc-in { transform: translateY(-8px); }
  .ring-floor { width: 340px; }
}
}
@media (prefers-reduced-motion: reduce) {
  .ring, .rc-in { transition: none; }
  .ring-card.play .sc-wrap * { animation: none !important; }
}

/* ---- 10 keypoints: interactive list ---- */
.kp-grid { align-items: center; }
.kp-list { display: flex; flex-direction: column; gap: 5px; margin-top: 28px; }
.kp-item {
  position: relative; display: flex; align-items: flex-start; gap: 12px;
  width: 100%; text-align: left; overflow: hidden;
  background: transparent; border: 1px solid transparent; border-radius: 14px;
  padding: 10px 14px; cursor: pointer; font-family: inherit;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.kp-item:hover { background: #eae7e2; }
.kp-item.active { background: #fff; border-color: #e7e2db; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.kp-num {
  flex: 0 0 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: #e6e3de; color: #6c6862; font-size: 12px; font-weight: 600;
  transition: .25s;
}
.kp-item.active .kp-num {
  background: var(--coral-deep); color: #fff;
  box-shadow: 0 6px 16px rgba(214, 84, 46, .35);
}
.kp-body { min-width: 0; }
.kp-body strong { display: block; font-size: 14.5px; font-weight: 500; color: #55514b; line-height: 1.35; transition: color .25s; }
.kp-item:hover .kp-body strong, .kp-item.active .kp-body strong { color: #191817; }
.kp-body small {
  display: block; font-size: 12.5px; color: #7c766f; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
}
.kp-item.active .kp-body small { max-height: 64px; opacity: 1; margin-top: 4px; }
.kp-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); border-radius: 2px; }
.kp-item.active .kp-progress { animation: tabProgress 6s linear forwards; }

/* On mobile the demo plays inline, inside the expanded keypoint */
.kp-demo { display: none; }
@media (max-width: 960px) {
  .kp-stage { display: none; }
  .kp-demo {
    display: block; position: relative; height: 430px;
    background: #f6f4f1; border: 1px solid #e7e2db; border-radius: 18px;
    margin: 2px 0 10px; box-shadow: 0 14px 34px rgba(0,0,0,.08);
    overflow: hidden; color: #23211f;
  }
}

/* ---- KP scene: Google search + ranking ---- */
.gsearch {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid #e7e2db; border-radius: 100px;
  padding: 9px 14px; margin-bottom: 12px;
  font-size: 12px; color: #55514b; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.g-mark { color: #4285F4; font-weight: 700; font-size: 15px; }
.g-query { flex: 1; }
.gsearch svg { width: 14px; height: 14px; color: #9b958d; }
.gresult {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  padding: 12px; margin-bottom: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.gresult header { display: flex; align-items: center; gap: 9px; }
.gresult header strong { display: block; font-size: 12.5px; font-weight: 500; }
.gresult header small { font-size: 10.5px; color: #9b958d; }
.gresult-dim { opacity: .55; box-shadow: none; }
.g-tabs { display: flex; gap: 14px; padding: 0 6px 8px; margin-bottom: 10px; border-bottom: 1px solid #e7e2db; font-size: 11px; color: #8b857e; }
.g-tabs .g-tab-on { color: #1a73e8; font-weight: 600; position: relative; }
.g-tabs .g-tab-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: #1a73e8; border-radius: 2px; }
.g-desc { font-size: 10.5px; color: #6c6862; margin: 2px 0 0; }
.g-desc b { color: #1e9e63; font-weight: 600; }
.sc-avatar-gray { background: #d6d2cc; color: #6c6862; }
.sc-avatar-green { background: #1e9e63; }
.g-stars { margin: 8px 0 2px; font-size: 11.5px; color: #f5b301; }
.g-stars b { color: #191817; font-weight: 600; }
.g-stars span { color: #9b958d; }
.g-actions { display: flex; gap: 6px; margin-top: 8px; }
.g-actions span { font-size: 10.5px; padding: 5px 11px; border-radius: 100px; border: 1px solid #e7e2db; color: #4285F4; font-weight: 500; }
.g-actions .g-call { background: var(--coral); border-color: var(--coral); color: #fff; }

.rank {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px;
}
.rank > b {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: #eceae5; color: #6c6862; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.rank strong { display: block; font-size: 12px; font-weight: 500; }
.rank small { font-size: 10.5px; color: #9b958d; }
.rank .tag { margin-left: auto; flex: 0 0 auto; }
.rank-you { border-color: rgba(214,84,46,.4); box-shadow: 0 8px 24px rgba(214,84,46,.12); }
.rank-you > b { background: var(--coral-deep); color: #fff; }

/* mini map for the local pack */
.map {
  position: relative; height: 48px; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid #e7e2db; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
    linear-gradient(0deg, transparent 30%, #fff 30%, #fff 36%, transparent 36%),
    linear-gradient(35deg, transparent 64%, #fff 64%, #fff 67%, transparent 67%),
    linear-gradient(120deg, #e4ecdd, #dce8e4 55%, #d5e3ea);
}
.map-pin {
  position: absolute; left: 50%; top: 40%; width: 16px; height: 16px;
  background: var(--coral-deep); border: 2.5px solid #fff; border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

/* ---- KP scene: website + email ---- */
.browser {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.browser-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid #f0ece7; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; }
.browser-bar i:nth-child(1) { background: #f28b82; }
.browser-bar i:nth-child(2) { background: #fdd663; }
.browser-bar i:nth-child(3) { background: #81c995; }
.browser-bar span {
  flex: 1; text-align: center; background: #f4f1ec; border-radius: 6px;
  font-size: 10.5px; color: #6c6862; padding: 4px 8px; margin-left: 6px;
}
/* realistic mini-site inside the browser — auto-scrolls through the page */
.site-view { height: 232px; overflow: hidden; position: relative; }
.site-page { background: #fff; }
.scene.on .site-page { animation: sitePage 11s ease-in-out 1.6s infinite; }
@keyframes sitePage {
  0%, 12%  { transform: translateY(0); }
  34%, 46% { transform: translateY(calc(-50% + 116px)); }
  66%, 80% { transform: translateY(calc(-100% + 232px)); }
  94%, 100% { transform: translateY(0); }
}
.site-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #f0ece7; }
.site-stats div { text-align: center; padding: 9px 4px; }
.site-stats div + div { border-left: 1px solid #f0ece7; }
.site-stats b { display: block; font-size: 13px; font-weight: 600; color: var(--coral-deep); }
.site-stats small { font-size: 7.5px; color: #9b958d; letter-spacing: .04em; text-transform: uppercase; }
.site-sec-title { padding: 10px 11px 6px; font-size: 10px; font-weight: 600; color: #191817; letter-spacing: .06em; text-transform: uppercase; }
.site-work { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 10px 10px; }
.site-work div { border: 1px solid #f0ece7; border-radius: 9px; overflow: hidden; background: #faf8f5; }
.site-work img { width: 100%; height: 44px; object-fit: cover; display: block; }
.site-work span { display: block; padding: 5px 7px; font-size: 8.5px; font-weight: 600; color: #191817; }
.site-work span small { display: block; font-size: 7.5px; font-weight: 400; color: #9b958d; margin-top: 1px; }
.site-quote { margin: 0 10px 10px; background: #faf8f5; border: 1px solid #f0ece7; border-radius: 9px; padding: 9px 11px; }
.site-quote p { font-size: 9.5px; line-height: 1.5; color: #35322e; font-style: italic; }
.site-quote small { display: block; margin-top: 4px; font-size: 8px; color: #9b958d; }
.site-quote small b { color: #f5b301; font-weight: 400; }
.site-foot { display: flex; align-items: center; justify-content: space-between; background: #191817; padding: 12px 12px; }
.site-foot b { color: #fff; font-size: 11px; font-weight: 600; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 8px 11px; border-bottom: 1px solid #f0ece7; }
.site-nav b { font-size: 9px; letter-spacing: .08em; font-weight: 700; color: #191817; }
.site-nav b em { font-style: normal; color: var(--coral-deep); }
.site-burger { display: flex; flex-direction: column; gap: 2.5px; }
.site-burger i { width: 13px; height: 1.5px; background: #191817; border-radius: 2px; }
.site-hero { position: relative; height: 98px; overflow: hidden; }
.site-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-hero-txt {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 0 13px; gap: 8px;
  background: linear-gradient(90deg, rgba(12,10,9,.72), rgba(12,10,9,.1));
}
.site-hero-txt b { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; }
.site-cta {
  align-self: flex-start; background: var(--coral); color: #fff;
  border-radius: 100px; font-size: 9.5px; padding: 5px 11px; font-weight: 600;
}
.site-trust { padding: 7px 11px; font-size: 9px; color: #6c6862; background: #faf8f5; border-bottom: 1px solid #f0ece7; }
.site-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 9px 10px 11px; }
.site-services div {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: #faf8f5; border: 1px solid #f0ece7; border-radius: 9px;
  padding: 7px 2px; font-size: 8.5px; font-weight: 500; color: #35322e;
}
.site-services em { font-style: normal; font-size: 13px; }
.mailchip {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 11px 12px; margin-top: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.mailchip svg { width: 18px; height: 18px; color: var(--coral-deep); flex: 0 0 auto; }
.mailchip strong { display: block; font-size: 12px; font-weight: 500; }
.mailchip small { font-size: 10.5px; color: #9b958d; }
.mailchip .tag { margin-left: auto; flex: 0 0 auto; }

/* ---- KP scene: leads analytics card ---- */
.stat-card {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  padding: 13px 13px 10px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.stat-card header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.stat-card header small { display: block; font-size: 8.5px; letter-spacing: .12em; color: #9b958d; font-weight: 600; }
.stat-card header strong { font-size: 21px; font-weight: 600; color: #191817; letter-spacing: -.02em; }
.stat-card header strong em { font-style: normal; font-size: 11px; color: #1e9e63; font-weight: 600; vertical-align: 3px; }
.stat-range { font-size: 9.5px; color: #6c6862; background: #faf8f5; border: 1px solid #f0ece7; border-radius: 100px; padding: 4px 9px; }
.chart-months { display: flex; gap: 8px; margin-top: 5px; }
.chart-months span { flex: 1; text-align: center; font-size: 8px; color: #9b958d; }
.chart i { position: relative; }
.chart i[data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: 50%; top: -20px; transform: translateX(-50%);
  background: #191817; color: #fff; font-size: 8.5px; font-weight: 600;
  border-radius: 5px; padding: 2px 6px;
}
.lead-time { margin-left: auto; font-style: normal; font-size: 9px; color: #9b958d; flex: 0 0 auto; align-self: flex-start; margin-top: 2px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 88px; padding: 20px 4px 0; }
.chart i {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #e0dbd4, #cfc9c1);
  transform-origin: bottom;
}
.chart i:nth-child(5), .chart i:nth-child(6) { background: linear-gradient(180deg, var(--coral), var(--coral-deep)); }
.scene.on .chart i { transform: scaleY(0); animation: barUp .55s cubic-bezier(.2,.7,.3,1) forwards; }
.scene.on .chart i:nth-child(1) { animation-delay: .9s; }
.scene.on .chart i:nth-child(2) { animation-delay: 1.02s; }
.scene.on .chart i:nth-child(3) { animation-delay: 1.14s; }
.scene.on .chart i:nth-child(4) { animation-delay: 1.26s; }
.scene.on .chart i:nth-child(5) { animation-delay: 1.38s; }
.scene.on .chart i:nth-child(6) { animation-delay: 1.5s; }
@keyframes barUp { to { transform: scaleY(1); } }
.lead-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 9px 12px; margin-top: 8px;
}
.lead-dot { width: 8px; height: 8px; border-radius: 50%; background: #1e9e63; flex: 0 0 auto; box-shadow: 0 0 0 4px #d9f2e3; }
.lead-row strong { display: block; font-size: 11.5px; font-weight: 500; }
.lead-row small { font-size: 10.5px; color: #9b958d; }

/* ---- KP scene: brand kit ---- */
.brand-logo { background: #191817; border-radius: 14px; padding: 20px; text-align: center; }
.brand-logo span { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.brand-logo span b { color: var(--coral); }
.brand-logo small { display: block; color: #8d8781; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.bizcard {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 14px; margin-top: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.bizcard b { display: block; font-size: 12.5px; font-weight: 600; color: #191817; }
.bizcard small { display: block; font-size: 9px; color: #9b958d; margin-top: 2px; }
.bizcard span { display: block; font-size: 9.5px; color: #55514b; margin-top: 6px; }
.bizcard-mark {
  flex: 0 0 36px; height: 36px; border-radius: 10px;
  background: var(--coral-deep); color: #fff !important;
  display: flex !important; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-top: 0 !important;
}
/* merch mockups: yard sign, banner, hoodie */
.merch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.merch-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 12px 6px 9px; box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.merch-tile > small { font-size: 9px; font-weight: 500; color: #6c6862; }
.m-sign {
  position: relative; width: 58px; height: 44px; margin-bottom: 8px;
  background: #fff; border: 2px solid var(--coral-deep); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.m-sign b { font-size: 6px; font-weight: 700; color: var(--coral-deep); letter-spacing: .04em; }
.m-sign small { font-size: 5px; color: #55514b; letter-spacing: .08em; }
.m-sign i { position: absolute; bottom: -9px; width: 3px; height: 9px; background: #b9b3ab; }
.m-sign i:first-of-type { left: 10px; }
.m-sign i:last-of-type { right: 10px; }
.m-banner {
  width: 62px; height: 26px; margin: 13px 0;
  background: #191817; border-radius: 3px;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  position: relative;
}
.m-banner b { font-size: 5.5px; font-weight: 700; color: #fff; letter-spacing: .05em; text-align: center; line-height: 1.4; }
.m-banner em {
  width: 4px; height: 4px; border-radius: 50%; flex: 0 0 auto;
  background: #f6f4f1; border: 1px solid #9b958d;
}
.m-hoodie { position: relative; width: 46px; height: 46px; margin-bottom: 6px; color: var(--coral-deep); }
.m-hoodie svg { width: 100%; height: 100%; }
.m-hoodie b {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  font-size: 8px; font-weight: 700; color: var(--coral-deep);
}
.swatches { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.swatches i { width: 22px; height: 22px; border-radius: 8px; }
.sw-coral { background: var(--coral); }
.sw-ink { background: #191817; }
.sw-cream { background: #f5f2ee; border: 1px solid #e4e0da; }
.sw-gold { background: #f5b301; }
.swatches span { font-size: 10.5px; color: #9b958d; margin-left: 4px; }

/* ---- KP scene: Instagram post ---- */
.sc-avatar-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366); }
.scene-head .tag { margin-left: auto; flex: 0 0 auto; }
.ig-post {
  background: #fff; border: 1px solid #eee6e0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.ig-post header { display: flex; align-items: center; gap: 9px; padding: 9px 11px; }
.ig-post header .sc-avatar { width: 28px; height: 28px; border-radius: 50%; font-size: 11px; }
.ig-post header strong { display: block; font-size: 11.5px; font-weight: 600; }
.ig-post header small { display: block; font-size: 9.5px; color: #9b958d; }
.ig-dots { margin-left: auto; color: #55514b; font-weight: 700; letter-spacing: 1px; }
.ig-img { display: flex; height: 108px; }
.ig-half { position: relative; flex: 1; overflow: hidden; }
.ig-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-half i {
  position: absolute; left: 6px; bottom: 6px; font-style: normal;
  background: rgba(12,10,9,.65); color: #fff; border-radius: 100px;
  font-size: 8.5px; padding: 3px 8px; font-weight: 500;
}
.ig-half .ig-after { background: var(--coral); }
.ig-actions { display: flex; align-items: center; gap: 12px; padding: 9px 11px 4px; }
.ig-actions svg { width: 17px; height: 17px; color: #191817; }
.ig-heart { color: #e0245e !important; }
.scene.on .ig-heart { animation: starPop .4s cubic-bezier(.2,.7,.3,1.6) both; animation-delay: 1.2s; }
.ig-save { margin-left: auto; }
.ig-likes { padding: 0 11px; font-size: 11px; }
.ig-likes b { font-weight: 600; }
.ig-cap { padding: 3px 11px 11px; font-size: 10.5px; color: #35322e; line-height: 1.45; }
.ig-cap b { font-weight: 600; margin-right: 4px; }

/* ---- KP scene: all-in-one grid ---- */
.appgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.apptile {
  position: relative; display: flex; align-items: center; gap: 6px; min-width: 0;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 8px 7px;
}
.apptile em {
  font-style: normal; flex: 0 0 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.apptile em svg { width: 14px; height: 14px; }
.ic-blue   { background: #e8f0fe; color: #3b76d6; }
.ic-green  { background: #ddf3e6; color: #1e9e63; }
.ic-coral  { background: #fde7df; color: #d6542e; }
.ic-purple { background: #efe8fd; color: #7c5cd6; }
.ic-gold   { background: #fdf3d7; color: #c28b00; }
.ic-teal   { background: #ddf1f2; color: #1d8e96; }
.apptile > div { min-width: 0; }
.apptile b { display: block; font-size: 9.5px; font-weight: 600; color: #191817; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apptile small { display: block; font-size: 8.5px; color: #9b958d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apptile > span {
  position: absolute; top: -5px; right: -4px; width: 15px; height: 15px;
  border-radius: 50%; border: 2px solid #f6f4f1;
  background: #1e9e63; color: #fff; font-size: 8px;
  display: flex; align-items: center; justify-content: center;
}
.appgrid + .paid-banner { margin-top: 12px; }

/* ---- KP scene: done checklist ---- */
.done-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eee6e0; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px;
}
.done-row > b {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: #d9f2e3; color: #17784a; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.done-row strong { display: block; font-size: 12px; font-weight: 500; }
.done-row small { font-size: 10.5px; color: #9b958d; }

/* ============ Partners ============ */
.partners { padding: 90px 0; }
.partners-marquee { margin-top: 30px; }
.partners-track { gap: clamp(48px, 6vw, 90px); animation-duration: 26s; }
.partners-track span { font-size: 22px; font-weight: 500; color: #dcd7d1; opacity: .9; }

/* ============ Metrics ============ */
.metrics { padding: 60px 0 120px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.metric {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: 26px 26px 30px; min-height: 240px;
  display: flex; flex-direction: column;
}
.metric-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #8d8781; }
.metric-num { margin-top: auto; font-size: clamp(40px, 4.4vw, 56px); display: flex; align-items: center; gap: 4px; letter-spacing: -0.03em; }
.metric-num svg { width: 34px; height: 34px; }
.metric-desc { color: var(--ink-dim); font-size: 15px; }

/* ============ Action (phone mockup) ============ */
.action { padding: 40px 0 130px; display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; width: min(1180px, 92vw); margin: 0 auto; gap: 40px; }
.action-copy { text-align: center; }
.action-copy .btn { margin-top: 30px; }

.phone {
  width: 290px; margin: 0 auto;
  background: #1c1a18; border: 6px solid #2c2926; border-radius: 44px;
  padding: 14px 10px 10px; position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.phone-notch { width: 110px; height: 22px; background: #2c2926; border-radius: 12px; margin: 0 auto 10px; }
.phone-screen { background: #f6f4f1; border-radius: 26px; padding: 16px 14px; color: #23211f; }
.ph-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e4e0da; }
.ph-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.ph-head small { display: block; color: #8b857e; font-size: 11px; }
.ph-head strong { font-size: 13px; font-weight: 500; }
.ph-total { margin-left: auto; font-size: 13px; font-weight: 500; color: #1e9e63; }
.ph-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #eceae5; }
.ph-row strong { font-size: 12.5px; font-weight: 500; display: block; }
.ph-row small { color: #9b958d; font-size: 10.5px; }
.ph-right { text-align: right; }
.tag { font-size: 9.5px; padding: 2px 8px; border-radius: 20px; display: inline-block; margin-top: 2px; }
.tag-green { background: #d9f2e3; color: #17784a; }
.tag-gray { background: #e8e5e0; color: #6c675f; }
.tag-red { background: #fde3dc; color: #c2412a; }
.ph-cta { width: 100%; margin-top: 14px; background: var(--coral); color: #fff; padding: 11px; border-radius: 12px; font-size: 13px; }

/* ============ Tablet 3D ============ */
.tablet3d { padding: 120px 0 100px; text-align: center; overflow: hidden; }
.t3d-stage {
  position: relative; margin: 70px auto 0;
  width: min(1100px, 94vw);
  perspective: 1600px;
}
.tablet {
  width: min(680px, 88vw); margin: 0 auto;
  background: #1c1a18; border: 3px solid #34302c; border-radius: 30px;
  padding: 16px; position: relative;
  transform: rotateX(14deg) rotateY(-12deg) rotateZ(1.5deg);
  transform-style: preserve-3d;
  box-shadow:
    -30px 50px 80px rgba(0,0,0,.55),
    0 0 90px rgba(240, 120, 90, .12);
  animation: tabletFloat 7s ease-in-out infinite;
}
@keyframes tabletFloat {
  50% { transform: rotateX(11deg) rotateY(-9deg) rotateZ(1deg) translateY(-12px); }
}
.tablet-cam {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #3c3833;
}
.tablet-screen {
  display: flex; text-align: left;
  background: #f6f4f1; border-radius: 16px; overflow: hidden;
  min-height: 380px; color: #23211f;
}

.tb-side {
  flex: 0 0 58px; background: #191817;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 0;
}
.tb-logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--coral);
  color: #fff; font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.tb-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #7a746d; cursor: pointer; transition: .2s;
}
.tb-ico svg { width: 17px; height: 17px; }
.tb-ico:hover { color: #b5aea6; }
.tb-ico.on { background: #2b2724; color: var(--coral); }

.tb-main { flex: 1; padding: 20px 22px; min-width: 0; }
.tb-head { display: flex; justify-content: space-between; align-items: center; }
.tb-head strong { font-size: 15.5px; font-weight: 500; display: block; }
.tb-head small { color: #8b857e; font-size: 11.5px; }

/* Cycling views inside the tablet */
.tb-views { position: relative; height: 292px; margin-top: 16px; }
.tb-view {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(16px); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.tb-view.on { opacity: 1; transform: none; pointer-events: auto; }
.tb-view .an { opacity: 0; transform: translateY(8px); }
.tb-view.on .an { animation: sceneIn .4s cubic-bezier(.2,.7,.3,1) forwards; }
.tb-view.on .an-1 { animation-delay: .1s; }
.tb-view.on .an-2 { animation-delay: .5s; }
.tb-view.on .an-3 { animation-delay: .95s; }
.tb-view.on .an-4 { animation-delay: 1.4s; }
.tb-view.on .an-5 { animation-delay: 1.9s; }
.tb-view.on .an-6 { animation-delay: 2.5s; }

.tb-right { text-align: right; flex: 0 0 auto; }
.tb-right strong { font-size: 12px; font-weight: 500; display: block; }
.tb-right .tag { margin-top: 2px; }
.tb-green { color: #1e9e63 !important; font-weight: 500; }
.tb-gold { color: #f5b301 !important; font-weight: 500; letter-spacing: 1px; }
.tb-mini-avatar { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }
.tb-view .paid-banner { margin-top: 12px; }

.tb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 12px; }
.tb-stat {
  background: #fff; border: 1px solid #eee6e0; border-radius: 13px;
  padding: 12px 14px;
}
.tb-stat small { color: #8b857e; font-size: 10.5px; display: block; }
.tb-stat strong { font-size: 19px; font-weight: 500; display: block; margin: 2px 0; }
.tb-up { font-size: 10.5px; color: #1e9e63; font-weight: 500; }

.tb-panel {
  background: #fff; border: 1px solid #eee6e0; border-radius: 13px;
  padding: 13px 14px;
}
.tb-panel > header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 9px; border-bottom: 1px solid #f0ece7; }
.tb-panel > header strong { font-size: 12.5px; font-weight: 500; }
.tb-panel > header small { color: #9b958d; font-size: 10.5px; }
.tb-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f4f1ec; }
.tb-row:last-child { border-bottom: none; padding-bottom: 2px; }
.tb-row > div { flex: 1; min-width: 0; }
.tb-row strong { font-size: 12px; font-weight: 500; display: block; }
.tb-row small { font-size: 10.5px; color: #9b958d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.tb-row > small { flex: 0 0 auto; }
.tb-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.tb-dot-green { background: #1e9e63; }
.tb-dot-coral { background: var(--coral); }
.tb-dot-gold { background: #f5b301; }

  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #211e1c; border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px; padding: 10px 18px;
  font-size: 14px; color: #e8e3dd;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  animation: floaty 6s ease-in-out infinite;
}

/* ============ Soluciones por industria (allo-style tile grid) ============ */
.solutions .light-card-inner { padding-bottom: clamp(36px, 5vw, 70px); }
.sol-head { max-width: 640px; margin-bottom: 40px; }
.sol-sub { color: #5b5651; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.7; margin-top: 16px; }
.sol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.solutions .light-card-inner { position: relative; overflow: hidden; }
/* soft warm blobs sit under the grid so the frosted tiles have something to refract */
.solutions .light-card-inner::before, .solutions .light-card-inner::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  filter: blur(70px);
}
.solutions .light-card-inner::before { width: 420px; height: 420px; right: -80px; top: 40px; background: rgba(240,120,90,.22); }
.solutions .light-card-inner::after { width: 380px; height: 380px; left: -60px; bottom: -60px; background: rgba(214,164,120,.20); }
.sol-head, .sol-grid { position: relative; z-index: 1; }
.sol-card {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 136px; padding: 17px 18px; border-radius: 16px; color: #131110;
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 6px 22px rgba(60, 45, 35, .06), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.sol-card.reveal.in { transition-delay: var(--d, 0s); }
.sol-card:hover { background: rgba(255, 255, 255, .62); box-shadow: 0 14px 34px rgba(60,45,35,.12), inset 0 1px 0 rgba(255,255,255,.85); transform: translateY(-2px); }
.sol-ico { display: inline-flex; color: #6b665e; }
.sol-ico svg { width: 21px; height: 21px; }
.sol-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.sol-name { font-size: 15.5px; font-weight: 400; line-height: 1.25; }
.sol-arrow { display: inline-flex; flex: none; color: #131110; transition: transform .25s ease, color .25s ease; }
.sol-arrow svg { width: 17px; height: 17px; }
.sol-card:hover .sol-arrow { color: var(--coral); transform: translateX(3px); }
/* "Ver todas" tile: dark, closes the grid */
.sol-all {
  background: rgba(19, 17, 16, .82); color: #f5f2ee;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.sol-all:hover { background: rgba(33, 30, 28, .92); box-shadow: 0 16px 38px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.16); transform: translateY(-2px); }
.sol-all .sol-ico { color: var(--coral); }
.sol-all .sol-arrow { color: #f5f2ee; }
@media (max-width: 1180px) { .sol-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sol-card { min-height: 116px; padding: 15px; }
  .sol-foot { margin-top: 22px; }
  .sol-name { font-size: 14px; }
}

/* ============ Testimonials ============ */
.testimonials .light-card-inner { background: #f0eeea; }
.testi-scroll {
  display: flex; gap: 18px; margin-top: 48px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.testi-scroll::-webkit-scrollbar { height: 6px; }
.testi-scroll::-webkit-scrollbar-thumb { background: #cfcac3; border-radius: 3px; }
.testi-card {
  position: relative; flex: 0 0 min(680px, 88%);
  border-radius: 18px; overflow: hidden; scroll-snap-align: start;
  height: 430px;
}
.testi-card img { width: 100%; height: 100%; object-fit: cover; }
.testi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 40%, rgba(0,0,0,.75));
  color: #fff; padding: 24px;
  display: flex; flex-direction: column;
}
.testi-overlay header strong { display: block; font-weight: 500; }
.testi-overlay header span { font-size: 13px; opacity: .8; }
.testi-overlay blockquote { margin-top: auto; font-size: 15.5px; max-width: 480px; }
.testi-stats { display: flex; gap: 26px; margin-top: 16px; }
.testi-stats span { font-size: 22px; font-weight: 500; color: #ffd9cd; }
.testi-stats small { display: block; font-size: 11px; color: #d8d3cd; font-weight: 300; }

/* ============ Final CTA ============ */
.final-cta { padding: 130px 0 150px; }
.final-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.final-copy h2 { max-width: 560px; }
.final-price { color: var(--ink-dim); margin: 22px 0 30px; }
.final-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.final-cards { position: relative; height: 320px; }
.review-card {
  position: absolute;
  background: #f5f2ee; color: #23211f;
  border-radius: 14px; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  min-width: 210px;
}
.rc-name { font-size: 14px; font-weight: 500; }
.rc-score { font-size: 13px; color: #8b857e; display: flex; gap: 8px; }
.rc-score i { font-style: normal; color: #c7c1b9; letter-spacing: 2px; }
.rc-score i.gold { color: #f2a93b; }
.rc-1 { top: 0; left: 4%; transform: rotate(-4deg); opacity: .6; }
.rc-2 { top: 34%; right: 0; transform: rotate(3deg); opacity: .75; }
.rc-main { bottom: 0; left: 16%; transform: scale(1.14); z-index: 2; }

/* ============ Footer ============ */
.footer { background: #121010; border-radius: 40px 40px 0 0; padding: 90px 0 40px; }
.footer-inner { width: min(1320px, 92vw); margin: 0 auto; position: relative; }
.footer-watermark { margin-bottom: 60px; }
.footer-watermark img {
  width: clamp(200px, 24vw, 340px); height: auto;
  user-select: none;
}
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.f-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7c766f; font-weight: 500; margin-bottom: 18px; }
.f-col a { display: block; font-size: 13.5px; color: #b6b0a9; padding: 4.5px 0; }
.f-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12.5px; color: #7c766f;
}
.footer-bottom a { margin-right: 22px; color: #b6b0a9; }
.f-col .f-addr { line-height: 1.45; }
.f-verse { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); opacity: .85; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav-links, .nav-lang { display: none; }
  /* Login stays next to Empieza hoy on phones, both compact so the row still fits */
  .nav-actions { gap: 8px; }
  .nav-actions .btn-login, .nav-actions .btn-coral { padding: 9px 14px; font-size: 13px; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-media-video video { height: clamp(380px, 60vh, 520px); }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-stage { margin-top: 10px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .action { grid-template-columns: 1fr; }
  .final-inner { grid-template-columns: 1fr; }
  .final-cards { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .orbit-stage { height: 430px; }
  .orbit-phone { width: 200px; height: 250px; font-size: 24px; }
  /* all 8 chips stay visible: smaller + repositioned to fit narrow viewports */
  .chip { font-size: 11.5px; padding: 7px 11px; gap: 6px; }
  .chip-1 { left: 2%; top: 0; }
  .chip-2 { right: 2%; top: 0; }
  .chip-5 { left: 8%; top: 11%; }
  .chip-8 { right: 6%; top: 11%; }
  .chip-7 { left: 0; top: 46%; }
  .chip-4 { right: 0; top: 56%; bottom: auto; }
  .chip-3 { left: 2%; bottom: 8%; }
  .chip-6 { right: 4%; bottom: 0; }
  /* photos: keep 2, small, pushed to the free corners above/below the compact chip ring */
  .oph-2, .oph-4 { display: none; }
  .oph-1 { width: 126px; height: 88px; right: 0; top: -13%; }
  .oph-3 { width: 92px; height: 122px; left: 0; right: auto; bottom: -16%; }
  .tablet { transform: rotateX(8deg) rotateY(0deg); padding: 10px; }
  @keyframes tabletFloat { 50% { transform: rotateX(6deg) translateY(-8px); } }
  .tablet-screen { min-height: 0; }
  .tb-stats { grid-template-columns: 1fr 1fr; }
  .tb-stat:last-child { display: none; }
  .t3d-stage { display: flex; flex-direction: column; gap: 22px; }
  .t3d-stage .tablet { order: -1; }
}

/* ============ La Plataforma page ============ */
.plat-lead { padding: 30px 0 100px; }
.plat-lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.plat-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); padding: 28px 26px 24px;
  min-height: 210px;
  scroll-margin-top: 110px;
  color: inherit; text-decoration: none; cursor: pointer;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
a.plat-card:focus-visible {
  outline: 2px solid var(--coral); outline-offset: 3px;
}
/* entrance handled by a staggered animation so hover transitions stay instant */
/* keep links clickable: don't leave them at opacity:0 (clicks pass through) */
.plat-lead-grid .plat-card.reveal { opacity: 1; transform: none; }
.plat-lead-grid .plat-card.reveal.in { animation: platIn .65s ease backwards; }
.plat-lead-grid .plat-card:nth-child(2).in { animation-delay: .08s; }
.plat-lead-grid .plat-card:nth-child(3).in { animation-delay: .16s; }
.plat-lead-grid .plat-card:nth-child(4).in { animation-delay: .08s; }
.plat-lead-grid .plat-card:nth-child(5).in { animation-delay: .16s; }
.plat-lead-grid .plat-card:nth-child(6).in { animation-delay: .24s; }
.plat-lead-grid .plat-card:nth-child(7).in { animation-delay: .12s; }
@keyframes platIn { from { opacity: 0; transform: translateY(28px); } }
.plat-card::after {
  content: ""; position: absolute; inset: auto -30% -55% auto;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,120,90,.16), transparent 65%);
  opacity: 0; transition: opacity .35s ease;
}
.plat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 120, 90, .55);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.plat-card:hover::after { opacity: 1; }
.plat-card-wide { grid-column: span 2; }
.pc-ico {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  color: var(--coral);
  border: 1px solid rgba(240, 120, 90, .4);
  background: rgba(240, 120, 90, .08);
  margin-bottom: 20px;
  transition: transform .3s ease;
}
.plat-card:hover .pc-ico { transform: scale(1.08) rotate(-4deg); }
.plat-card h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.plat-card p { color: var(--ink-dim); font-size: 13.5px; margin-top: 8px; max-width: 340px; }
/* Catalog tabs + filterable grid (inside light card) */
.plat-tabs {
  display: flex; gap: 8px; margin-top: 34px;
  overflow-x: auto; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.plat-tabs::-webkit-scrollbar { display: none; }
.pt-tab {
  flex: none;
  font-size: 13px; padding: 9px 18px; border-radius: 100px;
  border: 1px solid #d6d2cc; color: #55524d; background: transparent;
  transition: .2s;
  white-space: nowrap;
}
.pt-tab:hover { border-color: #a8a29b; }
.pt-tab.on { background: #23211f; border-color: #23211f; color: #f5f2ee; }
.plat-catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.cat-card {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  background: #e3e0db; border: 1px solid #d6d2cc; border-radius: 14px;
  padding: 18px 16px;
  transition: opacity .22s ease, transform .22s ease, border-color .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--coral-deep); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.cat-card.out { opacity: 0; transform: scale(.92); }
.cat-card.gone { display: none; }
.cat-card .cc-ico { color: var(--coral-deep); flex: none; margin-top: 2px; display: flex; }
.cat-card strong { display: block; font-size: 14px; font-weight: 500; color: #23211f; }
.cat-card small { display: block; font-size: 12px; color: #6c6862; line-height: 1.45; margin-top: 3px; }
.cc-cat {
  position: absolute; top: 12px; right: 12px;
  font-style: normal; font-family: var(--font-mono);
  font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #8d8781;
}

@media (max-width: 960px) {
  .plat-lead-grid { grid-template-columns: 1fr 1fr; }
  .plat-card-wide { grid-column: span 2; }
  .plat-card { min-height: 0; padding: 22px 18px 18px; }
  .plat-catalog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .plat-lead-grid { grid-template-columns: 1fr; }
  .plat-card-wide { grid-column: span 1; }
  .plat-catalog { grid-template-columns: 1fr; }
}

/* ============ Industry pages ============ */
.ind-wow { padding: 20px 0 100px; }
.wow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 50px; }
.wow-grid .plat-card { min-height: 175px; }
/* wow cards also use the staggered entrance */
.wow-grid .plat-card.reveal { opacity: 0; transform: none; }
.wow-grid .plat-card.reveal.in { opacity: 1; animation: platIn .65s ease backwards; }
.wow-grid .plat-card:nth-child(2).in { animation-delay: .08s; }
.wow-grid .plat-card:nth-child(3).in { animation-delay: .14s; }
.wow-grid .plat-card:nth-child(4).in { animation-delay: .2s; }

/* Get-Paid stack: compact horizontal strip */
.paystack { padding: 20px 0 110px; }
.paystack-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 46px; }
.pay-item {
  border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
  background: var(--bg-soft);
  padding: 20px 18px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.pay-item:hover { border-color: rgba(240, 120, 90, .55); transform: translateY(-3px); }
.pay-item .pi-num { font-family: var(--font-mono); font-size: 11px; color: var(--coral); }
.pay-item .pi-ico { color: var(--coral); margin-top: 14px; display: flex; }
.pay-item strong { font-size: 14.5px; font-weight: 500; margin-top: 12px; line-height: 1.3; }
.pay-item small { color: var(--ink-dim); font-size: 12.5px; line-height: 1.45; margin-top: 5px; }

/* Baseline block additions (reuses .steps-card light pattern) */
.step-ico { color: var(--coral-deep); margin-bottom: 14px; display: flex; }
.base-extra {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 30px;
}
.base-extra em {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: #8d8781;
  margin-right: 4px;
}
.base-extra span {
  font-size: 12.5px; color: #55524d;
  border: 1px solid #d6d2cc; border-radius: 100px; padding: 6px 14px;
}

@media (max-width: 960px) {
  .wow-grid { grid-template-columns: 1fr; }
  .paystack-row {
    display: flex; overflow-x: auto; padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .paystack-row::-webkit-scrollbar { display: none; }
  .pay-item { min-width: 210px; scroll-snap-align: start; }
}

/* ============ Más servicios: full-bleed light band + drifting cards (matches latinbranding.com) ============ */
.services { background: #f6f6f6; color: #1a1a1a; padding: 84px 0 96px; overflow: hidden; }
.svc-head { width: min(1152px, 100%); margin: 0 auto; padding: 0 clamp(24px, 4vw, 32px); max-width: 100%; }
.services .eyebrow-pill { border-color: #e5e5e5; background: #f7f7f7; color: #1a1a1a; }
.svc-head h2 {
  margin-top: 20px; max-width: 680px;
  font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: 0;
  color: #1a1a1a; text-wrap: balance;
}
/* the track is full-bleed: it starts at the viewport edge, like the live site */
.svc-wrap { position: relative; margin-top: 48px; overflow: hidden; }
.svc-wrap::before, .svc-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 96px; z-index: 2; pointer-events: none; }
.svc-wrap::before { left: 0; background: linear-gradient(90deg, #f6f6f6, transparent); }
.svc-wrap::after { right: 0; background: linear-gradient(-90deg, #f6f6f6, transparent); }
.svc-track { display: flex; gap: 20px; width: max-content; will-change: transform; }
.svc-card { width: 300px; flex: none; overflow: hidden; border-radius: 16px; border: 1px solid #e5e5e5; background: #fff; }
.svc-img { height: 176px; display: flex; align-items: center; justify-content: center; background: #f6f6f6; padding: 20px; }
.svc-img img { max-height: 100%; width: auto; object-fit: contain; display: block; }
.svc-body { border-top: 1px solid #eee; padding: 24px; }
.svc-body h3 { font-size: 20px; font-weight: 600; letter-spacing: 0; margin: 0; line-height: 1.2; color: #1a1a1a; }
.svc-body p { margin-top: 10px; font-size: 14px; line-height: 1.62; color: #525252; }
@media (max-width: 760px) { .services { padding: 60px 0 70px; } .svc-wrap::before, .svc-wrap::after { width: 40px; } }

/* ============ Pill eyebrow (matches latinbranding.com's section labels) ============ */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,0,0,.1); background: rgba(255,255,255,.55);
  border-radius: 999px; padding: 5px 13px;
  font-size: 12px; font-weight: 500; color: #23211f;
}
.eyebrow-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }
.eyebrow-pill.dark { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--ink); }

/* ============ USA map ============ */
.usmap .light-card-inner { text-align: center; }
.map-head { max-width: 640px; margin: 0 auto; }
.usmap h2 { margin-top: 18px; }
.map-sub { color: #5b5651; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.7; margin-top: 14px; }
.map-wrap { position: relative; width: min(760px, 100%); margin: 40px auto 0; }
.map-wrap img { width: 100%; display: block; filter: grayscale(1) opacity(.9); }
.map-pins { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
@keyframes mapPing { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.geo-bubble {
  position: absolute; z-index: 3; width: 220px; padding: 15px 16px; text-align: left;
  background: #fff; border: 1px solid #e5e1db; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16,24,40,.18);
  transform: translate(-50%, -100%); margin-top: -14px;
  animation: geoIn .45s ease both;
}
@keyframes geoIn { from { opacity: 0; transform: translate(-50%, calc(-100% + 8px)); } }
.geo-bubble p { font-size: 13px; line-height: 1.5; color: #23211f; padding-right: 10px; }
.geo-bubble b { color: var(--coral-deep); font-weight: 600; }
.geo-x { position: absolute; right: 9px; top: 5px; border: 0; background: none; font-size: 18px; line-height: 1; color: #9a9a9a; cursor: pointer; }
.geo-x:hover { color: #23211f; }
.geo-cta { display: inline-flex; margin-top: 12px; background: var(--coral); color: #fff; border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 500; }
.geo-cta:hover { background: var(--coral-deep); }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 46px auto 0; }
.ms-item { border: 1px solid rgba(0,0,0,.08); background: #fbfaf8; border-radius: 14px; padding: 18px 12px; }
.ms-item strong { display: block; font-size: clamp(20px, 3.4vw, 32px); font-weight: 500; color: #131110; white-space: nowrap; }
.ms-item span { display: block; margin-top: 5px; font-size: 12.5px; color: #6e6862; }

/* ============ Video testimonials ============ */
.videos { padding: 100px 0; }
.videos h2 { margin-top: 18px; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.vid-card { overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.09); background: #000; }
.vid-card > div, .vid-card { position: relative; }
.vid-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ============ Footer socials ============ */
.f-social { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 60px; }
.f-social-lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #7c766f; margin-right: 10px; }
.f-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #b6b0a9; transition: color .2s, background .2s; }
.f-social a:hover { color: var(--coral); background: rgba(255,255,255,.05); }
.f-social svg { width: 19px; height: 19px; }
.f-verse-inline { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); opacity: .85; }

@media (max-width: 960px) {
  .map-stats { gap: 8px; }
  .ms-item { padding: 14px 8px; }
  .vid-grid { grid-template-columns: 1fr; gap: 14px; }
  .videos { padding: 70px 0; }
  .f-social { margin-top: 40px; }
  .f-verse-inline { margin-left: 0; width: 100%; margin-top: 10px; }
}

/* ============ Flagship product pages (Recepcionista AI, Latin Pay) ============ */
.pc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pc-chip {
  display: inline-flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  border-radius: 14px; padding: 12px 18px; min-width: 120px;
}
.pc-chip b { font-size: 22px; font-weight: 500; color: var(--coral); line-height: 1.1; }
.pc-chip em { font-style: normal; font-size: 12px; color: var(--ink-dim); }
.pc-hero-img { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.pc-hero-img img { width: 100%; height: clamp(260px, 38vw, 480px); object-fit: cover; object-position: 50% 58%; display: block; }
.pc-grid-sec { padding: 90px 0 10px; }
.pc-grid-sec h2 { margin-top: 18px; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.pc-cell {
  background: var(--bg-soft); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-md); padding: 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.pc-cell:hover { border-color: rgba(240,120,90,.4); transform: translateY(-3px); }
.pc-cell-ico { display: inline-flex; color: var(--coral); margin-bottom: 12px; }
.pc-cell strong { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.pc-cell span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-dim); }
.pc-shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.pc-shot img { width: 100%; display: block; }
@media (max-width: 960px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-chip { min-width: 0; flex: 1 1 45%; padding: 10px 14px; }
  .pc-chip b { font-size: 19px; }
  .pc-grid-sec { padding: 60px 0 0; }
}

/* ============ Hero: industries ticker (full-bleed marquee, right → left) ============ */
.ind-ticker {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  margin-top: clamp(50px, 6vw, 84px); padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.it-track {
  display: flex; align-items: center; width: max-content;
  animation: itScroll 90s linear infinite;
  will-change: transform;
}
.ind-ticker:hover .it-track { animation-play-state: paused; }
.it-track span {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .17em;
  text-transform: uppercase; color: rgba(255,255,255,.60); white-space: nowrap;
}
.it-track i {
  flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral); opacity: .8; margin: 0 22px;
}
@keyframes itScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 640px) {
  .ind-ticker { padding: 12px 0; }
  .it-track span { font-size: 11.5px; letter-spacing: .14em; }
  .it-track i { margin: 0 16px; width: 4px; height: 4px; }
}
@media (prefers-reduced-motion: reduce) { .it-track { animation: none; } }

/* ============ Lead chatbot (floating qualifying assistant) ============ */
.cbot { position: fixed; right: 22px; bottom: 22px; z-index: 120; font-family: var(--font-sans, inherit); }

/* ---- launcher */
.cbot-fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(140deg, #ef8362, var(--coral)); color: #1a120e;
  box-shadow: 0 14px 34px rgba(226,114,80,.42), 0 3px 10px rgba(0,0,0,.4);
  display: grid; place-items: center; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.cbot-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 42px rgba(226,114,80,.5); }
.cbot-fab:active { transform: scale(.96); }
.cbot-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral);
  animation: cbotPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes cbotPulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.75); opacity: 0; } }
.cbot-ico { position: absolute; display: grid; place-items: center; transition: opacity .22s, transform .3s; }
.cbot-ico-x { font-size: 30px; line-height: 1; opacity: 0; transform: rotate(-90deg) scale(.6); }
.cbot.open .cbot-ico-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.cbot.open .cbot-ico-x { opacity: 1; transform: none; }
.cbot.open .cbot-ring { animation: none; opacity: 0; }
.cbot-badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #fff; color: #16110e; font-size: 11px; font-weight: 600;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.cbot.open .cbot-badge, .cbot.seen .cbot-badge { display: none; }

/* ---- teaser bubble */
.cbot-teaser {
  position: absolute; right: 0; bottom: 76px; width: 258px; padding: 15px 17px 16px;
  border-radius: 16px 16px 4px 16px; background: #221a16; border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.5); color: var(--ink, #f4efe9);
  animation: cbotPop .45s cubic-bezier(.16,1,.3,1) both;
}
.cbot-teaser b { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 5px; }
.cbot-teaser span { display: block; font-size: 12.5px; color: var(--ink-dim, #a49b93); line-height: 1.5; }
.cbot-teaser-x {
  position: absolute; top: 6px; right: 8px; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.4); font-size: 18px; line-height: 1; padding: 2px 4px;
}
.cbot-teaser-x:hover { color: #fff; }
@keyframes cbotPop { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }

/* ---- panel */
.cbot-panel {
  position: absolute; right: 0; bottom: 76px; width: 374px; max-height: min(640px, calc(100vh - 118px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #191310; border: 1px solid rgba(255,255,255,.10); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.62); transform-origin: bottom right;
  animation: cbotOpen .38s cubic-bezier(.16,1,.3,1) both;
}
@keyframes cbotOpen { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.cbot-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 14px 13px;
  border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025);
}
.cbot-ava {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, #ef8362, var(--coral)); color: #1a120e;
}
.cbot-who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cbot-who b { font-size: 14px; font-weight: 500; color: var(--ink, #f4efe9); }
.cbot-who small { font-size: 11.5px; color: var(--ink-dim, #a49b93); display: flex; align-items: center; gap: 6px; }
.cbot-who small i {
  width: 6px; height: 6px; border-radius: 50%; background: #45c46a; flex: none;
  box-shadow: 0 0 0 0 rgba(69,196,106,.6); animation: cbotLive 2s ease-out infinite;
}
@keyframes cbotLive { 0% { box-shadow: 0 0 0 0 rgba(69,196,106,.55); } 70%,100% { box-shadow: 0 0 0 7px rgba(69,196,106,0); } }
.cbot-close {
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,.42);
  font-size: 22px; line-height: 1; padding: 2px 4px;
}
.cbot-close:hover { color: #fff; }

/* ---- log */
.cbot-log {
  flex: 1 1 auto; min-height: 84px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 4px;
  display: flex; flex-direction: column; gap: 9px;
}
.cbot-log::-webkit-scrollbar { width: 6px; }
.cbot-log::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.cb-msg {
  max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.55;
  animation: cbotMsg .34s cubic-bezier(.16,1,.3,1) both; word-wrap: break-word;
}
@keyframes cbotMsg { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cb-bot {
  align-self: flex-start; background: #261d18; color: var(--ink, #f4efe9);
  border: 1px solid rgba(255,255,255,.07); border-bottom-left-radius: 5px;
}
.cb-me {
  align-self: flex-end; background: linear-gradient(140deg, #ef8362, var(--coral));
  color: #1a120e; font-weight: 500; border-bottom-right-radius: 5px;
}
.cb-msg ul { margin: 7px 0 1px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.cb-msg li { position: relative; padding-left: 20px; font-size: 13.4px; line-height: 1.5; color: #ded5cd; }
.cb-msg li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--coral);
}
.cb-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; }
.cb-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.42);
  animation: cbotDot 1.25s infinite ease-in-out;
}
.cb-typing i:nth-child(2) { animation-delay: .16s; }
.cb-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes cbotDot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ---- quick replies */
.cbot-quick {
  display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px 2px;
  flex: 0 0 auto; max-height: min(244px, 34vh); overflow-y: auto; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
          mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.cbot-quick.cb-short { -webkit-mask-image: none; mask-image: none; }
.cbot-quick::-webkit-scrollbar { width: 6px; }
.cbot-quick::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.cbot-quick:empty { display: none; }
.cb-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(226,114,80,.42); background: rgba(226,114,80,.08);
  color: var(--ink, #f4efe9); font-size: 12.8px; cursor: pointer; text-align: left;
  animation: cbotChip .32s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d, 0s);
  transition: background .18s, border-color .18s, transform .18s;
}
.cb-chip svg { color: var(--coral); flex: none; }
.cb-chip:hover { background: rgba(226,114,80,.2); border-color: var(--coral); transform: translateY(-1px); }
.cb-chip.cb-chip-cta { background: var(--coral); border-color: var(--coral); color: #1a120e; font-weight: 500; }
@keyframes cbotChip { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }

/* ---- composer */
.cbot-form { display: flex; gap: 8px; padding: 12px 14px 6px; }
.cbot-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; font-size: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  color: var(--ink, #f4efe9); font-family: inherit;
}
.cbot-form input::placeholder { color: rgba(255,255,255,.32); }
.cbot-form input:focus { outline: none; border-color: var(--coral); background: rgba(255,255,255,.07); }
.cbot-form button {
  width: 42px; height: 42px; flex: none; border-radius: 12px; border: none; cursor: pointer;
  background: var(--coral); color: #1a120e; display: grid; place-items: center; transition: .18s;
}
.cbot-form button:hover { filter: brightness(1.08); }
/* author display: values beat the UA's [hidden] rule — restore it explicitly */
.cbot-panel[hidden], .cbot-form[hidden], .cbot-teaser[hidden] { display: none; }
.cbot-legal { padding: 4px 16px 13px; font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,.30); }

@media (max-width: 520px) {
  .cbot { right: 14px; bottom: 14px; }
  .cbot-fab { width: 54px; height: 54px; }
  .cbot-panel {
    width: calc(100vw - 28px); right: 0; bottom: 68px;
    max-height: min(78vh, calc(100vh - 104px)); border-radius: 18px;
  }
  .cbot-teaser { width: calc(100vw - 90px); max-width: 264px; bottom: 68px; }
  .cb-msg { max-width: 88%; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .cbot-ring, .cbot-who small i { animation: none; }
  .cbot-panel, .cb-msg, .cb-chip, .cbot-teaser { animation-duration: .01s; }
}
