/* ==========================================================================
   La Antena 360 — estilos (versión luminosa)
   Fondos: luz difuminada de los propios vídeos + tarjetas de cristal claras.
   Para cambiar colores, edita solo las variables de :root
   ========================================================================== */
:root {
  --ink:    #10131a;   /* texto principal */
  --ink-2:  #3b4150;
  --mute:   #5f6677;
  --paper:  #f6f7fb;
  --glass:  rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .82);
  --edge:   rgba(255, 255, 255, .75);
  --line:   rgba(16, 19, 26, .08);
  --red:    #ff2d3a;
  --red-d:  #e0192a;
  --red-rgb: 255, 45, 58;
  --yellow: #ffd23f;
  --orange: #ff8a1f;
  --sky:    #1e90ff;
  --grad:   linear-gradient(100deg, var(--red) 0%, var(--orange) 55%, var(--yellow) 100%);

  --display: "Unbounded", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(20, 30, 60, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Evita que elementos girados/animados ensanchen la página en móvil */
main { overflow-x: hidden; overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }

.container { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 60px); }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.label { margin: 0 0 16px; font: 600 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.h2 { font: 800 clamp(30px, 4.6vw, 58px)/1.05 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); margin: 20px 0 0; max-width: 62ch; }
.red { color: var(--red); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Secciones con luz ambiente (imagen difuminada de los vídeos) ---------- */
.lit { isolation: isolate; }
.lit::before {
  content: ""; position: absolute; inset: -60px; z-index: -2;
  background: var(--amb) center / cover no-repeat;
  filter: blur(50px) saturate(1.6) brightness(1.15);
  transform: scale(1.1);
}
.lit::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.38) 50%, rgba(255,255,255,.6));
}

/* Tarjeta de cristal */
.glass {
  background: var(--glass); border: 1px solid var(--edge); border-radius: 26px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow);
}
.glass-pad { padding: clamp(24px, 3.5vw, 44px); }

/* ---------- Barra de progreso + foco de luz que sigue al ratón ---------- */
.progress {
  position: fixed; z-index: 90; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
}
.spotlight {
  position: fixed; z-index: 2; pointer-events: none; left: 0; top: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,63,.28), rgba(255,45,58,.12) 40%, transparent 70%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s;
}
.has-pointer .spotlight { opacity: 1; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; color: var(--ink);
  transition: transform .3s var(--ease), background .25s, box-shadow .3s var(--ease), border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-red { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(var(--red-rgb), .9); }
.btn-red:hover { box-shadow: 0 18px 40px -12px rgba(var(--red-rgb), 1); }
.btn-glass {
  background: rgba(255,255,255,.7); border-color: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { box-shadow: 0 14px 30px -12px rgba(37,211,102,.9); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); color: #fff;
  transition: background .35s, padding .35s, box-shadow .35s, color .35s;
}
.nav.is-solid { background: rgba(255,255,255,.94); color: var(--ink); padding-top: 11px; padding-bottom: 11px; box-shadow: 0 10px 30px -20px rgba(20,30,60,.4); }
.brand {
  position: relative; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--display); text-decoration: none; letter-spacing: -.01em; text-transform: uppercase;
}
.brand b { color: var(--red); font-weight: 800; }
.brand-dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--red); border-right-color: var(--yellow); animation: spin 2.4s linear infinite; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero con mosaico en movimiento ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 100px; color: #fff; background: #0e2a4a; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.mosaic {
  position: absolute; inset: -20% -10%; display: flex; gap: 14px; justify-content: center;
  transform: rotate(-8deg) scale(1.05);
}
.mcol { flex: 0 0 clamp(170px, 19vw, 300px); overflow: hidden; }
.mtrack { display: flex; flex-direction: column; gap: 14px; animation: mUp 38s linear infinite; }
.mcol-rev .mtrack { animation-name: mDown; animation-duration: 44s; }
.mtrack img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; }
@keyframes mUp { to { transform: translateY(calc(-50% - 7px)); } }
@keyframes mDown { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,25,50,.82) 0%, rgba(10,25,50,.55) 45%, rgba(10,25,50,.15) 100%),
    linear-gradient(0deg, rgba(10,25,50,.55) 0%, transparent 30%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font: 600 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 10px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-title { font: 800 clamp(40px, 5.3vw, 84px)/.95 var(--display); letter-spacing: -.045em; text-transform: uppercase; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero-title .grad { text-shadow: none; filter: drop-shadow(0 6px 24px rgba(255,80,40,.45)); }
.hero-sub { max-width: 50ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.92); margin: 28px 0 34px; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-reel { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; }
.ambient {
  position: absolute; inset: -18%; width: 136%; height: 136%; z-index: -1; border-radius: 50%;
  filter: blur(60px) saturate(1.8); opacity: .95;
}
.hero-reel video {
  width: 100%; height: 100%; object-fit: cover; border-radius: 28px; border: 3px solid rgba(255,255,255,.95);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); background: #0e2a4a;
}
.reel-tag {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 11px; border-radius: 999px; font: 600 11px var(--display); text-transform: uppercase; letter-spacing: .06em;
}
.reel-tag .rec { width: 8px; height: 8px; }
.spin-badge { position: absolute; z-index: 2; left: -70px; bottom: 40px; width: 140px; height: 140px; display: grid; place-items: center; text-decoration: none; }
.spin-badge svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.spin-badge text { font: 600 15px var(--display); text-transform: uppercase; fill: #fff; }
.spin-badge span { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #111; font: 800 16px var(--display); box-shadow: 0 10px 30px -8px rgba(255,210,63,.9); transition: transform .4s var(--ease); }
.spin-badge:hover span { transform: scale(1.12) rotate(-12deg); }

.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee (reacciona a la velocidad del scroll) ---------- */
.marquee { position: relative; z-index: 3; overflow: hidden; white-space: nowrap; background: var(--yellow); color: #111; padding: 20px 0; transform: rotate(-1.5deg) scale(1.03); margin: -20px 0 0; box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.marquee-track { display: inline-flex; align-items: center; gap: 30px; animation: marquee 30s linear infinite; will-change: transform; }
.marquee span { font: 800 clamp(22px, 3vw, 38px)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.marquee i { font-style: normal; font-size: 14px; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quién soy ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.planet-wrap { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.planet { transition: transform .25s ease-out; position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 40px 90px -30px rgba(30,80,160,.6); }
.planet img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.planet-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(var(--red-rgb), .7); animation: spin 30s linear infinite reverse; }
.planet-tag { position: absolute; right: 6%; top: 8%; background: var(--grad); color: #fff; font: 800 18px var(--display); padding: 12px 16px; border-radius: 999px; transform: rotate(10deg); box-shadow: 0 12px 30px -10px rgba(var(--red-rgb), .8); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(4deg) translateY(-8px); } }

.gear { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.gear-item {
  position: relative; display: flex; gap: 14px; align-items: flex-start; text-decoration: none;
  background: rgba(255,255,255,.75); border: 1px solid #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 16px 30px -24px rgba(20,30,60,.5);
  transition: box-shadow .3s, background .3s;
}
.gear-item:hover { background: #fff; box-shadow: 0 24px 40px -24px rgba(var(--red-rgb), .6); }
.gear-item svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gear-item b { display: block; font: 600 15px var(--display); margin-bottom: 4px; }
.gear-item span { display: block; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.gear-link { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 13px var(--sans); font-style: normal; color: var(--red); }
.gear-link i { font-style: normal; transition: transform .3s var(--ease); }
.gear-item:hover .gear-link i { transform: translate(3px, -3px); }

/* ---------- Tilt 3D con brillo ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--ease); }
.tilt.is-tilting { transition: transform .08s linear; }
.tilt .glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), transparent 55%);
  opacity: 0; transition: opacity .3s; mix-blend-mode: overlay;
}
.tilt:hover .glare { opacity: 1; }

/* ---------- Qué hago: sectores con vídeo al pasar ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 3 / 4.2; background: #cfd8e6; color: #fff; border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.sector img, .sector video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.sector video { opacity: 0; }
.sector.is-playing video { opacity: 1; }
.sector:hover img, .sector:hover video { transform: scale(1.06); }
.sector::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(8,18,40,.85) 100%); }
.sector-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 20px; transform: translateZ(30px); }
.sector-n { display: inline-block; font: 700 11px var(--display); color: #111; background: var(--yellow); padding: 5px 8px; border-radius: 99px; margin-bottom: 10px; }
.sector h3 { font: 800 clamp(15px, 1.45vw, 20px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.sector p { margin: 8px 0 0; font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.5; }
.sector::before { content: ""; position: absolute; z-index: 3; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sector:hover::before, .sector.is-playing::before { transform: scaleX(1); }
.play-hint { position: absolute; z-index: 2; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; transition: opacity .3s, transform .3s; }
.play-hint::after { content: ""; margin-left: 3px; border-left: 11px solid var(--red); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sector.is-playing .play-hint { opacity: 0; transform: scale(.6); }

/* ---------- Botones de redes (Trabajos) ---------- */
.social-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btns .btn svg { width: 20px; height: 20px; }
.social-btns .btn:first-child svg { fill: #dd2a7b; }

/* ---------- Trabajos ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 9 / 14; background: #cfd8e6; text-decoration: none; color: #fff; border: 3px solid #fff; box-shadow: var(--shadow); }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover video { transform: scale(1.06); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,18,40,.8)); pointer-events: none; }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px; border-radius: 50%; background: rgba(255,255,255,.25); border: 1.5px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .4s var(--ease), opacity .4s; }
.play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.work.is-playing .play { opacity: 0; transform: scale(.6); }
.work-cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; font-size: 14px; color: rgba(255,255,255,.9); transform: translateZ(30px); }
.work-cap b { display: block; font: 800 20px var(--display); color: #fff; text-transform: uppercase; }
.works-embed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.works-embed .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 16px !important; }

/* ---------- Contratar: planes con demo ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass-2); border: 1px solid #fff; border-radius: 28px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.plan-hot { box-shadow: 0 0 0 3px var(--red), 0 40px 70px -30px rgba(var(--red-rgb), .6); }
.demo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: #0e2a4a; }
.demo video { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.demo video.is-swapping { opacity: .2; }
.modes {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; gap: 6px; padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.modes button {
  flex: 1; border: 0; cursor: pointer; border-radius: 999px; padding: 9px 6px;
  background: transparent; color: #fff; font: 600 12px var(--sans); white-space: nowrap;
  transition: background .25s, color .25s;
}
.modes button:hover { background: rgba(255,255,255,.25); }
.modes button.is-on { background: #fff; color: var(--ink); }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.plan-tag { margin: 0 0 12px; font: 600 11px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.plan-hot .plan-tag { color: var(--red); }
.plan h3 { font: 800 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 11px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.plan li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.price { font: 600 15px var(--display); margin: 0 0 16px; }

.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 60px); margin-top: clamp(48px, 7vw, 80px); align-items: start; }
.book-steps { list-style: none; margin: 0; display: grid; gap: 24px; }
.book-steps li { display: flex; gap: 18px; }
.book-steps li > b { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 18px var(--display); box-shadow: 0 10px 24px -10px rgba(var(--red-rgb), .8); }
.book-steps h3 { font: 600 17px var(--display); text-transform: uppercase; }
.book-steps p { margin: 6px 0 0; color: var(--mute); font-size: 15px; }

.form { padding: clamp(24px, 4vw, 40px); }
.form-title { font: 800 22px var(--display); text-transform: uppercase; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
label small { font-weight: 400; color: var(--mute); }
input, select, textarea {
  width: 100%; font: 16px var(--sans); color: var(--ink);
  background: rgba(255,255,255,.85); border: 1.5px solid rgba(16,19,26,.1); border-radius: 12px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(var(--red-rgb), .15); }
textarea { resize: vertical; }
.is-invalid { border-color: #e03131 !important; }
.form-error { color: #e03131; font-size: 14px; min-height: 1em; margin: 0 0 10px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 5px rgba(var(--red-rgb), .5); } }

/* ---------- Contacto ---------- */
.channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.channels .js-mail { grid-column: span 2; }
.channels .js-mail .ch-value { word-break: normal; }
.channel {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--glass-2); border: 1px solid #fff; border-radius: var(--r); padding: 24px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow);
  transition: box-shadow .3s;
}
.channel:hover { box-shadow: 0 30px 50px -24px rgba(var(--red-rgb), .55); }
.ch-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; transition: transform .4s var(--ease); }
.channel:hover .ch-ico { transform: rotate(-8deg) scale(1.08); }
.ch-ico svg { width: 24px; height: 24px; fill: #fff; }
.ch-ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.ch-tt { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.ch-wa { background: #25d366; }
.ch-tel { background: var(--sky); }
.ch-mail { background: var(--red); }
.ch-label { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.ch-value { font: 600 clamp(13px, 1.2vw, 16px) var(--display); word-break: break-word; }

/* ---------- Selector de email ---------- */
.mail-sheet { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.mail-sheet[hidden] { display: none; }
.mail-backdrop { position: absolute; inset: 0; background: rgba(10,25,50,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.mail-panel { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(10,25,50,.6); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .25s, transform .35s var(--ease); }
.mail-sheet.is-open .mail-backdrop { opacity: 1; }
.mail-sheet.is-open .mail-panel { opacity: 1; transform: none; }
.mail-panel h3 { font: 800 22px/1.15 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.mail-to { margin: 8px 0 20px; color: var(--mute); font-size: 15px; }
.mail-x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 0; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.mail-x:hover { background: var(--red); color: #fff; }
.mail-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mail-opt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; text-decoration: none; cursor: pointer; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: border-color .2s, transform .25s var(--ease); }
.mail-opt:hover { border-color: var(--red); transform: translateY(-2px); }
.mo-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.mo-ico svg { width: 22px; height: 22px; }
.mail-opt b { font: 600 14px var(--display); }
.mail-opt small { font-size: 12px; color: var(--mute); }
@media (max-width: 420px) { .mail-options { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 70px 0 100px; color: var(--ink-2); font-size: 15px; }
.footer-big { margin: 0 0 30px; font: 800 clamp(40px, 9vw, 130px)/.9 var(--display); letter-spacing: -.05em; text-transform: uppercase; color: var(--ink); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-row p { margin: 0; }
.footer a { color: var(--ink); font-weight: 600; }
.footer a:hover { color: var(--red); }
.credits { margin: 24px 0 0; font-size: 12px; color: var(--mute); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.8); transition: transform .3s var(--ease); animation: waPulse 2.6s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 12px 30px -8px rgba(37,211,102,.8); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 12px 30px -8px rgba(37,211,102,.8); } }

/* ---------- Revelado ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
.sectors .reveal:nth-child(2), .works .reveal:nth-child(2), .plans .reveal:nth-child(2), .channels .reveal:nth-child(2) { transition-delay: .08s; }
.sectors .reveal:nth-child(3), .works .reveal:nth-child(3), .plans .reveal:nth-child(3), .channels .reveal:nth-child(3) { transition-delay: .16s; }
.sectors .reveal:nth-child(4), .channels .reveal:nth-child(4) { transition-delay: .24s; }
.channels .reveal:nth-child(5) { transition-delay: .32s; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 981px) {
  .nav.is-solid { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
}
@media (max-width: 980px) {
  .burger { display: grid; gap: 7px; place-content: center; z-index: 70; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
  .burger span { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
  .nav.is-open { color: var(--ink); }
  .nav.is-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: 65; flex-direction: column; justify-content: center; gap: 20px;
    background: linear-gradient(160deg, #fff 0%, #fff4d6 60%, #ffe1e3 100%); color: var(--ink);
    clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease);
  }
  .nav.is-open .nav-links { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav-links a:not(.btn) { font: 800 30px var(--display); text-transform: uppercase; }
  .nav-links .btn { margin-top: 10px; padding: 16px 28px; font-size: 16px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-reel { width: min(100%, 300px); }
  .spin-badge { width: 120px; height: 120px; left: auto; right: -50px; bottom: 30px; }
  .spin-badge span { width: 58px; height: 58px; font-size: 13px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,25,50,.7) 0%, rgba(10,25,50,.45) 45%, rgba(10,25,50,.6) 100%); }
  .about, .book { grid-template-columns: 1fr; }
  .planet-wrap { max-width: 360px; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .works, .works-embed { grid-template-columns: 1fr 1fr; }
  .channels { grid-template-columns: 1fr 1fr; }
  .channels .js-mail { grid-column: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .mcol { flex-basis: 42vw; }
  .spin-badge, .scroll-hint { display: none; }
  .outline { -webkit-text-stroke: 1.5px #fff; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-reel { width: min(78%, 280px); }
  .gear { grid-template-columns: 1fr; }
  .sectors { gap: 10px; }
  .sector-body { padding: 14px; }
  .sector p { display: none; }
  .works, .works-embed { grid-template-columns: 1fr; }
  .work { aspect-ratio: 4 / 5; }
  .row, .form-actions { grid-template-columns: 1fr; }
  .row { gap: 0; }
  .channels { grid-template-columns: 1fr; }
  .channel { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; padding: 18px; }
  .ch-ico { margin: 0; }
  .ch-label { flex: 1; }
  .ch-value { width: 100%; }
  .modes button { font-size: 11px; padding: 8px 4px; }
}
