/* Afrikaana Downtown Restaurant — Eldoret
   Warm, bold house style: red, gold and cream with a kitenge accent.
   Light and dark themes share one set of tokens. */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

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

/* ---------- Theme tokens ---------- */
:root {
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;

  --bg: #FBF5EA;
  --bg-2: #FFFFFF;
  --bg-3: #F3E7D2;
  --text: #241812;
  --text-2: #6C5B4C;

  --red: #C1121F;
  --red-ink: #9C0C18;
  --gold: #C9820A;
  --gold-soft: #F0C04B;
  --cream: #FBF5EA;

  --border: rgba(36, 24, 18, .12);
  --shadow-sm: 0 2px 10px rgba(36, 24, 18, .08);
  --shadow-md: 0 12px 30px rgba(36, 24, 18, .12);
  --shadow-lg: 0 26px 60px rgba(36, 24, 18, .18);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --header-h: 74px;

  /* kitenge palette */
  --k-blue: #123C8C;
  --k-red: #C1121F;
  --k-gold: #E8A419;
  --k-cream: #FBF5EA;
}

:root[data-theme="dark"] {
  --bg: #191110;
  --bg-2: #241A16;
  --bg-3: #2E211B;
  --text: #F6ECD9;
  --text-2: #B7A78F;

  --red: #E63C46;
  --red-ink: #C1121F;
  --gold: #F4B740;
  --gold-soft: #F4C453;

  --border: rgba(246, 236, 217, .14);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .55);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

section { padding-block: clamp(3.4rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.2rem, 5vw, 3.4rem); }

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
  display: inline-block;
  margin-bottom: .1rem;
}
:root[data-theme="dark"] .eyebrow { color: var(--gold); }

.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.section-head p { color: var(--text-2); font-size: 1.06rem; margin: 0; }

.lead { font-size: 1.15rem; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(193, 18, 31, .32); }
.btn-primary:hover { background: var(--red-ink); }

.btn-gold { background: var(--gold); color: #241812; box-shadow: 0 8px 22px rgba(201, 130, 10, .32); }
.btn-gold:hover { filter: brightness(1.05); }

.btn-ghost { border-color: currentColor; color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--red); border-color: #fff; }

.btn-wa { background: #25D366; color: #08351a; box-shadow: 0 8px 22px rgba(37, 211, 102, .34); }
.btn-wa:hover { filter: brightness(1.04); }

/* ---------- Kitenge accents ---------- */
.kitenge-strip {
  height: 16px;
  background-color: var(--k-blue);
  background-image:
    radial-gradient(circle at 10px 8px, var(--k-cream) 2.4px, transparent 2.8px),
    radial-gradient(circle at 30px 8px, var(--k-gold) 2.8px, transparent 3.2px),
    linear-gradient(135deg, var(--k-red) 26%, transparent 26%),
    linear-gradient(-135deg, var(--k-gold) 26%, transparent 26%);
  background-size: 40px 16px, 40px 16px, 20px 16px, 20px 16px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

.divider-dots {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  margin: 1.1rem 0;
}
.divider-dots span { width: 8px; height: 8px; border-radius: 50%; }
.divider-dots span:nth-child(1){ background: var(--k-red); }
.divider-dots span:nth-child(2){ background: var(--k-gold); }
.divider-dots span:nth-child(3){ background: var(--k-blue); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.brand { display: flex; align-items: center; gap: .6rem; line-height: 1; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.brand-mark .aa { color: var(--red); }
.brand-tag {
  font-family: var(--font-script);
  font-size: 1.02rem;
  color: var(--gold);
  margin-top: 2px;
}
/* transparent (top of page) header text is light over the hero */
.site-header:not(.scrolled) .brand-mark { color: #fff; }
.site-header:not(.scrolled) .brand-mark .aa { color: var(--gold-soft); }
.site-header:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .icon-btn { color: #fff; border-color: rgba(255,255,255,.4); }

.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  padding: .5rem .8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); font-weight: 700; }
:root[data-theme="dark"] .nav-links a.active { color: var(--gold); }
.site-header:not(.scrolled) .nav-links a.active { color: var(--gold-soft); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: transform .18s ease, background .18s ease;
}
.icon-btn:hover { transform: translateY(-2px); background: var(--bg-3); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav-cta { display: inline-flex; }

.hamburger { display: none; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.4,0,.2,1);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .m-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: .7rem .2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.active { color: var(--red); }
.mobile-nav .m-actions { margin-top: auto; padding-top: 1.4rem; display: grid; gap: .7rem; }
.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,10,6,.55) 0%, rgba(20,10,6,.35) 40%, rgba(20,10,6,.82) 100%);
}
.hero-inner { max-width: 720px; padding-block: 7rem 3rem; }
.hero .eyebrow { color: var(--gold-soft); font-size: 1.7rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 56ch; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.badge-24 {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--red); color: #fff;
  padding: .4rem .9rem; border-radius: 999px;
  font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.badge-24 .dot { width: 8px; height: 8px; border-radius: 50%; background: #6EE787; box-shadow: 0 0 0 0 rgba(110,231,135,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(110,231,135,.6);} 70%{box-shadow:0 0 0 8px rgba(110,231,135,0);} 100%{box-shadow:0 0 0 0 rgba(110,231,135,0);} }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.page-banner .hero-bg img { filter: saturate(1.02); }
.page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,10,6,.5) 0%, rgba(20,10,6,.4) 45%, rgba(20,10,6,.86) 100%);
}
.page-banner .container { padding-bottom: 2.6rem; }
.page-banner h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 800; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.82); margin-bottom: .4rem; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature {
  padding: 1.8rem 1.6rem;
  text-align: left;
}
.feature .ic {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--red) 12%, transparent);
  color: var(--red);
  margin-bottom: 1rem;
}
:root[data-theme="dark"] .feature .ic { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.24rem; }
.feature p { color: var(--text-2); margin: 0; font-size: .98rem; }

/* image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.split-media .sticker {
  position: absolute; bottom: -18px; right: -14px;
  background: var(--gold); color: #241812;
  font-family: var(--font-script); font-size: 1.5rem;
  padding: .5rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
}

/* ---------- Menu ---------- */
.menu-cat-card { display: block; position: relative; }
.menu-cat-card .mc-img { aspect-ratio: 4/3; }
.menu-cat-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-cat-card:hover .mc-img img { transform: scale(1.06); }
.menu-cat-card .mc-body { padding: 1.2rem 1.4rem 1.5rem; }
.menu-cat-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.menu-cat-card p { color: var(--text-2); font-size: .95rem; margin: 0 0 .6rem; }
.menu-cat-card .go { color: var(--red); font-weight: 700; font-size: .92rem; }
:root[data-theme="dark"] .menu-cat-card .go { color: var(--gold); }

.menu-group { margin-bottom: 2.8rem; }
.menu-group-head {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem;
}
.menu-group-head h3 {
  font-size: 1.5rem; margin: 0; color: var(--red);
}
:root[data-theme="dark"] .menu-group-head h3 { color: var(--gold); }
.menu-group-head::after { content: ""; flex: 1; height: 2px; background: var(--border); }

.menu-list { display: grid; gap: .2rem; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .4rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--border);
}
.menu-item .mi-main { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.menu-item .mi-name { font-weight: 600; }
.menu-item .mi-note { color: var(--text-2); font-size: .86rem; }
.menu-item .mi-lead { flex: 1; border-bottom: 1px dotted var(--border); transform: translateY(-4px); min-width: 18px; }
.menu-item .mi-price { font-family: var(--font-display); font-weight: 700; color: var(--text); white-space: nowrap; }
.menu-item .mi-price .ksh { color: var(--text-2); font-size: .78rem; font-weight: 500; margin-right: 2px; }

.price-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.4rem; }

.menu-note {
  background: var(--bg-3); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; color: var(--text-2); font-size: .92rem;
  border-left: 4px solid var(--gold);
}

/* menu section tabs */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.6rem; }
.menu-tabs a {
  padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--border);
  font-weight: 600; font-size: .92rem; color: var(--text-2); transition: all .18s ease;
}
.menu-tabs a:hover { border-color: var(--red); color: var(--red); }
.menu-tabs a.active { background: var(--red); color: #fff; border-color: var(--red); }
:root[data-theme="dark"] .menu-tabs a.active { background: var(--gold); color: #241812; border-color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-grid figure { margin: 0 0 1rem; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: .86rem; opacity: 0; transition: opacity .25s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,6,4,.92);
  display: none; align-items: center; justify-content: center;
  padding: 1.4rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: rgba(255,255,255,.14); color: #fff;
  border: none; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem;
  display: grid; place-items: center; transition: background .2s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.3); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.review {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review p { margin: 0 0 1rem; font-size: 1rem; }
.review .who { display: flex; align-items: center; gap: .7rem; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review .who b { display: block; font-size: .95rem; }
.review .who span { color: var(--text-2); font-size: .82rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: var(--red); line-height: 1; }
:root[data-theme="dark"] .stat .num { color: var(--gold); }
.stat .lbl { color: var(--text-2); font-size: .92rem; margin-top: .3rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Info / contact ---------- */
.info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); display: grid; place-items: center; }
:root[data-theme="dark"] .info-item .ic { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.info-item h4 { margin: 0 0 .15rem; font-size: 1.05rem; }
.info-item p { margin: 0; color: var(--text-2); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; isolation: isolate;
}
.cta-band .hero-bg img { filter: brightness(.5); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,10,6,.5); }
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: 3.4rem 2rem; }
.footer-grid h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid a { color: var(--text-2); display: block; padding: .25rem 0; transition: color .18s ease; }
.footer-grid a:hover { color: var(--red); }
:root[data-theme="dark"] .footer-grid a:hover { color: var(--gold); }
.footer-brand .brand-mark { font-size: 1.6rem; }
.footer-brand p { color: var(--text-2); font-size: .95rem; max-width: 34ch; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-2); font-size: .88rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #08351a; font-weight: 700;
  padding: .8rem 1.1rem; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float .lbl { display: inline; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: grid; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { max-height: 380px; }
  .gallery-grid { columns: 2; }
  .price-cols { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .wa-float .lbl { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
