/* =========================================================
   Tapview - Landing de ventas (hoja de estilos completa)
   ========================================================= */

:root {
  /* Marca (spec seccion 2) */
  --ink: #0B2545;
  --emerald: #0B7F61;
  --gold: #FFB703;
  --white: #FFFFFF;
  --mist: #F4F7FB;
  --slate: #5B6B82;

  --ink-80: rgba(11, 37, 69, 0.80);
  --line: rgba(11, 37, 69, 0.12);
  --line-on-ink: rgba(255, 255, 255, 0.16);

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.14);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.22);

  --maxw: 1080px;
  --gutter: 20px;
  --nav-h: 60px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 8vw, 44px); }
h2 { font-size: clamp(25px, 6vw, 34px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Secciones ---------- */
.section { padding: 52px 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); color: var(--ink); }
.section--mist { background: var(--mist); color: var(--ink); }
.section__title { margin-bottom: 10px; }
.section__intro { color: var(--slate); margin-bottom: 26px; max-width: 42ch; }
.section--ink .section__intro { color: rgba(255,255,255,0.82); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--emerald); color: var(--white); box-shadow: 0 8px 20px rgba(11,127,97,0.28); }
.btn--primary:hover { background: #0a6e54; }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--line-on-ink); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn--ghost-ink { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-ink:hover { background: rgba(11,37,69,0.04); }
.btn--lg { min-height: 58px; font-size: 18px; }
.btn--block { width: 100%; }
.btn__ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11,37,69,0.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-on-ink);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar__logo { display: flex; align-items: center; gap: 9px; color: var(--white); text-decoration: none; }
.topbar__logo svg { width: 26px; height: 26px; }
.topbar__logo span { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.topbar__cta { min-height: 42px; padding: 9px 18px; font-size: 15px; }
body { padding-top: var(--nav-h); }

/* ---------- CTA flotante movil ---------- */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(11,37,69,0.16), rgba(11,37,69,0));
  transform: translateY(130%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.floating-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.floating-cta.is-hidden-by-offer { transform: translateY(130%); pointer-events: none; }
.floating-cta .btn { box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .floating-cta { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: radial-gradient(120% 90% at 100% 0%, rgba(11,127,97,0.18), transparent 55%), var(--ink);
  color: var(--white); padding: 22px 0 36px;
}
.hero__grid { display: flex; flex-direction: column; gap: 16px; }
.hero__eyebrow { order: 1; color: var(--gold); font-weight: 700; font-size: 15px; }
.hero__title { order: 2; }
.hero__title .n { color: var(--gold); }
.hero__subtitle { order: 3; color: rgba(255,255,255,0.86); font-size: 16.5px; }
.hero__cta { order: 4; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__anim { order: 5; }
.hero__trust { order: 6; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); font-size: 15px; }
.hero__stars { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.hero__stars svg { width: 17px; height: 17px; }

@media (min-width: 768px) {
  .hero { padding: 44px 0 60px; }
  .hero__grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
    grid-template-areas: "eyebrow anim" "title anim" "subtitle anim" "cta anim" "trust anim";
  }
  .hero__eyebrow { grid-area: eyebrow; }
  .hero__title { grid-area: title; }
  .hero__subtitle { grid-area: subtitle; font-size: 19px; max-width: 36ch; }
  .hero__cta { grid-area: cta; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__trust { grid-area: trust; }
  .hero__anim { grid-area: anim; }
}

/* =========================================================
   ANIMACION 3D (seccion 4)
   Movimiento con CSS @keyframes; JS para texto/contador/leyendas.
   ========================================================= */
.anim { width: 100%; }
.anim__frame {
  position: relative; width: 100%; max-width: 380px; margin-inline: auto;
  aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden;
  background: radial-gradient(130% 100% at 50% 0%, #15396b, #0a1e3c 72%);
  border: 1px solid var(--line-on-ink); box-shadow: var(--shadow-lg);
  perspective: 1000px; perspective-origin: 50% 42%;
}
.anim__stage { position: absolute; inset: 0; transform-style: preserve-3d; }

.scene-floor {
  position: absolute; left: 50%; bottom: -4%; width: 150%; height: 46%;
  transform: translateX(-50%) rotateX(74deg); transform-origin: bottom center;
  background: radial-gradient(60% 80% at 50% 10%, rgba(255,255,255,0.08), rgba(255,255,255,0) 72%);
  border-radius: 50%;
}

/* ----- Tarjeta L ----- */
.scene-card { position: absolute; left: 12%; bottom: 14%; width: 41%; max-width: 152px; transform-style: preserve-3d; }
.card-lean {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(11deg) rotateX(-4deg); transform-origin: 50% 100%;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.4));
}
.card-face {
  width: 100%; aspect-ratio: 200 / 300; border-radius: 11px; overflow: hidden;
  background: #fff;
}
.card-face svg { width: 100%; height: 100%; display: block; }
.card-shadow {
  position: absolute; left: 50%; bottom: -6%; width: 96%; height: 20px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,0.45), transparent 72%);
  filter: blur(3px); opacity: 0.5; pointer-events: none;
}
.card-glow {
  position: absolute; left: 50%; top: 20%; width: 125%; height: 75%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,183,3,0.5), transparent 62%);
  opacity: 0; pointer-events: none;
}

/* ----- Ondas NFC ----- */
.nfc-waves { position: absolute; left: 50%; top: 34%; width: 0; height: 0; z-index: 2; }
.nfc-wave {
  position: absolute; left: 0; top: 0; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  border: 3px solid #17c08a; border-radius: 50%; opacity: 0;
}

/* ----- Celular ----- */
.scene-phone {
  position: absolute; right: 5%; bottom: 15%; width: 33%; max-width: 134px;
  transform-style: preserve-3d; z-index: 3;
}
.phone-body {
  position: relative; width: 100%; aspect-ratio: 134 / 272; border-radius: 22px;
  background: #0b1b33; box-shadow: 0 22px 40px rgba(0,0,0,0.5), inset 0 0 0 2px #1d304f; padding: 6px;
}
.phone-screen { position: absolute; inset: 7px; border-radius: 17px; overflow: hidden; background: #eef2f7; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 32%; height: 6px; border-radius: 4px; background: #0b1b33; z-index: 6; }

.phone-home { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #8a97a8; }
.phone-home .time { font-size: 30px; font-weight: 800; color: #0B2545; letter-spacing: -0.02em; }
.phone-home .hint { font-size: 8.5px; font-weight: 600; }

.notif {
  position: absolute; top: 8%; left: 6%; right: 6%; display: flex; gap: 7px; align-items: center;
  background: #fff; border-radius: 11px; padding: 7px 8px; box-shadow: 0 8px 18px rgba(11,37,69,0.2);
  opacity: 0; z-index: 4;
}
.notif__icon { width: 26px; height: 26px; border-radius: 7px; background: #ecfdf5; display: grid; place-items: center; flex: 0 0 auto; }
.notif__icon svg { width: 15px; height: 15px; }
.notif__t { font-size: 8.7px; font-weight: 700; color: #0B2545; line-height: 1.25; }
.notif__t small { display: block; font-weight: 600; color: #5B6B82; font-size: 8.2px; }

.phone-review {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  padding: 13% 8% 9%; gap: 6px; opacity: 0; text-align: center;
}
.phone-review h4 { font-size: 11px; color: #0B2545; }
.review-stars { display: flex; gap: 3px; }
.rstar { position: relative; width: 17px; height: 17px; }
.rstar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rstar .fill { opacity: 0; transform-origin: center; }
.review-text { font-size: 9px; color: #0B2545; font-weight: 600; min-height: 26px; line-height: 1.35; }
.review-text span { display: block; min-height: 12px; }
.review-text .cur { color: #0B7F61; }
.review-publish {
  position: relative; margin-top: 2px; background: #0B7F61; color: #fff;
  font-size: 10px; font-weight: 700; padding: 6px 18px; border-radius: 8px;
}
.review-check { position: absolute; inset: 0; display: grid; place-items: center; background: #0B7F61; border-radius: 8px; opacity: 0; }
.review-check svg { width: 16px; height: 16px; }
.review-counter { display: flex; align-items: center; gap: 5px; background: #f0f4fa; border-radius: 8px; padding: 4px 10px; font-size: 9.5px; font-weight: 800; color: #0B2545; margin-top: 1px; }
.review-counter svg { width: 11px; height: 11px; }

/* ----- Controles y leyendas ----- */
.anim__controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.anim__btn {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.08); color: var(--white);
  border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.anim__btn:hover { background: rgba(255,255,255,0.14); }
.anim__btn svg { width: 15px; height: 15px; }

.anim__legends { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.anim__legend {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid transparent; color: rgba(255,255,255,0.6);
  font-size: 13px; font-weight: 600; line-height: 1.2;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.anim__legend .num { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,0.12); color: #fff; }
.anim__legend.is-active { background: rgba(11,127,97,0.22); border-color: rgba(11,127,97,0.6); color: #fff; }
.anim__legend.is-active .num { background: var(--emerald); }

/* ----- Timeline (todo 9 s, solo corre con .tv-run) ----- */
.tv-run .scene-card { animation: tvCard3d 9s linear infinite; }
.tv-run .card-glow { animation: tvGlow 9s linear infinite; }
.tv-run .scene-phone { animation: tvPhone3d 9s cubic-bezier(.3,.6,.3,1) infinite; }
.tv-run .nfc-wave-1 { animation: tvWave1 9s linear infinite; }
.tv-run .nfc-wave-2 { animation: tvWave2 9s linear infinite; }
.tv-run .nfc-wave-3 { animation: tvWave3 9s linear infinite; }
.tv-run .phone-home { animation: tvHome 9s linear infinite; }
.tv-run .notif { animation: tvNotif 9s ease-out infinite; }
.tv-run .phone-review { animation: tvReview 9s linear infinite; }
.tv-run .rstar-1 .fill { animation: tvStar1 9s linear infinite; }
.tv-run .rstar-2 .fill { animation: tvStar2 9s linear infinite; }
.tv-run .rstar-3 .fill { animation: tvStar3 9s linear infinite; }
.tv-run .rstar-4 .fill { animation: tvStar4 9s linear infinite; }
.tv-run .rstar-5 .fill { animation: tvStar5 9s linear infinite; }
.tv-run .review-publish { animation: tvPress 9s ease-out infinite; }
.tv-run .review-check { animation: tvCheck 9s ease-out infinite; }

.tv-paused * { animation-play-state: paused !important; }

@keyframes tvCard3d {
  0%     { opacity: 0; transform: translateY(16px) scale(.96); }
  13.33% { opacity: 1; transform: translateY(0) scale(1); }
  91.11% { opacity: 1; transform: translateY(0) scale(1); }
  100%   { opacity: 0; transform: translateY(0) scale(1); }
}
@keyframes tvGlow {
  0%,30% { opacity: 0; } 35% { opacity: .8; } 44% { opacity: 0; } 100% { opacity: 0; }
}
@keyframes tvPhone3d {
  0%, 13.33% { opacity: 0; transform: translate3d(72px, 34px, -30px) rotateY(-28deg) rotateZ(10deg); }
  28.89%     { opacity: 1; transform: translate3d(-36px, -36px, 72px) rotateY(14deg) rotateZ(-7deg); }
  46%        { opacity: 1; transform: translate3d(-34px, -30px, 72px) rotateY(14deg) rotateZ(-7deg); }
  68%        { opacity: 1; transform: translate3d(-36px, -36px, 74px) rotateY(12deg) rotateZ(-6deg); }
  91.11%     { opacity: 1; transform: translate3d(-35px, -33px, 72px) rotateY(13deg) rotateZ(-6deg); }
  100%       { opacity: 0; transform: translate3d(-35px, -33px, 72px) rotateY(13deg) rotateZ(-6deg); }
}
@keyframes tvWave1 { 0%,27%{opacity:0;transform:scale(.3)} 30%{opacity:.85} 38%{opacity:0;transform:scale(1.5)} 100%{opacity:0} }
@keyframes tvWave2 { 0%,29%{opacity:0;transform:scale(.3)} 32%{opacity:.8} 40%{opacity:0;transform:scale(1.6)} 100%{opacity:0} }
@keyframes tvWave3 { 0%,31%{opacity:0;transform:scale(.3)} 34%{opacity:.75} 42%{opacity:0;transform:scale(1.7)} 100%{opacity:0} }
@keyframes tvHome { 0%,40%{opacity:1} 48%{opacity:0} 100%{opacity:0} }
@keyframes tvNotif {
  0%,37% { opacity: 0; transform: translateY(-150%); }
  42%    { opacity: 1; transform: translateY(0); }
  48%    { opacity: 1; transform: translateY(0); }
  51%    { opacity: 0; transform: translateY(-20%); }
  100%   { opacity: 0; }
}
@keyframes tvReview { 0%,47%{opacity:0} 51%{opacity:1} 91.11%{opacity:1} 100%{opacity:0} }
@keyframes tvStar1 { 0%,50%{opacity:0;transform:scale(.6)} 52%{opacity:1;transform:scale(1.25)} 54%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }
@keyframes tvStar2 { 0%,53%{opacity:0;transform:scale(.6)} 55%{opacity:1;transform:scale(1.25)} 57%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }
@keyframes tvStar3 { 0%,56%{opacity:0;transform:scale(.6)} 58%{opacity:1;transform:scale(1.25)} 60%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }
@keyframes tvStar4 { 0%,59%{opacity:0;transform:scale(.6)} 61%{opacity:1;transform:scale(1.25)} 63%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }
@keyframes tvStar5 { 0%,62%{opacity:0;transform:scale(.6)} 64%{opacity:1;transform:scale(1.25)} 66%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }
@keyframes tvPress { 0%,77%{transform:scale(1)} 79%{transform:scale(.93)} 81%{transform:scale(1)} 100%{transform:scale(1)} }
@keyframes tvCheck { 0%,80%{opacity:0;transform:scale(.4)} 84%{opacity:1;transform:scale(1.12)} 86%{transform:scale(1)} 91%{opacity:1} 100%{opacity:0} }

/* Fotograma estatico (reduced motion) */
.anim__static { display: none; position: absolute; inset: 0; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; }
.static-step { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; }
.static-step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--emerald); font-weight: 800; flex: 0 0 auto; }
.static-step__arrow { color: rgba(255,255,255,.4); text-align: center; font-size: 20px; }
@media (prefers-reduced-motion: reduce) {
  .tv-run * { animation: none !important; }
  .anim__stage, .anim__controls { display: none; }
  .anim__static { display: flex; }
  .scroll-anim { animation: none !important; }
}

/* =========================================================
   COMO FUNCIONA (seccion 3)
   ========================================================= */
.how__grid { display: grid; gap: 26px; }
.how__media { position: relative; justify-self: center; max-width: 300px; }
.how__media img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); }
.how__media::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 22px; background: radial-gradient(50% 100% at 50% 0, rgba(11,37,69,0.18), transparent 70%); }
.how__badge { position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--ink); font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); display: inline-flex; gap: 6px; align-items: center; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.step__num { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 999px; background: var(--emerald); color: #fff; font-weight: 800; }
.step__t { font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.step__d { color: var(--slate); font-size: 15.5px; }
.how__footnote { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; color: var(--slate); font-size: 15.5px; }
.how__footnote svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--emerald); margin-top: 2px; }
@media (min-width: 860px) {
  .how__grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
  .how__media { max-width: 340px; }
}

/* =========================================================
   POR QUE IMPORTA (seccion 4 contenido)
   ========================================================= */
.why__wrap { max-width: 640px; }
.why__text { font-size: 19px; line-height: 1.5; }
.why__highlight { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.why__highlight svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--gold); }
.why__highlight p { font-size: 15.5px; color: var(--ink); }

/* =========================================================
   RESULTADOS / PRUEBA SOCIAL (seccion 5-6)
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; margin-bottom: 26px; }
.stat__value { font-size: clamp(26px, 8vw, 38px); font-weight: 800; color: var(--gold); line-height: 1; }
.stat__label { font-size: 12.5px; color: rgba(255,255,255,0.82); margin-top: 8px; line-height: 1.3; }
.bizstrip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bizstrip__track { display: flex; gap: 12px; width: max-content; animation: marquee 26s linear infinite; }
.biz { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: rgba(255,255,255,0.06); border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 9px 15px; font-size: 14.5px; font-weight: 600; }
.biz svg { width: 15px; height: 15px; color: var(--gold); flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 768px) {
  .bizstrip { mask-image: none; -webkit-mask-image: none; }
  .bizstrip__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   DUDAS FRECUENTES (acordeon, seccion 6)
   ========================================================= */
.acc { max-width: 720px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 44px 18px 0; position: relative; min-height: 56px;
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.35;
}
.acc__q::after {
  content: ""; position: absolute; right: 8px; top: 24px; width: 12px; height: 12px;
  border-right: 2.5px solid var(--slate); border-bottom: 2.5px solid var(--slate);
  transform: rotate(45deg); transition: transform .25s ease; transform-origin: center;
}
.acc__item.is-open .acc__q::after { transform: rotate(-135deg); }
.acc__panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.acc__panel-inner { padding: 0 0 18px; color: var(--slate); font-size: 16px; line-height: 1.55; }
.acc__item.is-open .acc__panel { max-height: 420px; }

/* =========================================================
   QUE PASA DESPUES (seccion 7)
   ========================================================= */
.after__steps { display: grid; gap: 12px; max-width: 620px; }
.after__step { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.after__check { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 999px; background: var(--emerald); }
.after__check svg { width: 15px; height: 15px; color: #fff; }

/* =========================================================
   OFERTA Y CIERRE (seccion 8)
   ========================================================= */
.offer__card { max-width: 560px; margin-inline: auto; background: rgba(255,255,255,0.05); border: 1px solid var(--line-on-ink); border-radius: 22px; padding: 28px 22px; text-align: center; }
.offer__priceLabel { color: rgba(255,255,255,0.72); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.price { font-size: clamp(34px, 10vw, 46px); font-weight: 800; color: #fff; margin: 4px 0 2px; }
.price__note { color: #ffe6a8; font-weight: 700; font-size: 15px; }
.offer__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.offer__guarantee { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.9); font-size: 14.5px; font-weight: 600; }
.offer__guarantee svg { width: 18px; height: 18px; color: var(--gold); }
.urgency { margin-top: 20px; display: inline-flex; gap: 9px; align-items: center; justify-content: center; background: rgba(255,183,3,0.14); border: 1px solid rgba(255,183,3,0.4); color: #ffe6a8; border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 700; }
.urgency svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* =========================================================
   PIE
   ========================================================= */
.footer { background: #081a33; color: rgba(255,255,255,0.8); padding: 34px 0 40px; }
.footer__grid { display: flex; flex-direction: column; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 18px; }
.footer__brand svg { width: 24px; height: 24px; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; }
.footer__contact a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.footer__contact svg { width: 17px; height: 17px; color: var(--emerald); }
.footer__legal { font-size: 13px; color: rgba(255,255,255,0.5); }

/* =========================================================
   MODO VISITA
   ========================================================= */
body.modo-visita [data-hide-visit] { display: none !important; }
body.modo-visita { padding-top: 0; }
body.modo-visita .hero { min-height: 100svh; display: flex; align-items: center; padding: 20px 0 28px; }
body.modo-visita .hero__title { font-size: clamp(34px, 9vw, 46px); }
body.modo-visita .anim__frame { max-width: min(92vw, 440px); aspect-ratio: auto; height: 64vh; min-height: 340px; }
body.modo-visita .anim__controls { display: none; }
body.modo-visita .btn { min-height: 58px; font-size: 18px; }

.visit-confirm {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 32px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.visit-confirm.is-open { opacity: 1; visibility: visible; }
.visit-confirm__check { width: 88px; height: 88px; border-radius: 999px; background: var(--emerald); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(11,127,97,0.5); }
.visit-confirm__check svg { width: 46px; height: 46px; color: #fff; }
.visit-confirm h2 { max-width: 16ch; }
.visit-confirm a { color: rgba(255,255,255,0.7); text-decoration: underline; font-size: 15px; font-weight: 600; }

/* =========================================================
   Marcadores de desarrollo ([CONFIRMAR])
   ========================================================= */
.dev-flag {
  display: inline-block;
  background: repeating-linear-gradient(45deg, #fff4d6, #fff4d6 8px, #ffe9b0 8px, #ffe9b0 16px);
  color: #7a5a00; border: 1px dashed #d9a400; border-radius: 8px; padding: 2px 8px;
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.dev-only { display: none; }
html.is-dev .dev-only { display: block; }

.dev-panel { display: none; }
html.is-dev .dev-panel { display: block; position: fixed; left: 10px; bottom: 10px; z-index: 120; max-width: min(340px, 92vw); }
.dev-panel__toggle { background: #7a1f1f; color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow-md); }
.dev-panel__list { display: none; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-height: 50vh; overflow: auto; box-shadow: var(--shadow-lg); font-size: 12.5px; color: var(--ink); }
.dev-panel.is-open .dev-panel__list { display: block; }
.dev-panel__list h5 { margin: 0 0 6px; font-size: 12.5px; }
.dev-panel__list ul { margin: 0; padding-left: 16px; }
.dev-panel__list li { margin-bottom: 5px; line-height: 1.35; }
