/* ============================================================
   Siga Mobile — Landing Page
   Estilo: emula starsoft.com.py/v4/siga-mobile (tema Ishpat)
   Navy corporativo, tarjetas cuadradas, botones oscuros con flecha ↗
   Fuentes: Plus Jakarta Sans (titulares y cuerpo) · DM Sans (notas)
   ============================================================ */

:root {
  /* Paleta Starsoft (variables del tema --tp-theme-*) */
  --primary: #1e73be;
  --navy: #00235a;
  --navy-deep: #0a1229;
  --ink: #1a0a44;        /* botón principal del sitio */
  --footer: #0a0929;
  --blue-2: #4b91cf;
  --blue-3: #215e93;
  --app-blue: #2a5ca6;   /* color de la app */
  /* Neutros */
  --white: #fff;
  --gray-bg: #f8f8f8;
  --line: #e2e2e2;
  --text: #636a7a;
  --muted: #9ca5af;
  --wa: #25d366;
  /* Degradados de marca (navy #00235a → azul #1e73be → celeste #4b91cf) */
  --grad-brand: linear-gradient(90deg, #00235a 0%, #1e73be 55%, #4b91cf 100%);
  /* Fondo único para toda la página: base de tintes de marca + halos alternados a izquierda y derecha.
     Los porcentajes se miden sobre el alto total del documento, así no hay cortes entre secciones. */
  --page-bg:
    radial-gradient(70vw 900px at 100% 0%, rgba(30, 115, 190, .30), transparent 70%),
    radial-gradient(60vw 900px at 0% 13%, rgba(0, 35, 90, .18), transparent 70%),
    radial-gradient(70vw 1100px at 100% 30%, rgba(75, 145, 207, .30), transparent 70%),
    radial-gradient(60vw 1000px at 0% 50%, rgba(30, 115, 190, .24), transparent 70%),
    radial-gradient(70vw 1100px at 100% 70%, rgba(0, 35, 90, .16), transparent 70%),
    radial-gradient(60vw 1000px at 0% 88%, rgba(75, 145, 207, .28), transparent 70%),
    linear-gradient(180deg, #dceaf8 0%, #f2f7fd 16%, #e2edf9 34%, #f5f9fe 52%, #dfebf8 70%, #f1f6fd 86%, #dde9f7 100%);
  /* Tipografía */
  --ff: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ff-note: 'DM Sans', system-ui, 'Segoe UI', Arial, sans-serif;
  /* Formas */
  --shadow: 0 10px 40px rgba(10, 18, 41, .08);
  --shadow-lg: 0 30px 70px rgba(11, 6, 70, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1170px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background-color: #e8f1fa; background-image: var(--page-bg); min-height: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; font-weight: 700; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 900px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

.ico { width: 44px; height: 44px; stroke: var(--primary); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px;
  font-weight: 700; font-size: 14px; line-height: 1.2;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn-arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--primary); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--primary); }
.btn-ghost { color: var(--navy); border: 1px solid var(--line); background: var(--gray-bg); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .3s;
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad-brand);
}
.site-header.scrolled { background: rgba(255, 255, 255, .82); box-shadow: 0 4px 30px rgba(0, 8, 21, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav-list { display: flex; gap: 30px; }
.nav-list a {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  color: var(--navy); padding: 8px 0; position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-media { position: relative; min-height: 520px; }
.hero-city { position: absolute; left: 0; bottom: 0; width: 64%; }
.hero-city img { width: 100%; aspect-ratio: 370 / 419; object-fit: cover; }
.hero-photo {
  position: absolute; left: 25%; top: 0; width: 64%;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-photo img { width: 100%; }

.eyebrow {
  font-family: var(--ff-note); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.hero-title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.hero-text { font-size: 16px; max-width: 470px; margin-bottom: 34px; }
.iconbox-row { display: flex; gap: 40px; flex-wrap: wrap; }
.iconbox { display: flex; align-items: center; gap: 16px; }
.iconbox h3 { font-size: 18px; max-width: 130px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.slashes { display: block; color: var(--primary); font-weight: 700; font-size: 14px; letter-spacing: .1em; margin-bottom: 10px; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 16px; }

/* ---------- Características ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features-head { padding: 10px 20px 0 0; }
.features-head p { font-size: 16px; }
.feature-card {
  background: #fff; padding: 40px 34px 30px;
  display: flex; flex-direction: column;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card h3 { font-size: 19px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 18px; }
.feature-card > p { flex-grow: 1; }
.feature-card details { margin-top: 26px; }
.feature-card summary {
  list-style: none; width: 40px; height: 40px; display: grid; place-items: center;
  margin-left: -8px; cursor: pointer; border-radius: 50%;
  transition: background-color .3s;
}
.feature-card summary::-webkit-details-marker { display: none; }
.feature-card summary:hover { background: var(--gray-bg); }
.feature-card summary svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.6; stroke-linecap: round; transition: transform .35s var(--ease); }
.feature-card details[open] summary svg { transform: rotate(45deg); }
.feature-card details ul { padding-top: 10px; border-top: 1px solid var(--line); margin-top: 10px; }
.feature-card details li { position: relative; padding-left: 18px; font-size: 14px; margin-top: 6px; }
.feature-card details li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--primary); }

/* ---------- Carrusel de pantallas (coverflow 3D) ---------- */
#la-app { overflow-x: clip; }
.carousel { --cw: 260px; --step: 200px; --depth: 170px; margin-bottom: 90px; }
.carousel-stage {
  position: relative; max-width: 1040px; margin-inline: auto;
  perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.carousel-stage.dragging { cursor: grabbing; }
/* Halo de marca detrás de la pantalla central */
.carousel-stage::before {
  content: ''; position: absolute; left: 50%; top: 46%; width: 760px; max-width: 120%; aspect-ratio: 1.6;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 115, 190, .28), rgba(0, 35, 90, .10) 55%, transparent 100%);
  pointer-events: none;
}
/* Sombra de piso */
.carousel-stage::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; width: calc(var(--cw) * 1.3); height: 26px;
  translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 35, 90, .30), transparent);
  pointer-events: none;
}
.carousel-track {
  position: relative; height: calc(var(--cw) * 2.04 + 20px);
  transform-style: preserve-3d;
}
.carousel-slide {
  --o: 0; --a: 0;
  position: absolute; left: 50%; top: 0; width: var(--cw); margin-left: calc(var(--cw) / -2);
  padding: 10px; background: #0d1426; border-radius: 38px;
  box-shadow: 0 30px 60px rgba(0, 20, 60, .28), inset 0 0 0 2px #2a3350;
  transform:
    translateX(calc(var(--o) * var(--step)))
    translateZ(calc(var(--a) * var(--depth) * -1))
    rotateY(calc(var(--o) * -24deg));
  opacity: calc(1 - var(--a) * .3);
  filter: saturate(calc(1 - var(--a) * .25)) brightness(calc(1 - var(--a) * .06));
  cursor: pointer;
}
.carousel.is-ready .carousel-slide { transition: transform .75s var(--ease), opacity .6s var(--ease), filter .6s var(--ease); }
.carousel-slide.is-far { opacity: 0; pointer-events: none; }
.carousel-slide.is-active { cursor: default; }
.carousel-slide img { width: 100%; border-radius: 29px; pointer-events: none; }
.carousel-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 35, 90, .18);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.carousel-arrow:hover { background: var(--navy); color: #fff; }
.carousel-arrow:active { transform: scale(.94); }
.carousel-arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }
.carousel-caption { text-align: center; margin-top: 34px; min-height: 96px; }
.carousel-count { font-family: var(--ff-note); font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.carousel-count b { color: var(--primary); }
.carousel-title { font-size: 22px; margin: 6px 0 4px; }
.carousel-text { font-size: 15px; }
.carousel-caption.swap .carousel-title, .carousel-caption.swap .carousel-text { animation: capIn .5s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 99px; background: #c9d6e6; padding: 0;
  transition: width .4s var(--ease), background-color .3s;
}
.carousel-dots button:hover { background: var(--blue-2); }
.carousel-dots button[aria-current="true"] { width: 30px; background: var(--grad-brand); }
.carousel-play {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid #c9d6e6; color: var(--navy); background: #fff;
  transition: border-color .3s;
}
.carousel-play:hover { border-color: var(--navy); }
.carousel-play svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.carousel-play .i-resume { fill: currentColor; stroke: none; margin-left: 2px; }
.carousel-play[aria-pressed="false"] .i-resume, .carousel-play[aria-pressed="true"] .i-pause { display: none; }
/* Indicador "ampliar" sobre la pantalla central */
.carousel-slide.is-active { cursor: zoom-in; }
.carousel-slide::after {
  content: ''; position: absolute; left: 50%; bottom: 26px; width: 54px; height: 54px; translate: -50% 10px;
  border-radius: 50%; background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300235a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 35, 90, .3);
  opacity: 0; transition: opacity .3s, translate .4s var(--ease);
  pointer-events: none;
}
.carousel-slide:hover::after { opacity: 1; translate: -50% 0; }
.carousel-zoom {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 99px;
  font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid #c9d6e6;
  transition: border-color .3s, background-color .3s, color .3s;
}
.carousel-zoom:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel-zoom svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ---------- Zoom de pantallas (diálogo) ---------- */
.zoom {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.zoom::backdrop {
  background:
    radial-gradient(900px 600px at 50% 40%, rgba(30, 115, 190, .35), transparent 70%),
    rgba(4, 12, 34, .88);
  backdrop-filter: blur(8px);
}
.zoom.is-closing::backdrop { opacity: 0; transition: opacity .35s; }
.zoom-inner {
  height: 100%; display: flex; align-items: center; justify-content: center; gap: 28px;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
}
.zoom-figure { display: flex; align-items: center; gap: 48px; }
.zoom-phone {
  padding: 12px; background: #0d1426; border-radius: 46px; flex-shrink: 0;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), inset 0 0 0 2px #2a3350;
  transform-origin: top left;
}
.zoom-screen {
  position: relative; overflow: hidden; border-radius: 34px; background: #eef2f7;
  height: min(84dvh, 900px); cursor: zoom-in; touch-action: none;
}
.zoom-screen:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 4px; }
.zoom-img { height: 100%; width: auto; max-width: none; transition: transform .45s var(--ease); user-select: none; -webkit-user-select: none; }
.zoom-screen.is-magnified { cursor: zoom-out; }
.zoom-screen.is-magnified .zoom-img { transform: scale(2.2); }
.zoom-screen.is-panning .zoom-img { transition: transform .45s var(--ease), transform-origin .12s linear; }
.zoom-caption { max-width: 300px; }
.zoom-count { font-family: var(--ff-note); font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.zoom-title { color: #fff; font-size: 30px; font-weight: 800; margin: 8px 0 10px; }
.zoom-text { color: rgba(255, 255, 255, .78); font-size: 16px; }
.zoom-hint { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; color: #9fd0ff; }
.zoom-hint svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.zoom-close, .zoom-nav {
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color .3s, color .3s;
}
.zoom-close:hover, .zoom-nav:hover { background: #fff; color: var(--navy); }
.zoom-close { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); right: 20px; width: 48px; height: 48px; z-index: 2; }
.zoom-nav { width: 56px; height: 56px; flex-shrink: 0; }
.zoom-close svg, .zoom-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.zoom-open { overflow: hidden; }

@media (max-width: 760px) {
  .zoom-inner { flex-direction: column; justify-content: center; gap: 14px; }
  .zoom-figure { flex-direction: column; gap: 14px; }
  .zoom-screen { height: calc(100dvh - 210px); border-radius: 26px; }
  .zoom-phone { padding: 8px; border-radius: 34px; }
  .zoom-caption { text-align: center; max-width: 92vw; }
  .zoom-title { font-size: 20px; margin: 2px 0 2px; }
  .zoom-text { font-size: 14px; }
  .zoom-hint { display: none; }
  .zoom-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; z-index: 2; background: rgba(4, 12, 34, .55); }
  .zoom-prev { left: 10px; }
  .zoom-next { right: 10px; }
}

.tour-intro {
  text-align: center; font-weight: 800; color: var(--navy); font-size: 18px; margin-bottom: 26px;
  display: flex; align-items: center; gap: 18px;
}
.tour-intro::before, .tour-intro::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #c9d6e6); }
.tour-intro::after { background: linear-gradient(90deg, #c9d6e6, transparent); }

/* ---------- Recorrido de la app ---------- */
.tour-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-bottom: 56px;
}
.tour-tabs button {
  padding: 11px 20px; font-size: 14px; font-weight: 700; color: var(--navy);
  border: 1px solid var(--line); background: #fff;
  transition: background-color .3s, color .3s, border-color .3s;
}
.tour-tabs button:hover { border-color: var(--navy); }
.tour-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tour-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tour-panel:not([hidden]) { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone {
  position: relative; z-index: 2;
  width: 270px; padding: 10px; background: #0d1426; border-radius: 38px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3350;
}
.phone img { border-radius: 29px; width: 100%; }
.phone--back {
  position: absolute; z-index: 1; width: 230px;
  left: calc(50% + 20px); top: 60px; opacity: .95;
  transform: rotate(4deg);
}
.phones:has(.phone--back) .phone:not(.phone--back) { transform: translateX(-70px) rotate(-2deg); }
.tour-text h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 16px; }
.tour-text > p { font-size: 16px; margin-bottom: 22px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--navy-deep); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: .25em; width: 20px; height: 20px;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 50%;
}
.checks--sm li { padding-left: 26px; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 9px; }
.checks--sm li::before { width: 16px; height: 16px; top: .3em; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e73be' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 16px; }

.btn-ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Probá la app (descarga + QR) ---------- */
.try { position: relative; overflow: hidden; }
.try::before {
  content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 115, 190, .10), transparent 65%);
  pointer-events: none;
}
.try-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 70px; align-items: center; }
.try-text .slashes { display: inline-block; margin-right: 8px; }
.try-text .eyebrow { display: inline-block; }
.try-lead { font-size: 16px; max-width: 560px; margin-bottom: 34px; }
.try-steps { display: grid; gap: 22px; margin-bottom: 36px; }
.try-steps li { display: flex; gap: 18px; align-items: flex-start; }
.try-num {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 15px;
}
.try-steps h3 { font-size: 17px; margin-bottom: 4px; }
.try-steps p { font-size: 14.5px; }
.try-steps code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 13px; background: #fff; border: 1px solid var(--line); padding: 1px 6px; color: var(--navy); }
.try-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.try-ios { margin-top: 18px; font-size: 14px; }
.try-ios a { color: var(--primary); font-weight: 700; border-bottom: 1px solid currentColor; }

.try-card {
  background: #fff; padding: 34px 34px 28px; text-align: center;
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--primary);
}
.try-card-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 22px; }
.try-card-head svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.7; }
.qr {
  position: relative; display: block; width: 100%; max-width: 260px; margin-inline: auto;
  padding: 14px; border: 1px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.qr:hover { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 115, 190, .1); }
.qr > img { width: 100%; height: auto; image-rendering: pixelated; }
.qr-logo {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 22%; aspect-ratio: 1; background: #fff; border-radius: 50%; padding: 4px;
}
.qr-logo img { width: 100%; height: 100%; }
.qr-scan {
  position: absolute; left: 14px; right: 14px; top: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 12px var(--primary);
  animation: qrScan 3.2s ease-in-out infinite;
}
@keyframes qrScan { 0%, 100% { top: 14px; opacity: 0; } 10%, 90% { opacity: .8; } 50% { top: calc(100% - 16px); } }
.try-card-hint { font-size: 14px; margin: 20px auto 16px; max-width: 280px; }
.try-meta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.try-meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--gray-bg); padding: 6px 12px; }
.try-meta svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.try-url { font-size: 12px; color: var(--muted); word-break: break-all; }
.try-url:hover { color: var(--primary); }

/* ---------- Banda navy: control desde la oficina ---------- */
.band {
  position: relative; color: rgba(255, 255, 255, .78);
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 60px),
    linear-gradient(135deg, #00235a 0%, #0a1f5c 55%, #1a2f78 100%);
  padding: 100px 0;
}
.band-head { max-width: 720px; margin-bottom: 56px; }
.band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 18px; }
.band-head p { font-size: 17px; }
.band-head strong { color: #fff; }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.module { background: #0b2563; padding: 36px 28px; transition: background-color .35s; }
.module:hover { background: #10307a; }
.module .ico { stroke: #7fb6ea; margin-bottom: 22px; }
.module h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.module p { font-size: 14px; }

/* ---------- Flujo ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.flow-step { position: relative; padding: 36px 28px; border: 1px solid var(--line); background: #fff; transition: border-color .35s, box-shadow .35s; }
.flow-step:hover { border-color: transparent; box-shadow: var(--shadow); }
.flow-num { position: absolute; top: 20px; right: 24px; font-size: 34px; font-weight: 800; color: #eef1f6; line-height: 1; }
.flow-step .ico { margin-bottom: 20px; }
.flow-step h3 { font-size: 18px; margin-bottom: 8px; }
.flow-step p { font-size: 14px; }
.flow-note {
  display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left;
  margin: 44px auto 0; max-width: 760px; font-size: 14px;
}
.flow-note svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.6; flex-shrink: 0; }

/* ---------- Comparación ---------- */
.compare { background: #fff; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row span { display: flex; gap: 12px; align-items: flex-start; padding: 18px 26px; }
.compare-row span + span { background: #f3f8fd; color: var(--navy); font-weight: 600; }
.compare-row svg { width: 18px; height: 18px; fill: none; stroke-width: 2.4; stroke-linecap: round; flex-shrink: 0; margin-top: .25em; }
.compare-row span:first-child svg { stroke: #c0392b; }
.compare-row span + span svg { stroke: var(--primary); }
.compare-head span { font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.compare-head span + span { background: var(--navy); color: #fff; }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
.benefit .ico { grid-row: span 2; }
.benefit h3 { font-size: 19px; margin-bottom: 8px; }
.benefit p { font-size: 14.5px; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; box-shadow: var(--shadow); }
.plan {
  position: relative; background: #fff url("../assets/img/plan_forma.png") right top / auto 100% no-repeat;
  padding: 44px 34px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan + .plan { border-left: 1px solid #f0f0f0; }
.plan:hover { transform: translateY(-14px); box-shadow: var(--shadow-lg); z-index: 2; }
.plan h3 { font-size: 20px; margin-bottom: 26px; }
.plan ul { padding-bottom: 26px; border-bottom: 1px solid #ececec; margin-bottom: 26px; flex-grow: 1; }
.plan-price { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 26px; }
.plan-price span { display: block; font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1.15; letter-spacing: -.01em; }
.plan .btn { justify-content: center; }

/* Plan destacado (Active): sobresale arriba con la cinta "Recomendado" */
.plan--featured {
  z-index: 3; margin-top: -38px; padding-top: 82px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(75, 145, 207, .35), transparent 65%),
    linear-gradient(160deg, #00235a 0%, #0b3a86 100%);
  box-shadow: 0 30px 70px rgba(0, 35, 90, .35);
  color: rgba(255, 255, 255, .8);
}
.plan--featured + .plan { border-left: 0; }
.plan--featured:hover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0, 35, 90, .4); }
.plan-tag {
  position: absolute; left: 0; right: 0; top: 0; height: 38px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-brand); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.plan-tag svg { width: 14px; height: 14px; fill: #ffd25a; }
.plan--featured h3, .plan--featured .plan-price { color: #fff; }
.plan--featured ul { border-bottom-color: rgba(255, 255, 255, .16); }
.plan--featured .checks--sm li { color: #fff; }
.plan--featured .checks--sm li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb6ea' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.plan--featured .plan-price span { color: #9fd0ff; }
.plan--featured .btn-navy { background: var(--primary); }
.plan--featured .btn-navy:hover { background: #fff; color: var(--navy); }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.video-logo { width: 110px; margin-bottom: 26px; }
.video-text > p { font-size: 16px; margin-bottom: 14px; }
.products-line { margin-top: 26px; }
.products { display: grid; gap: 10px; }
.products li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; background: var(--gray-bg); border-left: 3px solid var(--primary); }
.products strong { color: var(--navy); }
.products span { font-size: 14px; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); box-shadow: var(--shadow-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .4s, transform .6s var(--ease); }
.video-poster:hover img { opacity: .9; transform: scale(1.03); }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); box-shadow: 0 0 0 12px rgba(30, 115, 190, .25);
  transition: box-shadow .4s;
}
.video-poster:hover .video-play { box-shadow: 0 0 0 20px rgba(30, 115, 190, .2); }
.video-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-label { position: absolute; left: 20px; bottom: 16px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .04em; }

/* ---------- Para quién + contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.audience-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.audience-list .ico { width: 36px; height: 36px; }
.audience-list strong { color: var(--navy); }
.contact-card { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 50px 44px; }
.contact-card h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.contact-card > p { margin-bottom: 28px; }
.contact-data { margin-top: 34px; display: grid; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; }
.contact-data div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-data dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); padding-top: 3px; }
.contact-data dd { color: #fff; }
.contact-data a:hover { color: var(--blue-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #9ca5af; font-size: 14px; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { width: 90px; margin-bottom: 26px; }
.social { display: flex; gap: 6px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px; color: #fff; transition: opacity .3s, transform .3s; }
.social a:hover { transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.s-fb, .s-ig { background: #3b5998; }
.s-ig { background: #3f51a8; }
.s-yt { background: #cd201f; }
.s-tt { background: #69727d; }
.footer-col h2 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #22284a; padding-block: 24px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 16px; }
  .nav-list a { font-size: 12px; }
  .brand img { height: 32px; }
  .modules, .flow, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan + .plan { border-left: 0; }
  .plans { gap: 1px; background: #f0f0f0; }
  .plan--featured { margin-top: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; box-shadow: 0 20px 30px rgba(0, 8, 21, .1);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .main-nav.open { max-height: 420px; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav-list a { display: block; padding: 13px 0; border-bottom: 1px solid #f0f0f0; }
  .hero { padding: 40px 0 70px; }
  .hero-grid, .tour-panel, .video-grid, .contact-grid, .try-grid { grid-template-columns: 1fr; gap: 44px; }
  .try-card { max-width: 420px; width: 100%; margin-inline: auto; }
  .hero-media { min-height: 0; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features-head { grid-column: 1 / -1; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
  .carousel { --cw: 240px; --step: 170px; }
  .tour-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tabs button { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .features, .modules, .flow, .plans, .benefits, .footer-grid { grid-template-columns: 1fr; }
  .compare-row span { padding: 14px 14px; font-size: 14px; }
  .carousel { --cw: 210px; --step: 128px; --depth: 140px; margin-bottom: 70px; }
  .carousel-arrow { width: 42px; height: 42px; }
  .carousel-controls { flex-wrap: wrap; row-gap: 14px; }
  .carousel-dots { flex-basis: 100%; gap: 7px; }
  .carousel-zoom { white-space: nowrap; }
  .carousel-slide { border-radius: 30px; padding: 8px; }
  .carousel-slide img { border-radius: 23px; }
  .phones { min-height: 0; }
  .phone { width: 220px; }
  .phone--back { width: 180px; left: calc(50% + 4px); top: 40px; }
  .phones:has(.phone--back) .phone:not(.phone--back) { transform: translateX(-46px) rotate(-2deg); }
  .contact-card { padding: 38px 24px; }
  .contact-data div { grid-template-columns: 1fr; gap: 2px; }
  .btn { padding: 15px 22px; }
  .products li { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
