:root {
  --bg-page: #FFF5E3;   /* fondo general que ya acordamos usar */
  --white: #ffffff;
  --text: #2b2b2b;
  --muted: #777777;
  --accent: #F07C22;   /* naranja original para botones y enlaces */
  --accent-hover: #d86e1b;
  --accent-soft: #fef1e4;
  --coffee: #7A4A22;
  --green: var(--accent); 
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  background-color: var(--bg-page);
  color: var(--text);
}

/* Títulos grandes (hero, secciones principales) */
h1, h2 {
  font-family: 'Dancing Script', cursive;
  color: var(--coffee);
}

/* Opcional: tamaños base, puedes ajustar si ya tienes algo definido */
h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}


/* Subtítulos (h3, h4) y texto normal con estilo tipo Nyte */
h3, h4, p, li {
  font-family: 'Playfair Display', serif;
  font-weight: 500; /* puedes usar 700 si quieres más negrita */
  color: var(--text);
  line-height: 1.6;
}

/* Si quieres que los subtítulos en negrita resalten más: */
h3, h4 {
  font-weight: 700;
}


/* Texto más suave, tipo descripción */
.meta, .section p, .location-info p, .menu-item p {
  color: var(--muted);
  font-size: 0.95rem;
}


/* Contenedor general */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* NAVBAR */
.navbar {
  background-color: var(--bg-page);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo a la izquierda como la referencia */
.brand {
  display: flex;
  align-items: center;
}
.logo {
  height: 48px;        /* ajusta según tu logo */
  width: auto;
}

/* Links a la derecha */
.nav-links ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Secciones de prueba (luego las reemplazamos) */
.section {
  padding: 4rem 0;
  text-align: center;
}
.section h2 {
  margin-bottom: 0.5rem;
}
.section p {
  color: var(--muted);
}

/* Botón flotante "Back to top" */
#toTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: var(--accent);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#toTopBtn:hover {
  background-color: var(--accent-hover); /* naranja más oscuro */
}
#toTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive básico */
@media (max-width: 768px) {
  .nav-links ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .logo {
    height: 40px;
  }
}
/* ===== Menu Page ===== */
.menu-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: center;
}

.menu-page p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: min(1100px, 92%);
  margin: 0 auto;
}

.menu-item {
  background-color: var(--bg-page);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.menu-item h3 {
  margin-bottom: 0.4rem;
  color: var(--text);
}

.menu-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.price {
  font-weight: bold;
  color: var(--accent);
}

/* ===== MENU HERO (primer bloque de la página de menú) ===== */
.menu-hero {
  position: relative;
  min-height: 55vh;                 /* altura cómoda, tipo hero */
  background-image: url("assets/menu-hero.jpg"); /* pon aquí tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

/* Capa oscura encima de la imagen para que el texto se lea bien */
.menu-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.55)
  );
}

/* Contenido centrado */
.menu-hero-inner {
  position: relative;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

/* Título grande con la fuente estilizada café */
.menu-hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: #FFF5E3;        /* un beige suave sobre el fondo oscuro */
  margin-bottom: 0.8rem;
}

/* Párrafo debajo del título (texto que tú vas a escribir) */
.menu-hero-text {
  max-width: 640px;
  margin: 0 auto;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #f2f2f2;
}

/* Responsive pequeño ajuste */
@media (max-width: 768px) {
  .menu-hero-inner {
    padding: 3rem 0;
  }

  .menu-hero h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
}

/* ===== BLOQUE 2: MENU CATEGORIES ===== */
.menu-categories {
  padding: 3rem 0;
  background-color: var(--bg-page);
}

/* Contenedor interno: izquierda (categorías) + derecha (botón PDF) */
.menu-categories-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Columna izquierda */
.categories-left {
  flex: 2;
}

/* Columna derecha */
.categories-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}

/* Título en negrita, un poco más grande */
.categories-title {
  font-family: 'Playfair Display', serif; /* estilo Nyte */
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Grid de botones de categoría alineadas a la izquierda */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* Botones de categoría: fondo verde, texto blanco en negrita */
.categories-grid button {
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.categories-grid button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

/* Texto al lado del botón PDF */
.categories-note {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

/* Botón descargar PDF (lado derecho) */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}

/* Responsive: apilar en una columna en pantallas pequeñas */
@media (max-width: 900px) {
  .menu-categories-inner {
    flex-direction: column;
  }

  .categories-right {
    align-items: flex-start;
    text-align: left;
  }
}




/* ===== Location Page ===== */
.location-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: center;
}

.location-page p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.location-layout {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.location-info h2 {
  margin-bottom: 0.5rem;
}

.location-info h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.location-info p,
.location-info ul li {
  color: var(--muted);
  font-size: 0.95rem;
}

.location-info ul {
  list-style: disc;
  padding-left: 1.1rem;
}

/* Map block */
.location-map h2 {
  margin-bottom: 0.5rem;
}

.map-placeholder {
  background-color: var(--bg-page);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .location-layout {
    grid-template-columns: 1fr;
  }
}

/* ==== Navbar Responsive (Mobile) ==== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

/* Versión móvil */
@media (max-width: 768px) {
  .navbar-inner {
    position: relative;
  }

  /* Mostrar el ícono ☰ */
  .nav-toggle {
    display: block;
  }

  /* Ocultar el menú por defecto */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-page);
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  /* Cuando el menú está activo */
  .nav-links.active {
    display: block;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ===== CATEGORY SECTION: GENERAL ===== */
.menu-category-section {
  padding: 3rem 0;
  background-color: var(--bg-page);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-eyebrow {
  font-family: 'Playfair Display', serif; /* estilo tipo Nyte */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.menu-category-section h2 {
  font-family: 'Dancing Script', cursive; /* títulos grandes siguen igual */
  color: var(--coffee);
  font-size: 2rem;
}

/* Botón "Back to categories" */
/* Enlace con apariencia de botón */
.category-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: 'Playfair Display', serif; /* tu estilo tipo Nyte */
  font-weight: 700;
  font-size: 0.95rem;

  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background-color: var(--bg-page);
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 7px rgba(0,0,0,0.08);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-back:hover {
  background-color: rgba(0,0,0,0.03);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.2);
}

/* Accesibilidad: foco visible en teclado */
.category-back:focus,
.category-back:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 124, 34,0.2); /* halo naranja suave */
  border-color: var(--accent);
}

.category-back::before {
  content: "↩";
  font-size: 1rem;
  line-height: 1;
}


/* Grid de tarjetas de platos */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Tarjeta de plato */
.menu-card {
  background-color: var(--bg-page);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* Imagen del plato */
.menu-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;          /* mantiene proporción similar a la referencia */
  overflow: hidden;
}
.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cuerpo de la tarjeta */
.menu-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Título del plato + precio */
.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.menu-card-top h3 {
  font-family: 'Playfair Display', serif; /* subtítulos tipo Nyte */
  font-weight: 700;
  font-size: 1.05rem;
}

.menu-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--coffee);
  font-size: 0.98rem;
}

/* Descripción */
.menu-card-desc {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Botón Order Now */
.btn-order {
  margin-top: 0.4rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background-color: var(--accent); /* color secundario */
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-order:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .category-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-back {
    margin-top: 0.5rem;
  }
}

html {
  scroll-behavior: smooth;
}

/* ====== Responsiveness Pack ====== */

/* Ajustes generales */
img {
  max-width: 100%;
  height: auto;
}

/* Hero del menú: altura y tipografías más cómodas en pantallas pequeñas */
@media (max-width: 1024px) {
  .menu-hero {
    min-height: 48vh;
  }
  .menu-hero h1 {
    font-size: clamp(1.9rem, 5vw, 2.6rem);
  }
  .menu-hero-text {
    font-size: 0.98rem;
  }
}

/* Layout de categorías (lista izquierda + botón PDF derecha) */
@media (max-width: 1100px) {
  .menu-categories-inner {
    gap: 1.25rem;
  }
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
@media (max-width: 900px) {
  .menu-categories-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .categories-right {
    align-items: flex-start;
    text-align: left;
    margin-top: .5rem;
  }
}

/* Tarjetas de productos/bebidas */
@media (max-width: 900px) {
  .menu-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
  }
  .menu-card {
    border-radius: 12px;
  }
  .menu-card-body {
    padding: .9rem 1rem 1.1rem;
  }
  .menu-card-top h3 {
    font-size: 1rem;
  }
  .menu-price {
    font-size: .95rem;
  }
  .btn-order {
    padding: .5rem 1.05rem;
    font-size: .9rem;
  }
}

/* Teléfonos medianos */
@media (max-width: 768px) {
  .container {
    width: min(1000px, 90%);
  }

  /* Navbar: ya tienes menú hamburguesa; afinamos el espacio */
  .logo { height: 40px; }
  .nav-links a { padding: .9rem 1rem; }

  /* Secciones y encabezados */
  .menu-category-section { padding: 2.2rem 0; }
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1.3rem;
  }
  .category-eyebrow { font-size: .85rem; }
  .menu-category-section h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  /* Grid de items más compacto */
  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Botones “Back to categories” y descargar PDF */
  .category-back,
  .btn-download {
    padding: .55rem 1rem;
    font-size: .9rem;
  }
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .navbar-inner { padding: .6rem 0; }
  .logo { height: 36px; }

  .menu-hero { min-height: 42vh; }
  .menu-hero-inner { padding: 2.2rem 0; }

  .categories-grid {
    grid-template-columns: 1fr 1fr; /* dos columnas para que no queden botones gigantes */
    gap: .7rem;
  }
  .categories-grid button {
    font-size: .92rem;
    padding: .75rem .9rem;
    border-radius: 10px;
  }

  .menu-card-image { aspect-ratio: 16 / 10; } /* fotos más panorámicas en móvil */
  .menu-card-top {
    gap: .4rem;
  }
  .menu-card-desc {
    font-size: .9rem;
    line-height: 1.55;
  }

  /* Botón subir arriba (si lo usas) */
  #toTopBtn {
    width: 46px; height: 46px; font-size: 1.3rem;
    bottom: 16px; right: 16px;
  }
}

/* Scroll suave para anclas (#...) */
html { scroll-behavior: smooth; }

/* Mejoras de tap target en móvil */
@media (hover: none) and (pointer: coarse) {
  .btn-order,
  .btn-download,
  .category-back,
  .categories-grid button,
  .nav-toggle {
    padding: max(.6rem, 12px) max(1rem, 14px);
  }
}

/* Preferencias de movimiento del usuario */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.menu-card-image img { object-fit: cover; }

/* ===== SUAVE APARIENCIA GENERAL ===== */

/* Aparición gradual de las secciones al hacer scroll */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación base */
.reveal {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

/* ===== EFECTOS HOVER EN TARJETAS ===== */

.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Imagen dentro de la tarjeta */
.menu-card-image img {
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.05);
}

/* Botón de Order Now */
.btn-order {
  transition: all 0.3s ease;
}

.btn-order:hover {
  background-color: var(--accent-hover); /* naranja más oscuro */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 124, 34, 0.4);
}

/* Botón Back to categories */
.category-back {
  transition: all 0.3s ease;
}

.category-back:hover {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 245, 227, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Transición en el logo */
.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ===== EFECTO ENTRADA SUAVE AL HACER SCROLL ===== */

/* Usa JS para añadir la clase .reveal cuando las secciones entren en vista */

/* Línea animada debajo de cada enlace */
.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--accent); /* color secundario */
  transition: width 0.28s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 245, 227, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.16);
}

.carousel img {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Cuando una imagen aparece */
.carousel img.active {
  opacity: 1;
  transform: scale(1);
}

/* Cuando una imagen está saliendo */
.carousel img.inactive {
  opacity: 0;
  transform: scale(1.06);
}

.carousel-arrow {
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.carousel-arrow:hover {
  transform: scale(1.2);
  color: var(--accent);
  text-shadow: 0 0 12px rgba(240, 124, 34, 0.4);
}

.carousel-indicators button {
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.carousel-indicators button:hover {
  background-color: var(--accent);
  transform: scale(1.2);
}

.carousel-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.carousel-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HOME PAGE ========== */

/* HERO PRINCIPAL */
.hero-home {
  background: linear-gradient(110deg, #FFF5E3 0%, #FBE1BF 45%, #F7B779 75%, #F07C22 100%);
  padding: 3.5rem 0 3.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Dancing Script', cursive; /* títulos grandes */
  color: var(--coffee);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 0.7rem;
}

.hero-eyebrow {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero-text {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Botones principales */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(240, 124, 34, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 16px rgba(240, 124, 34, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--coffee);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-ghost:hover {
  background-color: var(--bg-page);
  border-color: var(--accent);
  color: var(--accent);
}

/* Botón pequeño reutilizable */
.btn-small {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

/* Lado de imagen del hero */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 360px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  object-fit: cover;
}

/* DESTACADOS HOME */
.home-highlights {
  padding: 3rem 0 3.2rem;
  background-color: var(--bg-page);
}

.section-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--coffee);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  color: var(--muted);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.2rem;
  font-size: 0.98rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background-color: #FFF5E3;
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.highlight-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.highlight-card p {
  font-family: 'Playfair Display', serif;
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.highlight-link {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.highlight-link:hover {
  text-decoration: underline;
}

/* ABOUT HOME */
.home-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  padding: 2.5rem 0;
  display: flex;
  align-items: center;
  background-color: var(--coffee);
}

/* La fotografía ocupa solo esta sección; el texto queda nítido. */
.home-about::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: url("assets/_DSC3014.JPG") center / cover no-repeat;
  filter: blur(3px);
  z-index: -2;
  pointer-events: none;
}

.home-about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 16, 10, 0.62);
  z-index: -1;
  pointer-events: none;
}

.home-about .about-inner {
  display: block;
}

.home-about .about-text {
  max-width: 660px;
}

.home-about h2 {
  font-family: 'Dancing Script', cursive;
  color: #FFF5E3;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.home-about p {
  font-family: 'Playfair Display', serif;
  font-size: 0.97rem;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* VISIT CTA */
.home-visit {
  padding: 2.6rem 0 3rem;
  background-color: var(--bg-page);
}

.visit-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* RESPONSIVE HOME */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-image {
    order: -1;
    margin-bottom: 1rem;
  }
  .hero-content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-home {
    padding: 2.4rem 0 2.8rem;
  }
  .home-highlights,
  .home-about,
  .home-visit {
    padding-inline: 0;
  }
  .visit-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== FOOTER ===== */

.footer {
  background-color: #FFF5E3;
  padding: 2.8rem 0 2rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

/* Logo del footer */
.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 0.6rem;
}

/* Columna */
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 0.5rem;
}

.footer-col p {
  font-family: 'Playfair Display', serif;
  font-size: 0.93rem;
  color: var(--text);
  margin: 0.2rem 0;
}

.footer-tagline {
  font-family: 'Dancing Script', cursive;
  color: var(--coffee);
  font-size: 1.2rem;
  margin-top: 0.4rem;
}

/* Enlaces */
.footer-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color .25s ease;
}

.footer-link:hover {
  color: var(--accent-hover);
}

/* Redes sociales */
.footer-socials {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.7rem;
}

.footer-socials a {
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform .25s ease;
}

.footer-socials a:hover {
  transform: scale(1.18);
}

/* Línea inferior */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
}

.footer-bottom p {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== LOCATION PAGE ===== */

/* HERO */
.location-hero {
  background-color: #FFF5E3;
  padding: 3rem 0 3rem;
  text-align: center;
}

.location-hero h1 {
  font-family: 'Dancing Script', cursive;
  color: var(--coffee);
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.location-hero p {
  font-family: 'Playfair Display', serif;
  color: var(--muted);
  font-size: 1rem;
}

/* MAPA */
.location-map {
  padding: 1.5rem 0 2rem;
}

.map-wrapper {
  display: flex;
  justify-content: center;
}

.map-wrapper iframe {
  width: 100%;
  max-width: 750px;
  height: 380px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
}

/* INFO */
.location-info {
  padding: 2.8rem 0 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.info-card {
  background-color: #FFF5E3;
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}

.info-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--coffee);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.info-card p {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0.2rem 0;
}

.info-small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .map-wrapper iframe {
    max-width: 100%;
    height: 260px;
  }
}

/* Shared responsive refinements. */
.navbar { position: relative; z-index: 20; }
.nav-links { z-index: 21; }
.nav-toggle { min-width: 44px; min-height: 44px; }
.nav-toggle:focus-visible, .nav-links a:focus-visible {
  outline: 3px solid var(--coffee); outline-offset: 3px;
}
.footer-col, .info-card, .highlight-card, .hero-content { min-width: 0; }
.footer-col p, .info-card p { overflow-wrap: anywhere; }
.highlights-grid, .info-grid { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.footer-inner { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.btn-primary, .btn-ghost { max-width: 100%; text-align: center; }
#toTopBtn { z-index: 30; visibility: hidden; pointer-events: none; }
#toTopBtn.visible { visibility: visible; pointer-events: auto; }
@media (max-width: 900px) {
  .hero-image:not(:has(img)) { display: none; }
}
@media (max-width: 768px) {
  .nav-links { max-height: calc(100dvh - 90px); overflow-y: auto; }
  .nav-links a { min-height: 44px; }
  .home-about { min-height: 0; padding-block: 2.5rem; }
}
