/* ============================================
   EL RINCÓN DE PATONES — Styles
   "Elegant & Magical Mountain Hideaway"
   Palette: Slate + Warm Amber + Moss + Cream
   ============================================ */

/* Google Fonts loaded via <link> in HTML <head> for performance */

/* --- Custom Properties --- */
:root {
  --pizarra-deep: #141418;
  --pizarra-900: #1c1c22;
  --pizarra-800: #27272f;
  --pizarra-700: #35353f;
  --pizarra-600: #4a4a56;
  --pizarra-500: #6a6a76;
  --amber: #c4944e;
  --amber-soft: #d4a86a;
  --amber-deep: #a67a3a;
  --amber-glow: rgba(196, 148, 78, 0.12);
  --cream: #f2e8da;
  --cream-warm: #ebe0d0;
  --cream-soft: #f8f3ec;
  --moss: #7a8e6e;
  --moss-muted: #5c6b54;
  --text-light: #e6ddd0;
  --text-muted: #a69e92;
  --text-warm: #c8baa8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-accent: 'Caveat', cursive;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 6px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-light);
  background: var(--pizarra-900);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-soft); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cream); }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(28, 28, 34, 0.92);
  backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-right: 2rem;
}

.nav__logo span {
  font-family: var(--font-accent);
  color: var(--amber-soft);
  font-weight: 500;
  font-size: 1.5rem;
}

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

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--amber-soft);
  transition: width var(--transition), left var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--cream);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
  left: 0;
}

.nav__cta {
  font-family: var(--font-body) !important;
  color: var(--pizarra-900) !important;
  background: var(--amber);
  padding: 0.5rem 1.4rem !important;
  border-radius: 30px;
  letter-spacing: 0.06em !important;
  font-size: 0.9rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  background: var(--cream) !important;
  color: var(--pizarra-900) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--pizarra-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.35) saturate(0.5);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(196, 148, 78, 0.06) 0%,
      transparent 60%
    ),
    linear-gradient(180deg,
      rgba(20, 20, 24, 0.3) 0%,
      rgba(20, 20, 24, 0.15) 35%,
      rgba(20, 20, 24, 0.5) 70%,
      rgba(28, 28, 34, 1) 100%
    );
}

/* Firefly particles */
.hero__fireflies {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber-soft);
  box-shadow: 0 0 8px 3px rgba(212, 168, 106, 0.4), 0 0 20px 6px rgba(212, 168, 106, 0.15);
  animation: fireflyFloat linear infinite, fireflyGlow ease-in-out infinite;
}

.firefly:nth-child(1) { left: 12%; top: 25%; animation-duration: 14s, 3.2s; animation-delay: 0s, 0s; }
.firefly:nth-child(2) { left: 78%; top: 35%; animation-duration: 18s, 2.8s; animation-delay: -3s, -1s; }
.firefly:nth-child(3) { left: 35%; top: 60%; animation-duration: 16s, 3.5s; animation-delay: -7s, -0.5s; }
.firefly:nth-child(4) { left: 60%; top: 20%; animation-duration: 20s, 2.5s; animation-delay: -5s, -2s; }
.firefly:nth-child(5) { left: 88%; top: 55%; animation-duration: 15s, 3s; animation-delay: -10s, -1.5s; }
.firefly:nth-child(6) { left: 22%; top: 75%; animation-duration: 17s, 3.8s; animation-delay: -2s, -0.8s; }
.firefly:nth-child(7) { left: 50%; top: 15%; animation-duration: 19s, 2.6s; animation-delay: -8s, -1.2s; }
.firefly:nth-child(8) { left: 70%; top: 70%; animation-duration: 13s, 3.4s; animation-delay: -4s, -2.2s; }

@keyframes fireflyFloat {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(30px, -40px) scale(0.8); }
  50%  { transform: translate(-20px, -70px) scale(1.1); }
  75%  { transform: translate(40px, -30px) scale(0.7); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes fireflyGlow {
  0%, 100% { opacity: 0.15; }
  40% { opacity: 0.9; }
  60% { opacity: 0.7; }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.hero__pre {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--amber-soft);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-soft);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero__line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-soft), transparent);
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pizarra-900);
  background: var(--amber);
  padding: 0.9rem 2.5rem;
  border-radius: 30px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 1.1s forwards;
  box-shadow: 0 4px 25px rgba(196, 148, 78, 0.25);
}

.hero__cta:hover {
  background: var(--cream);
  color: var(--pizarra-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(196, 148, 78, 0.3);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 0.9s 1.5s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, var(--amber-soft), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* --- Section Shared --- */
.section {
  padding: 6rem 0;
  position: relative;
}

/* Difuminado inferior de "El Restaurante" → hacia la foto de carne */
#restaurante::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--pizarra-900) 0%, rgba(28, 28, 34, 0.75) 50%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

/* Difuminado superior de "Nuestra Carta" → desde la foto de carne */
#carta::before {
  content: '';
  position: absolute;
  top: -90px;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, var(--cream-soft) 100%);
  z-index: 10;
  pointer-events: none;
}

.section--light {
  background: var(--cream-soft);
  color: var(--pizarra-800);
}

.section--champagne {
  background: var(--cream-warm);
  color: var(--pizarra-800);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__label {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.section--light .section__label,
.section--champagne .section__label {
  color: var(--amber-deep);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.section--light .section__title,
.section--champagne .section__title {
  color: var(--pizarra-800);
}

.section__line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin: 1rem auto 0;
}

/* --- About (El Restaurante) --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about__image-frame:hover img {
  transform: scale(1.04);
}

/* Warm glow behind image */
.about__image-frame::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--amber-glow), transparent 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(30px);
}

.about__text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about__text p {
  font-size: 1.1rem;
  color: var(--text-warm);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(196, 148, 78, 0.4);
}

.about__feature-icon::after { display: none; }

.about__feature span {
  font-size: 1rem;
  color: var(--text-warm);
  line-height: 1.4;
}

/* --- Parallax Banner --- */
.parallax-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(0.7) saturate(0.85);
}

.parallax-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 24, 0.144);
  z-index: 1;
}

.parallax-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.parallax-banner__quote {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--cream);
  max-width: 650px;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* --- Menu (Carta) --- */
.menu__intro {
  text-align: center;
  max-width: 580px;
  margin: -2rem auto 3rem;
  font-size: 1.15rem;
  color: var(--pizarra-500);
  font-style: italic;
}

.menu__categories {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.menu__cat-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pizarra-500);
  background: none;
  border: 1px solid transparent;
  padding: 0.45rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}

.menu__cat-btn:hover {
  color: var(--pizarra-800);
  border-color: var(--amber-soft);
}

.menu__cat-btn.active {
  color: var(--pizarra-900);
  background: var(--amber);
  border-color: var(--amber);
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 4rem;
}

/* Ocultar categorías inactivas antes de que cargue el JS */
.menu__item[data-category="principales"],
.menu__item[data-category="postres"] {
  display: none;
}

.menu__item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(196, 149, 78, 0.678);
  transition: background var(--transition), opacity 0.3s ease;
  animation: menuFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu__item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.menu__item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--pizarra-800);
}

.menu__item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(156, 122, 71, 0.658);
  min-width: 25px;
  margin-bottom: 4px;
}

.menu__item-desc {
  font-size: 1.2rem;
  color: var(--pizarra-500);
  font-style: italic;
}

.menu__note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
  color: var(--pizarra-500);
  font-style: italic;
}

.menu__note a {
  color: var(--amber-deep);
  font-weight: 600;
  font-style: normal;
}

/* Menú Degustación — sección premium */
.menu__degustacion {
  margin-top: 3.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.95) 0%, rgba(42, 42, 35, 0.95) 100%);
  border: 2px solid rgba(196, 149, 78, 0.692);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.menu__degustacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.menu__degustacion::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.menu__degustacion-header {
  margin-bottom: 2rem;
}

.menu__degustacion-label {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--amber-soft);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.menu__degustacion-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.menu__degustacion-price {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.3rem;
}

.menu__degustacion-price-note {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.menu__degustacion-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  text-align: left;
  margin-bottom: 2rem;
}

.menu__degustacion-course:last-child {
  grid-column: 1 / -1;
  text-align: center;
}

.menu__degustacion-course {
  padding: 1.2rem 0;
}

.menu__degustacion-course-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(196, 149, 78, 0.479);
}

.menu__degustacion-dish {
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.548);
}

.menu__degustacion-dish-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
}

.menu__degustacion-dish-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.15rem;
}

.menu__degustacion-desc {
  font-size: 1.2rem;
  color: var(--text-warm);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.menu__degustacion-note {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

@keyframes degFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes degLineGrow {
  from { width: 0; }
  to   { width: 120px; }
}

.menu__degustacion.animating {
  animation: degFadeUp 0.5s ease both;
}

.menu__degustacion.animating .menu__degustacion-header {
  animation: degFadeUp 0.45s ease both;
  animation-delay: 0.15s;
}

.menu__degustacion.animating .menu__degustacion-course:nth-child(1) {
  animation: degFadeUp 0.4s ease both;
  animation-delay: 0.3s;
}

.menu__degustacion.animating .menu__degustacion-course:nth-child(2) {
  animation: degFadeUp 0.4s ease both;
  animation-delay: 0.45s;
}

.menu__degustacion.animating .menu__degustacion-course:nth-child(3) {
  animation: degFadeUp 0.4s ease both;
  animation-delay: 0.6s;
}

.menu__degustacion.animating .menu__degustacion-note {
  animation: degFadeUp 0.4s ease both;
  animation-delay: 0.75s;
}

.menu__degustacion.animating::before,
.menu__degustacion.animating::after {
  animation: degLineGrow 0.6s ease both;
  animation-delay: 0.2s;
}

.menu__cat-btn.active--premium {
  color: var(--cream);
  background: linear-gradient(135deg, var(--amber-deep), var(--amber));
  border-color: var(--amber);
  box-shadow: 0 2px 12px rgba(196, 148, 78, 0.3);
}

.menu__item[data-category="degustacion"] {
  display: none;
}

@media (max-width: 768px) {
  .menu__degustacion-courses {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .menu__degustacion {
    padding: 2rem 1.2rem;
  }
}

/* --- Reserve button (Contact section) --- */
.contact__reserve-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pizarra-900);
  background: var(--amber);
  padding: 1rem 2.8rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 25px rgba(196, 148, 78, 0.25);
  margin-bottom: 2.5rem;
}

.contact__reserve-btn:hover {
  background: var(--cream);
  color: var(--pizarra-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(196, 148, 78, 0.3);
}

.contact__reserva-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(196, 148, 78, 0.06);
  border: 1px solid rgba(196, 148, 78, 0.15);
  border-radius: var(--radius);
  font-size: 0.98rem;
  color: var(--text-warm);
  font-style: italic;
}

.contact__reserva-note a {
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 148, 78, 0.3);
  transition: border-color var(--transition);
}

.contact__reserva-note a:hover {
  border-color: var(--amber-soft);
}

/* --- Carousel (Galería) --- */
.carousel {
  overflow: hidden;
  padding: 0.5rem 0;
}

.carousel__label {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--amber-soft);
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.carousel__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  will-change: transform;
}

.carousel__track--left {
  animation: carousel-scroll-left 45s linear infinite;
}

.carousel__track--right {
  animation: carousel-scroll-right 35s linear infinite;
}

.carousel__track:hover {
  animation-play-state: paused;
}

.carousel__slide {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(196, 148, 78, 0.15);
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.carousel__slide:hover {
  border-color: rgba(196, 148, 78, 0.45);
  transform: scale(1.04);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.9);
  transition: filter 0.5s ease;
}

.carousel__slide:hover img {
  filter: brightness(1) saturate(1);
}

/* Vinos: slides más altos con iluminación cálida */
.carousel--vinos .carousel__slide {
  width: 220px;
  height: 320px;
}

.carousel--vinos .carousel__slide img {
  filter: brightness(1.08) saturate(1.05) contrast(1.05);
}

.carousel--vinos .carousel__slide:hover img {
  filter: brightness(1.2) saturate(1.1) contrast(1.08);
}

@keyframes carousel-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes carousel-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* --- Schedule (Horario) --- */
.schedule__wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: var(--pizarra-800);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Warm glow */
.schedule__wrapper::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(196, 148, 78, 0.12), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(196, 148, 78, 0.06);
}

.schedule__row:last-of-type { border-bottom: none; }

.schedule__row--highlight {
  border-bottom: none;
  padding: 1.5rem 0;
}

.schedule__row--highlight .schedule__day {
  font-size: 1.25rem;
  color: var(--cream);
}

.schedule__row--highlight .schedule__time {
  font-size: 1.4rem;
  color: var(--amber-soft);
  font-weight: 600;
}

.schedule__day {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
}

.schedule__time {
  font-size: 1.02rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.schedule__time--closed {
  color: var(--amber-soft);
  font-family: var(--font-accent);
  font-size: 1.15rem;
}

.schedule__note {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.schedule__note:first-of-type {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 149, 78, 0.616);
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 2rem;
}

.contact__detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(196, 148, 78, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-soft);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact__detail:hover .contact__detail-icon {
  border-color: var(--amber-soft);
  box-shadow: 0 0 15px var(--amber-glow);
}

.contact__detail-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.contact__detail-text span,
.contact__detail-text a {
  font-size: 1.05rem;
  color: var(--text-warm);
}

.contact__map {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) contrast(1.1) brightness(0.9);
}

/* --- Access / Cómo llegar --- */
.access__intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--pizarra-600);
  max-width: 680px;
  margin: -2rem auto 3rem;
}

.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.access__card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(166, 122, 58, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.access__card:hover {
  box-shadow: 0 10px 40px rgba(166, 122, 58, 0.1);
  transform: translateY(-3px);
}

.access__card-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(166, 122, 58, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-deep);
  margin-bottom: 1.5rem;
}

.access__card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--pizarra-800);
  margin-bottom: 0.75rem;
}

.access__card-desc {
  font-size: 1.05rem;
  color: var(--pizarra-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.access__card-details {
  list-style: none;
  padding: 0;
}

.access__card-details li {
  font-size: 1rem;
  color: var(--pizarra-700);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(166, 122, 58, 0.08);
}

.access__card-details li:last-child {
  border-bottom: none;
}

.access__card-details strong {
  color: var(--amber-deep);
  font-weight: 600;
  margin-right: 0.25rem;
}

.access__notes {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.access__notes p {
  font-size: 1.02rem;
  color: var(--pizarra-600);
  margin-bottom: 0.6rem;
}

.access__source {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-style: italic;
}

.access__source a {
  color: var(--amber-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access__source a:hover {
  color: var(--pizarra-800);
}

/* --- Footer --- */
.footer {
  background: var(--pizarra-deep);
  border-top: 1px solid rgba(196, 148, 78, 0.06);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.footer__brand span {
  font-family: var(--font-accent);
  color: var(--amber-soft);
  font-weight: 500;
  font-size: 1.35rem;
}

.footer__tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer__contact {
  text-align: center;
}

.footer__contact p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer__contact a {
  color: var(--amber-soft);
}

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--cream); }

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--pizarra-500);
  letter-spacing: 0.02em;
}

.footer__legal a:hover { color: var(--amber-soft); }

.footer__bottom {
  border-top: 1px solid rgba(196, 148, 78, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--pizarra-600);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(28, 28, 34, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(196, 148, 78, 0.1);
  padding: 1.15rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text a {
  color: var(--amber-soft);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-banner__btn--accept {
  background: var(--amber);
  color: var(--pizarra-900);
}

.cookie-banner__btn--accept:hover {
  background: var(--cream);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--pizarra-600);
}

.cookie-banner__btn--reject:hover {
  border-color: var(--amber-soft);
  color: var(--cream);
}

/* --- Reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Reservas page --- */
.page-reservas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pizarra-deep);
}

/* Background — identical treatment to hero */
.reservas-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.reservas-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.35) saturate(0.5);
}

.reservas-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(196, 148, 78, 0.06) 0%,
      transparent 60%
    ),
    linear-gradient(180deg,
      rgba(20, 20, 24, 0.3) 0%,
      rgba(20, 20, 24, 0.15) 35%,
      rgba(20, 20, 24, 0.5) 70%,
      rgba(28, 28, 34, 0.95) 100%
    );
}

/* Fireflies reuse the global .firefly styles */
.reservas-bg__fireflies {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Nav */
.nav--reservas {
  position: relative;
  z-index: 10;
  background: rgba(20, 20, 24, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 148, 78, 0.06);
  padding: 0.9rem 0;
}

.reservas__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.reservas__back svg {
  transition: transform var(--transition);
}

.reservas__back:hover {
  color: var(--cream);
}

.reservas__back:hover svg {
  transform: translateX(-3px);
}

/* Main content */
.reservas {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.reservas > .container {
  width: 100%;
}

.reservas__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reservas__subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
  line-height: 1.5;
}

/* Widget card */
.reservas__card {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(196, 148, 78, 0.12);
}

.reservas__card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--pizarra-800) 0%, var(--pizarra-700) 100%);
  border-bottom: 1px solid rgba(196, 148, 78, 0.15);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-soft);
}

.reservas__card-header svg {
  opacity: 0.7;
  color: var(--amber);
}

.reservas__card-body {
  background: #faf8f5;
}

.reservas__card-body iframe {
  display: block;
  width: 100%;
  min-height: 550px;
  border: none;
  filter: sepia(0.06) saturate(0.9) brightness(0.98);
}

/* Bottom info */
.reservas__info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin-top: 2rem;
  text-align: center;
}

.reservas__info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
}

.reservas__info-item svg {
  color: var(--amber-soft);
  flex-shrink: 0;
  opacity: 0.6;
}

.reservas__info-item a {
  color: var(--amber-soft);
}

.reservas__info-dot {
  color: var(--pizarra-600);
  font-size: 0.75rem;
  user-select: none;
}

/* Reservas — extra info section */
.reservas__extra {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--pizarra-700);
}

.reservas__extra-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  text-align: center;
  margin-bottom: 2rem;
}

.reservas__extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.reservas__extra-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pizarra-700);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.reservas__extra-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber-soft);
  margin-bottom: 0.5rem;
}

.reservas__extra-item p {
  font-size: 1.1rem;
  color: var(--text-warm);
  line-height: 1.6;
}

.reservas__extra-item a {
  color: var(--amber-soft);
}

.reservas__extra-item a:hover {
  color: var(--cream);
}

/* Footer for reservas page */
.footer--reservas {
  margin-top: 3rem;
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .carousel__track { animation: none !important; }
  .firefly { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll-line { animation: none !important; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about__grid { gap: 3rem; }
  .menu__grid { gap: 1rem 3rem; }
  .contact__grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(28, 28, 34, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(196, 148, 78, 0.08);
  }

  .nav__links.open { right: 0; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 100svh; }

  .section { padding: 4rem 0; }
  .section__header { margin-bottom: 2.5rem; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__image-frame {
    aspect-ratio: 16 / 10;
    max-height: 350px;
  }

  .about__features {
    grid-template-columns: 1fr 1fr;
  }

  .menu__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .carousel__slide {
    width: 220px;
    height: 160px;
  }

  .parallax-banner { height: 240px; }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .access__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .access__card { padding: 2rem 1.5rem; }

  .schedule__wrapper { padding: 2rem 1.5rem; }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal { justify-content: center; }

  /* Fewer fireflies on mobile */
  .firefly:nth-child(n+6) { display: none; }

  .reservas {
    padding: 5rem 0 2rem;
    align-items: flex-start;
  }
  .reservas__header { margin-bottom: 1.5rem; }
  .reservas__card { border-radius: var(--radius); }
  .reservas__card-header { font-size: 0.85rem; padding: 0.75rem 1rem; }
  .reservas__card-body iframe { min-height: 480px; }
  .reservas__info { flex-direction: column; gap: 0.4rem; }
  .reservas__info-dot { display: none; }
  .reservas__extra-grid { grid-template-columns: 1fr; }
  .reservas-bg__fireflies .firefly:nth-child(n+6) { display: none; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }

  .carousel__slide {
    width: 180px;
    height: 130px;
  }

  .parallax-banner { height: 190px; }

  .menu__categories { gap: 0.4rem; }
  .menu__cat-btn {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-banner__buttons { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; text-align: center; }

  .reservas { padding: 4rem 0 1.5rem; }
  .reservas__subtitle { font-size: 1rem; }
  .reservas__card-body iframe { min-height: 450px; }
  .reservas__info-item { font-size: 0.88rem; }
}

/* --- Legal pages --- */
.legal-page {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.legal-page .container { max-width: 800px; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.legal-page .legal-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  margin: 2.5rem 0 1rem;
}

.legal-page p,
.legal-page li {
  font-size: 1.05rem;
  color: var(--text-warm);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page a { color: var(--amber-soft); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--amber-soft);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.legal-back:hover { color: var(--cream); }
