/* ==========================================================================
   Homewood Furnitures — Eldoret
   One stylesheet for the whole site. The palette is pulled straight from the
   yard: rich mahogany, brass hardware, oat-and-cream upholstery, and a nod to
   the deep blue on the signboard out front.
   ========================================================================== */

/* ---- Theme tokens -------------------------------------------------------- */
:root {
  --wood:       #4a2b18;   /* deep mahogany — the wood they finish everything in */
  --wood-deep:  #33200f;
  --gold:       #b0802f;   /* brass hardware, the gold buttons on the beds */
  --gold-soft:  #cfa14b;
  --sign-blue:  #17577f;   /* the blue on the shop signboard — used sparingly */

  --bg:         #f8f2e8;
  --bg-alt:     #efe4d2;
  --surface:    #ffffff;
  --text:       #2c1d12;
  --text-soft:  #6d5949;
  --line:       rgba(44, 29, 18, .12);
  --shadow:     0 16px 44px rgba(50, 30, 15, .13);
  --shadow-sm:  0 7px 20px rgba(50, 30, 15, .10);

  --head:   "Fraunces", Georgia, "Times New Roman", serif;
  --body:   "Manrope", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --radius-lg: 24px;
}

:root[data-theme="dark"] {
  --bg:        #17110b;
  --bg-alt:    #1f1710;
  --surface:   #261c12;
  --text:      #f4e9d9;
  --text-soft: #c6b09a;
  --line:      rgba(244, 233, 217, .13);
  --shadow:    0 18px 46px rgba(0, 0, 0, .55);
  --shadow-sm: 0 9px 24px rgba(0, 0, 0, .45);
  --gold-soft: #d9ad57;
}

/* Follow the system on the very first visit (JS stamps data-theme after) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #17110b;
    --bg-alt:    #1f1710;
    --surface:   #261c12;
    --text:      #f4e9d9;
    --text-soft: #c6b09a;
    --line:      rgba(244, 233, 217, .13);
    --shadow:    0 18px 46px rgba(0, 0, 0, .55);
    --shadow-sm: 0 9px 24px rgba(0, 0, 0, .45);
    --gold-soft: #d9ad57;
  }
}

/* ---- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  font-optical-sizing: auto;
}

p { margin: 0 0 1rem; }

a { color: var(--wood); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }
:root[data-theme="dark"] a { color: var(--gold-soft); }

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

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  color: var(--gold);
  margin-bottom: .7rem;
  display: inline-block;
}
:root[data-theme="dark"] .eyebrow { color: var(--gold-soft); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eyebrow { color: var(--gold-soft); }
}

.section-head { max-width: 660px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 0; }

.lead { font-size: 1.16rem; color: var(--text-soft); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn-primary { background: var(--wood); color: #fbeede; }
.btn-primary:hover { background: var(--wood-deep); color: #fff; box-shadow: var(--shadow-sm); }

.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #2a1c07; }
.btn-gold:hover { color: #241802; box-shadow: 0 10px 26px rgba(176, 128, 47, .4); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-wa { background: #25d366; color: #04361a; }
.btn-wa:hover { background: #1fb955; color: #012; box-shadow: 0 10px 26px rgba(37, 211, 102, .38); }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .hw { font-family: var(--head); font-weight: 600; font-size: 1.22rem; letter-spacing: -.02em; }
.brand-text .tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-weight: 600; font-size: .95rem;
  padding: .5rem .7rem; border-radius: 8px; display: block;
}
.nav-links a:hover { color: var(--gold); background: var(--bg-alt); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 18px; margin: .2rem auto 0;
  background: var(--gold); border-radius: 2px;
}
.nav-panel-head, .nav-panel-foot { display: none; }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer; transition: background .15s ease, color .15s ease;
}
.icon-btn:hover { color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
.hamburger { display: none; }
.nav-cta { padding: .6rem 1.2rem; }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-copy .badge {
  display: inline-flex; align-items: center; gap: .5rem; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  line-height: 1.3; color: var(--text-soft); margin-bottom: 1.2rem; box-shadow: var(--shadow-sm);
}
.hero-copy .badge .dot { flex: none; }
.hero-copy .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero-copy h1 .accent { color: var(--gold); font-style: italic; }
.hero-copy .lead { max-width: 34rem; margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3.4;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: color-mix(in srgb, var(--wood) 88%, transparent); color: #f7ecdd;
  padding: .6rem 1rem; border-radius: 12px; font-size: .84rem; font-weight: 600;
  backdrop-filter: blur(4px); display: flex; align-items: center; gap: .5rem;
}
.hero-media .float-tag svg { width: 18px; height: 18px; color: var(--gold-soft); }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin-top: 2.2rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.trust-row .item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; color: var(--text-soft); }
.trust-row .item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---- Grids --------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Category / feature cards -------------------------------------------- */
.cat-card {
  position: relative; display: block; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); background: var(--surface);
  aspect-ratio: 3 / 3.5; color: #fff;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,17,8,.86) 8%, rgba(28,17,8,.28) 46%, rgba(28,17,8,.05) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.3rem;
}
.cat-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .15rem; }
.cat-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0; }
.cat-card .go {
  margin-top: .7rem; font-weight: 700; font-size: .84rem; color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: .3rem; text-transform: uppercase; letter-spacing: .1em;
}
.cat-card.tall { aspect-ratio: 3 / 4.2; }

/* ---- Value cards --------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); height: 100%;
}
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--gold); margin-bottom: 1rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* ---- Product cards ------------------------------------------------------- */
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .pic img { transform: scale(1.05); }
.product .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.16rem; margin-bottom: .3rem; }
.product .desc { color: var(--text-soft); font-size: .92rem; margin-bottom: .9rem; flex: 1; }
.product .foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product .price-note { font-weight: 700; color: var(--gold); font-size: .9rem; }
.product .ask { font-weight: 700; font-size: .88rem; color: var(--wood); display: inline-flex; align-items: center; gap: .35rem; }
:root[data-theme="dark"] .product .ask { color: var(--gold-soft); }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold); background: var(--bg-alt);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem; align-self: flex-start;
}

/* ---- Split media --------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.list-check { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.list-check li { position: relative; padding-left: 2rem; color: var(--text-soft); }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem;
  background: var(--bg-alt); border-radius: 6px;
}
.list-check li::after {
  content: ""; position: absolute; left: .42rem; top: .32rem; width: .5rem; height: .82rem;
  border: solid var(--gold); border-width: 0 .18rem .18rem 0; transform: rotate(45deg);
}

/* ---- Steps (how it works) ------------------------------------------------ */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.6rem; position: relative; }
.step .n {
  counter-increment: step; font-family: var(--head); font-weight: 600; font-size: 1.5rem;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--wood); color: #f7ecdd; margin-bottom: 1rem;
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--text-soft); margin: 0; font-size: .96rem; }

/* ---- Stats --------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.stat { padding: 1.4rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-family: var(--head); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); line-height: 1; }
.stat .lab { color: var(--text-soft); font-size: .9rem; margin-top: .4rem; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--wood), var(--wood-deep));
  color: #f7ecdd; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(207,161,75,.35), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); position: relative; }
.cta-band p { color: rgba(247,236,221,.85); max-width: 46rem; margin: 0 auto 1.6rem; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---- Gallery / lightbox -------------------------------------------------- */
.gallery-grid { columns: 3; column-gap: 1rem; }
.gallery-grid .shot { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery-grid .shot img { width: 100%; transition: transform .4s ease, filter .3s ease; }
.gallery-grid .shot:hover img { transform: scale(1.04); filter: brightness(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,9,4,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center;
  transition: background .15s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #241802; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .9rem; }

/* ---- Forms --------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .84rem; color: var(--text-soft); margin-top: .4rem; }

/* ---- Info tiles (contact) ------------------------------------------------ */
.info-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-tile .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--bg-alt); color: var(--gold); display: grid; place-items: center; }
.info-tile .ico svg { width: 24px; height: 24px; }
.info-tile h4 { margin: 0 0 .2rem; font-size: 1.05rem; }
.info-tile p, .info-tile a { margin: 0; color: var(--text-soft); font-size: .95rem; }
.info-tile a:hover { color: var(--gold); }
.info-tile > div { min-width: 0; overflow-wrap: anywhere; }

.hours-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { color: var(--gold); font-weight: 700; }
.hours-row .t { color: var(--text-soft); }
.hours-row.today .t { color: var(--gold); }

/* ---- Page hero (inner pages) --------------------------------------------- */
.page-hero { background: var(--bg-alt); padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2.2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: .5rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin-bottom: .5rem; }
.page-hero p { color: var(--text-soft); max-width: 46rem; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: var(--text-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--text-soft); } .crumbs a:hover { color: var(--gold); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--wood-deep); color: #e9d9c6; padding: 3.2rem 0 1.6rem; }
:root[data-theme="dark"] .site-footer { background: #120c07; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.2rem; }
.footer-brand .hw { font-family: var(--head); font-weight: 600; font-size: 1.4rem; color: #fff; display: block; margin-bottom: .5rem; }
.footer-brand p { color: rgba(233,217,198,.72); font-size: .94rem; max-width: 26rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(233,217,198,.78); font-size: .94rem; }
.footer-links a:hover { color: var(--gold-soft); }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #e9d9c6; }
.social-row a:hover { background: var(--gold); color: #241802; }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: .86rem; color: rgba(233,217,198,.62); }
.footer-bottom a { color: var(--gold-soft); font-weight: 600; }
.footer-bottom .heart { color: #e2564f; }

/* ---- Floating WhatsApp --------------------------------------------------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.5);
  animation: wa-pulse 2.6s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 10px 30px rgba(37,211,102,.5); } 50% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 12px rgba(37,211,102,.0); } }

/* ---- Scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cat-card img, .product .pic img { transition: none; }
  .wa-float { animation: none; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
}

/* ===== Phones & small tablets ============================================= */
@media (max-width: 760px) {
  .hamburger { display: grid; }
  .nav-cta { display: none; }
  nav { margin-left: auto; }

  /* Menu = a full-width dropdown that drops down UNDER the header.
     (No off-canvas panel = nothing can stick out sideways / force pinch-zoom.) */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0,0,0,.22);
    padding: .4rem 5% 1rem; max-height: calc(100vh - 60px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) {
    display: block; padding: .85rem .6rem; font-size: 1.04rem; font-weight: 600;
    border-radius: 8px; border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { background: var(--bg-alt); color: var(--gold); }
  .nav-links a.active::after { display: none; }

  .nav-panel-head { display: none; }           /* brand already sits in the top bar */
  .nav-panel-foot {
    display: grid; gap: .55rem; margin-top: .7rem; padding-top: .9rem;
    border-top: 1px solid var(--line);
  }
  .nav-panel-foot .btn { width: 100%; }

  /* One clean column everywhere — cards sit full-width instead of squeezing */
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .grid { gap: 1rem; }
  .steps { grid-template-columns: 1fr; gap: .9rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 16 / 10; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 2.6rem 0; }

  /* Trim the chrome, keep the content (mobile discipline) */
  .trust-row { display: none; }

  /* Compact the value / step cards so they're short and tidy */
  .card { padding: 1.15rem 1.1rem; }
  .card .ico { width: 42px; height: 42px; margin-bottom: .7rem; }
  .card .ico svg { width: 22px; height: 22px; }
  .card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
  .card p { font-size: .93rem; }
  .step { padding: 1.3rem 1.2rem; }
  .step .n { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; margin-bottom: .7rem; }

  .section-head { margin-bottom: 1.7rem; }
  .section-head h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .section-head p { font-size: .97rem; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
  .hero-copy .lead, .page-hero p { font-size: 1rem; }
  .hero { padding: 2rem 0 2.6rem; }

  /* Category tiles: wide short banners instead of tall portraits */
  .cat-card, .cat-card.tall { aspect-ratio: 16 / 9; }
  .cat-card h3 { font-size: 1.25rem; }
  .cat-card .overlay { padding: 1.1rem; }

  /* Product cards: roomy image (money section) but not oversized */
  .product .pic { aspect-ratio: 16 / 11; }

  /* Footer: brand on its own row, links share the rest */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }

  .gallery-grid { columns: 2; column-gap: .7rem; }
}

/* ===== Narrow phones ====================================================== */
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  /* Stack CTAs full-width so nothing gets squeezed side by side */
  .hero-cta, .cta-band .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-band .hero-cta .btn { width: 100%; }
  .cat-card, .cat-card.tall { aspect-ratio: 16 / 10; }
  .btn-lg { padding: .9rem 1.4rem; font-size: 1rem; }
}

@media (max-width: 380px) {
  .gallery-grid { columns: 1; }
}
