/* =============================================================
   AMBER & OAK — STYLESHEET
   Table of contents:
   1. Custom properties & resets
   2. Base / typography
   3. Layout helpers
   4. Buttons
   5. Header / navigation
   6. Hero
   7. About
   8. Menu
   9. Featured products
   10. Offers
   11. Why choose us
   12. Testimonials
   13. Gallery / lightbox
   14. Contact
   15. Footer / back to top
   16. Scroll-reveal animation classes
   17. Responsive breakpoints
============================================================= */

/* -------------------------------------------------------------
   1. CUSTOM PROPERTIES & RESETS
-------------------------------------------------------------- */
:root {
  /* Brand palette (from brief) */
  --color-primary: #6F4E37;      /* coffee brown */
  --color-secondary: #D4A373;    /* warm gold */
  --color-bg: #FFF8F2;           /* cream background */
  --color-text: #2E2E2E;         /* dark text */
  --color-white: #FFFFFF;

  /* Derived tones for depth */
  --color-espresso: #3C2415;     /* deep espresso, used for dark sections */
  --color-cream-card: #F6E9DC;   /* soft card background */
  --color-line: #E7D9C9;         /* hairline borders */
  --color-muted: #7A6F63;        /* secondary text */

  /* Type */
  --font-main: 'Poppins', sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 30px rgba(60, 36, 21, 0.10);
  --shadow-hover: 0 20px 40px rgba(60, 36, 21, 0.18);
  --container-w: 1200px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }

p { margin: 0; line-height: 1.7; }

/* Respect reduced-motion preference */
@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;
  }
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   2. BASE / TYPOGRAPHY
-------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--color-secondary); }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--color-espresso);
  margin-bottom: 18px;
}
.section-title.light { color: var(--color-white); }

.section-text {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 46ch;
}
.section-text.center { max-width: 60ch; margin: 0 auto; }
.section-text.light { color: #E9DCCE; max-width: 50ch; }

.section-heading { text-align: center; max-width: 700px; margin: 0 auto 56px; }

/* -------------------------------------------------------------
   3. LAYOUT HELPERS
-------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

/* Recurring "coffee ring" signature motif — a stained-ring shape used
   as a quiet background accent across the page (about, offers, stats). */
.ring-stamp {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 26px solid var(--color-secondary);
  opacity: 0.16;
  pointer-events: none;
}

/* -------------------------------------------------------------
   4. BUTTONS
-------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); background: #5c3f2c; }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid var(--color-secondary);
}
.btn-outline-light:hover { background: var(--color-secondary); color: var(--color-espresso); transform: translateY(-3px); }

/* -------------------------------------------------------------
   5. HEADER / NAVIGATION
-------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255, 248, 242, 0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 248, 242, 0.97);
  box-shadow: 0 6px 24px rgba(60,36,21,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

/* Logo: a coffee-ring "stamp" as the icon, echoing the signature motif */
.logo { display: flex; align-items: center; gap: 12px; }

.logo-ring {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 8;
}
.logo-initials {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.03em;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-espresso);
}
.logo-text em { font-style: normal; color: var(--color-secondary); margin: 0 2px; }

.main-nav ul { display: flex; gap: 34px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active-link { color: var(--color-primary); }
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-espresso);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------
   6. HERO
-------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,17,10,0.55) 0%, rgba(28,17,10,0.72) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 84px; }

.hero .eyebrow {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.08);
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  color: var(--color-white);
  margin: 22px 0 20px;
}
.hero-title span { color: var(--color-secondary); }

.hero-sub {
  color: #EFE3D6;
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-ring {
  width: 30px; height: 30px;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  position: relative;
  animation: pulseRing 2.2s ease-in-out infinite;
}
.scroll-ring::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  background: var(--color-secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: dropDot 2.2s ease-in-out infinite;
}
.scroll-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EFE3D6;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.5; }
}
@keyframes dropDot {
  0% { top: 6px; opacity: 1; }
  70% { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* -------------------------------------------------------------
   7. ABOUT
-------------------------------------------------------------- */
.about { background: var(--color-white); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-media { position: relative; }
.about-media .ring-stamp { top: -40px; left: -60px; z-index: 0; }
.about-media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  position: relative;
  background: var(--color-cream-card);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  overflow: hidden;
}
.stat-ring {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 12px solid var(--color-secondary);
  opacity: 0.18;
  top: -30px; right: -30px;
}
.stat-number {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  position: relative;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 6px;
  position: relative;
}

/* -------------------------------------------------------------
   8. MENU
-------------------------------------------------------------- */
.menu { background: var(--color-bg); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.menu-card-media { overflow: hidden; aspect-ratio: 4/3; }
.menu-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.menu-card:hover .menu-card-media img { transform: scale(1.08); }

.menu-card-body { padding: 20px; }
.menu-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.menu-card-top h3 { font-size: 1.02rem; color: var(--color-espresso); }
.price { font-weight: 700; color: var(--color-primary); font-size: 0.95rem; white-space: nowrap; }
.menu-card-body p { font-size: 0.88rem; color: var(--color-muted); }

/* -------------------------------------------------------------
   9. FEATURED PRODUCTS
-------------------------------------------------------------- */
.featured { background: var(--color-white); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-cream-card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.featured-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.featured-media { aspect-ratio: 5/4; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.featured-card:hover .featured-media img { transform: scale(1.06); }

.featured-body { padding: 26px; }
.featured-body h3 { font-size: 1.2rem; color: var(--color-espresso); margin-bottom: 10px; }
.featured-body p { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 20px; }
.featured-bottom { display: flex; align-items: center; justify-content: space-between; }
.featured-bottom .price { font-size: 1.1rem; }

/* -------------------------------------------------------------
   10. OFFERS
-------------------------------------------------------------- */
.offers {
  background: var(--color-espresso);
  overflow: hidden;
}
.offers-ring { top: -80px; right: -60px; border-color: var(--color-secondary); opacity: 0.14; width: 400px; height: 400px; }

.offers-inner { position: relative; z-index: 1; }
.offers-text { max-width: 620px; }

.countdown { display: flex; gap: 16px; margin: 32px 0 34px; flex-wrap: wrap; }
.countdown-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,163,115,0.35);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  min-width: 78px;
  text-align: center;
}
.countdown-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--color-secondary); }
.countdown-label { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #C9B8A8; margin-top: 4px; }

/* -------------------------------------------------------------
   11. WHY CHOOSE US
-------------------------------------------------------------- */
.why-us { background: var(--color-bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-cream-card);
  display: grid;
  place-items: center;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover .why-icon { background: var(--color-secondary); transform: rotate(-8deg); }
.why-icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 { font-size: 1.02rem; color: var(--color-espresso); margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--color-muted); }

/* -------------------------------------------------------------
   12. TESTIMONIALS
-------------------------------------------------------------- */
.testimonials { background: var(--color-white); }

.testimonial-slider { max-width: 720px; margin: 0 auto; text-align: center; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.testimonial-slide { min-width: 100%; padding: 0 12px; }

.stars { color: var(--color-secondary); letter-spacing: 4px; margin-bottom: 20px; font-size: 1rem; }

.quote {
  font-size: 1.2rem;
  color: var(--color-espresso);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-person div { text-align: left; }
.testimonial-person .name { display: block; font-weight: 600; color: var(--color-espresso); font-size: 0.95rem; }
.testimonial-person .role { display: block; font-size: 0.8rem; color: var(--color-muted); }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testimonial-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-line);
  transition: background var(--transition), transform var(--transition);
}
.testimonial-dots button.active { background: var(--color-primary); transform: scale(1.3); }

/* -------------------------------------------------------------
   13. GALLERY / LIGHTBOX
-------------------------------------------------------------- */
.gallery { background: var(--color-bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(60,36,21,0.25);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20,12,8,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute;
  top: 26px; right: 32px;
  font-size: 2.2rem;
  color: var(--color-white);
  line-height: 1;
}

/* -------------------------------------------------------------
   14. CONTACT
-------------------------------------------------------------- */
.contact { background: var(--color-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; align-items: center; gap: 16px; }
.info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-cream-card);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 2px; }
.info-list a, .info-list span { font-size: 0.98rem; color: var(--color-espresso); font-weight: 500; }

.contact-form {
  background: var(--color-cream-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--color-espresso); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 0.94rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--color-primary); outline: none; }
.form-row input.invalid, .form-row textarea.invalid { border-color: #C4402F; }
.form-error { font-size: 0.78rem; color: #C4402F; min-height: 14px; }

.form-submit { margin-top: 8px; }
.form-success {
  display: none;
  font-size: 0.88rem;
  color: #3E7A4A;
  background: #E3F1E4;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.form-success.visible { display: block; }

/* -------------------------------------------------------------
   15. FOOTER / BACK TO TOP
-------------------------------------------------------------- */
.site-footer { background: var(--color-espresso); color: #E9DCCE; padding-top: 80px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text { color: var(--color-white); }
.footer-brand .logo-initials { color: var(--color-secondary); }
.footer-brand .ring-svg { stroke: var(--color-secondary); }
.footer-brand p { margin-top: 16px; color: #C9B8A8; font-size: 0.9rem; max-width: 32ch; }

.footer-links h4, .footer-social h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #C9B8A8; font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-secondary); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background var(--transition), transform var(--transition);
}
.social-icons a:hover { background: var(--color-secondary); transform: translateY(-3px); }
.social-icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; color: var(--color-white); }

.footer-bottom { text-align: center; padding: 26px 0; font-size: 0.82rem; color: #A8988A; }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--color-white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* -------------------------------------------------------------
   16. SCROLL-REVEAL ANIMATION CLASSES
   (toggled by IntersectionObserver in script.js)
-------------------------------------------------------------- */
.fade-up, .fade-left, .fade-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up { transform: translateY(32px); }
.fade-left { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }

.fade-up.in-view, .fade-left.in-view, .fade-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger menu / featured / why-us cards slightly for a nicer reveal */
.menu-grid .menu-card:nth-child(1), .why-grid .why-card:nth-child(1), .featured-grid .featured-card:nth-child(1) { transition-delay: 0s; }
.menu-grid .menu-card:nth-child(2), .why-grid .why-card:nth-child(2), .featured-grid .featured-card:nth-child(2) { transition-delay: 0.08s; }
.menu-grid .menu-card:nth-child(3), .why-grid .why-card:nth-child(3), .featured-grid .featured-card:nth-child(3) { transition-delay: 0.16s; }
.menu-grid .menu-card:nth-child(4), .why-grid .why-card:nth-child(4) { transition-delay: 0.24s; }
.menu-grid .menu-card:nth-child(5) { transition-delay: 0.32s; }
.menu-grid .menu-card:nth-child(6) { transition-delay: 0.4s; }
.menu-grid .menu-card:nth-child(7) { transition-delay: 0.48s; }
.menu-grid .menu-card:nth-child(8) { transition-delay: 0.56s; }

/* -------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   Desktop (default) > 1200px is covered above.
-------------------------------------------------------------- */

/* Laptop */
@media (max-width: 1200px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet */
@media (max-width: 992px) {
  section { padding: 80px 0; }

  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { aspect-ratio: 16/9; }

  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .gallery-item.span-2 { grid-column: span 2; }

  /* Mobile nav panel */
  .main-nav {
    display: block;
    position: fixed;
    top: 84px;
    left: 0; right: 0;
    background: var(--color-bg);
    box-shadow: 0 16px 30px rgba(60,36,21,0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .main-nav.open { max-height: 70vh; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav li { border-bottom: 1px solid var(--color-line); }
  .main-nav .nav-link { display: block; padding: 14px 0; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .featured-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item.span-2 { grid-column: span 2; }

  .contact-form { padding: 26px; }

  .footer-inner { grid-template-columns: 1fr; gap: 34px; text-align: left; }

  .countdown { gap: 10px; }
  .countdown-box { min-width: 66px; padding: 12px 10px; }
}

@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
}
