/* ============================================================
   styles.css — PT BATAVIA KULINER NUSANTARA
   Shared across all pages. DRY · KISS · YAGNI.
   ============================================================ */

/* ------------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

/* ------------------------------------------------------------
   2. CSS VARIABLES — Single source of truth
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-bg: #0f0f0f;
  --color-surface: #1a1a1a;
  --color-surface-2: #242424;
  --color-accent-fire: #f0ad4e;
  --color-accent-red: #a43838;
  --color-accent-red-dk: #8c2d2d;
  --color-text-primary: #ffffff;
  --color-text-muted: #aaaaaa;
  --color-border: #2e2e2e;
  --color-overlay: rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Type scale */
  --t-hero: clamp(2.6rem, 6vw, 5rem);
  --t-h1: clamp(1.8rem, 4vw, 3rem);
  --t-h2: clamp(1.2rem, 2.5vw, 1.75rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.72rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 10rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(240, 173, 78, 0.18);

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--t-h1);
}

h2 {
  font-size: var(--t-h2);
}

h3 {
  font-size: 1.15rem;
}

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

/* Section label — small uppercase tag above headings */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--t-label);
  font-weight: 700;
  color: var(--color-accent-fire);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-xs);
}

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

.text-accent {
  color: var(--color-accent-fire);
}

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

.italic {
  font-style: italic;
}

/* Stat number display */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-accent-fire);
  line-height: 1;
}

/* ------------------------------------------------------------
   5. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* A standard content section */
.section {
  padding-block: var(--space-xl);
}

.section--dark {
  background-color: var(--color-surface);
}

.section--darker {
  background-color: var(--color-surface-2);
}

/* Section heading block (label + title + optional subtitle) */
.section-head {
  margin-bottom: var(--space-lg);
}

.section-head.centered {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

/* Decorative horizontal rule */
.divider {
  width: 64px;
  height: 3px;
  background-color: var(--color-accent-fire);
  border: none;
  margin-block: var(--space-sm);
}

.divider.centered {
  margin-inline: auto;
}

/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------ */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition), transform var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent-red);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-accent-red);
}

.btn-primary:hover {
  background-color: var(--color-accent-red-dk);
  border-color: var(--color-accent-red-dk);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-accent-fire);
  border: 1.5px solid var(--color-accent-fire);
}

.btn-ghost:hover {
  background-color: var(--color-accent-fire);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   7. BADGE / TAG
   ------------------------------------------------------------ */
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent-fire);
  color: var(--color-bg);
}

.badge--red {
  background-color: var(--color-accent-red);
  color: #fff;
}

.badge--outline {
  background-color: transparent;
  border: 1.5px solid var(--color-accent-fire);
  color: var(--color-accent-fire);
}

/* ------------------------------------------------------------
   8. IMAGE CARD (overlay card with text at bottom)
   ------------------------------------------------------------ */
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-2);
}

.img-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.img-card:hover .img-card__image {
  transform: scale(1.04);
}

.img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

.img-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
}

.img-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.img-card__desc {
  font-size: var(--t-small);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-xs);
}

.img-card__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-small);
  color: var(--color-accent-fire);
  letter-spacing: 0.04em;
  transition: gap var(--transition);
}

.img-card__link:hover {
  text-decoration: underline;
}

/* Badge positioned top-right inside a card */
.img-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
}

/* Coming-soon visual treatment */
.img-card--coming-soon .img-card__image {
  filter: grayscale(0.6) brightness(0.5) blur(3px);
  transform: scale(1.06);
}

/* ------------------------------------------------------------
   9. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: kenBurns 16s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-inline: var(--space-md);
  animation: fadeUp 0.9s ease both;
}

.hero__logo {
  width: 90px;
  height: auto;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.hero__title {
  font-size: var(--t-hero);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.65);
  margin-bottom: var(--space-xs);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-accent-fire);
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Scroll indicator arrow */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-accent-fire);
  font-size: 1.5rem;
  animation: bounce 2s ease infinite;
  opacity: 0.8;
}

/* ------------------------------------------------------------
   10. STAT BLOCK (numbers row)
   ------------------------------------------------------------ */
.stats-row {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-item__label {
  font-size: var(--t-small);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
   11. HOW IT WORKS STEPS
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
}

/* Dotted connector line between steps on desktop */
.steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.66% + var(--space-sm));
  right: calc(16.66% + var(--space-sm));
  height: 1px;
  border-top: 2px dashed var(--color-border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.step__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-accent-fire);
  opacity: 0.18;
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step__icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.step__desc {
  font-size: var(--t-small);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   12. BRANCH / LOCATION CARD
   ------------------------------------------------------------ */
.branch-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent-fire);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: background-color var(--transition);
}

.branch-card:hover {
  background-color: var(--color-surface-2);
}

.branch-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.branch-card__meta {
  font-size: var(--t-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.branch-card__meta span {
  display: block;
}

.branch-card__map {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.branch-card__actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   13. TESTIMONIAL CARD
   ------------------------------------------------------------ */
.review-card {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.review-card__stars {
  color: var(--color-accent-fire);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-card__text {
  font-style: italic;
  font-size: var(--t-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.review-card__author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-small);
  color: var(--color-text-primary);
}

/* ------------------------------------------------------------
   15. COVERAGE AREA PILLS
   ------------------------------------------------------------ */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.area-pill {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-accent-fire);
  color: var(--color-accent-fire);
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* ------------------------------------------------------------
   16. CTA BANNER SECTION
   ------------------------------------------------------------ */
.cta-banner {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding-block: var(--space-xl);
}

.cta-banner__title {
  font-size: var(--t-h1);
  margin-bottom: var(--space-xs);
}

.cta-banner__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.cta-banner__contact {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-accent-fire);
  margin-bottom: var(--space-xs);
}

/* ------------------------------------------------------------
   17. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background-color: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding-inline: var(--space-md);
}

.navbar__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  transition: color var(--transition);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-accent-fire);
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(10, 10, 10, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-primary);
  transition: color var(--transition);
}

.nav-overlay a:hover {
  color: var(--color-accent-fire);
}

/* Spacer below fixed navbar */
.navbar-spacer {
  height: 64px;
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-lg);
}

.footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: start;
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-style: italic;
  font-size: var(--t-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--color-text);
  margin-top: var(--space-sm);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-fire);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: var(--t-small);
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-text-primary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--t-small);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.footer__contact-item a:hover {
  color: var(--color-accent-fire);
}

/* Social icons row */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  transition: background-color var(--transition), transform var(--transition);
}

.social-icons a:hover {
  background-color: var(--color-accent-fire);
  transform: translateY(-2px);
}

.social-icons a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ------------------------------------------------------------
   19. COMING SOON PAGE (iga-bakar-mabes)
   ------------------------------------------------------------ */
.coming-soon-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.coming-soon-page__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.35) blur(8px);
  transform: scale(1.1);
  z-index: 0;
  animation: subtlePulse 6s ease-in-out infinite alternate;
}

.coming-soon-page__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
}

.coming-soon-page__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-inline: var(--space-md);
  animation: fadeUp 0.9s ease both;
}

.coming-soon-page__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--t-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-fire);
  margin-bottom: var(--space-sm);
}

.coming-soon-page__title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 40px rgba(240, 173, 78, 0.3), 0 3px 16px rgba(0, 0, 0, 0.7);
  margin-bottom: var(--space-sm);
  line-height: 1.05;
}

.coming-soon-page__divider {
  width: 80px;
  height: 2px;
  background-color: var(--color-accent-fire);
  margin: var(--space-sm) auto;
  opacity: 0.7;
}

.coming-soon-page__teaser {
  font-style: italic;
  font-size: 1rem;
  color: rgba(240, 173, 78, 0.75);
  margin-bottom: var(--space-md);
}


/* ------------------------------------------------------------
   20. FULL-SCREEN GALLERY (100vh mosaic)
   ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 60vh;
    min-height: 320px;
  }

  /* hide extra images on small screens to keep 2x2 */
  .gallery img:nth-child(n+5) {
    display: none;
  }
}

/* ------------------------------------------------------------
   21. ANIMATIONS
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.07);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@keyframes subtlePulse {
  from {
    filter: grayscale(0.5) brightness(0.3) blur(8px);
  }

  to {
    filter: grayscale(0.3) brightness(0.45) blur(8px);
  }
}

/* Staggered reveal helper classes */
.anim-delay-1 {
  animation-delay: 0.1s;
}

.anim-delay-2 {
  animation-delay: 0.2s;
}

.anim-delay-3 {
  animation-delay: 0.3s;
}

.anim-delay-4 {
  animation-delay: 0.4s;
}

/* ------------------------------------------------------------
   21. RESPONSIVE — Mobile First Overrides
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .btn-group {
    justify-content: center;
  }

  .stats-row {
    gap: var(--space-md);
    justify-content: space-between;
  }

  .hero__content {
    text-align: center;
  }

  .section-head.centered {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 3rem;
    --space-lg: 2.5rem;
  }

  .container {
    padding-inline: var(--space-sm);
  }

  .navbar {
    height: 56px;
    padding-inline: var(--space-sm);
  }

  .navbar-spacer {
    height: 56px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
}