/* ============================================================
   Salterra – Estilos personalizados (complementa Tailwind)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --color-green:      #2d4a3e;
  --color-gold:       #c8a96e;
  --color-cream:      #f5f0e8;
  --color-dark:       #1a1a1a;
  --transition-base:  0.3s ease;
}

/* ═══════════════════════════════════════════════
   LOADING SCREEN — pantalla de carga
═══════════════════════════════════════════════ */

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060d09;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease;
}

#loading-screen.out {
  opacity: 0;
  pointer-events: none;
}

#loading-logo {
  width: clamp(100px, 18vw, 160px);
  filter: invert(1) sepia(1) saturate(1.4) hue-rotate(5deg) brightness(1.05);
  opacity: 0;
  animation: loading-logo-appear 0.7s ease 0.3s forwards;
}

#loading-spinner {
  margin-top: 28px;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(200, 169, 110, 0.2);
  border-top-color: #c8a96e;
  border-radius: 50%;
  animation: loading-spin 0.85s linear infinite;
}

@keyframes loading-logo-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  #loading-spinner { animation: none; border-top-color: #c8a96e; }
  #loading-logo    { animation: none; opacity: 1; }
}

/* ─── fin loading ─── */

/* ═══════════════════════════════════════════════
   INTRO / SPLASH SCREEN
═══════════════════════════════════════════════ */

#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #060d09;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: default;
}
#intro-screen.out {
  display: none;
}

/* SVG ornamentos botánicos */
.intro-svg-orn {
  width: clamp(240px, 52vw, 460px);
  display: block;
  flex-shrink: 0;
}
.intro-branch,
.intro-leaf,
.intro-tendril {
  fill: none;
  stroke-dasharray: 9999;
  stroke-dashoffset: 9999;
}

/* Logo */
#intro-logo {
  width: clamp(120px, 22vw, 200px);
  margin: 6px 0 2px;
  filter: invert(1) sepia(1) saturate(1.4) hue-rotate(5deg) brightness(1.05);
  opacity: 0;
  display: block;
}

/* Línea decorativa central */
#intro-line {
  width: clamp(140px, 32vw, 280px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.55), transparent);
  transform: scaleX(0);
  transform-origin: center;
  margin: 16px 0 14px;
}

/* Subtítulo */
#intro-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.5rem, 1.4vw, 0.7rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.72);
  opacity: 0;
  margin: 0;
}

/* Botón entrar */
#intro-enter {
  margin-top: 38px;
  padding: 12px 36px;
  background: transparent;
  border: 1px solid rgba(200,169,110,0.45);
  color: rgba(200,169,110,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
#intro-enter:hover {
  background: rgba(200,169,110,0.12);
  border-color: rgba(200,169,110,0.7);
  color: #c8a96e;
}

/* --- Partículas doradas flotantes de fondo --- */
#intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, auto, auto, 0);
  z-index: 0;
}
.intro-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,1) 0%, rgba(200,169,110,0.4) 50%, rgba(200,169,110,0) 100%);
  will-change: transform, opacity;
  box-shadow: 0 0 6px rgba(200,169,110,0.5);
}

/* ─── fin intro ─── */

/* ---------- Logo ---------- */
/* El logo original es negro sobre blanco; lo invertimos para la web oscura */
.logo-img {
  filter: invert(1) sepia(1) saturate(1.5) hue-rotate(5deg) brightness(1.1);
  /* Resultado: tono dorado sobre fondo oscuro */
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.85;
}

.logo-img-hero {
  filter: invert(1);          /* blanco puro en el hero */
  opacity: 0.95;
  drop-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-padding-top: 80px;
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  position: relative;
  /* Impide que el scroll elástico horizontal de iOS Safari muestre
     contenido fuera del viewport (fix principal para móvil) */
  touch-action: pan-y;
}

/* ---------- Scrollbar personalizado ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-dark); }
::-webkit-scrollbar-thumb { background: var(--color-green); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ---------- Navbar ---------- */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(45, 74, 62, 0.4);
}

.nav-link {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-base);
  display: block;
  padding: 8px 0;
}

.mobile-link:hover {
  color: var(--color-gold);
}

/* ---------- Botón dorado ---------- */
.btn-gold {
  background: var(--color-gold);
  color: var(--color-dark);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: inline-block;
}

.btn-gold:hover {
  background: #dfc08a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.35);
}

.btn-gold:active {
  transform: translateY(0);
}

/* ---------- Ticker (banda animada) ---------- */
/* Wrapper: contiene el desbordamiento incluso en Safari iOS */
.ticker-wrap {
  overflow: hidden;
  max-width: 100%;
  contain: layout;
}
.ticker {
  animation: ticker-scroll 30s linear infinite;
  display: inline-flex;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Hero: vídeo de fondo ─── */
.hero-bg-video {
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}

/* ---------- Scroll indicator (hero) ---------- */
@keyframes grow-shrink {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(1.4); opacity: 1; }
}

.scroll-line {
  animation: grow-shrink 2s ease-in-out infinite;
  transform-origin: top;
}

/* ===================== REVIEWS CAROUSEL ===================== */
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.review-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,169,110,0.35);
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2d4a3e;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Marquee infinito de reseñas — sin Swiper */
@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reviews-marquee {
  overflow: hidden;
  width: 100%;
  /* Aísla el layout del marquee para que no desborde en Safari iOS */
  contain: layout;
  width: 100%;
  padding: 0 0 16px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviews-marquee 90s linear infinite;
}
.reviews-track .swiper-slide {
  width: 340px;
  flex-shrink: 0;
  height: auto;
  display: flex;
}
.reviews-track .swiper-slide > .review-card {
  width: 100%;
}


/* ---------- Dishes / Cards ---------- */
.dish-card {
  background: rgba(45, 74, 62, 0.15);
  border: 1px solid rgba(45, 74, 62, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =====================================================================
   CARTA – diseño elegante estilo menú de restaurante
   ===================================================================== */

/* --- Cabecera ornamental --- */
.carta-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.carta-orn {
  width: 320px;
  max-width: 90%;
  margin: 1.25rem auto 0;
  display: block;
}

/* --- Tabs container --- */
.carta-tabs-wrap {
  position: relative;
  margin-bottom: 3rem;
}
#menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid rgba(200,169,110,0.15);
  padding-bottom: 0;
}

.menu-tab {
  position: relative;
  padding: 10px 22px;
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.menu-tab:hover {
  color: rgba(255,255,255,0.85);
}
.menu-tab.active {
  color: var(--color-gold);
  font-weight: 700;
}

/* Indicator bar deslizante */
#tab-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: none; /* controlado por Anime.js */
  width: 80px;
  left: 0;
  box-shadow: 0 0 12px rgba(200,169,110,0.6);
}

/* --- Listas de platos --- */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(200,169,110,0.08);
  transition: background 0.25s ease, padding 0.25s ease;
  border-radius: 6px;
  /* para anime.js */
  opacity: 0;
  transform: translateY(14px);
}
.menu-row:last-child {
  border-bottom: none;
}
.menu-row:hover {
  background: rgba(200,169,110,0.04);
  padding-left: 12px;
  padding-right: 8px;
}

.menu-row__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.menu-row__name {
  font-family: 'Playfair Display', serif;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.menu-row__sub {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  line-height: 1.4;
}
.menu-row__dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(200,169,110,0.2);
  margin-bottom: 4px;
}
.menu-row__price {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--color-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Platos destacados (★) */
.menu-row--star .menu-row__name::before {
  content: '★ ';
  color: var(--color-gold);
  font-size: 0.7rem;
  vertical-align: middle;
}
.menu-row--star .menu-row__name {
  text-shadow: 0 0 18px rgba(200,169,110,0.25);
}

/* Cabecera de categoría dentro de Bebidas */
.menu-cat-header {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 2.5rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
}
.menu-cat-header::before,
.menu-cat-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,169,110,0.2);
}
.menu-cat-header:first-child {
  margin-top: 0;
}

/* =====================================================================
   SUGERENCIAS DEL CHEF
   ===================================================================== */
.chef-suggest-card {
  background: rgba(12,24,16,0.9);
  border: 1px solid rgba(200,169,110,0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(32px);
}
.chef-suggest-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.chef-suggest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 30px rgba(200,169,110,0.08);
  border-color: rgba(200,169,110,0.3);
}
.chef-suggest-card--featured {
  border-color: rgba(200,169,110,0.35);
  box-shadow: 0 0 40px rgba(200,169,110,0.07);
}
.chef-suggest-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.chef-suggest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.chef-suggest-card:hover .chef-suggest-img-wrap img {
  transform: scale(1.07);
}
.chef-suggest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8,18,11,0.85) 100%);
}
.chef-suggest-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12,24,16,0.85);
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--color-gold);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.chef-suggest-badge--gold {
  background: rgba(200,169,110,0.15);
  border-color: var(--color-gold);
}
.chef-suggest-body {
  padding: 20px 22px 22px;
}
.chef-suggest-meta {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  opacity: 0.8;
}
.chef-suggest-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}
.chef-suggest-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 16px;
}
.chef-suggest-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chef-suggest-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-gold);
}
.chef-suggest-stars {
  font-size: 0.6rem;
  color: rgba(200,169,110,0.7);
  letter-spacing: 2px;
}

/* ---------- Galería ---------- */
.gallery-img {
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.9);
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* ---- Mosaico WOW ---- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,26,22,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: #c8a96e;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Animación de entrada escalonada */
.gallery-animated {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.gallery-animated.gallery-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Lightbox simple ---------- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lightbox.open {
  display: flex;
}

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#lightbox-close:hover {
  opacity: 1;
}

/* =====================================================================
   NOSOTROS – ANIMACIONES DE ENTRADA
   ===================================================================== */
.nosotros-img,
.nosotros-txt {
  will-change: transform, opacity;
}

.alhambra-badge {
  position: relative;
}
.alhambra-badge > div {
  transition: border-color .4s ease, box-shadow .4s ease;
}
.alhambra-badge > div:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(200, 169, 110, .15);
}

.nosotros-stat {
  transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}
.nosotros-stat:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, .08);
}

/* Barra decorativa animada dentro de cada stat */
.stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transition: none;
}
.nosotros-stat.is-visible .stat-bar {
  animation: statBarSlide 1.2s .4s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes statBarSlide {
  to { width: 100%; }
}

/* =====================================================================
   PARALLAX CINEMATOGRÁFICO
   ===================================================================== */
.parallax-break {
  position: relative;
  height: clamp(280px, 40vw, 420px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.parallax-break__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,13,9,0.7);
  backdrop-filter: blur(2px);
}
.parallax-break__quote {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  text-align: center;
  max-width: 600px;
  padding: 0 24px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.parallax-break__quote::before,
.parallax-break__quote::after {
  color: var(--color-gold);
  font-size: 1.4em;
  vertical-align: middle;
  opacity: 0.6;
}
/* iOS no soporta background-attachment:fixed bien */
@supports (-webkit-touch-callout: none) {
  .parallax-break {
    background-attachment: scroll;
  }
}

/* =====================================================================
   EN COCINA – GALERÍA DE VÍDEOS
   ===================================================================== */
.cocina-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr 1fr;
  gap: 12px;
}
.cocina-item--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.cocina-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.cocina-item:not(.cocina-item--hero) {
  min-height: 0;
}
.cocina-item--hero {
  min-height: 380px;
}
.cocina-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cocina-item:hover .cocina-video {
  transform: scale(1.06);
}
.cocina-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,9,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  gap: 8px;
  transition: background 0.35s ease;
}
.cocina-item:hover .cocina-overlay {
  background: linear-gradient(to top, rgba(6,13,9,0.6) 0%, rgba(6,13,9,0.15) 100%);
}
.cocina-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200,169,110,0.2);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: background 0.3s ease, transform 0.3s ease;
  margin-bottom: 6px;
}
.cocina-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px; /* compensación visual del play */
}
.cocina-item:hover .cocina-play {
  background: rgba(200,169,110,0.35);
  transform: scale(1.1);
}
.cocina-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Video lightbox fullscreen */
#video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#video-lightbox.open {
  display: flex;
}
#video-lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  outline: none;
}
#video-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.2s;
}
#video-lightbox-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .cocina-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cocina-item--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }
  .parallax-break {
    height: 250px;
  }
}

/* ---------- Animaciones de entrada (Intersection Observer) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Iframe mapa – fallback color bg ---------- */
iframe {
  background: var(--color-green);
}

/* ---------- Focus visible (accesibilidad) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 640px) {
  .ticker {
    animation-duration: 20s;
  }
  .reviews-track {
    animation-duration: 50s;
  }
}

/* ===================== PETACACHICO ===================== */
.petacachico-section {
  background: linear-gradient(135deg, #0a1510 0%, #152315 40%, #0f1d17 70%, #0a1510 100%);
  border-top: 1px solid rgba(200,169,110,0.12);
  border-bottom: 1px solid rgba(200,169,110,0.12);
}

.petaca-stat {
  text-align: center;
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 12px;
  padding: 16px 10px;
  transition: border-color 0.3s ease;
}

.petaca-stat:hover {
  border-color: rgba(200,169,110,0.5);
}
