/* =======================================================
   VARIABLES GLOBALES
======================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ====== TIPOGRAFÍA ITEMS ====== */
@font-face {
  font-family: "Items";
  src: url("fonts/Items-Thin.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Items";
  src: url("fonts/Items-Thin-Italic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

:root {
  --font-main: "Manrope", sans-serif;

  /* Colores */
  --cream: #FAF0C2;
  --green: #2F4A39;

  /* Tipografía */
  --text-size-base: 15px;
  --text-line-height: 1.4;

  /* Layout */
  --padding-page: 48px;
  --header-padding-y: 28px;
  --menu-gap: 48px;
}

/* Transición suave para todos los links del sitio */
a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

/* Nav links (header) – ligero cambio de opacidad */
.ps-header-right a:hover {
  opacity: 0.7;
}

/* =======================================================
   RESET LIGERO
======================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

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

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

/* =======================================================
   BASE DEL BODY
======================================================= */
body {
  font-family: var(--font-main);
  background-color: var(--cream);
  color: var(--green);
  font-size: var(--text-size-base);
  line-height: var(--text-line-height);
}

/* =======================================================
   HEADER (DESKTOP POR DEFECTO)
======================================================= */
.ps-header {
  width: 100%;
  background-color: var(--cream);
  padding: var(--header-padding-y) var(--padding-page);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  position: sticky;
  top: 0;
  z-index: 100;
}

/* Bloque izquierdo */
.ps-header-left p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

/* Menú derecho */
.ps-header-right {
  display: flex;
  align-items: center;
  gap: var(--menu-gap);
}

.ps-header-right a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.ps-header-right a:hover {
  opacity: 0.6;
}

.ps-ig img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) saturate(100%) invert(18%) sepia(5%)
          saturate(1381%) hue-rotate(92deg) brightness(94%) contrast(86%);
}

/* =======================================================
   ELEMENTOS MOBILE (OCULTOS POR DEFECTO)
======================================================= */

/* Hamburguesa, título mobile y menú mobile NO se ven en desktop */
.ps-menu-toggle,
.ps-mobile-title,
.ps-mobile-menu {
  display: none;
}

/* Botón hamburguesa */
.ps-menu-toggle {
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.ps-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--green);
  display: block;
}

/* Título mobile */
.ps-mobile-title {
  font-size: 16px;
  font-weight: 500;
  margin-left: auto;
}

/* Menú mobile desplegable (estructura) */
.ps-mobile-menu {
  position: absolute;
  left: 0;
  width: 100%;
  background: var(--cream);
  padding: 32px var(--padding-page);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 24px;
}

.ps-mobile-menu a {
  font-size: 18px;
  font-weight: 400;
  color: var(--green);
}

/* =======================================================
   BREAKPOINT: MOBILE
======================================================= */
@media (max-width: 768px) {

  /* Header más compacto */
  .ps-header {
    padding: 20px var(--padding-page);
    align-items: center;
  }

  /* OCULTAR VERSION DESKTOP */
  .ps-header-left,
  .ps-header-right {
    display: none;
  }

  /* MOSTRAR HAMBURGUESA + TÍTULO MOBILE */
  .ps-menu-toggle {
    display: flex;
  }

  .ps-mobile-title {
    display: block;
  }

  /* MENÚ MOBILE: visible solo cuando el header tiene .menu-open */
  .ps-header.menu-open .ps-mobile-menu {
    display: flex;
    top: 100%; /* justo debajo del header */
  }
}

/* =======================================================
   MAIN
======================================================= */
main {
  padding: 0px var(--padding-page);
}

/* =======================================================
   UTILIDADES
======================================================= */
.hidden { display: none !important; }
.center { text-align: center; }

/* =======================================================
   HERO (DESKTOP)
======================================================= */

.hero {
  padding: 120px var(--padding-page) 100px;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-family: "Items", serif;
  font-size: 80px;
  letter-spacing: -2px;
  line-height: 80px;
  color: #726222;
  text-align: center;
  margin: 0;
}

.hero-word--hover {
  cursor: default;
  transition: font-style 0.2s ease;
}

.hero-word--hover:hover {
  font-style: italic;
}

/* Mobile oculto por defecto */
.hero-mobile {
  display: none;
}


/* =======================================================
   HERO FULLSCREEN — SOLO DESKTOP
======================================================= */
@media (min-width: 769px) {

  .hero {
    height: calc(100vh - 96px);   /* o el alto real de tu header */
    padding: 0 var(--padding-page) !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-desktop {
    margin: 0;
    text-align: center;

    /* 👇 AÑADE ESTO */
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1.2s ease-out forwards;
    animation-delay: 0.2s;
  }
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =======================================================
   HERO (MOBILE)
======================================================= */
@media (max-width: 768px) {

  main {
    padding-left: 0 !important;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0px;
  }

  .hero {
    min-height: calc(100vh - 72px);
    padding: 0 var(--padding-page) 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-desktop {
    display: none !important;
  }

  .hero-mobile {
    padding-left: 0px;
    padding-right: 0px;
    display: block !important;
    font-family: "Items", serif;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -0.5px;
    color: #726222;
    text-align: left;
    margin: 0;
    max-width: 420px;
  }
}

/* ===================== MOTION BAR ===================== */

.motion-bar {
  /* full width respetando el grid de tu página */
  margin-left: calc(-1 * var(--padding-page));
  margin-right: calc(-1 * var(--padding-page));

  background: #FDFAF5;
  padding: 24px 0;
  margin-bottom: 0 !important;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* contenedor que se anima */
.motion-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

/* grupo de chips (se duplica por JS) */
.motion-group {
  display: flex;
  gap: 12px;
  margin-right: 18px; /* 👈 espacio entre un grupo y el siguiente */
}

/* chips individuales */
.motion-group span {
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid #726222;
  color: #726222;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

/* movimiento continuo: del grupo 1 al grupo 2 */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =======================================================
   WORK GRID — INSPIRED BY LITTLE TROOP
======================================================= */

.work {
  background: #FDFAF5;
  padding-top: 50 !important;
  margin-top: 0 !important;
  padding: 40px var(--padding-page) 120px;
  border-top: 1px solid rgba(0,0,0,0.06); /* muy suave, editorial */
}

section.work {
  width: 100%;
  background-color: #FDFAF5;
}

.work__header {
  margin-bottom: 56px;
  max-width: 640px;
}

.work__title {
  font-family: "Items", serif;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: #726222;
  margin: 0;
}

/* GRID BASE: 2 columnas mobile */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 11px;
  row-gap: 32px;
}

/* Tile */
.work-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

/* Imagen / video */
.work-tile__figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #d4c7a3; /* placeholder si no carga imagen */
  aspect-ratio: 4 / 3; /* relación tipo poster */
}

.work-tile__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Meta */
.work-tile__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.work-tile__label {
  font-family: var(--font-main);
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(47, 74, 57, 0.7);
}

.work-tile__name {
  font-family: "Items", serif;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: #726222;
}

/* Hover suave al estilo studio */
.work-tile:hover .work-tile__figure img {
  transform: scale(1.04);
}

/* =======================================================
   BREAKPOINTS (similar a littletroop)
======================================================= */

/* ≥ 768px → 3 columnas */
@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 40px;
  }
}

/* ≥ 1024px → 4 columnas */
@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ≥ 1280px → 5 columnas */
@media (min-width: 1280px) {
  .work-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ====== WORK TILE HOVER ANIMATION ====== */

.work-tile {
  display: block; /* por si no lo tenías */
  border-radius: 10px;
  overflow: hidden; /* evita que la imagen se salga en hover */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: translateY(0);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  background-color: transparent; /* asegura base limpia */
}

.work-tile__figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Para que se vea el video siempre */
.thumb-video {
  opacity: 1 !important;
}

.thumb-static {
  display: none !important;
}

.work-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.45); /* muy editorial */
}

/* Asegurar que la imagen responda suave */
.work-tile__figure img {
  transition: transform 0.35s ease;
}

/* Mini zoom sutil en la imagen */
.work-tile:hover .work-tile__figure img {
  transform: scale(1.03);
}

/* Meta info suave en hover */
.work-tile__meta {
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 12px 10px 18px 10px;
}

.work-tile:hover .work-tile__meta {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* =======================================================
   INFO / STUDIO SECTION
======================================================= */

.info-section {
  width: 100%;
  background-color: #FDFAF5;
  border-top: 1px solid rgba(114, 98, 34, 0.25); /* línea superior */
  padding: 80px 0 100px;
}

.info-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--padding-page);
  box-sizing: border-box;
  text-align: center;
  color: #726222;
}

/* Headline principal */
.info-section__headline {
  font-family: "Items", serif;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.3;
  margin: 0 0 64px;
}

/* Subtítulos */
.info-section__subtitle {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 32px;
  text-transform: uppercase;
}

/* Párrafos */
.info-section__text {
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 72px;
}

.info-section__text--last {
  margin-bottom: 0;
}

/* -----------------------
   RESPONSIVE
------------------------ */

@media (max-width: 1024px) {
  .info-section {
    padding: 60px 0 80px;
  }

  .info-section__headline {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .info-section__text {
    font-size: 16px;
    margin-bottom: 56px;
  }
}

@media (max-width: 768px) {
  .info-section__headline {
    font-size: 26px;
    line-height: 1.4;
  }

  .info-section__subtitle {
    font-size: 16px;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
  }

  .info-section__text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
  }
}

/* =======================================================
   CTA BANNER
======================================================= */

.cta-banner {
  width: 100%;
  background-color: #D1E8E9;
  padding: 80px 0;
}

.cta-inner {
  padding: 0 var(--padding-page);   /* alineado al logo/header */
  max-width: 1400px;
  margin: 0 auto;
}

/* Contenedor con fade-in desde la izquierda */
.cta-content {
  max-width: 900px;
  opacity: 0;
  transform: translateX(-24px);
  animation: ctaFadeIn 1s ease-out forwards;
  animation-delay: 0.25s;
}

/* Texto base (mismo estilo que hero) */
.cta-text {
  font-family: "Items", serif;
  font-size: 80px;
  line-height: 80px;
  letter-spacing: -2px;
  color: #2F4A39;
  margin: 0 0 24px;
  text-align: left;
}

/* Mostrar SOLO desktop por defecto */
.cta-text-desktop {
  display: block;
}

/* Texto mobile oculto por defecto */
.cta-text-mobile {
  display: none;
}

/* Botón editorial – usa tu configuración tal cual + extras */
.cta-button {
  text-decoration: none;
  color: #2F4A39;
  font-family: "Items", serif;
  font-size: 80px;
  letter-spacing: -0.4px;
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;

  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

/* subrayado animado */
.cta-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background-color: #2F4A39;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  opacity: 0.7;
}

/* partes internas del botón */
.cta-button__label {
  transition: font-style 0.2s ease;
}

.cta-button__arrow {
  transition: transform 0.25s ease;
}

/* hover: itálica + subrayado + flecha se mueve */
.cta-button:hover::after {
  transform: scaleX(1);
}

.cta-button:hover .cta-button__label {
  font-style: italic;
}

.cta-button:hover .cta-button__arrow {
  transform: translateX(4px);
}

/* Animación de entrada */
@keyframes ctaFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 1024px) {
  .cta-banner {
    padding: 60px 0;
  }

  .cta-text {
    font-size: 56px;
    line-height: 60px;
    letter-spacing: -1px;
  }

  .cta-button {
    font-size: 56px;
  }
}

@media (max-width: 768px) {

  .cta-inner {
    padding: 0 var(--padding-page);
  }

  .cta-content {
    max-width: 400px;
  }

  /* en mobile mostramos SOLO la versión con salto de línea */
  .cta-text-desktop {
    display: none;
  }

  .cta-text-mobile {
    display: block;
    font-size: 40px;
    line-height: 42px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }

  .cta-button {
    font-size: 40px;
  }
}

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

.site-footer {
  width: 100%;
  background-color: #000000;
  color: #F7ECC0;
  padding-top: 40px;
  overflow: hidden;
}

/* Contenedor interior alineado al header (padding-page) */
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--padding-page) 40px;
}

/* Top: dos columnas */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col--right {
  text-align: right;
}

.footer-label {
  font-family: var(--font-main);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247, 236, 192, 0.8);
  margin: 0;
}

.footer-link {
  font-family: var(--font-main);
  font-size: 14px;
  color: #F7ECC0;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #F7ECC0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  opacity: 0.8;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.footer-links-row {
  margin: 0;
}

.footer-divider {
  margin: 0 6px;
  opacity: 0.7;
}

/* =======================================================
   MARQUEE GIGANTE PRELUDIO
======================================================= */

.footer-marquee {
  width: 100%;
  overflow: hidden;
  padding-top: 12px;
  padding-bottom: 8px;

}

.footer-marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: footerMarquee 20s linear infinite;
}

.footer-marquee__text {
  font-family: "Items", serif;
  font-size: 22vw;           /* súper grande y responsivo */
  line-height: 0.9;
  letter-spacing: 0.08em;
  padding-right: 4vw;        /* espacio entre repeticiones */
  color: #F7ECC0;
}

/* Animación infinita izquierda → derecha (o viceversa) */
@keyframes footerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 768px) {
  .footer-inner {
    padding: 0 var(--padding-page) 32px;
  }

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

  .footer-col--right {
    text-align: left;
  }

  .footer-marquee__text {
    font-size: 32vw; /* un poco más grande en mobile */
    padding-right: 6vw;
  }
}



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


.about__welcome {
  font-family: var(--font-main);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin: 50px 0 12px;
  text-align: center;
  color: #726222;

  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.about__divider {
  width: 100vw;
  height: 2px;
  background-color: #726222;
  margin: 0 auto 64px; /* antes 80px */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.about__headline {
  font-family: "Items", serif;
  font-size: 80px;
  letter-spacing: -2px;
  line-height: 80px;
  color: #726222;
  text-align: center;
  margin: 0 auto 180px; /* espacio considerable hacia la siguiente sección */
  max-width: 1200px;
}

/* Subtítulos */
.info-section__subtitle {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin: 0 0 32px;
  text-transform: uppercase;
  color: #726222;
}

/* Párrafos */
.info-section__text {
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  color: #726222;
  margin: 0 auto 72px;
  text-align: center;
  margin: 0 auto 100px; /* espacio considerable hacia la siguiente sección */
}

.cta-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {

    .about__headline {
    padding-left: 0px;
    padding-right: 0px;
    display: block !important;
    font-family: "Items", serif;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -0.5px;
    color: #726222;
    text-align: center;
    max-width: 420px;
    margin: 50px 20px 30px;
  }

 /* Subtítulos */
.info-section__subtitle {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 300;
  text-align: center;
  margin: 0 20px 32px;
  text-transform: uppercase;
  color: #726222;
}

/* Párrafos */
.info-section__text {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.8;
  max-width: 800px;
  color: #726222;
  margin: 30px 50px 50px;
  text-align: center;
}  
}


/* =======================================================
   PROJECT
======================================================= */


/* =======================================================
   THEME: DARK (Project / Case pages)
======================================================= */

body.theme-dark {
  background-color: #000000;
  color: #FFFFFF;
}

/* Asegurar que todo herede blanco */
body.theme-dark * {
  color: inherit;
}

/* Header en dark */
body.theme-dark .ps-header {
  background-color: #000000;
}

/* Links */
body.theme-dark a {
  color: #FFFFFF;
}

/* Ícono Instagram en blanco */
body.theme-dark .ps-ig img {
  filter: brightness(0) invert(1);
}

/* Menú mobile overlay en dark */
body.theme-dark .ps-mobile-menu {
  background-color: #000000;
}

/* Divider genérico */
body.theme-dark .project__divider {
  background-color: #FFFFFF;
}

.project__divider {
  width: 100vw;
  height: 2px;
  margin: 10px auto 30px; /* antes 80px */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.project__headline {
  font-family: "Items", serif;
  font-size: 60px;
  letter-spacing: -2px;
  line-height: 50px;
  text-align: left;
  margin: 0px 0px 45px;
  max-width: 1200px;
}

/* ===== Strategy / Branding inline bar ===== */
.sb-bar {
  width: 100%;
}

.sb-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px var(--padding-page) 0; /* pequeño aire desde la línea */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 👈 alineado a la izquierda */
  gap: 16px;
}

.sb-bar__item {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.9;
}

.sb-bar__sep {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

/* =======================================================
   PROJECT LANDSCAPE IMAGE
======================================================= */

.project-landscape {
  width: 100%;
  background: #000;
}

/* Nuevo contenedor para 2-up */
.project-landscape__row{
  padding: 4px var(--padding-page) 0;  /* mismo aire que ya usas */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px; /* espacio entre las dos imágenes (ajústalo a gusto) */
}

/* figures sin margen */
.project-landscape__media{
  width: 100%;
  margin: 0;
}

/* IMPORTANTE: aquí quitamos el padding del img para no duplicarlo */
.project-landscape__media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  padding: 0;
}

/* Mobile: apilar (si quieres que se mantenga 2-up en mobile, lo cambiamos) */
@media (max-width: 768px){
  .project-landscape__row{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===== Lightbox / Gallery ===== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.is-open{ display: flex; }

.lightbox__figure{
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img{
  width: 100%;
  height: 100%;
  max-height: 86vh;
  object-fit: contain;
  display: block;
}

.lightbox__close{
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  opacity: .9;
}

.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  display: grid;
  place-items: center;
}

.lightbox__prev{ left: 16px; }
.lightbox__next{ right: 16px; }

.lightbox__nav:hover,
.lightbox__close:hover{
  opacity: .7;
}

@media (max-width: 768px){
  .lightbox__nav{ width: 46px; height: 46px; }
}

/* =======================================================
   PROJECT INFO GRID — 3 COLUMNS (EDITORIAL)
======================================================= */

.project-info-grid{
  width: 100%;
}

.project-info-grid__inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px var(--padding-page) 32px;
  align-items: start;
}

.info-col{
  min-width: 0;
}

.info-small{
  margin: 0;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: inherit;
}

.info-pin{
  display: inline-block;
  margin-right: 6px;
  font-size: 10px;
  transform: translateY(-1px);
}

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

@media (max-width: 1024px){
  .project-info-grid__inner{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =======================================================
   INFO GRID — STAGGER IN (on scroll)
======================================================= */

.project-info-grid__inner .info-col{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

/* Cuando se activa */
.project-info-grid.is-inview .info-col{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger por columna */
.project-info-grid.is-inview .info-col:nth-child(1){ transition-delay: 0ms; }
.project-info-grid.is-inview .info-col:nth-child(2){ transition-delay: 120ms; }
.project-info-grid.is-inview .info-col:nth-child(3){ transition-delay: 240ms; }

/* Accesibilidad: si el usuario prefiere menos animación */
@media (prefers-reduced-motion: reduce){
  .project-info-grid__inner .info-col{
    opacity: 1;
    transform: none;
    transition: none;
  }
}