/* Cortinas de Cristal: estilos del sitio */
:root {
  --navy: #09090B;
  --navy-2: #18181B;
  --navy-3: #27272A;
  --cyan: #D4D4D8;
  --cyan-dark: #52525B;
  --sol: #18181B;
  --sol-dark: #000000;
  --lime: #A1A1AA;
  --bg: #F4F4F5;
  --white: #FFFFFF;
  --ink: #000000;
  --ink-2: #27272A;
  --ink-3: #52525B;
  --line: #E4E4E7;
  --line-dark: rgba(255,255,255,.12);
  --display: 'Work Sans', system-ui, sans-serif;
  --body: 'Work Sans', system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 14px;
  --shadow: 0 18px 40px rgba(0,0,0,.12);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink-2); background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 12px; }
h1 strong, h2 strong { font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-3); max-width: 62ch; }
a { color: var(--cyan-dark); }
img, video { max-width: 100%; display: block; }
ul, .steps, .process { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.dark { background: var(--navy); color: #C7D2E0; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark .lead { color: #A9B8CC; }
.white { background: var(--white); }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.dark .eyebrow { color: #A1A1AA; }
.heading { max-width: 26ch; margin-bottom: 14px; }
.center { text-align: center; }
.center .heading, .center .lead { margin-left: auto; margin-right: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 0; background: var(--sol); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.28); background: var(--sol-dark); }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.55); color: var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn.navy { background: var(--navy); }
.demo .btn.ghost, .dark .btn.ghost { border-color: rgba(255,255,255,.5); } .btn.navy:hover { background: var(--navy-3); box-shadow: 0 10px 24px rgba(11,25,48,.3); }
.btn.cyan { background: var(--white); color: var(--ink); } .btn.cyan:hover { background: #E4E4E7; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.btn.wa { background: #25D366; color: #073B1E; } .btn.wa:hover { background: #1FBF5B; box-shadow: 0 10px 24px rgba(37,211,102,.4); }
.btn.outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); } .btn.outline:hover { background: var(--navy); color: var(--white); box-shadow: none; }

/* Animaciones */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.rise { animation: rise .8s ease both; } .rise2 { animation: rise .8s .15s ease both; } .rise3 { animation: rise .8s .3s ease both; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.zoom { overflow: hidden; } .zoom img { transition: transform .5s ease; } .zoom:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rise,.rise2,.rise3,.floaty,.dot,.word,.track,.kb { animation: none !important; } .reveal { opacity: 1; transform: none; transition: none; } .lift,.zoom img,.btn { transition: none; } }

/* Cinta superior */
.ticker { background: #E4E4E7; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: .85rem; display: flex; align-items: stretch; }
.ticker .label { flex: none; }
.ticker .rail { flex: 1; overflow: hidden; }
.ticker .label { background: var(--navy); color: var(--white); padding: 9px 16px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: pulse 2s infinite; }
.ticker .track span::before { content: "•"; margin-right: 48px; color: var(--ink-3); }
.ticker .track { display: flex; gap: 48px; white-space: nowrap; padding: 9px 0; animation: marquee 60s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .track span { padding-left: 0; }
@media (max-width: 600px) { .ticker .label span.t { display: none; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); box-shadow: 0 1px 0 var(--line-dark); }
.nav .logo img { height: 40px; width: auto; }
.nav .logo .on-light { display: none; }
.nav ul { display: flex; gap: 26px; align-items: center; }
.nav ul a { font-family: var(--display); font-weight: 500; font-size: .9rem; text-decoration: none; color: #D4D4D8; }
.nav ul a:hover { color: var(--white); }
.nav ul a.btn { padding: 11px 20px; color: var(--ink); background: var(--white); }
.nav ul a.btn:hover { background: #E4E4E7; }
.nav .burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav .burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--white); }
@media (max-width: 900px) {
  .nav ul { position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 26px; transform: translateY(-110%); transition: transform .35s; }
  .nav.open ul { transform: none; }
  .nav ul a { font-size: 1.3rem; color: var(--white); }
  .nav .burger { display: block; position: relative; z-index: 2; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); top: -250px; right: -150px; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 14px; font-family: var(--display); font-weight: 600; font-size: .8rem; margin-bottom: 22px; }
.hero .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
.hero h1 { color: var(--white); }
.hero h1 .word { display: inline-block; font-weight: 600; color: var(--white); animation: word .5s ease both; }
.hero p.lead { color: #B9C6D8; margin: 22px 0 30px; font-size: 1.15rem; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .proof { display: flex; gap: 22px 36px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.hero .proof b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--white); }
.hero .proof span { font-size: .85rem; color: #9FB0C6; }
.hero .visual { position: relative; }
.hero .visual .frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero .visual .frame { position: relative; }
.hero .visual .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero .visual .frame img.on { opacity: 1; }
.hero .dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.hero .dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero .dots button[aria-current="true"] { background: var(--white); width: 22px; border-radius: 4px; }
.hero .float { position: absolute; background: var(--white); color: var(--navy); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; animation: floaty 5s ease-in-out infinite; }
.hero .float strong { display: block; font-family: var(--display); font-size: .92rem; font-weight: 800; }
.hero .float span { font-size: .8rem; color: var(--ink-3); }
.hero .float.a { left: -18px; bottom: 36px; }
.hero .float.b { right: -14px; top: 28px; animation-delay: 1.4s; background: var(--navy); color: var(--white); border: 1px solid var(--line-dark); }
.hero .float.b span { color: #9FB0C6; }
.hero .float .ico { width: 40px; height: 40px; border-radius: 10px; background: #E4E4E7; display: grid; place-items: center; flex: none; }
.hero .float.b .ico { background: var(--white); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero .float.a { left: 8px; bottom: 12px; } .hero .float.b { right: 8px; top: 12px; } }

/* Demo animada de paneles */
.demo { background: var(--white); }
.demo .box { background: var(--navy); border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; color: #C7D2E0; box-shadow: var(--shadow-lg); }
.demo h2 { color: var(--white); margin-bottom: 12px; }
.demo .controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.demo .state { font-family: var(--display); font-weight: 600; color: #A1A1AA; margin-top: 16px; font-size: .9rem; min-height: 1.4em; }
.stage { position: relative; height: 300px; border-radius: 14px; background: linear-gradient(180deg, #D4D4D8 0%, #F4F4F5 55%, #A1A1AA 55%, #71717A 100%); overflow: hidden; perspective: 900px; }
.stage .wall { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; background: #FAFAFA; box-shadow: inset -4px 0 8px rgba(0,0,0,.08); }
.stage .rail { position: absolute; left: 34px; right: 0; height: 6px; background: #27272A; }
.stage .rail.top { top: 16px; } .stage .rail.bottom { bottom: 16px; }
.stage .panel { position: absolute; top: 22px; bottom: 22px; width: calc((100% - 34px) / 6 - 4px); background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.18) 40%, rgba(255,255,255,.4)); border: 2px solid rgba(255,255,255,.95); border-radius: 2px; backdrop-filter: blur(1px); transform-origin: left center; transition: transform 1.1s cubic-bezier(.65,0,.3,1), left 1.1s cubic-bezier(.65,0,.3,1); box-shadow: 0 6px 16px rgba(11,25,48,.18); }
.stage.open .panel { left: 40px !important; transform: rotateY(-74deg) translateX(var(--stack)); }
.stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.08)); pointer-events: none; }
.stage .tag { position: absolute; right: 12px; top: 12px; background: var(--white); color: var(--navy); font-family: var(--display); font-weight: 800; font-size: .75rem; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) { .demo .box { grid-template-columns: 1fr; } .stage { height: 240px; } }

/* Tabs de sistemas */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 32px; }
.chip { font-family: var(--display); font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s; }
.chip[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip:hover { border-color: var(--navy); }
.tabpanel .eyebrow { color: var(--ink-3); }
.tabpanel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: 20px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.tabpanel .media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.tabpanel h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin: 6px 0 12px; }
.tabpanel .points { margin: 18px 0 26px; }
.tabpanel .points li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tabpanel .points svg { flex: none; margin-top: 3px; }
@media (max-width: 900px) { .tabpanel { grid-template-columns: 1fr; } }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pillar { background: var(--white); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.pillar .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 16px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-3); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px !important; counter-reset: s; }
.steps li { counter-increment: s; background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 26px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: inline-block; font-family: var(--display); font-weight: 300; font-size: 2.2rem; color: #A1A1AA; margin-bottom: 10px; }
.steps h3 { color: var(--white); margin-bottom: 6px; }
.steps p { color: #A9B8CC; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.specs > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; transition: transform .25s, box-shadow .25s; }
.specs > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.specs .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.specs dt { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.specs dd { margin: 0; color: var(--ink); font-size: 1.02rem; font-weight: 500; line-height: 1.4; }
.specs dd small { display: block; font-weight: 400; color: var(--ink-3); font-size: .88rem; margin-top: 3px; }
@media (max-width: 720px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .specs { grid-template-columns: 1fr; } }

/* Video destacado */
.feature { position: relative; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; margin-top: 36px; }
.feature video { width: 100%; height: 100%; object-fit: cover; }
.feature .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.05) 60%); color: var(--white); cursor: pointer; transition: opacity .3s; }
.feature .play .btnplay { width: 88px; height: 88px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.feature:hover .btnplay { transform: scale(1.06); }
.feature .play b { position: absolute; left: 28px; bottom: 24px; font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.feature .play span { position: absolute; left: 28px; bottom: 60px; font-size: .9rem; color: #D4D4D8; }
.feature.playing .play { opacity: 0; pointer-events: none; }
/* Videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.vcard { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16/10; cursor: pointer; box-shadow: var(--shadow); }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.05) 60%); color: var(--white); transition: opacity .3s; }
.vcard .play .btnplay { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.vcard:hover .btnplay { transform: scale(1.08); }
.vcard .play b { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.vcard.playing .play { opacity: 0; pointer-events: none; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }

/* Aplicaciones */
.apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 36px; }
.apps a { position: relative; display: block; grid-column: span 2; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r); text-decoration: none; color: var(--white); box-shadow: var(--shadow); }
.apps a:nth-child(4), .apps a:nth-child(5) { grid-column: span 3; aspect-ratio: 16/10; }
.apps img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.apps a:hover img { transform: scale(1.06); }
.apps .cap { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); }
.apps .cap b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.apps .cap span { font-size: .9rem; color: #D6E0EE; }
.apps .cap em { display: inline-block; font-style: normal; font-family: var(--display); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #A1A1AA; margin-bottom: 6px; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr 1fr; } .apps a, .apps a:nth-child(4), .apps a:nth-child(5) { grid-column: span 1; aspect-ratio: 4/5; } }
@media (max-width: 520px) { .apps { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { background: var(--white); border-radius: var(--r); padding: 26px; text-align: center; border: 1px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 300; color: var(--ink); line-height: 1; }
.stats span { font-size: .92rem; color: var(--ink-3); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Proceso */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px !important; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 2px; background: var(--line); }
.process li { counter-increment: p; position: relative; }
.process li::before { content: counter(p); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 600; margin-bottom: 14px; position: relative; border: 4px solid var(--bg); }
.process h3 { font-size: 1rem; margin-bottom: 6px; }
.process p { color: var(--ink-3); font-size: .92rem; margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } .process::before { display: none; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* Galería */
.carousel { position: relative; margin-top: 36px; }
.carousel .track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel a { flex: 0 0 min(72%, 760px); scroll-snap-align: start; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.carousel img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.carousel a:hover img { transform: scale(1.04); }
.carousel a .cap { position: absolute; left: 20px; bottom: 20px; background: rgba(0,0,0,.65); color: var(--white); font-family: var(--display); font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.carousel .arrows { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.carousel .arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.carousel .arrows button:hover { background: var(--ink); color: var(--white); }
@media (max-width: 720px) { .carousel a { flex-basis: 88%; } }
.lightbox { position: fixed; inset: 0; background: rgba(11,25,48,.95); display: none; place-items: center; z-index: 100; padding: 20px; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--white); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--ink); flex: none; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-3); }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.posts article { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.posts article a { text-decoration: none; color: inherit; display: block; }
.posts img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.posts .body { padding: 20px; }
.posts .tag { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.posts h3 { margin: 8px 0; font-size: 1.1rem; }
.posts p { color: var(--ink-3); font-size: .95rem; margin-bottom: 8px; }
.posts time { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: #E4E4E7; color: var(--ink); }
.cta-band h2 { color: var(--ink); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band p { max-width: 52ch; margin: 8px 0 0; color: var(--ink-3); }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.contact-lines { margin-top: 28px; display: grid; gap: 12px; }
.contact-lines div { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; }
.contact-lines small { display: block; font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #A1A1AA; font-weight: 600; }
.contact-lines a { font-size: 1.05rem; text-decoration: none; color: var(--white); font-weight: 600; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--white); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #E7F8EC; color: #14532D; }
.form-msg.err { display: block; background: #FDECEC; color: #7F1D1D; }
.consent { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-3); margin: 0; }

/* Footer */
footer { background: #000000; color: #A1A1AA; padding: 56px 0 28px; font-size: .92rem; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer img { height: 36px; width: auto; margin-bottom: 16px; }
footer a { color: #C7D2E0; text-decoration: none; } footer a:hover { color: var(--white); }
footer li { margin-bottom: 8px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 18px; margin-top: 12px; font-size: .8rem; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.3); animation: pulse 2.4s infinite; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Blog */
.article-head { padding: clamp(40px, 6vw, 72px) 0 32px; background: var(--navy); color: var(--white); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; color: var(--white); }
.article-head .lead { color: #B9C6D8; }
.article-head .meta { color: #9FB0C6; margin-top: 12px; font-size: .92rem; }
.article-head .tag { color: #A1A1AA; }
.article-hero { margin-top: -1px; background: linear-gradient(180deg, var(--navy) 50%, transparent 50%); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.article { max-width: 74ch; padding: 48px 0 72px; font-size: 1.05rem; }
.article h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.article h3 { margin: 1.6em 0 .5em; }
.article ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.article li { margin-bottom: .4em; }
.article blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--ink); background: var(--white); border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 500; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; background: var(--white); border-radius: 12px; overflow: hidden; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--display); font-size: .8rem; background: var(--navy); color: var(--white); }
.article-cta { background: var(--navy); color: #C7D2E0; border-radius: 20px; padding: 28px; margin-top: 48px; }
.article-cta h3 { color: var(--white); margin-bottom: 8px; }
.blog-head { padding: clamp(40px, 6vw, 72px) 0 32px; background: var(--navy); color: var(--white); }
.blog-head h1 { color: var(--white); } .blog-head .lead { color: #B9C6D8; }

/* Páginas interiores */
.page-head { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%); top: -300px; right: -100px; pointer-events: none; }
.page-head h1 { color: var(--white); max-width: 18ch; }
.page-head .lead { color: #B9C6D8; margin-top: 14px; }
.page-head .eyebrow { color: #A1A1AA; }
.nav ul a[aria-current="page"] { color: var(--white); border-bottom: 2px solid var(--white); padding-bottom: 2px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.card-sys { display: block; background: var(--white); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); }
.card-sys img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-sys .body { padding: 24px; }
.card-sys h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.card-sys p { color: var(--ink-3); }
.card-sys .link { font-family: var(--display); font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: 16px; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); font-size: .98rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.compare tbody td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
.compare tbody tr:nth-child(even) td { background: var(--bg); }

.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.app-row.flip > div:first-child { order: 2; }
.app-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.app-row .points { margin: 20px 0 24px; }
.app-row .points li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.app-row .points svg { flex: none; margin-top: 3px; }
.app-row h2 { margin-bottom: 12px; }
@media (max-width: 860px) { .app-row { grid-template-columns: 1fr; } .app-row.flip > div:first-child { order: 0; } }

.masonry { columns: 3; column-gap: 14px; margin-top: 32px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.masonry img { width: 100%; display: block; transition: transform .5s; }
.masonry a:hover img { transform: scale(1.04); }
.masonry .cap { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.65); color: var(--white); font-family: var(--display); font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

.legal-doc { max-width: 80ch; }
.legal-doc h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; margin: 2.2em 0 .6em; }
.legal-doc p, .legal-doc li { font-size: 1rem; color: var(--ink-2); }
.legal-doc .lead { font-size: 1.12rem; }

/* Flotantes: música y WhatsApp */
.floaters { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.floaters .wa-float { position: static; }
.music { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-family: var(--display); font-weight: 600; font-size: .8rem; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.music svg { width: 18px; height: 18px; }
.music[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.music[aria-pressed="true"] svg { animation: floaty 1.6s ease-in-out infinite; }
