/* =============================
   Lalji Caterers CSS (Overview)
   Sections: Variables, Resets, Header/Nav (glass), Hero, About, Features, Testimonials, Sections & Cards, Forms, Legal, Footer, Background
   Colors: White text on dark overlay, Gold accents (#d1b06b), Maroon primary (#b02a30)
   Background: Global pattern set on body (end of file)
============================== */
:root {
  --nav-height: 96px;
  --color-primary: #b02a30;
  --color-primary-dark: #8d2025;
  --color-secondary: #f5f0ea;
  --color-bg: #faf5f0;
  --color-bg-elevated: #ffffff;
  --color-text: #f4f4f4;
  --color-muted: rgba(255,255,255,0.8);
  --color-border: rgba(255,255,255,0.18);
  --color-error: #c53030;
  --color-charcoal: #111111;
  --color-gold: #d1b06b;
  --color-cream: #fdf7ef;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.25);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --backdrop-blur: 18px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}


/* Universal reset */
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  margin: 0;
  padding: 0;
}

a {
  color: var(--color-gold);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--color-gold);
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

p {
  margin-top: 0;
}

ul {
  padding-left: 1.25rem;
}

.container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11,11,11,0.22);
  backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 48px;
  height: 48px;
}

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

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  padding: 0.8rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-gold);
  border-color: var(--color-gold);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
}


/* ---------- PREMIUM NAVBAR (animated & accessible) ---------- */

/* header shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11,11,11,0.22);
  backdrop-filter: blur(8px) saturate(1.05);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

/* compact on scroll hint (class toggled by JS optionally) */
.site-header.scrolled {
  box-shadow: 0 12px 36px rgba(12,18,30,0.08);
  transform: translateY(0);
}

/* nav inner layout */
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* brand */
.nav-brand {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.nav-logo { width: 64px; height: 64px; }
.nav-brand-name { font-weight: 700; font-size: 1.1rem; display:block; color:#ffffff; }
.nav-brand-tag { font-size: 0.78rem; color:var(--color-muted); display:block; line-height:1; }

/* MAIN NAV - desktop */
.nav-main { display: block; }
.nav-list {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* link base */
.nav-link,
.nav-link--btn {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: 0.9rem 0.8rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  border-radius: 8px;
  background: transparent;
  text-decoration: none;
  position: relative;
  transition: color 180ms ease, transform 160ms ease;
  font-size: 1.1rem;
}

/* active underline animation (pseudo) */
.nav-link::after,
.nav-link--btn::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 3px;
  bottom: -8px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(.2,.9,.2,1);
}

/* hovered/active state */
.nav-link:hover,
.nav-link:focus,
.nav-link--btn:hover,
.nav-link--btn:focus {
  color: var(--color-gold);
  transform: translateY(-2px);
}
.nav-link:hover::after,
.nav-link:focus::after,
.nav-link--btn:hover::after,
.nav-link--btn:focus::after {
  transform: scaleX(1);
}

/* dropdown */
.nav-item--dropdown { position: relative; }
.dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: rgba(11,11,11,0.22);
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(12,18,30,0.12);
  padding: 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 60;
}
.nav-item--dropdown:focus-within .dropdown,
.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown[aria-expanded="true"] .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* dropdown link */
.dropdown-link {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 160ms;
}
.dropdown-link:hover,
.dropdown-link:focus {
  background: linear-gradient(90deg, rgba(224,190,145,0.06), rgba(176,42,48,0.03));
  transform: translateX(6px);
}

/* ACTION AREA */
.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* phone button in header */
.btn-phone {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8d7b0, #f3c48a);
  color: var(--color-charcoal);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(176,42,48,0.12);
}
.btn-phone svg { opacity: 0.95; }

/* BURGER */
.nav-burger {
  display: none; /* visible on mobile */
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

/* burger icon */
.burger-box { width: 36px; height: 24px; display: inline-block; position: relative; }
.burger-inner { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--color-charcoal); transform: translateY(-50%); transition: transform 260ms cubic-bezier(.2,.9,.2,1); }
.burger-inner::before,
.burger-inner::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--color-charcoal); transition: transform 260ms, opacity 200ms;
}
.burger-inner::before { top: -10px; }
.burger-inner::after { bottom: -10px; }

/* when menu open, animate to X */
.nav-burger[aria-expanded="true"] .burger-inner { background: transparent; }
.nav-burger[aria-expanded="true"] .burger-inner::before { transform: translateY(10px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .burger-inner::after { transform: translateY(-10px) rotate(-45deg); }

/* ---------- MOBILE MENU (full-screen) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(11,11,11,0.96);
  display: none;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.mobile-menu[aria-hidden="false"] {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  max-width: 980px;
  margin: 3.25rem auto;
  padding: 2rem;
  color: #fff;
}

/* mobile top row */
.mobile-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }
.mobile-top img { width:70px; height:70px; }

/* mobile nav list */
.mobile-navlist { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.6rem; }
.mobile-navlist a { color:#fff; font-size:1.25rem; text-decoration:none; padding:0.6rem 0; display:block; }

/* details summary styling inside mobile */
.mobile-details summary { list-style:none; cursor:pointer; color:#fff; font-weight:700; padding:0.5rem 0; }
.mobile-details ul { list-style:none; padding-left:1rem; margin:0.4rem 0 0 0; }

/* mobile ctas */
.mobile-cta { display:flex; gap:0.6rem; flex-direction:column; margin-top:1.25rem; }
.mobile-cta .btn { width:100%; text-align:center; }

/* small screens: show burger, hide desktop nav */
@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-burger { display: inline-block; }
  .btn-phone { display: none; } /* hide compact phone on mobile; show inside mobile menu */
  .nav-brand-tag { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-list, .dropdown, .stat-card { transition: none !important; animation: none !important; }
}


/* Hero */

/* ---------- HERO: visual + accessibility + animations ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height, 96px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  margin-top: -96px;
}


/* Full-screen video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;

  filter: brightness(0.62) saturate(0.95);
  /* will-change: transform; */
}

main {
  padding-top: var(--nav-height);
}

.site-header {
  height: var(--nav-height);
}


/* content stack above background */
.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
  padding: 1rem 0;
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

/* reveal state (applied on load by JS) */
.hero-inner.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HEADLINE: bold, large, white, very readable */
.hero-content h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.0vw + 1.2rem, 3rem); /* responsive sizing */
  line-height: 1.12;
  font-weight: 800; /* make it bold */
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
  text-shadow: 0 6px 20px rgba(0,0,0,0.65);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* kicker and subtitle: higher contrast white and bolder */
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: #ffd9ab;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 16px rgba(0,0,0,0.55);
}

.hero-subtitle {
  max-width: 52ch;
  color: #f7f7f7;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
  margin-bottom: 1.25rem;
}

/* actions: prominent CTA + micro-interactions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

/* Primary button */
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .78rem 1.25rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(90deg,#d03236 0%, #b02a30 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(176,42,48,0.26), inset 0 -2px 0 rgba(0,0,0,0.07);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms, opacity 200ms;
  will-change: transform, box-shadow;
}

/* Primary hover/focus */
@media (hover: hover) {
  .btn.btn-primary:hover,
  .btn.btn-primary:focus {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 40px rgba(176,42,48,0.28);
    outline: none;
  }
}

.btn.btn-outline {
  padding: .7rem 1.05rem;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: background 240ms ease, transform 200ms ease, border-color 200ms ease;
}

/* outline hover */
@media (hover: hover) {
  .btn.btn-outline:hover,
  .btn.btn-outline:focus {
    background: rgba(255,255,255,0.06);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.34);
  }
}

/* contact details smaller but readable */
.hero-contact {
  font-size: 0.95rem;
  color: #f3f3f3;
  font-weight: 600;
}

/* ASIDE: glass panel with subtle entrance */
.hero-aside {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12));
  border-radius: 16px;
  padding: 1.75rem 1.9rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px) saturate(1.05);
  border: 1px solid rgba(255,255,255,0.08);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(.2,.9,.2,1), opacity 700ms ease;
  will-change: transform, opacity;
}

/* reveal aside slightly after content */
.hero-inner.revealed .hero-aside {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 120ms;
}

/* highlight list styling */
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

  /* HERO adjustments for phones */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-aside { order: 2; }
  .hero-content { order: 1; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .hero-aside,
  .hero::before,
  .btn { transition: none !important; animation: none !important; transform: none !important; }
}


/* ------------------------------------ */
/* ---------- About-hero (below hero) ---------- */


/* IMAGE STACK */
/* ---------- Controlled image stack + anchored badge ---------- */
/* ---------- About-hero: non-overlapping images + horizontal stat cards ---------- */
.about-hero {
  padding: 5rem 0;
  /* background: #fff; */
  color: #222;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

/* IMAGE STACK: side-by-side, no overlap */
.image-stack {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  justify-content: center;
  min-height: 520px;
}

/* card base (each image) */
.img-card {
  flex: 1 1 0;
  max-width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: #f7f7f7;
  box-shadow: 0 22px 48px rgba(12, 18, 30, 0.12);
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: block;
}

/* Make left and right cards visually balanced */
.img-card--left { width: 100%; max-width: 46ch; }
.img-card--right { width: 100%; max-width: 46ch; }

/* image fill */
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 450ms ease;
}

/* optional hover micro-lift for desktop */
@media (hover: hover) and (pointer: fine) {
  .img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 60px rgba(12, 18, 30, 0.16);
  }
  .img-card:hover img { transform: scale(1.02); }
}

/* RIGHT: content */
.about-content .eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent, #d09a5c);
  margin-bottom: 0.6rem;
  font-size: .78rem;
}

.about-content h2 {
  font-size: clamp(1.9rem, 2.8vw + 1.1rem, 2.9rem);
  line-height: 1.08;
  margin: 0 0 1rem 0;
  color: var(--color-gold);
  font-weight: 800;
}

.about-content .lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 54ch;
}

/* STATS GRID: horizontal cards in a row */
.stats-grid {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}

/* Each stat card: small neat panel */
.stat-card {
  flex: 0 1 0;
  min-width: 200px;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: transparent; /* no solid background over pattern */
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 34px rgba(8,20,40,0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* icon panel */
.stat-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(224,190,145,0.12), rgba(224,190,145,0.06));
  color: #c47a2a;
}

/* stat text stacked (number + label) */
.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.stat-number {
  font-weight: 800;
  font-size: 1.02rem;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.15rem;
  line-height: 1.2;
}

/* Hover lift for cards */
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(8,20,40,0.06);
}

/* CTA */
.cta-about {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0.9rem 1.35rem;
  border-radius: 28px;
  border: 2px solid #111827;
  text-decoration: none;
  font-weight: 700;
  background: transparent;
  color: #111827;
  transition: background 200ms ease, transform 180ms ease, color 180ms ease;
}

/* Responsive behavior */
@media (max-width: 1100px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .image-stack { flex-direction: column; min-height: auto; gap: 1rem; padding-left: 0; }
  .img-card { width: 100%; height: 420px; max-width: none; border-radius: 16px; }
  .stats-grid { flex-direction: column; gap: 1rem; }
  .stat-card { width: 100%; }
}

/* Very small screens */
@media (max-width: 480px) {
  .img-card { height: 320px; }
  .about-content h2 { font-size: 1.6rem; }
  .stat-icon { width: 48px; height: 48px; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .img-card, .img-card img, .stat-card { transition: none !important; transform: none !important; animation: none !important; }
}




/* ---------- WHY CHOOSE US: square feature cards (Lalji style) ---------- */
/* tweak these color stops to match your brand */
:root {
  --accent-1: #f79b2a; /* warm gold */
  --accent-2: #b02a30; /* maroon */
  --card-bg: #ffffff;
  --card-radius: 16px;
}

/* Container tweaks for large spacing */
.why-section { /* assuming the wrapper; add this class to the section if you want section-level spacing control */
  padding: 4.5rem 0;
}

/* Use existing .feature elements; when possible add .feature-card for clarity */
.feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                 /* inner content handled by pseudo element */
  border-radius: var(--card-radius);
  background: transparent;
  min-height: 280px;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms;
  will-change: transform, box-shadow;
}

/* Create the gradient frame using a pseudo-element behind a white inset panel */
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--card-radius) + 8px);
  padding: 8px; /* thickness of frame */
  background: linear-gradient(90deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-1) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  box-shadow: 0 24px 60px rgba(8,20,40,0.06);
  z-index: 0;
}

/* inner white panel that holds content */
.feature > .feature-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--card-radius);
  background: transparent; /* remove inner background too */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0 10px 30px rgba(8,20,40,0.12);
}

/* Icon circle */
.feature .icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(180deg, rgba(224,190,145,0.12), rgba(224,190,145,0.06));
  color: #c47a2a; /* icon color */
  flex: 0 0 auto;
  font-size: 1.45rem;
}

/* Feature image styling */
.feature .feature-image {
  width: 100%;
  height: 180px;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
  flex: 0 0 auto;
}

/* heading & copy */
.feature h3 {
  margin: 0;
  font-size: 1.125rem;    /* medium large */
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-gold);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif; /* serif headline */
}

.feature p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 26ch;
}

/* Hover & focus interactions */
@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    transform: translateY(-8px);
  }
  .feature:hover::before {
    filter: brightness(1.03);
    box-shadow: 0 34px 80px rgba(8,20,40,0.08);
  }
  .feature:hover > .feature-inner {
    box-shadow: 0 28px 60px rgba(8,20,40,0.08);
  }
}

/* Keyboard focus (accessibility) */
.feature:focus-within,
.feature:focus {
  outline: 4px solid rgba(176,42,48,0.12);
  outline-offset: 6px;
  border-color: var(--color-primary);
}

/* Grid layout: use four-per-row on large viewport, three on medium, one on small */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Adjust for smaller screens */
@media (max-width: 1100px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .feature { min-height: 260px; }
  .feature > .feature-inner { padding: 1.6rem; }
  .feature .icon-wrap { width: 64px; height: 64px; border-radius: 14px; }
  .feature .feature-image { width: 100%; height: 140px; border-radius: 14px 14px 0 0; }
}

@media (max-width: 640px) {
  .grid.cards { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature > .feature-inner { padding: 1.4rem; }
  .feature .feature-image { border-radius: 14px 14px 0 0; }
  .feature h3 { font-size: 1.05rem; }
  .feature p { font-size: 0.94rem; }
}

/* ---------- TESTIMONIALS (transparent over pattern) ---------- */
.testimonials {
  background: #000000 !important;
  color: #fff;
  padding: 4.5rem 0;
  overflow: hidden;
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 520px; /* text | visual */
  gap: 3rem;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Left panel: text & carousel */
.testimonials-panel {
  max-width: 820px;
}

.testimonials .eyebrow {
  color: #f3c48a;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: .8rem;
}

.testimonials h2 {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw + 1rem, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1.25rem 0;
}

/* Testimonial items */
.testimonial-wrap {
  position: relative;
  min-height: 180px;
  margin-bottom: 1.25rem;
}

.testimonial-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms cubic-bezier(.2,.9,.2,1), transform 420ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
  color: rgba(255,255,255,0.92);
}

.testimonial-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Quote text */
.quote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin: 0 0 1rem 0;
  max-width: 62ch;
}

/* author */
.cite .author {
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: .15rem;
}
.cite .meta {
  color: rgba(255,255,255,0.55);
  font-size: .95rem;
}

/* controls */
.testimonial-controls {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.btn-ghost {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f3c48a;
  color: #0b0b0b;
  display: inline-grid;
  place-items: center;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 8px 22px rgba(2,6,23,0.35);
  transition: transform 180ms ease;
}

.btn-ghost:hover,
.btn-ghost:focus {
  transform: translateY(-4px);
  outline: none;
}

/* stretch both columns of grid to full height */
/* ---------- Testimonials: force full height & tasteful overflow ---------- */

/* Section base */
.testimonials {
  position: relative;
  background: transparent;
  color: #fff;
  padding-top: 4.5rem;
  padding-bottom: 0; /* remove bottom padding so overflow can be visible */
  overflow: visible;
}

/* Grid: left text flexible, right visual auto-sized.
   Set a predictable min-height so the visual column has space. */
.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr auto; /* left = text, right = image */
  gap: 3rem;
  align-items: stretch;            /* make both columns full height */
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 620px;               /* adjust this to control overall section height */
}

/* Panel text: gives breathing room (no change required if you already have) */
.testimonials-panel { padding-bottom: 0; }

/* Visual column: fill its grid cell and align image to bottom */
.testimonials-visual {
  display: flex;
  align-items: flex-end;    /* align image to bottom */
  justify-content: center;
  height: 100%;
  padding: 0;
  overflow: visible;        /* allow the image to overflow downward */
}

/* Chef image: size by height so it touches and then overflows the bottom
   `+30px` is the overflow amount (tasteful). Adjust if you want more/less. */
.testimonials-visual img {
  width: auto;                       /* do not force 100% width */
  height: calc(100% + 30px);         /* <-- makes image reach bottom and overflow */
  max-height: none;                  /* allow calc() to take precedence */
  max-width: 560px;                  /* optional cap on very wide screens */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  margin-bottom: 0;                  /* no separate negative margin needed */
  position: relative;
  z-index: 5;
}

/* optional subtle bottom fade on section to make overflow feel intentional */
.testimonials::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(11,11,11,0.18), rgba(11,11,11,0));
  pointer-events: none;
}

/* ---------- Responsive: stack and use width sizing on small screens ---------- */
@media (max-width: 1100px) {
  .testimonials-inner {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    min-height: auto;
  }

  .testimonials-visual {
    order: -1;
    align-items: center;
    margin-bottom: 1.25rem;
  }

  /* revert to width-based sizing for small screens */
  .testimonials-visual img {
    width: 65%;
    height: auto;
    max-width: 360px;
    margin-bottom: 0;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .testimonials-visual img { transition: none !important; height: auto !important; margin-bottom: 0 !important; }
}




.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

/* Sections, grids, cards */

.section {
  padding: 3rem 0;
}

#about-hero-heading{
  color: #cfaa17;
}

.section-alt {
  background: transparent; /* let global background show */
}

.section-intro {
  max-width: 40rem;
  color: var(--color-muted);
}

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

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

.card,
.feature,
.info-panel {
  background: transparent; /* remove card backgrounds entirely */
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-image {
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.bullet-list {
  padding-left: 1.25rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

.contact-cta {
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: rgba(176, 42, 48, 0.07);
}

/* Page headers */

.page-header-section {
  padding: 3.25rem 0 2.25rem;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-header-section h1 {
  font-size: clamp(1.8rem, 2.1vw + 1.1rem, 2.6rem);
}

.page-header-section .section-intro {
  margin-bottom: 0;
  max-width: 52ch;
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
}

.contact-direct {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: rgba(11,11,11,0.22);
  backdrop-filter: blur(6px) saturate(1.05);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.contact-sidebar {
  background: rgba(11,11,11,0.22);
  backdrop-filter: blur(6px) saturate(1.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
}

.form-description {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.error-message {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  min-height: 1em;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-error);
}

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

.form-success {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #166534;
}

/* Legal pages */

.legal-page {
  padding: 3.25rem 0 3.5rem;
  background: transparent;
}

.legal-page .container {
  max-width: 900px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 2.1vw + 1.1rem, 2.5rem);
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.legal-page p,
.legal-page li {
  font-size: 0.97rem;
}

.legal-page h2 {
  margin-top: 1.75rem;
}

/* =========================
   FOOTER
========================= */

.lc-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 11, 11, 0.22);
  backdrop-filter: blur(8px) saturate(1.05);
  color: #ffffff;
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.25rem;
  align-items: start;
}

/* Brand block */
.footer-brand-block {
  max-width: 320px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* Contact block */
.footer-contact h3,
.footer-map h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.footer-contact a {
  color: var(--color-muted);
}

.footer-contact a:hover {
  color: var(--color-primary);
}

/* Google map */
.footer-map {
  width: 100%;
}

.map-embed {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-bottom a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* Back to top */
.back-top {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-top:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {
  .footer-brand-block {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}


/* ---------- STAT CARDS (rounded image tiles with big numbers) ---------- */
.stat-cards-section {
  padding: 2.25rem 0 3.5rem;
  background: transparent;
  overflow: visible;
}

.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Individual card */
.stat-card {
  position: relative;
  height: 140px;
  border-radius: 28px;
  overflow: hidden;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 350ms cubic-bezier(.2,.9,.2,1), box-shadow 350ms;
  will-change: transform;
  background: transparent; /* no fallback color to let background pattern show */
  box-shadow: 0 14px 40px rgba(8,20,40,0.06);
  outline: none;
}

/* background image — covers card */
.stat-card .stat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center;
  transition: transform 700ms ease;
  will-change: transform;
}

/* subtle dark overlay for contrast */
.stat-card .stat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55));
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* content front */
.stat-body {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

/* number and label styling */
.stat-number {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0,0,0,0.6);
  letter-spacing: -0.02em;
}

.stat-number {
  color: #ffffff !important;
}


.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-top: 0.15rem;
  font-weight: 600;
  text-transform: none;
}

/* hover + focus: lift and zoom background */
@media (hover: hover) and (pointer: fine) {
  .stat-card:hover,
  .stat-card:focus {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 34px 90px rgba(8,20,40,0.12);
  }
  .stat-card:hover .stat-bg,
  .stat-card:focus .stat-bg {
    transform: scale(1.08) translateY(-4px);
  }
}

/* small entrance animation for cards */
.stat-card {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  animation: stat-fade-up 620ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* staggered delays */
.stat-card:nth-child(1) { animation-delay: 80ms; }
.stat-card:nth-child(2) { animation-delay: 160ms; }
.stat-card:nth-child(3) { animation-delay: 240ms; }
.stat-card:nth-child(4) { animation-delay: 320ms; }

@keyframes stat-fade-up {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ACCESSIBILITY: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .stat-card .stat-bg { transition: none !important; animation: none !important; transform: none !important; }
}

/* RESPONSIVE: stack to 2 columns on medium screens, 1 on small */
@media (max-width: 1100px) {
  .stat-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .stat-card { height: 150px; border-radius: 22px; }
  .stat-number { font-size: 1.9rem; }
}

@media (max-width: 640px) {
  .stat-cards-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .stat-card { height: 120px; border-radius: 16px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.9rem; }
}

/* small visual polish for contrast on very wide screens */
@media (min-width: 1600px) {
  .stat-card { height: 170px; border-radius: 32px; }
  .stat-number { font-size: 2.6rem; }
}

/* ---------- FOOTER ---------- */
.lc-footer {
  background: rgba(11,11,11,0.22); /* glass footer to match navbar */
  backdrop-filter: blur(8px) saturate(1.05);
  color: #ffffff;
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Optional faint food pattern background */
.lc-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/footer-bg.svg") center/contain repeat;
  opacity: 0.05;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 5;
}

/* Brand Block */
.footer-brand-block {
  max-width: 420px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #0b0b0b;
  background: #f3c48a;
  border-radius: 50%;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform 180ms ease, background 200ms;
}

.footer-social a:hover {
  transform: translateY(-5px);
  background: #d8a866;
}

/* Contact section */
.footer-contact h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-contact p {
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact a {
  color: #f3c48a;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-address h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-address p {
  margin: 0.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Content wrapper for policy pages */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.content-wrapper h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: white;
  margin: 3rem 0 1.5rem 0;
  border-bottom: 2px solid #f3c48a;
  padding-bottom: 0.5rem;
}

.content-wrapper h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: white;
  margin: 2rem 0 1rem 0;
}

.content-wrapper p {
  margin: 1.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.content-wrapper ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-wrapper li {
  margin: 0.8rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.content-wrapper strong {
  color: #f3c48a;
  font-weight: 600;
}

/* Footer links styling */
.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #f3c48a;
  text-decoration: underline;
}

/* Bottom row */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Back to top button */
.back-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3c48a;
  color: #0b0b0b;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: transform 180ms ease;
}

.back-top:hover {
  transform: translateY(-5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
}



/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner,
  .two-column,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-aside {
    order: -1;
  }

  .form-group-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav ul {
    flex-wrap: wrap;
  }
}





/* =========================
   MOBILE-FIRST & RESPONSIVE
   Put this at the end of your stylesheet
   ========================= */

/* Base adjustments for small screens (mobile-first mindset) */
html { font-size: 16px; } /* base; you can reduce to 15px for very small devices */
body { -webkit-text-size-adjust: 100%; }

/* Make container padding gentler on small screens */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* NAV: make nav links touch-friendly and wrap nicely */
.main-nav ul {
  gap: 0.6rem;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.6rem 0.5rem;
  font-size: 0.98rem;
}

/* HERO adjustments for phones */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0;
  }

  .hero-content h1 {
    font-size: clamp(1.4rem, 5.6vw, 2.2rem);
    line-height: 1.12;
    text-shadow: 0 6px 14px rgba(0,0,0,0.6);
  }

  .hero-subtitle { font-size: 1rem; max-width: 48ch; }
  .hero-kicker { font-size: 0.78rem; }
  .hero-aside { order: 2; }
  .hero-actions { gap: 0.5rem; }
  .btn.btn-primary, .btn.btn-outline { width: 100%; justify-content: center; padding: 0.75rem; }
}

/* ABOUT-HERO, IMAGES & STATS stack cleanly on tablets and phones */
@media (max-width: 1100px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .image-stack { flex-direction: column; gap: 1rem; min-height: auto; padding-left: 0; }
  .img-card { width: 100%; height: 420px; border-radius: 12px; overflow: hidden; }
  .img-card img { height: 100%; width: 100%; object-fit: cover; }

  .about-content h2 { font-size: clamp(1.4rem, 4.2vw, 2rem); }
  .about-content .lead { font-size: 1rem; max-width: 60ch; }
  .stats-grid { flex-direction: column; gap: 1rem; align-items: stretch; }
  .stat-card { width: 100%; min-width: 0; }
}

/* WHY CHOOSE / feature cards: 2 columns -> 1 column on small screens */
@media (max-width: 900px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .feature { min-height: auto; }
  .feature > .feature-inner { padding: 1.2rem; }
}

/* small phones: single column stacking and tighter spacing */
@media (max-width: 640px) {
  html { font-size: 15px; } /* slightly smaller base for very small screens */

  .grid.cards { grid-template-columns: 1fr; gap: 1rem; }
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }

  /* Headings scale down for readability without wrapping badly */
  h1 { font-size: clamp(1.25rem, 5.8vw, 1.85rem); }
  h2 { font-size: clamp(1.05rem, 5.4vw, 1.5rem); }

  /* HERO specific adjustments on tiny screens */
  .hero-content h1 { font-size: clamp(1.25rem, 6.5vw, 1.8rem); }
  .hero-subtitle { font-size: 0.96rem; max-width: 40ch; }

  /* About hero text */
  .about-content h2 { font-size: 1.45rem; }
  .about-content .lead { font-size: 0.98rem; line-height: 1.6; }

  /* Stats: stack vertically */
  .stats-grid { flex-direction: column; gap: 0.85rem; }
  .stat-card { padding: 0.75rem; border-radius: 10px; }

  /* Testimonials: stacked layout */
  .testimonials-inner { grid-template-columns: 1fr; padding: 1rem; gap: 1rem; }
  .testimonials-visual img { width: 72%; height: auto; max-width: 320px; margin-bottom: 0; }

  /* Feature card spacing */
  .feature > .feature-inner { padding: 1rem; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.92rem; }

  /* Buttons full width with comfortable hit area */
  .btn { padding: 0.9rem 1rem; font-size: 0.96rem; border-radius: 12px; }
  .btn-ghost { width: 44px; height: 44px; }
}

/* VERY SMALL devices (narrow/old phones) */
@media (max-width: 420px) {
  .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 0.9rem; }
  .main-nav a { font-size: 0.92rem; padding: 0.45rem 0.5rem; }

  .hero-subtitle { font-size: 0.92rem; }
  .hero-kicker { font-size: 0.72rem; letter-spacing: 0.12em; }

  .testimonial-controls { gap: 0.5rem; }
  .btn-ghost { width: 40px; height: 40px; font-size: 1rem; }
}

/* Make forms and inputs easier to interact with on touch */
input, select, textarea {
  tap-highlight-color: rgba(0,0,0,0.05);
  -webkit-tap-highlight-color: rgba(0,0,0,0.05);
  font-size: 1rem;
}

/* Footer responsiveness: stack and increase spacing */
@media (max-width: 900px) {
  .footer-inner { gap: 1rem; padding: 1rem 0; }
  .footer-links { justify-content: flex-start; gap: 0.6rem; }
  .site-footer { padding: 1.5rem 0; }
}

/* Utility: hide decorative elements on small screens to reduce clutter */
@media (max-width: 640px) {
  .decorative, .bg-decor, .aside-decor { display: none !important; }
}

/* Accessibility: ensure focus outlines are visible on mobile too */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid rgba(176,42,48,0.12);
  outline-offset: 2px;
}

/* Keep animations gentle on mobile and respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* Optional: quick micro-optimizations to reduce excessive shadows & heavy images on mobiles */
@media (max-width: 640px) {
  .img-card, .feature::before, .card { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
  .hero::before { filter: blur(1.8px) brightness(0.6); }
}




/* === Full-page background (recommended for production) ===
   Put this at the end of your main stylesheet so it overrides earlier rules.
   Ensure the file is located at: <project-root>/assets/images/FinalBackgroundPatter.jpeg
*/
html, body {
  height: 100%;
}

body {
  /* production (project) path */
  background-image: url("../images/FinalBackgroundPatter.jpeg");
  background-repeat: no-repeat;      /* show a single scaled image */
  background-position: center top;
  background-size: cover;            /* scale to cover viewport */
  background-attachment: fixed;      /* desktop parallax feel; mobile handled below */
  background-color: var(--color-bg);
  position: relative;                /* create stacking context for overlay */
  z-index: 0;
}

/* subtle overlay to mute & improve text contrast */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(0,0,0,0.30); /* darken slightly - reduce alpha to make pattern lighter */
}

/* ensure main page content sits above the overlay */
.site-header,
.container,
.hero,
.site-footer,
.hero-inner,
.hero-aside,
.about-hero-inner,
.testimonials-inner {
  position: relative;
  z-index: 1;
}

/* mobile perf: avoid background-attachment fixed on small screens */
@media (max-width: 900px) {
  body { background-attachment: scroll; }
  body::before { background: rgba(0,0,0,0.24); }
}
