/* ==========================================================================
   NEXMIO · Estilos
   Concepto: "nodos conectados" — formas redondeadas como la X del logo,
   azul profundo como base, degradado azul eléctrico → turquesa para la
   acción y un punto coral como firma.
   Índice: 1 Tokens · 2 Base · 3 Componentes · 4 Nav · 5 Hero · 6 Servicios
           7 Portafolio · 8 Beneficios · 9 Planes · 10 Proceso · 11 FAQ
           12 Contacto · 13 Footer · 14 Animaciones
   ========================================================================== */

/* 1 · TOKENS ------------------------------------------------------------- */
:root {
  --navy-950: #050D26;
  --navy-900: #071437;
  --navy-800: #0D1F52;
  --navy-700: #16306F;
  --ink: #0B1A44;
  --ink-soft: #4B5A7E;
  --blue: #1268F3;
  --cyan: #19D3F0;
  --coral: #FF7A59;
  --paper: #F5F8FE;
  --tint: #EAF1FD;
  --white: #FFFFFF;
  --wa: #1EA952;
  --line: rgba(11, 26, 68, .1);
  --line-dark: rgba(255, 255, 255, .12);
  --grad: linear-gradient(120deg, var(--blue) 0%, #1A9BF5 55%, var(--cyan) 100%);

  --f-display: "M PLUS Rounded 1c", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow: 0 24px 60px -28px rgba(7, 20, 55, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
  color-scheme: light;
}

/* 2 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id], main [id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(30px, 5.2vw, 50px); }
h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; }
.muted { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 88px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-900); color: var(--white); }
@media (min-width: 900px) { .section { padding-block: 120px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* 3 · COMPONENTES -------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.eyebrow--dark { color: var(--cyan); }
.eyebrow .dot { display: none; }
.lead { color: var(--ink-soft); font-size: 18px; max-width: 58ch; margin-top: 16px; }
.section--dark .lead, .contact .lead { color: rgba(255, 255, 255, .72); }

.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--grad { background: var(--grad); color: var(--white); box-shadow: 0 12px 30px -12px rgba(18, 104, 243, .7); }
.btn--grad:hover { box-shadow: 0 16px 36px -12px rgba(25, 211, 240, .7); }
.btn--glass { background: rgba(255, 255, 255, .08); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-weight: 700; color: var(--blue); text-decoration: none;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

.pill {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--coral); color: var(--white); font-size: 13px; font-weight: 700;
}

/* 4 · NAV ---------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(5, 13, 38, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
.nav__bar { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav__logo img { width: 128px; }
.nav__menu { display: none; }
.nav__cta { display: none; }
.nav__toggle {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); display: grid; place-content: center; gap: 6px;
}
.nav__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav__menu.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding: 16px max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: var(--navy-950); border-top: 1px solid var(--line-dark);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    animation: drop .3s var(--ease);
  }
  .nav__menu.is-open a:not(.btn) {
    color: var(--white); text-decoration: none; font: 700 24px/1 var(--f-display);
    padding: 16px 4px; border-bottom: 1px solid var(--line-dark);
  }
  .nav__menu.is-open .btn { margin-top: 20px; }
  .nav.menu-open { background: var(--navy-950); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 960px) {
  .nav__toggle, .nav__cta-mobile { display: none; }
  .nav__menu { display: flex; gap: 6px; margin-left: auto; }
  .nav__menu a {
    color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: 15px;
    padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s;
  }
  .nav__menu a:hover, .nav__menu a.is-current { color: var(--white); background: rgba(255, 255, 255, .08); }
  .nav__cta { display: inline-flex; }
  .nav__logo img { width: 140px; }
}

/* 5 · HERO --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 85% 10%, var(--navy-800) 0%, var(--navy-950) 60%);
  color: var(--white);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 36px);
}
.hero__glow {
  position: absolute; z-index: -1; inset: auto -20% -30% auto; width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(18, 104, 243, .35), transparent 62%);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; padding-bottom: 56px; }
.hero__title { font-size: clamp(42px, 9.5vw, 82px); line-height: 1.02; letter-spacing: -.035em; }
.hero__lead { color: rgba(255, 255, 255, .74); font-size: clamp(17px, 2vw, 19px); max-width: 52ch; margin-top: 22px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero__stage { position: relative; display: grid; justify-items: center; padding: 10px 0 0; }
.orb {
  position: absolute; z-index: 0; width: min(78vw, 420px); aspect-ratio: 1; top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(25, 211, 240, .55), rgba(18, 104, 243, .35) 45%, transparent 70%);
  filter: blur(6px);
}
.orb::after {
  content: ""; position: absolute; width: 18%; aspect-ratio: 1; right: 4%; top: 2%;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FF9C80, var(--coral));
  box-shadow: 0 10px 30px -6px rgba(255, 122, 89, .7);
  animation: float 6s ease-in-out infinite;
}
.phone {
  position: relative; z-index: 1;
  width: min(66vw, 290px); aspect-ratio: 9 / 18.6;
  border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #22356F, #0A1640);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
}
.phone__notch { position: absolute; z-index: 2; top: 17px; left: 50%; transform: translateX(-50%); width: 24%; height: 16px; border-radius: 999px; background: #050D26; }
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--navy-800); }
.phone__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.phone__screen img.is-active { opacity: 1; transform: none; }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px;
}
.chip--url { top: 10%; left: 0; animation: float 7s ease-in-out infinite; }
.chip--url b { color: var(--wa); font-size: 12px; }
.chip--url .mono { font-size: 13px; }
.chip .live { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(30, 169, 82, .18); }
.chip--order { bottom: 22%; right: 0; animation: float 8s ease-in-out -2s infinite; }
.chip--order b { display: block; font-size: 14px; }
.chip--order small { color: var(--ink-soft); font-size: 12px; }
.chip__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.chip__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

.hero__tabs { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-dark); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hero__tabs::-webkit-scrollbar { display: none; }
.hero__tabs button {
  flex: none; border: 0; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer;
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; display: flex; gap: 6px; align-items: center;
  transition: background-color .25s, color .25s;
}
.hero__tabs .mono { font-size: 11px; color: var(--cyan); }
.hero__tabs button[aria-selected="true"] { background: var(--white); color: var(--navy-900); }
.hero__tabs button[aria-selected="true"] .mono { color: var(--blue); }

@media (min-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 40px; padding-bottom: 80px; }
  .chip--url { left: -2%; }
  .chip--order { right: -4%; }
}
@media (max-width: 420px) {
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip--order small { display: none; }
}

.marquee { position: relative; border-top: 1px solid var(--line-dark); overflow: hidden; padding-block: 18px; background: rgba(255, 255, 255, .02); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 800 clamp(20px, 3vw, 28px)/1 var(--f-display); letter-spacing: -.02em; color: rgba(255, 255, 255, .9); white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); flex: none; }
.marquee i:nth-of-type(3n) { background: var(--coral); }

/* 6 · SERVICIOS ---------------------------------------------------------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  min-width: 0;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(18, 104, 243, .25); }
.tile p { color: var(--ink-soft); }
.tile__num { position: absolute; top: 24px; right: 26px; font-size: 13px; color: var(--ink-soft); }
.tile__icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(140deg, rgba(18, 104, 243, .12), rgba(25, 211, 240, .18));
}
.tile__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tile--feature { background: var(--navy-900); color: var(--white); border-color: transparent; overflow: hidden; gap: 28px; }
.tile--feature h3 { font-size: clamp(24px, 3.2vw, 32px); }
.tile--feature p { color: rgba(255, 255, 255, .72); }
.tile--feature .tile__num { color: rgba(255, 255, 255, .5); }
.tile--feature .link-arrow { color: var(--cyan); }
.tile--feature::after {
  content: ""; position: absolute; width: 340px; aspect-ratio: 1; right: -120px; bottom: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 211, 240, .35), transparent 65%); pointer-events: none;
}
.tile__text { display: flex; flex-direction: column; gap: 14px; }

.mock-cart {
  position: relative; z-index: 1; background: var(--white); color: var(--ink); border-radius: 22px; padding: 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); display: grid; gap: 8px; max-width: 380px; width: 100%; align-self: center;
  transform: rotate(-2deg);
}
.mock-cart__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-size: 18px; padding-bottom: 6px; }
.mock-cart__line { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; font-size: 14px; background: var(--paper); border-radius: 12px; padding: 9px 10px; }
.mock-cart__line .sw { width: 22px; height: 22px; border-radius: 7px; background: var(--c); }
.mock-cart__total { display: flex; justify-content: space-between; padding: 8px 4px 2px; font-size: 14px; color: var(--ink-soft); }
.mock-cart__total b { color: var(--ink); font-size: 16px; }
.mock-cart__btn { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; padding: 12px; font-size: 14px; }
.mock-cart__btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

.tile--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white); border-color: transparent; }
.tile--dark p { color: rgba(255, 255, 255, .7); }
.tile--dark .tile__num { color: rgba(255, 255, 255, .5); }
.tile--dark .link-arrow { color: var(--cyan); }
.code {
  display: grid; gap: 4px; font: 500 12.5px/1.6 var(--f-mono); background: rgba(0, 0, 0, .28); border-radius: 14px; padding: 14px;
  margin-bottom: 8px; overflow-x: auto; color: rgba(255, 255, 255, .85);
}
.code span { white-space: nowrap; }
.code i { font-style: normal; color: rgba(255, 255, 255, .3); margin-right: 12px; }
.code em { font-style: normal; color: var(--cyan); }
.code b { font-weight: 500; color: #7CF0A6; }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 40px; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile--feature { grid-column: span 2; grid-row: span 2; grid-template-columns: 1fr; align-content: space-between; }
  .tile--dark { grid-column: span 2; }
  .tile--dark { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; align-content: center; }
  .tile--dark .code { grid-row: 1 / span 3; grid-column: 2; align-self: center; margin: 0; }
  .tile--dark > :not(.code):not(.tile__num) { grid-column: 1; }
}

/* 7 · PORTAFOLIO --------------------------------------------------------- */
#portafolio { position: relative; overflow: hidden; }
#portafolio::before {
  content: ""; position: absolute; top: -200px; left: -200px; width: 600px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 104, 243, .3), transparent 65%); pointer-events: none;
}
.pf-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; padding-bottom: 4px; position: relative; }
.pf-filters::-webkit-scrollbar { display: none; }
.pf-filters button {
  flex: none; border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: background-color .25s, color .25s;
}
.pf-filters button span { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }
.pf-filters button[aria-selected="true"] { background: var(--white); color: var(--navy-900); }
.pf-grid { position: relative; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }

.pf { display: flex; flex-direction: column; gap: 18px; min-width: 0; border-radius: var(--r-lg); padding: 14px 14px 22px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background-color .3s, transform .4s var(--ease); animation: rise .5s var(--ease) both; }
.pf:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.pf__media { display: block; width: 100%; font: inherit; position: relative; min-width: 0; padding-right: 16%; padding-bottom: 10%; cursor: pointer; border: 0; background: none; text-align: left; color: inherit; }
.browser { display: block; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #EEF2FA; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD4E6; }
.browser__bar i:first-child { background: var(--coral); }
.browser__bar span { margin-left: 8px; font-size: 11px; color: var(--ink-soft); background: #fff; border-radius: 999px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img, .browser .pf__art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.pf__phone { display: block; position: absolute; right: 0; bottom: 0; width: 28%; min-width: 74px; border-radius: 18px; padding: 4px; background: var(--navy-950); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .5s var(--ease); }
.pf__phone img { border-radius: 14px; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; width: 100%; }
.pf__media:hover .browser { transform: translateY(-4px); }
.pf__media:hover .pf__phone { transform: translateY(-10px) rotate(-2deg); }
.pf__play { position: absolute; left: 12px; bottom: calc(10% + 12px); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(5, 13, 38, .85); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.pf__media:hover .pf__play, .pf__media:focus-visible .pf__play { opacity: 1; transform: none; }
@media (hover: none) { .pf__play { opacity: 1; transform: none; } }
.pf__art { background: linear-gradient(150deg, #0D1F52, #050D26); position: relative; display: grid; grid-template-columns: 22% 1fr; gap: 8px; padding: 10px; }
.pf__art .side { border-radius: 8px; background: rgba(255, 255, 255, .06); display: grid; align-content: start; gap: 6px; padding: 8px; }
.pf__art .side i { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.pf__art .side i:first-child { background: var(--cyan); width: 70%; }
.pf__art .main { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.pf__art .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pf__art .kpis i { display: block; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .07); position: relative; }
.pf__art .kpis i::after { content: ""; position: absolute; left: 8px; bottom: 8px; width: 45%; height: 8px; border-radius: 4px; background: var(--grad); }
.pf__art .chart { display: block; border-radius: 8px; background: rgba(255, 255, 255, .05); background-image: linear-gradient(transparent 70%, rgba(25, 211, 240, .18) 70%), repeating-linear-gradient(90deg, transparent 0 14%, rgba(255, 255, 255, .05) 14% calc(14% + 1px)); position: relative; overflow: hidden; }
.pf__art .chart::before { content: ""; position: absolute; inset: 30% 6% 20% 6%; border-top: 3px solid var(--cyan); border-radius: 50% 40% 0 0 / 30% 50% 0 0; transform: skewY(-6deg); }
.pf__art .lock { position: absolute; right: 10px; top: 10px; font: 600 10px/1 var(--f-body); padding: 5px 8px; border-radius: 999px; background: rgba(255, 122, 89, .2); color: #FFB49F; }

.pf__info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 6px; flex: 1; }
.pf__info h3 { font-size: 24px; }
.pf__info .pf__type { color: var(--cyan); font-weight: 600; font-size: 14px; }
.pf__info p { color: rgba(255, 255, 255, .72); font-size: 15px; }
.pf__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.pf__actions .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line-dark);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.badge--cliente, .badge--real { background: rgba(25, 211, 240, .14); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(25, 211, 240, .4); }
.badge--cliente::before, .badge--real::before { background: var(--cyan); }
.badge--propio { background: rgba(255, 122, 89, .14); color: #FFB49F; box-shadow: inset 0 0 0 1px rgba(255, 122, 89, .4); }
.badge--propio::before { background: var(--coral); }
.tags { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .78); }

.pf__hl { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.pf__hl li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; }
.pf__hl li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.pf--featured:nth-child(even) .pf__media { order: 2; }

/* Destacado: ocupa todo el ancho */
@media (min-width: 700px) {
  .pf--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; padding: 24px; }
  .pf--featured .pf__info h3 { font-size: clamp(30px, 3.6vw, 44px); }
}

/* Visor de demos */
.viewer { position: fixed; inset: 0; z-index: 80; background: rgba(3, 8, 24, .92); backdrop-filter: blur(10px); display: flex; flex-direction: column; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.viewer__bar { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); color: #fff; }
.viewer__title { display: grid; min-width: 0; margin-right: auto; }
.viewer__title b { font: 800 18px/1.2 var(--f-display); }
.viewer__title span { font-size: 13px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer__devices { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.viewer__devices button { border: 0; background: none; color: rgba(255, 255, 255, .7); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; }
.viewer__devices button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.viewer__open { color: var(--cyan); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.viewer__close { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; cursor: pointer; }
.viewer__stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 6px 14px calc(16px + env(safe-area-inset-bottom, 0px)); }
.viewer__frame { width: min(100%, 400px); height: min(100%, 820px); border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #22356F, #0A1640); box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1.5px rgba(255, 255, 255, .15); transition: width .4s var(--ease), border-radius .4s var(--ease); }
.viewer__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; display: block; }
.viewer.is-desktop .viewer__frame { width: min(100%, 1280px); border-radius: 18px; padding: 0; background: #EEF2FA; padding-top: 30px; position: relative; }
.viewer.is-desktop .viewer__frame::before { content: ""; position: absolute; top: 11px; left: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 15px 0 #CBD4E6, 30px 0 #CBD4E6; }
.viewer.is-desktop .viewer__frame iframe { border-radius: 0 0 18px 18px; }
@media (max-width: 640px) {
  .viewer__devices, .viewer__open span { display: none; }
  .viewer__stage { padding: 0; }
  .viewer__frame, .viewer.is-desktop .viewer__frame { width: 100%; height: 100%; border-radius: 0; padding: 0; background: #fff; box-shadow: none; }
  .viewer__frame iframe { border-radius: 0; }
}
body.viewer-open { overflow: hidden; }

/* 8 · BENEFICIOS --------------------------------------------------------- */
.benefits { display: grid; gap: 48px; }
.benefits__head h2 { max-width: 14ch; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; max-width: 460px; }
.compare__col { display: grid; gap: 8px; padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); align-content: start; }
.compare__col b { font-family: var(--f-display); color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.compare__col span { text-decoration: line-through; text-decoration-color: rgba(255, 122, 89, .7); }
.compare__col--good { background: var(--navy-900); border-color: transparent; color: rgba(255, 255, 255, .8); }
.compare__col--good b { color: var(--white); }
.compare__col--good span { text-decoration: none; }
.compare__col--good span::before { content: "✓ "; color: var(--cyan); font-weight: 700; }
.benefits__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits__list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.benefits__list li:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.benefits__list h3 { font-size: 18px; margin-bottom: 6px; }
.benefits__list p { color: var(--ink-soft); font-size: 15px; }
.b-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); }
.b-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) { .benefits__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .benefits { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .benefits__head { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* 9 · PLANES ------------------------------------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin-top: 28px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { border: 0; background: transparent; padding: 11px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-soft); transition: background-color .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--navy-900); color: var(--white); }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
.plans.is-monthly { max-width: 820px; margin-inline: auto; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans:not(.is-monthly) { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
  animation: rise .5s var(--ease) both;
}
.plan:nth-child(2) { animation-delay: .06s; } .plan:nth-child(3) { animation-delay: .12s; } .plan:nth-child(4) { animation-delay: .18s; }
.plan--featured { background: var(--navy-900); color: var(--white); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(18, 104, 243, .7); }
.plan__badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--white); }
.plan h3 { font-size: 22px; }
.plan__for { color: var(--ink-soft); font-size: 15px; }
.plan--featured .plan__for { color: rgba(255, 255, 255, .7); }
.plan__price { display: grid; gap: 2px; padding-block: 8px; border-block: 1px solid var(--line); }
.plan--featured .plan__price { border-color: var(--line-dark); }
.plan__price small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.plan--featured .plan__price small { color: rgba(255, 255, 255, .6); }
.plan__price b { font: 800 clamp(28px, 3vw, 34px)/1.1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan--featured .plan__price b { color: var(--cyan); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.plan li::before {
  content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: rgba(18, 104, 243, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231268F3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan--featured li::before { background-color: rgba(25, 211, 240, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%2319D3F0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__time { font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 8px; }
.plan--featured .plan__time { color: rgba(255, 255, 255, .6); }
.plan .btn { width: 100%; }
.plan:not(.plan--featured) .btn { background: var(--tint); color: var(--navy-900); }
.plan:not(.plan--featured) .btn:hover { background: #DCE7FB; }
.plans__note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 28px; max-width: 70ch; margin-inline: auto; }

/* 10 · PROCESO ----------------------------------------------------------- */
.steps { --progress: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; display: grid; align-content: start; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step__node {
  grid-row: span 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); font-size: 14px; color: var(--ink-soft);
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}
.step.is-on .step__node { background: var(--navy-900); color: var(--cyan); border-color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(18, 104, 243, .8); }
.step:last-child.is-on .step__node { background: var(--coral); color: var(--white); border-color: var(--coral); }
.step h3 { padding-top: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.step small { color: var(--blue); font-size: 12px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps::before, .steps::after { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; transform: scaleX(var(--progress)); }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step__node { grid-row: auto; margin-bottom: 18px; }
}

/* 11 · FAQ --------------------------------------------------------------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1040px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s; }
.faq__item:has(button[aria-expanded="true"]) { box-shadow: var(--shadow); border-color: rgba(18, 104, 243, .25); }
.faq__item h3 { font-size: 17px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.faq__item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; font-weight: 700; line-height: 1.35;
}
.faq__item button span {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); transition: transform .3s var(--ease), background-color .3s;
}
.faq__item button span::before, .faq__item button span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); }
.faq__item button span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__item button[aria-expanded="true"] span { background: var(--navy-900); }
.faq__item button[aria-expanded="true"] span::before { background: var(--cyan); }
.faq__item button[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--cyan); }
.faq__panel { padding: 0 22px 20px; }
.faq__panel p { color: var(--ink-soft); max-width: 62ch; }
.faq__panel b { color: var(--ink); }
.faq-wrap .lead a { color: var(--blue); font-weight: 700; }

/* 12 · CONTACTO ---------------------------------------------------------- */
.contact {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(90% 90% at 0% 100%, rgba(25, 211, 240, .22), transparent 55%), radial-gradient(70% 80% at 100% 0%, rgba(18, 104, 243, .45), transparent 60%), var(--navy-950);
}
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.contact__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.contact__list div { display: grid; gap: 2px; min-width: 0; }
.contact__list small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.contact__list a, .contact__list span { color: var(--white); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--cyan); }
.contact__list .muted { color: rgba(255, 255, 255, .6); font-weight: 400; font-size: 14px; }
.c-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-dark); }
.c-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.quote { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: 28px 22px; display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); min-width: 0; }
@media (min-width: 600px) { .quote { padding: 36px; } }
.quote h3 { font-size: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 14px; font-weight: 700; }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #D5DEEF; background: var(--paper); color: var(--ink);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 104, 243, .15); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.form-error { color: #C2410C; font-size: 14px; font-weight: 600; }
.form-done { font-size: 14px; color: var(--ink-soft); }
.form-done a { color: var(--blue); font-weight: 700; }
.form-fine { font-size: 13px; color: var(--ink-soft); text-align: center; }

/* 13 · FOOTER ------------------------------------------------------------ */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding-top: 72px; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 48px; }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; max-width: 360px; }
.footer__brand img { width: 150px; }
.footer h2 { font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer nav, .footer__grid > div:last-child { display: grid; gap: 10px; align-content: start; font-size: 15px; min-width: 0; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-block: 24px 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

.wa-float {
  position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(30, 169, 82, .8); transition: transform .3s var(--ease), opacity .3s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

/* 15 · PROGRESO DE LECTURA ---------------------------------------------- */
.progress { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* 16 · PEDIDO EN VIVO ---------------------------------------------------- */
.live { background: var(--white); }
.live__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 36px; padding-bottom: 4px; }
.live__chips::-webkit-scrollbar { display: none; }
.live__chips button {
  flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--paper);
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.live__chips button:hover { border-color: var(--blue); }
.live__chips button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.live__chips button i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.live__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .live__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.live__hook { font: 800 clamp(22px, 3vw, 30px)/1.2 var(--f-display); letter-spacing: -.02em; max-width: 26ch; text-wrap: balance; }
.live__subtitle { font: 700 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 28px 0 12px; }
.live__pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.live__pains li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--ink-soft); }
.live__pains li::before { content: "✕"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 122, 89, .12); color: var(--coral); font-size: 12px; font-weight: 800; }
.live__fix { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; margin-top: 24px; padding: 18px; border-radius: var(--r-md); background: var(--tint); }
.live__fix-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.live__fix-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.live__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn--ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }

.chat-phone {
  justify-self: center; width: min(100%, 380px); border-radius: 36px; overflow: hidden;
  background: #0B141A; box-shadow: 0 40px 80px -40px rgba(7, 20, 55, .6), 0 0 0 10px var(--navy-900);
}
.chat-phone__top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #1F2C34; color: #E9EDEF; }
.chat-phone__top b { display: block; font-size: 15px; }
.chat-phone__top small { font-size: 12px; color: #8FA3AD; }
.chat-phone__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 13px var(--f-display); color: #fff; }
.chat-phone__body {
  min-height: 360px; padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px;
  background: #0B141A radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 18px 18px;
}
.chat-phone__day { align-self: center; font-size: 12px; color: #8FA3AD; background: #1F2C34; padding: 4px 10px; border-radius: 8px; }
.bubble-in {
  align-self: flex-start; max-width: 88%; background: #1F2C34; color: #E9EDEF; border-radius: 4px 14px 14px 14px;
  padding: 10px 12px; font-size: 14px; line-height: 1.5; white-space: pre-line; min-height: 44px;
}
.bubble-in .cursor { display: inline-block; width: 2px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.bubble-in .time { display: block; text-align: right; font-size: 11px; color: #8FA3AD; margin-top: 4px; }
.bubble-out { align-self: flex-end; max-width: 80%; background: #005C4B; color: #E9EDEF; border-radius: 14px 4px 14px 14px; padding: 9px 12px; font-size: 14px; transition: opacity .4s, transform .4s var(--ease); }
.bubble-out.is-waiting { opacity: 0; transform: translateY(8px); }
@keyframes blink { 50% { opacity: 0; } }

/* 17 · CALCULADORA ------------------------------------------------------- */
.estimator {
  margin-top: 56px; display: grid; gap: 24px; background: var(--white); border-radius: var(--r-xl);
  padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 600px) { .estimator { padding: 36px; } }
.estimator__head h3 { font-size: clamp(24px, 3vw, 32px); }
.estimator__head p:not(.eyebrow) { color: var(--ink-soft); margin-top: 10px; max-width: 60ch; }
.estimator__body { display: grid; gap: 22px; min-width: 0; }
.estimator__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.estimator__group legend { font: 700 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; padding: 0; }
.estimator__options { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.opt-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; min-width: 0; }
.opt-card:hover { border-color: rgba(18, 104, 243, .45); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #B9C6E0; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.opt-card input[type="radio"] + .box { border-radius: 50%; }
.opt-card .box::after { content: ""; width: 10px; height: 10px; border-radius: inherit; background: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.opt-card input:checked + .box { background: var(--blue); border-color: var(--blue); }
.opt-card input:checked + .box::after { transform: scale(1); }
.opt-card input:focus-visible + .box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.opt-card:has(input:checked) { border-color: var(--blue); background: rgba(18, 104, 243, .06); }
.opt-card span:last-child { display: grid; gap: 2px; font-size: 14px; min-width: 0; }
.opt-card b { font-size: 15px; }
.opt-card small { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.estimator__total { background: var(--navy-900); color: var(--white); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.estimator__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.estimator__amount { font: 800 clamp(34px, 5vw, 44px)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--cyan); font-variant-numeric: tabular-nums; }
.estimator__sub { color: rgba(255, 255, 255, .7); font-size: 14px; }
.estimator__lines { list-style: none; margin: 12px 0 16px; padding: 12px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.estimator__lines li { display: flex; justify-content: space-between; gap: 12px; }
.estimator__lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 1040px) {
  .estimator { grid-template-columns: 1.5fr .9fr; column-gap: 36px; }
  .estimator__head { grid-column: 1 / -1; }
  .estimator__total { position: sticky; top: calc(var(--nav-h) + 24px); }
}

/* 14 · ANIMACIONES ------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
.live__actions .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
