/* Pingüino MKT · versión 2: negro, blanco y mucho movimiento con intención. Capturas reales, secciones que se apilan. */
:root { --blue: #0058A1; --blue2: #2a8cff; --cyan: #5fd4ff; --ink: #0b0b0c; --mute: #8d8d92; --mute-l: #5d5d63; --soft: #f4f4f2; --line: rgba(255, 255, 255, .14); --line-l: rgba(0, 0, 0, .12); --ease: cubic-bezier(.2, .7, .2, 1); --gut: max(24px, calc((100vw - 1240px) / 2)); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: #fff; font-family: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; } .skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }
.dark { background: #000; color: #fff; } .light { background: #fff; color: var(--ink); }
section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.sec-r { border-radius: clamp(24px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px) 0 0; margin-top: calc(clamp(24px, 3.4vw, 44px) * -1); z-index: 1; }

/* Progreso y cursor */
.prog { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; } .prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue2), var(--cyan), #ffd36a); transform-origin: 0 0; transform: scaleX(0); }
.cur { position: fixed; left: 0; top: 0; z-index: 80; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: .8rem; font-weight: 600; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) scale(.4); transition: opacity .25s, transform .12s linear; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.cur.is-on { opacity: 1; transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
@media (hover: none) { .cur { display: none; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1.1em 2.1em; border-radius: 999px; border: 0; font-weight: 600; font-size: .78rem; line-height: 1; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; translate: var(--mx, 0) var(--my, 0); transition: background .25s, color .25s, translate .25s var(--ease), box-shadow .3s; }
.btn-w { background: #fff; color: #000; } .btn-w:hover { background: #ececec; box-shadow: 0 10px 40px rgba(255, 255, 255, .18); }
.light .btn-w { background: #000; color: #fff; } .light .btn-w:hover { background: #222; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn-s { padding: .95em 1.5em; }
.link { font-size: .95rem; color: #d6d6d8; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; transition: color .2s, border-color .2s; } .link:hover { color: #fff; border-color: #fff; } .link span { display: inline-block; transition: transform .3s var(--ease); } .link:hover span { transform: translateX(4px); }

/* Encabezado y menú */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 3vw, 36px); transition: background .3s, backdrop-filter .3s; }
.top.is-solid { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; } .brand img { border-radius: 50%; }
.top-r { display: flex; align-items: center; gap: 14px; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; transition: background .2s; } .burger:hover { background: rgba(255, 255, 255, .12); }
.burger i { display: block; width: 18px; height: 1.5px; background: #fff; transition: width .3s var(--ease); } .burger:hover i:last-child { width: 11px; }
.sheet { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 clamp(24px, 8vw, 120px); clip-path: circle(0 at calc(100% - 58px) 36px); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
.sheet.is-open { clip-path: circle(150% at calc(100% - 58px) 36px); visibility: visible; }
.sheet a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(2rem, 6vw, 4.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; color: #fff; transform: translateY(28px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, color .2s, padding .3s var(--ease); } .sheet a small { font-size: .8rem; letter-spacing: .1em; color: var(--mute); font-weight: 400; } .sheet a:hover { color: var(--blue2); padding-left: 10px; }
.sheet.is-open a { transform: none; opacity: 1; } .sheet.is-open a:nth-of-type(1) { transition-delay: .18s; } .sheet.is-open a:nth-of-type(2) { transition-delay: .23s; } .sheet.is-open a:nth-of-type(3) { transition-delay: .28s; } .sheet.is-open a:nth-of-type(4) { transition-delay: .33s; } .sheet.is-open a:nth-of-type(5) { transition-delay: .38s; } .sheet.is-open a:nth-of-type(6) { transition-delay: .43s; } .sheet.is-open a:nth-of-type(7) { transition-delay: .5s; }
.sheet .sheet-wa { margin-top: 26px; font-size: 1.1rem; color: var(--blue2); letter-spacing: 0; }
.sheet-x { position: absolute; top: 14px; right: clamp(16px, 3vw, 36px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; font-size: 1.6rem; cursor: pointer; transition: transform .4s var(--ease); } .sheet-x:hover { transform: rotate(90deg); }

/* Tipografía de sección y entradas */
.kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.head { max-width: 880px; margin-bottom: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.lead { margin-top: 22px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--mute-l); max-width: 640px; } .dark .lead { color: #b3b3b8; }
.note { margin-top: 28px; font-size: .9rem; color: var(--mute); }
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); } .js .rv.in { opacity: 1; transform: none; }
.sp .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js .sp .wi { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); } .js .sp.in .wi { transform: none; }

/* Hero */
.hero { overflow: hidden; padding: clamp(120px, 17vh, 190px) 0 clamp(60px, 8vw, 110px); text-align: center; background: #050507; --gx: 50%; --gy: 20%; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at var(--gx) var(--gy), rgba(42, 140, 255, .28), transparent 70%); }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 16s ease-in-out infinite alternate; } .hero-glow .o1 { width: 38vw; height: 38vw; left: -8vw; top: -10vw; background: #0b4fa8; } .hero-glow .o2 { width: 30vw; height: 30vw; right: -6vw; top: 8vw; background: #7a3cff; opacity: .3; animation-duration: 20s; } .hero-glow .o3 { width: 26vw; height: 26vw; left: 40vw; top: 30vw; background: #ffb43c; opacity: .12; animation-duration: 24s; }
@keyframes drift { to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
.hero-in { position: relative; width: min(940px, 100% - 40px); margin-inline: auto; display: grid; justify-items: center; gap: 26px; }
.hero h1 { font-size: clamp(2.7rem, 8vw, 6.8rem); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.pill-k { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: .55em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #c8c8cd; } .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee66b; box-shadow: 0 0 0 0 rgba(46, 230, 107, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(46, 230, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 107, 0); } }
.hero-sub { max-width: 620px; font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: #c3c3c8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; margin-top: 6px; }
.js [data-hero-i]:not([data-split]) { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); } .js .is-in [data-hero-i] { opacity: 1; transform: none; }
.js .hero .pill-k { transition-delay: .05s; } .js .hero-sub { transition-delay: .55s; } .js .hero .hero-cta { transition-delay: .7s; }
.strip { position: relative; margin-top: clamp(50px, 7vw, 100px); perspective: 1600px; overflow: hidden; padding-bottom: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-rot { transform: rotateX(calc(14deg * (1 - var(--p, 0)))) translateY(calc(24px * (1 - var(--p, 0)))); transform-origin: 50% 0; will-change: transform; }
.strip-in { display: flex; width: max-content; animation: marq 46s linear infinite; } .strip:hover .strip-in { animation-play-state: paused; }
.set { display: flex; gap: clamp(12px, 1.6vw, 20px); padding-right: clamp(12px, 1.6vw, 20px); }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }
.sc { flex: none; width: min(470px, 66vw); border-radius: 13px; overflow: hidden; background: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .1); }
.sc .bar, .dev .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #17171b; } .sc .bar i, .dev .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .sc .bar i:nth-child(2), .dev .bar i:nth-child(2) { background: #ffd24d; } .sc .bar i:nth-child(3), .dev .bar i:nth-child(3) { background: #3ddc84; } .sc .bar span, .dev .bar span { margin-left: 8px; font-size: .72rem; color: #9a9aa3; }
.sc img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 750; object-fit: cover; }

/* Cinta */
.mq { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); position: relative; z-index: 2; background: #000; }
.mq-in { display: flex; width: max-content; animation: marq 40s linear infinite; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; } .mq-in > * { padding-right: .8em; } .mq-in span { color: #fff; } .mq-in span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .6); } .mq-in b { color: var(--blue2); font-weight: 400; }
.mq-in .mq-g { display: flex; }

/* Medidores */
.stats { padding-bottom: clamp(100px, 12vw, 170px); }
.gauges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } @media (min-width: 820px) { .gauges { grid-template-columns: repeat(4, 1fr); } }
.gg { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; }
.gg svg { width: min(160px, 100%); aspect-ratio: 1; transform: rotate(-90deg); overflow: visible; } .g-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 7; } .g-fg { fill: none; stroke: #2ee66b; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.8s var(--ease); filter: drop-shadow(0 0 8px rgba(46, 230, 107, .5)); } .gg.mid .g-fg { stroke: #ffc24a; filter: drop-shadow(0 0 8px rgba(255, 194, 74, .5)); }
.gg b { position: absolute; top: 0; left: 50%; width: min(160px, 100%); aspect-ratio: 1; transform: translateX(-50%); display: grid; place-items: center; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; } .gg span { color: #b3b3b8; font-size: .95rem; }

/* Trabajos */
.work { background: #fff; padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; } .head-row .head { margin-bottom: clamp(28px, 4vw, 48px); flex: 1 1 520px; }
.rail-ctl { display: flex; align-items: center; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); } .rail-n { font-size: 1rem; color: var(--mute-l); font-variant-numeric: tabular-nums; } .rail-n b { font-size: 1.8rem; font-weight: 500; color: #000; letter-spacing: -.03em; }
.rail-btns { display: flex; gap: 10px; } .rail-btns button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid #000; background: #fff; color: #000; font-size: 1.2rem; cursor: pointer; transition: background .25s, color .25s, transform .35s var(--ease); } .rail-btns button:hover { background: #000; color: #fff; transform: scale(1.07); }
.rail { position: relative; display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 20px var(--gut) 40px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; outline-offset: -4px; } .rail::-webkit-scrollbar { display: none; } .rail.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; } .rail.drag * { pointer-events: none; }
.case { flex: 0 0 min(86vw, 820px); scroll-snap-align: start; display: grid; gap: 22px; align-content: start; opacity: .38; transform: scale(.94); transform-origin: 50% 0; filter: saturate(.6); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s; } .case.is-active { opacity: 1; transform: none; filter: none; }
.dev { display: block; width: 100%; padding: 0; border: 0; text-align: left; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .16), 0 0 0 1px var(--line-l); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease), box-shadow .5s; cursor: inherit; }
.dev .bar { background: #eeeef0; } .dev .bar span { color: #6b6b72; }
.dev-shot { position: relative; aspect-ratio: 1200 / 750; overflow: hidden; background: #ddd; } .dev-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s var(--ease); } .case.is-active .dev:hover img { transform: scale(1.05); }
.dev-badge { position: absolute; top: 14px; left: 14px; padding: .35em .85em; border-radius: 99px; background: #fff; color: #000; font-size: .72rem; font-weight: 600; letter-spacing: .04em; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); } .dev-badge.is-p { background: #000; color: #fff; }
.case-info { display: grid; gap: 10px; padding-inline: 6px; } .case-kind { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-l); }
.case-info h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; } .case-info p { color: var(--mute-l); max-width: 56ch; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; } .case-tags span { padding: .3em .9em; border: 1px solid var(--line-l); border-radius: 99px; font-size: .8rem; color: #3d3d42; }
.case-link { width: fit-content; font-size: .95rem; font-weight: 500; border-bottom: 1px solid #000; padding-bottom: 2px; }
.rail-prog { height: 3px; border-radius: 2px; background: #e6e6e3; overflow: hidden; } .rail-prog span { display: block; height: 100%; background: #000; transform-origin: 0 0; transform: scaleX(.1); transition: transform .3s; }

/* Qué incluye */
.fcards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fcards { grid-template-columns: repeat(2, 1fr); } .fc-2 { grid-column: 1 / -1; } } @media (min-width: 1040px) { .fcards { grid-template-columns: repeat(3, 1fr); } .fc-2 { grid-column: span 2; } }
.fc { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 2.6vw, 34px); border-radius: 26px; background: #121214; border: 1px solid var(--line); min-height: 420px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, opacity 1s var(--ease); } .fc:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .3); }
.fc.fc-l { background: #f1f1ee; color: var(--ink); border-color: transparent; }
.fx h3 { font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; } .fx p { color: #a9a9af; max-width: 46ch; } .fc-l .fx p { color: var(--mute-l); }
.fv { flex: 1; min-height: 190px; display: grid; place-items: center; position: relative; }
.fv-code { place-items: center start; align-content: center; gap: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(.8rem, 1.3vw, 1rem); color: #cfd6e6; } .fv-code i { display: block; width: 0; overflow: hidden; white-space: nowrap; font-style: normal; } .fv-code s { text-decoration: none; color: #7aa7ff; } .fv-code u { text-decoration: none; color: #ffb86b; } .fv-code em { font-style: normal; color: #7be28f; } .fv-code .d { color: #5d6270; }
.fc.in .fv-code i { animation: typ 1.3s steps(var(--n), end) var(--d) forwards; } .fv-code::after { content: ""; width: .6em; height: 1.1em; background: var(--blue2); animation: blink 1s steps(2) infinite; } @keyframes typ { to { width: calc(var(--n) * 1ch); } } @keyframes blink { 50% { opacity: 0; } }
.ph { width: 128px; height: 236px; border: 5px solid #16161b; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .22); } .ph-in { display: grid; gap: 9px; padding: 12px; animation: phs 8s ease-in-out infinite alternate; } @keyframes phs { to { transform: translateY(-120px); } }
.ph-in b { height: 78px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue2)); } .ph-in i { height: 9px; border-radius: 5px; background: #d9d9d3; } .ph-in i.s { width: 60%; } .ph-in em { font-style: normal; text-align: center; font-size: .7rem; font-weight: 600; padding: 8px; border-radius: 99px; background: #25d366; color: #06260f; } .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .g2 u { height: 54px; border-radius: 8px; background: #ececE6; }
.fv-ring svg { width: 150px; transform: rotate(-90deg); } .fc.in .fv-ring .g-fg { stroke-dashoffset: 0; } .fv-ring b { position: absolute; font-size: 2.8rem; font-weight: 500; letter-spacing: -.04em; color: #2ee66b; }
.fv-search { align-content: center; justify-items: stretch; gap: 14px; width: 100%; } .sq { padding: 12px 18px; border-radius: 99px; background: #fff; border: 1px solid #ddd; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); } .sq span { display: block; width: 0; overflow: hidden; white-space: nowrap; font-size: .95rem; color: #444; } .fc.in .sq span { animation: typ 1.5s steps(21, end) .3s forwards; --n: 21; }
.sr { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #e3e3df; opacity: 0; transform: translateY(14px); } .fc.in .sr { animation: up .8s var(--ease) 1.9s forwards; } @keyframes up { to { opacity: 1; transform: none; } }
.sr small { color: #5d5d63; font-size: .78rem; } .sr b { color: #1a0dab; font-size: 1.1rem; font-weight: 500; } .sr em { font-style: normal; color: #f5a623; font-size: .9rem; } .sr em u { text-decoration: none; color: #1a8f45; margin-left: 8px; font-weight: 500; } .sr i { height: 8px; width: 80%; border-radius: 4px; background: #e2e2dd; }
.fv-chat { align-content: center; justify-items: start; gap: 12px; width: 100%; } .fv-chat span { max-width: 78%; padding: 12px 18px; border-radius: 20px; font-size: .95rem; font-weight: 500; opacity: 0; transform: translateY(14px) scale(.95); } .fv-chat .b1 { background: #26262b; border-bottom-left-radius: 5px; } .fv-chat .b2 { background: #25d366; color: #06260f; justify-self: end; border-bottom-right-radius: 5px; } .fv-chat .b3 { background: #26262b; border-bottom-left-radius: 5px; }
.fc.in .fv-chat span { animation: up .6s var(--ease) forwards; } .fc.in .b1 { animation-delay: .4s; } .fc.in .b2 { animation-delay: 1.6s; } .fc.in .b3 { animation-delay: 2.8s; }
.fv-dom { gap: 14px; align-content: center; } .fv-dom span { position: relative; overflow: hidden; display: inline-flex; gap: 10px; align-items: center; padding: 16px 26px; border-radius: 99px; background: #fff; border: 1px solid #ddd; font-size: 1.15rem; color: #111; box-shadow: 0 12px 34px rgba(0, 0, 0, .08); } .fv-dom span i { font-style: normal; } .fv-dom span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(42, 140, 255, .22) 50%, transparent 70%); transform: translateX(-120%); } .fc.in .fv-dom span::after { animation: sweep 3.6s var(--ease) 1s infinite; } @keyframes sweep { 60%, 100% { transform: translateX(120%); } } .fv-dom small { color: var(--mute-l); font-size: .9rem; }

/* Comparador */
.medida { background: var(--soft); }
.cmp { position: relative; max-width: 1040px; margin-inline: auto; aspect-ratio: 1200 / 750; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .2), 0 0 0 1px var(--line-l); container-type: inline-size; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.cmp-pane { position: absolute; inset: 0; } .cmp-b img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-a { clip-path: inset(0 calc(100% - var(--x)) 0 0); background: #f1f1f1; }
.cmp-tag { position: absolute; bottom: 14px; padding: .45em 1em; border-radius: 99px; font-size: .78rem; font-weight: 600; z-index: 4; } .cmp-tag-l { left: 14px; background: #4a4a4a; color: #fff; } .cmp-tag-r { right: 14px; background: #fff; color: #000; }
.cmp-handle { position: absolute; z-index: 6; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); touch-action: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); display: grid; place-items: center; color: #000; font-size: 1.1rem; } .cmp-handle span::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ring 2.4s ease-out infinite; } @keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.m-a { height: 100%; display: grid; grid-template-rows: auto 1fr auto auto; font-family: Arial, Helvetica, sans-serif; color: #444; background: #f1f1f1; }
.m-a-nav { display: flex; gap: 3cqw; align-items: center; padding: 1.5cqw 3cqw; background: #666; color: #fff; font-size: 1.4cqw; } .m-a-nav b { margin-right: auto; font-size: 1.9cqw; } .m-a-nav i { font-style: normal; }
.m-a-hero { display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.1cqw; padding: 3cqw 10cqw; background: #bdbdbd; }
.m-a-h { font-size: 4.2cqw; font-weight: 700; color: #333; letter-spacing: 0; } .m-a-s { font-size: 2cqw; font-weight: 700; color: #444; } .m-a-p { font-size: 1.45cqw; color: #555; max-width: 60cqw; line-height: 1.4; } .m-a-hero span { padding: .9cqw 2.6cqw; background: #4a78c2; color: #fff; font-size: 1.5cqw; border-radius: .4cqw; }
.m-a-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 2cqw 3cqw; } .m-a-row i { display: grid; gap: .3cqw; justify-items: center; text-align: center; padding: 1.6cqw 1cqw; background: #fff; border: 1px solid #d0d0d0; font-style: normal; font-size: 1.4cqw; color: #555; } .m-a-row u { width: 3cqw; height: 3cqw; border-radius: 50%; background: #c9c9c9; } .m-a-row b { font-size: 1.5cqw; color: #333; }
.m-a-foot { padding: 1.2cqw; text-align: center; font-size: 1.2cqw; background: #666; color: #ddd; }
@container (max-width: 560px) { .m-a-nav i, .m-a-p { display: none; } .cmp-tag { font-size: .6rem; padding: .35em .75em; bottom: 8px; } .cmp-tag-l { left: 8px; } .cmp-tag-r { right: 8px; } }
.when { display: grid; gap: 16px; max-width: 1040px; margin: clamp(28px, 4vw, 48px) auto 0; } @media (min-width: 760px) { .when { grid-template-columns: 1fr 1fr; } }
.when-c { padding: clamp(24px, 2.8vw, 34px); border-radius: 22px; background: #fff; border: 1px solid var(--line-l); display: grid; gap: 12px; align-content: start; } .when-c.hot { background: #000; color: #fff; border-color: #000; }
.when-c h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; } .when-c li { padding-left: 1.3em; position: relative; font-size: .97rem; color: var(--mute-l); margin-bottom: 6px; } .when-c.hot li { color: #c9c9ce; } .when-c li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: #aaa; } .when-c.hot li::before { background: var(--blue2); }

/* Proceso: línea que se dibuja al bajar */
.steps { position: relative; display: grid; padding-left: 38px; --prog: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; } .steps::before { background: var(--line); } .steps::after { background: linear-gradient(var(--blue2), var(--cyan)); transform-origin: 0 0; transform: scaleY(var(--prog)); box-shadow: 0 0 14px rgba(42, 140, 255, .7); }
.steps li { position: relative; display: grid; gap: 10px; padding-bottom: 44px; opacity: .3; transition: opacity .7s var(--ease); } .steps li.on { opacity: 1; }
.steps li::before { content: ""; position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #000; border: 2px solid #4a4a52; transition: background .4s, border-color .4s, box-shadow .4s; } .steps li.on::before { background: var(--blue2); border-color: var(--blue2); box-shadow: 0 0 0 6px rgba(42, 140, 255, .22); }
.steps b { font-size: .9rem; font-weight: 500; color: var(--blue2); letter-spacing: .1em; } .steps h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; } .steps p { color: #a9a9af; max-width: 34ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 46px 0 0; } .steps::before, .steps::after { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; } .steps::after { transform: scaleX(var(--prog)); } .steps li { padding-bottom: 0; } .steps li::before { left: 0; top: -46px; } }

/* Paquetes y cotizador */
.types { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 900px) { .types { grid-template-columns: repeat(3, 1fr); } }
.type { text-align: left; cursor: pointer; display: grid; gap: 12px; align-content: start; padding: 30px; border-radius: 24px; background: #fff; border: 1.5px solid var(--line-l); transition: border-color .25s, transform .4s var(--ease), box-shadow .4s, background .3s, opacity .9s var(--ease); position: relative; }
.js .type { opacity: 0; transform: translateY(30px); } .js .type.in { opacity: 1; transform: none; } .type.in:hover { transform: translateY(-5px); } .type[aria-pressed="true"] { border-color: #000; box-shadow: 0 0 0 1px #000, 0 26px 50px rgba(0, 0, 0, .12); background: #fafaf8; }
.type h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; } .type .pr { font-size: 2.5rem; font-weight: 500; letter-spacing: -.045em; line-height: 1; } .type .pr small { font-size: .9rem; color: var(--mute-l); letter-spacing: 0; font-weight: 400; } .type .dy { font-size: .9rem; color: var(--mute-l); } .type .wt { color: #3d3d42; font-size: .98rem; }
.type li { padding-left: 1.4em; position: relative; font-size: .94rem; color: #3d3d42; margin-top: 6px; } .type li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.type .hot { position: absolute; top: 20px; right: 20px; padding: .3em .85em; border-radius: 99px; background: #000; color: #fff; font-size: .72rem; font-weight: 600; }
.type::after { content: "Elegido"; position: absolute; right: 20px; bottom: 20px; padding: .3em .85em; border-radius: 99px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); } .type[aria-pressed="true"]::after { opacity: 1; transform: none; }
.extras { margin-top: 36px; display: grid; gap: 16px; } .extras-t { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-l); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; } .chip { font-size: .95rem; padding: .72em 1.25em; border-radius: 99px; border: 1.5px solid var(--line-l); background: #fff; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); } .chip:hover { border-color: #000; transform: translateY(-2px); } .chip[aria-pressed="true"] { background: #000; border-color: #000; color: #fff; transform: scale(1.03); }
.opt { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: #3d3d42; cursor: pointer; } .opt input { margin-top: .3em; width: 18px; height: 18px; accent-color: #000; }
.total { margin-top: 42px; display: grid; gap: 24px; align-items: center; padding: clamp(26px, 3.2vw, 40px); border-radius: 26px; background: #000; color: #fff; position: relative; overflow: hidden; } .total::before { content: ""; position: absolute; right: -10%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(42, 140, 255, .35), transparent); pointer-events: none; }
@media (min-width: 760px) { .total { grid-template-columns: 1fr auto; } }
.light .total .btn-w { background: #fff; color: #000; position: relative; } .light .total .btn-w:hover { background: #e6e6e6; }
.total-l { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); } .total-n { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; font-variant-numeric: tabular-nums; } .total-d { color: #b3b3b8; font-size: .95rem; }

/* Preguntas */
.faq { background: #fff; padding-bottom: clamp(100px, 12vw, 170px); }
.faq-in { display: grid; gap: 36px; } @media (min-width: 900px) { .faq-in { grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; } .faq .head { margin-bottom: 0; position: sticky; top: 110px; } }
.qa { border-top: 1px solid var(--line-l); } .qa:last-child { border-bottom: 1px solid var(--line-l); }
.qa > button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; transition: padding .3s var(--ease); } .qa > button:hover { padding-left: 8px; }
.qa > button i { flex: none; position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #000; transition: background .3s, transform .4s var(--ease); } .qa > button i::before, .qa > button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: #000; transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; } .qa > button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.open > button i { background: #000; transform: rotate(180deg); } .qa.open > button i::before, .qa.open > button i::after { background: #fff; } .qa.open > button i::after { transform: translate(-50%, -50%) rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); } .qa.open .qa-a { grid-template-rows: 1fr; } .qa-a > div { overflow: hidden; } .qa-a p { padding: 0 60px 28px 0; color: var(--mute-l); max-width: 62ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s .1s, transform .5s .1s var(--ease); } .qa.open .qa-a p { opacity: 1; transform: none; }

/* Cierre */
.end { overflow: hidden; text-align: center; padding-bottom: 0; background: #050507; }
.end-glow { position: absolute; left: 50%; bottom: -10%; width: 130%; height: 80%; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 80%, rgba(42, 140, 255, .42), transparent 70%); pointer-events: none; animation: breathe 6s ease-in-out infinite alternate; } @keyframes breathe { to { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.end-big { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font-size: clamp(5rem, 22vw, 20rem); font-weight: 600; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); white-space: nowrap; pointer-events: none; user-select: none; }
.end-in { position: relative; display: grid; justify-items: center; gap: 24px; } .end-in h2 { max-width: 15ch; font-size: clamp(2.4rem, 6.4vw, 5.2rem); }
.end-pg { position: relative; width: min(1100px, 132vw); margin: clamp(-10px, 1vw, 20px) auto -3%; transform: translate3d(0, var(--fy, 0px), 0); } .end-pg img { width: 100%; max-width: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); animation: bob 7s ease-in-out infinite; } @keyframes bob { 50% { transform: translateY(-16px) rotate(-1.2deg); } }

/* Pie */
.foot { padding: 60px 0 28px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.foot-in { display: grid; gap: 28px; align-items: start; } @media (min-width: 800px) { .foot-in { grid-template-columns: 1.2fr 1.4fr 1fr; } }
.foot p { color: #a9a9af; font-size: .95rem; } .foot-nav { display: grid; gap: 6px; font-size: .95rem; } .foot-nav a { color: #d6d6d8; } .foot-nav a:hover { color: #fff; } .foot-nav span { color: var(--mute); }
.legal { width: min(1240px, 100% - 48px); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mute); }

/* Visor */
.lb { border: 0; padding: 0; background: transparent; color: #fff; max-width: min(1100px, 94vw); width: 100%; overflow: visible; } .lb::backdrop { background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } .lb[open] { animation: pop .5s var(--ease); } @keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.lb figure { margin: 0; display: grid; gap: 16px; } .lb img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb figcaption { display: grid; gap: 8px; justify-items: start; } .lb h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; } .lb p { color: #c0c0c5; max-width: 60ch; }
.lb-x { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-nav { position: absolute; top: 38%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #000; font-size: 1.1rem; cursor: pointer; } .lb-prev { left: -14px; } .lb-next { right: -14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js [data-hero-i], .js .type { opacity: 1 !important; transform: none !important; } .js .sp .wi { transform: none; } .strip-rot { transform: none; } .fv-code i { width: calc(var(--n) * 1ch); } .sq span { width: auto; } .sr, .fv-chat span { opacity: 1; transform: none; } .g-fg { stroke-dashoffset: 0; } .steps li { opacity: 1; }
}
@media (max-width: 600px) { .top-cta { display: none; } .fc { min-height: 380px; } .case { flex-basis: 84vw; } }

/* =============================================================
   Descuento navideño (se muestra solo mientras está activo)
   ============================================================= */
.promo-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: .6em 1.2em; border-radius: 999px; background: linear-gradient(120deg, rgba(255, 70, 70, .22), rgba(255, 180, 60, .2)); border: 1px solid rgba(255, 150, 90, .55); color: #ffe9d8; font-size: .9rem; transition: transform .35s var(--ease), border-color .3s; }
.promo-pill b { padding: .15em .6em; border-radius: 999px; background: #ff4d4d; color: #fff; font-weight: 600; letter-spacing: -.01em; }
.promo-pill[hidden], .promo[hidden], .total-old[hidden], .total-tag[hidden], .total-note[hidden] { display: none !important; }
@media (hover: hover) { .promo-pill:hover { transform: translateY(-2px); border-color: #ffb48a; } }
.promo { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 26px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(120deg, #1a0b0b, #2a1409); border: 1px solid rgba(255, 140, 80, .5); color: #fff; max-width: 760px; }
.promo b { grid-row: span 2; padding: .35em .8em; border-radius: 12px; background: #ff4d4d; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.promo span { font-size: 1.02rem; font-weight: 500; } .promo small { grid-column: 2; color: #d9bfae; font-size: .82rem; line-height: 1.45; }
.total-old { color: #8d8d95; font-size: 1.1rem; text-decoration: line-through; text-decoration-thickness: 2px; margin-bottom: -4px; font-variant-numeric: tabular-nums; }
.total-tag { display: inline-flex; width: fit-content; margin-top: 4px; padding: .3em .85em; border-radius: 999px; background: #ff4d4d; color: #fff; font-size: .82rem; font-weight: 500; }
.total-note { margin-top: 8px; max-width: 520px; color: #ffcf9f; font-size: .85rem; line-height: 1.45; }

/* Comparador: la «plantilla genérica» ahora parece una plantilla barata de verdad (morado básico, Arial, todo centrado), no un esqueleto gris */
.m-a { background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; }
.m-a-nav { background: #fff; color: #4b4b5a; border-bottom: 1px solid #e3e3ea; padding: 1.3cqw 3cqw; gap: 2.4cqw; font-size: 1.35cqw; }
.m-a-nav b { color: #6f42c1; font-size: 2cqw; letter-spacing: 0; }
.m-a-nav em { font-style: normal; background: #6f42c1; color: #fff; padding: .75cqw 1.8cqw; border-radius: .3cqw; font-size: 1.3cqw; }
.m-a-hero { background: linear-gradient(135deg, #7a4fcf, #4b2a96); padding: 3.4cqw 9cqw; gap: 1.2cqw; }
.m-a-h { color: #fff; font-size: 4.8cqw; font-weight: 700; text-shadow: 0 .25cqw .6cqw rgba(0, 0, 0, .35); }
.m-a-s { color: #fff; font-size: 2cqw; font-weight: 700; }
.m-a-p { color: #e8defa; font-size: 1.45cqw; line-height: 1.45; }
.m-a-btns { display: flex; gap: 1.4cqw; margin-top: .6cqw; }
.m-a-btns span { padding: 1cqw 2.4cqw; background: #fff; color: #4b2a96; border-radius: .3cqw; font-size: 1.45cqw; font-weight: 700; }
.m-a-btns span.o { background: transparent; color: #fff; border: .15cqw solid #fff; }
.m-a-row { background: #f6f4fb; }
.m-a-row i { background: #fff; border: 1px solid #ddd; border-top: .4cqw solid #7a4fcf; box-shadow: 0 .2cqw .6cqw rgba(0, 0, 0, .08); color: #555; }
.m-a-row u { background: #7a4fcf; }
.m-a-row b { color: #4b2a96; }
.m-a-foot { background: #2f2a45; color: #cfc8e6; }
@container (max-width: 560px) { .m-a-nav em { display: none; } .m-a-btns span { padding: 1.2cqw 2.4cqw; } }
