/* --- PROCESOS SECTION: Artist Studio Narrative --- */
.procesos {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 120px 5vw;
  background: #000 !important;
}

.proceso-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

/* ODD BLOCKS: Image left, text right */
.proceso-block:nth-child(odd) {
  direction: ltr;
}

.proceso-block:nth-child(odd) .proceso-image {
  order: -1;
}

/* EVEN BLOCKS: Text left, image right - mirror layout */
.proceso-block:nth-child(even) {
  direction: ltr;
}

.proceso-block:nth-child(even) .proceso-image {
  order: 1;
}

/* Image container with depth */
.proceso-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.proceso-block img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
  filter: grayscale(15%) contrast(1.05) brightness(0.95);
}

/* Subtle rotation - very minimal */
.proceso-block:nth-child(odd) .proceso-image {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.proceso-block:nth-child(even) .proceso-image {
  transform: perspective(1000px) rotateY(2deg) rotateX(1deg);
}

/* Depth layer - subtle shadow */
.proceso-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.03) 0%, rgba(0, 0, 0, 0.08) 100%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.6s ease;
}

.proceso-block:hover .proceso-image::before {
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%);
}

/* Shadow effect for depth */
.proceso-image::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 20px;
  right: 20px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  z-index: -1;
  transition: all 0.6s ease;
  opacity: 0;
}

.proceso-block:hover .proceso-image::after {
  opacity: 1;
  bottom: -50px;
}

/* Hover effect: subtle zoom and brighten */
.proceso-block:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1.1) brightness(1.05);
}

/* Text container - editorial styling */
.proceso-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proceso-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
  letter-spacing: 0.3px;
}

.proceso-text h3 em {
  color: var(--ochre);
  font-style: italic;
}

.proceso-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 500px;
  letter-spacing: 0.2px;
}

/* Enhanced spacing between paragraphs */
.proceso-text p + p {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .procesos {
    gap: 80px;
    padding: 80px 4vw;
  }

  .proceso-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proceso-block:nth-child(odd) .proceso-image,
  .proceso-block:nth-child(even) .proceso-image {
    order: unset;
  }

  .proceso-block img {
    height: auto;
    max-height: 50vh;
    aspect-ratio: 3 / 2;
  }

  .proceso-block:nth-child(odd) .proceso-image,
  .proceso-block:nth-child(even) .proceso-image {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }

  .proceso-text h3 {
    font-size: 1.25rem;
  }

  .proceso-text p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .language-selector {
    display: flex;
    order: 3;
  }

  .lang-toggle {
    font-size: 0.6rem;
    padding: 0.4rem 0.5rem;
  }

  .lang-dropdown {
    min-width: 110px;
  }

  .lang-option {
    font-size: 0.6rem;
    padding: 0.5rem 0.6rem;
  }

  .footer-logo-img {
    height: 80px;
    max-width: 80px;
  }
}

/* --- Responsive Fix Procesos (alta prioridad) --- */
@media (max-width: 768px) {
  /* PROCESOS: imágenes fluidas y controladas */
  .process-block img,
  .procesos img,
  .impact img,
  .texture img,
  .final img,
  .vertical img {
    width: 100% !important;
    height: auto !important;
    max-height: 60vh !important;
    object-fit: cover !important;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Eliminar alturas fijas heredadas */
  .process-block img,
  .procesos img {
    min-height: 0 !important;
    height: auto !important;
  }

  /* Layouts en columna para grillas */
  .process-block,
  .procesos,
  .split,
  .grid-2,
  .asym {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    align-items: stretch !important;
  }

  /* Espaciado vertical reducido */
  .process-block,
  .procesos {
    gap: 32px !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* Imágenes verticales no desbordan */
  .vertical img {
    max-width: 100vw !important;
    max-height: 60vh !important;
    height: auto !important;
  }

  /* Ajuste para imágenes dentro de bloques especiales */
  .impact img,
  .texture img,
  .final img {
    max-height: 55vh !important;
  }
}

/* ============================================
   PROCESOS - NARRATIVE SCROLL ZIGZAG
   ============================================ */

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 40px 0;
}

/* Process Step - Base */
.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zigzag Layout: Alternating left/right */
.process-step.left {
  /* Imagen izquierda, texto derecha - default grid order */
}

.process-step.right .process-image {
  order: 2;
}

/* Process Image */
.process-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
}

.process-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: contrast(1.05) brightness(0.98);
}

.process-step:hover .process-image img {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1.02);
}

/* Process Text */
.process-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.process-text h3 em {
  color: var(--ochre);
  font-style: italic;
}

.process-text p {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 480px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .process-container {
    gap: 60px;
    padding: 24px 0;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* En mobile: imagen siempre arriba, texto abajo */
  .process-step.right .process-image {
    order: unset;
  }

  .process-image img {
    aspect-ratio: 4 / 3;
  }

  .process-text h3 {
    font-size: 1.35rem;
  }

  .process-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }
}

/* ============================================
   TEMA PROFESIONAL DAMIÁN PERALTA
   Consolidación completa de estilos CSS
   ============================================ */

:root {
  --black: #0b0a08;
  --dark: #141210;
  --surface: #1a1814;
  --border: rgba(255,255,255,0.08);
  --sienna: #a0522d;
  --ochre: #c8963e;
  --cream: #e8e0d0;
  --muted: rgba(232,224,208,0.45);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'DM Mono', monospace;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.i18n-loading {
  visibility: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4vw;
  background: rgba(11,10,8,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--ochre);
  text-decoration: none;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { 
  color: var(--cream); 
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.language-selector {
  position: relative;
}

.lang-toggle {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  background: none;
  border: 0.5px solid var(--ochre);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 32px;
  min-height: 30px;
}

.lang-toggle:hover {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(200,150,62,0.1);
}

.lang-code {
  font-size: 0.55rem;
  font-weight: 400;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.3rem);
  right: 0;
  background: rgba(11,10,8,0.98);
  border: 0.5px solid var(--ochre);
  border-radius: 1px;
  z-index: 200;
  min-width: 130px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
  text-transform: uppercase;
}

.lang-option:hover,
.lang-option.active {
  color: var(--ochre);
  background: rgba(200,150,62,0.15);
}

/* ============================================
   HERO SECTION - CENTERED MINIMAL AESTHETIC
   ============================================ */

#inicio {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 120px;
  padding-left: 4vw;
  padding-right: 4vw;
  position: relative;
  /* overflow: hidden REMOVED — clips position:fixed mobile menu in Safari */
  background: var(--black);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

#inicio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,10,8,0.95) 0%, rgba(11,10,8,0.9) 50%, rgba(11,10,8,0.95) 100%);
  backdrop-filter: blur(2px);
  z-index: 1;
  animation: fadeInSlow 1.2s ease-out;
   pointer-events:none;
}

.hero-bg { display: none; }

@keyframes fadeInSlow {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  text-align: center;
  max-width: 900px;
}

.hero-name { color: #e6c44f !important; }

.hero-title em {
  font-style: italic;
  color: var(--ochre);
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 650px;
  border: none;
  padding: 0;
  margin-bottom: 3.5rem;
  margin-top: 20px;
  opacity: 0.7;
  position: relative;
  z-index: 2;
  text-align: center;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  z-index: 2;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.hero-cta-primary,
.hero-cta-secondary {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0.5px solid var(--ochre);
  background: transparent;
  color: var(--cream);
}

.hero-cta-primary:hover {
  background: rgba(200,150,62,0.15);
  color: var(--ochre);
  border-color: var(--ochre);
  opacity: 0.8;
}

.hero-cta-secondary {
  border-color: var(--muted);
  color: var(--muted);
}

.hero-cta-secondary:hover {
  border-color: var(--cream);
  color: var(--cream);
  opacity: 0.8;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-scroll::before {
  content: '↓';
  display: block;
  font-size: 1.2rem;
  animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-6px); opacity: 0.6; }
}

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

/* ============================================
   SECTIONS COMMON
   ============================================ */

section { padding: 10vh 4vw; }

.section-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
  max-width: 80px;
}

.title-light-italic {
  font-style: italic;
  font-weight: 300;
}

/* ============================================
   ABOUT/BIO SECTION - ENHANCED HIERARCHY
   ============================================ */

#sobre-mi {
  border-top: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
  padding: 12vh 5vw;
}

.bio-left { position: sticky; top: 120px; }

.bio-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 3rem;
  letter-spacing: -0.01em;
}

.bio-title em { 
  font-style: italic; 
  color: var(--sienna); 
}

.bio-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.bio-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  border: 0.5px solid rgba(200,150,62,0.3);
  padding: 0.4rem 0.9rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

.bio-statement {
  grid-column: 1 / -1;
  border-top: 0.5px solid var(--border);
  padding-top: 8rem;
  margin-top: 6rem;
  display: flex;
  justify-content: center;
}

.bio-quote {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--cream);
  max-width: 700px;
  position: relative;
  text-align: center;
  letter-spacing: -0.01em;
}

.bio-quote::before {
  display: none;
}

.bio-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  font-style: normal;
  color: var(--muted);
}

/* ============================================
   PROCESS VIDEO & GALLERY - STUDIO EXPERIENCE
   ============================================ */

.process-video-container {
  position: relative;
  width: 280px;
  height: 210px;
  margin: 32px 0;
  cursor: pointer;
  border: none;
  background: #000 !important;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.process-video-container:hover {
  box-shadow: 0 40px 120px rgba(200, 150, 62, 0.15);
  transform: translateY(-8px);
}

.process-video-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.08);
  transition: filter 0.6s ease;
}

.process-video-container:hover .process-video-placeholder {
  filter: grayscale(0%) contrast(1.12);
}

.process-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.6s ease, backdrop-filter 0.6s ease;
  backdrop-filter: blur(0px);
}

.process-video-container:hover .process-video-overlay {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.play-icon {
  color: var(--cream);
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  transition: all 0.6s ease;
}

.process-video-container:hover .play-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 6px 16px rgba(200, 150, 62, 0.3));
}

/* ===== PROCESS GALLERY: Narrative Flow ===== */
.process-gallery {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin: 80px 0;
  padding: 80px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.process-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  border: none;
  cursor: pointer;
  background: #000 !important;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ODD ITEMS: Image large, text below */
.process-gallery-item:nth-child(odd) {
  flex-direction: column;
}

.process-gallery-item:nth-child(odd) .process-gallery-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.8s ease, transform 0.8s ease;
}

.process-gallery-item:nth-child(odd) .process-gallery-info {
  padding: 0;
}

/* EVEN ITEMS: Alternating - Image right, text left */
.process-gallery-item:nth-child(even) {
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

.process-gallery-item:nth-child(even) .process-gallery-info {
  flex: 1;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}

.process-gallery-item:nth-child(even) .process-gallery-img {
  width: 50%;
  height: 500px;
  flex-shrink: 0;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.8s ease, transform 0.8s ease;
}

/* Hover: Desaturate on hover for editorial feel */
.process-gallery-item:hover .process-gallery-img {
  filter: grayscale(0%) contrast(1.12) brightness(1.06);
  transform: scale(1.02);
}

.process-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Typography: Editorial style */
.process-gallery-info h4 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.35;
  letter-spacing: 0.3px;
}

.process-gallery-info h4 em {
  color: var(--ochre);
}

.process-gallery-info p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 550px;
  letter-spacing: 0.2px;
}

.process-gallery-info p + p {
  margin-top: 20px;
}

/* ===== RESPONSIVE: Clean Mobile Storytelling ===== */
@media (max-width: 1024px) {
  .process-gallery {
    gap: 100px;
    margin: 60px 0;
    padding: 60px 0;
  }

  .process-gallery-item:nth-child(even) {
    flex-direction: column;
    gap: 48px;
  }

  .process-gallery-item:nth-child(even) .process-gallery-img {
    width: 100%;
  }

  .process-gallery-item:nth-child(odd) .process-gallery-img,
  .process-gallery-item:nth-child(even) .process-gallery-img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .process-gallery {
    gap: 80px;
    margin: 40px 0;
    padding: 40px 0;
  }

  .process-gallery-item {
    gap: 32px;
  }

  .process-gallery-item:nth-child(odd) .process-gallery-img,
  .process-gallery-item:nth-child(even) .process-gallery-img {
    height: 300px;
  }

  .process-gallery-info h4 {
    font-size: 1.2rem;
  }

  .process-gallery-info p {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .process-video-container {
    width: 100%;
    max-width: 360px;
    height: 270px;
  }

  /* Hamburger button */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    order: 1;
    flex-shrink: 0;
  }

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  /* Animate to X when active */
  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    padding: 0.6rem 4vw;
    min-height: unset;
  }

  .nav-logo {
    flex-direction: row;
    gap: 0.6rem;
  }

  /* NOTE: no standalone .nav-links { gap } here — it would reset the overlay */

  .nav-logo-icon {
    width: 36px;
    height: 36px;
  }
}

/* Global vertical spacing between sections */
#series {
  padding: 80px 5vw;
  background: #000 !important;
  border-top: 0.5px solid var(--border);
}

.series-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 32px;
}

.series-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.series-title em { 
  font-style: italic; 
  color: var(--ochre); 
}

.series-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 340px;
  text-align: right;
}

/* ===== MUSEUM-GRADE EDITORIAL GALLERY ===== */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 24px !important;
  width: 100%;
  auto-rows: 320px;
  padding: 0 !important;
  background: #000 !important;
}

.gallery-skeleton {
  background: transparent;
  animation: skeletonPulse 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes skeletonPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* ===== ART ITEM: Frame-less Museum Display ===== */
.art-item {
  position: relative;
  cursor: pointer;
  background: #000 !important;
  border: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  aspect-ratio: auto !important;
}

/* HERO ARTWORK: First item dominates - 3 cols x 2 rows */
.art-item:nth-child(1) {
  grid-column: span 3 !important;
  grid-row: span 2 !important;
}

/* SECONDARY ARTWORK: Second item prominent - 3 cols x 1 row */
.art-item:nth-child(2) {
  grid-column: span 3 !important;
  grid-row: span 1 !important;
}

/* EDITORIAL RHYTHM: Items 3-6 in regular grid */
.art-item:nth-child(3),
.art-item:nth-child(4),
.art-item:nth-child(5),
.art-item:nth-child(6) {
  grid-column: span 3 !important;
  grid-row: span 1 !important;
}

/* Inner container - museum quality */
.art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000 !important;
  padding: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.art-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2;
  pointer-events: none;
  transition: background 0.6s ease;
}

/* ===== MUSEUM HOVER: Subtle, Sophisticated ===== */
.art-item:hover .art-inner {
  transform: scale(1.02) !important;
  filter: brightness(1.06) !important;
}

.art-item:hover .art-inner::before {
  background: rgba(0, 0, 0, 0.08);
}

/* Image: Immersive, frame-less, no borders */
.gallery-placeholder-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: pointer;
  transition: opacity 0.5s ease;
  opacity: 1;
  border: none;
  background: transparent;
}

.art-item img.gallery-placeholder-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: transparent;
}

/* Overlay metadata - elegant museum card */
.gallery-placeholder-inner:not(img) {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
  pointer-events: none;
}

.art-item:hover .gallery-placeholder-inner:not(img) {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-placeholder-inner:not(img) {
    opacity: 1;
  }
}

/* Typography: Minimal, Elegant Museum Labels */
.gallery-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 8px;
  opacity: 0.9;
}

.gallery-name {
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 4px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.gallery-year {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}

/* ===== RESPONSIVE: Museum Layout Adaptation ===== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    auto-rows: 280px !important;
  }

  /* Featured items span appropriately on tablet */
  .art-item:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }

  .art-item:nth-child(2) {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }

  .art-item:nth-child(3),
  .art-item:nth-child(4),
  .art-item:nth-child(5),
  .art-item:nth-child(6) {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    auto-rows: 400px !important;
  }

  /* Single column: all items full width */
  .art-item:nth-child(1),
  .art-item:nth-child(2),
  .art-item:nth-child(3),
  .art-item:nth-child(4),
  .art-item:nth-child(5),
  .art-item:nth-child(6) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Reduced hover on touch */
  .art-item:hover .art-inner {
    transform: scale(1.01) !important;
    filter: brightness(1.03) !important;
  }

  .gallery-placeholder-inner:not(img) {
    padding: 16px;
  }

  .gallery-name {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  nav.mobile-open .nav-links { display: flex; }
  
  .language-selector {
    display: flex !important;
    align-items: center;
    order: -1;
    margin-left: auto;
  }

  .lang-toggle {
    font-size: 0.55rem;
    padding: 0.35rem 0.4rem;
    min-width: 28px;
    min-height: 26px;
    border: 0.5px solid var(--ochre);
  }

  .lang-dropdown {
    min-width: 100px;
    top: calc(100% + 0.2rem);
  }

  .lang-option {
    font-size: 0.55rem;
    padding: 0.4rem 0.5rem;
  }

  .lang-code {
    font-size: 0.5rem;
  }

  .footer-logo-img {
    height: 24px;
    max-width: 100px;
  }

  .process-gallery { flex-direction: column; gap: 60px; }
  .process-gallery-item { gap: 24px; }
  .gallery-grid { grid-template-columns: 1fr !important; gap: 16px !important; auto-rows: 400px !important; }
  .art-item:nth-child(1), .art-item:nth-child(2), .art-item:nth-child(3), .art-item:nth-child(4), .art-item:nth-child(5), .art-item:nth-child(6) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .process-strip { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  }

  .gallery-name {
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .gallery-tag {
    margin-bottom: 4px;
  }
}

/* ============================================
   MODAL/LIGHTBOX
   ============================================ */

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,10,8,0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal-content {
  position: relative;
  width: 85vw;
  max-width: 1100px;
  height: 75vh;
  background: var(--surface);
  border: 0.5px solid var(--border);
  animation: slideUp 0.4s ease;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.modal-image-wrapper {
  position: relative;
  width: 65%;
  height: 100%;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.modal-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.modal-image-preload {
  display: none;
}

.modal-info {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  border-left: 0.5px solid var(--border);
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface);
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal-tag {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.75rem;
  opacity: 0.8;
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
}

/* Metadata grid: elegant and minimal */
.modal-metadata {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
  font-size: 0.85rem;
  width: 100% !important;
  visibility: visible !important;
}

.modal-metadata-item {
  display: flex !important;
  flex-direction: column;
  visibility: visible !important;
}

.modal-metadata-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.3rem;
  opacity: 0.8;
  display: block !important;
  visibility: visible !important;
}

.modal-metadata-value {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.4;
  display: block !important;
  visibility: visible !important;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.7;
  text-align: justify;
  display: block !important;
  visibility: visible !important;
  overflow: visible !important;
  width: 100% !important;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(11,10,8,0.8);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1001;
}

.modal-close:hover {
  background: rgba(11,10,8,0.95);
  color: var(--ochre);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(11,10,8,0.7);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1001;
}

.modal-nav:hover {
  background: rgba(11,10,8,0.95);
  color: var(--ochre);
}

.modal-prev { left: 1rem; }
.modal-next { right: 1rem; }

/* ============================================
   PROCESS MODAL
   ============================================ */

.process-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,10,8,0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.process-modal.active { display: flex; }

.process-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--surface);
  border: 0.5px solid var(--border);
  animation: slideUp 0.4s ease;
  display: grid;
  grid-template-columns: 1fr auto;
}

.process-modal-media-wrapper {
  width: 600px;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  position: relative;
}

.process-modal-image, .process-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.process-modal-info {
  padding: 2rem;
  border-left: 0.5px solid var(--border);
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  max-height: 80vh;
}

.process-modal-info::-webkit-scrollbar {
  width: 4px;
}

.process-modal-info::-webkit-scrollbar-track {
  background: transparent;
}

.process-modal-info::-webkit-scrollbar-thumb {
  background: rgba(200,150,62,0.2);
  border-radius: 2px;
}

.process-modal-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}

.process-modal-title {
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.process-modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.process-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(11,10,8,0.8);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1001;
}

.process-modal-close:hover {
  background: rgba(11,10,8,0.95);
  color: var(--ochre);
}

.process-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(11,10,8,0.7);
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1001;
}

.process-modal-nav:hover {
  background: rgba(11,10,8,0.95);
  color: var(--ochre);
}

.process-modal-prev { left: 1rem; }
.process-modal-next { right: 1rem; }

/* ============================================
   PROCESS STRIP
   ============================================ */

.process-strip {
  margin-top: 4rem;
  border-top: 0.5px solid var(--border);
  padding-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step { position: relative; }

.process-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ochre);
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.process-name {
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.process-text {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 300;
  line-height: 1.6;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 1.5rem;
  color: var(--border);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.process-step:last-child::after { display: none; }

/* ============================================
   INSTAGRAM SECTION
   ============================================ */

#instagram {
  border-top: 0.5px solid var(--border);
}

.ig-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.ig-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
}

.ig-link {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(200,150,62,0.3);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s;
}

.ig-link:hover { border-color: var(--ochre); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}

.ig-cell {
  aspect-ratio: 1;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  border: 0.5px solid var(--border);
  transition: transform 0.3s ease;
}

.ig-cell:hover {
  transform: scale(1.02);
}

.ig-cell-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.3s ease;
}

.ig-cell:hover .ig-cell-img {
  filter: brightness(1.1);
}

.ig-cell-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

#contacto {
  border-top: 0.5px solid var(--border);
  background: var(--dark);
  display: flex;
  justify-content: center;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-title em { 
  font-style: italic; 
  color: var(--sienna); 
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 3rem;
}

.contact-email {
  font-family: var(--mono);
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.1em;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(200,150,62,0.3);
  padding-bottom: 0.3rem;
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: 3rem;
  display: inline-block;
}

.contact-email:hover { border-color: var(--ochre); }

.social-links {
  display: flex;
  gap: 3rem;
}

.social-link {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-link:hover { color: var(--cream); }

.social-link svg { transition: stroke 0.3s; }

.social-link:hover svg { stroke: var(--ochre); }

/* ============================================
   STATEMENT SECTION
   ============================================ */

#statement {
  padding: 8rem 4vw;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.statement-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 650px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  text-align: center;
}

.statement-content.active { max-height: 2000px; }

.statement-toggle {
  cursor: pointer;
  border: none;
  background: none;
  color: var(--ochre);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2rem;
  padding: 0;
  transition: color 0.3s;
}

.statement-toggle:hover { color: var(--cream); }

.statement-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}

.statement-text em {
  font-style: italic;
  color: var(--ochre);
}

.statement-signature {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0 !important;
  }
}
/* ============================================
   MANIFESTO MODAL
   ============================================ */

.manifesto-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 8, 0.5);
  backdrop-filter: blur(4px);
}

.manifesto-modal-content {
  position: relative;
  z-index: 2001;
  background: rgba(11, 10, 8, 0.85);
  border: 0.5px solid var(--border);
  padding: 3rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
}

.manifesto-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  background: none;
  border: 0.5px solid var(--border);
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.manifesto-modal-close:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}

.manifesto-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.9;
  color: var(--cream);
  font-weight: 300;
}

.manifesto-text p {
  margin-bottom: 1.5rem;
}

.manifesto-text p:last-child { margin-bottom: 0; }

/* ============================================
   FOOTER
   ============================================ */

footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 768px;
  object-fit: contain;
  display: block;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(232,224,208,0.2);
}

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

@media (max-width: 1024px) {
  .process-modal-content {
    grid-template-columns: 1fr;
    max-height: none;
  }
  
  .process-modal-media-wrapper {
    width: 100%;
    min-height: 400px;
  }
  
  .process-modal-info {
    border-left: none;
    border-top: 0.5px solid var(--border);
    min-width: auto;
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  nav { padding: 0.6rem 4vw; }
  /* .nav-links gap is set in the overlay block above */
  .nav-logo { flex-direction: row; gap: 0.8rem; }
  #sobre-mi { grid-template-columns: 1fr; }
  .bio-left { position: static; }
  .process-gallery { grid-template-columns: repeat(2, 1fr); }
  .bio-statement { grid-column: 1; }
  .series-desc { text-align: left; max-width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; gap: 24px; }
  .art-item:nth-child(5n) { grid-row: auto; }
  .process-strip { grid-template-columns: 1fr 1fr; }
  #contacto > div { grid-template-columns: 1fr; gap: 2rem; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid .ig-cell:nth-child(n+4) { display: none; }
  .process-video-container { width: 100px; height: 75px; }
  .process-modal-content { max-width: 95vw; max-height: 90vh; }
  .process-modal-media-wrapper { min-height: 300px; }
  .process-modal-info { max-height: 150px; padding: 1.5rem; }
  
  /* Modal responsive */
  .modal-content {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }
  
  .modal-image-wrapper {
    width: 100%;
    height: 50vh;
  }
  
  .modal-info {
    width: 100%;
    border-left: none;
    border-top: 0.5px solid var(--border);
    max-height: 40vh;
    padding: 1.5rem;
  }
  
  .modal-metadata {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Hamburger z-index only needed on mobile */
@media (max-width: 768px) {
  .hamburger-btn {
    z-index: 100001;
  }
  .nav-links.open,
  nav.mobile-open .nav-links {
    z-index: 100000;
  }
}

#inicio::before{
   pointer-events:none !important;
}

/* Hero cannot block mobile menu */
nav.mobile-open ~ #inicio,
nav.mobile-open ~ * {
  pointer-events: none;
}
nav.mobile-open {
  pointer-events: auto;
}
nav.mobile-open .nav-links {
  pointer-events: auto !important;
}