/* =====================================================================
   SUPERGUAY — style.css
   Índice:
     1. Variables y base
     2. Barra de navegación
     3. Portada
     4. Cinta animada
     5. La Carta
     6. Secciones (cabeceras y fondo crema)
     7. La Casa
     8. Horario y contacto
     9. Ubicación y botones
    10. Pie de página
    11. Responsive (de mayor a menor pantalla)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. VARIABLES Y BASE
   --------------------------------------------------------------------- */
:root {
  --orange: #F04E0F;
  --yellow: #FFC93C;
  --cream: #FFFDF7;
  --cream-bg: rgba(252, 237, 202, 0.486);
  --ink: #181411;
  --dark: #111827;
  --text-muted: #6E675F;
  --border-soft: #EBE3D5;
  --line: #D6CFC2;

  --font-text: "IBM Plex Sans", sans-serif;
  --font-headings: "Archivo", "IBM Plex Sans", sans-serif;   /* tipografía de los títulos */
  --font-handwritten: "Caveat", cursive;

  /* Margen lateral fluido: centra el contenido a 1100px máx. y deja 1.5rem mínimo */
  --side-margin: max(1.5rem, calc((100% - 1100px) / 2));
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font-text);
}

img { max-width: 100%; height: auto; }

h1, h2, h3, .menu-card-price, .menu-tab {
  font-family: var(--font-headings);
}

/* El menú fijo no debe tapar los títulos al navegar con los enlaces */
section { scroll-margin-top: 6rem; }


/* ---------------------------------------------------------------------
   2. BARRA DE NAVEGACIÓN
   --------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(55rem, calc(100% - 1.5rem));
  height: 3.5rem;
  padding-left: 1.25rem;
  padding-right: 1.5rem;
  background: rgba(255, 253, 247, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 227, 213, 0.7);
  border-radius: 9999px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
  text-decoration: none;
}

.logo-link img {
  height: 85%;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.logo-subtitle {
  font-weight: 600;
  font-size: 0.7rem;
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: black;
  font-size: small;
  text-decoration: none;
}

/* Selector de idioma (ES / EN) */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(235, 227, 213, 0.4);
  border: 1px solid rgba(235, 227, 213, 0.8);
  border-radius: 9999px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 2px 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-btn:hover { color: var(--orange); }

.lang-btn.active {
  color: var(--orange);
  font-weight: 700;
}

.lang-divider {
  font-size: 0.75rem;
  color: #bbb;
  user-select: none;
}


/* ---------------------------------------------------------------------
   3. PORTADA
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 8rem var(--side-margin) 7rem;
  overflow-x: clip;               /* recorta los resplandores que sobresalen */
}

.hero-info { min-width: 0; }

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero-title span { display: block; }
.hero-title-accent { color: coral; }

.hero-text {
  max-width: 28rem;
  color: #6E675F;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-address {
  font-size: small;
  font-weight: bolder;
  color: black;
}

.hero-image-wrapper {
  flex: 0 1 420px;
  min-width: 0;
}

.hero-image {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* Luces de fondo difuminadas */
.glow-orange,
.glow-yellow {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(64px);
}

.glow-orange {
  top: -10rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  background-color: rgba(240, 78, 15, 0.2);
}

.glow-yellow {
  top: 16rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
  background-color: rgba(255, 201, 60, 0.1);
}

/* Pastilla "Abierto / Cerrado" (portada y horario) */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background-color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.open-status:not([data-state]) { visibility: hidden; }   /* reserva el sitio hasta que hours.js lo rellena */
.open-status::before {              /* punto de estado */
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9CA3AF;
}
.open-status[data-state="open"]::before   { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.open-status[data-state="closed"]::before { background: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }


/* ---------------------------------------------------------------------
   4. CINTA ANIMADA
   --------------------------------------------------------------------- */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  background: var(--orange);
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.marquee-group .star {
  margin: 0 1.25rem;
  color: var(--yellow);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}


/* ---------------------------------------------------------------------
   5. LA CARTA
   --------------------------------------------------------------------- */
.menu-section {
  padding: 80px 20px;
  background: var(--cream);
  color: var(--ink);
}

.menu-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.menu-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.menu-note {
  max-width: 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Pestañas de categorías */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.menu-tab {
  padding: 10px 20px;
  border: 1px solid var(--border-soft);
  border-radius: 9999px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}

.menu-tab:hover { border-color: var(--ink); }

.menu-tab.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.menu-tab-count {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #FBF5E5;
  color: var(--ink);
  font-size: 10px;
}

.menu-tab.active .menu-tab-count { background: var(--yellow); }

/* Tarjetas de platos */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 640px)  { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 78, 15, .5);
  box-shadow: 0 10px 25px rgba(24, 20, 17, .08);
}

.menu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.menu-card-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.menu-card-price {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 900;
}

/* SuperRacing: tarjeta con foto dentro de la carta */
.menu-card--photo { background: #FFF8E1; border-color: rgba(240, 78, 15, .45); }
.menu-card-photo {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 12px rgba(24, 20, 17, .2));
}
@media (min-width: 640px) {
  .menu-card--photo { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
  .menu-card-photo { flex: 0 0 220px; margin: 0; }
  .menu-card-body { flex: 1; min-width: 0; }
}

/* Foto pequeña (p. ej. el batido): se muestra a su tamaño real, centrada, sin estirarla */
.menu-card .menu-card-photo--small { height: 178px; object-fit: contain; }

.menu-card-badge {
  margin-top: 8px;
  font-family: var(--font-handwritten);
  color: red;
}

.menu-card-ingredients {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.menu-allergens {
  margin-top: 32px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
}


/* ---------------------------------------------------------------------
   6. SECCIONES (cabeceras y fondo crema compartidos)
   --------------------------------------------------------------------- */
.section-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--orange);
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-header { padding-top: 5rem; }
.about-intro { max-width: 760px; margin: 18px 0 0; font-size: 1.05rem; line-height: 1.6; }

/* La Casa y Ubicación */
.section-cream {
  padding: 0 var(--side-margin) 5rem;
  background-color: var(--cream-bg);
}


/* ---------------------------------------------------------------------
   7. LA CASA
   --------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 250px 1fr 1fr 1fr;   /* lateral + 3 columnas */
  gap: 20px;
  padding-top: 5rem;
}

.about-side {
  grid-row: span 2;
  position: relative;
  min-height: 260px;
}

.about-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Tarjeta de reconocimiento: certificado de TripAdvisor */
.about-award {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem 2rem;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.award-img {
  width: 170px;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(24, 20, 17, .15);
  transform: rotate(-2deg);
}
.award-tag { margin: 0; font-family: var(--font-handwritten); font-size: 1.4rem; color: #991B1B; }
.award-title { margin: .2rem 0 .6rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.award-desc { margin: 0; max-width: 34rem; font-size: .95rem; line-height: 1.6; color: #4B5563; }

.about-card {
  padding: 20px;

  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
}


.about-card-number {
  display: block;
  font-size: x-large;
  font-weight: 600;
  color: var(--orange);
}

.about-card-title {
  margin: 0;
  padding-top: 1rem;
  font-family: var(--font-text);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.about-card p {
  padding-top: 10px;
  font-size: small;
  color: #2C3E50;
}


/* ---------------------------------------------------------------------
   8. HORARIO Y CONTACTO
   --------------------------------------------------------------------- */
.hours-section {
  padding: 0 var(--side-margin) 5rem;
  background: var(--cream);
}

.hours-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
}

/* Tabla de horarios */
.hours-table {
  display: flex;
  flex-direction: column;
  width: min(30rem, 100%);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #E5E7EB;
  font-size: 0.9rem;
}

.hours-row:last-child { border-bottom: 1px solid #E5E7EB; }

.hours-days {
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hours-time {
  font-weight: 500;
  color: #6B7280;
}

/* Tarjeta de contacto */
.contact { width: min(25rem, 100%); }

.contact-card {
  padding: 40px 35px;
  background-color: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.contact-description {
  margin-bottom: 25px;
  font-size: small;
  line-height: 1.5;
  color: #6B7280;
}

.contact-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 12px;
  padding: 14px 20px;
  background-color: #F9FAFB;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-label {
  font-size: x-small;
  font-weight: 400;
  letter-spacing: 1px;
  color: #9CA3AF;
}

.contact-value {
  font-size: small;
  font-weight: 600;
  color: var(--dark);
  overflow-wrap: anywhere;
}

.handwritten-note {
  margin: 25px 0 0;
  font-family: var(--font-handwritten);
  font-size: 1rem;
  text-align: center;
  color: #DC2626;
}


/* ---------------------------------------------------------------------
   9. UBICACIÓN Y BOTONES
   --------------------------------------------------------------------- */
.location-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
}

.location-text {
  flex: 1;
  max-width: 450px;
}

.location-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4B5563;
}

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

.location-map {
  flex: 1;
  max-width: 550px;
  height: 350px;
  margin-top: 2rem;
}

.map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Botones (portada y ubicación) */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--dark);
  color: #FFFFFF;
}
.btn-primary:hover { background-color: #374151; }

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--dark);
  border: 1px solid #D1D5DB;
}
.btn-secondary:hover { background-color: #F3F4F6; }


/* ---------------------------------------------------------------------
   10. PIE DE PÁGINA
   --------------------------------------------------------------------- */
#site-footer {
  padding-top: 4rem;
  padding-bottom: 2rem;
  background-color: var(--dark);
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* Se adapta solo: 4 columnas en escritorio, 2 en tablet, 1 en móvil */
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.footer-description {
  margin: 0;
  line-height: 1.6;
}

.footer-title {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li { margin-bottom: 0.6rem; }

.footer-menu a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-menu a:hover { color: #FFFFFF; }

.footer-info {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-info-highlight {
  font-weight: 600;
  color: #E5E7EB;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1F2937;
  color: #FFFFFF;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.footer-social a:hover { background-color: #D97706; }

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid #1F2937;
  text-align: center;
  font-size: 0.8rem;
  color: #6B7280;
}


/* ---------------------------------------------------------------------
   11. RESPONSIVE (de mayor a menor)
   --------------------------------------------------------------------- */

/* Pantallas muy grandes (iMac, 4K, ultrawide) */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }   /* 18px: todo lo que usa rem crece un poco */
  :root { --side-margin: max(1.5rem, calc((100% - 1300px) / 2)); }
}

/* Portátil (≤ 1280px) */
@media (max-width: 1280px) {
  .about-grid { grid-template-columns: 220px 1fr 1fr 1fr; }
}

/* Tablet horizontal (≤ 1024px) */
@media (max-width: 1024px) {
  .hero { padding-top: 7rem; padding-bottom: 5rem; }
  .section-header { padding-top: 4rem; }

  /* La Casa: el lateral pasa arriba a todo el ancho y las tarjetas en 2 columnas */
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
    padding-top: 3rem;
  }
  .about-side {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 240px;
    overflow: hidden;
    border-radius: 20px;
  }
}

/* Tablet vertical (≤ 820px) */
@media (max-width: 820px) {
  /* Portada en columna: texto arriba, imagen debajo, todo centrado */
  .hero {
    flex-direction: column;
    padding-top: 6.5rem;
    padding-bottom: 4rem;
    text-align: center;
  }
  .hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons { justify-content: center; }
  .hero-image-wrapper { flex: none; max-width: 340px; margin: 0 auto; }

  .glow-orange { top: -8rem; right: -8rem; width: 22rem; height: 22rem; }
  .glow-yellow { left: -8rem; width: 18rem; height: 18rem; }

  /* Horario y contacto apilados */
  .hours-inner {
    flex-direction: column;
    align-items: stretch;
    padding-top: 3rem;
  }
  .hours-table,
  .contact {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
  }

  /* Ubicación: texto arriba, mapa debajo a todo el ancho */
  .location-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .location-text { flex: none; max-width: 100%; }
  .location-map {
    flex: none;
    max-width: 100%;
    height: 320px;
    margin-top: 0;
  }
}

/* Móvil grande (≤ 640px) */
@media (max-width: 640px) {
  .navbar {
    height: 3.1rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .nav-links { gap: 12px; }
  .logo-subtitle { display: none; }     /* queda solo "SUPERGUAY" */
  .logo-title { font-size: 0.9rem; }
  .lang-selector { padding: 2px 6px; }

  .hero-title { font-size: clamp(2rem, 11vw, 2.8rem); }

  .marquee { padding: 9px 0; }
  .marquee-group { font-size: 0.9rem; }
  .marquee-group .star { margin: 0 0.9rem; }

  /* La Carta */
  .menu-section { padding: 56px 16px; }
  .menu-note { max-width: 100%; }
  .menu-tabs { gap: 6px; margin-top: 28px; }
  .menu-tab { padding: 8px 14px; font-size: 13px; }
  .menu-grid { margin-top: 28px; }
  .menu-card { padding: 18px; }
  .menu-card-name { font-size: 18px; }

  /* Secciones */
  .section-header { padding-top: 3rem; }
  .section-cream { padding-bottom: 3rem; }
  .hours-section { padding-bottom: 3.5rem; }

  /* La Casa a una columna */
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-side { height: 200px; }
  .about-card { padding: 18px; }

  /* Horario y contacto */
  .hours-row { gap: 1rem; font-size: 0.8rem; }
  .contact-card { padding: 28px 22px; }

  /* Ubicación */
  .location-map { height: 280px; }

  /* Pie de página */
  .footer-inner,
  .footer-bottom { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Móvil pequeño (≤ 400px: iPhone SE, Android compactos) */
@media (max-width: 400px) {
  .navbar { width: calc(100% - 1rem); padding-left: 0.7rem; padding-right: 0.7rem; }
  .nav-links { gap: 9px; }
  .nav-links a { font-size: 0.75rem; }
  .logo-text { display: none; }          /* solo el icono del logo */
  .lang-btn { padding: 2px 3px; font-size: 0.72rem; }

  .open-status { font-size: 0.85rem; }
  .menu-card-price { padding: 3px 10px; font-size: 13px; }
  .contact-item { padding: 12px 14px; }

  /* Botones a todo el ancho */
  .hero-buttons .btn,
  .location-buttons .btn { flex: 1 1 100%; }
  .hero-buttons { width: 100%; max-width: 15rem; }

  .location-map { height: 240px; }
}

/* Móvil apaisado (poca altura) */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding-top: 5.5rem; }
}

/* ---------------------------------------------------------------------
   12. AJUSTES FINALES: menú móvil, foco y La Casa responsive
   --------------------------------------------------------------------- */
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-links a { padding: 6px 2px; transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-toggle { display: none; }

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

@media (max-width: 1024px) {
  .about-award { grid-column: 1 / -1; }
  .about-card:last-of-type { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-right { gap: 10px; }
  .lang-btn { padding: 6px 8px; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(255, 253, 247, .98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(24, 20, 17, .12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 16px; font-size: 1rem; border-radius: 14px; }
  .nav-links a:hover { background: #FBF5E5; }
}

@media (max-width: 640px) {
  .about-award { grid-template-columns: 1fr; justify-items: center; padding: 1.25rem; text-align: center; }
  .award-img { width: 150px; }
  .about-card:last-of-type { grid-column: auto; }
}

/* Móvil: las categorías de la carta forman una tira deslizante */
@media (max-width: 640px) {
  .menu-tabs {
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;          /* llega al borde de la pantalla: se ve que hay más */
    padding: 4px 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: center; }
}
