/* ════════════════════════════════════════════════════════
   SALVADOR GÓMEZ SÁNCHEZ  —  FOTOGRAFÍA PREMIUM
   ════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Custom Properties ────────────────────────────────── */
:root {
  --black:       #070707;
  --dark:        #0f0f0f;
  --dark-2:      #161616;
  --dark-3:      #1e1e1e;
  --border:      #252525;
  --muted:       #555;
  --text-mid:    #999;
  --text:        #d8d2c8;
  --white:       #f0ece5;
  --gold:        #b8943f;
  --gold-light:  #cba84f;
  --gold-dark:   #9a7a30;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h:  72px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.64, 0, 0.78, 0);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

::selection { background: var(--gold-dark); color: var(--white); }

/* ── Typography ───────────────────────────────────────── */
.display      { font-family: var(--font-display); font-weight: 300; }
.display-xl   { font-size: clamp(3.5rem, 10vw, 9rem); line-height: .92; letter-spacing: -.02em; }
.display-lg   { font-size: clamp(2.5rem, 6vw, 5.5rem);  line-height: .95; }
.display-md   { font-size: clamp(1.8rem, 4vw, 3.2rem);  line-height: 1.1; }
.display-sm   { font-size: clamp(1.3rem, 2.5vw, 2rem);  line-height: 1.2; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg  { font-size: 1.05rem; line-height: 1.8; }
.body-sm  { font-size: .875rem; color: var(--text-mid); }

.gold { color: var(--gold); }

/* ── Layout Utilities ─────────────────────────────────── */
.container     { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 2rem; }
.container-lg  { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 2rem; }
.container-sm  { width: 100%; max-width: 780px;  margin-inline: auto; padding-inline: 2rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Thin divider ─────────────────────────────────────── */
.divider {
  width: 3rem; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider-center { margin-inline: auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .75rem;
  font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  padding: .85rem 2.2rem;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
  -webkit-appearance: none;
}

.btn-ghost  { color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--black); }

.btn-gold   { color: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--black); }

.btn-dark   { background: var(--dark-3); color: var(--text); border-color: var(--dark-3); }
.btn-dark:hover { background: var(--dark-2); border-color: var(--border); }

/* ════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: 2.5rem;
  transition: background .4s var(--ease-out), box-shadow .4s;
}

.site-nav.scrolled {
  background: rgba(7, 7, 7, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Truco: logo blanco/negro sobre fondo oscuro sin PNG transparente */
.logo-img {
  display: block;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: opacity .3s;
}
.logo-img--nav    { height: 38px; width: auto; max-width: 170px; }
.logo-img--footer { height: 58px; width: auto; max-width: 240px; opacity: .8; }
.logo-img--footer:hover { opacity: 1; }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}

.nav-links a {
  font-size: .68rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-mid);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover      { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--white); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: transform .3s, opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; position: fixed;
  inset: var(--nav-h) 0 0 0; z-index: 800;
  background: rgba(7, 7, 7, .97);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.nav-drawer a {
  font-family: var(--font-display); font-size: 2rem; color: var(--white);
  font-weight: 300; letter-spacing: .05em;
}
.nav-drawer a:hover { color: var(--gold); }
.nav-open .nav-drawer { display: flex; }

/* ════════════════════════════════════════════════════════
   HERO  (home)
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0 2.5rem 5rem;
}

/* ── Split hero ─────────────────────────────── */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  padding: 0;
  min-height: 100svh;
  overflow: hidden;
}

.hero-left {
  display: flex;
  align-items: flex-end;
  padding: 0 3.5rem 5rem;
  background: var(--black);
  position: relative;
  z-index: 1;
}

/* borde dorado sutil separando las dos mitades */
.hero-left::after {
  content: '';
  position: absolute; top: 15%; right: 0; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: .35;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero-split:hover .hero-right img { transform: scale(1); }

/* velo oscuro en el lateral izquierdo de la foto para fundir con el texto */
.hero-right-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 35%);
  z-index: 1;
}

/* el scroll indicator queda encima a la derecha — fuera del flujo del grid */
.hero-split .scroll-indicator {
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  z-index: 10;
}

/* ── Responsive: en móvil la foto pasa a ser fondo ── */
@media (max-width: 860px) {
  .hero-split {
    display: block;
    position: relative;
    min-height: 100svh;
  }
  /* La foto se convierte en fondo absoluto */
  .hero-right {
    position: absolute; inset: 0;
    z-index: 0;
  }
  .hero-right img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .25;
  }
  /* El velo cubre todo en vertical */
  .hero-right-veil {
    background: linear-gradient(
      to top,
      var(--black) 0%,
      rgba(7,7,7,.6) 50%,
      transparent 100%
    );
  }
  /* El texto encima */
  .hero-left {
    position: relative; z-index: 1;
    min-height: 100svh;
    display: flex; align-items: flex-end;
    padding: 0 1.5rem 5rem;
    background: transparent;
  }
  .hero-left::after { display: none; }
  .hero-split .scroll-indicator { right: 1.5rem; }
}

/* ── Hero original (con imagen de portada de galería) ── */
.hero-bg {
  position: absolute; inset: 0;
  background: var(--black);
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 0%,
    rgba(7,7,7,.5) 40%,
    transparent 70%
  );
}

.hero-content { position: relative; z-index: 1; max-width: 600px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 2.5rem; height: 1px; background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: var(--text-mid); max-width: 440px; line-height: 1.75;
}

.hero-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 2rem; right: 2.5rem; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--text-mid); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 14px; opacity: .5; }

@keyframes scrollBob {
  0%,100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ════════════════════════════════════════════════════════
   PAGE HERO  (inner pages)
   ════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: clamp(160px, 22vw, 260px);
  display: flex; align-items: flex-end;
  padding: 2.5rem 2.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background: var(--dark-2);
}
.page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .3;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════
   SECTION LAYOUT
   ════════════════════════════════════════════════════════ */
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section-sm { padding-block: clamp(2.5rem, 4vw, 4.5rem); }
.section-dark { background: var(--dark); }
.section-darker { background: var(--dark-2); }

.section-header { margin-bottom: 3.5rem; }
.section-header-flex {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 3.5rem;
}

/* ════════════════════════════════════════════════════════
   GALLERY GRID
   ════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.gallery-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--dark-2);
  cursor: pointer;
}

.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), filter .5s;
  filter: brightness(.9);
}
.gallery-card:hover img {
  transform: scale(1.04);
  filter: brightness(.6);
}

.gallery-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-title {
  font-family: var(--font-display); font-size: 1.4rem;
  font-weight: 300; color: var(--white);
  transform: translateY(8px);
  transition: transform .4s var(--ease-out);
}
.gallery-card:hover .gallery-card-title { transform: translateY(0); }

.gallery-card-count {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-top: .25rem;
}

/* gallery-grid featured (first item spans 2 cols) */
.gallery-grid.featured .gallery-card:first-child {
  grid-column: span 2;
  aspect-ratio: 8/5;
}

/* Masonry photos in a single gallery */
.photo-grid {
  columns: 3;
  column-gap: 3px;
}
.photo-grid-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  cursor: zoom-in;
}
.photo-grid-item img {
  width: 100%; display: block;
  transition: transform .6s var(--ease-out), filter .4s;
  filter: brightness(.92);
}
.photo-grid-item:hover img { transform: scale(1.02); filter: brightness(.75); }

/* ════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,4,4,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.lightbox.open {
  opacity: 1; pointer-events: all;
}

.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90svh;
  display: flex; align-items: center;
}

.lightbox-img {
  max-width: 90vw; max-height: 85svh;
  object-fit: contain;
  transition: transform .4s var(--ease-out), opacity .3s;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none; border: none; cursor: pointer;
  color: var(--white); opacity: .7;
  transition: opacity .2s, transform .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-close svg { width: 28px; }

.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev svg, .lightbox-next svg { width: 36px; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-caption {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-display); font-size: 1rem;
  color: var(--text-mid); letter-spacing: .05em;
  white-space: nowrap;
}

.lightbox-counter {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-mid);
}

/* ════════════════════════════════════════════════════════
   ABOUT  section
   ════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img {
  position: relative;
}
.about-img img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top;
}
.about-img::after {
  content: '';
  position: absolute; inset: -12px -12px 12px 12px;
  border: 1px solid var(--border); z-index: -1;
  pointer-events: none;
}

.about-text { max-width: 560px; }
.about-text p { margin-bottom: 1.5rem; color: var(--text); font-weight: 300; font-size: 1rem; line-height: 1.85; }

/* ════════════════════════════════════════════════════════
   RAZONES / MANIFESTO
   ════════════════════════════════════════════════════════ */
.razones-hero {
  min-height: 60vh; display: flex; align-items: center;
  background: var(--dark); padding-block: 6rem;
}
.razones-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300; font-style: italic;
  line-height: 1.4; color: var(--white);
  max-width: 820px; margin-inline: auto;
  text-align: center;
  position: relative;
}
.razones-quote::before {
  content: '\201C';
  font-size: 8rem; line-height: 0;
  color: var(--gold); opacity: .15;
  position: absolute; top: 2.5rem; left: -1rem;
  font-family: var(--font-display);
}

.razones-entry {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
}
.razones-entry:nth-child(even) .razones-entry-img { order: 2; }
.razones-entry:nth-child(even) .razones-entry-text { order: 1; }

.razones-entry-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.razones-entry-text h3 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300; margin-bottom: 1rem; color: var(--white);
}
.razones-entry-text p { color: var(--text); line-height: 1.85; }

/* ════════════════════════════════════════════════════════
   NEWS
   ════════════════════════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card { background: var(--dark-2); overflow: hidden; }
.news-card-img {
  aspect-ratio: 16/9; overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
  filter: brightness(.88);
}
.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-body { padding: 1.5rem; }
.news-card-date {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.news-card-title {
  font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 400; color: var(--white); margin-bottom: .75rem;
  line-height: 1.25;
}
.news-card-title a:hover { color: var(--gold); }
.news-card-excerpt { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* Single news article */
.article-header { padding-block: 3rem; }
.article-featured {
  width: 100%; aspect-ratio: 21/9;
  object-fit: cover; margin-bottom: 3rem;
  max-height: 520px;
}
.article-content {
  font-size: 1.05rem; line-height: 1.9;
  color: var(--text);
}
.article-content h2,
.article-content h3 {
  font-family: var(--font-display); font-weight: 400;
  color: var(--white); margin-block: 2rem 1rem;
}
.article-content p   { margin-bottom: 1.5rem; }
.article-content img { max-width: 100%; margin-block: 2rem; }

/* ════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}

.contact-info-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.contact-info-item svg { width: 18px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.contact-info-label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mid); }
.contact-info-value { color: var(--white); font-size: .95rem; }
.contact-info-value a:hover { color: var(--gold); }

.social-links { display: flex; gap: 1rem; margin-top: 2.5rem; }
.social-link {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  transition: border-color .25s, color .25s, background .25s;
}
.social-link svg { display: block; flex-shrink: 0; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* Form */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; margin-bottom: .5rem;
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-mid);
}
.form-input,
.form-textarea {
  width: 100%; background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--white); font-family: var(--font-body);
  font-size: .95rem; font-weight: 300;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  transition: border-color .25s;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-textarea { min-height: 160px; resize: vertical; }

.form-msg {
  margin-top: 1rem; padding: .9rem 1.2rem;
  font-size: .875rem; border-radius: var(--radius);
}
.form-msg.success { background: rgba(100,180,100,.1); color: #8dcf8d; border: 1px solid rgba(100,180,100,.25); }
.form-msg.error   { background: rgba(220,80,80,.1);   color: #e09090; border: 1px solid rgba(220,80,80,.25); }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { line-height: 1; }
.footer-copy {
  font-size: .7rem; color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase;
}
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.footer-nav a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════
   EMPTY STATE
   ════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 5rem 2rem;
  color: var(--text-mid);
}
.empty-state svg { width: 48px; opacity: .3; margin-inline: auto; margin-bottom: 1rem; }
.empty-state p { font-size: .9rem; }

/* ════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1; transform: none;
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ════════════════════════════════════════════════════════
   COLECCIÓN PRIVADA badge
   ════════════════════════════════════════════════════════ */
.badge-privada {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--gold-dark); color: var(--gold);
  padding: .2rem .65rem; border-radius: 1rem;
}

/* ════════════════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════════════════ */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 4rem;
}
.pagination a,
.pagination span {
  min-width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); font-size: .8rem;
  color: var(--text-mid); transition: all .25s;
}
.pagination a:hover { border-color: var(--text-mid); color: var(--white); }
.pagination .current { border-color: var(--gold); color: var(--gold); }

/* ════════════════════════════════════════════════════════
   LOADING SPINNER
   ════════════════════════════════════════════════════════ */
.spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-inline: auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.featured .gallery-card:first-child { grid-column: span 2; }
  .photo-grid { columns: 2; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .razones-entry { grid-template-columns: 1fr; gap: 2rem; }
  .razones-entry:nth-child(even) .razones-entry-img,
  .razones-entry:nth-child(even) .razones-entry-text { order: unset; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .site-nav { padding-inline: 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 0 1.25rem 4rem; }
  .gallery-grid,
  .gallery-grid.featured { grid-template-columns: 1fr; }
  .gallery-grid.featured .gallery-card:first-child { grid-column: 1; aspect-ratio: 4/3; }
  .photo-grid { columns: 2; }
  .news-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container, .container-lg { padding-inline: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
  .section-header-flex { flex-direction: column; align-items: flex-start; }
  .about-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; }

  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

@media (max-width: 480px) {
  .photo-grid { columns: 1; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .btn { padding: .75rem 1.5rem; }
  .razones-quote { font-size: 1.4rem; }
}
