@import url("../../brand/design-tokens.css");

:root {
  --category-accent: var(--gold);
  --category-tint: var(--alpha-gold-12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--body-bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.67;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: var(--gold); text-decoration: none; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header {
  width: 100%;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  color: var(--navy);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
  transition: min-height 420ms var(--ease), padding 420ms var(--ease), background 420ms var(--ease), box-shadow 420ms var(--ease), backdrop-filter 420ms var(--ease);
}
.site-header.is-scrolled {
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--header-bg-scrolled);
  box-shadow: var(--shadow-header);
}
.brand-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: clamp(0.75rem, 2vw, 1.35rem);
  align-items: center;
  min-height: 54px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--navy);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 700;
  line-height: 1;
  font-family: var(--serif);
  white-space: nowrap;
}
.brand img {
  width: 74px;
  height: 74px;
  border-radius: 0;
  object-fit: contain;
  transition: width 420ms var(--ease), height 420ms var(--ease), transform 420ms var(--ease);
}
.site-header.is-scrolled .brand img { width: 62px; height: 62px; }
.brand:hover img { transform: translateY(-2px) scale(1.03); }
.site-header .site-nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
.social-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}
.brand-row > .social-links {
  position: static;
  transform: none;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  background: var(--alpha-navy-06);
  border: 1px solid var(--alpha-navy-16);
  box-shadow: none;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms var(--ease), border-color 260ms var(--ease);
}
.social-links a:hover {
  transform: translateY(-2px);
  background: var(--color-background-warm);
  border-color: var(--alpha-gold-42);
  box-shadow: var(--shadow-social-hover);
}
.social-links svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}
.social-facebook { color: var(--color-social-facebook); }
.social-instagram { color: var(--color-social-instagram); }
.social-google { color: inherit; }
.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;
}
.header-reserve,
.nav-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--button-text);
  text-decoration: none;
  font: 800 0.86rem/1 var(--sans);
  box-shadow: 0 12px 28px var(--alpha-navy-14);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
  white-space: nowrap;
}
.header-reserve {
  grid-column: 4;
  grid-row: 1;
}
.header-reserve:hover,
.nav-reserve:hover {
  color: var(--button-text);
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px var(--alpha-navy-20);
}
.menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--alpha-navy-13);
  border-radius: 999px;
  background: var(--alpha-white-68);
  color: transparent;
  font-size: 0;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  grid-column: 5;
  grid-row: 1;
  box-shadow: 0 10px 24px var(--alpha-navy-09);
  transition: background 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}
.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--alpha-gold-50);
}
.menu-toggle::before {
  content: "";
  width: 18px;
  height: 12px;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 5px 0 var(--navy);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.menu-toggle[aria-expanded="true"]::before {
  width: 18px;
  height: 18px;
  border: 0;
  box-shadow: none;
  background:
    linear-gradient(45deg, transparent 46%, var(--cream) 48%, var(--cream) 52%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--cream) 48%, var(--cream) 52%, transparent 54%);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vw, 0.85rem);
  font: 800 0.78rem/1 var(--sans);
  letter-spacing: 0.02em;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  padding: 0.72rem 0.45rem;
  border-radius: 999px;
  position: relative;
  transition: color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}
.site-nav a:hover {
  color: var(--bg-deep);
  background: var(--alpha-gold-16);
  transform: translateY(-1px);
}
.site-nav .nav-reserve { display: none; }
.site-nav a.active {
  color: var(--bg-deep);
  background: var(--alpha-gold-22);
  outline: 0;
}

body.nav-open {
  overflow: hidden;
}

.home-hero {
  position: relative;
  min-height: min(680px, calc(100vh - 128px));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    var(--hero-overlay);
  pointer-events: none;
}
.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.54) saturate(1.04);
  transform: scale(1.04);
  transition: transform 900ms var(--ease);
  will-change: transform;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2rem));
  margin-top: 42px;
  text-align: center;
  color: var(--color-inverse);
  animation: heroRise 900ms var(--ease) both;
}
.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font: 700 0.72rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-copy h1 {
  margin: 0 0 0.85rem;
  color: var(--color-inverse);
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  font-weight: 400;
  line-height: 1.1;
}
.hero-copy p {
  display: inline;
  margin: 0;
  color: var(--color-inverse);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.7;
  background: var(--hero-copy-bg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.18rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}
.story-section,
.page-title,
.menu-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space) 0;
}
.image-copy {
  display: grid;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.centered-story {
  max-width: 1160px;
  text-align: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  position: relative;
}
.page-title h1 {
  margin: 0 auto 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}
.story-section h2,
.page-title h2,
.section-heading h2 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}
.story-section p,
.page-title p,
.section-heading p {
  max-width: var(--content);
  margin: 0 0 1.25rem;
  line-height: 1.72;
}
.image-copy img,
.carta-title img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}
.image-copy img:hover { transform: scale(1.025); filter: saturate(1.06) contrast(1.02); }
.image-copy p { align-self: center; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button-link {
  display: inline-block;
  background: var(--button);
  color: var(--button-text);
  border: 1px solid var(--button-border);
  border-radius: 999px;
  padding: 0.78rem 1.18rem;
  text-decoration: none;
  margin-top: 0.5rem;
  font: 800 0.9rem/1 var(--sans);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-button);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms var(--ease), color 260ms var(--ease);
}
.button-link:hover { background: var(--navy); color: var(--color-inverse); transform: translateY(-2px); box-shadow: var(--shadow-button-hover); }
.button-secondary {
  background: var(--alpha-cream-08);
  color: var(--color-inverse);
  border-color: var(--alpha-cream-28);
  backdrop-filter: blur(12px);
}
.button-secondary:hover { background: var(--alpha-cream-18); }

.page-title { text-align: left; }
.page-title.narrow,
.page-title {
  max-width: 860px;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.page-title p { margin-left: auto; margin-right: auto; }
.page-title::before {
  content: "Carta Yolimar";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: var(--category-tint);
  color: var(--category-accent);
  font: 800 0.68rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.page-entrantes .page-title::before { content: "Para compartir"; }
.page-pescados .page-title::before { content: "Cantábrico"; }
.page-carnes .page-title::before { content: "Tradición asturiana"; }
.page-postres .page-title::before { content: "Final casero"; }
.page-bebidas .page-title::before { content: "Bodega y barra"; }
.page-menus .page-title::before { content: "Menús"; }
.carta-title {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 760px;
  text-align: center;
}
.carta-title h1 { margin-bottom: 0.4rem; }
.carta-title img { display: none; }
.carta-title p { margin-top: 0; }
.section-heading {
  max-width: 900px;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.section-heading p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-carta .menu-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.4rem);
}
.page-carta .section-heading {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.page-carta .menu-section:not(:has(.menu-grid)) {
  padding-bottom: clamp(1.2rem, 2.5vw, 2rem);
}
.menu-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 1.45rem);
}
.page-title + .menu-grid { margin-top: clamp(1.6rem, 4vw, 2.6rem); }
.menu-section .menu-grid { width: 100%; }
.menu-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--category-accent);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease), background 360ms var(--ease);
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--alpha-gold-50);
  border-top-color: var(--gold);
  background: var(--color-surface-card-hover);
  box-shadow: var(--shadow-card-hover);
}
.menu-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 0.1rem;
  background: linear-gradient(90deg, var(--category-accent), transparent);
}
.menu-card h3 {
  margin: 0 0 0.5rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  font-weight: 600;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.menu-card p {
  margin: 0 0 0.45rem;
  max-width: 62ch;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.58;
}
.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--heading);
}
.prices span {
  border: 1px solid var(--price-border);
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  color: var(--navy);
  background: var(--price-bg);
  font: 800 0.9rem/1 var(--sans);
}
.menu-note {
  width: min(var(--content), calc(100% - 2rem));
  margin: 2rem auto var(--space);
  text-align: center;
  color: var(--text);
}

.trust-strip,
.reviews-section,
.location-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 3;
  border: 1px solid var(--alpha-cream-16);
  border-radius: 24px;
  background: var(--trust-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-deep);
}
.trust-strip article {
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--trust-card-bg);
}
.trust-strip strong {
  display: block;
  color: var(--color-inverse);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.trust-strip span {
  display: block;
  margin-top: 0.2rem;
  color: var(--alpha-cream-72);
  font-size: 0.95rem;
}

.reviews-section {
  padding: var(--space) 0;
  text-align: center;
}
.reviews-section h2,
.location-section h2 {
  max-width: 780px;
  margin: 0 auto 2rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
}
.review-grid {
  display: grid;
  gap: 1rem;
}
.review-grid blockquote {
  margin: 0;
  padding: 1.4rem;
  border: 1px solid var(--color-line-soft);
  border-radius: 18px;
  background: var(--alpha-white-68);
  text-align: left;
}
.review-grid p {
  margin: 0 0 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
}
.review-grid cite {
  color: var(--gold-soft);
  font-style: normal;
  font-size: 0.9rem;
}

.location-section {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  padding: var(--space) 0;
}
.location-section h2 { margin-left: 0; }
.location-section p {
  max-width: 560px;
  margin: 0 0 1rem;
}
.map-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.3rem;
  padding: 1.4rem;
  border: 1px solid var(--alpha-cream-16);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background:
    linear-gradient(140deg, var(--alpha-navy-16), var(--alpha-gold-10)),
    url("../img/playa-artedo-atardecer.jpg"),
    linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-map);
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--alpha-navy-72));
}
.map-card span,
.map-card strong {
  position: relative;
  z-index: 1;
}
.map-card span {
  color: var(--gold);
  font: 800 0.8rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.map-card strong {
  color: var(--color-inverse);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.page-entrantes {
  --category-accent: var(--color-accent-deep);
  --category-tint: var(--alpha-gold-16);
}
.page-pescados {
  --category-accent: var(--color-yolimar-sea-600);
  --category-tint: var(--alpha-sea-14);
}
.page-carnes {
  --category-accent: var(--color-yolimar-meat-600);
  --category-tint: var(--alpha-meat-12);
}
.page-postres {
  --category-accent: var(--color-yolimar-dessert-500);
  --category-tint: var(--alpha-coral-12);
}
.page-bebidas {
  --category-accent: var(--color-yolimar-drinks-500);
  --category-tint: var(--alpha-sea-13);
}
.page-menus,
.page-carta {
  --category-accent: var(--gold-soft);
  --category-tint: var(--alpha-gold-14);
}

.category-cta {
  width: min(920px, calc(100% - 2rem));
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-line-soft);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 0%, var(--category-tint), transparent 17rem),
    var(--color-surface);
  box-shadow: var(--shadow-panel);
}
.category-cta span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--category-accent);
  font: 800 0.68rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.category-cta h2 {
  max-width: 680px;
  margin: 0 auto 0.7rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
}
.category-cta p {
  max-width: 58ch;
  margin: 0 auto 1rem;
}

.site-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(2.4rem, 6vw, 4.4rem) clamp(1rem, 4vw, 3.5rem);
  background:
    var(--footer-bg);
  color: var(--alpha-cream-80);
}
.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.2rem);
  align-items: start;
}
.footer-brand img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin: 0 0 1.1rem;
}
.footer-brand p {
  font-size: 1.03rem;
  color: var(--alpha-cream-84);
}
.site-footer p {
  max-width: 28ch;
  margin: 0.35rem 0 0;
  color: var(--alpha-cream-76);
  font-size: 0.95rem;
  line-height: 1.62;
}
.footer-block h2 {
  margin: 0 0 0.8rem;
  color: var(--color-inverse);
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
}
.footer-block a,
.footer-phone {
  display: inline-flex;
  color: var(--alpha-cream-86);
  text-decoration: none;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}
.footer-block a:hover {
  color: var(--gold);
  transform: translateX(2px);
}
.footer-phone {
  color: var(--color-inverse);
  font-size: 1.18rem;
  font-weight: 800;
}
.footer-cta {
  margin-top: 0.85rem;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 800;
}
.footer-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px) !important;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.social-links-footer {
  justify-content: flex-start;
  margin: 0 0 1rem;
}
.site-footer .social-links a {
  background: var(--alpha-cream-08);
  border-color: var(--alpha-cream-20);
}
.site-footer .social-links a:hover {
  background: var(--alpha-gold-16);
  border-color: var(--alpha-gold-54);
}
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 850;
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}
.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--alpha-navy-84);
  color: var(--color-inverse);
  text-decoration: none;
  font: 800 0.82rem/1 var(--sans);
  box-shadow: var(--shadow-mobile-cta);
  backdrop-filter: blur(14px);
}
.floating-actions a:first-child {
  background: var(--gold);
  color: var(--button-text);
}
.floating-actions.is-visible { display: flex; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes menuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 720px) {
  .image-copy { grid-template-columns: 1fr 1fr; align-items: center; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .location-section { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.45fr 0.9fr 1fr 0.9fr 1fr; }
}

@media (max-width: 1120px) and (min-width: 921px) {
  .brand-row {
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
  }
  .brand-row > .social-links {
    display: none;
  }
  .site-header .site-nav {
    grid-column: 2;
  }
  .header-reserve {
    grid-column: 3;
  }
  .site-nav {
    gap: 0.25rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 74px;
    padding: 10px 14px;
    background: var(--alpha-cream-95);
    backdrop-filter: none;
  }
  .site-header.is-scrolled { backdrop-filter: none; }
  .brand-row {
    grid-template-columns: auto 1fr auto;
    min-height: 54px;
  }
  .brand {
    gap: 0.7rem;
    font-size: 1rem;
  }
  .brand img { width: 62px; height: 62px; }
  .brand-row > .social-links,
  .header-reserve {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
  }
  .menu-toggle[aria-expanded="true"] {
    position: fixed;
    top: 18px;
    right: 18px;
    background: var(--alpha-cream-12);
    border-color: var(--alpha-cream-22);
    box-shadow: none;
  }
  .site-nav {
    position: fixed;
    inset: auto;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    grid-column: 1 / -1;
    justify-self: start;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.1rem;
    padding: 92px 26px 34px;
    background:
      var(--mobile-menu-bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity 320ms var(--ease), visibility 320ms var(--ease), transform 320ms var(--ease);
    font-family: var(--serif);
  }
  .site-nav::before {
    content: "Restaurante Yolimar";
    position: absolute;
    top: 24px;
    left: 26px;
    color: var(--cream);
    font: 700 1.05rem/1 var(--serif);
  }
  .site-nav::after {
    content: "Carta y reservas";
    position: absolute;
    top: 50px;
    left: 26px;
    color: var(--gold);
    font: 800 0.68rem/1 var(--sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  .site-nav a {
    width: 100%;
    padding: 1rem 0.2rem;
    color: var(--cream);
    border-bottom: 1px solid var(--alpha-cream-12);
    border-radius: 0;
    font: 500 clamp(1.85rem, 9vw, 3.2rem)/1.05 var(--serif);
  }
  .site-nav a:hover,
  .site-nav a.active {
    color: var(--gold);
    background: transparent;
    transform: translateX(6px);
  }
  .site-nav .nav-reserve {
    display: inline-flex;
    width: 100%;
    margin-top: 1.35rem;
    min-height: 54px;
    color: var(--button-text);
    border: 0;
    border-radius: 999px;
    font: 900 0.95rem/1 var(--sans);
  }
  .home-hero { min-height: 540px; }
  .hero-copy { margin-top: 0; }
  .hero-actions .button-link { width: 100%; }
  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
  }
  .floating-actions a { flex: 1; padding: 0 0.75rem; }
  .floating-actions a:first-child { flex: 1.55; }
  .footer-brand img { width: 140px; height: 140px; }
  .site-footer { padding-bottom: 7.5rem; }
  body { padding-bottom: 72px; }
}

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