/* ==========================================================================
   Las Piscinas · Caspe — Hoja de estilos
   Paleta: burdeos #7A2D2D · dorado #C8A15A · oliva #4F5A40
   ========================================================================== */

:root {
  --burdeos: #7A2D2D;
  --burdeos-dark: #5E2121;
  --dorado: #C8A15A;
  --dorado-soft: #E4C98F;
  --oliva: #4F5A40;
  --negro: #141312;
  --gris: #6E6A65;
  --gris-claro: #F6F4F1;
  --blanco: #FFFFFF;

  --bg: var(--blanco);
  --bg-alt: var(--gris-claro);
  --text: var(--negro);
  --text-soft: var(--gris);
  --card: var(--blanco);
  --border: rgba(20, 19, 18, .09);
  --glass: rgba(255, 255, 255, .72);
  --glass-border: rgba(255, 255, 255, .45);
  --shadow: 0 20px 60px rgba(20, 19, 18, .08);
  --shadow-hover: 0 30px 80px rgba(122, 45, 45, .16);

  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .21, 1);
}

[data-theme="dark"] {
  --bg: #131211;
  --bg-alt: #1B1917;
  --text: #F4F1EC;
  --text-soft: #A8A29B;
  --card: #1E1C1A;
  --border: rgba(244, 241, 236, .1);
  --glass: rgba(19, 18, 17, .72);
  --glass-border: rgba(255, 255, 255, .12);
  --shadow: 0 20px 60px rgba(0, 0, 0, .4);
  --shadow-hover: 0 30px 80px rgba(200, 161, 90, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }

::selection { background: var(--burdeos); color: #fff; }

/* ---------- Tipografía ---------- */
.section__kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--burdeos); margin-bottom: 1rem;
}
[data-theme="dark"] .section__kicker { color: var(--dorado); }
.section__kicker--gold { color: var(--dorado); }
.section__title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em;
}
.section__title em { font-style: italic; color: var(--burdeos); }
[data-theme="dark"] .section__title em { color: var(--dorado); }
.section__sub { color: var(--text-soft); max-width: 46ch; margin-top: 1rem; }
.section__head { margin-bottom: 3.5rem; max-width: 720px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.2rem; border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--burdeos); color: #fff; }
.btn--primary:hover { background: var(--burdeos-dark); box-shadow: 0 14px 34px rgba(122,45,45,.35); }
.btn--gold { background: var(--dorado); color: var(--negro); }
.btn--gold:hover { background: var(--dorado-soft); box-shadow: 0 14px 34px rgba(200,161,90,.4); }
.btn--outline { border: 1.5px solid var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--burdeos); color: var(--burdeos); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.65); color: #fff; backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--sm { padding: .65rem 1.4rem; font-size: .85rem; }
.btn--full { width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--negro);
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; gap: 1.4rem; justify-items: center; }
.loader__logo {
  height: clamp(56px, 9vw, 84px); width: auto;
  animation: loaderFade 1.4s var(--ease) both;
}
.loader__logo em { color: var(--dorado); font-style: italic; }
.loader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.loader__bar-fill { display: block; height: 100%; width: 0; background: var(--dorado); animation: loaderBar 1.3s var(--ease) .1s forwards; }
@keyframes loaderBar { to { width: 100%; } }
@keyframes loaderFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Barra progreso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 900;
  background: linear-gradient(90deg, var(--burdeos), var(--dorado));
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.header .nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav__logo { display: flex; align-items: center; z-index: 950; }
.nav__logo-img { height: 34px; width: auto; display: block; }
.nav__logo-img--dark { display: none; }
.header.is-scrolled .nav__logo-img--white { display: none; }
.header.is-scrolled .nav__logo-img--dark { display: block; }
.nav__menu { display: flex; align-items: center; gap: 2.1rem; }
.nav__link {
  position: relative; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .45s var(--ease); padding: .3rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--dorado); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: .9rem; }
.nav__reserve { display: none; }

/* Header con scroll → fondo claro */
.header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(20,19,18,.06);
}
.header.is-scrolled .nav__link { color: var(--text); }
.header.is-scrolled .nav__reserve { display: inline-flex; }
.header.is-hidden { transform: translateY(-100%); }
.header { transition: transform .5s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease); }

/* Toggle tema */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  transition: all .4s var(--ease);
}
.header.is-scrolled .theme-toggle { border-color: var(--border); color: var(--text); }
.theme-toggle:hover { transform: rotate(25deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Hamburguesa */
.burger { display: none; flex-direction: column; gap: 6px; padding: 8px; z-index: 950; }
.burger span {
  width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s var(--ease), background .45s var(--ease);
}
.header.is-scrolled .burger span { background: var(--text); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,18,.62) 0%, rgba(20,19,18,.35) 40%, rgba(20,19,18,.82) 100%),
    linear-gradient(100deg, rgba(94,33,33,.45) 0%, transparent 55%);
}
.hero__content { padding-top: var(--header-h); }
.hero__kicker {
  font-size: .85rem; font-weight: 600; letter-spacing: .35em; text-transform: uppercase;
  color: var(--dorado-soft); margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(3.4rem, 10vw, 7.5rem); line-height: 1.02; letter-spacing: -.02em;
}
.hero__title em { font-style: italic; color: var(--dorado); }
.hero__subtitle {
  font-family: var(--font-title); font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: rgba(255,255,255,.88);
  margin: 1.4rem 0 2.6rem;
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 46px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-line { width: 2px; height: 9px; border-radius: 2px; background: var(--dorado); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .2; } }

/* Animación de aparición del hero */
.hero .reveal { opacity: 0; transform: translateY(34px); }
body.is-loaded .hero .reveal { animation: heroUp 1s var(--ease) forwards; }
body.is-loaded .hero .reveal:nth-child(1) { animation-delay: .15s; }
body.is-loaded .hero .reveal:nth-child(2) { animation-delay: .3s; }
body.is-loaded .hero .reveal:nth-child(3) { animation-delay: .45s; }
body.is-loaded .hero .reveal:nth-child(4) { animation-delay: .6s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover img { transform: scale(1.05); }
.about__badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: .9rem 1.4rem; display: grid; line-height: 1.2; color: var(--negro);
}
[data-theme="dark"] .about__badge { color: var(--text); }
.about__badge-num { font-family: var(--font-title); font-size: 1.9rem; font-weight: 700; color: var(--burdeos); }
[data-theme="dark"] .about__badge-num { color: var(--dorado); }
.about__badge-text { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.about__text p + p { margin-top: 1.1rem; }
.about__text .section__title { margin-bottom: 1.6rem; }
.about__text p { color: var(--text-soft); }
.about__list { margin: 1.8rem 0 2.2rem; display: grid; gap: .9rem; }
.about__list li { padding-left: 1.6rem; position: relative; color: var(--text-soft); }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--dorado);
}
.about__list strong { color: var(--text); font-weight: 600; }

/* ---------- Destacados ---------- */
.featured__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 1.7rem 1.8rem 2rem; }
.card__title { font-family: var(--font-title); font-size: 1.5rem; font-weight: 600; margin-bottom: .6rem; }
.card__text { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.card__link {
  font-weight: 600; font-size: .9rem; color: var(--burdeos);
  display: inline-flex; gap: .4rem; align-items: center;
}
[data-theme="dark"] .card__link { color: var(--dorado); }
.card__link span { transition: transform .35s var(--ease); }
.card__link:hover span { transform: translateX(6px); }

/* ---------- Carta ---------- */
.menu__toolbar { display: grid; gap: 1.4rem; margin-bottom: 2.6rem; }
.menu__search {
  display: flex; align-items: center; gap: .9rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 100px;
  padding: .4rem 1.5rem; box-shadow: var(--shadow);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.menu__search:focus-within { border-color: var(--burdeos); box-shadow: var(--shadow-hover); }
.menu__search svg { width: 19px; height: 19px; color: var(--text-soft); flex-shrink: 0; }
.menu__search input {
  flex: 1; border: none; background: none; outline: none;
  padding: .8rem 0; font-size: 1rem;
}
.menu__filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  padding: .55rem 1.25rem; border-radius: 100px; font-size: .85rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text-soft); background: var(--card);
  transition: all .35s var(--ease);
}
.chip:hover { border-color: var(--burdeos); color: var(--burdeos); transform: translateY(-2px); }
.chip.is-active { background: var(--burdeos); border-color: var(--burdeos); color: #fff; }
[data-theme="dark"] .chip.is-active { background: var(--dorado); border-color: var(--dorado); color: var(--negro); }

.menu__list { display: grid; gap: 1.1rem; }
.menu-cat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .4s var(--ease);
}
.menu-cat.is-open { box-shadow: var(--shadow-hover); }
.menu-cat__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.8rem; text-align: left;
}
.menu-cat__title { font-family: var(--font-title); font-size: 1.45rem; font-weight: 600; }
.menu-cat__meta { display: flex; align-items: center; gap: 1rem; }
.menu-cat__count { font-size: .8rem; font-weight: 600; color: var(--text-soft); letter-spacing: .05em; }
.menu-cat__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--border); color: var(--burdeos); flex-shrink: 0;
  transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease);
  font-size: 1.2rem; line-height: 1;
}
[data-theme="dark"] .menu-cat__icon { color: var(--dorado); }
.menu-cat.is-open .menu-cat__icon { transform: rotate(45deg); background: var(--burdeos); color: #fff; border-color: var(--burdeos); }
.menu-cat__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.menu-cat.is-open .menu-cat__body { grid-template-rows: 1fr; }
.menu-cat__inner { overflow: hidden; }
.menu-cat__items { padding: .4rem 1.8rem 1.8rem; display: grid; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.4rem; align-items: baseline;
  padding: 1rem .8rem; border-radius: 14px;
  border-bottom: 1px dashed var(--border);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--bg-alt); transform: translateX(6px); }
.menu-item__name { font-weight: 600; font-size: .98rem; letter-spacing: .01em; }
.menu-item__desc { grid-column: 1; color: var(--text-soft); font-size: .85rem; }
.menu-item__price {
  grid-row: 1 / span 2; grid-column: 2; align-self: center;
  font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--burdeos);
  white-space: nowrap;
}
[data-theme="dark"] .menu-item__price { color: var(--dorado); }
.menu-item mark { background: rgba(200,161,90,.35); color: inherit; border-radius: 4px; padding: 0 .1em; }
.menu__empty { text-align: center; color: var(--text-soft); padding: 3rem 0; font-size: 1.05rem; }

/* ---------- Reseñas ---------- */
.reviews__slider { max-width: 780px; margin-inline: auto; overflow: hidden; }
.reviews__track { display: flex; transition: transform .7s var(--ease); }
.review {
  flex: 0 0 100%; padding: .5rem;
  display: grid; justify-items: center; text-align: center; gap: 1.1rem;
}
.review__card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem; box-shadow: var(--shadow); display: grid; gap: 1.2rem; justify-items: center;
}
.review__stars { color: var(--dorado); font-size: 1.15rem; letter-spacing: .3em; }
.review__text { font-family: var(--font-title); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.review__author { font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); }
.reviews__controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 2rem; }
.reviews__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  display: grid; place-items: center; color: var(--text);
  transition: all .3s var(--ease);
}
.reviews__arrow:hover { background: var(--burdeos); border-color: var(--burdeos); color: #fff; transform: translateY(-2px); }
.reviews__dots { display: flex; gap: .5rem; }
.reviews__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .35s var(--ease); }
.reviews__dot.is-active { background: var(--dorado); transform: scale(1.35); }

/* ---------- Reservas ---------- */
.section--dark { background: var(--negro); color: #F4F1EC; }
.section--dark .section__title em { color: var(--dorado); }
.booking__inner {
  max-width: 720px; margin-inline: auto; text-align: center;
  display: grid; gap: 1.6rem; justify-items: center;
}
.booking__lead { color: rgba(244,241,236,.72); max-width: 52ch; }
.booking__phone-big {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; color: var(--dorado);
  letter-spacing: .02em;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.booking__phone-big:hover { transform: scale(1.04); color: var(--dorado-soft); }
.booking__perks { display: grid; gap: .7rem; margin-top: .2rem; }
.booking__perks li { color: rgba(244,241,236,.7); font-size: .95rem; display: flex; align-items: center; gap: .7rem; }
.booking__perks li::before { content: "✓"; color: var(--dorado); font-weight: 700; }

/* Punto de estado (abierto / cerrado) */
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block;
  background: #8FBF7F; box-shadow: 0 0 0 4px rgba(143,191,127,.18);
}
.status-dot.is-closed { background: #C96A6A; box-shadow: 0 0 0 4px rgba(201,106,106,.16); }

/* Línea "Hoy" en Reservas */
.booking__today {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem;
  font-size: .92rem; letter-spacing: .03em; color: rgba(244,241,236,.85);
  padding: .7rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(200,161,90,.35); background: rgba(200,161,90,.08);
}
.booking__today-link {
  color: var(--dorado); font-weight: 600; margin-left: .2rem;
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.booking__today-link:hover { border-color: var(--dorado); }
.booking__cocina {
  font-size: .85rem; letter-spacing: .03em; color: rgba(244,241,236,.6);
  border: 1px dashed rgba(255,255,255,.22); border-radius: 999px; padding: .6rem 1.4rem;
}
.booking__cocina strong { color: var(--dorado); font-weight: 600; }

/* ---------- Ubicación ---------- */
.location__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: stretch; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 440px; }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.location__info {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem); box-shadow: var(--shadow);
  display: grid; gap: 1.6rem; align-content: start;
}
.location__block h3 {
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--burdeos); margin-bottom: .5rem;
}
[data-theme="dark"] .location__block h3 { color: var(--dorado); }
.location__block a { color: var(--burdeos); font-weight: 600; }
[data-theme="dark"] .location__block a { color: var(--dorado); }
/* Estado "Abierto ahora" */
.location__status {
  display: inline-flex; align-items: center; gap: .55rem; justify-self: start;
  font-size: .82rem; font-weight: 600; letter-spacing: .05em;
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.1rem;
  background: rgba(79,90,64,.1); color: var(--oliva); border: 1px solid rgba(79,90,64,.25);
}
.location__status.is-closed { background: rgba(122,45,45,.07); color: var(--burdeos); border-color: rgba(122,45,45,.25); }
[data-theme="dark"] .location__status { background: rgba(200,161,90,.1); color: var(--dorado); border-color: rgba(200,161,90,.3); }
[data-theme="dark"] .location__status.is-closed { background: rgba(201,106,106,.12); color: #E09A9A; border-color: rgba(201,106,106,.3); }

/* Tabla de horarios: un turno por línea */
.location__hours { display: grid; }
.location__hours li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .45rem .7rem; margin-inline: -.7rem; border-radius: 10px;
  font-size: .92rem; transition: background .3s var(--ease);
}
.location__day { font-weight: 600; color: var(--text); }
.location__time { text-align: right; color: var(--text-soft); line-height: 1.5; font-variant-numeric: tabular-nums; }
.location__hours li.is-today { background: rgba(122,45,45,.06); }
.location__hours li.is-today .location__day { color: var(--burdeos); }
.location__hours li.is-today .location__day::after {
  content: "· hoy"; margin-left: .35rem; font-size: .82em; font-weight: 600; color: var(--dorado);
}
.location__hours li.is-today .location__time { color: var(--text); font-weight: 500; }
[data-theme="dark"] .location__hours li.is-today { background: rgba(200,161,90,.09); }
[data-theme="dark"] .location__hours li.is-today .location__day { color: var(--dorado); }

/* Nota de cocina */
.location__cocina {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--border);
  font-size: .85rem; color: var(--text-soft); line-height: 1.55;
}
.location__cocina strong { color: var(--text); font-weight: 600; }
.location__cocina svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--burdeos); }
[data-theme="dark"] .location__cocina svg { color: var(--dorado); }
.location__info .btn { justify-self: start; }

/* ---------- Footer ---------- */
.footer { background: var(--negro); color: rgba(244,241,236,.75); padding-top: clamp(4rem, 8vw, 6rem); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3.5rem;
}
.footer__logo { display: inline-block; margin-bottom: 1.1rem; }
.footer__logo img { height: 44px; width: auto; display: block; }
.footer__brand p { font-size: .93rem; max-width: 34ch; }
.footer__social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.2); color: #fff;
  transition: all .35s var(--ease);
}
.footer__social a:hover { background: var(--dorado); border-color: var(--dorado); color: var(--negro); transform: translateY(-4px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h3 {
  font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--dorado); margin-bottom: 1.2rem;
}
.footer__col ul { display: grid; gap: .55rem; font-size: .93rem; }
.footer__col ul li { display: flex; justify-content: space-between; gap: 1rem; }
.footer__col:nth-child(3) ul li { display: list-item; }
.footer__col a:hover { color: var(--dorado); }

/* Horario del footer: compacto, un turno por línea */
.footer__hours { gap: .5rem; font-size: .85rem; }
.footer__hours li { align-items: baseline; }
.footer__day { color: rgba(244,241,236,.85); font-weight: 500; }
.footer__time { text-align: right; color: rgba(244,241,236,.48); line-height: 1.5; font-variant-numeric: tabular-nums; }
.footer__map iframe { width: 100%; height: 170px; border: 0; border-radius: var(--radius); filter: grayscale(.4) saturate(.85); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 1.6rem 0; font-size: .82rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; color: rgba(244,241,236,.45); }
.footer__admin-link { color: rgba(244,241,236,.45); transition: color .3s var(--ease); }
.footer__admin-link:hover { color: var(--dorado); }

/* ---------- Volver arriba ---------- */
.back-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 850;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--burdeos); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(122,45,45,.4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .45s var(--ease);
}
.back-top svg { width: 20px; height: 20px; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--dorado); color: var(--negro); transform: translateY(-4px); }

/* ---------- Animaciones de scroll (Intersection Observer) ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive — Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__grid { gap: 3rem; }
}

/* ==========================================================================
   Responsive — Móvil (≤768px)
   Diseño diferenciado: menú a pantalla completa, columnas apiladas,
   galería de 2 columnas, tarjetas con scroll horizontal en destacados.
   ========================================================================== */
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .container { width: min(100% - 2.2rem, var(--container)); }
  .section { padding: 4.2rem 0; }
  .section__head { margin-bottom: 2.4rem; }

  /* Navegación móvil a pantalla completa */
  .burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 940;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.9rem;
    background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .5s var(--ease), visibility .5s var(--ease), transform .5s var(--ease);
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { font-family: var(--font-title); font-size: 1.9rem; color: var(--text); }
  .nav__menu .nav__cta-item { margin-top: .8rem; }
  .nav__menu .btn { font-size: 1rem; padding: .95rem 2.4rem; }
  .nav__reserve { display: none !important; }
  .nav__logo { z-index: 950; }
  .header:has(.nav__menu.is-open) { background: transparent; box-shadow: none; backdrop-filter: none; border: none; }
  [data-theme="light"] .header:has(.nav__menu.is-open) .nav__logo-img--white { display: none; }
  [data-theme="light"] .header:has(.nav__menu.is-open) .nav__logo-img--dark { display: block; }
  .header:has(.nav__menu.is-open) .burger span { background: var(--text); }
  .header:has(.nav__menu.is-open) .theme-toggle { border-color: var(--border); color: var(--text); }

  /* Hero móvil: contenido abajo, alineado a la izquierda */
  .hero { align-items: end; padding-bottom: 6.5rem; }
  .hero__title { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero__buttons .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }

  /* Sobre nosotros apilado */
  .about__grid { grid-template-columns: 1fr; }
  .about__media img { min-height: 320px; }

  /* Destacados: carrusel horizontal con snap */
  .featured__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 1.1rem; margin-inline: -1.1rem; padding: .4rem 1.1rem 1.4rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .featured__grid::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82%; scroll-snap-align: center; }

  /* Carta móvil */
  .menu-cat__head { padding: 1.2rem 1.2rem; }
  .menu-cat__title { font-size: 1.2rem; }
  .menu-cat__count { display: none; }
  .menu-cat__items { padding: .2rem 1rem 1.2rem; }
  .menu-item:hover { transform: none; }
  .menu__filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
  .menu__filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  /* Reservas */
  .booking__perks li { justify-content: center; }

  /* Ubicación apilada */
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 300px; }

  /* Footer una columna */
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__map iframe { height: 200px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .back-top { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; }
}
