/* =========================================================
   angelluis.creator — estilos
   Paleta: marfil cálido (calma) + grafito (seguridad) + rojo de marca como acento
   ========================================================= */
:root {
  --ivory: #FAF8F5;
  --paper: #FFFFFF;
  --tint: #F4EFEB;
  --rose: #F7E6E4;
  --ink: #141416;
  --ink-2: #48484E;
  --mute: #8C8A90;
  --line: rgba(20, 20, 22, .09);
  --red: #D3263A;
  --red-deep: #A51C2C;
  --red-glow: #EC3A4C;
  --red-soft: rgba(211, 38, 58, .10);
  --night: #0E0E10;
  --night-2: #18181B;

  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "New York", Georgia, serif;

  --r-m: 22px;
  --r-l: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(20,20,22,.04), 0 12px 40px -12px rgba(20,20,22,.14);
  --shadow-lg: 0 2px 4px rgba(20,20,22,.04), 0 40px 80px -24px rgba(20,20,22,.28);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --bar-h: 68px;
  --brand-big: clamp(64px, 16.5vw, 250px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.red { color: var(--red); }
.nowrap { white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display { font-weight: 600; font-size: clamp(48px, 8.4vw, 124px); line-height: .96; letter-spacing: -.045em; }
.display--md { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.display--fit { font-size: clamp(28px, 8.6vw, 76px); }
.display em, h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--red);
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 600px; line-height: 1.5; letter-spacing: -.01em; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.kicker--light { color: #FF8A96; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #2DB36A; flex: none; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 16px; letter-spacing: -.01em;
  transition: transform .5s var(--ease), background .3s, box-shadow .4s var(--ease);
}
.btn .arr { transition: transform .4s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }
.btn--ink:hover { --bg: #000; }
.btn--red { --bg: var(--red); box-shadow: 0 10px 30px -10px rgba(211,38,58,.6); }
.btn--red:hover { --bg: var(--red-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(20,20,22,.18); }
.btn--ghost:hover { --bg: rgba(20,20,22,.04); }
.btn--block { width: 100%; }

.glass {
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow);
}

/* ---------- Huecos para fotos y vídeos ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: repeating-linear-gradient(135deg, rgba(20,20,22,.025) 0 1px, transparent 1px 14px), linear-gradient(160deg, #F1ECE8, #E7E0DA);
  color: var(--mute); overflow: hidden; text-align: center;
}
.ph--rose { background: repeating-linear-gradient(135deg, rgba(211,38,58,.04) 0 1px, transparent 1px 14px), linear-gradient(160deg, #FBEDEB, #F1D9D6); color: #B5737B; }
.ph--dark { background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 16px), radial-gradient(120% 80% at 50% 30%, #2A1A1D, #0E0E10 70%); color: rgba(255,255,255,.45); }
.ph__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 8px 24px -8px rgba(20,20,22,.25); position: relative; }
.ph__icon::after { content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%); border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.ph--dark .ph__icon { background: rgba(255,255,255,.12); }
.ph--dark .ph__icon::after { border-left-color: #fff; }
.ph__icon--photo::after { border: 2px solid var(--ink); width: 20px; height: 15px; border-radius: 4px; left: 50%; }
.ph__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* Fotos y vídeos reales: rellenan su hueco solos */
.hero__media > video, .hero__media > img,
.work__cover > img, .work__cover > video,
.svc__media > img, .svc__media > video,
.about__media > img, .about__media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.about__media > img, .about__media > video { border-radius: var(--r-l); box-shadow: var(--shadow-lg); }

/* =========================================================
   ENCABEZADO: logo + menú
   ========================================================= */
.hdr__bar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 60;
  background: rgba(250,248,245,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}
.brand {
  position: fixed; top: 18px; left: 50%; z-index: 70;
  transform: translateX(-50%); transform-origin: 50% 0;
  font-weight: 700; font-size: 28px; line-height: .85; letter-spacing: -.07em; white-space: nowrap;
  color: var(--ink);
  will-change: transform, opacity;
}
.brand .red { color: var(--red); }

/* Indicación «Menú» junto al logo */
.hdr__hint {
  position: fixed; z-index: 70; top: 22px; left: calc(50% + 92px);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  transition: opacity .4s var(--ease), color .3s, background .3s;
}
.hdr__hint i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.hdr__hint:hover, .hdr.is-open .hdr__hint { color: var(--ink); background: rgba(20,20,22,.05); }
.hdr.is-open .hdr__hint i { transform: translateY(1px) rotate(-135deg); }

/* Barra de menú (escritorio) */
.menu {
  position: fixed; z-index: 65; top: calc(var(--bar-h) + 8px); left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 40px -18px rgba(20,20,22,.25);
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -32px; height: 32px; }
.menu a { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; white-space: nowrap; transition: color .3s, background .3s; }
.menu a:hover, .menu a.is-active { color: var(--ink); background: rgba(20,20,22,.06); }
.menu__sep { flex: none; align-self: center; width: 1px; height: 18px; margin: 0 8px; background: rgba(20,20,22,.18); }

/* Botón y panel (móvil) */
.burger { display: none; position: fixed; z-index: 75; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.hdr.is-panel .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr.is-panel .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.panel { display: none; }

/* Con JS: el menú aparece al pasar el cursor; el logo y la barra los controla el desplazamiento */
.js .menu { opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s .35s; }
.js .hdr.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s var(--ease), transform .5s var(--ease), visibility 0s; }
.js .has-hero .brand { top: 0; font-size: var(--brand-big); opacity: 0; color: #fff; }
.js .has-hero .hdr__bar { opacity: 0; }
.js .has-hero .hdr__hint { opacity: 0; pointer-events: none; }
.js .has-hero.is-docked .hdr__hint { opacity: 1; pointer-events: auto; }

/* =========================================================
   PORTADA (vídeo + logo)
   ========================================================= */
.hero { position: relative; height: 100vh; background: var(--night); }
.js .hero { height: 340vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; --focus: 50% 45%; }
.hero__media > img, .hero__media > video { object-position: var(--focus); } /* encuadre de la portada */
.hero__media .ph { height: 100%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.35), rgba(10,10,12,.2) 40%, rgba(10,10,12,.55)); pointer-events: none; }
.hero__fade {
  position: absolute; left: 0; right: 0; top: 0; height: 200%;
  background: linear-gradient(180deg, rgba(250,248,245,0) 0%, rgba(250,248,245,.85) 18%, var(--ivory) 30%, var(--ivory) 100%);
  transform: translateY(100%); pointer-events: none; will-change: transform;
}
.tagline {
  position: absolute; left: 0; right: 0; top: 62%;
  display: flex; justify-content: center; align-items: baseline; gap: .28em;
  font-size: clamp(24px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.035em; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  will-change: opacity, transform;
}
.rot { display: inline-grid; text-align: left; }
.rot__w {
  grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-weight: 700; font-synthesis: weight style; letter-spacing: 0;
  -webkit-text-stroke: .018em currentColor; /* negrita: se lee mejor sobre la foto */
  color: var(--red-glow); text-shadow: 0 2px 18px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
}
.rot__w.is-on { opacity: 1; transform: none; filter: none; }
.rot__w.is-out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.hero__cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.hero__cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* La franja de marcas sube mientras el vídeo termina de fundirse */
.js .has-hero .brands { margin-top: -80vh; z-index: 2; }

/* Sin JS: portada simple con el logo arriba */
html:not(.js) .tagline { top: 50%; transform: translateY(-50%); }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding: clamp(100px, 13vw, 170px) 0; position: relative; }
.section--tint { background: var(--tint); }
.head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.head .display { margin-bottom: 22px; }
.head--row { max-width: var(--max); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.head--row .display { margin-bottom: 0; }

/* ---------- Marcas ---------- */
.brands { padding: 30px 0 60px; position: relative; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 95s linear infinite; }
.marquee__track span {
  display: flex; align-items: center; justify-content: center; height: 48px; flex: none; white-space: nowrap;
  font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #A9A4A0;
}
/* logos: misma altura visual; los muy anchos se limitan por el ancho */
.marquee__track img { height: var(--h, 28px); width: auto; max-width: none; filter: brightness(0); opacity: .42; }
.marquee__track .is-color img { filter: grayscale(1) contrast(1.3) brightness(.85); opacity: .7; } /* logos cuyo texto va sobre una forma de color */
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Trabajos ---------- */
.rail {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; cursor: grab;
}
@media (min-width: 1240px) { .rail { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.rail .work { flex: none; width: clamp(290px, 40vw, 580px); scroll-snap-align: start; }
.rail__ctrl { display: flex; gap: 10px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(20,20,22,.15); background: var(--paper); cursor: pointer; font-size: 18px; transition: background .3s, color .3s, transform .4s var(--ease); }
.round:hover { background: var(--ink); color: #fff; }
.round:active { transform: scale(.94); }
.works__more { margin-top: 36px; }

.work { cursor: pointer; outline: none; }
.work__cover {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden;
  box-shadow: var(--shadow); transform: translateZ(0);
}
.work__cover .ph, .work__cover > img, .work__cover > video { transition: transform 1.1s var(--ease); }
.work:hover .work__cover .ph, .work:hover .work__cover > img, .work:hover .work__cover > video { transform: scale(1.045); }
.work__cover::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255,255,255,.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='white'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  opacity: 0; transform: scale(.8); transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .3s;
}
.work:hover .work__cover::after, .work:focus-visible .work__cover::after { opacity: 1; transform: none; background-color: var(--red); }
.work:focus-visible .work__cover { outline: 2px solid var(--red); outline-offset: 3px; }
.work__meta { padding: 16px 4px 0; }
.work__brand { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.work__title { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.work__info { display: none; }

/* Cuadrícula (página Portfolio) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 22px; }

/* ---------- Ventana del proyecto ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(10,10,12,.86);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.modal__inner { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 84px 20px 60px; transform: translateY(24px) scale(.98); transition: transform .7s var(--ease); }
.modal.is-open .modal__inner { transform: none; }
.modal__media { display: flex; justify-content: center; width: 100%; }
.modal__media video { width: auto; height: auto; max-width: min(100%, 1200px); max-height: 74vh; border-radius: 18px; background: #000; box-shadow: 0 40px 100px -20px rgba(0,0,0,.7); }
.modal__ph { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,.7); }
.modal__ph--horizontal { width: min(100%, 1100px, calc(74vh * 16 / 9)); aspect-ratio: 16 / 9; }
.modal__ph--vertical { height: min(74vh, 760px); aspect-ratio: 9 / 16; max-width: 100%; }
.modal__head { width: 100%; max-width: 860px; margin-top: 30px; color: #fff; }
.modal__brand { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #FF8A96; }
.modal__title { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.035em; margin-top: 6px; }
.modal__info { width: 100%; max-width: 760px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.modal__info:empty { display: none; }
.modal__info p { font-size: 16px; line-height: 1.65; }
.modal__info p + p { margin-top: 14px; }
.modal__info strong { color: #fff; font-weight: 600; }
.modal__close {
  position: fixed; top: 20px; right: 20px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; transition: background .3s, transform .4s var(--ease);
}
.modal__close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
body.no-scroll { overflow: hidden; }

/* ---------- Enfoque (texto animado) ---------- */
.manifesto { height: 175vh; position: relative; margin-bottom: -22vh; }
.manifesto + .section { padding-top: clamp(40px, 5vw, 70px); }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.manifesto__text { font-size: clamp(30px, 4.6vw, 66px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; max-width: 1100px; }
.js .manifesto__text .w { color: rgba(20,20,22,.14); transition: color .25s linear; }
.js .manifesto__text .w.on { color: var(--ink); }
.js .manifesto__text .w.accent.on { color: var(--red); }

/* ---------- Servicios ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc__card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l);
  display: flex; flex-direction: column;
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.svc__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc__card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(460px circle at var(--mx) var(--my), rgba(211,38,58,.08), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc__card:hover::before { opacity: 1; }
.svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.svc__n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--red); }
.svc__title { font-size: clamp(44px, 5.4vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.svc__body p { color: var(--ink-2); font-size: 17px; max-width: 460px; }
.tags { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }

/* ---------- Tarifas ---------- */
.section--dark { background: var(--night); color: #fff; }
.section--dark .display em { color: #FF8A96; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  background: var(--night-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-l);
  padding: clamp(30px, 3.4vw, 42px) clamp(26px, 3vw, 38px); display: flex; flex-direction: column;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}
/* al pasar el cursor: resplandor rojo suave alrededor de la tarjeta (sin moverla ni cambiar su tamaño) */
@media (hover: hover) {
  .plan:hover { border-color: rgba(236,58,76,.55); box-shadow: 0 0 0 1px rgba(236,58,76,.25), 0 0 34px -4px rgba(236,58,76,.45), 0 0 80px -20px rgba(236,58,76,.5); }
}
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,138,150,.12), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.plan__name { font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: #fff; margin-bottom: 22px; }
.plan__price { font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 26px; }
.plan__price small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #FF8A96; margin-bottom: 6px; }
.plan__price span { font-size: clamp(46px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: #fff; margin-right: 4px; }
.plan__list { list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 14px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; }
.plan__list li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; flex: none; border-radius: 50%; background: rgba(255,138,150,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23FF8A96' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plans__note { text-align: center; max-width: 720px; margin: 36px auto 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ---------- Proceso ---------- */
.proc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); }
.proc__sticky { position: sticky; top: 130px; }
.proc__steps { position: relative; padding-left: 46px; }
.proc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 72px); }
.proc__line { position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.proc__line i { display: block; width: 100%; height: 0; background: var(--red); }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: -46px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--red); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--red); display: block; margin-bottom: 12px; }
.step h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 10px; line-height: 1.15; }
.step p { color: var(--ink-2); font-size: 17px; max-width: 560px; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); }
.about__media > .ph { border-radius: var(--r-l); box-shadow: var(--shadow-lg); }
.about__copy .display { margin-bottom: 28px; }
.about__copy > p:not(.kicker) { color: var(--ink-2); font-size: 18px; line-height: 1.65; margin-bottom: 20px; max-width: 34em; }
.about__copy > p:last-child { margin-bottom: 0; }
/* Cifras */
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statbox { padding: clamp(36px, 5vw, 60px) clamp(20px, 4vw, 56px); border-left: 1px solid var(--line); }
.statbox:first-child { border-left: 0; padding-left: 0; }
.stat { display: block; font-size: clamp(72px, 10vw, 150px); font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat__plus { color: var(--red); font-weight: 400; margin-right: .03em; }
.statbox p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); }
.faq__head .display { position: sticky; top: 120px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--ink);
  background-color: var(--tint);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 14px 1.5px, 1.5px 14px; background-position: center; background-repeat: no-repeat;
  transform-origin: 50% 50%; transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--red); color: #fff; }
.faq__list details p { color: var(--ink-2); padding: 0 50px 30px 0; max-width: 640px; }

/* ---------- Contacto ---------- */
.contact { overflow: hidden; background: var(--ivory); }
.contact__glow { position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(211,38,58,.12), transparent); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__copy .display { margin-bottom: 26px; }
.contact__links { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 4px; }
.contact__links a { display: inline-flex; font-size: 19px; font-weight: 500; letter-spacing: -.02em; padding: 8px 0; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.contact__links a:hover { background-size: 100% 1.5px; color: var(--red); }
.form { border-radius: var(--r-l); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; background: rgba(255,255,255,.75); }
.field { position: relative; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 26px 18px 10px; font: inherit; font-size: 16px; color: var(--ink); resize: vertical; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.field label { position: absolute; left: 19px; top: 18px; font-size: 16px; color: var(--mute); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.76); color: var(--ink-2); }
.form__note { font-size: 14px; line-height: 1.5; color: var(--mute); text-align: center; }
.form__note:empty { display: none; }
.form__note.is-ok { color: #1E7A48; background: rgba(45,179,106,.1); padding: 12px 16px; border-radius: 12px; }
.form__note.is-error { color: var(--red-deep); background: var(--red-soft); padding: 12px 16px; border-radius: 12px; }
.form__note a { text-decoration: underline; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 4px 2px; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--red); cursor: pointer; }
.form__small { font-size: 13px; color: var(--mute); text-align: center; margin-top: -2px; }
.form__legal { font-size: 12px; line-height: 1.5; color: var(--mute); text-align: center; }
.form__legal a { text-decoration: underline; }

/* ---------- Páginas legales ---------- */
.legal__date { color: var(--mute); font-size: 15px; }
.legal { padding-bottom: clamp(90px, 12vw, 150px); }
.legal__body { max-width: 820px; }
.legal__body h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Formación: lista de espera ---------- */
.waitlist { position: relative; overflow: hidden; }
.waitlist .contact__grid { align-items: center; }
.waitlist__copy .display { margin-bottom: 26px; font-size: clamp(34px, 4.6vw, 70px); }
.waitlist__copy > p:not(.kicker):not(.lead) { color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 34em; margin-top: 18px; }
.waitlist__copy .waitlist__push { color: var(--ink); font-weight: 600; }

/* ---------- Cierre ---------- */
.footer { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 130px) 0 34px; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 36px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__cta { font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap; }
.footer__top .btn { flex: none; margin-left: auto; }
.footer__word { font-size: clamp(60px, 19vw, 290px); font-weight: 700; letter-spacing: -.07em; line-height: .85; margin: 50px 0 30px; color: rgba(255,255,255,.95); white-space: nowrap; text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: rgba(255,255,255,.5); }
.footer__bottom nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.4); }

/* ---------- Páginas interiores ---------- */
.page-head { padding: calc(var(--bar-h) + clamp(70px, 10vw, 130px)) 0 clamp(50px, 6vw, 80px); }
.page-head .display { margin-bottom: 22px; }
.soon { padding-bottom: clamp(100px, 13vw, 170px); }
.soon__box { border: 1px dashed #D9D3CE; border-radius: var(--r-l); padding: clamp(36px, 6vw, 70px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; background: rgba(255,255,255,.5); }
.soon__box p { color: var(--ink-2); max-width: 560px; }

/* ---------- Aparición (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --bar-h: 60px; }
  .brand { top: 16px; font-size: 24px; }
  .menu, .hdr__hint { display: none !important; }
  .burger { display: block; top: 8px; }
  .js .has-hero .burger { opacity: 0; pointer-events: none; transition: opacity .4s; }
  .js .has-hero.is-docked .burger { opacity: 1; pointer-events: auto; }
  .panel {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    position: fixed; inset: 0; z-index: 66; padding: 90px 28px 40px;
    background: rgba(250,248,245,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
  }
  .panel a { font-size: 34px; font-weight: 600; letter-spacing: -.04em; padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
  .panel a:active { color: var(--red); }
  .hdr.is-panel .panel { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .hdr.is-panel .panel a { opacity: 1; transform: none; }
  .hdr.is-panel .panel a:nth-child(2) { transition-delay: .04s; } .hdr.is-panel .panel a:nth-child(3) { transition-delay: .08s; }
  .hdr.is-panel .panel a:nth-child(4) { transition-delay: .12s; } .hdr.is-panel .panel a:nth-child(5) { transition-delay: .16s; }
  .hdr.is-panel .panel a:nth-child(6) { transition-delay: .2s; } .hdr.is-panel .panel a:nth-child(7) { transition-delay: .24s; }
  .hdr.is-panel .panel a:nth-child(8) { transition-delay: .28s; } .hdr.is-panel .panel a:nth-child(9) { transition-delay: .32s; }
  .panel__sep { display: block; height: 1px; margin: 14px 0; background: rgba(20,20,22,.14); }
  .js .hero { height: 280vh; }
  .js .has-hero .brands { margin-top: -70vh; }
  .svc, .proc, .about, .faq, .contact__grid { grid-template-columns: 1fr; }
  .proc__sticky, .faq__head .display { position: static; }
  .head--row { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .waitlist__copy .display { font-size: clamp(30px, 7.2vw, 60px); }
  .footer__cta { flex: 1 1 300px; white-space: normal; text-wrap: balance; font-size: clamp(28px, 6.4vw, 42px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; gap: 34px; }
  .rail .work { width: 82vw; }
  .rail__ctrl { display: none; }
  .statbox { padding: 30px 0 30px 20px; }
  .footer__word { font-size: 23vw; }
  .waitlist__copy .display { font-size: clamp(30px, 10.4vw, 52px); }
  .stat { font-size: clamp(50px, 15vw, 72px); }
  .marquee__track { gap: 44px; }
  .marquee__track span { font-size: 17px; }
  .marquee__track img { height: calc(var(--h, 28px) * .82); }
  .proc__steps { padding-left: 34px; }
  .step::before { left: -34px; }
  .modal__inner { padding: 76px 16px 50px; }
  .modal__ph--vertical { height: min(68vh, 640px); }
}

/* Movimiento reducido: solo se suavizan los efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 110s; }
  .hero__cue::after { animation: none; }
}
