/* ============================================================
   El Nou Pascual – styles.css
   Restaurante mediterráneo · Carrer de Calàbria 254, Barcelona
   ============================================================ */


/* ============================================================
   1. VARIABLES GLOBALES
   ============================================================ */
:root {
  /* Paleta mediterránea · cálida y auténtica */
  --bg:             #FAFAF7;   /* Off-white cálido */
  --surface:        #F4EFE7;   /* Crema suave */
  --sand:           #EAE0D2;   /* Arena */
  --sand-dark:      #D9CCBA;   /* Arena oscura */
  --accent:         #B08750;   /* Ámbar mediterráneo */
  --accent-dark:    #8A6635;   /* Ámbar profundo */
  --dark:           #1E1A16;   /* Negro cálido */
  --dark-soft:      #2E2822;   /* Marrón oscuro */
  --text:           #332D27;   /* Marrón texto */
  --text-mid:       #5E5348;   /* Marrón medio */
  --text-light:     #968880;   /* Marrón claro */
  --white:          #FFFFFF;
  --border:         #DDD5C7;
  --border-light:   #ECE7DF;

  /* Tipografías */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Karla', system-ui, sans-serif;

  /* Espaciado adaptativo */
  --section-pad:    clamp(64px, 8vw, 120px);
  --container:      1240px;
  --gap:            clamp(14px, 1.8vw, 22px);

  /* Efectos */
  --radius:         6px;
  --radius-lg:      16px;
  --shadow-sm:      0 2px 10px rgba(50, 40, 30, 0.06);
  --shadow:         0 6px 28px rgba(50, 40, 30, 0.11);
  --shadow-lg:      0 16px 56px rgba(50, 40, 30, 0.15);
  --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   2. RESET Y BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }


/* ============================================================
   3. UTILIDADES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* Etiqueta superior de sección */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.label--light { color: rgba(255,255,255,0.7); }

/* Cabecera centrada de sección */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--accent-dark);
}


/* ============================================================
   4. BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

/* Primario – ámbar */
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(176, 135, 80, 0.32);
}

/* Oscuro */
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--dark-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Ghost (sobre fondo oscuro) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.75);
}

/* Navegación */
.btn--nav {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  padding: 10px 18px;
  font-size: 11px;
}
.btn--nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: none;
}

/* Tamaños */
.btn--lg  { padding: 16px 34px; font-size: 14px; }
.btn--xl  { padding: 20px 48px; font-size: 15px; letter-spacing: 0.07em; }


/* ============================================================
   5. ANIMACIONES DE ENTRADA
   ============================================================ */
.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.72s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(30px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.revealed {
  opacity: 1;
  transform: none;
}

/* Animaciones del hero (se disparan al cargar) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ============================================================
   6. NAVEGACIÓN
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Estado al hacer scroll */
.nav.scrolled {
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(50, 40, 30, 0.08);
}
.nav.scrolled .nav__logo-main  { color: var(--text); }
.nav.scrolled .nav__logo-sub   { color: var(--text-light); }
.nav.scrolled .nav__link       { color: var(--text); }
.nav.scrolled .nav__link:hover { color: var(--accent); }
.nav.scrolled .nav__link.active { color: var(--accent); }

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

/* Logotipo */
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
  gap: 2px;
}
.nav__logo-main {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__link:hover        { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__link.active::after { width: 100%; }

/* Hamburguesa (móvil) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav.scrolled .nav__hamburger span { background: var(--text); }

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

/* Menú móvil (overlay) */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.4s ease 0.08s;
}
.mobile-menu.open .mobile-menu__inner { transform: none; }

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  padding: 4px 20px;
  transition: color var(--transition);
}
.mobile-menu__link:hover { color: var(--accent); }

.mobile-menu__cta { margin-top: 28px; }

.mobile-menu__info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}


/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero__bg.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(18, 14, 10, 0.55) 0%,
    rgba(18, 14, 10, 0.58) 40%,
    rgba(18, 14, 10, 0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 760px;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeIn 0.9s ease 0.1s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 118px);
  font-weight: 400;
  color: var(--white);
  line-height: 0.97;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  animation: fadeInUp 0.85s ease 0.20s both;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
  animation: fadeInUp 0.85s ease 0.32s both;
}

.hero__text {
  font-size: clamp(14px, 1.4vw, 15.5px);
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  animation: fadeInUp 0.85s ease 0.42s both;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.85s ease 0.52s both;
}

.hero__scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 2;
  color: rgba(255,255,255,0.45);
  animation: scrollBounce 2.4s ease 1.5s infinite;
  transition: color var(--transition);
  line-height: 0;
}
.hero__scroll:hover { color: rgba(255,255,255,0.85); }


/* ============================================================
   8. ESENCIA
   ============================================================ */
.esencia {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.esencia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6.5vw, 104px);
  align-items: center;
}

.esencia__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
}
.esencia__title em { font-style: italic; color: var(--accent-dark); }

.esencia__text {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 500px;
}

/* Bloque de horarios */
.esencia__hours {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.esencia__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.esencia__hours-day  { color: var(--text-mid); }
.esencia__hours-time {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Imagen */
.esencia__image-wrap { position: relative; }

.esencia__image {
  width: 100%;
  height: clamp(420px, 52vw, 640px);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.esencia__image-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  box-shadow: var(--shadow);
}


/* ============================================================
   9. OFERTA (Qué encontrarás)
   ============================================================ */
.oferta {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.oferta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* Cards */
.oferta__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}
.oferta__card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.oferta__card-img {
  height: 210px;
  overflow: hidden;
  background: var(--sand);
}
.oferta__card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease;
}
.oferta__card:hover .oferta__card-img img { transform: scale(1.06); }

.oferta__card-body { padding: 22px; }

.oferta__card-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1;
}

.oferta__card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.2;
}

.oferta__card-text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
}


/* ============================================================
   10. CARTA
   ============================================================ */
.carta {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.carta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.carta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.carta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(28,20,12,0.82) 0%, rgba(28,20,12,0.70) 100%);
}

.carta__content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin: 0 auto;
}

.carta__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.carta__title em { font-style: italic; color: rgba(255,255,255,0.72); }

.carta__text {
  font-size: 16.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   11. GRUPOS
   ============================================================ */
.grupos {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.grupos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6.5vw, 104px);
  align-items: center;
}

.grupos__image-wrap img {
  width: 100%;
  height: clamp(420px, 52vw, 620px);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.grupos__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 24px;
}
.grupos__title em { font-style: italic; color: var(--accent-dark); }

.grupos__text {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 480px;
}

.grupos__list {
  margin: 26px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.grupos__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text-mid);
}
.grupos__list li::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}


/* ============================================================
   12. GALERÍA
   ============================================================ */
.galeria {
  padding: var(--section-pad) 0;
  background: var(--surface);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 10px;
}

/* Ítem normal */
.galeria__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  cursor: pointer;
}
.galeria__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.galeria__item:hover img { transform: scale(1.07); }

/* Ítem alto (2 filas) */
.galeria__item--tall { grid-row: span 2; }

/* Ítem ancho (2 columnas) */
.galeria__item--wide { grid-column: span 2; }

/* Overlay con label */
.galeria__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,14,10,0.62) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.galeria__item:hover .galeria__overlay { opacity: 1; }
.galeria__overlay span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
}


/* ============================================================
   13. LIGHTBOX (se genera dinámicamente por JS)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox--open { opacity: 1; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 10, 0.95);
  cursor: pointer;
}
.lightbox__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox--open .lightbox__inner { transform: scale(1); }
.lightbox__inner img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lightbox__caption {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}
.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
  line-height: 0;
}
.lightbox__close:hover { color: var(--white); }


/* ============================================================
   14. UBICACIÓN
   ============================================================ */
.ubicacion {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5.5vw, 80px);
  align-items: start;
}

.ubicacion__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}
.ubicacion__title em { font-style: italic; color: var(--accent-dark); }

.ubicacion__text {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 36px;
}

.ubicacion__detalles {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ubicacion__detalle {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.ubicacion__detalle svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.ubicacion__detalle div { display: flex; flex-direction: column; gap: 3px; }
.ubicacion__detalle strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.ubicacion__detalle span,
.ubicacion__detalle a  { font-size: 14.5px; color: var(--text-mid); line-height: 1.55; }
.ubicacion__detalle a:hover { color: var(--accent); }

.ubicacion__mapa {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.ubicacion__mapa iframe {
  width: 100%; height: 100%;
  display: block;
}


/* ============================================================
   15. RESERVAS
   ============================================================ */
.reservas {
  padding: var(--section-pad) 0;
  background: var(--surface);
  text-align: center;
}

.reservas__content { max-width: 680px; margin: 0 auto; }

.reservas__titulo {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: 16px;
}

.reservas__texto {
  font-size: 16.5px;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 40px;
}

.reservas__contactos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.reservas__contacto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-mid);
  transition: color var(--transition);
}
.reservas__contacto svg { color: var(--accent); flex-shrink: 0; }
.reservas__contacto:hover { color: var(--accent); }


/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: clamp(50px, 6.5vw, 84px) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer__seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(255,255,255,0.35);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list li { font-size: 13.5px; }
.footer__list a  { color: rgba(255,255,255,0.62); }
.footer__list a:hover { color: var(--white); }

.footer__address {
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(255,255,255,0.62);
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__hours li:last-child { border-bottom: none; }
.footer__hours li span:first-child { color: rgba(255,255,255,0.78); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.footer__copy { font-size: 11.5px; color: rgba(255,255,255,0.28); }

.footer__cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--transition);
}
.footer__cta-mini:hover { color: var(--white); }

/* Crédito desarrollador */
.footer__dev {
  text-align: center;
  padding: 12px 0 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  border-top: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 0.03em;
}
.footer__dev a {
  color: rgba(255,255,255,0.38);
  font-weight: 600;
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer__dev a:hover { color: rgba(255,255,255,0.7); }


/* ============================================================
   17. RESPONSIVE – Tablet grande (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Nav: hamburguesa */
  .nav__links    { display: none; }
  .nav__hamburger { display: flex; }

  /* Oferta: 2 columnas */
  .oferta__grid  { grid-template-columns: repeat(2, 1fr); }

  /* Galería: 2 cols, sin tall/wide especiales */
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .galeria__item--tall { grid-row: span 1; }
  .galeria__item--wide { grid-column: span 2; }

  /* Footer: 2 cols */
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
}


/* ============================================================
   18. RESPONSIVE – Tablet (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Variables más compactas */
  :root { --section-pad: clamp(44px, 9vw, 72px); }

  /* Nav */
  .nav { padding: 16px 0; }
  .nav.scrolled { padding: 12px 0; }
  .nav__logo-main { font-size: 18px; }
  .nav__logo-sub  { display: none; }

  /* Hero */
  .hero__content  { padding-top: 90px; padding-bottom: 64px; }
  .hero__badge    { font-size: 9.5px; padding: 5px 13px; margin-bottom: 18px; }
  .hero__title    { margin-bottom: 14px; }
  .hero__subtitle { margin-bottom: 14px; }
  .hero__text     { margin-bottom: 28px; }
  .hero__actions  {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
  .hero__scroll { bottom: 24px; }

  /* Esencia: apilar (imagen arriba) */
  .esencia__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .esencia__image-wrap { order: -1; }
  .esencia__image {
    height: 300px;
    object-position: center 20%;
  }
  .esencia__image-badge { bottom: -10px; left: 10px; font-size: 10px; padding: 10px 14px; }
  .esencia__text  { max-width: 100%; }
  .esencia__hours { padding: 18px; }

  /* Oferta: 2 columnas en tablet */
  .oferta__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .oferta__card-img { height: 170px; }
  .oferta__card-body { padding: 16px; }
  .oferta__card-icon { font-size: 22px; margin-bottom: 7px; }
  .oferta__card-title { font-size: 19px; }
  .oferta__card-text  { font-size: 13px; }

  /* Carta */
  .carta__text { max-width: 100%; }

  /* Grupos: apilar (imagen arriba) */
  .grupos__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grupos__image-wrap img {
    height: 300px;
    object-position: center top;
  }
  .grupos__text  { max-width: 100%; }
  .grupos__list  { margin: 20px 0 28px; }

  /* Galería: 2 columnas uniformes */
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 8px;
  }
  .galeria__item--tall,
  .galeria__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .galeria__item { aspect-ratio: 4/3; }

  /* Ubicación: apilar */
  .ubicacion__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ubicacion__mapa { height: 280px; border-radius: var(--radius); }

  /* Reservas */
  .reservas__titulo  { font-size: clamp(36px, 9vw, 52px); }
  .reservas__texto   { font-size: 15px; }
  .reservas__contactos {
    align-items: flex-start;
    padding-top: 28px;
    margin-top: 28px;
  }
  .reservas__contacto { font-size: 14px; }
  .btn--xl { padding: 18px 32px; font-size: 14px; width: 100%; justify-content: center; }

  /* Section headers */
  .section-header { margin-bottom: 32px; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer__brand    { grid-column: span 1; }
  .footer__logo     { font-size: 24px; }
  .footer__bottom   {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 0;
  }
}


/* ============================================================
   19. RESPONSIVE – Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  :root { --section-pad: clamp(36px, 10vw, 56px); }

  /* Container más estrecho */
  .container { padding: 0 18px; }

  /* Hero más compacto */
  .hero__content  { padding-top: 80px; padding-bottom: 56px; }
  .hero__badge    { display: none; }   /* Ocultar badge en pantallas muy pequeñas */
  .hero__subtitle { font-size: 16px; }
  .hero__text     { font-size: 13.5px; line-height: 1.75; }

  /* Oferta: 1 columna */
  .oferta__grid   { grid-template-columns: 1fr; gap: 10px; }
  .oferta__card-img { height: 200px; }

  /* Galería: 1 columna */
  .galeria__grid  { grid-template-columns: 1fr; gap: 8px; }
  .galeria__item  { aspect-ratio: 16/9; }
  .galeria__item--tall,
  .galeria__item--wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  /* Esencia */
  .esencia__image { height: 260px; }
  .esencia__image-badge { display: none; }
  .esencia__hours-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .esencia__hours-time { font-size: 12px; }

  /* Grupos */
  .grupos__image-wrap img { height: 250px; }

  /* Carta */
  .carta__title { font-size: clamp(28px, 8vw, 42px); }

  /* Ubicación */
  .ubicacion__mapa { height: 240px; }
  .ubicacion__detalle svg { width: 16px; height: 16px; }
  .ubicacion__detalle span,
  .ubicacion__detalle a  { font-size: 13.5px; }

  /* Footer */
  .footer__hours li { font-size: 12px; }
  .footer__list li  { font-size: 13px; }
  .footer__address  { font-size: 13px; }

  /* Nav móvil */
  .mobile-menu__link { font-size: clamp(24px, 8vw, 34px); }
}


/* ============================================================
   20. RESPONSIVE – Mobile muy pequeño (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .nav__logo-main { font-size: 16px; }
  .hero__title { font-size: clamp(44px, 14vw, 60px); }
  .esencia__title,
  .grupos__title,
  .ubicacion__title { font-size: clamp(28px, 9vw, 38px); }
  .section-title  { font-size: clamp(28px, 9vw, 38px); }
  .reservas__titulo { font-size: clamp(32px, 10vw, 44px); }
}


/* ============================================================
   21. MEJORAS TÁCTILES – Touch targets mínimos 44px
   ============================================================ */
@media (hover: none) and (pointer: coarse) {

  /* Áreas táctiles más grandes en móvil */
  .nav__link { padding: 6px 0; }
  .btn       { min-height: 48px; }

  /* Sin hover effects en táctil */
  .oferta__card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .galeria__item:hover img { transform: none; }
  .galeria__overlay { opacity: 0; }

  /* Scroll indicator más grande */
  .hero__scroll { padding: 12px; }

  /* Links en footer más fáciles de tocar */
  .footer__list a  { display: inline-block; padding: 4px 0; }
  .footer__hours li { padding: 8px 0; }
  .reservas__contacto { padding: 6px 0; min-height: 44px; }
}


/* ============================================================
   22. ACCESIBILIDAD – Movimiento reducido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-fade, .reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
  .hero__bg.loaded { transform: none; }
}


/* ============================================================
   23. SAFE AREA – iPhone con notch / Dynamic Island
   ============================================================ */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav { padding-top: max(16px, env(safe-area-inset-top)); }
  .mobile-menu__inner { padding-bottom: env(safe-area-inset-bottom); }
  .float-call {
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
    right: max(24px, env(safe-area-inset-right));
  }
}
