/* ═══════════════════════════════════════════════════
   NATALY ✦ 3D ARTIST — Portafolio
   Estética: dark premium + chrome Y2K pink
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0c;
  --bg-2: #101014;
  --panel: #141419;
  --line: rgba(255, 255, 255, 0.08);
  --line-pink: rgba(255, 77, 157, 0.35);
  --text: #f4f2ee;
  --muted: #9c99a3;
  --accent: #ff4d9d;
  --accent-2: #ffb6d9;
  --accent-soft: rgba(255, 77, 157, 0.1);
  --radius: 18px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

/* deja aire bajo la píldora fija del header al saltar a una ancla */
#inicio, #trabajos, #servicios, #contacto, #proceso, #experimentos {
  scroll-margin-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
i { font-style: normal; }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══════════ TEXTO CROMADO (Y2K) ═══════════ */
.chrome-pink,
.chrome-silver {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.chrome-pink {
  background-image: linear-gradient(180deg,
    #ffe3f2 0%, #ffb1d8 28%, #ff5ea8 47%,
    #c22a71 53%, #ff6fb2 68%, #ffd0e7 88%, #fff0f8 100%);
  filter: drop-shadow(0 2px 12px rgba(255, 77, 157, 0.35));
}
.chrome-silver {
  background-image: linear-gradient(180deg,
    #ffffff 0%, #eceaf2 30%, #b9b7c6 47%,
    #6f6d7e 53%, #d6d4e0 70%, #ffffff 100%);
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.12));
}

/* ═══════════ COMPONENTES BASE ═══════════ */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-pink);
  background: rgba(255, 77, 157, 0.08);
  color: var(--accent-2);
  border-radius: 99px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.pill--sm { padding: 7px 16px; font-size: 11px; }
.pill b { color: #fff; font-weight: 700; }
.heart {
  display: inline-block;
  width: 16px; height: 16px;
  vertical-align: -3px;
  mix-blend-mode: screen;
  animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.25); }
  24% { transform: scale(1); }
}

/* imágenes generadas con IA (chrome Y2K, ver assets/gfx) montadas con
   mix-blend-mode:screen: el negro puro del fondo se vuelve invisible
   sobre cualquier superficie, simulando transparencia sin canal alfa */
.sparkle {
  position: absolute;
  width: 40px; height: 40px;
  mix-blend-mode: screen;
  filter: contrast(1.6) brightness(1.05);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
.sparkle--lg { width: 66px; height: 66px; }
.sparkle--sm { width: 24px; height: 24px; opacity: 0.6; }

.star-deco {
  display: inline-block;
  width: clamp(26px, 3.4vw, 42px); height: clamp(26px, 3.4vw, 42px);
  vertical-align: middle;
  margin: 0 4px;
  mix-blend-mode: screen;
  filter: contrast(1.6) brightness(1.05);
}

/* ═══════════ GRÁFICOS DECORATIVOS GENERADOS (assets/gfx) ═══════════ */
.deco {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}
.deco--spin { animation: spin 22s linear infinite; }
.deco--spin-slow { animation: spin 80s linear infinite; }

.deco--hero-blob {
  width: clamp(240px, 30vw, 460px);
  top: -8%; right: -8%;
  opacity: 0.5;
  z-index: 0;
}
.deco--cta-halo {
  width: clamp(400px, 55vw, 620px);
  top: 2%; left: 0; right: 0; margin-inline: auto;
  opacity: 0.16;
  z-index: 0;
}
.deco--cta-ring {
  width: clamp(140px, 16vw, 220px);
  top: -6%; right: 5%;
  opacity: 0.5;
  z-index: 0;
}
.deco--cta-blob {
  width: clamp(180px, 22vw, 320px);
  bottom: -8%; left: -8%;
  opacity: 0.45;
  z-index: 0;
}
.deco--footer-blob-l {
  width: clamp(200px, 24vw, 360px);
  bottom: -6%; left: -6%;
  opacity: 0.35;
}
.deco--footer-blob-r {
  width: clamp(200px, 24vw, 360px);
  top: -4%; right: -6%;
  opacity: 0.35;
  transform: scaleX(-1);
}
@media (max-width: 760px) {
  .deco--hero-blob { width: 58vw; opacity: 0.38; }
  .deco--cta-halo { width: 82vw; opacity: 0.12; }
  .deco--cta-ring { width: 30vw; }
  .deco--cta-blob { width: 40vw; }
  .deco--footer-blob-l, .deco--footer-blob-r { width: 48vw; opacity: 0.25; }
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.preloader__star { color: var(--accent); font-size: 30px; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader__name {
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: 0.34em; text-indent: 0.34em; font-size: 26px;
}
.preloader__tag {
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  letter-spacing: 0.42em; text-indent: 0.42em; color: var(--muted);
  text-transform: uppercase;
}
.preloader__bar { width: 170px; height: 3px; margin-top: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.preloader__fill {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 99px;
}

/* ═══════════ HEADER (píldora flotante) ═══════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; justify-content: center;
  padding: 18px clamp(16px, 4vw, 40px);
  pointer-events: none;
}
.header__pill {
  pointer-events: auto;
  width: min(1120px, 100%);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 22px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.header.is-scrolled .header__pill {
  background: rgba(12, 12, 16, 0.82);
  border-color: var(--line-pink);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 77, 157, 0.06);
}
.header__logo { display: flex; align-items: baseline; gap: 10px; }
.logo__star { color: var(--accent); font-size: 16px; align-self: center; }
.logo__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 19px; letter-spacing: 0.22em;
}
.logo__tag {
  font-family: var(--font-display); font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
}
.header__nav { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 14px); }
.nav__link {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 9px 14px; border-radius: 99px;
  transition: color 0.3s, background 0.3s;
}
.nav__link i {
  color: var(--accent); font-size: 9px; margin-right: 2px;
  opacity: 0; transform: scale(0); display: inline-block;
  transition: opacity 0.25s, transform 0.25s;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link:hover i { opacity: 1; transform: scale(1); }
.nav__link--cta {
  color: #0b0b0d;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 10px 22px;
  box-shadow: 0 6px 22px rgba(255, 77, 157, 0.35);
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}
.nav__link--cta i { opacity: 1; transform: scale(1); color: #0b0b0d; }
.nav__link--cta:hover {
  color: #0b0b0d; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 77, 157, 0.5);
  filter: brightness(1.06);
}

.header__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 12px;
}
.header__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s; }

/* ═══════════ MENÚ MÓVIL (overlay fuera del header, evita el bug de
   containing-block que backdrop-filter provoca en position:fixed) ═══════════ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 940;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  background: rgba(9, 9, 11, 0.98);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu__close {
  position: absolute; top: 20px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-pink);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text); font-size: 18px; line-height: 1;
  cursor: pointer; transition: border-color 0.3s, transform 0.3s;
}
.mobile-menu__close:hover { border-color: var(--accent); transform: rotate(90deg); }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text);
}
.mobile-menu__link i { color: var(--accent); font-size: 13px; margin-right: 8px; }
.mobile-menu__link--cta {
  margin-top: 12px;
  color: #17020c;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 14px 36px; border-radius: 99px;
}
.mobile-menu__link--cta i { color: #17020c; }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px clamp(20px, 5vw, 64px) 40px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.32; filter: saturate(1.1);
  transform: scale(1.1);
}
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 72% 28%, rgba(45, 80, 160, 0.28), transparent 70%),
    linear-gradient(to bottom, rgba(10,10,12,0.5), rgba(10,10,12,0.25) 50%, var(--bg));
}
.hero__glow--2 {
  background: radial-gradient(46% 40% at 18% 78%, rgba(255, 77, 157, 0.16), transparent 70%);
  mix-blend-mode: screen;
}
.hero__sparkles { position: absolute; inset: 0; pointer-events: none; }

.hero__content { position: relative; max-width: 1100px; z-index: 1; }
.hero__kicker { margin-bottom: 26px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 8.2vw, 116px);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.015em;
}
.hero__mask { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.hero__line { display: block; }
.hero__line--sub {
  font-size: clamp(24px, 4vw, 56px);
  color: var(--text); font-weight: 700; margin-top: 4px;
}
.hero__line--sub em {
  font-style: italic; color: var(--accent-2);
  text-shadow: 0 0 26px rgba(255, 77, 157, 0.45);
}
.hero__desc {
  margin-top: 28px; font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted); font-weight: 300;
}
.hero__desc b { color: var(--text); font-weight: 500; }
.hero__actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.04em;
  padding: 16px 34px; border-radius: 99px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%);
  color: #17020c;
  box-shadow: 0 10px 34px rgba(255, 77, 157, 0.4);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 48px rgba(255, 77, 157, 0.55);
  filter: brightness(1.05);
}
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-3px); }

.hero__media {
  position: relative;
  margin: clamp(50px, 8vh, 90px) auto 0;
  width: min(880px, 100%);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  outline: 1px solid rgba(255, 77, 157, 0.18);
  outline-offset: 5px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 80px rgba(255, 77, 157, 0.07);
}
.hero__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__media-label {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em;
  color: #17020c;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 7px 14px; border-radius: 99px;
  box-shadow: 0 6px 18px rgba(255, 77, 157, 0.4);
}
.hero__media-caption {
  position: absolute; left: 16px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(8px);
  padding: 9px 16px; border-radius: 99px;
}
.hero__media-eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 12px; }
.hero__media-eq i {
  width: 2.5px; background: var(--accent); border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
}
.hero__media-eq i:nth-child(1) { height: 45%; animation-delay: 0s; }
.hero__media-eq i:nth-child(2) { height: 90%; animation-delay: 0.18s; }
.hero__media-eq i:nth-child(3) { height: 60%; animation-delay: 0.36s; }
.hero__media-eq i:nth-child(4) { height: 100%; animation-delay: 0.52s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
.hero__media-4k {
  font-family: var(--font-display); font-weight: 700;
  color: var(--accent-2);
  border: 1px solid var(--line-pink); border-radius: 6px;
  padding: 1px 7px; font-size: 10.5px;
}

.hero__scrollhint {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s;
}
.hero__scrollhint:hover { color: var(--accent-2); }
.hero__scrollline { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero__scrollline::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: scrolldrop 1.8s ease-in-out infinite;
}
@keyframes scrolldrop { to { top: 110%; } }

/* Hero en dos columnas para pantallas amplias: texto e reel lado a lado,
   evita que el bloque apilado exceda la altura del viewport y quede
   descompensado (video cortado por el fold). */
@media (min-width: 1100px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(40px, 5vw, 90px);
    padding-top: 138px;
  }
  .hero__content { max-width: 620px; }
  .hero__title { font-size: clamp(42px, 4.6vw, 80px); }
  .hero__line--sub { font-size: clamp(22px, 2.2vw, 32px); margin-top: 6px; }
  .hero__desc { max-width: 520px; }
  .hero__media { margin: 0; width: 100%; }
  .hero__scrollhint { left: 50%; }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 20px 0; overflow: hidden;
  background: var(--bg-2);
}
.marquee__track { display: flex; white-space: nowrap; width: max-content; }
.marquee__track span {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}

/* ═══════════ CABECERAS DE SECCIÓN ═══════════ */
.section-kicker { margin-bottom: 22px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 74px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.04;
}
.section-title--xl { font-size: clamp(44px, 7vw, 96px); line-height: 0.98; }
.section-sub { color: var(--muted); margin-top: 18px; max-width: 560px; font-weight: 300; }
.section-sub b { color: var(--accent-2); font-weight: 500; }

/* ═══════════ TRABAJOS ═══════════ */
.works {
  padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 64px);
  display: grid; gap: clamp(110px, 16vh, 200px);
}
.project {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.4fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.project--flip .project__info { order: 2; }
.project--flip .project__gallery { order: 1; }

.project__info { position: sticky; top: 120px; }
.project__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800; line-height: 1.1;
  margin-top: 20px;
}
.project__tags {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2);
}
.project__desc { margin-top: 18px; color: var(--muted); max-width: 480px; font-weight: 300; font-size: 15px; }
.project__meta {
  list-style: none;
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 10px 18px;
}
.project__meta li {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 99px;
  padding: 7px 15px;
  white-space: nowrap;
  transition: border-color 0.3s;
}
.project__meta li:hover { border-color: var(--line-pink); }
.project__meta i { color: var(--accent); font-size: 9px; margin-right: 6px; }

.project__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.4s;
}
.tile:hover { border-color: var(--line-pink); }
.tile--wide { grid-column: 1 / -1; }
.tile img, .tile video {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.tile--wide img, .tile--wide video { aspect-ratio: 16 / 9; }
.tile:hover img, .tile:hover video { transform: scale(1.045); }
.tile figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 10, 12, 0.6); backdrop-filter: blur(8px);
  padding: 8px 15px; border-radius: 99px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.tile:hover figcaption { opacity: 1; transform: translateY(0); }

/* ═══════════ PROCESO (scrollytelling) ═══════════ */
.process { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.process__pin {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-content: center;
  padding: clamp(70px, 10vh, 110px) clamp(20px, 5vw, 64px);
}
.process__head { grid-column: 1 / -1; }
.process__stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  align-self: center;
  background: #000;
}
.process__layer { position: absolute; inset: 0; opacity: 0; }
.process__layer.is-active { opacity: 1; }
.process__layer img { width: 100%; height: 100%; object-fit: cover; }
.process__progress {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  height: 3px; background: rgba(255, 255, 255, 0.15); border-radius: 99px;
}
.process__progressfill {
  display: block; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 99px;
}
.process__steps { list-style: none; display: grid; gap: clamp(18px, 3vh, 30px); align-content: center; }
.process__step {
  border-left: 2px solid var(--line);
  padding: 6px 0 6px 22px;
  opacity: 0.35;
  transition: opacity 0.4s, border-color 0.4s;
}
.process__step.is-active { opacity: 1; border-color: var(--accent); }
.process__num {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.24em;
}
.process__step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 4px 0 4px; }
.process__step p { color: var(--muted); font-size: 14px; font-weight: 300; max-width: 380px; }

/* ═══════════ EXPERIMENTOS ═══════════ */
.experiments { padding: clamp(90px, 13vh, 160px) clamp(20px, 5vw, 64px); }
.experiments__head { text-align: center; margin-bottom: clamp(40px, 7vh, 70px); }
.experiments__head .section-sub { margin-inline: auto; font-style: italic; }
.experiments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.exp-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 1;
  transition: border-color 0.4s;
}
.exp-tile:hover { border-color: var(--line-pink); }
.exp-tile img, .exp-tile video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.exp-tile:hover img, .exp-tile:hover video { transform: scale(1.06); }
.exp-tile figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92), transparent);
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}
.exp-tile:hover figcaption { opacity: 1; transform: translateY(0); }
.exp-tile figcaption b {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: 0.02em;
}
.exp-tile figcaption span { font-size: 11.5px; color: var(--accent-2); letter-spacing: 0.06em; }

/* ═══════════ SERVICIOS ═══════════ */
.services {
  padding: clamp(90px, 13vh, 160px) clamp(20px, 5vw, 64px);
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.services__head { text-align: center; margin-bottom: clamp(46px, 8vh, 80px); }
.services__head .section-sub { margin-inline: auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  max-width: 1150px; margin-inline: auto;
}
.service {
  position: relative;
  text-align: center;
  padding: clamp(34px, 3.4vw, 50px) clamp(20px, 2.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: var(--panel);
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.service:hover {
  transform: translateY(-8px);
  border-color: var(--line-pink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 50px rgba(255, 77, 157, 0.06);
}
.service__num { position: absolute; top: 18px; left: 18px; }
.service__star {
  position: absolute; top: 18px; right: 20px;
  width: 20px; height: 20px;
  mix-blend-mode: screen;
  animation: spin 7s linear infinite;
  opacity: 0.85;
}
.service__media {
  width: 136px; height: 136px;
  margin: 14px auto 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  outline: 1px solid var(--line-pink);
  outline-offset: 7px;
  background: radial-gradient(circle, rgba(255, 77, 157, 0.1), transparent 70%);
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 22px;
  mix-blend-mode: screen;
}
.service h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 14px; font-weight: 300; }

/* ═══════════ CONTACTO ═══════════ */
.contact { padding: clamp(100px, 15vh, 180px) clamp(20px, 5vw, 64px); }
.contact__frame {
  position: relative;
  max-width: 1000px; margin-inline: auto;
  text-align: center;
  padding: clamp(60px, 9vw, 110px) clamp(24px, 5vw, 80px);
  border: 1px solid var(--line-pink);
  border-radius: calc(var(--radius) + 16px);
  background:
    radial-gradient(55% 60% at 50% 45%, rgba(255, 77, 157, 0.09), transparent 75%),
    var(--panel);
  overflow: hidden;
}
.contact__title { font-family: var(--font-display); line-height: 1; }
.contact__title span { display: block; }
.contact__pre {
  font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; color: var(--muted);
  letter-spacing: 0.02em;
}
.contact__big {
  font-size: clamp(64px, 11vw, 150px); font-weight: 800;
  letter-spacing: -0.01em; margin: 4px 0 6px;
}
.contact__post { font-size: clamp(24px, 3.4vw, 44px); font-weight: 700; }
.contact__post em { font-style: italic; }
.contact__sub { color: var(--muted); margin-top: 26px; font-weight: 300; font-size: clamp(14px, 1.6vw, 17px); }
.contact__sub b { color: var(--accent-2); font-weight: 500; }
.contact__underline {
  display: block; width: 130px; height: 2px; margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.contact__cards {
  margin-top: clamp(36px, 6vh, 56px);
  display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 28px);
  flex-wrap: wrap;
}
.contact-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 34px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(255, 77, 157, 0.18);
}
.contact-card__icon { font-size: 21px; color: var(--accent); }
.contact-card__value { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.contact-card__star { color: var(--accent); font-size: 10px; opacity: 0.7; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: clamp(70px, 10vh, 110px) clamp(20px, 5vw, 64px) 40px;
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 110%, rgba(255, 77, 157, 0.1), transparent 70%),
    var(--bg-2);
}
.footer__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 800; line-height: 1.02;
}
.footer__sub { color: var(--muted); font-weight: 300; margin-top: 18px; }
.footer__divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: clamp(30px, 5vh, 46px) auto;
  max-width: 520px;
  color: var(--accent);
}
.footer__divider i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-pink)); }
.footer__divider i + b + i,
.footer__divider b + i { background: linear-gradient(90deg, var(--line-pink), transparent); }
.footer__divider span { font-size: 7px; }
.footer__divider b { font-size: 15px; }
.footer__social { display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 12px 24px;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.footer__social a:hover { color: var(--accent-2); border-color: var(--line-pink); transform: translateY(-3px); }
.footer__social svg { width: 16px; height: 16px; }
.footer__social a i { color: var(--accent); font-size: 8px; }
.footer__copy { display: block; margin-top: clamp(36px, 6vh, 54px); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .project { grid-template-columns: 1fr; }
  .project__info { position: static; }
  .project--flip .project__info { order: 1; }
  .project--flip .project__gallery { order: 2; }
  .process__pin { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .process__steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .process__step { border-left: 0; border-top: 2px solid var(--line); padding: 14px 0 0; }
  .experiments__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .logo__tag { display: none; }
  .header__nav { display: none; }
  .header__burger { display: flex; z-index: 950; }
  .header__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .header__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .experiments__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; max-width: 420px; }
  .process__steps { grid-template-columns: 1fr; }
  .process__stage { aspect-ratio: 4 / 3; }
  .project__gallery { grid-template-columns: 1fr; }
  .project__meta { grid-template-columns: 1fr 1fr; }
  .project__meta li { white-space: normal; text-align: center; }
  .tile img, .tile video { aspect-ratio: 16 / 11; }
  .hero__scrollhint { display: none; }
  .contact-card { width: 100%; justify-content: center; }
}

/* ═══════════ ACCESIBILIDAD ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
