﻿/* ══════════════════════════════════════════
   FONTS
══════════════════════════════════════════ */
@font-face {
  font-family: 'Magics Flavor';
  src: url('MagicsFlavor.woff2') format('woff2'),
       url('MagicsFlavor.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ══════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════ */
:root {
  --bg:        #0f0f0f;
  --surface:   #1a1a1a;
  --surface-2: #222222;
  --gold:      #F9CE36;
  --gold-light:#FBDD72;
  --gold-dim:  rgba(249, 206, 54, 0.15);
  --white:     #ffffff;
  --gray:      #888888;
  --gray-dim:  #444444;
  --font-display: 'Magics Flavor', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:    8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:     1100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.btn--gold {
  background: var(--gold);
  color: #0f0f0f;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 206, 54, 0.3);
}

.btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-top: 0.4rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ══════════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 rgba(249, 206, 54, 0.15);
}

.nav__container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 60%, var(--bg) 100%);
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 700px;
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hero__logo {
  width: clamp(180px, 30vw, 280px);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.hero__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.hero__scroll-hint:hover { opacity: 1; }
.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 1.8s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ══════════════════════════════════════════
   INTRO
══════════════════════════════════════════ */
.intro {
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid rgba(249, 206, 54, 0.1);
  border-bottom: 1px solid rgba(249, 206, 54, 0.1);
}

.intro__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.intro__item {
  padding: 2rem 1.5rem;
}
.intro__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.intro__item h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.intro__item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CARTA
══════════════════════════════════════════ */
.carta {
  padding: 6rem 0;
}

.carta__category {
  margin-bottom: 4rem;
}

.carta__cat-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.carta__cat-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(249, 206, 54, 0.3));
}
.carta__cat-line:first-child {
  background: linear-gradient(to left, transparent, rgba(249, 206, 54, 0.3));
}

.carta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.carta__grid--center {
  grid-template-columns: minmax(280px, 480px);
  justify-content: center;
}

.carta__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.carta__item:hover {
  border-color: rgba(249, 206, 54, 0.3);
  background: var(--surface-2);
  transform: translateX(3px);
}
.carta__item--featured {
  border-color: rgba(249, 206, 54, 0.25);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.carta__item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.carta__item-name {
  font-weight: 500;
  font-size: 0.98rem;
}
.carta__item-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
}
.carta__item-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.carta__alergenos {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(249, 206, 54, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   HORARIO
══════════════════════════════════════════ */
.horario {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid rgba(249, 206, 54, 0.1);
  border-bottom: 1px solid rgba(249, 206, 54, 0.1);
}

.horario__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}

.horario__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), border-color var(--transition);
}
.horario__day--open {
  background: var(--surface-2);
}
.horario__day--open:hover {
  border-color: rgba(249, 206, 54, 0.3);
  transform: translateY(-3px);
}
.horario__day--closed {
  background: rgba(255,255,255,0.03);
  opacity: 0.5;
}

.horario__day-name {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}
.horario__day-hours {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}
.horario__day-hours--closed {
  color: var(--gray-dim);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════ */
.contacto {
  padding: 6rem 0;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto__item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.contacto__item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contacto__item h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.contacto__item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contacto__link {
  display: inline-block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  margin-top: 0.25rem;
}
.contacto__link:hover { color: var(--gold); }
.contacto__link--whatsapp {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--gold);
  font-weight: 600;
  margin-top: 0;
}

.contacto__map-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto__map-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid rgba(249, 206, 54, 0.15);
  border-radius: var(--radius);
  background-image:
    radial-gradient(ellipse at center, rgba(249, 206, 54, 0.06) 0%, transparent 70%);
  text-align: center;
}

.contacto__map-pin {
  font-size: 3rem;
  filter: drop-shadow(0 0 12px rgba(249, 206, 54, 0.4));
}

.contacto__map-address p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contacto__map-btn {
  display: block;
  text-align: center;
  width: 100%;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid rgba(249, 206, 54, 0.12);
  padding: 3rem 0 2rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}

.footer__logo {
  width: 88px;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold); }

.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer__credit a {
  color: var(--gold);
  opacity: 0.7;
}
.footer__credit a:hover { opacity: 1; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav mobile */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(280px, 80vw);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 2.5rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(249, 206, 54, 0.15);
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 1.2rem; }
  .nav__burger { display: flex; }

  /* Contacto */
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contacto__map { height: 260px; }

  /* Footer */
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Horario */
  .horario__grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }
  .btn { width: 100%; max-width: 260px; text-align: center; }
  .carta__grid { grid-template-columns: 1fr; }
  .footer__nav { gap: 1.2rem; }
}

/* ══════════════════════════════════════════
   PAGE HEADER (subpages)
══════════════════════════════════════════ */
.page-header {
  padding: 7rem 0 3rem;
  text-align: center;
}

/* ══════════════════════════════════════════
   CARTA PAGE
══════════════════════════════════════════ */
.carta-page {
  padding: 3.5rem 0 6rem;
  position: relative;
  background-image: url('../assets/img/fondo-iconos.jpeg');
  background-attachment: scroll;
  background-size: 100vw auto; /* móvil: escala por ancho de pantalla, repite vertical */
  background-repeat: repeat;
  background-position: top center;
  background-color: var(--bg);
}

/* Escritorio: parallax real, cover sobre viewport */
@media (min-width: 769px) {
  .carta-page {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.carta-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 0;
}

.carta-page .container {
  position: relative;
  z-index: 1;
}

.carta-page .carta__category { margin-bottom: 4rem; }

/* ══════════════════════════════════════════
   MENU GRID (flip cards)
══════════════════════════════════════════ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.menu-grid--center {
  grid-template-columns: minmax(280px, 480px);
  justify-content: center;
}

/* ══════════════════════════════════════════
   FLIP CARD
══════════════════════════════════════════ */
.flip-wrap {
  perspective: 1200px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.flip-card {
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease;
  cursor: pointer;
  border-radius: var(--radius);
  outline: none;
}

.flip-card:not(.flipped):hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.flip-card:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

.flip-card.flipped {
  transform: rotateY(180deg) translateY(-12px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(249, 206, 54, 0.35);
  z-index: 10;
}

.flip-card__front,
.flip-card__back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}

.flip-card__front {
  position: absolute;
  inset: 0;
}

.flip-card__back {
  position: relative;
}

/* Front face */
.flip-card__front {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

.flip-card:not(.flipped):hover .flip-card__front {
  border-color: rgba(249, 206, 54, 0.3);
  background: var(--surface-2);
}

/* Icono decorativo centrado en el frontal */
.flip-card__dish-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.flip-card:not(.flipped):hover .flip-card__dish-icon {
  opacity: 0.38;
  filter: drop-shadow(0 0 8px rgba(249, 206, 54, 0.5));
}

#plato-tequenos .flip-card__dish-icon {
  transform: scale(1.15);
}

.flip-card__front-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.flip-card__front-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  flex: 1;
}

.flip-card__name {
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.3;
}

.flip-card__price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.flip-card__front-sub {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
}

.flip-card__hint {
  font-size: 0.72rem;
  color: rgba(249, 206, 54, 0.4);
  letter-spacing: 0.05em;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}

.flip-card:not(.flipped):hover .flip-card__hint {
  color: rgba(249, 206, 54, 0.7);
}

/* Back face */
.flip-card__back {
  background: var(--surface-2);
  border: 1px solid rgba(249, 206, 54, 0.2);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
}

.flip-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
}

.flip-card__img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flip-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #111 0%, #181818 100%);
}

.flip-card__img-icon {
  font-size: 2rem;
  opacity: 0.3;
  line-height: 1;
}

.flip-card__img-label {
  font-size: 0.58rem;
  color: rgba(249, 206, 54, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 0.4rem;
  line-height: 1.4;
}

.flip-card__detail {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
  min-width: 0;
}

.flip-card__back-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(249, 206, 54, 0.12);
  padding-bottom: 0.4rem;
  margin-bottom: 0.15rem;
}

.flip-card__back-header .flip-card__name {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flip-card__back-header .flip-card__price {
  font-size: 0.95rem;
}

.flip-card__desc {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.flip-card__allergens {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
  padding-top: 0.35rem;
}

.flip-card__no-allergens {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* Food photo containers — real images fill the 1:1 slot without distortion */
.featured-card__img img,
.flip-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Allergen circle badges */
.allergen {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-block;
  border: 1px solid rgba(249, 206, 54, 0.25);
  box-sizing: border-box;
  cursor: help;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.allergen img {
  width: 100%;
  height: auto;
  display: block;
}

.allergen:hover {
  transform: scale(1.25);
}

/* Allergen legend */
.allergen-legend {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(249, 206, 54, 0.1);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
}

.allergen-legend__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  width: 100%;
  margin-bottom: 0.15rem;
}

.allergen-legend__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Active nav link */
.nav__link--active {
  color: var(--gold) !important;
}
.nav__link--active::after {
  width: 100% !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE – FLIP CARDS
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .flip-card__front-desc { font-size: 0.74rem; }
  .flip-card__ingredients { font-size: 0.74rem; }
  .allergen { width: 24px; height: 24px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   SCROLL PADDING (fixed nav offset)
══════════════════════════════════════════ */
html {
  scroll-padding-top: 80px;
}

/* ══════════════════════════════════════════
   FLIP CARD – DESCRIPTION ON FRONT
══════════════════════════════════════════ */
.flip-card__front-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  margin-top: 0.25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ══════════════════════════════════════════
   FLIP CARD – INGREDIENTS ON BACK
══════════════════════════════════════════ */
.flip-card__ingredients {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.flip-card__ingredients strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

/* SVG icon in img placeholder */
.flip-card__img-icon {
  opacity: 0.2;
  color: var(--gold);
}

/* ══════════════════════════════════════════
   CARTA NOTE & ALLERGEN AVISO (SVG icons)
══════════════════════════════════════════ */
.carta__note {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px dashed rgba(249, 206, 54, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}
.carta__note-icon {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.8;
}
.carta__note strong { color: var(--gold-light); }

.carta__alergenos {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(249, 206, 54, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.carta__alergenos-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--gold);
  opacity: 0.7;
}

/* ══════════════════════════════════════════
   HISTORIA / QUIÉNES SOMOS
══════════════════════════════════════════ */
.historia {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid rgba(249, 206, 54, 0.1);
  border-bottom: 1px solid rgba(249, 206, 54, 0.1);
}

.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.historia__img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid rgba(249, 206, 54, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: radial-gradient(ellipse at center, rgba(249, 206, 54, 0.05) 0%, transparent 70%);
}

.historia__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(249, 206, 54, 0.25);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.historia__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.historia__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0.3rem;
}

.historia__divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.historia__text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.98rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .historia__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .historia__img-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* ══════════════════════════════════════════
   FEATURED – CARRUSEL DE PLATOS
══════════════════════════════════════════ */
.featured {
  padding: 5.5rem 0 6rem;
  position: relative;
  background-image: url('../assets/img/fondo-iconos.jpeg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}

.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 0;
}

.featured .container {
  position: relative;
  z-index: 1;
}

.featured__header {
  text-align: center;
  margin-bottom: 3rem;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 100%;
  margin: 0 auto;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Featured card (no flip) */
.featured-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(249, 206, 54, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  outline: none;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  border-color: rgba(249, 206, 54, 0.45);
}

.featured-card:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

.featured-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #0e0e0e 0%, #1c1c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.featured-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35) 100%);
}

.featured-card__img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(249, 206, 54, 0.18);
}

.featured-card__img-icon {
  color: rgba(249, 206, 54, 0.2);
}

.featured-card__img-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(249, 206, 54, 0.2);
}

.featured-card__info {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.featured-card__name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.featured-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.featured-card__price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
}

.featured-card__link {
  font-size: 0.78rem;
  color: rgba(249, 206, 54, 0.5);
  letter-spacing: 0.05em;
  transition: color 0.25s;
}

.featured-card:hover .featured-card__link {
  color: var(--gold);
}

/* Carousel arrows */
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(249, 206, 54, 0.1);
  border: 1.5px solid rgba(249, 206, 54, 0.35);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
  outline: none;
}

.carousel__btn:hover {
  background: rgba(249, 206, 54, 0.2);
  border-color: var(--gold);
  transform: scale(1.08);
}

.carousel__btn:active {
  transform: scale(0.94);
}

.carousel__btn:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

/* Carousel dots */
.carousel__indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 1.75rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(249, 206, 54, 0.2);
  border: 1.5px solid rgba(249, 206, 54, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  outline: none;
}

.carousel__dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

.carousel__dot:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
}

@media (max-width: 560px) {
  .carousel {
    max-width: 100%;
    gap: 0.75rem;
  }
  .carousel__btn {
    width: 38px;
    height: 38px;
  }
}

/* ══════════════════════════════════════════
   CONTACTO – ITEM ICONS (SVG)
══════════════════════════════════════════ */
.contacto__item-icon {
  font-size: 0;
  color: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ══════════════════════════════════════════
   CONTACTO – MAP EMBED
══════════════════════════════════════════ */
.contacto__map-embed {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(249, 206, 54, 0.15);
  background: var(--surface);
}

.contacto__map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contacto__map-embed { height: 240px; }
}

/* ══════════════════════════════════════════
   NAV DROPDOWN (Carta)
══════════════════════════════════════════ */
.nav__item--has-dropdown {
  position: relative;
}

.nav__dropdown-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  opacity: 0.65;
  transition: transform 0.22s ease;
}
.nav__item--has-dropdown:hover .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(12, 12, 12, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(249, 206, 54, 0.18);
  border-radius: 10px;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 155px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.52rem 1.25rem;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav__dropdown-link:hover {
  color: var(--gold-light);
  background: rgba(249, 206, 54, 0.07);
}

/* Mobile: accordion dentro del menú burger */
@media (max-width: 768px) {
  .nav__dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: auto;
    transition: max-height 0.3s ease;
  }
  .nav__item--has-dropdown.dropdown-open .nav__dropdown {
    max-height: 220px;
  }
  .nav__item--has-dropdown.dropdown-open .nav__dropdown-chevron {
    transform: rotate(180deg);
  }
  .nav__dropdown-link {
    font-size: 1rem;
    padding: 0.45rem 0 0.45rem 1.4rem;
    color: rgba(255, 255, 255, 0.5);
  }
  .nav__dropdown-link:hover {
    background: transparent;
    color: var(--gold);
  }
}

/* Offset para que las anclas no queden bajo el nav fijo */
.carta__category {
  scroll-margin-top: 80px;
}

/* ══════════════════════════════════════════
   PLATO ESPECIAL DEL DÍA
══════════════════════════════════════════ */
.especial {
  /* colores blob: dorado, ámbar, oro brillante, marrón-naranja, naranja-oro */
  --esp-c1: 212, 165, 116;
  --esp-c2: 180, 100, 20;
  --esp-c3: 249, 180, 30;
  --esp-c4: 100, 50, 10;
  --esp-c5: 212, 130, 60;
  --esp-cp: 249, 206, 54;
  --esp-size: 55%;

  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: #080808;
  border-top: 1px solid rgba(249, 206, 54, 0.18);
  border-bottom: 1px solid rgba(249, 206, 54, 0.18);
}

/* SVG filter oculto */
.especial__bg-svg {
  display: none;
}

/* Contenedor de blobs animados */
.especial__bg-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(40px);
  z-index: 0;
}
.especial__bg-anim.goo-active {
  filter: url(#especial-blur-goo) blur(40px);
}

/* Base de cada blob */
.especial__blob {
  position: absolute;
  width: var(--esp-size);
  height: var(--esp-size);
  top: calc(50% - var(--esp-size) / 2);
  left: calc(50% - var(--esp-size) / 2);
  mix-blend-mode: hard-light;
  border-radius: 50%;
}

.especial__blob--1 {
  background: radial-gradient(circle at center, rgba(var(--esp-c1), 1) 0, rgba(var(--esp-c1), 1) 50%) no-repeat;
  transform-origin: center center;
  animation: esp-move-vertical 30s ease infinite;
  opacity: 1;
}
.especial__blob--2 {
  background: radial-gradient(circle at center, rgba(var(--esp-c2), 0.8) 0, rgba(var(--esp-c2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: esp-move-circle 20s reverse infinite;
  opacity: 1;
}
.especial__blob--3 {
  background: radial-gradient(circle at center, rgba(var(--esp-c3), 0.8) 0, rgba(var(--esp-c3), 0) 50%) no-repeat;
  transform-origin: calc(50% + 400px);
  animation: esp-move-circle 40s linear infinite;
  opacity: 1;
}
.especial__blob--4 {
  background: radial-gradient(circle at center, rgba(var(--esp-c4), 0.8) 0, rgba(var(--esp-c4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: esp-move-horizontal 40s ease infinite;
  opacity: 0.7;
}
.especial__blob--5 {
  background: radial-gradient(circle at center, rgba(var(--esp-c5), 0.8) 0, rgba(var(--esp-c5), 0) 50%) no-repeat;
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: esp-move-circle 20s ease infinite;
  opacity: 1;
}
.especial__blob--ptr {
  background: radial-gradient(circle at center, rgba(var(--esp-cp), 0.8) 0, rgba(var(--esp-cp), 0) 50%) no-repeat;
  mix-blend-mode: hard-light;
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes esp-move-vertical {
  0%   { transform: translateY(-50%); }
  50%  { transform: translateY(50%); }
  100% { transform: translateY(-50%); }
}
@keyframes esp-move-circle {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
@keyframes esp-move-horizontal {
  0%   { transform: translateX(-50%) translateY(-10%); }
  50%  { transform: translateX(50%)  translateY(10%); }
  100% { transform: translateX(-50%) translateY(-10%); }
}

/* Luz dorada desde arriba + destellos laterales — encima de los blobs */
.especial::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%,   rgba(249, 206, 54, 0.15) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 110%, rgba(249, 206, 54, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 8%  55%,  rgba(249, 206, 54, 0.04) 0%, transparent 35%),
    radial-gradient(ellipse at 92% 55%,  rgba(249, 206, 54, 0.04) 0%, transparent 35%);
  pointer-events: none;
}

/* Línea decorativa dorada centrada en la parte superior */
.especial::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1px;
  z-index: 1;
  background: linear-gradient(to right, transparent, rgba(249, 206, 54, 0.7), transparent);
}

/* Contenido sobre los blobs */
.especial > .container {
  position: relative;
  z-index: 2;
}

.especial__header {
  text-align: center;
  margin-bottom: 3rem;
}

.especial__stage {
  display: flex;
  justify-content: center;
}

/* Título con halo dorado */
.especial__header .section-title {
  text-shadow:
    0 0 40px rgba(249, 206, 54, 0.35),
    0 0 90px rgba(249, 206, 54, 0.12);
}

/* Flip wrap más ancho + brillo pulsante */
.especial__flip-wrap {
  width: 100%;
  max-width: 780px;
  border-radius: var(--radius);
  animation: especial-glow-pulse 4s ease-in-out infinite;
}

@keyframes especial-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 28px rgba(249, 206, 54, 0.12),
      0 0 70px rgba(249, 206, 54, 0.05),
      0 24px 55px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 50px rgba(249, 206, 54, 0.26),
      0 0 120px rgba(249, 206, 54, 0.10),
      0 30px 72px rgba(0, 0, 0, 0.52);
  }
}

/* ── Cara delantera: layout horizontal ── */
.especial__front {
  display: grid;
  grid-template-columns: 42% 1fr;
  padding: 0;
  background: linear-gradient(135deg, #131110 0%, #1d1a14 55%, #1a1714 100%);
  border: 1px solid rgba(249, 206, 54, 0.42);
  min-height: 280px;
}

/* ── Cara trasera: layout horizontal ── */
.especial__back {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 280px;
}

/* ── Columna imagen (delantera) ── */
.especial__col-img {
  background: linear-gradient(135deg, #0d0d0d 0%, #171717 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(249, 206, 54, 0.1);
}

.especial__plate-icon {
  color: rgba(249, 206, 54, 0.18);
}

/* ── Columna info (delantera) ── */
.especial__col-info {
  padding: 2rem 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.especial__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  background: rgba(249, 206, 54, 0.08);
  border: 1px solid rgba(249, 206, 54, 0.22);
  border-radius: 20px;
  padding: 0.3rem 0.95rem;
  width: fit-content;
}

.especial__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: especial-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes especial-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.65); }
}

.especial__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.especial__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.25;
}

.especial__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.especial__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.65;
}

/* ── Columna imagen (trasera) ── */
.especial__back-col-img {
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #171717 100%);
  border-right: 1px solid rgba(249, 206, 54, 0.1);
}

.especial__back-col-img .flip-card__img-placeholder {
  height: 100%;
  min-height: 280px;
}

/* ── Columna info (trasera) ── */
.especial__back-col-info {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Hover state: gold border más vivo */
.flip-card:not(.flipped):hover .especial__front {
  border-color: rgba(249, 206, 54, 0.72);
  background: linear-gradient(135deg, #191711 0%, #242019 55%, #201e14 100%);
}

/* ── Responsive: apilado en móvil ── */
@media (max-width: 640px) {
  .especial__front,
  .especial__back {
    grid-template-columns: 1fr;
  }

  .especial__col-img {
    height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(249, 206, 54, 0.1);
  }

  .especial__back-col-img {
    height: 160px;
    border-right: none;
    border-bottom: 1px solid rgba(249, 206, 54, 0.1);
  }

  .especial__back-col-img .flip-card__img-placeholder {
    min-height: 0;
    height: 100%;
  }

  .especial__col-info {
    padding: 1.5rem 1.5rem 1.2rem;
  }

  .especial__back-col-info {
    padding: 1.25rem 1.4rem;
  }

  .especial__name {
    font-size: 1.25rem;
  }
}

/* ══════════════════════════════════════════
   GALERÍA
══════════════════════════════════════════ */
.galeria {
  padding: 6rem 0;
  background: var(--bg);
}

.galeria__header {
  text-align: center;
  margin-bottom: 3rem;
}

.galeria__grid {
  columns: 3;
  column-gap: 0.75rem;
}

.galeria__item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(249, 206, 54, 0.1);
  cursor: pointer;
  position: relative;
  display: block;
}

.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.galeria__item:hover::after {
  background: rgba(249, 206, 54, 0.1);
}

.galeria__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria__item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.galeria__lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}

.galeria__lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.galeria__lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.galeria__lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  z-index: 1;
}

.galeria__lb-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.galeria__lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  color: rgba(255, 255, 255, 0.85);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.65);
  border: 1.5px solid rgba(249, 206, 54, 0.35);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, background 0.25s ease,
              border-color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.galeria__lb-btn:hover {
  color: var(--gold);
  background: rgba(249, 206, 54, 0.12);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 28px rgba(249, 206, 54, 0.25), 0 0 0 4px rgba(249, 206, 54, 0.08);
}

.galeria__lb-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.galeria__lb-btn--prev { left: 1.5rem; }
.galeria__lb-btn--next { right: 1.5rem; }

@media (max-width: 900px) {
  .galeria__grid { columns: 2; }
}

@media (max-width: 560px) {
  .galeria__grid { columns: 2; column-gap: 0.5rem; }
  .galeria__item { margin-bottom: 0.5rem; }
  .galeria__lb-btn { width: 44px; height: 44px; }
  .galeria__lb-btn--prev { left: 0.5rem; }
  .galeria__lb-btn--next { right: 0.5rem; }
}

/* ══════════════════════════════════════════
   CURSOR PERSONALIZADO (desktop)
══════════════════════════════════════════ */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s ease;
  }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1px solid rgba(249, 206, 54, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.18s cubic-bezier(0.25,0.46,0.45,0.94),
                width 0.25s ease, height 0.25s ease,
                border-color 0.2s ease, opacity 0.2s ease;
  }

  .cursor-ring.hovered {
    width: 56px; height: 56px;
    border-color: var(--gold);
  }

  a, button, [role="button"], .menu-card, .categoria-card, .flip-card {
    cursor: none;
  }
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
