/* Cosa Mia — hoja de estilos del sitio público */

@font-face { font-family: 'Playfair'; src: url('/assets/fonts/playfair.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair'; src: url('/assets/fonts/playfair-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cream: #faf7f2;
  --paper: #f2ebdf;
  --ink: #222;
  --ink-soft: #57514b;
  --line: rgb(34 34 34 / 0.12);
  --green: #2e7d32;
  --green-deep: #1d5221;
  --red: #c62828;
  --red-deep: #a51f1f;
  --gold: #c39a52;
  --night: #16231b;
  --night-2: #1e2f24;
  --on-dark: #f6f1e8;
  --on-dark-soft: #cfc6b6;

  --serif: 'Playfair', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 16px;
  --arch: 999px 999px 16px 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
mark { background: #fff1c2; padding: 0 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

/* ---------- tipografía de sección ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green) 0 33%, #fff 33% 66%, var(--red) 66%); box-shadow: 0 0 0 1px var(--line); }
.eyebrow--light { color: var(--on-dark-soft); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.75rem); letter-spacing: -0.015em; }
.section-title em { font-style: italic; color: var(--red); }
.section-title--light { color: var(--on-dark); }
.section-title--light em { color: var(--gold); }
.section-lead { margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); max-width: 56ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 2rem 0 0.6rem; font-family: var(--serif); font-size: 1.5rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin: 1rem 0; }
.prose li + li { margin-top: 0.3rem; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0 1.4rem; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; font-size: 0.95rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--ghost { border-color: rgb(34 34 34 / 0.22); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp { background: #128c4a; color: #fff; }
.btn--whatsapp:hover { background: #0e7a40; }

/* ---------- cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--on-dark); transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.site-header.is-solid { background: rgb(250 247 242 / 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); }
.brand__flag i { flex: 1; }
.brand__flag i:nth-child(1) { background: var(--green); }
.brand__flag i:nth-child(2) { background: #fff; }
.brand__flag i:nth-child(3) { background: var(--red); }
.brand__name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; }
.brand--light { color: var(--on-dark); }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 0.92rem; font-weight: 500; text-decoration: none; border-radius: 999px; opacity: 0.9; }
.nav__list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; }
.nav__toggle .icon { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav { order: 3; }
  .nav__toggle { display: inline-flex; }
  .nav__list { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--cream); color: var(--ink); box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.35); transform-origin: top; transform: scaleY(0.96); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
  .nav__list.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list a { width: 100%; min-height: 52px; font-size: 1.1rem; font-family: var(--serif); border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 380px) { .site-header__cta .icon { display: none; } .brand__name { font-size: 1.4rem; } }

/* ---------- portada ---------- */
.hero { position: relative; min-height: 100svh; color: var(--on-dark); background: var(--night); overflow: hidden; isolation: isolate; }
.hero__inner { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(5rem, 12vh, 7rem); }
.hero__content { position: relative; z-index: 2; max-width: 620px; }
.hero__title { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(4.2rem, 17vw, 9.5rem); line-height: 0.92; letter-spacing: -0.03em; }
.hero__title span { display: inline-block; background: linear-gradient(180deg, #fff 30%, #f1e2c4); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.hero__subtitle { margin-top: 18px; max-width: 40ch; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--on-dark-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; min-height: 44px; font-size: 0.92rem; color: var(--on-dark-soft); text-decoration: none; }
.hero__rating strong { color: var(--on-dark); font-size: 1.05rem; }
.hero__rating:hover { color: var(--on-dark); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }

/* vídeo: en móvil ocupa toda la pantalla (es vertical); en escritorio va en una ventana con forma de arco */
.hero__window { position: absolute; inset: 0; z-index: 0; }
.hero__frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night-2); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__window::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 18 13 / 0.55) 0%, rgb(10 18 13 / 0.1) 30%, rgb(10 18 13 / 0.35) 55%, rgb(10 18 13 / 0.92) 100%); }
.hero__floor { display: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 999px; color: var(--on-dark); border: 1px solid rgb(255 255 255 / 0.3); }
.hero__scroll .icon { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

@media (min-width: 961px) {
  .hero { background: radial-gradient(70% 90% at 75% 40%, #2a4232 0%, var(--night) 62%); }
  .hero__inner { align-items: center; justify-content: space-between; gap: 48px; padding-bottom: 6rem; }
  .hero__window { position: relative; inset: auto; flex: none; height: min(76svh, 760px); aspect-ratio: 9 / 16; }
  .hero__window::after { display: none; }
  .hero__frame { border-radius: var(--arch); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
  .hero__window::before { content: ''; position: absolute; inset: -14px; border: 1px solid rgb(195 154 82 / 0.55); border-radius: 999px 999px 24px 24px; pointer-events: none; }
  /* suelo de ajedrez del restaurante, en perspectiva */
  .hero__floor { display: block; position: absolute; left: -20%; right: -20%; bottom: -8%; height: 46%; z-index: -1;
    background: repeating-conic-gradient(#f4efe6 0 25%, #101a14 0 50%) 0 0 / 120px 120px;
    transform: perspective(520px) rotateX(62deg); transform-origin: bottom; opacity: 0.16;
    -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, transparent 85%); }
  .hero__content { padding-bottom: 2rem; }
}

.rise { animation: rise 0.9s var(--ease) both; }
.hero__content .rise:nth-child(2) { animation-delay: 0.08s; }
.hero__content .rise:nth-child(3) { animation-delay: 0.18s; }
.hero__content .rise:nth-child(4) { animation-delay: 0.28s; }
.hero__content .rise:nth-child(5) { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- especialidades ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px) clamp(12px, 2vw, 24px); }
@media (min-width: 700px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dish-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dish-card__media { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 14px 14px; overflow: hidden; background: var(--paper); }
.dish-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dish-card:hover .dish-card__img { transform: scale(1.05); }
.dish-card__price { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--red); font-family: var(--serif); font-weight: 700; font-size: 1rem; box-shadow: 0 6px 16px -8px rgb(0 0 0 / 0.5); }
.dish-card__ph { display: grid; place-items: center; width: 100%; height: 100%; background: repeating-conic-gradient(var(--paper) 0 25%, #ebe2d3 0 50%) 0 0 / 36px 36px; }
.dish-card__ph span { font-family: var(--serif); font-style: italic; font-size: 4.5rem; color: var(--green); }
.dish-card__body { padding: 14px 4px 0; }
.dish-card__name { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }
.dish-card__desc { margin-top: 6px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dish-card__stock { position: absolute; right: 8px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 6px 3px; border-radius: 6px; background: rgb(0 0 0 / 0.45); color: #fff; font-size: 0.62rem; letter-spacing: 0.04em; }
.js .dish-card[data-more] { display: none; }
.dish-card:focus { outline: none; }
.featured__more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(2.5rem, 6vw, 4rem); }
.featured__count { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- carta ---------- */
.carta { background: var(--paper); }
.section-lead a { color: var(--green-deep); font-weight: 600; }
.menu-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.menu-notes li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 0.88rem; }
.menu-notes li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: thin; }
.tab { flex: none; min-height: 46px; padding: 0 20px; border: 1.5px solid rgb(34 34 34 / 0.18); border-radius: 999px; background: transparent; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected='true'] { background: var(--green); border-color: var(--green); color: #fff; }
.js .tab-panel[data-inactive] { display: none; }
.tab-panel__title { margin: 20px 0 6px; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.tab-panel__title span { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); vertical-align: middle; }
.js .tab-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-list { display: grid; grid-template-columns: 1fr; column-gap: 64px; }
@media (min-width: 900px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-item__thumb { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--cream); }
.menu-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__text { flex: 1; min-width: 0; }
.menu-item__row { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.menu-item__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgb(34 34 34 / 0.25); transform: translateY(-4px); }
.menu-item__price { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--red); white-space: nowrap; }
.menu-item__desc { margin-top: 4px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.allergens { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.allergen { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.62rem; font-weight: 700; color: #fff; background: #6d5f50; }
.allergen--gluten { background: #a8761f; } .allergen--lactosa { background: #4f7fb0; } .allergen--crustaceos { background: #c8553d; }
.allergen--pescado { background: #2f6c8f; } .allergen--moluscos { background: #5a6b8c; } .allergen--frutos-cascara { background: #8a5a35; }
.allergen--mostaza { background: #8f7d12; } .allergen--huevos { background: #b07a10; } .allergen--soja { background: #4c7a3a; }
.allergen--apio { background: #3f8a52; } .allergen--altramuces { background: #8c6d1f; } .allergen--cacahuetes { background: #8f4b2b; }
.allergen-legend { margin-top: 32px; font-size: 0.9rem; color: var(--ink-soft); }
.allergen-legend ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.allergen-legend li { display: inline-flex; align-items: center; gap: 8px; }
.carta__page-link { margin-top: 28px; }
.carta__page-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--green-deep); }
.carta--page { padding-top: calc(var(--header-h) + 3rem); }
.carta__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- nosotros + galería ---------- */
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr 1fr; } }
.about__photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 60vw, 620px); }
.about__p { overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.about__p img { width: 100%; height: 100%; object-fit: cover; }
.about__p--1 { grid-row: span 2; border-radius: var(--arch); }
.about__text .prose { margin-top: 22px; font-size: 1.06rem; color: var(--ink-soft); max-width: 52ch; }
.about__sign { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--green); }
.gallery__title { margin: clamp(4rem, 8vw, 6rem) 0 20px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gallery__item { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--paper); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- reseñas ---------- */
.reviews { background: var(--night); color: var(--on-dark); background-image: radial-gradient(60% 80% at 50% 0%, #24392b 0%, transparent 70%); }
.review-list { display: grid; gap: 18px; margin-bottom: 40px; }
@media (min-width: 800px) { .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.review__by { margin-top: auto; font-size: 0.9rem; color: var(--on-dark-soft); }
.reviews__google { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.reviews__score { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--on-dark-soft); }
.reviews__score strong { font-family: var(--serif); font-size: clamp(4rem, 12vw, 6rem); line-height: 1; color: var(--on-dark); font-weight: 500; }
.reviews__score .stars .icon { width: 22px; height: 22px; }

/* ---------- restaurantes ---------- */
.loc-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .loc-grid--single { grid-template-columns: 1fr; }
  .loc-grid--single .loc { flex-direction: row; }
  .loc-grid--single .loc__map { flex: 1.15; aspect-ratio: auto; min-height: 460px; }
  .loc-grid--single .loc__body { flex: 1; }
}
.loc { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgb(0 0 0 / 0.45); }
.loc__map { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 16 / 9; background: repeating-conic-gradient(#efe7da 0 25%, #f8f4ed 0 50%) 0 0 / 44px 44px; }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc__map-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.6); }
.loc__map-btn:hover { background: #000; }
.loc__map-note { font-size: 0.78rem; color: var(--ink-soft); background: rgb(250 247 242 / 0.85); padding: 2px 8px; border-radius: 6px; }
.loc__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 4vw, 34px); flex: 1; }
.loc__name { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; }
.loc__addr { display: flex; gap: 10px; color: var(--ink-soft); }
.loc__addr .icon { margin-top: 4px; color: var(--red); }
.loc__hours h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--ink); }
.loc__hours-pending { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 0.94rem; }
.loc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- pie ---------- */
.site-footer { background: var(--night); color: var(--on-dark-soft); font-size: 0.94rem; padding-top: clamp(3.5rem, 7vw, 5rem); }
.site-footer a { color: var(--on-dark); }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer__tag { margin-top: 10px; }
.site-footer__h { margin-bottom: 10px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--on-dark); }
.site-footer__grid p + p { margin-top: 8px; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.2); }
.social a:hover { background: rgb(255 255 255 / 0.08); }
.site-footer__credits { padding-bottom: 20px; font-size: 0.8rem; }
.site-footer__credits summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.site-footer__credits ul { margin-top: 8px; display: grid; gap: 4px; }
.site-footer__credits a { word-break: break-word; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- diálogo de reservas ---------- */
.reserve { width: min(92vw, 460px); max-height: 90svh; padding: 34px 28px 28px; border: 0; border-radius: 24px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6); }
.reserve::backdrop { background: rgb(10 18 13 / 0.6); backdrop-filter: blur(4px); }
.reserve[open] { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.reserve__close-form { position: absolute; top: 12px; right: 12px; }
.reserve__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.reserve__close:hover { background: var(--paper); }
.reserve__title { margin: 10px 0 8px; font-family: var(--serif); font-weight: 500; font-size: 2rem; }
.reserve__lead { margin-bottom: 22px; color: var(--ink-soft); }
.reserve__list { display: grid; gap: 18px; margin-top: 24px; }
.reserve__loc-name { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; }
.reserve__loc-name .icon { color: var(--red); }
.reserve__phones { display: grid; gap: 8px; }

/* ---------- música ---------- */
.music { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; min-width: 52px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px; background: rgb(22 35 27 / 0.92); color: var(--on-dark); cursor: pointer; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 0.2s var(--ease), background-color 0.2s; }
.music[hidden] { display: none; }
.music:hover { background: var(--night); }
.music:active { transform: scale(0.95); }
.music .icon { width: 22px; height: 22px; }
.music__on, .music__bars { display: none; }
.music__label { font-size: 0.85rem; font-weight: 600; }
.music[aria-pressed='true'] .music__label { display: none; }
.music[aria-pressed='true'] .music__on, .music[aria-pressed='true'] .music__bars { display: inline-flex; }
.music[aria-pressed='true'] .music__off { display: none; }
.music__bars { align-items: flex-end; gap: 2px; height: 14px; }
.music__bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; transform-origin: bottom; }
.music__bars i:nth-child(2) { animation-delay: -0.3s; }
.music__bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* ---------- animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- páginas legales ---------- */
.legal { padding-top: calc(var(--header-h) + 3rem); }
.legal .section-title { margin-bottom: 1.5rem; }
