/* =========================================================================
   Tacos Los Dos Compadres — styles.css
   Vanilla CSS. Mobile-first. Organized by:
   1. Custom properties & tokens
   2. Reset & base
   3. Utilities & helpers
   4. Textures / decorative surfaces
   5. Buttons
   6. Header & navigation
   7. Announcement strip + live status
   8. Hero
   9. Sections (intro, menu, location, hours, CTA)
   10. Contact page (page hero, cards)
   11. Delivery-area pages
   12. Marketplace and direct-order pages
   13. Footer
   14. Reveal animations & reduced motion
   15. Responsive breakpoints
   ========================================================================= */

/* ============ 1. CUSTOM PROPERTIES ============ */
:root {
  /* Brand palette */
  --blue: #02468E;
  --red: #FB0F0E;
  --white: #FEFEFE;
  --deep-red: #B81500;

  /* Derived / supporting surfaces */
  --blue-dark: #023066;
  --paper: #FBF6EC;        /* warm off-white background */
  --paper-2: #F4EAD7;      /* slightly deeper paper for banding */
  --ink: #241a12;          /* warm near-black text */
  --ink-soft: #5a4a3a;     /* muted body text on paper */
  --line: #e2d5bd;         /* hairline on paper */
  --gold: #F2B705;         /* warm accent for small motifs */

  /* Type */
  --font-display: "Oswald", "Bebas Neue", "Franklin Gothic Medium",
    "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --font-body: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Shadows (restrained) */
  --shadow-sm: 0 2px 6px rgba(20, 12, 6, 0.12);
  --shadow-md: 0 10px 24px rgba(20, 12, 6, 0.16);

  /* Status colors (with non-color cues elsewhere) */
  --open: #1c7a3a;
  --closed: var(--deep-red);
}

/* ============ 2. RESET & BASE ============ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden; /* guard against horizontal scroll */
}

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

a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

address { font-style: normal; }

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

/* ============ 3. UTILITIES ============ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

.section-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--blue);
}

.section-title-xl { font-size: clamp(2.1rem, 6vw, 3.4rem); }

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

.lead-center { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 0.6rem;
}

.visually-hidden {
  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 link */
.skip-link {
  position: absolute;
  left: 0; top: -60px;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ============ 4. TEXTURES / DECORATIVE SURFACES ============ */
/* Subtle paper grain built from layered gradients — no images. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(rgba(120, 90, 50, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(120, 90, 50, 0.04) 1px, transparent 1px);
  background-size: 22px 22px, 32px 32px;
  background-position: 0 0, 11px 16px;
}

/* Painted-sign "torn tape" divider used at section edges */
.paper-band { background: var(--paper-2); }

/* ============ 5. BUTTONS ============ */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-order { --btn-bg: var(--blue); }
.btn-order:hover { background: var(--blue-dark); }

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

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
}
.btn-outline:hover { background: var(--blue); --btn-fg: var(--white); }

.btn-lg { min-height: 56px; padding: 0.9rem 2rem; font-size: 1.2rem; }
.btn-block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

/* ============ 6. HEADER & NAVIGATION ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: var(--white);
  border-bottom: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.95;
}
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }

/* Mobile toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav-list a:not(.btn):hover { background: rgba(255, 255, 255, 0.12); }
.nav-list a[aria-current="page"]:not(.btn) {
  box-shadow: inset 0 -3px 0 var(--red);
}
.nav-order { border-color: rgba(255, 255, 255, 0.25); }

/* ============ 7. ANNOUNCEMENT STRIP + STATUS ============ */
.announcement {
  background: var(--deep-red);
  color: var(--white);
}
.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-block: 0.6rem;
}
.announcement-text {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55); /* neutral until JS resolves */
  border: 2px solid rgba(255, 255, 255, 0.85);
  flex: none;
}
/* Status is also conveyed by text + icon shape, never color alone */
.status.is-open .status-dot { background: #3ddc6a; border-color: #eafff0; }
.status.is-closed .status-dot { background: #ffd0cd; border-color: #fff; }
.status.is-open::before,
.status.is-closed::before {
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 0.8rem;
}
.status.is-open::before { content: "\2713\00a0"; }   /* check mark */
.status.is-closed::before { content: "\2715\00a0"; } /* cross mark */

.status-inline {
  color: var(--deep-red);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-top: 1.25rem;
}
.status-inline .status-dot { background: rgba(0,0,0,0.2); border-color: rgba(0,0,0,0.3); }
.status-inline.is-open { color: var(--open); border-color: var(--open); }
.status-inline.is-open .status-dot { background: var(--open); border-color: var(--open); }
.status-inline.is-closed { color: var(--deep-red); border-color: var(--deep-red); }
.status-inline.is-closed .status-dot { background: var(--deep-red); border-color: var(--deep-red); }

/* ============ 8. HERO ============ */
.hero {
  background:
    linear-gradient(180deg, rgba(2, 70, 142, 0.06), rgba(2, 70, 142, 0)) ,
    var(--paper);
  border-bottom: 3px solid var(--line);
}
.hero-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 6vw, 4rem);
}
.hero-title {
  font-size: clamp(2.6rem, 10vw, 5rem);
  color: var(--blue);
  margin-bottom: 0.4em;
}
.hero-title-accent { color: var(--red); }
.hero-body { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 52ch; }
.hero-support {
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
}
.hero-support a { font-weight: 700; }

.hero-logo-frame {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}
/* Painted "plate" behind logo — decorative, CSS-only */
.hero-logo-frame {
  position: relative;
}
.hero-logo-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(2,70,142,0.08) 0deg 12deg, transparent 12deg 24deg);
  border: 6px solid rgba(251, 15, 14, 0.12);
  z-index: 0;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(20, 12, 6, 0.22));
}

/* ============ 9. SECTIONS ============ */
.intro { background: var(--paper-2); border-block: 3px solid var(--line); }
.intro-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.intro-copy .lead { max-width: 52ch; }
.intro-media { margin: 0; }
.intro-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg); /* handcrafted, pinned-photo feel */
}

.section-head { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head .lead { margin-inline: auto; }

/* Menu grid */
.menu-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.menu-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.menu-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.menu-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  grid-column: 1;
}
.menu-note {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}
.menu-dots { display: none; }
.menu-price {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-red);
  white-space: nowrap;
}
.menu-card-special {
  border-left-color: var(--red);
  background: linear-gradient(180deg, #fff, #fff7f0);
}
.menu-badge {
  grid-column: 1 / -1;
  justify-self: start;
  align-self: start;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.6rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.menu-actions { text-align: center; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.fine-print {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-inline: auto;
}

/* Reviews — positioned after menu intent, before visual reinforcement */
.reviews {
  background:
    linear-gradient(180deg, rgba(2, 70, 142, 0.04), rgba(2, 70, 142, 0)),
    var(--paper-2);
  border-block: 3px solid var(--line);
}
.review-widget-frame {
  min-height: 260px;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.review-widget-frame emr-simple-carousel {
  display: block;
  width: 100%;
  min-height: 220px;
}
.reviews-action {
  margin-top: 1.5rem;
  text-align: center;
}

/* Location */
.location { background: var(--paper-2); border-block: 3px solid var(--line); }
.location-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.address {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 1rem 0;
  line-height: 1.25;
}
.location-media { margin: 0; }
.location-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Gallery */
.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.gallery-item { margin: 0; }
.gallery-item figure {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gallery-item figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.gallery-item-special figure { border-color: var(--red); }
.gallery-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.7rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Page hero banner (contact) */
.page-hero-media { margin: 1.75rem 0 0; }
.page-hero-media img {
  width: 100%;
  max-height: 340px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Made-fresh feature (contact) */
.feature-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.feature-media { margin: 0; }
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.feature-copy .lead { max-width: 52ch; }

/* Hours */
.hours { background: var(--paper); }
.hours-inner { max-width: 640px; margin-inline: auto; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-ui);
}
.hours-table th,
.hours-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 700; color: var(--ink); }
.hours-table td { text-align: right; color: var(--ink-soft); }
/* Current day highlight — bg + weight + marker, not color alone */
.hours-table tr.is-today {
  background: rgba(2, 70, 142, 0.08);
  box-shadow: inset 4px 0 0 var(--red);
}
.hours-table tr.is-today th { color: var(--blue); }
.hours-table tr.is-today th::after {
  content: " \00b7 Today";
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hours-table tr.is-today td { color: var(--ink); font-weight: 700; }
.hours-today {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-weight: 700;
  text-align: center;
  color: var(--blue);
}

/* CTA band */
.cta-band {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  border-block: 5px solid var(--red);
}
.cta-inner { max-width: 60ch; margin-inline: auto; }
.cta-title { font-size: clamp(2rem, 6vw, 3.2rem); color: var(--white); }
.cta-body { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255, 255, 255, 0.9); }
.cta-band .btn { margin-top: 0.5rem; }

/* ============ 10. CONTACT PAGE ============ */
.page-hero {
  text-align: center;
  background: var(--paper-2);
  border-bottom: 3px solid var(--line);
}
.page-hero-inner { max-width: 66ch; margin-inline: auto; }

.contact-cards { background: var(--paper); }
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card > p { color: var(--ink-soft); }
.card .btn { margin-top: auto; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(2, 70, 142, 0.1);
  color: var(--blue);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.card-icon svg { width: 28px; height: 28px; fill: currentColor; }
.card-title { font-size: 1.5rem; color: var(--blue); }
.card-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0 1rem;
}
.card-phone a { color: var(--deep-red); text-decoration: none; }
.card-phone a:hover { text-decoration: underline; }

/* ============ 11. DELIVERY-AREA PAGES ============ */
.areas-hero {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(2, 70, 142, 0.06), rgba(2, 70, 142, 0)),
    var(--paper-2);
  border-bottom: 3px solid var(--line);
}
.areas-hero-inner { max-width: 72ch; margin-inline: auto; }
.areas-hero .btn-row { justify-content: center; }
.hero-review-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin: 1.15rem auto 0.35rem;
  overflow: hidden;
}
.hero-review-avatars emr-avatars {
  display: block;
  max-width: 100%;
  min-height: 56px;
}

.areas-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.area-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-card-title { font-size: 1.55rem; color: var(--blue); }
.area-card p { color: var(--ink-soft); }
.area-card-link {
  margin-top: auto;
  font-family: var(--font-ui);
  font-weight: 800;
  text-decoration: none;
}
.area-card-link:hover { text-decoration: underline; }

.delivery-story { background: var(--paper); }
.delivery-story-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.delivery-story-media { margin: 0; }
.delivery-story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.delivery-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.delivery-points li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
}
.delivery-points li::before {
  content: "\2713";
  position: absolute;
  left: 0.9rem;
  color: var(--blue);
  font-weight: 900;
}
.area-breadcrumbs {
  margin: 0 0 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
}
.area-breadcrumbs a { color: var(--blue); }
.area-breadcrumbs span { color: var(--ink-soft); }

/* ============ 12. MARKETPLACE + DIRECT ORDER PAGES ============ */
.order-comparison { background: var(--paper-2); border-block: 3px solid var(--line); }
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.comparison-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 7px solid var(--deep-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.comparison-card-direct {
  border-top-color: var(--blue);
  background: linear-gradient(180deg, var(--white), #f3f8fd);
}
.comparison-card-title { font-size: 1.55rem; color: var(--deep-red); }
.comparison-card-direct .comparison-card-title { color: var(--blue); }
.comparison-card p { color: var(--ink-soft); }
.comparison-card .btn { margin-top: auto; }
.comparison-label {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--deep-red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.comparison-card-direct .comparison-label { background: var(--blue); }
.commission-callout {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--blue);
  color: var(--white);
  border: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.commission-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--gold);
}
.commission-callout p {
  max-width: 58ch;
  margin: 0.75rem auto 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
}
.marketplace-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.marketplace-nav a {
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 800;
  text-decoration: none;
}
.marketplace-nav a[aria-current="page"] { color: var(--white); background: var(--blue); border-color: var(--blue); }

/* Standalone feedback page — intentionally absent from site navigation */
.feedback-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.feedback-header-inner { justify-content: center; }
.feedback-main { flex: 1; }
.feedback-section {
  background:
    linear-gradient(180deg, rgba(2, 70, 142, 0.06), rgba(2, 70, 142, 0)),
    var(--paper-2);
}
.feedback-shell { max-width: 820px; }
.feedback-intro { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.feedback-note {
  max-width: 58ch;
  margin: 1rem auto 0;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--blue);
}
.feedback-form-frame {
  min-height: 520px;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 7px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.feedback-form-frame emr-collect-review-form {
  display: block;
  width: 100%;
  min-height: 470px;
}
.feedback-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
}
.feedback-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  padding-block: 1rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-align: center;
}
.feedback-footer-inner p { margin: 0; }

/* ============ 13. FOOTER ============ */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 3rem);
}
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex: none;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.footer-address { color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.footer-address a { color: var(--white); font-weight: 700; }

.footer-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.footer-nav ul,
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li { margin-bottom: 0.35rem; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: var(--font-ui);
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.social-list { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background-color 0.12s ease, transform 0.12s ease;
}
.social-link:hover { background: var(--red); transform: translateY(-2px); }
.social-icon { width: 22px; height: 22px; fill: currentColor; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.15);
}
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: space-between;
  padding-block: 1rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-bar-inner p { margin: 0; }

/* ============ 14. REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .menu-card:hover, .social-link:hover { transform: none; }
}

/* ============ 15. RESPONSIVE ============ */

/* Mobile nav: collapse into a dropdown panel */
@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue);
    border-bottom: 4px solid var(--red);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.25s ease, visibility 0s linear 0.25s;
  }
  .primary-nav.is-open {
    max-height: 22rem;
    visibility: visible;
    transition: max-height 0.25s ease;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
  }
  .nav-list a {
    justify-content: center;
    font-size: 1.2rem;
    min-height: 48px;
  }
  .nav-order { margin-top: 0.35rem; }
}

/* Tablet and up: static horizontal nav */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    max-height: none;
    visibility: visible;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .brand-name { font-size: 1.15rem; }

  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-copy { order: 0; }

  .intro-inner { grid-template-columns: 1.1fr 0.9fr; }

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

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

  .location-inner { grid-template-columns: 1.1fr 0.9fr; }

  .feature-inner { grid-template-columns: 0.9fr 1.1fr; }

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

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

  .delivery-story-inner { grid-template-columns: 0.9fr 1.1fr; }

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

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }

  /* dotted leader between menu name and price on wider cards */
  .menu-card { grid-template-columns: auto 1fr auto; }
  .menu-name { grid-column: 1; }
  .menu-dots {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    height: 1px;
    margin: 0 0.25rem;
    border-bottom: 2px dotted var(--line);
  }
  .menu-price { grid-column: 3; }
  .menu-note { grid-column: 1 / -1; grid-row: 2; }
  .menu-badge { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}
