/* ============================================================
   AMA'S KITCHEN — Main Stylesheet (v2)
   Mobile-first, fully optimised for phones.
   ============================================================
   TABLE OF CONTENTS:
   1.  Google Fonts
   2.  CSS Variables
   3.  Reset & Base
   4.  Navigation (mobile-first)
   5.  Buttons
   6.  Hero Section
   7.  Category Tiles
   8.  Best Sellers / Meals Grid
   9.  Meal Cards
   10. Filter Bar (swipeable on mobile)
   11. Reviews
   12. How It Works
   13. Catering Page
   14. About Page
   15. Forms (shared)
   16. Order Panel (bottom sheet)
   17. Order Modal (bottom sheet)
   18. Meal Detail Modal (image carousel + info)
   19. Footer
   20. Animations
   21. Tablet (min-width: 640px)
   22. Desktop (min-width: 960px)
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap");

/* ============================================================
   2. CSS VARIABLES
   Edit colours here to restyle the whole site at once.
   ============================================================ */
:root {
  --cream: #f7f3ed;
  --cream-dark: #ede7dc;
  --brown: #3b2a1a;
  --brown-mid: #6b4c30;
  --terracotta: #c4623a;
  --gold: #c9973b;
  --white: #ffffff;
  --border: rgba(59, 42, 26, 0.12);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", sans-serif;

  /* Mobile-first section padding — overridden at larger breakpoints */
  --section-padding: 3rem 1.25rem;
  --max-width: 1200px;
  --transition: 0.25s ease;

  --shadow-sm: 0 2px 12px rgba(59, 42, 26, 0.08);
  --shadow-md: 0 8px 32px rgba(59, 42, 26, 0.12);
  --shadow-lg: 0 20px 60px rgba(59, 42, 26, 0.16);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  /* Minimum tap target size — Apple/Google recommend 44px */
  --tap-min: 44px;

  /* Safe area for phones with notches/home bars */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Prevent font size inflation on iOS landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  /* Prevent horizontal overflow on mobile */
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* Tap highlight — remove default blue flash on iOS */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--brown);
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
}

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

/* ============================================================
   3.5 MATERIAL ICONS
   ============================================================ */
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-flex;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

.material-icons.event-card-icon {
  font-size: 2rem;
  color: var(--terracotta);
}

.material-icons.feature-icon {
  font-size: 2rem;
  color: var(--terracotta);
}

/* ============================================================
   4. NAVIGATION — mobile-first
   On mobile: logo left, order badge + hamburger right.
   Desktop: full link row.
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(247, 243, 237, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
}
.nav-logo span {
  color: var(--terracotta);
}

/* Desktop links — hidden on mobile */
.nav-links {
  display: none;
}

/* Right side of nav: order pill + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mini order pill in nav — always visible */
.nav-order-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  border: none;
  min-height: var(--tap-min);
  transition: background var(--transition);
}
.nav-order-pill:active {
  background: var(--brown);
}

.order-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--terracotta);
  font-size: 0.65rem;
  font-weight: 600;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition:
    opacity var(--transition),
    transform var(--transition);
}
.order-count-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger button — 44×44 tap target */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--tap-min);
  height: var(--tap-min);
  background: none;
  border: none;
  padding: 10px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brown);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Full-screen mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 998;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 2rem;
}
.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brown);
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:first-child {
  border-top: 1px solid var(--border);
}
.nav-mobile a:active,
.nav-mobile a.active {
  color: var(--terracotta);
}

/* Close button inside mobile menu */
.nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--brown-mid);
  width: var(--tap-min);
  height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   5. BUTTONS — large tap targets throughout
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  min-height: var(--tap-min);
  transition:
    background var(--transition),
    transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:active {
  background: var(--brown);
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brown);
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border);
  min-height: var(--tap-min);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.btn-secondary:active {
  border-color: var(--terracotta);
  background: rgba(196, 98, 58, 0.06);
}

/* ============================================================
   6. HERO — image first on mobile, then text
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 70vh;
  padding-top: 62px; /* nav height */
  overflow: hidden;
  background: var(--cream-dark);
}

/* Background image */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark gradient overlay at bottom */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* Floating badge over the image */
.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--white);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  line-height: 1.4;
  z-index: 4;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--terracotta);
}

/* Text content overlay at bottom */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: center;
}

.hero-content-inner {
  width: 100%;
  max-width: 600px;
}

.hero-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-tagline::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(247, 243, 237, 0.9);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
/* Buttons full width on mobile */
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  width: 100%;
}

/* ============================================================
   7. CATEGORY TILES
   2-column grid on mobile — each is a link to filtered menu
   ============================================================ */
.categories {
  padding: var(--section-padding);
  background: var(--cream-dark);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  gap: 0.75rem;
  margin-top: 2rem;
}

.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  display: block;
  /* Active state for touch */
  transition: transform 0.2s ease;
}
.category-tile:active {
  transform: scale(0.97);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Dark gradient */
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 8, 2, 0.72) 0%, transparent 55%);
  pointer-events: none;
}

.category-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 1;
  color: var(--white);
}
.category-tile-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}
.category-tile-count {
  font-size: 0.68rem;
  opacity: 0.75;
  margin-top: 2px;
}

.category-tile-arrow {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
}

/* ============================================================
   8. SECTION HEADER (Best Sellers etc.)
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.view-all-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
}

.best-sellers {
  padding: var(--section-padding);
}

/* ============================================================
   9. MEAL CARDS
   Single column on mobile, 2+ columns on wider screens.
   Large tap targets on all interactive elements.
   ============================================================ */
.meals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.meal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow var(--transition);
}
.meal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image area — tappable to open meal detail modal */
.meal-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9; /* landscape ratio works better on mobile */
  background: var(--cream-dark);
  cursor: pointer;
}
.meal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

/* "View photos" hint overlay — shows on mobile since no hover */
.meal-card-image-hint {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meal-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.meal-badge.new {
  background: var(--gold);
}

.meal-card-unavailable {
  position: absolute;
  inset: 0;
  background: rgba(247, 243, 237, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  backdrop-filter: blur(2px);
}

.meal-card-body {
  padding: 1rem;
}

.meal-card-category {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}

.meal-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  color: var(--brown);
}

.meal-card-desc {
  font-size: 0.8rem;
  color: var(--brown-mid);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.meal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.meal-card-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
}

/* Quantity selector — 44px tap targets */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.qty-btn {
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--brown);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.qty-btn:active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}
.qty-display {
  font-size: 0.95rem;
  font-weight: 500;
  min-width: 24px;
  text-align: center;
  color: var(--brown);
}

/* ============================================================
   10. FILTER BAR — horizontally scrollable on mobile
   ============================================================ */
.menu-page-header {
  padding: 5.5rem 1.25rem 0;
  text-align: center;
  background: var(--cream-dark);
}

/* Scroll container */
.filter-bar-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
  scrollbar-width: none; /* hide scrollbar */
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 0 -1.25rem; /* bleed to edges */
}
.filter-bar-wrap::-webkit-scrollbar {
  display: none;
}

.filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem; /* padding so first/last items aren't flush to edge */
  white-space: nowrap;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  min-height: var(--tap-min);
  transition: all var(--transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.filter-btn:active,
.filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.menu-section {
  padding: 1.5rem 1.25rem 7rem; /* bottom pad for order panel */
}

/* ============================================================
   11. REVIEWS
   ============================================================ */
.reviews {
  padding: var(--section-padding);
  background: var(--brown);
  color: var(--cream);
}
.reviews .section-label {
  color: var(--gold);
}
.reviews .section-title {
  color: var(--cream);
}

/* Horizontal scroll on mobile */
.reviews-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 1.75rem -1.25rem 0;
  padding: 0 1.25rem;
}
.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.reviews-grid {
  display: inline-flex;
  gap: 1rem;
  padding-bottom: 0.5rem; /* prevent clipping */
}

.review-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-width: 280px;
  max-width: 300px;
  flex-shrink: 0;
}
.review-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.review-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(247, 243, 237, 0.9);
  margin-bottom: 1rem;
}
.review-author {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
}
.review-meal {
  font-size: 0.72rem;
  color: rgba(247, 243, 237, 0.45);
  margin-top: 2px;
}

/* ============================================================
   12. HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--section-padding);
  background: var(--cream-dark);
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--brown-mid);
  max-width: 240px;
  line-height: 1.6;
}

/* ============================================================
   13. CATERING PAGE
   ============================================================ */
.catering-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  background: var(--brown);
  color: var(--cream);
}
.catering-hero .section-label {
  color: var(--gold);
}
.catering-hero .section-title {
  color: var(--cream);
  font-size: clamp(2rem, 8vw, 4rem);
}
.catering-hero p {
  color: rgba(247, 243, 237, 0.72);
  max-width: 460px;
  margin: 1rem auto 0;
  font-size: 0.9rem;
}

.catering-features {
  padding: var(--section-padding);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.feature-desc {
  font-size: 0.78rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

.catering-form-section {
  padding: var(--section-padding);
  background: var(--cream-dark);
}
.catering-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Package cards — single column on mobile */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  /* grid-template-columns: 1fr; */
  gap: 1.25rem;
  margin-top: 2rem;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.package-card.featured {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 1px var(--terracotta);
}
.package-popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: white;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.package-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.package-guests {
  font-size: 0.75rem;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.package-features {
  margin-bottom: 1.25rem;
}
.package-features li {
  font-size: 0.82rem;
  color: var(--brown-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.package-features li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 600;
}
.package-note {
  font-size: 0.75rem;
  color: var(--brown-mid);
  font-style: italic;
  margin-top: 0.75rem;
}

/* FAQ */
.faq-section {
  padding: var(--section-padding);
  background: var(--cream-dark);
}
.faq-list {
  margin-top: 2rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  gap: 1rem;
  user-select: none;
  min-height: var(--tap-min);
}
.faq-icon {
  color: var(--terracotta);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  font-size: 0.85rem;
  color: var(--brown-mid);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.2s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.1rem;
}

/* Events grid — 2 col on mobile */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  gap: 0.9rem;
  margin-top: 2rem;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.event-card-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}
.event-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.event-card-desc {
  font-size: 0.75rem;
  color: var(--brown-mid);
  line-height: 1.55;
}

/* Process steps */
.catering-process {
  padding: var(--section-padding);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  /* grid-template-columns: 1fr 1fr; */
  gap: 1.5rem;
  margin-top: 2rem;
}
.process-step {
  text-align: center;
}
.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.process-step-desc {
  font-size: 0.78rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

/* ============================================================
   14. ABOUT PAGE
   ============================================================ */
.about-hero {
  display: flex;
  flex-direction: column;
  padding-top: 62px;
}
.about-hero-image {
  overflow: hidden;
  background: var(--cream-dark);
  height: 65vw;
  min-height: 260px;
  max-height: 400px;
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero-content {
  padding: 2rem 1.25rem 2.5rem;
}

.pull-quote {
  border-left: 3px solid var(--terracotta);
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.about-values {
  padding: var(--section-padding);
  background: var(--cream-dark);
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}
.value-item {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.value-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terracotta);
  opacity: 0.3;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.value-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.value-desc {
  font-size: 0.78rem;
  color: var(--brown-mid);
  line-height: 1.65;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 6px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--terracotta);
}
.timeline-year {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.timeline-desc {
  font-size: 0.82rem;
  color: var(--brown-mid);
  line-height: 1.65;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.photo-grid-main {
  grid-column: 1 / -1;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-grid-side {
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   15. FORMS (shared)
   ============================================================ */
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  /* Larger padding for comfortable typing on mobile */
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  /* 16px minimum prevents iOS auto-zoom on focus! */
  font-size: 16px;
  color: var(--brown);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* Single column on mobile — two col override at tablet+ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ============================================================
   16. ORDER PANEL — bottom sheet
   Always slides up from bottom, thumb-friendly.
   ============================================================ */
.order-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Account for iPhone home bar */
  padding-bottom: var(--safe-bottom);
}
.order-panel.visible {
  transform: translateY(0);
}

.order-panel-bar {
  background: var(--brown);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  user-select: none;
  min-height: var(--tap-min);
}
.order-panel-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.order-panel-count {
  background: var(--terracotta);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
}
.order-panel-label {
  font-size: 0.82rem;
}
.order-panel-total {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}
.order-panel-chevron {
  font-size: 0.85rem;
  transition: transform var(--transition);
}
.order-panel.expanded .order-panel-chevron {
  transform: rotate(180deg);
}

.order-panel-body {
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.order-panel.expanded .order-panel-body {
  max-height: 55vh;
  overflow-y: auto;
}

.order-item-list {
  padding: 1rem 1.25rem;
}
.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  min-height: var(--tap-min);
}
.order-item-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
}
.order-item-qty {
  font-size: 0.8rem;
  color: var(--brown-mid);
}
.order-item-price {
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 46px;
  text-align: right;
}
.order-item-remove {
  background: none;
  border: none;
  color: var(--brown-mid);
  font-size: 1rem;
  padding: 0;
  width: var(--tap-min);
  height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.order-item-remove:active {
  color: var(--terracotta);
}

.order-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem 1rem;
}
.order-panel-actions .btn-primary {
  width: 100%;
}
.order-clear-btn {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--brown-mid);
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  min-height: var(--tap-min);
  transition: all var(--transition);
  width: 100%;
}
.order-clear-btn:active {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* ============================================================
   17. ORDER FORM MODAL — bottom sheet on mobile
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 8, 2, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
  transform: translateY(40px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Drag handle visual */
  position: relative;
}
.modal-box::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--brown-mid);
  width: var(--tap-min);
  height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.modal-close:active {
  color: var(--terracotta);
}

.modal-order-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.modal-order-summary-title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.75rem;
}
.modal-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.modal-order-row:last-child {
  border-bottom: none;
}
.modal-order-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 2px solid var(--border);
}

.modal-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.modal-success-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.modal-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.65rem;
}
.modal-success p {
  font-size: 0.87rem;
  color: var(--brown-mid);
  max-width: 320px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ============================================================
   18. MEAL DETAIL MODAL — image carousel + info
   Full-screen bottom sheet on mobile.
   ============================================================ */
.meal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(20, 8, 2, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.meal-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.meal-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-height: 94vh;
  overflow-y: auto;
  transform: translateY(50px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: calc(1rem + var(--safe-bottom));
}
.meal-modal-overlay.open .meal-modal-box {
  transform: translateY(0);
}

/* Drag handle */
.meal-modal-handle {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0;
}
.meal-modal-handle::after {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

/* ---- Image Carousel ---- */
.meal-carousel {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 4/3;
}

/* The sliding track — width = 100% × number of images */
.meal-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  /* Touch/swipe handled in JS */
  will-change: transform;
}

.meal-carousel-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.meal-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Dot indicators */
.meal-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition:
    background var(--transition),
    transform var(--transition);
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* Arrow buttons — larger on desktop, hidden if only 1 image */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow:active {
  background: rgba(0, 0, 0, 0.6);
}
.carousel-arrow.prev {
  left: 0.6rem;
}
.carousel-arrow.next {
  right: 0.6rem;
}
.carousel-arrow.hidden {
  display: none;
}

/* Close button over carousel */
/* Close button over carousel */
.meal-modal-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  right: 1rem;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: var(--tap-min);
  height: var(--tap-min);
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  padding: 0;
  type: button;
  transition: background 0.2s ease;
}

.meal-modal-close:hover,
.meal-modal-close:active {
  background: rgba(0, 0, 0, 0.7);
}

/* ---- Meal info below carousel ---- */
.meal-modal-info {
  padding: 1.25rem 1.25rem 0.5rem;
}

.meal-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.meal-modal-category {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.meal-modal-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
}

.meal-modal-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--brown);
}

.meal-modal-desc {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Quantity + Add to order row */
.meal-modal-order {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--white);
  padding-bottom: calc(1rem + var(--safe-bottom));
}
.meal-modal-order .qty-selector {
  flex-shrink: 0;
}
.meal-modal-order .btn-primary {
  flex: 1;
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background: var(--brown);
  color: rgba(247, 243, 237, 0.7);
  padding: 2.5rem 1.25rem 2rem;
  /* Extra bottom padding to clear order panel */
  padding-bottom: calc(2rem + 56px + var(--safe-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  grid-column: 1 / -1;
} /* brand spans full width on mobile */

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.footer-brand-name span {
  color: var(--terracotta);
}
.footer-brand-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 1rem;
  min-height: var(--tap-min);
  transition: background var(--transition);
}
.footer-whatsapp-btn:active {
  background: #1da851;
}

.footer-col-title {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  font-size: 0.82rem;
  transition: color var(--transition);
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
}
.footer-links a:active {
  color: var(--terracotta);
}
.footer-links li {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  text-align: center;
}

/* ============================================================
   20. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.animate-delay-1 {
  animation-delay: 0.08s;
}
.animate-delay-2 {
  animation-delay: 0.18s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}
.animate-delay-4 {
  animation-delay: 0.44s;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   21. TABLET — min-width: 640px
   ============================================================ */
@media (min-width: 640px) {
  :root {
    --section-padding: 4rem 2rem;
  }
  .container {
    padding: 0 2rem;
  }

  /* Hero: full width with overlay */
  .hero {
    min-height: 80vh;
  }
  .hero-content {
    padding: 3rem 2.5rem;
  }
  .hero-content-inner {
    max-width: 700px;
  }
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: auto;
  }

  /* Meals grid: 2 columns */
  .meals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Filter bar: wrap instead of scroll */
  .filter-bar-wrap {
    overflow-x: visible;
    margin: 0;
    padding: 1.25rem 0 1.5rem;
  }
  .filter-bar {
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
  }

  /* Reviews: proper grid */
  .reviews-scroll {
    overflow-x: visible;
    margin: 1.75rem 0 0;
    padding: 0;
  }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps: horizontal */
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* How it works connecting line */
  .steps-grid {
    position: relative;
  }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 20%;
    right: 20%;
    height: 1px;
    border-top: 1px dashed rgba(196, 98, 58, 0.3);
    pointer-events: none;
  }

  /* Form rows: 2 columns */
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Footer: 4 columns */
  .footer {
    padding-bottom: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Order panel: side by side actions */
  .order-panel-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
  .order-panel-actions .btn-primary {
    width: auto;
  }
  .order-clear-btn {
    width: auto;
  }

  /* About */
  .about-hero {
    flex-direction: row;
    padding-top: 72px;
  }
  .about-hero-image {
    flex: 1;
    height: auto;
    max-height: none;
  }
  .about-hero-content {
    flex: 1;
    padding: 3rem;
  }

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

  /* Meal modal: max width */
  .meal-modal-box {
    max-width: 560px;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
  }
  .meal-modal-overlay {
    align-items: center;
  }
}

/* ============================================================
   22. DESKTOP — min-width: 960px
   ============================================================ */
@media (min-width: 960px) {
  :root {
    --section-padding: 5rem 2rem;
  }

  /* Show desktop nav links, hide hamburger */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brown);
    position: relative;
    transition: color var(--transition);
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width var(--transition);
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--terracotta);
  }

  .nav-links .nav-order-pill {
    min-height: 36px;
  }

  /* Hide the mobile icon order button on desktop */
  .nav-right .nav-order-pill {
    display: none;
  }

  .nav-hamburger {
    display: none;
  }
  .nav {
    padding: 1.1rem 2.5rem;
  }

  /* Hover effects re-enabled on desktop */
  .meal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .meal-card:hover .meal-card-image img {
    transform: scale(1.05);
  }
  .category-tile:hover img {
    transform: scale(1.06);
  }
  .btn-primary:hover {
    background: var(--brown);
  }
  .qty-btn:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
  }

  /* Meals grid: 3 columns */
  .meals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Hero: full height */
  .hero {
    min-height: 100vh;
  }

  /* Category tiles */
  .categories-grid {
    /* grid-template-columns: repeat(4, 1fr); */
  }

  /* Reviews: 4 columns */
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Best sellers: 4 columns */
  .best-sellers .meals-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer {
    padding-bottom: 2.5rem;
  }
  .footer-links a {
    min-height: auto;
  }

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