/* Tukán Software — estilos compartidos (inicio y páginas de programa).
   Marca: azul #14213D, amarillo #FFC93C, naranja #FF8A1F. Cada programa pone su color con --c y --on-c. */
:root {
  --bg: #F7F7F4; --surface: #FFFFFF; --ink: #14213D; --ink-soft: #4A5470; --line: #DADCE3;
  --brand: #14213D; --on-brand: #FFFFFF; --on-brand-soft: #C9D0DF;
  --yellow: #FFC93C; --orange: #FF8A1F; --on-color: #14213D;
  --shadow: 0 1px 2px rgba(20,33,61,.06), 0 8px 24px rgba(20,33,61,.06);
  --shadow-lg: 0 2px 4px rgba(20,33,61,.06), 0 18px 44px rgba(20,33,61,.14);
  --f-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0E1628; --surface: #17223A; --ink: #F4F5F8; --ink-soft: #A7B0C6; --line: #2A3654; --brand: #0A1020; --on-brand: #FFFFFF; --on-brand-soft: #A7B0C6; --shadow: none; --shadow-lg: 0 18px 44px rgba(0,0,0,.35); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0E1628; --surface: #17223A; --ink: #F4F5F8; --ink-soft: #A7B0C6; --line: #2A3654; --brand: #0A1020; --on-brand: #FFFFFF; --on-brand-soft: #A7B0C6; --shadow: none; --shadow-lg: 0 18px 44px rgba(0,0,0,.35); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo claro/oscuro */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-body); font-weight: 700; font-size: 17px; line-height: 20px; padding: 16px 24px; min-height: 52px; border-radius: var(--r-lg); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--on-color); border-color: var(--yellow); box-shadow: 0 6px 18px rgba(255,201,60,.35); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); box-shadow: 0 8px 22px rgba(255,138,31,.35); }
.btn-ghost { color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: #14213D; color: #fff; border-color: #14213D; }
.btn-dark:hover { background: #22305A; border-color: #22305A; }
.btn-light { background: #fff; color: #14213D; border-color: #fff; }
.btn-light:hover { background: #F1F3F8; border-color: #F1F3F8; }
.btn-line { color: var(--on-c, #fff); border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,.14); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: 10px 18px; min-height: 44px; font-size: 15px; }

/* Encabezado */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.top .brand svg { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--on-color); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Aparecer al hacer scroll (solo con JavaScript) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== Inicio: héroe ===== */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, color-mix(in srgb, var(--yellow) 45%, transparent), transparent 70%); filter: blur(10px); z-index: 0; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -15%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; background: radial-gradient(closest-side, color-mix(in srgb, var(--orange) 22%, transparent), transparent 70%); z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 64px 56px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); margin-top: 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); padding-inline: 2px; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 440px; margin-inline: auto; }
.mosaic a { position: relative; aspect-ratio: 1; border-radius: 18px; background: var(--c); color: var(--on-c, #fff); display: grid; place-items: center; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3.4vw, 34px); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 35%, transparent); transition: transform .25s ease, box-shadow .25s ease; animation: flota 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.mosaic a:hover, .mosaic a:focus-visible { transform: translateY(-6px) scale(1.06); z-index: 2; box-shadow: 0 16px 30px color-mix(in srgb, var(--c) 45%, transparent); }
.mosaic a span.n { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) scale(.9); background: var(--ink); color: var(--bg); font-family: var(--f-body); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.mosaic a:hover span.n, .mosaic a:focus-visible span.n { opacity: 1; transform: translateX(-50%) scale(1); }
.mosaic .ojo { background: var(--ink); color: var(--bg); animation: none; box-shadow: none; border-radius: 50%; }
.mosaic .ojo::after { content: ""; width: 34%; height: 34%; border-radius: 50%; background: var(--yellow); }
.mosaic-cap { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 18px; }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 44px 36px; gap: 36px; } .mosaic { max-width: 340px; gap: 10px; } }

/* Franja de cifras */
.stats { background: var(--brand); color: var(--on-brand); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 26px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 4px solid var(--yellow); }
.stat:nth-child(even) { border-left-color: var(--orange); }
.stat b { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--on-brand-soft); }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Secciones */
section.block { padding-block: 72px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 46px); }
.sec-head p { color: var(--ink-soft); font-size: 18px; }

/* Filtros */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtros button { font: inherit; font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.filtros button:hover { border-color: var(--ink); color: var(--ink); }
.filtros button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filtros .cuenta { opacity: .6; font-weight: 500; margin-left: 4px; }

/* Tarjetas de producto */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .products { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.card[hidden] { display: none; }
.card .cabeza { background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--on-c); padding: 20px 22px 18px; display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden; }
.card .cabeza::after { content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px; border-radius: 28px; background: rgba(255,255,255,.14); transform: rotate(18deg); }
.card .icono { flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 26px; border: 2px solid rgba(255,255,255,.35); }
.card .cabeza h3 { font-size: 24px; line-height: 1.1; }
.card .cabeza .for { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-top: 3px; line-height: 1.3; }
.card .cuerpo { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 15.5px; color: var(--ink-soft); }
.card li { display: flex; gap: 10px; }
.card li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 3px; margin-top: 9px; background: var(--c); }
.card .acts { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.card .ver { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; background: var(--c); color: var(--on-c); text-decoration: none; transition: transform .15s, filter .15s; }
.card .ver:hover { filter: brightness(1.08); transform: translateX(2px); }
.card .ver svg { width: 16px; height: 16px; }
.card .more { font-weight: 700; font-size: 15px; text-underline-offset: 4px; }
.card .estirado::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .acts a:not(.estirado) { position: relative; z-index: 2; }
.tag { font-family: var(--f-body); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: var(--on-color); white-space: nowrap; }
.card .nuevo { position: absolute; top: 14px; right: 14px; z-index: 3; box-shadow: 0 4px 10px rgba(0,0,0,.18); }

/* Próximamente */
.next { margin-top: 28px; border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.next-head { display: flex; flex-direction: column; gap: 8px; }
.next-head h3 { font-size: 26px; }
.next-head p:last-child { color: var(--ink-soft); font-size: 15.5px; }
.soon { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.soon li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.soon .sq { width: 40px; height: 40px; border-radius: 12px; background: var(--c); }
.soon .sq.dashed { background: transparent; border: 2px dashed var(--ink-soft); }
.soon b { display: block; font-family: var(--f-display); font-size: 18px; letter-spacing: -0.01em; }
.soon div span { font-size: 14.5px; color: var(--ink-soft); }
.pill { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.pill.link { background: var(--yellow); border-color: var(--yellow); color: var(--on-color); text-decoration: none; }
.pill.link:hover { background: var(--orange); border-color: var(--orange); }
@media (max-width: 860px) { .next { grid-template-columns: minmax(0, 1fr); padding: 22px; } }
@media (max-width: 420px) { .soon li { grid-template-columns: 40px minmax(0, 1fr); } .soon .pill { grid-column: 2; justify-self: start; } }

/* Sistemas que trabajan juntos */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.duo .pair { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.duo .chip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.duo .chip i { width: 26px; height: 26px; border-radius: 8px; background: var(--c); flex: none; }
.duo a.chip:hover { text-decoration: underline; text-underline-offset: 4px; }
.duo .plus { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); font-weight: 700; line-height: 1; }
.duo p { color: var(--ink-soft); font-size: 15.5px; }
.duo-notes { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo-notes li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.duo-notes li span { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); margin-top: 2px; }
.duo-notes li:nth-child(2) span { background: var(--orange); }
.duo-notes b { display: block; font-size: 18px; }
.duo-notes p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 760px) { .duo-grid, .duo-notes { grid-template-columns: minmax(0, 1fr); } }

/* Tienda vMix */
.tienda { background: linear-gradient(135deg, #14213D, #22305A); color: #fff; border-radius: var(--r-xl); padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.tienda::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 56px; background: rgba(255,201,60,.18); transform: rotate(16deg); }
.tienda h2 { font-size: clamp(28px, 3.8vw, 40px); }
.tienda p { margin-top: 10px; color: #C9D0DF; max-width: 40em; }
.tienda .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .tienda { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; } }

/* Base común */
.base { background: var(--brand); color: var(--on-brand); }
.base .eyebrow, .base .sec-head p { color: var(--on-brand-soft); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.feat { display: flex; gap: 16px; min-width: 0; }
.feat .ic { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--yellow); color: var(--on-color); display: grid; place-items: center; }
.feat .ic svg { width: 24px; height: 24px; }
.feat:nth-child(even) .ic { background: var(--orange); }
.feat h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.feat p { color: var(--on-brand-soft); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { border-top: 4px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step:nth-child(2) { border-top-color: var(--orange); }
.step:nth-child(3) { border-top-color: var(--yellow); }
.step .n { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.step h3 { font-size: 24px; }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Por qué */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.why .quote { font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.why ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.why li span { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); margin-top: 2px; }
.why li:nth-child(2) span { background: var(--orange); }
.why li:nth-child(3) span { background: var(--ink); }
.why li b { display: block; font-size: 18px; }
.why li p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 760px) { .why { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Contacto */
.cta-band { background: var(--yellow); color: var(--on-color); border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 48px; background: rgba(255,138,31,.35); transform: rotate(14deg); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 50px); color: var(--on-color); }
.cta-band p { margin-top: 10px; font-size: 18px; color: var(--on-color); }
.cta-band .btn { background: #14213D; color: #FFFFFF; border-color: #14213D; }
.cta-band .btn:hover { background: #22305A; border-color: #22305A; }
.cta-band .mails { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.cta-band .mails b { font-weight: 700; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* Pie */
footer { margin-top: 72px; background: var(--brand); color: var(--on-brand-soft); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; padding-block: 40px 32px; }
footer .logo svg { height: 30px; width: auto; display: block; }
footer .cols { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-brand); }
footer .progs { flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
footer .progs b { display: block; color: var(--on-brand); font-family: var(--f-display); font-size: 15px; margin-bottom: 10px; }
footer .progs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer .progs a { display: inline-flex; align-items: center; gap: 8px; }
footer .progs i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); display: inline-block; }
footer .legal { flex-basis: 100%; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
footer .legal b { color: var(--on-brand); font-weight: 700; }

/* ===== Página de programa ===== */
.migas { font-size: 14px; color: var(--ink-soft); padding-block: 18px 0; }
.migas a { text-decoration: none; color: var(--ink-soft); }
.migas a:hover { color: var(--ink); text-decoration: underline; }
.migas span { margin-inline: 6px; opacity: .6; }
.phero { background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--on-c); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 96px; background: rgba(255,255,255,.12); transform: rotate(16deg); }
.phero::after { content: ""; position: absolute; left: -70px; bottom: -110px; width: 280px; height: 280px; border-radius: 80px; background: rgba(0,0,0,.08); transform: rotate(-12deg); }
.phero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: center; padding-block: 54px 60px; }
.phero .logo-prog { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.phero .logo-prog i { font-style: normal; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; font-size: 20px; letter-spacing: 0; }
.phero h1 { font-size: clamp(40px, 6vw, 68px); margin-top: 16px; }
.phero .frase { font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; margin-top: 14px; max-width: 24em; }
.phero .resumen { font-size: 18px; margin-top: 16px; max-width: 34em; opacity: .94; }
.phero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phero .plat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.phero .plat span { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
.phero-arte { display: grid; place-items: center; }
.bloques { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(300px, 80%); }
.bloques i { aspect-ratio: 1; border-radius: 16px; background: rgba(255,255,255,.2); animation: flota 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.bloques i.on { background: rgba(255,255,255,.92); }
.bloques i.ojo { border-radius: 50%; background: rgba(255,255,255,.92); position: relative; }
.bloques i.ojo::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--c); }
.bloques i.letra { background: rgba(255,255,255,.95); color: var(--c); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 4vw, 36px); }
@media (max-width: 900px) { .phero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 38px 44px; gap: 30px; } }

/* Marcos de captura */
.pantalla { margin: 0; position: relative; }
.marco-cel { background: #0B1020; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 280px; margin-inline: auto; position: relative; }
.marco-cel::before { content: ""; position: absolute; top: 15px; left: 50%; width: 70px; height: 6px; border-radius: 4px; background: #1d2540; transform: translateX(-50%); z-index: 2; }
.marco-cel img { display: block; width: 100%; height: auto; border-radius: 26px; }
.marco-web { background: #0B1020; border-radius: 16px; padding: 26px 8px 8px; box-shadow: 0 30px 60px rgba(0,0,0,.3); position: relative; }
.marco-web::before { content: ""; position: absolute; top: 9px; left: 12px; width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; box-shadow: 15px 0 #FEBC2E, 30px 0 #28C840; }
.marco-web img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pantalla figcaption { margin-top: 10px; font-size: 13.5px; text-align: center; opacity: .9; }

/* Barra de secciones */
.indice { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 58px); z-index: 15; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.indice .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: thin; }
.indice a { flex: none; font-size: 14px; font-weight: 700; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-soft); background: var(--surface); transition: all .15s; }
.indice a:hover, .indice a.on { background: var(--c); border-color: var(--c); color: var(--on-c); }

.psec { padding-block: 60px 0; }
.psec h2 { font-size: clamp(28px, 3.8vw, 40px); }
.psec .lead { color: var(--ink-soft); font-size: 18px; margin-top: 10px; max-width: 42em; }
.chips-ideal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips-ideal span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.chips-ideal span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }

.dolores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.dolor { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: var(--r-md); padding: 18px 20px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.dolor q { quotes: "«" "»"; }
@media (max-width: 700px) { .dolores { grid-template-columns: minmax(0, 1fr); } }

.leyenda { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); }
.leyenda span { display: inline-flex; align-items: center; gap: 8px; }
.ins { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ins.base { background: var(--c); color: var(--on-c); }
.ins.mod { background: transparent; border: 1.5px solid var(--c); color: var(--ink); }
.grupo { margin-top: 40px; }
.grupo-cab { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.grupo-cab .gi { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--c); color: var(--on-c); display: grid; place-items: center; }
.grupo-cab .gi svg { width: 26px; height: 26px; }
.grupo-cab h3 { font-size: clamp(22px, 2.8vw, 28px); }
.grupo-cab small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--ink-soft); letter-spacing: 0; margin-top: 2px; }
.modulos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.mod .fila { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mod h4 { font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.mod p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 700px) { .modulos { grid-template-columns: minmax(0, 1fr); } }

.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 28px; align-items: start; }
.galeria .pantalla figcaption { color: var(--ink-soft); }
.galeria .web { grid-column: span 2; }
@media (max-width: 640px) { .galeria .web { grid-column: auto; } }

.dia { margin: 28px 0 0; padding: 0; list-style: none; position: relative; display: flex; flex-direction: column; gap: 0; }
.dia::before { content: ""; position: absolute; left: 41px; top: 12px; bottom: 12px; width: 3px; background: var(--line); border-radius: 2px; }
.dia li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding-block: 12px; align-items: start; }
.dia .h { position: relative; z-index: 1; justify-self: start; font-family: var(--f-display); font-weight: 700; font-size: 15px; padding: 6px 12px; border-radius: 999px; background: var(--c); color: var(--on-c); box-shadow: 0 0 0 5px var(--bg); }
.dia .t { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; font-size: 16.5px; }
@media (max-width: 560px) { .dia::before { left: 33px; } .dia li { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; } }

.integra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.integra span { font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 999px; background: var(--c); color: var(--on-c); }
.conecta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 22px; }
.conecta a { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.conecta a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.conecta i { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--c); color: var(--on-c); display: grid; place-items: center; font-style: normal; font-family: var(--f-display); }
.conecta small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 13.5px; }

.faq { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; max-width: 52em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--c); color: var(--on-c); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--ink-soft); }

.pcta { margin-top: 64px; }
.pcta .band { background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--on-c); border-radius: var(--r-xl); padding: 46px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.pcta .band::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 52px; background: rgba(255,255,255,.14); transform: rotate(14deg); }
.pcta .band > * { position: relative; z-index: 1; }
.pcta h2 { font-size: clamp(28px, 4vw, 44px); }
.pcta p { margin-top: 10px; font-size: 18px; opacity: .95; max-width: 34em; }
.pcta .botones { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .pcta .band { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; } }
.otros { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 22px; }
.otros a { display: flex; align-items: center; gap: 12px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; font-weight: 700; font-size: 15.5px; transition: transform .2s, box-shadow .2s; }
.otros a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.otros i { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--c); color: var(--on-c); display: grid; place-items: center; font-style: normal; font-family: var(--f-display); }

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