/* ============================================================
   YOKA RÓTULOS — style.css (v2 — Multi-página · Neon · Smooth)
   Paleta: #0A0A0A · #F5C400 · #FAFAFA · #1A1A1A
   Tipografía: Bebas Neue · Manrope
   ============================================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #0A0A0A;
  color: #FAFAFA;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --yellow:     #F5C400;
  --yellow-dim: rgba(245, 196, 0, 0.15);
  --black:      #0A0A0A;
  --dark:       #1A1A1A;
  --white:      #FAFAFA;
  --gray:       #888;
  --header-h:   72px;
  --radius:     4px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --t-fast:     0.2s;
  --t-mid:      0.35s;
  --t-slow:     0.6s;
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left:  clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}

.section-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 3rem;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity  0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  transition:
    background   var(--t-mid) var(--ease),
    color        var(--t-mid) var(--ease),
    transform    var(--t-mid) var(--ease),
    box-shadow   var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
  overflow: hidden;
}

/* ── Neon flicker on primary buttons (fast, frequent, noticeable) ── */
@keyframes btnFlicker {
  0%, 82%, 100% {
    box-shadow:
      0 0 8px  rgba(245, 196, 0, 0.5),
      0 0 24px rgba(245, 196, 0, 0.3),
      0 0 50px rgba(245, 196, 0, 0.15),
      inset 0 0 0 0 transparent;
    background: var(--yellow);
  }
  83% {
    box-shadow: none;
    background: #d4aa00;
  }
  85% {
    box-shadow:
      0 0 8px rgba(245, 196, 0, 0.6),
      0 0 24px rgba(245, 196, 0, 0.35);
    background: var(--yellow);
  }
  87% {
    box-shadow: none;
    background: #c9a300;
  }
  90% {
    box-shadow:
      0 0 12px rgba(245, 196, 0, 0.7),
      0 0 35px rgba(245, 196, 0, 0.4),
      0 0 60px rgba(245, 196, 0, 0.2);
    background: var(--yellow);
  }
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  animation: btnFlicker 3.5s ease-in-out infinite;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #ffd700;
  transform: translateY(-3px);
  animation: none;
  box-shadow:
    0 0 25px rgba(245, 196, 0, 0.7),
    0 0 60px rgba(245, 196, 0, 0.4),
    0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 250, 250, 0.25);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(245, 196, 0, 0.2);
}

.btn--large {
  font-size: 1.05rem;
  padding: 1.05rem 2.6rem;
}

/* ─── NEON EFFECTS ─── */

/*
  neonFlicker: SOLO se usa en el claim del hero ("se vea").
  En el resto de la web, el efecto neon va en .btn--primary (btnFlicker).
*/
@keyframes neonFlicker {
  0%, 88%, 100% {
    text-shadow:
      0 0 8px  var(--yellow),
      0 0 22px var(--yellow),
      0 0 50px rgba(245, 196, 0, 0.5);
    opacity: 1;
  }
  89% { opacity: 0.8; text-shadow: none; }
  91% { text-shadow: 0 0 8px var(--yellow); opacity: 1; }
  93% { opacity: 0.75; text-shadow: none; }
  95% {
    text-shadow: 0 0 8px var(--yellow), 0 0 22px var(--yellow);
    opacity: 1;
  }
}

.neon-flicker {
  color: var(--yellow);
  font-style: normal;
  animation: neonFlicker 4s ease-in-out infinite;
}

/* neon-glow: solo para el footer logo (suave, sin flicker) */
@keyframes neonGlow {
  0%, 100% { text-shadow: 0 0 6px rgba(245,196,0,0.4), 0 0 15px rgba(245,196,0,0.15); }
  50%       { text-shadow: 0 0 10px rgba(245,196,0,0.7), 0 0 28px rgba(245,196,0,0.3); }
}

/* neon-glow and neon-dot classes still defined but removed from all titles */
.neon-glow { color: var(--yellow); animation: neonGlow 4s ease-in-out infinite; }
.neon-dot  { color: var(--yellow); }

/* Neon dot — for the punctuation mark in section titles */
@keyframes neonDot {
  0%, 80%, 100% {
    text-shadow:
      0 0 6px  rgba(245, 196, 0, 0.6),
      0 0 20px rgba(245, 196, 0, 0.3);
    color: var(--yellow);
  }
  82% { color: rgba(245,196,0,0.6); text-shadow: none; }
  85% { color: var(--yellow); text-shadow: 0 0 6px var(--yellow); }
}

.neon-dot {
  animation: neonDot 5s ease-in-out infinite;
  color: var(--yellow);
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition:
    background      var(--t-mid) var(--ease),
    backdrop-filter var(--t-mid) var(--ease),
    border-color    var(--t-mid) var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.header__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  flex-shrink: 0;
  transition: text-shadow var(--t-mid) var(--ease);
  text-shadow: 0 0 20px rgba(245, 196, 0, 0.25);
}

.header__logo:hover {
  text-shadow:
    0 0 15px rgba(245, 196, 0, 0.7),
    0 0 40px rgba(245, 196, 0, 0.3);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.6);
  position: relative;
  transition: color var(--t-mid) var(--ease);
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  box-shadow: 0 0 6px var(--yellow);
  transition: width var(--t-mid) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header__cta { margin-left: 1rem; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   PAGE INTRO (shared padding for all inner pages)
   ============================================================ */
.page-intro {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(5rem, 10vw, 9rem);
}


/* ============================================================
   HERO (index.html)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.32) saturate(0.6);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 10, 10, 0.78) 0%,
    rgba(10, 10, 10, 0.5)  45%,
    rgba(10, 10, 10, 0.9)  100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  padding-bottom: 5rem;
}

/* Wordmark entry animation */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(60px) skewY(1deg); }
  to   { opacity: 1; transform: translateY(0)    skewY(0deg); }
}

.hero__wordmark-wrap { overflow: hidden; margin-bottom: 1.5rem; }

.hero__wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 14vw, 18rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--yellow);
  text-shadow:
    0 0 40px rgba(245, 196, 0, 0.28),
    0 0 80px rgba(245, 196, 0, 0.12);
  animation: heroSlideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

.hero__claim {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 400;
  color: rgba(250, 250, 250, 0.85);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 2.5rem;
  animation: heroSlideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroSlideUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.55s;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(250, 250, 250, 0.35);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color var(--t-mid) var(--ease);
  animation: heroSlideUp 1s ease both;
  animation-delay: 1.1s;
  z-index: 2;
}

.hero__scroll-indicator:hover { color: var(--yellow); }

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
.hero__scroll-indicator svg { animation: bounceY 2.2s var(--ease) infinite; }


/* ============================================================
   SCROLL BEFORE/AFTER (pinned — index.html only)
   ============================================================ */
.scroll-ba {
  /* The scroll space — user scrolls through this */
  height: 280vh;
  position: relative;
}

.scroll-ba__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

/* Contenedores de imagen: cuadrado centrado (las imágenes son 1024x1024) */
.scroll-ba__before,
.scroll-ba__after {
  position: absolute;
  /* Toma el mínimo entre el alto y ancho del viewport para que la imagen cuadrada quepa siempre */
  width:  min(100vh, 100vw);
  height: min(100vh, 100vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Marco amarillo neón decorativo */
  box-shadow: 
    0 0 0 1px var(--yellow), 
    0 0 30px rgba(245, 196, 0, 0.25), 
    0 0 60px rgba(245, 196, 0, 0.1);
  border: 4px solid var(--black);
}

.scroll-ba__before img,
.scroll-ba__after img {
  /*
    Las imágenes son 1024x1024 (cuadradas).
    Usamos object-fit: contain para que se vean completas.
    El contenedor es 100vw x 100vh (16:9 aprox.), así que la imagen
    queda centrada con franjas negras a los lados — que se funden
    con el fondo negro de la página.
  */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* "Before" is behind, "after" is on top and clips in from the left */
.scroll-ba__before { z-index: 1; }
.scroll-ba__after  {
  z-index: 2;
  clip-path: inset(0 100% 0 0); /* starts fully hidden (right) */
  will-change: clip-path;
}

/* Leve oscurecimiento en before para dar contraste */
.scroll-ba__before::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.25);
  z-index: 1;
}

/* Slight colour-grade on the "after" image for warmth */
.scroll-ba__after::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.2) 0%,
    transparent 40%,
    rgba(10,10,10,0.5) 100%
  );
  z-index: 1;
}

/* Línea divisoria vertical — abarca todo el pin (no el contenedor de imagen) */
.scroll-ba__line {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--yellow);
  box-shadow: 0 0 20px rgba(245,196,0,0.8), 0 0 50px rgba(245,196,0,0.4);
  z-index: 20;
  left: 50%; /* se mueve con JS */
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  will-change: left;
}

/* Handle circle on the line */
.scroll-ba__handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  box-shadow: 0 0 25px rgba(245,196,0,0.7);
  animation: btnFlicker 2.5s ease-in-out infinite;
}

/* Labels */
.scroll-ba__labels {
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
}

.scroll-ba__label {
  position: absolute;
  bottom: 2.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  padding: 0.4rem 1.1rem;
  border-radius: 3px;
  transition: opacity 0.5s var(--ease);
}

.scroll-ba__label--before {
  left: 2rem;
  background: rgba(10,10,10,0.75);
  color: rgba(250,250,250,0.6);
  border: 1px solid rgba(255,255,255,0.12);
}

.scroll-ba__label--after {
  right: 2rem;
  background: var(--yellow);
  color: var(--black);
}

/* Central overlay text */
.scroll-ba__overlay-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 11;
  pointer-events: none;
}

.scroll-ba__tagline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
  line-height: 1;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

/* Fade-out overlay at bottom of pinned section */
.scroll-ba__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

/* ─ Paneles decorativos laterales ─ */

/*
  Los paneles llenan el espacio entre el borde del viewport
  y el contenedor de imagen cuadrado (min(100vh,100vw) centrado).
  Su ancho = calc((100vw - min(100vh, 100vw)) / 2)
*/
.scroll-ba__side {
  position: absolute;
  top: 0; bottom: 0;
  width: calc((100vw - min(100vh, 100vw)) / 2);
  z-index: 6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-ba__side--left  { left: 0; }
.scroll-ba__side--right { right: 0; }

/* Fondo punteado — grid de puntos muy sutiles */
.scroll-ba__side-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245,196,0,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
}

/* Izquierdo: más oscuro y frío (estado "antes") */
.scroll-ba__side--left  { background: #0b0b0b; }
/* Derecho: leve calidez de neón (estado "después") */
.scroll-ba__side--right { background: #0c0a00; }

/* Decoraciones abstractas y limpias */
.scroll-ba__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.scroll-ba__shape {
  position: absolute;
  border: 1px solid rgba(245, 196, 0, 0.25);
  background: transparent;
}

/* Izquierda: formas amarillas brillantes con brillo neón */
.scroll-ba__side--left .scroll-ba__shape {
  border-color: var(--yellow);
  box-shadow: 
    0 0 10px rgba(245, 196, 0, 0.25),
    0 0 25px rgba(245, 196, 0, 0.08),
    inset 0 0 8px rgba(245, 196, 0, 0.1);
}

/* Derecha: formas amarillas con diferente brillo neón */
.scroll-ba__side--right .scroll-ba__shape--glow {
  border-color: var(--yellow);
  box-shadow: 
    0 0 12px rgba(245, 196, 0, 0.35),
    0 0 30px rgba(245, 196, 0, 0.12),
    inset 0 0 10px rgba(245, 196, 0, 0.2);
}

/* Rectángulo girado decorativo (diferentes tamaños y rotaciones en cada lado) */
.scroll-ba__shape--rect {
  width: 100px;
  height: 60px;
  top: 15%;
  left: 35%;
  transform: rotate(-25deg);
}
.scroll-ba__side--right .scroll-ba__shape--rect {
  width: 80px;
  height: 80px;
  top: 65%;
  left: 50%;
  transform: rotate(55deg);
}

/* Círculo decorativo */
.scroll-ba__shape--circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  top: 60%;
  left: 15%;
}
.scroll-ba__side--right .scroll-ba__shape--circle {
  width: 110px;
  height: 110px;
  top: 20%;
  left: 25%;
}

/* Línea diagonal decorativa */
.scroll-ba__shape--line {
  width: 160px;
  height: 1px;
  top: 40%;
  left: 20%;
  transform: rotate(30deg);
}
.scroll-ba__side--right .scroll-ba__shape--line {
  width: 120px;
  height: 1px;
  top: 75%;
  left: 10%;
  transform: rotate(-35deg);
}

/* Líneas horizontales decorativas */
.scroll-ba__side-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 4rem 0;
  pointer-events: none;
  z-index: 1;
}

.scroll-ba__side-lines span {
  display: block;
  height: 1px;
  width: 100%;
}

.scroll-ba__side--left  .scroll-ba__side-lines span {
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
}

.scroll-ba__side--right .scroll-ba__side-lines span {
  background: linear-gradient(to right, transparent, rgba(245,196,0,0.08), transparent);
}

/* Borde luminoso hacia la imagen */
.scroll-ba__side-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  z-index: 3;
}

.scroll-ba__side-edge--right {
  right: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.06) 25%,
    rgba(255,255,255,0.1)  50%,
    rgba(255,255,255,0.06) 75%,
    transparent 100%
  );
}

.scroll-ba__side-edge--left {
  left: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(245,196,0,0.12) 25%,
    rgba(245,196,0,0.2)  50%,
    rgba(245,196,0,0.12) 75%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(245,196,0,0.15);
}

/* Degradado radial de glow en el panel derecho */
.scroll-ba__side--right::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  width: 100%; height: 60%;
  background: radial-gradient(ellipse at left, rgba(245,196,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Ocultar paneles en móvil (la imagen ya ocupa todo el ancho) */
@media (max-width: 600px) {
  .scroll-ba__side { display: none; }
}

/* ─ "Intro" bridge after the scroll-ba ─ */
.scroll-ba__bridge {
  padding: clamp(4rem, 8vw, 8rem) 0;
  text-align: center;
  background: var(--black);
}


.scroll-ba__bridge .section-label { text-align: center; }
.scroll-ba__bridge .section-title  { text-align: center; max-width: 800px; margin: 0 auto 2rem; }


/* ============================================================
   SERVICIOS PAGE
   ============================================================ */
.servicios-page {
  background: var(--dark);
}

.servicios-page .page-hero {
  background: var(--black);
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.servicios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark);
  padding: 0 0 clamp(5rem, 10vw, 9rem);
}

.servicio-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.2rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* cursor: default — no es un enlace, es informativo */
  cursor: default;
  transition:
    background  var(--t-mid) var(--ease),
    border-left var(--t-mid) var(--ease);
  position: relative;
  border-left: 3px solid transparent;
  outline: none;
}

.servicio-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.06); }
.servicio-item:nth-last-child(-n+2) { border-bottom: none; }

.servicio-item:hover {
  background: rgba(245, 196, 0, 0.04);
  border-left-color: var(--yellow);
}

.servicio-item:hover .servicio-item__name { color: var(--yellow); }

.servicio-item:hover .servicio-item__icon svg {
  stroke: var(--yellow);
  filter: drop-shadow(0 0 8px rgba(245, 196, 0, 0.6));
}

.servicio-item:hover .servicio-item__name {
  text-shadow: 0 0 20px rgba(245,196,0,0.3);
}

.servicio-item__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
}

.servicio-item__icon svg {
  width: 46px; height: 46px;
  stroke: rgba(245, 196, 0, 0.65);
  transition: stroke var(--t-mid) var(--ease), filter var(--t-mid) var(--ease);
}

.servicio-item__body { flex: 1; min-width: 0; }

.servicio-item__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  letter-spacing: 0.03em;
  color: var(--white);
  transition: color var(--t-mid) var(--ease), text-shadow var(--t-mid) var(--ease);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.servicio-item__desc {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Arrow removed — no navigation affordance */


/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-page {
  background: var(--black);
  min-height: 100vh;
}

.portfolio-page .page-hero {
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.03);
  margin-top: 0;
}

.portfolio-card {
  position: relative;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.portfolio-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: brightness(0.88) saturate(0.8);
}

/* Yellow neon overlay on hover */
.portfolio-card__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(245, 196, 0, 0);
  transition: background 0.4s var(--ease);
  z-index: 1;
}

.portfolio-card:hover .portfolio-card__img-wrap::after {
  background: rgba(245, 196, 0, 0.08);
}

.portfolio-card:hover .portfolio-card__img-wrap img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1);
}

.portfolio-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.09em;
  color: var(--white);
  padding: 0.9rem 1rem 1rem;
  transition: color var(--t-mid) var(--ease), text-shadow var(--t-mid) var(--ease);
  background: var(--black);
  position: relative;
  z-index: 2;
}

.portfolio-card:hover .portfolio-card__name {
  color: var(--yellow);
  text-shadow: 0 0 15px rgba(245,196,0,0.35);
}


/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.nosotros-page {
  background: var(--dark);
}

.nosotros-page .page-hero {
  background: var(--black);
  padding: calc(var(--header-h) + 5rem) 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nosotros__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.nosotros__lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.nosotros__body {
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.55);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.nosotros__pillars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.nosotros__pillars li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.7);
  transition: color var(--t-mid) var(--ease);
}

.nosotros__pillars li:hover { color: var(--white); }

.pillar__icon {
  color: var(--yellow);
  font-size: 0.65rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(245,196,0,0.8));
}

.nosotros__img-frame { position: relative; }

.nosotros__img-frame > img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  filter: brightness(0.88);
  transition: filter var(--t-slow) var(--ease);
}

.nosotros__img-frame:hover > img { filter: brightness(0.95); }

.nosotros__img-accent {
  position: absolute;
  bottom: -2.5rem; right: -2.5rem;
  width: 55%;
  border: 4px solid var(--dark);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transition: transform var(--t-slow) var(--ease);
}

.nosotros__img-frame:hover .nosotros__img-accent {
  transform: translateY(-4px) translateX(-4px);
}

.nosotros__img-accent img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}


/* ============================================================
   CTA FINAL + CONTACTO PAGE
   ============================================================ */
.contacto-page {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cta-final {
  flex: 1;
  padding: clamp(7rem, 14vw, 14rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Neon radial background */
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.08) 0%, transparent 68%);
  pointer-events: none;
  animation: neonGlow 4s ease-in-out infinite;
}

/* Extra subtle neon ring */
.cta-final::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 350px; height: 350px;
  border: 1px solid rgba(245,196,0,0.1);
  border-radius: 50%;
  pointer-events: none;
  animation: neonGlow 4s ease-in-out infinite reverse;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}

.cta-final__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
  text-shadow: 0 0 15px rgba(245,196,0,0.4);
}

.cta-final__headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 8vw, 8rem);
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 3rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
}

.footer__brand { display: flex; flex-direction: column; gap: 0.25rem; }

.footer__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  animation: neonGlow 5s ease-in-out infinite;
}

.footer__tagline {
  font-size: 0.73rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 250, 0.45);
  transition: color var(--t-mid) var(--ease), text-shadow var(--t-mid) var(--ease);
}

.footer__social:hover {
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(245,196,0,0.4);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
  text-align: center;
}

.footer__bottom-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.2);
}

.footer__bottom-links a {
  color: rgba(250, 250, 250, 0.45);
  transition: color var(--t-mid) var(--ease), text-shadow var(--t-mid) var(--ease);
}

.footer__bottom-links a:hover {
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(245, 196, 0, 0.5);
}


.footer__bottom p {
  font-size: 0.72rem;
  color: rgba(250, 250, 250, 0.2);
  letter-spacing: 0.05em;
}

.footer__creator {
  margin-top: 0.6rem;
  font-size: 0.8rem !important;
  color: rgba(250, 250, 250, 0.5);
  letter-spacing: 0.04em;
}

.footer__creator a {
  color: rgba(250, 250, 250, 0.85);
  font-weight: 700;
  text-decoration: underline;
  transition: color var(--t-mid) var(--ease), text-shadow var(--t-mid) var(--ease);
}

.footer__creator a:hover {
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(245, 196, 0, 0.5);
}



/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {

  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }

  .header__nav.nav-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .header__nav.nav-open .nav__link {
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--white);
  }

  .servicios__grid { grid-template-columns: 1fr; }
  .servicio-item:nth-child(odd) { border-right: none; }
  .servicio-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .servicio-item:last-child { border-bottom: none; }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }

  .nosotros__layout { grid-template-columns: 1fr; gap: 4rem; }
  .nosotros__img-accent { right: -1rem; bottom: -1.5rem; }

  .scroll-ba__tagline { font-size: clamp(1.5rem, 6vw, 3rem); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 540px)
   ============================================================ */
@media (max-width: 540px) {

  :root { --header-h: 60px; }

  .hero__wordmark { font-size: clamp(4rem, 20vw, 6.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .section-title { font-size: clamp(2.2rem, 10vw, 3rem); }

  .portfolio__grid { grid-template-columns: 1fr; }

  .servicio-item { padding: 1.5rem 1rem; }

  .nosotros__img-accent {
    position: static;
    width: 100%; margin-top: 1rem;
    border: none; box-shadow: none;
  }

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .cta-final__headline { font-size: clamp(2.2rem, 12vw, 3.5rem); }

  .btn--large { width: 100%; justify-content: center; }

  .scroll-ba__label { font-size: 0.8rem; padding: 0.3rem 0.7rem; }
}

/* ============================================================
   NETFLIX + NEON LOADER (RED EDITION)
   ============================================================ */
.yoka-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: all;
}

.yoka-loader-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.yoka-loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  will-change: transform, filter, opacity;
}

/* Netflix Zoom-in */
.yoka-loader-logo.netflix-zoom {
  animation: netflixZoom 0.8s cubic-bezier(0.5, 0, 0.7, 0.4) forwards;
}

.yoka-loader-wordmark {
  display: flex;
  gap: 0.12em;
}

.yoka-loader-wordmark span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5.5rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(229, 9, 20, 0.04); /* Netflix red off */
  text-shadow: none;
  transform: scale(0.9);
  display: inline-block;
  opacity: 0.8;
  will-change: transform, opacity, color, text-shadow;
}

/* Sequential Flicker animation */
.yoka-loader-wordmark span:nth-child(1) {
  animation: neonRedFlicker 1.3s ease-in-out forwards;
  animation-delay: 0.1s;
}
.yoka-loader-wordmark span:nth-child(2) {
  animation: neonRedFlicker 1.2s ease-in-out forwards;
  animation-delay: 0.3s;
}
.yoka-loader-wordmark span:nth-child(3) {
  animation: neonRedFlicker 1.4s ease-in-out forwards;
  animation-delay: 0.2s;
}
.yoka-loader-wordmark span:nth-child(4) {
  animation: neonRedFlicker 1.3s ease-in-out forwards;
  animation-delay: 0.4s;
}

.yoka-loader-sub {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.7rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.5em;
  color: rgba(250, 250, 250, 0.03); /* off */
  margin-top: -0.5rem;
  text-transform: uppercase;
  animation: subFlickerOn 1.1s ease-in-out forwards;
  animation-delay: 0.7s;
  will-change: color, text-shadow;
}

@keyframes neonRedFlicker {
  0%, 15%, 25%, 35%, 45%, 55%, 65% {
    color: rgba(229, 9, 20, 0.04);
    text-shadow: none;
    transform: scale(0.9);
    opacity: 0.8;
  }
  16%, 26%, 36%, 46%, 56%, 66% {
    color: #E50914; /* Netflix Red */
    text-shadow: 
      0 0 10px rgba(229, 9, 20, 0.8),
      0 0 20px rgba(229, 9, 20, 0.5),
      0 0 30px rgba(229, 9, 20, 0.3);
    transform: scale(1.02);
    opacity: 1;
  }
  18%, 28%, 38%, 48%, 58%, 68% {
    color: rgba(229, 9, 20, 0.08);
    text-shadow: none;
    transform: scale(0.95);
    opacity: 0.8;
  }
  75%, 100% {
    color: #E50914;
    text-shadow:
      0 0 15px rgba(229, 9, 20, 0.95),
      0 0 30px rgba(229, 9, 20, 0.75),
      0 0 50px rgba(229, 9, 20, 0.5),
      0 0 80px rgba(229, 9, 20, 0.3);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes subFlickerOn {
  0%, 20%, 40%, 60% {
    color: rgba(250, 250, 250, 0.03);
    text-shadow: none;
  }
  21%, 41%, 61% {
    color: var(--white);
    text-shadow: 0 0 8px rgba(250, 250, 250, 0.6);
  }
  70%, 100% {
    color: var(--white);
    text-shadow: 
      0 0 10px rgba(250, 250, 250, 0.5),
      0 0 20px rgba(250, 250, 250, 0.2);
  }
}

/* Netflix projection zoom-in */
@keyframes netflixZoom {
  0% {
    transform: scale(1);
    filter: blur(0px) brightness(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.15);
    filter: blur(1px) brightness(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(25);
    filter: blur(20px) brightness(2);
    opacity: 0;
  }
}


