/* ==========================================================
   Santi con la Pipol — mini landing personal
   Paleta tomada del material original (PDF)
   ========================================================== */

:root {
  --navy: #14213D;
  --navy-2: #1C2C52;
  --blue: #3A69D5;
  --blue-hi: #4F7DF0;
  --pastel: #DCE8FF;
  --pastel-2: #B6CDEF;
  --photo-bg: #E5E6E8;
  --paper: #F5F4F0;
  --ink: #141A2B;
  --muted: #5B6478;
  --white: #FFFFFF;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 28px;
  --gutter: clamp(18px, 5.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 99px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transform: translateY(-150%); transition: transform .2s;
}
.skip:focus { transform: none; }

:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 12px; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy); color: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path .75s var(--ease-out);
}
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro.is-gone { display: none; }
.intro__words { position: relative; height: 1.2em; font-size: clamp(2.2rem, 11vw, 4.5rem); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.intro__words span {
  position: absolute; left: 50%; top: 0; white-space: nowrap;
  transform: translate(-50%, 40%); opacity: 0;
  animation: introWord .42s var(--ease-out) both;
}
.intro__words span:nth-child(1) { animation-delay: .05s; }
.intro__words span:nth-child(2) { animation-delay: .38s; }
.intro__words span:nth-child(3) { animation-delay: .71s; color: var(--pastel-2); animation-name: introWordLast; animation-fill-mode: both; }
@keyframes introWord {
  0% { transform: translate(-50%, 40%); opacity: 0; }
  35%, 70% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, -40%); opacity: 0; }
}
@keyframes introWordLast {
  from { transform: translate(-50%, 40%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
.intro__star {
  position: absolute; width: 34px; height: 34px; color: var(--blue-hi);
  bottom: 18%; left: 50%; margin-left: -17px;
  animation: spin 1.4s linear infinite;
}

/* ---------- Layout ---------- */
.page { position: relative; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(env(safe-area-inset-top) + 18px) var(--gutter) 84px;
  background: linear-gradient(180deg, var(--photo-bg) 0%, var(--photo-bg) 42%, #CFDCF3 70%, var(--pastel-2) 100%);
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
}
.hero__photo {
  position: absolute; inset: 0 0 auto 0; height: 76%; z-index: -1;
  will-change: transform;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 98%);
          mask-image: linear-gradient(180deg, #000 58%, transparent 98%);
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease-out);
}
.js .hero:not(.is-live) .hero__photo img { transform: scale(1.18); filter: blur(6px) saturate(.6); }

.hero__top {
  position: absolute; top: calc(env(safe-area-inset-top) + 18px); left: var(--gutter); right: var(--gutter);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.hero__kicker {
  font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--navy);
}
.rec {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(20, 33, 61, .88); color: #fff;
  padding: 5px 11px 5px 9px; border-radius: 99px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
  backdrop-filter: blur(6px);
}
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF4B4B; animation: blink 1.1s steps(2, start) infinite; }
.rec b { font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .06em; opacity: .8; }
@keyframes blink { to { visibility: hidden; } }

.badge {
  position: absolute; right: var(--gutter); top: calc(env(safe-area-inset-top) + 100px);
  width: clamp(86px, 24cqi, 128px); height: auto;
}
.badge__bg { fill: var(--blue); }
.badge text { font-size: 11.2px; font-weight: 700; letter-spacing: .21em; fill: #fff; }
.badge__ring { transform-origin: 60px 60px; animation: spin 14s linear infinite; }
.badge__star { color: #fff; transform-origin: 60px 60px; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.78); } }

.spark { position: absolute; color: #fff; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.spark--1 { width: 26px; height: 26px; top: 30%; left: 12%; }
.spark--2 { width: 14px; height: 14px; top: 24%; left: 22%; animation-delay: .8s; }
.spark--3 { width: 18px; height: 18px; top: 47%; right: 14%; animation-delay: 1.6s; color: var(--blue); }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }

.hero__content { position: relative; will-change: transform; }

.title {
  font-weight: 800; text-transform: uppercase; line-height: .84; letter-spacing: -.035em;
  color: var(--navy);
  font-size: 27vw; font-size: 27cqi;
}
.title__line { display: block; }
.title__line--con { font-size: .5em; letter-spacing: -.02em; margin: .08em 0 .06em; }
.title__line--pipol { color: var(--blue); }

/* letras animadas */
.title .ch { display: inline-block; transform-origin: 50% 100%; }
.js .hero:not(.is-live) .title .ch { transform: translateY(105%) rotate(8deg); opacity: 0; }
.js .hero.is-live .title .ch {
  transition: transform .9s var(--ease-out), opacity .5s;
  transition-delay: calc(var(--i) * 45ms);
}
.title .ch:hover { animation: jelly .6s var(--ease-spring); }
@keyframes jelly { 30% { transform: scaleY(.82) scaleX(1.12); } 60% { transform: scaleY(1.1) scaleX(.94) translateY(-6%); } }

.hero__quote {
  margin-top: 18px;
  font-style: italic; font-size: clamp(1.05rem, 4.9vw, 1.45rem); color: var(--navy);
  line-height: 1.3;
}
.hero__meta {
  margin-top: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
}
.hero__meta a { text-decoration: none; border-bottom: 1.5px solid currentColor; }
.hero__meta a:hover { color: var(--blue); }

.js .hero:not(.is-live) :is(.hero__quote, .hero__meta, .hero__top, .badge, .scroll-cue) { opacity: 0; transform: translateY(14px); }
.js .hero.is-live :is(.hero__quote, .hero__meta, .hero__top, .badge, .scroll-cue) { transition: opacity .8s .55s, transform .9s .55s var(--ease-out); }
.js .hero.is-live .hero__top { transition-delay: .2s; }
.js .hero.is-live .badge { transition-delay: .35s; }

.scroll-cue {
  position: absolute; bottom: calc(env(safe-area-inset-bottom) + 18px); left: 50%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--navy);
  padding: 6px 10px;
}
.scroll-cue i { width: 2px; height: 30px; background: linear-gradient(var(--navy) 50%, transparent 50%); background-size: 100% 200%; animation: drip 1.6s ease-in-out infinite; border-radius: 2px; }
@keyframes drip { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* chispas al tocar */
.burst { position: absolute; width: 16px; height: 16px; color: var(--blue); pointer-events: none; z-index: 5; }

/* ---------- Comunes ---------- */
.content > section { padding: 76px var(--gutter); }
.label {
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.label--light { color: var(--pastel-2); }
.h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; color: var(--navy); }
.dot { color: var(--blue); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Bio ---------- */
.bio { position: relative; }
.bio__title { font-size: clamp(3.4rem, 19vw, 5.6rem); font-weight: 800; line-height: .9; letter-spacing: -.045em; color: var(--navy); }
.bio__text { margin-top: 22px; display: grid; gap: 14px; }
.bio__text > span { display: block; font-size: clamp(1.12rem, 5vw, 1.35rem); line-height: 1.45; color: var(--muted); }
.bio__text > span:first-child { color: var(--ink); font-weight: 500; font-size: clamp(1.3rem, 6vw, 1.6rem); line-height: 1.3; letter-spacing: -.01em; }
.bio__text mark {
  color: inherit; padding: 0 .12em; margin: 0 -.06em;
  background: linear-gradient(transparent 58%, var(--pastel-2) 58%) no-repeat 0 0 / 0% 100%;
  transition: background-size .9s var(--ease-out);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.reveal.is-in mark, .no-js mark { background-size: 100% 100%; }
.reveal.is-in mark:nth-of-type(2) { transition-delay: .25s; }
.reveal.is-in mark:nth-of-type(3) { transition-delay: .5s; }

/* Mazo de fotos */
.deck { margin-top: 44px; }
.deck__stage {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.6;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: var(--radius);
}
.deck__card {
  position: absolute; inset: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--navy);
  box-shadow: 0 18px 40px -18px rgba(20, 33, 61, .45);
  border: 6px solid #fff;
  transition: transform .6s var(--ease-out), opacity .4s, box-shadow .4s;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck__card[data-pos="0"] { --rot: -2deg; z-index: 4; }
.deck__card[data-pos="1"] { --rot: 4deg; --tx: 10px; --ty: -6px; --sc: .97; z-index: 3; }
.deck__card[data-pos="2"] { --rot: -6deg; --tx: -8px; --ty: -10px; --sc: .94; z-index: 2; }
.deck__card[data-pos="3"] { --rot: 8deg; --tx: 4px; --ty: -14px; --sc: .91; z-index: 1; }
.deck__card.is-flying { transition: transform .45s cubic-bezier(.5, 0, .75, 0), opacity .45s; opacity: 0; z-index: 5; }
.deck__card.is-dragging { transition: none; }
.deck__stage:active .deck__card[data-pos="0"]:not(.is-dragging) { --sc: .98; }
@media (hover: hover) {
  .deck__stage:hover .deck__card[data-pos="1"] { --tx: 26px; --rot: 7deg; }
  .deck__stage:hover .deck__card[data-pos="2"] { --tx: -24px; --rot: -9deg; }
}
.deck__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.deck__caption {
  background: var(--pastel); color: var(--navy); font-weight: 600; font-size: 14px;
  padding: 8px 16px; border-radius: 99px;
  transition: transform .4s var(--ease-spring);
}
.deck__caption.is-pop { animation: pop .45s var(--ease-spring); }
@keyframes pop { 40% { transform: scale(1.12) rotate(-3deg); } }
.deck__count { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--muted); font-variant-numeric: tabular-nums; }
.deck__hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.deck__hint svg { width: 14px; height: 14px; color: var(--blue); animation: spin 6s linear infinite; }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-mouse { display: inline; } .hint-touch { display: none; } }

/* ---------- Cinta ---------- */
.tape { position: relative; height: 150px; overflow: hidden; margin: 6px 0; }
.tape__band {
  position: absolute; left: -10%; width: 120%; padding: 14px 0;
  font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: 22px; white-space: nowrap;
}
.tape__band--blue { top: 28px; background: var(--blue); color: #fff; transform: rotate(-4deg); z-index: 2; box-shadow: 0 10px 24px -12px rgba(58, 105, 213, .6); }
.tape__band--navy { top: 80px; background: var(--navy); color: var(--pastel-2); transform: rotate(3deg); }
.tape__track { display: flex; width: max-content; animation: marquee 18s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 22s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Redes ---------- */
.social__grid { display: grid; gap: 14px; margin-top: 30px; }
.sc {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px;
  min-height: 96px; padding: 18px 18px 18px 18px;
  border-radius: var(--radius); text-decoration: none;
  transition: transform .35s var(--ease-spring), box-shadow .35s;
  isolation: isolate;
}
.sc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(220px circle at var(--x) var(--y), var(--spot), transparent 70%);
  transition: opacity .3s;
}
.sc:hover::before, .sc.is-touch::before { opacity: 1; }
.sc:active { transform: scale(.97); }
@media (hover: hover) { .sc:hover { transform: translateY(-3px) rotate(-.6deg); } }

.sc--ig { background: #fff; color: var(--navy); --spot: rgba(58, 105, 213, .16); box-shadow: 0 1px 0 rgba(20, 33, 61, .06), 0 18px 34px -24px rgba(20, 33, 61, .5); }
.sc--tt { background: var(--navy); color: #fff; --spot: rgba(182, 205, 239, .18); box-shadow: 0 18px 34px -20px rgba(20, 33, 61, .8); }

.sc__icon { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; transition: transform .5s var(--ease-spring); }
.sc__icon svg { width: 30px; height: 30px; }
.sc__icon--ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.sc__icon--tt { background: #000; box-shadow: -3px -3px 0 #25F4EE, 3px 3px 0 #FE2C55; }
.sc:hover .sc__icon, .sc:focus-visible .sc__icon { transform: rotate(-10deg) scale(1.08); }

.sc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sc__net { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .6; }
.sc__handle { position: relative; font-size: clamp(1.1rem, 5.4vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sc--tt .sc__handle::before, .sc--tt .sc__handle::after {
  content: attr(data-glitch); position: absolute; inset: 0; opacity: 0; pointer-events: none;
}
.sc--tt .sc__handle::before { color: #25F4EE; }
.sc--tt .sc__handle::after { color: #FE2C55; }
.sc--tt:hover .sc__handle::before, .sc--tt.is-touch .sc__handle::before { opacity: .8; animation: glitchA .5s steps(2) 2; }
.sc--tt:hover .sc__handle::after, .sc--tt.is-touch .sc__handle::after { opacity: .8; animation: glitchB .5s steps(2) 2; }
@keyframes glitchA { 0% { transform: translate(-2px, 1px); } 50% { transform: translate(2px, -1px); } 100% { transform: translate(0); opacity: 0; } }
@keyframes glitchB { 0% { transform: translate(2px, -1px); } 50% { transform: translate(-2px, 1px); } 100% { transform: translate(0); opacity: 0; } }

.sc__go {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pastel); color: var(--navy);
  transition: transform .45s var(--ease-spring), background .3s, color .3s;
}
.sc--tt .sc__go { background: rgba(255, 255, 255, .1); color: #fff; }
.sc__go svg { width: 20px; height: 20px; }
.sc:hover .sc__go, .sc:focus-visible .sc__go { transform: rotate(45deg); background: var(--blue); color: #fff; }

/* ---------- Destacados (opcional) ---------- */
.featured__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px;
  margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.featured__row::-webkit-scrollbar { display: none; }
.fc { text-align: left;
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: var(--navy); color: #fff; text-decoration: none; scroll-snap-align: start;
  transition: transform .35s var(--ease-spring);
}
.fc:active { transform: scale(.97); }
.fc img, .fc video { width: 100%; height: 100%; object-fit: cover; }
.fc__shade { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(20, 33, 61, .85)); pointer-events: none; }
.fc__title { position: absolute; left: 14px; right: 14px; bottom: 14px; font-weight: 700; font-size: 15px; line-height: 1.2; pointer-events: none; }
.fc__title small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.fc__play { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; pointer-events: none; }
.fc__play svg { width: 16px; height: 16px; }
.fc.is-playing .fc__play, .fc.is-playing .fc__shade, .fc.is-playing .fc__title { opacity: 0; }

/* ---------- Contacto ---------- */
.content > .contact {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  border-radius: 36px 36px 0 0;
  padding-top: 70px; padding-bottom: calc(env(safe-area-inset-bottom) + 28px);
  margin-top: 20px;
}
.contact::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -200px; top: -160px; z-index: 0;
  background: radial-gradient(circle, rgba(58, 105, 213, .45), transparent 65%); pointer-events: none;
}
.contact > *:not(.spark) { position: relative; z-index: 1; }
.contact > .spark { z-index: 1; }
.spark--c1 { width: 30px; height: 30px; top: 58px; right: 12%; color: #fff; }
.spark--c2 { width: 14px; height: 14px; top: 104px; right: 24%; color: var(--pastel-2); animation-delay: 1.2s; }

.contact__title { font-size: clamp(2.6rem, 13.5vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.contact__title span { color: var(--pastel-2); }

.chat { margin: 32px 0 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chat__meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; }
.chat__bubble {
  position: relative; max-width: 88%;
  background: #DCF8C6; color: #0B1A10;
  padding: 12px 16px; border-radius: 20px 20px 4px 20px;
  font-size: 15px; line-height: 1.4; min-height: 46px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.chat__typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #3C7A4A; animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat.is-typed .chat__typing { display: none; }
.chat__text:empty { display: none; }

.cta {
  --x: 50%; --y: 50%; --spot: rgba(255, 255, 255, .28);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px 18px 18px; border-radius: 26px;
  background: var(--blue); color: #fff; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(79, 125, 240, .55), 0 22px 40px -18px rgba(58, 105, 213, .9);
  transition: transform .35s var(--ease-spring), background .3s;
  animation: ring 2.6s ease-out infinite;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(240px circle at var(--x) var(--y), var(--spot), transparent 70%); transition: opacity .3s;
}
.cta:hover::before, .cta.is-touch::before { opacity: 1; }
.cta:hover { background: var(--blue-hi); }
.cta:active { transform: scale(.97); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(79, 125, 240, .55), 0 22px 40px -18px rgba(58, 105, 213, .9); } 70%, 100% { box-shadow: 0 0 0 16px rgba(79, 125, 240, 0), 0 22px 40px -18px rgba(58, 105, 213, .9); } }
.cta__icon { flex: none; width: 54px; height: 54px; border-radius: 18px; background: #25D366; display: grid; place-items: center; color: #fff; transition: transform .5s var(--ease-spring); }
.cta__icon svg { width: 30px; height: 30px; }
.cta:hover .cta__icon { transform: rotate(-12deg) scale(1.06); }
.cta__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cta__title { font-size: clamp(1.6rem, 8vw, 2.1rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.cta__sub { margin-top: 6px; font-size: 12.5px; font-weight: 500; opacity: .85; }
.cta__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .4s var(--ease-spring); }
.cta__arrow svg { width: 22px; height: 22px; }
.cta:hover .cta__arrow, .cta:focus-visible .cta__arrow { transform: translateX(4px); }

.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mini__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 10px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; font-weight: 600; color: #fff;
  transition: background .25s, transform .3s var(--ease-spring), border-color .25s;
}
.mini__btn svg { width: 18px; height: 18px; flex: none; }
.mini__btn:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.mini__btn:active { transform: scale(.95); }

.outro { margin-top: 64px; }
.outro__big { font-size: clamp(1.9rem, 9.5vw, 2.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.outro__small { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-style: italic; font-size: 1.15rem; color: var(--pastel-2); }
.outro__small svg { width: 20px; height: 20px; color: #fff; animation: twinkle 2.6s ease-in-out infinite; }

.foot {
  margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 20px); z-index: 150;
  translate: -50% 0; transform: translateY(140%);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 99px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4);
  opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease-spring), opacity .3s, visibility 0s .45s; pointer-events: none; white-space: nowrap;
}
.toast.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease-spring), opacity .3s; }

/* ==========================================================
   Desktop: héroe fijo a la izquierda, contenido a la derecha
   ========================================================== */
@media (min-width: 960px) {
  body { background: var(--navy); }
  .page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .hero { position: sticky; top: 0; height: 100vh; min-height: 0; padding-bottom: 56px; }
  .hero__photo { height: 80%; }
  .scroll-cue { display: none; }
  .content { background: var(--paper); min-width: 0; }
  .content > section { padding-left: clamp(40px, 6vw, 88px); padding-right: clamp(40px, 6vw, 88px); }
  .content > section:first-child { padding-top: 110px; }
  .content > .contact { border-radius: 36px 0 0 0; }
  .deck { max-width: 460px; }
  .featured__row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 28px 0 0; padding: 0; }
  .title { font-size: 23cqi; }
}

/* ==========================================================
   Movimiento reducido
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .intro { display: none !important; }
  .tape__track { animation: none !important; }
}

/* Pantallas muy chicas (≤ 359 px) */
@media (max-width: 359px) {
  .cta { gap: 12px; padding: 16px; }
  .cta__icon { width: 48px; height: 48px; }
  .cta__arrow { display: none; }
  .mini__btn { font-size: 13px; }
}
