/* =====================================================================
   AGAVE FAMILY MEXICAN RESTAURANT — MAIN STYLESHEET
   Table of contents:
   1. Fonts
   2. Reset & base
   3. Design tokens
   4. Typography
   5. Layout utilities
   6. Buttons
   7. Header & navigation
   8. Hero
   9. Info strip
   10. Section heading utility
   11. Featured dishes & drinks
   12. Promotions
   13. About
   14. Drinks & happy hour
   15. Catering teaser
   16. Patio
   17. Gallery & lightbox
   18. Social
   19. Visit us / map card
   20. Footer
   21. Floating desktop action group
   22. Mobile bottom action bar
   23. Promotion popup / modal
   24. Forms
   25. Chips & badges
   26. Page hero (inner pages)
   27. Menu page
   28. Catering page
   29. Contact page
   30. Privacy page
   31. 404 page
   32. Accessibility helpers
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Fonts
   --------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  padding-bottom: 76px; /* space for mobile action bar */
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ---------------------------------------------------------------------
   3. Design tokens
   --------------------------------------------------------------------- */
:root {
  --agave-dark: #073B32;
  --agave-green: #0B5A47;
  --agave-medium: #18735C;
  --cream: #F7EBD4;
  --warm-white: #FFFDF7;
  --terracotta: #B9412D;
  --deep-red: #861F1B;
  --marigold: #E9A323;
  --gold: #C88924;
  --charcoal: #202321;
  --muted-text: #665F54;
  --white: #FFFFFF;

  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 18px 55px rgba(0, 0, 0, 0.2);

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;

  --font-heading: 'DM Serif Display', 'Bree Serif', serif;
  --font-body: 'Inter', sans-serif;

  --header-height: 84px;
}

/* ---------------------------------------------------------------------
   4. Typography
   --------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--agave-dark);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--muted-text);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------
   5. Layout utilities
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: linear-gradient(160deg, var(--agave-dark), var(--agave-green));
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--warm-white);
}

.section--dark p {
  color: rgba(247, 235, 212, 0.85);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

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

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------
   6. Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-small);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  min-height: 48px;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--agave-dark);
  color: var(--warm-white);
}

.btn--primary:hover {
  background: var(--agave-green);
}

.btn--accent {
  background: var(--terracotta);
  color: var(--warm-white);
}

.btn--accent:hover {
  background: var(--deep-red);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--agave-dark);
}

.btn--outline:hover {
  background: var(--agave-dark);
  color: var(--warm-white);
}

.btn--on-dark {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--on-dark:hover {
  background: var(--cream);
  color: var(--agave-dark);
}

.btn--gold {
  background: var(--marigold);
  color: var(--agave-dark);
}

.btn--gold:hover {
  background: var(--gold);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------------------------------------------------------------------
   7. Header & navigation
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 500;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--agave-dark);
  box-shadow: var(--shadow-soft);
  height: 72px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .brand img {
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-heading);
  color: var(--warm-white);
  font-size: 1.15rem;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--marigold);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.main-nav a {
  position: relative;
  color: var(--warm-white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.1rem;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--marigold);
  transition: right 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--marigold);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-small);
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--warm-white);
}

.hamburger:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(320px, 86vw);
  background: var(--agave-dark);
  z-index: 600;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-small);
  border: 2px solid var(--cream);
  background: transparent;
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.mobile-nav a {
  display: block;
  color: var(--warm-white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid rgba(247, 235, 212, 0.15);
  min-height: 48px;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--marigold);
}

.mobile-nav .btn-row {
  margin-top: 1.5rem;
  flex-direction: column;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 59, 50, 0.55);
  z-index: 590;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* ---------------------------------------------------------------------
   8. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--warm-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 59, 50, 0.72) 0%, rgba(7, 59, 50, 0.55) 45%, rgba(7, 59, 50, 0.88) 100%),
    linear-gradient(90deg, rgba(185, 65, 45, 0.22), rgba(233, 163, 35, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero-label {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--marigold);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero h1 {
  color: var(--warm-white);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero-sub {
  color: var(--cream);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 1.9rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero .btn-row {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.hero .btn-row .btn-secondary-row {
  width: 100%;
  margin-top: 0.75rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.hero-secondary-link:hover,
.hero-secondary-link:focus-visible {
  color: var(--marigold);
  border-color: var(--marigold);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero h1,
  .hero-sub,
  .hero .btn-row {
    animation: none;
    opacity: 1;
  }
}

/* ---------------------------------------------------------------------
   9. Info strip
   --------------------------------------------------------------------- */
.info-strip {
  position: relative;
  z-index: 2;
  background: var(--warm-white);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-medium);
  margin: -48px auto 0;
  max-width: 1100px;
  padding: 1.5rem 2rem;
}

.info-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
}

.info-strip li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--agave-dark);
  font-size: 0.92rem;
}

.info-strip svg {
  width: 20px;
  height: 20px;
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   11. Featured dishes & drinks
   --------------------------------------------------------------------- */
.dish-card {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.dish-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-card__body {
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.dish-card__body h3 {
  color: var(--agave-dark);
}

.dish-card__body p {
  font-size: 0.94rem;
  flex: 1;
}

.section-footer {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------------------------------------------------------------------
   12. Promotions
   --------------------------------------------------------------------- */
.promo-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.promo-card__media {
  min-height: 280px;
}

.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card__body {
  padding: clamp(1.75rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--marigold);
  color: var(--agave-dark);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   13. About
   --------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-media {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 3;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  color: var(--agave-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 115, 92, 0.25);
}

/* ---------------------------------------------------------------------
   14. Drinks & happy hour
   --------------------------------------------------------------------- */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.drink-pill {
  background: rgba(247, 235, 212, 0.08);
  border: 1px solid rgba(247, 235, 212, 0.25);
  border-radius: var(--radius-medium);
  padding: 1.5rem;
  text-align: center;
}

.drink-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--marigold);
  margin-bottom: 0.4rem;
}

.responsible-note {
  margin-top: 2.25rem;
  font-size: 0.85rem;
  color: rgba(247, 235, 212, 0.75);
  border-top: 1px solid rgba(247, 235, 212, 0.2);
  padding-top: 1.25rem;
}

/* ---------------------------------------------------------------------
   15/16. Catering teaser & Patio
   --------------------------------------------------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-section.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 4 / 3;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 1.8rem;
}

/* ---------------------------------------------------------------------
   17. Gallery & lightbox
   --------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-medium);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  background: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 59, 50, 0.92);
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-strong);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--cream);
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: rgba(7, 59, 50, 0.6);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------------------------------------------------------------------
   18. Social
   --------------------------------------------------------------------- */
.social-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-small);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  color: var(--agave-dark);
  transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.social-link:hover svg,
.social-link:focus-visible svg {
  transform: translateY(-3px);
}

.social-link--facebook:hover,
.social-link--facebook:focus-visible {
  color: #1877F2;
}

.social-link--whatsapp:hover,
.social-link--whatsapp:focus-visible {
  color: #25D366;
}

.social-link--ubereats:hover,
.social-link--ubereats:focus-visible {
  color: #06C167;
}

.social-link--instagram:hover,
.social-link--instagram:focus-visible {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: var(--white);
}

/* ---------------------------------------------------------------------
   19. Visit us / map card
   --------------------------------------------------------------------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.visit-details {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.visit-details dt {
  font-weight: 700;
  color: var(--agave-dark);
  margin-top: 1.1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.visit-details dt:first-child {
  margin-top: 0;
}

.visit-details dd {
  margin: 0.25rem 0 0;
  color: var(--muted-text);
}

.map-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(160deg, var(--agave-medium), var(--agave-dark));
  color: var(--warm-white);
  padding: 2rem;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7,59,50,0.55), rgba(7,59,50,0.75)),
    repeating-linear-gradient(45deg, rgba(247,235,212,0.06) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(-45deg, rgba(247,235,212,0.06) 0 2px, transparent 2px 40px);
}

.map-card__body {
  position: relative;
  z-index: 1;
}

.map-card__body svg {
  width: 34px;
  height: 34px;
  color: var(--marigold);
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------
   20. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--agave-dark);
  color: rgba(247, 235, 212, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  height: 52px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(247, 235, 212, 0.7);
  font-size: 0.92rem;
}

.footer-col h4 {
  color: var(--marigold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col address {
  display: block;
  font-style: normal;
  color: rgba(247, 235, 212, 0.82);
  margin-bottom: 0.65rem;
  font-size: 0.94rem;
  transition: color 0.2s ease;
  min-height: 24px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--marigold);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 235, 212, 0.15);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(247, 235, 212, 0.6);
}

/* ---------------------------------------------------------------------
   21. Floating desktop action group
   --------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-actions .fab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--agave-dark);
  color: var(--warm-white);
  border-radius: 999px;
  padding: 0.85rem;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  white-space: nowrap;
  width: 52px;
  transition: width 0.28s ease, background-color 0.2s ease;
}

.floating-actions .fab span {
  opacity: 0;
  transition: opacity 0.2s ease;
  font-weight: 700;
  font-size: 0.88rem;
}

.floating-actions .fab:hover,
.floating-actions .fab:focus-visible {
  width: 168px;
  background: var(--terracotta);
}

.floating-actions .fab:hover span,
.floating-actions .fab:focus-visible span {
  opacity: 1;
}

.floating-actions .fab:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

.floating-actions .fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.floating-actions .fab--whatsapp:hover {
  background: #25D366;
}

/* ---------------------------------------------------------------------
   22. Mobile bottom action bar
   --------------------------------------------------------------------- */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  display: none;
  background: var(--agave-dark);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-action-bar ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mobile-action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.25rem;
  color: var(--warm-white);
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 56px;
  justify-content: center;
}

.mobile-action-bar svg {
  width: 22px;
  height: 22px;
  color: var(--marigold);
}

/* ---------------------------------------------------------------------
   23. Promotion popup / modal
   --------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(7, 59, 50, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.is-open {
  display: flex;
}

.promo-modal {
  background: var(--warm-white);
  border-radius: var(--radius-large);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-columns: 1fr;
}

.promo-modal__media {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.promo-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-modal__body {
  padding: 1.75rem 2rem 2.25rem;
}

.promo-modal__body p {
  margin: 0.75rem 0 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 59, 50, 0.85);
  color: var(--warm-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.modal-close:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   24. Forms
   --------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--agave-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 2px solid rgba(24, 115, 92, 0.25);
  border-radius: var(--radius-small);
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--white);
  color: var(--charcoal);
  min-height: 48px;
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--terracotta);
}

.form-field .field-error {
  color: var(--deep-red);
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-top: 0.5rem;
}

.form-status {
  border-radius: var(--radius-small);
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: rgba(134, 31, 27, 0.1);
  color: var(--deep-red);
  border: 1px solid rgba(134, 31, 27, 0.3);
}

/* ---------------------------------------------------------------------
   26. Page hero (inner pages)
   --------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--agave-dark), var(--agave-green));
  color: var(--warm-white);
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
}

.page-hero h1 {
  color: var(--warm-white);
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(247, 235, 212, 0.75);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: rgba(247, 235, 212, 0.9);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--marigold);
}

/* ---------------------------------------------------------------------
   27. Menu page
   --------------------------------------------------------------------- */
.restaurant-menu {
  max-width: 1120px;
  margin-inline: auto;
}

.menu-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.menu-intro .eyebrow {
  margin-bottom: 0.45rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.menu-panel {
  background: var(--white);
  border: 1px solid rgba(7, 59, 50, 0.1);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.menu-panel__heading {
  padding: 1.6rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(7, 59, 50, 0.1);
  background: linear-gradient(135deg, rgba(247, 235, 212, 0.72), rgba(255, 253, 247, 0.95));
}

.menu-panel__heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin-bottom: 0.45rem;
}

.menu-panel__heading p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.menu-panel--compact .menu-panel__heading {
  padding-bottom: 1.35rem;
}

.menu-items {
  padding: 0.55rem 1.75rem 0.75rem;
}

.menu-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(102, 95, 84, 0.25);
}

.menu-items li:last-child {
  border-bottom: 0;
}

.menu-item-name {
  min-width: 0;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.35;
}

.menu-item-name small {
  display: inline;
  color: var(--muted-text);
  font-size: 0.82rem;
  font-weight: 500;
}

.menu-price {
  color: var(--terracotta);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-salsas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: var(--cream);
  width: fit-content;
  max-width: 100%;
}

.menu-salsas strong {
  color: var(--agave-dark);
  margin-right: 0.25rem;
}

.menu-salsas span {
  color: var(--agave-dark);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--warm-white);
  border: 1px solid rgba(24, 115, 92, 0.18);
}

.menu-disclaimer {
  max-width: 850px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
   28. Catering page
   --------------------------------------------------------------------- */
.catering-form-wrap {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.event-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.event-type-card {
  background: var(--cream);
  border-radius: var(--radius-medium);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--agave-dark);
}

/* ---------------------------------------------------------------------
   29. Contact page
   --------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}

.contact-card h3 {
  margin-bottom: 0.75rem;
}

.contact-card .btn-row {
  margin-top: 1.25rem;
}

/* ---------------------------------------------------------------------
   30. Privacy page
   --------------------------------------------------------------------- */
.policy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}

.policy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.policy-note {
  background: var(--cream);
  border-radius: var(--radius-medium);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

/* ---------------------------------------------------------------------
   31. 404 page
   --------------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--agave-dark), var(--agave-green));
  color: var(--warm-white);
}

.error-page h1 {
  color: var(--warm-white);
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--cream);
  margin-bottom: 2rem;
}

/* ---------------------------------------------------------------------
   32. Accessibility helpers
   --------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  background: var(--marigold);
  color: var(--agave-dark);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-small);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}
