/* Satoshi alojada en el propio dominio (antes venía de Fontshare) */
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   Elevios — web de marketing
   Identidad compartida con la app: navy #081E3A, azul #2563EB, turquesa #14C8A5,
   fondo #F3F6FA y Satoshi. Las tarjetas pastel (cielo, menta, mantequilla)
   son las mismas que usa la pantalla «Hoy» de la app.
   ========================================================================== */

:root {
  --navy: #081E3A;
  --navy-2: #0E2A4F;
  --navy-3: #16365F;
  --blue: #2563EB;
  --blue-2: #1D4ED8;
  --teal: #14C8A5;
  --teal-2: #0EA888;
  --bg: #F3F6FA;
  --white: #FFFFFF;
  --ink: #081E3A;
  --text: #3A4A60;
  --muted: #5F6E83;
  --line: #E1E8F1;
  --sky: #EAF1FE;
  --mint: #E2F8F2;
  --butter: #FEF4CD;
  --butter-ink: #8A5A00;
  --red: #E5484D;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(8, 30, 58, .06), 0 2px 8px rgba(8, 30, 58, .04);
  --shadow: 0 10px 30px -10px rgba(8, 30, 58, .18), 0 2px 6px rgba(8, 30, 58, .05);
  --shadow-lg: 0 40px 80px -30px rgba(8, 30, 58, .45), 0 12px 30px -12px rgba(8, 30, 58, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: var(--teal); }
.h-display { font-size: clamp(2.25rem, 6.2vw, 4.75rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.0; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; }
.h-card { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.on-dark { color: rgba(255, 255, 255, .78); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.hl-teal { color: var(--teal); }
.hl-blue { color: var(--blue); }
.underline-teal {
  background: linear-gradient(transparent 68%, rgba(20, 200, 165, .35) 68%, rgba(20, 200, 165, .35) 92%, transparent 92%);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8); }
.btn-primary:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .9); }
.btn-teal { background: var(--teal); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(20, 200, 165, .9); }
.btn-teal:hover { background: #2ad8b6; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost.on-dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-ghost.on-dark:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 11px 18px; font-size: .9375rem; }
.btn-lg { padding: 18px 30px; font-size: 1.0625rem; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav.is-dark { background: rgba(8, 30, 58, .97); }
.nav.is-dark.scrolled { border-bottom-color: rgba(255, 255, 255, .08); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .logo-light { display: none; }
.nav.is-dark .nav-logo .logo-dark { display: none; }
.nav.is-dark .nav-logo .logo-light { display: block; }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .9375rem; color: var(--ink);
  transition: background .2s;
}
.nav-links a:hover { background: var(--bg); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav.is-dark .nav-links a { color: rgba(255, 255, 255, .85); }
.nav.is-dark .nav-links a:hover { background: rgba(255, 255, 255, .08); }
.nav.is-dark .nav-links a.active { background: #fff; color: var(--navy); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-login { font-weight: 600; font-size: .9375rem; padding: 9px 12px; color: var(--ink); }
.nav.is-dark .nav-login { color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center;
}
.nav.is-dark .nav-toggle { color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-mobile {
  display: none; position: fixed; inset: 72px 0 auto 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 12px var(--gutter) 20px;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-mobile .btn { margin-top: 16px; width: 100%; }

@media (max-width: 880px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.bg-soft { background: var(--bg); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Marcos de capturas ---------- */
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(8, 30, 58, .08);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  background: #F6F8FB; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D7DEE8; }
.browser-bar span {
  margin-left: 12px; flex: 1; max-width: 260px; height: 20px; border-radius: 6px; background: #fff;
  font-size: .6875rem; color: var(--muted); display: flex; align-items: center; padding-left: 10px;
  border: 1px solid var(--line);
}
.phone {
  position: relative; width: 100%; max-width: 300px;
  border-radius: 46px; padding: 10px; background: #0B1626;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3A52;
}
.phone::before {
  content: ''; position: absolute; top: 10px; margin-top: 3.4%; left: 50%; transform: translateX(-50%);
  width: 31%; aspect-ratio: 3.6 / 1; border-radius: 999px; background: #0B1626; z-index: 2;
}
.phone img {
  width: 100%; height: auto; border-radius: 37px;
  padding-top: 15%; background: #F3F6FA; /* franja de barra de estado bajo la isla */
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 420px at 10% 100%, rgba(20, 200, 165, .22), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-copy { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--teal) 10%, #5EB4FF 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, .74); max-width: 660px; margin: 24px auto 0; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px;
  font-size: .9375rem; color: rgba(255, 255, 255, .72);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 17px; height: 17px; color: var(--teal); }

.hero-stage {
  position: relative; max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0 0 0 clamp(0px, 15vw, 200px);
}
.hero-stage .browser { transform: translateY(24px); border-radius: 16px 16px 0 0; border-bottom: 0; }
.hero-stage .phone {
  position: absolute; left: 0; bottom: -40px; width: clamp(140px, 19vw, 236px); z-index: 3;
}
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-lg); color: var(--ink); font-size: .875rem; line-height: 1.35;
  max-width: 300px; opacity: 0; transform: translateY(12px) scale(.96);
  animation: toast-in .7s var(--ease) forwards;
}
.toast b { display: block; font-weight: 700; }
.toast small { color: var(--muted); font-size: .8125rem; }
.toast-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.toast-ico svg { width: 19px; height: 19px; }
.toast.t1 { right: -18px; top: 18%; animation-delay: 1.1s; }
.toast.t1 .toast-ico { background: var(--sky); color: var(--blue); }
.toast.t2 { right: 8%; top: 52%; animation-delay: 1.9s; }
.toast.t2 .toast-ico { background: var(--mint); color: var(--teal-2); }
.toast.t3 { left: 22%; top: -26px; animation-delay: 2.7s; }
.toast.t3 .toast-ico { background: var(--butter); color: var(--butter-ink); }
@keyframes toast-in { to { opacity: 1; transform: none; } }
@media (max-width: 880px) {
  .toast.t1 { right: 6px; top: 6%; }
  .toast.t2, .toast.t3 { display: none; }
  .hero-stage { padding-left: 22%; }
}
@media (max-width: 560px) {
  .toast { display: none; }
  .hero-stage .phone { width: 38%; bottom: -24px; }
}

/* ---------- Franja de valor (30 segundos) ---------- */
.value-strip { margin-top: -1px; background: #fff; position: relative; z-index: 2; }
.value-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: clamp(64px, 8vw, 96px) 0 clamp(24px, 4vw, 40px);
}
.value-card {
  border-radius: var(--r-lg); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); }
.value-card:nth-child(1) { background: var(--sky); }
.value-card:nth-child(2) { background: var(--mint); }
.value-card:nth-child(3) { background: var(--butter); }
.value-card:nth-child(4) { background: #EEF0FF; }
.value-ico {
  width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); color: var(--ink);
}
.value-ico svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; }
.value-card p { font-size: .9688rem; color: var(--text); }
@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Antes / Con Elevios ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.vs-card { border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); position: relative; overflow: hidden; }
.vs-before { background: #fff; border: 1px dashed #CBD5E1; }
.vs-after { background: var(--navy); color: rgba(255, 255, 255, .8); }
.vs-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px;
}
.vs-before .vs-tag { background: #FDECEC; color: #B4282D; }
.vs-after .vs-tag { background: rgba(20, 200, 165, .16); color: var(--teal); }
.vs-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 26px; }
.vs-after h3 { color: #fff; }

.chaos { position: relative; min-height: 300px; }
.bubble {
  position: absolute; max-width: 250px; padding: 10px 14px; border-radius: 16px 16px 16px 4px;
  background: #F1F5F9; color: var(--ink); font-size: .875rem; line-height: 1.4; box-shadow: var(--shadow-sm);
}
.bubble small { display: block; color: var(--muted); font-size: .6875rem; margin-top: 3px; text-align: right; }
.bubble.out { background: #E3F4EA; border-radius: 16px 16px 4px 16px; }
.bubble.b1 { top: 0; left: 0; transform: rotate(-2deg); }
.bubble.b2 { top: 58px; right: 0; transform: rotate(2.5deg); }
.bubble.b3 { top: 132px; left: 6%; transform: rotate(-1deg); }
.bubble.b4 { top: 206px; right: 4%; transform: rotate(1.5deg); }
.bubble .unread {
  position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.sheet {
  position: absolute; left: 10%; right: 12%; bottom: -10px; transform: rotate(-3deg);
  background: #fff; border: 1px solid #D5DEE9; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .6875rem; color: #33475B;
}
.sheet-title { background: #1F7A47; color: #fff; padding: 5px 10px; font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: .75rem; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet td { border: 1px solid #E5EBF2; padding: 4px 7px; white-space: nowrap; }
.sheet td.warn { background: #FFF1F1; color: #B4282D; }
.chaos-wrap { position: relative; height: 380px; }
.vs-list { display: grid; gap: 14px; margin-top: 28px; }
.vs-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9688rem; }
.vs-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.vs-before .vs-list svg { color: #D24B50; }
.vs-after .vs-list svg { color: var(--teal); }
.vs-after .vs-list strong { color: #fff; font-weight: 600; }
.vs-shot { margin-top: 6px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
@media (max-width: 880px) {
  .versus { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .chaos-wrap { height: 410px; }
  .bubble { max-width: 210px; font-size: .8125rem; }
  .bubble.b3 { top: 140px; }
  .bubble.b4 { top: 214px; }
}

/* ---------- Pestañas de funciones ---------- */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tab-list { display: grid; gap: 6px; position: sticky; top: 100px; }
.tab-btn {
  text-align: left; border: 0; background: transparent; padding: 16px 18px; border-radius: var(--r);
  display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; align-items: center; color: var(--ink);
  transition: background .2s;
}
.tab-btn:hover { background: rgba(255, 255, 255, .7); }
.tab-btn[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
.tab-ico {
  grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: all .2s;
}
.tab-btn[aria-selected="true"] .tab-ico { background: var(--blue); color: #fff; box-shadow: none; }
.tab-ico svg { width: 20px; height: 20px; }
.tab-btn b { font-weight: 700; font-size: 1.0625rem; }
.tab-btn span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.tab-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.03em; }
.tab-panel > p { margin-top: 12px; color: var(--muted); max-width: 620px; }
.tick-list { display: grid; gap: 10px; margin: 20px 0 28px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list li::before {
  content: ''; width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230EA888' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.on-dark .tick-list li::before { background-color: rgba(20, 200, 165, .18); }
.tab-panel .browser { box-shadow: var(--shadow); }
@media (max-width: 980px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { grid-template-columns: auto; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
  .tab-btn[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: none; }
  .tab-btn .tab-ico, .tab-btn span { display: none; }
  .tab-btn b { font-size: .9375rem; }
}

/* ---------- Carrusel de móviles ---------- */
.phones {
  display: flex; gap: clamp(16px, 2.4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter));
  scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phone-item { flex: 0 0 auto; width: clamp(220px, 23vw, 260px); scroll-snap-align: center; }
.phone-item .phone { max-width: none; }
.phone-item h3 { margin-top: 22px; font-size: 1.125rem; color: #fff; }
.phone-item p { margin-top: 6px; font-size: .9375rem; color: rgba(255, 255, 255, .7); }
.phones-hint { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s;
}
.round-btn:hover { background: rgba(255, 255, 255, .18); }
.round-btn svg { width: 20px; height: 20px; }

/* ---------- Dos columnas genéricas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Marca ---------- */
.brand-demo { position: relative; min-height: 560px; display: flex; justify-content: center; align-items: center; }
.brand-demo::before {
  content: ''; position: absolute; inset: 6% 4%; border-radius: var(--r-xl);
  background: radial-gradient(circle at 30% 30%, rgba(15, 118, 110, .16), transparent 60%), var(--bg);
}
.brand-demo .phone { position: relative; width: 250px; max-width: 58%; z-index: 1; transform: rotate(-3deg); }
.push {
  position: absolute; z-index: 3; top: 9%; right: 0; width: min(330px, 74%);
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg); font-size: .875rem; line-height: 1.4; color: var(--ink);
}
.push-ico { width: 38px; height: 38px; border-radius: 10px; background: #0F766E; color: #fff; display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.push-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.push b { display: block; margin-top: 2px; }
.push p { color: var(--text); margin-top: 2px; }
.brand-card {
  position: absolute; z-index: 2; left: 0; bottom: 8%; width: min(240px, 52%);
  background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 14px;
}
.brand-card > img { width: 70%; height: auto; }
.swatches { display: flex; align-items: center; gap: 8px; }
.swatches span { width: 26px; height: 26px; border-radius: 8px; }
.swatches small, .brand-vars small { color: var(--muted); font-size: .75rem; }
.swatches small { margin-left: 4px; }
.brand-vars { display: grid; gap: 4px; }
.brand-vars code { font-family: inherit; font-size: .8125rem; color: var(--ink); background: var(--bg); padding: 6px 9px; border-radius: 8px; }
@media (max-width: 560px) {
  .brand-demo { min-height: 520px; }
  .push { top: 2%; width: 86%; right: 0; }
  .brand-card { bottom: 2%; }
}
.brand-note {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; padding: 12px 16px; border-radius: var(--r);
  background: var(--bg); font-size: .9375rem; color: var(--ink);
}
.brand-note svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ---------- Testimonio ---------- */
.quote-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.quote-card::after {
  content: '“'; position: absolute; right: 24px; top: -40px; font-size: 16rem; line-height: 1; font-weight: 900;
  color: var(--sky); pointer-events: none;
}
.quote-avatar {
  width: clamp(96px, 12vw, 148px); aspect-ratio: 1; border-radius: 28px; background: var(--navy);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 2.2rem; letter-spacing: -0.04em;
}
.quote-card blockquote { margin: 0; position: relative; z-index: 1; }
.quote-card blockquote p { font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.35; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }
.quote-card cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }
.quote-card cite b { color: var(--ink); }
.placeholder {
  outline: 2px dashed #F59E0B; outline-offset: 6px; border-radius: 8px;
}
@media (max-width: 640px) { .quote-card { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.75rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 18px;
}
.step p { margin-top: 10px; font-size: .9688rem; color: var(--muted); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.price-teaser {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--sky), var(--mint)); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px);
}
.price-from { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 900; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.price-from small { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
@media (max-width: 880px) { .price-teaser { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.plan.featured { background: var(--navy); color: rgba(255, 255, 255, .78); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan.featured h2 { color: #fff; }
.plan-badge {
  position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px; background: var(--teal); color: var(--navy);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.plan h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.plan-desc { font-size: .9375rem; min-height: 3em; }
.plan-price { font-size: 2.75rem; font-weight: 900; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.plan.featured .plan-price { color: #fff; }
.plan-price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan.featured .plan-price small { color: rgba(255, 255, 255, .6); }
.plan-limit { font-weight: 700; color: var(--ink); padding: 10px 14px; background: var(--bg); border-radius: var(--r-sm); font-size: .9375rem; }
.plan.featured .plan-limit { background: rgba(255, 255, 255, .08); color: #fff; }
.plan .btn { width: 100%; margin-top: auto; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.all-included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.all-included li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; }
.all-included li::before {
  content: ''; width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230EA888' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 880px) { .all-included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .all-included { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081E3A' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final {
  border-radius: var(--r-xl); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(20, 200, 165, .35), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(37, 99, 235, .45), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, .78); overflow: hidden; position: relative;
}
.cta-final h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.cta-final p { max-width: 560px; margin: 18px auto 0; }
.cta-final .hero-cta { margin-top: 30px; }

/* ---------- Pie ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 72px 0 32px; margin-top: clamp(72px, 10vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 300px; font-size: .9375rem; }
.footer-h { color: #fff; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 9px 0; font-size: .9375rem; color: rgba(255, 255, 255, .78); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: rgba(255, 255, 255, .6);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Modal de vídeo ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(4, 14, 28, .82); padding: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-modal.open { display: flex; }
.video-modal video { width: min(1100px, 100%); border-radius: 16px; box-shadow: var(--shadow-lg); background: #000; }
.video-close {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.video-close svg { width: 22px; height: 22px; }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: var(--bg); }
.page-hero .lead { max-width: 680px; margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .9375rem; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.jump a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.feature-row { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; }
.feature-row h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -0.03em; margin-top: 14px; }
.feature-row .lead { margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--sky); color: var(--blue); font-size: .8125rem; font-weight: 700;
}
.chip svg { width: 15px; height: 15px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { background: #fff; border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); }
.mini .value-ico { margin-bottom: 16px; background: var(--bg); box-shadow: none; }
.mini p { margin-top: 8px; font-size: .9688rem; color: var(--muted); }
@media (max-width: 880px) { .mini-grid { grid-template-columns: 1fr; } }

.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 0; }
.legal p { margin-top: 18px; color: var(--text); }
.legal .legal-date { margin-top: 14px; font-size: .9375rem; color: var(--muted); }
.legal h2 { margin-top: 44px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.legal h2 + p, .legal h2 + ul { margin-top: 12px; }
.legal ul { margin-top: 14px; padding-left: 22px; list-style: disc; color: var(--text); }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.note-box {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r);
  background: var(--butter); color: #5B4100; font-size: .9375rem;
}
.note-box svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.hero .reveal { animation: hero-in .9s var(--ease) both; opacity: 1; transform: none; transition: none; }
.hero .reveal.d1 { animation-delay: .1s; } .hero .reveal.d2 { animation-delay: .2s; } .hero .reveal.d3 { animation-delay: .32s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .toast { opacity: 1; transform: none; }
}

@media (max-width: 640px) { .hide-sm { display: none; } }

[hidden] { display: none !important; }
.price-teaser .btn-ghost { background: #fff; }
.vs-shot img { width: 100%; max-height: 380px; object-fit: cover; object-position: top; }

/* ---------- Recomienda y gana ---------- */
.ref-hero .split { align-items: center; }
.gift { position: relative; min-height: 380px; display: grid; place-items: center; }
.gift-card {
  width: min(340px, 90%); aspect-ratio: 1; border-radius: var(--r-xl); text-align: center;
  background:
    radial-gradient(260px 200px at 20% 0%, rgba(20, 200, 165, .45), transparent 70%),
    radial-gradient(260px 220px at 100% 100%, rgba(37, 99, 235, .6), transparent 70%),
    var(--navy);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: var(--shadow-lg); transform: rotate(-4deg);
}
.gift-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--teal); margin-bottom: 10px; }
.gift-ico svg { width: 32px; height: 32px; }
.gift-big { font-size: clamp(3.5rem, 8vw, 5rem); font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.gift-small { color: rgba(255, 255, 255, .75); font-size: 1rem; line-height: 1.4; }
.gift-chip {
  position: absolute; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow); font-size: .9375rem; white-space: nowrap;
}
.gift-chip b { font-weight: 700; }
.gift-chip.c1 { top: 8%; right: 2%; background: var(--mint); }
.gift-chip.c2 { bottom: 8%; left: 0; background: var(--sky); }
.ref-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 22px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
}
.ref-strip p { color: var(--ink); font-weight: 500; }
.ref-strip b { color: var(--blue); }
.value-grid.value-grid-6 { grid-template-columns: repeat(3, 1fr); }
.value-grid-6 .value-card:nth-child(5) { background: #EAF6FF; }
.value-grid-6 .value-card:nth-child(6) { background: #F1EEFF; }
@media (max-width: 980px) { .value-grid.value-grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid.value-grid-6 { grid-template-columns: 1fr; } }

/* ---------- Extras de la app del paciente (Funciones) ---------- */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.extra {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 24px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.extra:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.extra-ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  background: rgba(20, 200, 165, .16); color: var(--teal);
}
.extra-ico svg { width: 22px; height: 22px; }
.extra h3 { color: #fff; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.extra p { margin-top: 4px; font-size: .9375rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }
@media (max-width: 880px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Pie (v2) ---------- */
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; }
.footer-brand p { color: rgba(255, 255, 255, .78); }
.made-in {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 14px; border-radius: 999px;
  background: rgba(20, 200, 165, .12); border: 1px solid rgba(20, 200, 165, .25);
  color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.3;
}
.made-in svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }


/* ==========================================================================
   v6 (2026-10-05): app definitiva + auditoría del 2026-10-03
   ========================================================================== */

/* ---------- Enlaces de texto ---------- */
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 0;
  font-weight: 700; color: var(--blue); font-size: 1rem;
}
.text-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.center-link { text-align: center; margin-top: 10px; }
.split-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 880px) { .split-actions { justify-content: flex-start; } }

/* ---------- Navegación: botón de registro siempre visible en móvil, zonas de toque ---------- */
.nav-cta-m { display: none; margin-left: auto; padding: 10px 14px; font-size: .875rem; box-shadow: none; }
.nav-links a { padding: 12px 14px; }
.nav-login { padding: 12px; }
.nav-mobile a.btn { display: flex; justify-content: center; border-bottom: 0; color: #fff; padding: 15px; }
@media (max-width: 880px) {
  .nav-cta-m { display: inline-flex; }
  .nav-toggle { margin-left: 6px; }
  .nav-inner { gap: 10px; }
}
@media (max-width: 360px) { .nav-logo img { height: 28px; } }

/* ---------- Portada en móvil: solo el teléfono, grande y sin solapes ---------- */
.hero-proof { position: relative; z-index: 5; }
@media (max-width: 560px) {
  .hero-stage { padding-left: 0; margin-top: 40px; display: flex; justify-content: center; }
  .hero-stage .browser { display: none; }
  .hero-stage .phone { position: relative; left: auto; bottom: auto; width: 66%; max-width: 260px; margin-bottom: -46%; }
}

/* ---------- Capturas: ampliación en móvil ---------- */
.browser-narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.browser-narrow img { max-height: 560px; width: 100%; object-fit: cover; object-position: top; }
.feature-media { min-width: 0; }
@media (max-width: 640px) {
  .browser img[data-zoom] { width: 100%; height: auto; aspect-ratio: var(--ar, 1 / 1); object-fit: cover; object-position: var(--fx, 0%) 0%; }
  .browser-narrow img { max-height: 440px; }
}

/* ---------- Vídeo como miniatura ---------- */
.video-thumb {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--navy); isolation: isolate;
}
.video-thumb img { width: 100%; height: auto; transition: transform .6s var(--ease), opacity .3s; opacity: .92; }
.video-thumb:hover img { transform: scale(1.03); opacity: 1; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: var(--teal); color: var(--navy); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(20, 200, 165, .9);
  transition: transform .25s var(--ease);
}
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-thumb:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-label {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(8, 30, 58, .82);
  color: #fff; font-size: .875rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- Antes / Con Elevios: la captura se funde en vez de cortarse ---------- */
.vs-shot { position: relative; max-height: 360px; overflow: hidden; }
.vs-shot img { max-height: none; }
.vs-shot::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--navy)); }

/* ---------- Pestañas ---------- */
.tab-panel.is-off { display: none; }
.tab-chip { display: none; margin-bottom: 12px; }
.tab-more { margin: 14px 0 0 18px; }
@media (max-width: 980px) {
  .tabs .tab-list { display: none; }
  .tab-panel.is-off { display: block; }
  .tab-panel { animation: none; padding: 28px 0; border-top: 1px solid var(--line); }
  .tab-panel:first-child { border-top: 0; padding-top: 0; }
  .tab-chip { display: inline-flex; }
  .tab-panels::after { content: ''; display: block; }
}

/* ---------- Funciones: bloques sin captura, en pareja ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-pair .mini { scroll-margin-top: 96px; padding: clamp(24px, 3vw, 36px); background: var(--bg); border-color: transparent; }
.feature-pair .mini h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 900; letter-spacing: -0.03em; margin-top: 14px; }
.feature-pair .mini .lead { font-size: 1.0625rem; margin-top: 10px; }
.feature-pair .tick-list { margin-bottom: 0; }
.feature-row { scroll-margin-top: 96px; }
@media (max-width: 880px) { .feature-pair { grid-template-columns: 1fr; } }

/* ---------- Franja de migración ---------- */
.migra {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; padding: 20px 24px;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff;
}
.migra p { flex: 1 1 320px; color: var(--text); font-size: .9688rem; }
.migra b { color: var(--ink); }
.migra .value-ico, .ref-strip .value-ico { background: var(--bg); box-shadow: none; flex-shrink: 0; }
.ref-strip { justify-content: flex-start; }
.ref-strip p { flex: 1 1 300px; }
.price-from small:first-child { margin-right: 6px; }

/* ---------- Precios: mensual / anual ---------- */
.billing-toggle { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.billing-toggle button {
  border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s;
}
.billing-toggle button span { font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--mint); color: #0B6B58; }
.billing-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.plan-save { font-size: .8125rem; font-weight: 600; color: var(--teal-2); margin-top: -8px; }
.plan.featured .plan-save { color: var(--teal); }
.plan .btn-ghost { background: #fff; }

/* ---------- Testimonio: el recuadro ya no se desborda ---------- */
.quote-avatar { font-size: clamp(1.05rem, 2.4vw, 1.9rem); padding: 0 8px; text-align: center; }
@media (max-width: 640px) { .quote-avatar { width: 96px; border-radius: 22px; } }

/* ---------- Varios ---------- */
.chip { scroll-margin-top: 96px; }
.tick-list li > span { min-width: 0; }

/* ---------- Móvil: tarjetas de valor compactas y pestañas en acordeón ---------- */
@media (max-width: 560px) {
  .value-grid.value-grid-6 { gap: 10px; }
  .value-card { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 16px 16px 18px; align-items: start; }
  .value-card .value-ico { grid-row: span 2; width: 44px; height: 44px; }
  .value-card h3 { font-size: 1.0625rem; align-self: center; }
  .value-card p { grid-column: 2; font-size: .9375rem; }
}
@media (max-width: 980px) {
  .tab-panel { padding: 0; border-top: 0; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-top: 10px; padding: 18px 18px 20px; }
  .tab-panel:first-child { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 0; }
  .tab-panel .tab-chip { display: none; }
  .tab-panel h3 { font-size: 1.125rem; letter-spacing: -0.015em; font-weight: 700; position: relative; padding-right: 36px; cursor: pointer; }
  .tab-panel h3::after {
    content: ''; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081E3A' stroke-width='2.6' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 13px no-repeat;
    transition: transform .25s var(--ease);
  }
  .tab-panel:not(.is-off) h3::after { transform: rotate(45deg); }
  .tab-panel.is-off > *:not(h3) { display: none; }
  .tab-panel:not(.is-off) { box-shadow: var(--shadow); border-color: transparent; }
  .tabs .tab-more-m { display: inline-flex; }
}
.tab-more-m { display: none; }

/* Funciones: más sitio para la captura que para el texto */
@media (min-width: 881px) {
  .feature-row.split { grid-template-columns: 5fr 6fr; gap: clamp(32px, 4vw, 64px); }
  .feature-row.split.reverse { grid-template-columns: 6fr 5fr; }
}

.plan-foot { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: -6px; }
.plan.featured .plan-foot { color: rgba(255,255,255,.65); }
