/* ============================================================
   BAONE Portfolio — style.css
   Stack: HTML5 + CSS3 vanilla, sin frameworks
   ============================================================ */

/* ---- WhatsApp flotante (global) ---- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 4000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
@media (max-width: 600px) {
  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ---- Bocadillo WhatsApp ---- */
.wa-bubble {
  position: fixed;
  bottom: 30px;
  right: 90px;
  z-index: 3999;
  background: #fff;
  color: #111;
  font-family: var(--font-body, sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}
.wa-bubble.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 600px) {
  .wa-bubble {
    bottom: 18px;
    right: 76px;
    font-size: 0.74rem;
    padding: 8px 12px;
  }
}

/* ---- WhatsApp Options Overlay ---- */
.wa-options {
  position: fixed;
  bottom: 92px;
  right: 22px;
  z-index: 4001;
  width: 340px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  padding: 18px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wa-options.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-options__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-options__title {
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.wa-options__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin: 0;
  transition: color 0.2s ease;
}

.wa-options__close:hover {
  color: #FFD700;
}

.wa-options__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-options__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wa-options__item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: #25D366;
  transform: translateY(-2px);
}

.wa-options__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  font-family: var(--font-body, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

.wa-options__text {
  font-family: var(--font-body, sans-serif);
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  transition: color 0.2s ease;
}

.wa-options__item:hover .wa-options__text {
  color: #fff;
}

@media (max-width: 600px) {
  .wa-options {
    width: calc(100vw - 32px);
    bottom: 78px;
    right: 16px;
    padding: 14px;
  }
  .wa-options__item {
    padding: 10px 12px;
    gap: 10px;
  }
  .wa-options__text {
    font-size: 0.76rem;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --color-bg:             #0A0A0A;
  --color-bg-alt:         #111111;
  --color-text:           #FFFFFF;
  --color-text-soft:      #B0B0B0;
  --color-accent:         #FFD700;
  --color-accent-dark:    #E6C200;
  --color-overlay:        rgba(0, 0, 0, 0.32);
  --color-overlay-hover:  rgba(0, 0, 0, 0.18);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --header-h:        70px;
  --ease-fast:       300ms ease;
  --ease-medium:     600ms ease;
  --ease-slow:       800ms ease;
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============================================================
   RESET MÍNIMO
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
  /* Scroll snap SOLO en homepage via clase .snap-page */
}

/* Snap activo únicamente en la homepage — JS controla el scroll */
html.snap-page {
  overflow-y: scroll;     /* Necesario para que scrollTo funcione */
  scrollbar-width: none;  /* Ocultar scrollbar (Firefox) */
}
html.snap-page::-webkit-scrollbar {
  display: none;          /* Ocultar scrollbar (Chrome/Safari) */
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   PRELOADER — Pantalla de entrada artística "click to enter"
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: opacity 0.5s ease;
}

#preloader.is-leaving {
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  /* El inner no captura el click — lo captura el propio #preloader */
  pointer-events: none;
  will-change: opacity;
}

/* Logo — materialización cinematográfica: emerge de la oscuridad enfocándose */
.preloader__logo {
  width: clamp(180px, 32vw, 300px);
  height: auto;
  opacity: 0;
  animation: preloader-logo-in 1.2s ease-out 0.1s forwards;
  /* will-change mejora rendimiento del blur animado */
  will-change: transform, opacity, filter;
}

@keyframes preloader-logo-in {
  from {
    opacity: 0;
    transform: scale(1.1);
    filter: brightness(0) invert(1) blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: brightness(0) invert(1) blur(0px);
  }
}

/* "haz clic" — parpadeo errático tipo neón que falla */
.preloader__hint {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.2vw, 0.82rem);
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.75);
  /* Empieza invisible, parpadeo arranca tras aparecer el logo */
  opacity: 0;
  animation: neon-flicker 3.2s linear infinite;
  animation-delay: 0.9s;
}

/*
  Parpadeo neón irregular: visible largo, fallo corto, visible,
  apagado doble, etc. Simula fluorescente que falla.
  Duración: 3.2s en loop.
*/
@keyframes neon-flicker {
  /*  Encendido inicial */
  0%     { opacity: 0.82; }
  /* Primer fallo corto (~0.16s de apagado) */
  5%     { opacity: 0.82; }
  5.5%   { opacity: 0;    }
  6%     { opacity: 0.82; }
  /* Estable ~0.7s */
  7%     { opacity: 0.75; }
  28%    { opacity: 0.78; }
  /* Doble fallo rápido */
  28.5%  { opacity: 0;    }
  29%    { opacity: 0.7;  }
  29.4%  { opacity: 0;    }
  29.8%  { opacity: 0.8;  }
  /* Estable largo ~1s */
  30%    { opacity: 0.80; }
  60%    { opacity: 0.76; }
  /* Apagado + titubeo */
  60.5%  { opacity: 0;    }
  60.8%  { opacity: 0.4;  }
  61%    { opacity: 0;    }
  61.5%  { opacity: 0.78; }
  /* Estable ~0.6s */
  62%    { opacity: 0.78; }
  80%    { opacity: 0.80; }
  /* Apagado brusco único */
  80.5%  { opacity: 0;    }
  81%    { opacity: 0.82; }
  /* Fin del ciclo, estable */
  100%   { opacity: 0.82; }
}

/* ============================================================
   HEADER FIJO
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  /* Sin fondo — flota sobre las secciones */
}

/* ---- Logo ---- */
.header__logo-link {
  display: flex;
  align-items: center;
  z-index: 801;
}

.header__logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  cursor: pointer;
  /* La animación de entrada se aplica via JS (.logo-anim) y se retira al acabar */
  opacity: 1;
}

/* Clase temporal que JS añade solo durante la carga inicial */
.header__logo.logo-anim {
  animation: logo-fadein 0.9s var(--ease-out-quart) 0.4s both;
}

/* Solo animación al cargar — sin bucle continuo */
@keyframes logo-fadein {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* El shake en hover lo gestiona JS (initLogoAnim) para evitar re-trigger del fadein al hover-out */

@keyframes logo-shake {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-2px, 0px); }
  40%  { transform: translate(2px, 1px); }
  60%  { transform: translate(-1px, -1px); }
  80%  { transform: translate(1px, 0px); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   NAVEGACIÓN HORIZONTAL (reemplaza hamburguesa)
   ============================================================ */
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  z-index: 801;
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out-quart);
}

.header__nav-link:hover {
  color: rgba(255, 255, 255, 1);
}
.header__nav-link:hover::after {
    transform: scaleX(1);
  }

/* Compound BIO/OBRA */
.header__nav-compound {
  display: inline-flex;
  align-items: center;
}
.header__nav-slash {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  margin: 0 1px;
  letter-spacing: 0;
}

/* Separador visual entre links de nav */
.header__nav-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

/* Selector de idioma */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: clamp(12px, 2vw, 28px);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.2s ease;
  text-transform: uppercase;
}
.lang-btn:hover,
.lang-btn.is-active {
  color: rgba(255,255,255,0.9);
}
.lang-divider {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0;
}

/* En móvil ≤600px: ocultar email (el hamburger menu gestiona el resto) */
@media (max-width: 600px) {
  .header__nav-link--email {
    display: none;
  }
}

/* ============================================================
   HOMEPAGE — SECCIONES FULLSCREEN (SLIDER)
   ============================================================ */
.section {
  position: relative;
  width: 100vw;
  height: 100vh;         /* Exactamente 100vh — el JS evita quedar entre secciones */
  overflow: hidden;
  cursor: pointer;
  /* Sin scroll-snap: el hijacking JS lo gestiona */
}

/* Sección hero: sin cursor pointer */
.section--hero {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer: altura auto — único que no es 100vh */
.section--footer {
  height: auto;
  min-height: auto;
  cursor: default;
}

/* ---- Sección Muro (reemplaza about-teaser en index) ---- */
.section--muro {
  background: #0a0a0a;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 0;
}

.muro__question {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 0.9;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.muro__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 28px;
  transition: background 0.3s ease, border-color 0.3s ease;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.muro__wa:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.muro__wa-icon { width: 18px; height: 18px; }

.muro__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.muro__link {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s ease;
}

.muro__link:hover { color: rgba(255,255,255,0.85); }

.muro__contacts-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
}

/* ---- Página Proyectos ---- */
.proyectos-page {
  min-height: 100vh;
  background: #0a0a0a;
  padding: calc(var(--header-h) + 60px) clamp(20px, 6vw, 80px) 80px;
}

.proyectos-page__title {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: clamp(40px, 6vh, 70px);
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3px;
}

.proyectos-grid__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}

.proyectos-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-quart);
  display: block;
}

.proyectos-grid__item:hover .proyectos-grid__img {
  transform: scale(1.06);
}

.proyectos-grid__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.proyectos-grid__item:hover .proyectos-grid__overlay { opacity: 1; }

.proyectos-grid__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.proyectos-grid__item:hover .proyectos-grid__info {
  opacity: 1;
  transform: translateY(0);
}

.proyectos-grid__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.proyectos-grid__sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
}

@media (max-width: 600px) {
  .proyectos-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
}

/* ---- Imagen de fondo ---- */
.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform var(--ease-slow);
  z-index: 0;
}

.section:hover .section__bg {
  transform: scale(1.05);
}

/* ---- Overlay ---- */
.section__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  transition: background var(--ease-fast);
  z-index: 1;
}

.section:hover .section__overlay {
  background: var(--color-overlay-hover);
}

/* ---- Link que cubre toda la sección ---- */
.section__link-full {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
}

/* ============================================================
   HERO — TEXTO CENTRAL
   ============================================================ */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* Nombre "BAONE" */
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 16rem);
  letter-spacing: 0.08em;
  line-height: 0.85;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
  transition: opacity var(--ease-medium), transform var(--ease-medium);
  transition-delay: 0.1s;
}

.hero__role {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
  transition: opacity var(--ease-medium), transform var(--ease-medium);
  transition-delay: 0.3s;
}

.hero__agency {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.3vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
  transition: opacity var(--ease-medium), transform var(--ease-medium);
  transition-delay: 0.5s;
}

/* Transición vídeo detrás de la imagen principal */
.section__bg--vid {
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 2; /* Sobre la imagen pero debajo del overlay/texto */
  pointer-events: none;
  will-change: opacity;
}
.section.is-playing-video .section__bg--vid {
  opacity: 1;
}

/* Estado activo (IntersectionObserver añade .is-visible) */
.section.is-visible .hero__name,
.section.is-visible .hero__role,
.section.is-visible .hero__agency {
  opacity: 1;
  transform: translateY(0);
}

/* Indicador de scroll en hero */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity var(--ease-medium);
  transition-delay: 0.9s;
}

.section.is-visible .scroll-hint {
  opacity: 1;
}

.scroll-hint__line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.5) 100%);
  animation: scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.scroll-hint__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   BADGE AMARILLO DE PROYECTO
   ============================================================ */
.section__content {
  position: absolute;
  bottom: clamp(36px, 6vh, 72px);
  left:   clamp(28px, 5vw, 72px);
  z-index: 3;
}

.section__badge {
  display: inline-block;
  background: var(--color-accent);
  padding: 14px 22px 16px;
  transform: scale(0.75);
  transform-origin: left bottom;
  /* Las animaciones van sobre los elementos dentro del badge */
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  letter-spacing: 0.06em;
  color: #000000;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.1s;
}

.section__location {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 7px;
  opacity: 0;
  transform: translateY(26px);
  will-change: transform, opacity;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.25s;
}

.section__year {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 0.9vw, 0.78rem);
  font-weight: 300;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.12em;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(22px);
  will-change: transform, opacity;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.4s;
}

/* Texto visible al activar la sección */
.section.is-visible .section__title,
.section.is-visible .section__location,
.section.is-visible .section__year {
  opacity: 1;
  transform: translateY(0);
}

/* Número de sección (opcional, elegante) */
.section__num {
  position: absolute;
  top: calc(var(--header-h) + 24px);
  right: clamp(28px, 5vw, 72px);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  z-index: 3;
}

/* ============================================================
   PAGINACIÓN PUNTOS (lateral)
   ============================================================ */
.pagination {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--ease-fast);
}

.pagination.is-visible {
  opacity: 1;
}

.pagination__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background var(--ease-fast), transform var(--ease-fast);
  padding: 0;
}

.pagination__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.4);
}

.pagination__dot:hover {
  background: rgba(255,255,255,0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg-alt);
  padding: clamp(64px, 10vh, 120px) clamp(28px, 5vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(40px, 6vw, 80px);
}

.footer__col-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.footer__col-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-soft);
  line-height: 1.9;
}

.footer__col-text a {
  transition: color var(--ease-fast);
}

.footer__col-text a:hover {
  color: var(--color-text);
}

.footer__bottom {
  max-width: 1200px;
  margin: clamp(48px, 6vh, 80px) auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__credit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.1em;
}

.footer__gsa {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.1em;
  transition: color var(--ease-fast);
}
.footer__gsa:hover { color: rgba(255,255,255,0.45); }

/* ============================================================
   PÁGINAS DE DETALLE
   ============================================================ */

/* Hero del detalle */
.detail-hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
}

.detail-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

.detail-hero__content {
  position: absolute;
  bottom: clamp(28px, 5vh, 60px);
  left:   clamp(28px, 5vw, 72px);
  z-index: 2;
}

.detail-hero__badge {
  display: inline-block;
  background: var(--color-accent);
  padding: 16px 26px 18px;
}

.detail-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 7rem);
  letter-spacing: 0.06em;
  color: #000000;
  text-transform: uppercase;
  line-height: 1;
}

.detail-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

/* Contenido principal del detalle */
.detail-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vh, 100px) clamp(28px, 5vw, 80px);
}

/* Metadatos en grid */
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  margin-bottom: clamp(48px, 6vh, 80px);
  padding-bottom: clamp(48px, 6vh, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.detail-meta__label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.detail-meta__value {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.5;
}

/* Descripción */
.detail-description {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-text-soft);
  max-width: 680px;
  margin-bottom: clamp(56px, 8vh, 100px);
}

/* Galería */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1.5vw, 20px);
  margin-bottom: clamp(56px, 8vh, 100px);
}

.detail-gallery__item {
  overflow: hidden;
  line-height: 0; /* Elimina espacio bajo la imagen */
}

.detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
  aspect-ratio: 4 / 3;
}

.detail-gallery__item:hover img {
  transform: scale(1.03);
}

/* Imagen única: ancho completo */
.detail-gallery__item--full {
  grid-column: 1 / -1;
}

.detail-gallery__item--full img {
  aspect-ratio: 16 / 7;
}

/* Navegación prev/next */
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.detail-nav__link {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vh, 48px) clamp(28px, 4vw, 64px);
  background: var(--color-bg);
  transition: background var(--ease-fast);
}

.detail-nav__link + .detail-nav__link {
  border-left: 1px solid rgba(255,255,255,0.07);
}

.detail-nav__link:hover {
  background: var(--color-bg-alt);
}

.detail-nav__link--next {
  text-align: right;
  align-items: flex-end;
}

.detail-nav__direction {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.detail-nav__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-transform: uppercase;
  transition: color var(--ease-fast);
}

.detail-nav__link:hover .detail-nav__name {
  color: var(--color-accent);
}

/* Enlace "volver" si es el primero o último */
.detail-nav__link--solo {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   HAMBURGER MENU — Mobile (≤ 768px)
   ============================================================ */

/* Botón hamburguesa — oculto en desktop */
.mob-burger {
  display: none;
}

/* Overlay fullscreen del menú móvil */
.mob-menu {
  display: none;
}

/* Cluster derecho móvil — oculto en desktop */
.mob-header-right {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  /* ---- Fix 1: Free scroll on mobile (No Snap) ---- */
  html.snap-page, 
  html.snap-page body, 
  .snap-page .section, 
  * {
    scroll-behavior: auto !important; /* Prevent CSS smooth scroll from blocking gestures */
    scroll-snap-type: none !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    scroll-padding: unset !important;
    scroll-margin: unset !important;
  }

  #header {
    height: var(--header-h);
    padding: 0 clamp(16px, 4vw, 28px);
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Logo: tamaño fijo, jamás encoge */
  .header__logo-link {
    flex-shrink: 0;
    min-width: 80px;
  }

  .header__logo {
    height: 40px;
    flex-shrink: 0;
  }

  /* Nav principal: oculta — el overlay la muestra */
  .header__nav {
    display: none;
  }

  /* ---- Cluster derecho: lang-toggle + hamburger ---- */
  .mob-header-right {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Lang-toggle: visible en la barra */
  .lang-toggle {
    display: flex;
    align-items: center;
    margin-left: 0;
    gap: 2px;
  }

  .lang-btn {
    font-size: 0.68rem;
    padding: 12px 6px;   /* toca 44px verticalmente */
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ---- Botón hamburguesa ---- */
  .mob-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 1001;
  }

  .mob-burger__line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }

  /* Estado abierto — X */
  .mob-burger.is-open .mob-burger__line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .mob-burger.is-open .mob-burger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mob-burger.is-open .mob-burger__line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* ---- Overlay del menú ---- */
  .mob-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .mob-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
  }

  /* Links del overlay */
  .mob-menu__link {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    text-align: center;
  }

  .mob-menu__link:hover,
  .mob-menu__link:focus {
    color: #fff;
  }

  /* Separador sutil entre links */
  .mob-menu__sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    margin: 4px auto;
  }

  /* Cierre × en esquina superior derecha */
  .mob-menu__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
  }

  .mob-menu__close:hover {
    color: #fff;
  }

  /* ---- Resto de ajustes tablet ---- */
  .pagination {
    display: none;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery__item img,
  .detail-gallery__item--full img {
    aspect-ratio: 4 / 3;
  }

  .detail-gallery__item--full {
    grid-column: 1;
  }

  .detail-nav {
    grid-template-columns: 1fr;
  }

  .detail-nav__link + .detail-nav__link {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .detail-nav__link--next {
    text-align: left;
    align-items: flex-start;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ---- Móvil pequeño (≤ 480px) ---- */
@media (max-width: 480px) {
  .section__content {
    left: 18px;
    bottom: 28px;
  }

  .section__badge {
    padding: 10px 16px 12px;
  }

  .detail-hero__badge {
    padding: 12px 18px 14px;
  }

  .detail-content {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .menu__link {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

/* ---- Desktop grande (≥ 1440px) ---- */
@media (min-width: 1440px) {
  .section__content {
    left: 80px;
    bottom: 80px;
  }
}

/* ============================================================
   GALERÍA — cursor pointer en imágenes (lightbox)
   ============================================================ */
.detail-gallery__item img {
  cursor: zoom-in;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

#lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

#lightbox__img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-out-quart);
  display: block;
}

#lightbox.is-open #lightbox__img {
  transform: scale(1);
}

.lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: color var(--ease-fast);
  z-index: 9001;
}

.lightbox__close:hover {
  color: var(--color-accent);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 9001;
  user-select: none;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  z-index: 9001;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Reveal animation */
.about-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.about-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 1. HERO ---- */
.about-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  opacity: 1;
  transform: none;
  animation: about-hero-fade 1s ease both;
}
@keyframes about-hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.about-hero__img {
  overflow: hidden;
  position: relative;
}
.about-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  filter: grayscale(100%);
  transition: transform var(--ease-slow);
}
.about-hero__img:hover img {
  transform: scale(1.09);
}

.about-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4.5vw, 70px);
  padding-bottom: clamp(40px, 7vh, 90px);
  background: var(--color-bg);
  overflow: hidden;
}
.about-hero__alias {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.about-hero__name {
  font-family: var(--font-display);
  /* 5vw sobre el 45% de columna — no desborda a partir de ~600px */
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 32px;
  word-break: break-word;
  margin-left: -5px;
}
.about-hero__role {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 10px;
}
.about-hero__location {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* ---- 2. ORÍGENES ---- */
.about-origins {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vh, 140px) clamp(30px, 8vw, 110px);
  overflow: hidden;
  background: #111111;
}
/* Etiqueta encima del 2003 */
.about-origins__label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* 2003 como elemento gráfico de fondo */
.about-origins__num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 45vw;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.04;
  pointer-events: none;
  will-change: opacity;
  user-select: none;
  white-space: nowrap;
}
.about-origins__body {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.about-origins__text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* ---- 3. FORMACIÓN (ESDIP) ---- */
.about-esdip {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(70px, 12vh, 130px) clamp(30px, 8vw, 110px);
  background: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.about-esdip__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0;
}
.about-esdip__location {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 16px;
  margin-bottom: 0;
}
.about-esdip__sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 520px;
  margin-top: 24px;
}

/* ---- 4. GLOBAL STREET ART ---- */
.about-gsa {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(90px, 14vh, 160px) clamp(30px, 8vw, 110px);
  background: #0A0A0A;
}
.about-gsa__label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.about-gsa__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 0.9;
  margin-bottom: 40px;
}
.about-gsa__intro {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 640px;
  margin-bottom: 56px;
}
.about-gsa__intro strong {
  color: var(--color-text);
  font-weight: 400;
}

/* Marcas como links display — más pequeñas para caber en una línea */
.about-brands {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  overflow-x: hidden;
}

.about-brands__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  animation: marquee 45s linear infinite;
}

.about-brands:hover .about-brands__track {
  animation-play-state: paused;
}

.about-brands:hover .about-brands__item,
.about-brands:hover .about-brands__sep {
  opacity: 0.25;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about-brands__item {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: color 0.3s ease, background-size 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.about-brands__item:hover {
  color: var(--color-accent);
  background-size: 100% 2px;
  transform: scale(1.1);
  opacity: 1 !important;
}
.about-brands__sep {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  color: rgba(255, 215, 0, 0.35);
  padding: 0 20px;
  user-select: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.about-gsa__cities {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 16px;
  text-transform: uppercase;
}

/* ---- 5. PROYECTOS PARTICULARES ---- */
.about-private {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 85vh;
  background: var(--color-accent);
  overflow: hidden;
}
.about-private__col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 10vh, 120px) clamp(30px, 6vw, 80px);
}
.about-private__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0A0A0A;
  line-height: 0.92;
  margin-bottom: 24px;
}
.about-private__text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(10, 10, 10, 0.72);
  max-width: 480px;
}

/* Slider de proyectos particulares */
.about-private__slider {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  height: 100%;
}
/* Imágenes 3, 4 y 5 del carrusel giradas 90° a la derecha */
.about-private__slides .about-private__slide:nth-child(3) img,
.about-private__slides .about-private__slide:nth-child(4) img,
.about-private__slides .about-private__slide:nth-child(5) img {
  transform: rotate(90deg) scale(1.8);
  transform-origin: center center;
}
.about-private__slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.about-private__slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.about-private__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-orientation: none !important;
}
.about-private__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
  user-select: none;
}
.about-private__btn:hover { background: rgba(0,0,0,0.75); }
.about-private__btn--prev { left: 12px; }
.about-private__btn--next { right: 12px; }

/* ---- 6. PROYECTOS PERSONALES ---- */
.about-disciplines {
  display: flex;
  flex-direction: column;
  height: 90vh;
  background: #1a1a1a;
}
/* Contenedor de las 3 tarjetas */
.about-disciplines__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  flex: 1;
  min-height: 0;
}
/* Header de sección que abarca las 3 columnas */
.about-disciplines__header {
  background: #0A0A0A;
  padding: clamp(90px, 12vh, 150px) clamp(30px, 8vw, 110px) clamp(20px, 3vh, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.about-disciplines__label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.about-disciplines__intro { font-family: var(--font-body); font-size: clamp(0.9rem, 1.4vw, 1.05rem); font-weight: 300; line-height: 1.7; color: var(--color-text-soft); max-width: 680px; margin-top: 24px; }

.about-disciplines__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 0.95;
}

.about-discipline {
  background: #0A0A0A;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.about-disciplines.is-visible .about-discipline:nth-child(2) { transition-delay: 0.12s; }
.about-disciplines.is-visible .about-discipline:nth-child(3) { transition-delay: 0.24s; }

.about-discipline__img-wrap {
  overflow: hidden;
  flex: 1;
  background: #1a1a1a;
  min-height: 0;
}
.about-discipline__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: transform 0.7s ease, filter 0.4s ease;
}
.about-discipline:hover .about-discipline__img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.about-discipline__body {
  padding: clamp(18px, 2vw, 28px);
}
.about-discipline__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.about-discipline__text {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-soft);
}

/* ---- LIGHTBOX ---- */
.about-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease;
}
.about-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.about-lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.about-lightbox__img {
  max-height: 85vh;
  max-width: 90vw;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
  user-select: none;
}
.about-lightbox__img.is-loaded { opacity: 1; }
.about-lightbox__close {
  position: fixed;
  top: 22px;
  right: 28px;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 9001;
}
.about-lightbox__close:hover { color: var(--color-accent); }
.about-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 9001;
  user-select: none;
}
.about-lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.about-lightbox__prev { left: 20px; }
.about-lightbox__next { right: 20px; }
.about-lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  z-index: 9001;
}

/* ---- 7. CIERRE / CONTACTO ---- */
.about-close {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 12vh, 150px) clamp(30px, 8vw, 110px);
  background: #111111;
  border-top: 2px solid var(--color-accent);
}
.about-close__question {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 12rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 52px;
}
/* Botón WhatsApp */
.about-close__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--color-accent);
  padding: 16px 36px;
  border-radius: 2px;
  margin-bottom: 40px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.about-close__wa:hover {
  background: #fff;
  color: #0A0A0A;
  transform: translateY(-2px);
}
.about-close__wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.about-close__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.about-close__link {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.88rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--ease-fast);
}
.about-close__link:hover { color: var(--color-accent); }

/* ---- ABOUT RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .about-hero__img {
    height: 60vw;
    min-height: 320px;
  }
  .about-hero__text {
    justify-content: center;
    padding: clamp(40px, 8vw, 70px);
  }
  .about-private {
    grid-template-columns: 1fr;
  }
  .about-private__slider {
    min-height: 55vw;
  }
  .about-private__slides .about-private__slide img {
    transform: none !important;
    writing-mode: horizontal-tb !important;
    image-orientation: none !important;
  }
  .about-private__slides .about-private__slide:nth-child(3) img,
  .about-private__slides .about-private__slide:nth-child(4) img,
  .about-private__slides .about-private__slide:nth-child(5) img {
    transform: rotate(90deg) scale(1.8) !important;
    transform-origin: center center !important;
    writing-mode: horizontal-tb !important;
    image-orientation: none !important;
  }
  .about-disciplines {
    height: auto;
    min-height: 100vh;
  }
  .about-disciplines__cards {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .about-discipline {
    overflow: visible; /* Ensure text doesn't clip */
  }
  .about-discipline__img-wrap {
    height: 55vw;
    min-height: 260px;
  }
  .about-brands {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .about-origins__num {
    font-size: 60vw;
  }
  .about-brands__item,
  .about-brands__sep {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }
  .about-brands__sep {
    padding: 0 6px;
  }
  .about-close__question {
    font-size: clamp(3rem, 15vw, 6rem);
  }
  .about-gsa__title {
    font-size: clamp(2.2rem, 8vw, 4rem);
  }
  .about-close__wa {
    padding: 14px 24px;
    font-size: 0.75rem;
  }
  .about-lightbox__nav {
    width: 38px;
    height: 38px;
  }
  .about-lightbox__prev { left: 8px; }
  .about-lightbox__next { right: 8px; }
}


/* Scroll offset para anclas con barra fija */
#proyectos-personales,
#about-close {
  scroll-margin-top: calc(var(--header-h) + 16px);
}/* ============================================================
   PORTAPAPELES (Emails)
   ============================================================ */
a[href^="mailto:"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: var(--color-accent);
}
.copy-icon svg {
  width: 100%;
  height: 100%;
}
a[href^="mailto:"]:hover .copy-icon {
  opacity: 0.7;
  transform: scale(1);
}
a[href^="mailto:"]:hover .copy-icon:hover {
  opacity: 1;
}
.copy-msg {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  z-index: 10;
}
a[href^="mailto:"].is-copied .copy-msg {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

