/* ==========================================================================
   Fortín Salteño · Estilos (mobile-first)
   Breakpoints: 36em (576px) · 48em (768px) · 64em (1024px) · 80em (1280px)
   ========================================================================== */

:root {
  --cream: #f6efe4;
  --paper: #fbf7f0;
  --sand: #ead9c1;
  --ink: #2b1d17;
  --ink-soft: #5e4b40;
  --red: #b3211d;
  --red-dark: #8e1915;
  --bordo: #5a1820;
  --bordo-deep: #3f1016;
  --terracota: #a8492a;
  --terracota-dark: #8a3a20;
  --madera: #6a4630;
  --night: #221511;
  --line: rgba(43, 29, 23, 0.14);
  --line-light: rgba(246, 239, 228, 0.18);

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: max(1rem, env(safe-area-inset-left));
  --header-h: 3.5rem;
  --radius: 0.375rem;
  --radius-lg: 0.75rem;
  --section-y: clamp(2.5rem, 5vw, 4.25rem);
  --shadow: 0 1px 2px rgba(43, 29, 23, 0.06), 0 12px 32px -12px rgba(43, 29, 23, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --guarda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='14' viewBox='0 0 32 14'%3E%3Cpath d='M0 7 8 0l8 7-8 7z' fill='%23b3211d'/%3E%3Cpath d='M16 7l8-7 8 7-8 7z' fill='%232b1d17'/%3E%3Cpath d='M8 4.5 10.5 7 8 9.5 5.5 7z M24 4.5 26.5 7 24 9.5 21.5 7z' fill='%23f6efe4'/%3E%3C/svg%3E");
}

@media (min-width: 64em) {
  :root { --gutter: 2rem; --header-h: 4.25rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.97rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], nav ul { list-style: none; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.75rem 1rem; background: var(--ink); color: var(--cream); border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon-sprite { position: absolute; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 0.75rem;
}
.eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: currentColor; }
.eyebrow--light { color: #f2c9a8; }
.section-title {
  font-family: var(--font-serif); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(1.65rem, 3.6vw + 0.6rem, 2.7rem); line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance;
}
.section-title em, .hero__title em { font-style: italic; font-weight: 400; }
.lead { font-family: var(--font-serif); font-size: clamp(1.08rem, 0.8vw + 0.9rem, 1.25rem); line-height: 1.45; color: var(--ink); }
.section-intro { color: var(--ink-soft); max-width: 38rem; margin-top: 1rem; }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }
.section { padding-block: var(--section-y); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 2.75rem; padding: 0.6rem 1.2rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.93rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 0.95rem; font-size: 0.88rem; }
.btn--lg { min-height: 3rem; padding: 0.7rem 1.4rem; font-size: 0.97rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: currentColor; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--text { min-height: 2.75rem; padding-inline: 0.25rem; border-radius: var(--radius); color: var(--red); text-decoration: underline; text-decoration-color: rgba(179, 33, 29, 0.35); }
.btn--text:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(246, 239, 228, 0.97);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(246, 239, 228, 0.88); backdrop-filter: blur(12px); }
}
.site-header__inner { display: flex; align-items: center; gap: 0.75rem; height: var(--header-h); }
.site-header__brand { margin-right: auto; border-radius: var(--radius); }
.logo { width: 5.75rem; height: auto; }
.site-nav { display: none; }
.site-header__cta { display: none; }
.menu-toggle {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -0.4rem;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.menu-toggle .icon { width: 1.6rem; height: 1.6rem; }
.menu-toggle .icon--close, .menu-toggle[aria-expanded='true'] .icon--open { display: none; }
.menu-toggle[aria-expanded='true'] .icon--close { display: block; }

/* Header transparente sobre el hero (sólo cuando JS lo activa) */
.site-header.is-open { background: var(--cream); }
.site-header.is-over-hero:not(.is-open) { background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }

@media (min-width: 25em) {
  .logo { width: 6.25rem; }
}
@media (min-width: 64em) {
  .logo { width: 7rem; }
  .site-nav { display: block; margin-right: 0.5rem; }
  .site-nav ul { display: flex; gap: 0.25rem; }
  .site-nav a { display: block; padding: 0.6rem 0.7rem; font-size: 0.9rem; font-weight: 500; text-decoration: none; border-radius: var(--radius); }
  .site-nav a:hover { text-decoration: underline; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Menú mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--cream); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__links a {
  display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.2; text-decoration: none;
}
.mobile-menu__order { display: grid; gap: 0.75rem; }
.mobile-menu__order .eyebrow { margin-bottom: 0.25rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(2.5rem, 7vh, 5rem);
  color: #fff; background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Velo oscuro para garantizar la legibilidad del texto sobre la foto */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 13, 10, 0.92) 0%, rgba(26, 13, 10, 0.6) 45%, rgba(26, 13, 10, 0.25) 75%, rgba(26, 13, 10, 0.45) 100%);
}
.hero__content { max-width: 78rem; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.95rem, 5.4vw + 0.6rem, 4.1rem); line-height: 1.04; letter-spacing: -0.02em;
  max-width: 14ch; text-wrap: balance;
}
.hero__title em { color: #f4d3b5; }
.hero__lead { max-width: 32rem; margin-top: 1rem; font-size: clamp(0.95rem, 0.4vw + 0.88rem, 1.08rem); color: rgba(255, 255, 255, 0.88); }
.hero__actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
@media (min-width: 30em) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}
/* Desktop: texto más compacto abajo a la izquierda y velo sólo en esa zona, para que se vea el local */
@media (min-width: 48em) {
  .hero { min-height: clamp(28rem, 72svh, 42rem); padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
  .hero__media img { object-position: 50% 33%; }
  .hero__media::after {
    background:
      linear-gradient(to right, rgba(26, 13, 10, 0.78) 0%, rgba(26, 13, 10, 0.45) 32%, rgba(26, 13, 10, 0) 58%),
      linear-gradient(to top, rgba(26, 13, 10, 0.55) 0%, rgba(26, 13, 10, 0) 40%),
      linear-gradient(to bottom, rgba(26, 13, 10, 0.62) 0%, rgba(26, 13, 10, 0.25) 10%, rgba(26, 13, 10, 0) 22%);
  }
  .hero__title { font-size: clamp(1.9rem, 2.2vw + 0.9rem, 2.75rem); }
  .hero__lead { max-width: 27rem; font-size: 0.98rem; }
  .hero__content .eyebrow { margin-bottom: 0.6rem; }
  .hero__actions { margin-top: 1.25rem; }
}
@media (max-height: 34em) and (orientation: landscape) {
  .hero { min-height: 0; }
}
/* Mobile: la foto del frente completa arriba y el texto debajo, para que el cartel no se recorte */
@media (max-width: 47.99em) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 963 / 1041; }
  /* Foto entera; sólo un fundido suave en el borde inferior hacia el fondo, sin franja oscura */
  .hero__media img {
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  }
  .hero__media::after {
    background: linear-gradient(to bottom, rgba(26, 13, 10, 0.45) 0%, rgba(26, 13, 10, 0) 14%);
  }
  .hero__content { position: relative; padding-top: 1.25rem; padding-bottom: 2rem; }
  .hero__title { font-size: clamp(1.75rem, 6vw + 0.4rem, 2.2rem); }
}
@media (max-width: 47.99em) and (max-height: 42em) {
  .hero__lead { display: none; }
}

/* ---------- Guarda (detalle textil del norte) ---------- */
.guarda { height: 14px; background: var(--guarda) repeat-x center / auto 14px; }

/* ---------- Historia ---------- */
.historia { background: var(--paper); }
.historia__grid { display: grid; gap: 2.5rem; }
.historia__text > p:not(.eyebrow):not(.lead) { color: var(--ink-soft); margin-top: 1rem; max-width: 36rem; }
.historia__text .section-title { margin-bottom: 1.5rem; }
.historia__quote {
  margin-top: 2rem; padding-left: 1.25rem; border-left: 3px solid var(--red);
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--bordo);
}
.historia__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.historia__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.historia__photo--main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.historia__photo--side { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 4 / 5; margin-bottom: -2.5rem; border: 6px solid var(--paper); border-radius: calc(var(--radius-lg) + 6px); box-shadow: var(--shadow); }
.historia__photo picture { height: 100%; }

@media (min-width: 64em) {
  .historia__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .historia__media { padding-bottom: 2.5rem; max-width: 32rem; justify-self: end; width: 100%; }
}

/* ---------- Especialidades ---------- */
.dish-grid { display: grid; gap: 1rem; }
.dish-card { min-width: 0; }
.dish-card__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
  box-shadow: 0 1px 0 var(--line); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.dish-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.dish-card__media picture, .dish-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.dish-card__body { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; padding: 1.1rem 1.1rem 1.2rem; }
.dish-card__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.dish-card__body > p { color: var(--ink-soft); font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.15rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.75rem; color: var(--ink-soft); }
.dish-card__more { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.88rem; color: var(--red); }
.dish-card__link:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dish-card__link:hover img { transform: scale(1.04); }
@media (min-width: 36em) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .dish-card__media { aspect-ratio: 1; }
}
@media (min-width: 64em) {
  .dish-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Pedidos ---------- */
.pedidos { position: relative; background: var(--bordo-deep); color: var(--cream); }
.pedidos::before { content: ''; position: absolute; inset: 0 0 auto; height: 14px; background: var(--guarda) repeat-x center / auto 14px; }
.pedidos .section-intro { color: rgba(246, 239, 228, 0.78); }
.order-grid { display: grid; gap: 1.25rem; max-width: 54rem; margin-inline: auto; }
.order-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  border-top: 6px solid var(--red);
}
.order-card--florida { border-top-color: var(--terracota); }
.order-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.order-card__media picture, .order-card__media img { width: 100%; height: 100%; object-fit: cover; }
.order-card__badge {
  position: absolute; top: 1rem; left: 1rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  background: rgba(34, 21, 17, 0.82); color: var(--cream); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.order-card__body { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; padding: 1.25rem 1.1rem 1.4rem; }
.order-card__region { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.order-card--florida .order-card__region { color: var(--terracota-dark); }
.order-card__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 2.5vw + 1rem, 2.2rem); line-height: 1; }
.order-card__title span { display: block; margin-bottom: 0.3rem; font-family: var(--font-sans); font-size: 0.88rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.order-card__address { display: flex; gap: 0.5rem; color: var(--ink-soft); }
.order-card__address .icon { margin-top: 0.2em; color: var(--ink); }
.order-card .btn--block { margin-top: auto; }
.order-card__note { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.order-card__note a { white-space: nowrap; font-weight: 600; color: var(--ink); }
@media (min-width: 48em) {
  .order-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .order-card__body { padding: 1.5rem 1.6rem 1.6rem; }
}

/* ---------- Vinos ---------- */
.vinos { padding-top: 0; background: var(--cream); }
.vinos__landscape { aspect-ratio: 16 / 10; max-height: 26rem; width: 100%; overflow: hidden; }
.vinos__landscape picture, .vinos__landscape img { width: 100%; height: 100%; object-fit: cover; }
.vinos__text {
  position: relative; display: grid; gap: 1.25rem;
  margin-top: -2.5rem; padding: 1.75rem 1.1rem 0; background: var(--cream); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.vinos__intro .section-title { margin-bottom: 1rem; }
.vinos__body > p { color: var(--ink-soft); }
.vinos__list { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.vinos__subtitle { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; margin-bottom: 0.5rem; }
.vinos__empty { color: var(--ink-soft); font-size: 0.9rem; }
.wine-list li { display: flex; flex-direction: column; padding-block: 0.75rem; border-bottom: 1px dashed var(--line); }
.wine-list__name { font-weight: 600; }
.wine-list__meta { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 47.99em) {
  .vinos__body > p { display: none; }
  .vinos__list { margin-top: 0; }
}
@media (min-width: 48em) {
  .vinos__text { margin-top: -5rem; padding: 2.25rem 2.25rem 0; }
}
@media (min-width: 64em) {
  .vinos__text { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: -7rem; padding: 2.75rem 2.75rem 0; }
  .vinos__body { padding-top: 1.9rem; }
}

/* ---------- Tira de vinos (loop derecha → izquierda) ---------- */
.wine-strip { margin-top: clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; }
.wine-strip__track { display: flex; width: max-content; will-change: transform; animation: wine-marquee 96s linear infinite; }
/* Sólo con mouse: en pantallas táctiles el :hover queda "pegado" después de un toque y la tira se congelaba */
@media (hover: hover) and (pointer: fine) {
  .wine-strip:hover .wine-strip__track { animation-play-state: paused; }
}
.wine-strip:focus-visible .wine-strip__track { animation-play-state: paused; }
/* Con JS (main.js) la tira avanza por script y se arrastra con el dedo o el mouse */
.wine-strip.is-draggable { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.wine-strip.is-draggable .wine-strip__track { animation: none; }
.wine-strip.is-draggable img { pointer-events: none; -webkit-user-drag: none; }
.wine-strip.is-dragging { cursor: grabbing; }
.wine-strip__group { display: flex; margin: 0; }
/* El espacio va en cada tarjeta (no gap + padding del ul): el reset ul[class] { padding: 0 } anulaba el padding
   y el último vino de un grupo quedaba pegado al primero del siguiente. Así ambos grupos miden exactamente lo mismo. */
.wine-strip__card {
  position: relative; flex: none; width: 11rem; margin-right: 1rem; height: calc(11rem * 4 / 3); overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); background: var(--sand); box-shadow: var(--shadow);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: recorta la foto dentro del borde redondeado mientras la tira se mueve */
}
.wine-strip__card picture { position: absolute; inset: 0; }
.wine-strip__card img { width: 100%; height: 100%; object-fit: cover; }
.wine-strip__caption {
  position: absolute; inset: auto 0 0; padding: 0.6rem 0.75rem;
  background: rgba(34, 21, 17, 0.82); color: var(--cream); font-size: 0.8rem; font-weight: 600; line-height: 1.3;
}
@keyframes wine-marquee { to { transform: translateX(-50%); } }
@media (min-width: 64em) {
  .wine-strip__card { width: 15rem; height: 20rem; margin-right: 1.25rem; }
}
/* Sin animación: la tira se recorre con el dedo o el trackpad */
@media (prefers-reduced-motion: reduce) {
  .wine-strip { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
  .wine-strip__track { animation: none !important; }
  .wine-strip__group[aria-hidden='true'] { display: none; }
  .wine-strip__card { scroll-snap-align: start; }
}

/* ---------- Horarios (footer) ---------- */
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding-block: 0.3rem; border-bottom: 1px dashed var(--line); }
.hours > div:last-child { border-bottom: 0; }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(246, 239, 228, 0.82); font-size: 0.88rem; }
.site-footer h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: var(--cream); margin-bottom: 0.9rem; }
.site-footer a:not(.btn) { color: var(--cream); }
.site-footer__top { display: grid; gap: 2rem; padding-top: 2.75rem; padding-bottom: 2.25rem; }
.footer-brand p { max-width: 24rem; margin-top: 1.25rem; }
.logo--footer { width: 8.5rem; }
.social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-light); border-radius: 50%; transition: background-color 0.2s; }
.social a:hover { background: rgba(246, 239, 228, 0.12); }
.footer-col address { margin-bottom: 0.75rem; }
.hours--compact { margin-bottom: 0.75rem; font-size: 0.9rem; }
.hours--compact > div { border-color: var(--line-light); }
.hours--compact dd { color: var(--cream); }
.footer-map { padding-bottom: 2.25rem; }
.footer-map__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.75rem; }
.footer-map__head h3 { margin: 0; font-size: 1.05rem; }
.map-tabs { display: inline-flex; padding: 0.2rem; border: 1px solid var(--line-light); border-radius: 999px; }
.map-tabs button {
  min-height: 2.75rem; padding: 0.3rem 0.95rem; border: 0; border-radius: 999px; background: none; color: var(--cream); font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.map-tabs button[aria-selected='true'] { background: var(--cream); color: var(--ink); }
.footer-map__frame { height: clamp(13rem, 22vw, 18rem); width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: #3a2a24; }
.footer-map__frame iframe { width: 100%; height: 100%; border: 0; }
.footer-map__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: 0.4rem; font-size: 0.85rem; }
.footer-map__links a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line-light); font-size: 0.85rem; color: rgba(246, 239, 228, 0.6); }
@media (min-width: 40em) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64em) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-top: 3.5rem; }
}


/* ---------- Animaciones de entrada (sólo con JS y sin preferencia de movimiento reducido) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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