/* ============ VARIABLES CSS ============ */
:root {
  --mustard: #C9952A;
  --mustard-light: #E8B84B;
  --mustard-deep: #A67A1E;
  --olive: #6B7C45;
  --olive-deep: #4A5A28;
  --shadow-mustard: rgba(201, 149, 42, 0.2);
  --cream: #FFF8F0;
  --cream-warm: #FFE8D0;
  --bone: #FFFAF5;
  --ink: #1A0500;
  --ink-soft: #3D3028;
}

/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* RESPONSIVO: sin desbordamiento horizontal */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.display { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 50, "WONK" 0; }
.script  { font-family: 'Caveat', cursive; }

/* ============ HERO ============ */
.gallery-hero {
  background: var(--bone);
  padding: 10rem 3rem 6rem;
  text-align: center;
}

.gallery-hero .eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.gallery-hero h1 em {
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-weight: 700;
  color: var(--mustard);
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* ============ FILTROS ============ */
.gallery-filters-section {
  background: var(--bone);
  padding: 3rem 3rem 2rem;
  border-bottom: 1px solid var(--cream-warm);
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.filters-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.filters-wrapper {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  border: 1.5px solid var(--cream-warm);
  background: transparent;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: var(--mustard);
  color: var(--mustard);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--mustard);
  border-color: var(--mustard);
  color: white;
  box-shadow: 0 4px 12px var(--shadow-mustard);
}

.filter-btn.active:hover { transform: none; }

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  border-radius: 100px;
  margin-left: 0.5rem;
  padding: 0 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--cream-warm);
  color: var(--ink-soft);
  transition: background 0.3s ease, color 0.3s ease;
}

.filter-btn.active .filter-count {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

/* ============ GRID DE FOTOS ============ */
.gallery-grid-section {
  padding: 4rem 2rem 5rem;
}

.gallery-grid-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
}

.gallery-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-card:active { transform: scale(0.98); }

.card-image-wrapper {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* RESPONSIVO: imágenes siempre escalables */
  max-width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--mustard);
  color: var(--ink);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 18, 8, 0.93) 0%,
    rgba(28, 18, 8, 0.55) 50%,
    rgba(28, 18, 8, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.overlay-content {
  padding: 1.5rem;
  width: 100%;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.overlay-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 0.35rem;
}

.overlay-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: white;
  line-height: 1.2;
  margin: 0 0 0.7rem;
  font-weight: 500;
}

.overlay-divider {
  width: 0;
  height: 1.5px;
  background: var(--mustard);
  margin-bottom: 0.7rem;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.overlay-description {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

.overlay-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mustard);
  opacity: 0.85;
}

.card-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: opacity 0.3s ease;
}

.card-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
}

.card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  }
  .gallery-card:hover .card-image { transform: scale(1.06); }
  .gallery-card:hover .card-overlay { opacity: 1; }
  .gallery-card:hover .overlay-content { transform: translateY(0); }
  .gallery-card:hover .overlay-divider { width: 2.5rem; }
  .gallery-card:hover .card-badge { opacity: 0; }
  .gallery-card:hover .card-info { opacity: 0.35; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 3rem 2rem;
}

/* RESPONSIVO: 1 columna en móvil */
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--cream);
}

.footer-tagline {
  color: rgba(245, 239, 227, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard-light);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(245, 239, 227, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--mustard-light); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--mustard);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--cream);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 227, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 227, 0.5);
}

/* ============ ANIMACIONES ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 5, 0, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

body.lightbox-open { overflow: hidden; }

body.lightbox-open nav {
  visibility: hidden;
  pointer-events: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
}

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

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--mustard);
  border-color: var(--mustard);
  transform: scale(1.05);
}

.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  max-width: 1200px;
  width: 100%;
  max-height: 85vh;
  background: var(--bone);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-image-wrapper {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-image.loaded { opacity: 1; }

.lightbox-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}

.lightbox-category {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mustard);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.lightbox-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.lightbox-divider {
  width: 60px;
  height: 3px;
  background: var(--mustard);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.lightbox-description {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 2.5rem 0;
}

.lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.lightbox-btn-menu,
.lightbox-btn-order {
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  text-align: center;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.lightbox-btn-menu {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.lightbox-btn-menu:hover {
  background: var(--ink);
  color: white;
}

.lightbox-btn-order {
  background: var(--mustard);
  border: 1.5px solid var(--mustard);
  color: white;
}

.lightbox-btn-order:hover {
  background: var(--mustard-deep);
  border-color: var(--mustard-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-mustard);
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

.lightbox-counter .current-index {
  color: var(--mustard);
  font-weight: 600;
}

/* ============ CTA SECTION ============ */
.gallery-cta-section {
  padding: 6rem 2rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.gallery-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 149, 42, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 149, 42, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-divider {
  width: 50px;
  height: 1px;
  background: var(--mustard);
  opacity: 0.6;
}

.cta-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--mustard);
  font-size: 0.75rem;
}

.cta-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--cream);
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  font-weight: 400;
}

.cta-title em {
  font-family: 'Caveat', cursive;
  font-style: normal;
  color: var(--mustard);
  font-weight: 700;
  font-size: 1.1em;
  display: inline-block;
  transform: rotate(-2deg);
  padding: 0 0.2em;
}

.cta-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 248, 240, 0.8);
  line-height: 1.7;
  margin: 0 auto 3rem;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cta-btn svg { transition: transform 0.3s ease; }
.cta-btn:hover svg { transform: translateX(3px); }

.cta-btn-primary {
  background: var(--mustard);
  color: white;
  box-shadow: 0 8px 24px var(--shadow-mustard);
}

.cta-btn-primary:hover {
  background: var(--mustard-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 149, 42, 0.35);
}

.cta-btn-secondary {
  background: var(--olive);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(107, 124, 69, 0.3);
}

.cta-btn-secondary:hover {
  background: var(--olive-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107, 124, 69, 0.5);
}

.cta-btn-tertiary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255, 248, 240, 0.3);
}

.cta-btn-tertiary:hover {
  background: rgba(255, 248, 240, 0.1);
  border-color: var(--cream);
  transform: translateY(-3px);
}

.cta-footnote {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  color: var(--mustard);
  margin: 0;
  opacity: 0.85;
}

/* ============ EMPTY STATE ============ */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ink-soft);
}

.empty-state p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ============ ACCESIBILIDAD ============ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--mustard);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}

.skip-link:focus { top: 0; }

*:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) { outline: none; }

/* ============ RESPONSIVE (MOBILE-FIRST, min-width) ============ */

/* 600px: tablets pequeños */
@media (min-width: 600px) {
  /* RESPONSIVO: gallery 2 columnas */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .card-image-wrapper { aspect-ratio: 4/5; }
  .lightbox-content { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-image-wrapper { min-height: 300px; max-height: 50vh; }
  .lightbox-info { padding: 2rem 1.5rem; }
}

/* 768px: tablets — NAV + layouts */
@media (min-width: 768px) {
  nav { padding: 1.25rem 3rem; }
  .nav-links { display: flex; gap: 2.5rem; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  .gallery-hero { padding: clamp(6rem, 12vw, 10rem) 3rem clamp(3rem, 8vw, 6rem); }
  .gallery-filters-section { padding: 3rem 3rem 2rem; }
  .filters-container { flex-direction: row; align-items: center; }
  .filters-label { display: block; }
  .filters-wrapper { flex-wrap: wrap; overflow-x: visible; padding: 0; }
  .filter-btn { padding: 0.7rem 1.4rem; font-size: 0.82rem; }

  .gallery-grid-section { padding: 4rem 2rem 5rem; }

  /* RESPONSIVO: CTA buttons en fila */
  .cta-buttons { flex-direction: row; width: auto; }
  .cta-btn { width: auto; }

  .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* 1024px: desktop */
@media (min-width: 1024px) {
  /* RESPONSIVO: gallery 3 columnas */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  /* RESPONSIVO: lightbox 2 columnas */
  .lightbox-content { grid-template-columns: 1.3fr 1fr; max-height: 85vh; overflow-y: visible; }
  .lightbox-image-wrapper { min-height: 500px; max-height: none; }
  .lightbox-info { padding: 3rem 2.5rem; overflow-y: auto; justify-content: center; }
  .lightbox-close { top: 2rem; right: 2rem; width: 48px; height: 48px; }
  .lightbox-prev, .lightbox-next { top: 50%; width: 56px; height: 56px; }
  .lightbox-prev { left: 2rem; }
  .lightbox-next { right: 2rem; }
  /* RESPONSIVO: footer 4 columnas */
  .footer-content { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; }
}

/* landscape móvil */
@media (max-width: 900px) and (orientation: landscape) {
  .gallery-hero { padding: 5rem 2rem 2rem; min-height: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Hover disponible */
@media (hover: none) {
  .card-info { opacity: 1 !important; }
  .gallery-card:active { transform: scale(0.97); transition: transform 0.15s ease; }
  .card-overlay { display: none; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
