/* ==========================================================================
   Highlands Training Centre — Chepterit, Kapsabet (Nandi)
   One stylesheet for the whole site. The palette is taken from the place
   itself: the deep tea-green of the highland gardens and the HTC logo, a
   warm gold for the sun-on-the-lawns feel, and plenty of cream.
   ========================================================================== */

/* ---- Theme tokens -------------------------------------------------------- */
:root {
  --green:        #14663A;   /* deep tea / highland green — the HTC logo */
  --green-deep:   #0E4A2A;
  --green-bright: #1E8A4E;   /* lighter, for links & gradients */
  --gold:         #B8860B;   /* warm highland gold */
  --gold-bright:  #D4A82A;
  --gold-soft:    #E7CE72;

  --bg:        #f7f5ec;
  --bg-alt:    #edefe4;
  --surface:   #ffffff;
  --text:      #15271c;
  --text-soft: #556258;
  --line:      rgba(21, 39, 28, .12);
  --shadow:    0 16px 44px rgba(14, 74, 42, .15);
  --shadow-sm: 0 7px 20px rgba(14, 74, 42, .11);

  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Mulish", system-ui, -apple-system, sans-serif;

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

:root[data-theme="dark"] {
  --green-bright: #4cc584;
  --gold:         #D4A82A;
  --bg:        #0b1611;
  --bg-alt:    #11201a;
  --surface:   #14281f;
  --text:      #eaf3ed;
  --text-soft: #a2b6aa;
  --line:      rgba(234, 243, 237, .13);
  --shadow:    0 18px 46px rgba(0, 0, 0, .55);
  --shadow-sm: 0 9px 24px rgba(0, 0, 0, .45);
}

/* Follow the system on the very first visit (JS stamps data-theme after) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green-bright: #4cc584;
    --gold:         #D4A82A;
    --bg:        #0b1611;
    --bg-alt:    #11201a;
    --surface:   #14281f;
    --text:      #eaf3ed;
    --text-soft: #a2b6aa;
    --line:      rgba(234, 243, 237, .13);
    --shadow:    0 18px 46px rgba(0, 0, 0, .55);
    --shadow-sm: 0 9px 24px rgba(0, 0, 0, .45);
  }
}

/* ---- 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: 700;
  line-height: 1.14;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--green-bright); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

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: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  color: var(--gold);
  margin-bottom: .7rem;
  display: inline-block;
}

.section-head { max-width: 680px; 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: 800;
  font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px 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(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; box-shadow: var(--shadow-sm); }

.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #2c2000; }
.btn-gold:hover { color: #1c1500; box-shadow: 0 10px 26px rgba(184, 134, 11, .4); }

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

.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) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; padding: .6rem 0; }

.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .wordmark { font-family: var(--head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand-text .wordmark span { color: var(--green-bright); }
.brand-text .tag { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-top: 3px; }

nav { margin-left: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-weight: 700; font-size: .9rem;
  padding: .5rem .6rem; border-radius: 9px; display: block;
}
.nav-links a:hover { color: var(--green-bright); background: var(--bg-alt); }
.nav-links a.active { color: var(--green-bright); }
.nav-links a.active::after {
  content: ""; display: block; height: 2.5px; 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: 11px; 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(--green-bright); }
.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.15rem; }

.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::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(30,138,78,.18), transparent 68%); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; 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: 700;
  line-height: 1.3; color: var(--text-soft); margin-bottom: 1.2rem; box-shadow: var(--shadow-sm);
}
.hero-copy .badge .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.hero-copy h1 .accent { color: var(--green-bright); }
.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.5;
}
.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(--green-deep) 90%, transparent); color: #fff;
  padding: .6rem 1rem; border-radius: 12px; font-size: .84rem; font-weight: 700;
  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: 700; color: var(--text-soft); }
.trust-row .item svg { width: 22px; height: 22px; color: var(--green-bright); 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); }

/* ---- Service / category 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.1; 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(9,40,24,.92) 8%, rgba(9,40,24,.32) 50%, rgba(9,40,24,.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,.86); font-size: .9rem; margin: 0; }
.cat-card .go {
  margin-top: .7rem; font-weight: 800; font-size: .82rem; color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: .3rem; text-transform: uppercase; letter-spacing: .08em;
}
.cat-card.solid { background: linear-gradient(150deg, var(--green-bright), var(--green-deep)); }
.cat-card.solid .overlay { background: none; }
.cat-card.solid .tile-ico {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 64px; height: 64px;
  color: rgba(255,255,255,.9);
}
.cat-card.solid .tile-ico svg { width: 100%; height: 100%; }
.cat-card.solid::after {
  content: ""; position: absolute; left: -40px; bottom: -40px; width: 170px; height: 170px;
  background: radial-gradient(circle, rgba(212,168,42,.5), transparent 70%);
}

/* ---- Value / feature 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: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--green-bright); margin-bottom: 1rem;
}
.card .ico svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* ---- Photo + text service rows (pages) ----------------------------------- */
.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: .93rem; margin-bottom: .9rem; flex: 1; }
.product .foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product .price-note { font-weight: 800; color: var(--gold); font-size: .9rem; }
.product .ask { font-weight: 800; font-size: .88rem; color: var(--green-bright); display: inline-flex; align-items: center; gap: .35rem; }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--green-bright); background: var(--bg-alt);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem; align-self: flex-start;
}

/* Map embed (contact) */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Feature list with icons */
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.feat-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feat-list .fi { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--bg-alt); color: var(--green-bright); display: grid; place-items: center; }
.feat-list .fi svg { width: 22px; height: 22px; }
.feat-list h4 { margin: 0 0 .2rem; font-size: 1.06rem; }
.feat-list p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* Checkbox pick grid (booking form) */
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1rem; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick label {
  display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border: 1.5px solid var(--line);
  border-radius: 11px; cursor: pointer; font-weight: 700; font-size: .92rem; background: var(--bg); transition: border-color .15s, background .15s;
}
.pick input:checked + label { border-color: var(--green-bright); background: color-mix(in srgb, var(--green-bright) 12%, var(--bg)); }
.pick label::before {
  content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--line); flex: none; transition: background .15s, border-color .15s;
}
.pick input:checked + label::before { background: var(--green-bright); border-color: var(--green-bright); }
@media (max-width: 560px){ .pick-grid { grid-template-columns: 1fr; } }

/* ---- 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.3; }
.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: .15rem; width: 1.35rem; height: 1.35rem;
  background: var(--green-bright); border-radius: 50%;
}
.list-check li::after {
  content: ""; position: absolute; left: .46rem; top: .34rem; width: .42rem; height: .74rem;
  border: solid #fff; border-width: 0 .16rem .16rem 0; transform: rotate(45deg);
}

/* ---- Steps --------------------------------------------------------------- */
.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: 800; font-size: 1.4rem;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; 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: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--green-bright); line-height: 1; }
.stat .lab { color: var(--text-soft); font-size: .9rem; margin-top: .4rem; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #eafaf0; 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(212,168,42,.42), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); position: relative; }
.cta-band p { color: rgba(234,250,240,.86); 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); position: relative; }
.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); }
.gallery-grid .shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem;
  background: linear-gradient(to top, rgba(9,40,24,.85), transparent);
  color: #fff; font-size: .82rem; font-weight: 700; opacity: 0; transition: opacity .25s ease;
}
.gallery-grid .shot:hover .cap { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6,18,12,.95); 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,.14); 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: #2c2000; }
.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: 700; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 11px; 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(--green-bright); }
.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(--green-bright); 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(--green-bright); }
.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(--green-bright); font-weight: 800; }
.hours-row .t { color: var(--text-soft); }
.hours-row.today .t { color: var(--green-bright); }

/* ---- 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); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(212,168,42,.16), transparent 70%);
}
.page-hero.photo { border-bottom: 0; }
.page-hero.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(to right, rgba(9,40,24,.9), rgba(9,40,24,.55)), var(--hero-img);
  background-size: cover; background-position: center;
}
.page-hero.photo .wrap { position: relative; z-index: 1; }
.page-hero.photo .eyebrow { color: var(--gold-soft); }
.page-hero.photo h1 { color: #fff; }
.page-hero.photo p { color: rgba(255,255,255,.9); }
.page-hero.photo .crumbs, .page-hero.photo .crumbs a { color: rgba(255,255,255,.75); }
.page-hero .wrap { position: relative; z-index: 1; }
.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: 48rem; 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(--green-bright); }

/* ---- Prose (about) ------------------------------------------------------- */
.prose p { color: var(--text-soft); font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-top: 2rem; }

/* ---- Quote / pull ------------------------------------------------------- */
.pull {
  border-left: 4px solid var(--gold); padding: .3rem 0 .3rem 1.4rem; margin: 1.6rem 0;
  font-family: var(--head); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 600; color: var(--text);
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--green-deep); color: #d7eade; padding: 3.2rem 0 1.6rem; }
:root[data-theme="dark"] .site-footer { background: #071009; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.2rem; }
.footer-brand .wordmark { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: #fff; display: block; margin-bottom: .5rem; }
.footer-brand p { color: rgba(215,234,222,.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(215,234,222,.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: 11px; background: rgba(255,255,255,.09); display: grid; place-items: center; color: #d7eade; }
.social-row a:hover { background: var(--gold); color: #2c2000; }
.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(215,234,222,.62); }
.footer-bottom a { color: var(--gold-soft); font-weight: 700; }
.footer-bottom .heart { color: #ff6b63; }

/* ---- 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 / 11; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { 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 UNDER the header (no off-canvas panel that
     could stick out sideways and force pinch-zoom on phones). */
  .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: 700;
    border-radius: 9px; border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { background: var(--bg-alt); color: var(--green-bright); }
  .nav-links a.active::after { display: none; }

  .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 / 11; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 2.6rem 0; }

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

  .card { padding: 1.15rem 1.1rem; }
  .card .ico { width: 44px; height: 44px; margin-bottom: .7rem; }
  .card .ico svg { width: 23px; height: 23px; }
  .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: 1.6rem 0 2.6rem; }

  /* Money sections stay roomy but tidy (not tall portraits) */
  .cat-card { aspect-ratio: 16 / 10; }
  .cat-card h3 { font-size: 1.25rem; }
  .cat-card .overlay { padding: 1.1rem; }
  .product .pic { aspect-ratio: 16 / 11; }

  .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; }
  .hero-cta, .cta-band .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .cta-band .hero-cta .btn { width: 100%; }
  .cat-card { aspect-ratio: 16 / 10; }
  .btn-lg { padding: .9rem 1.4rem; font-size: 1rem; }
}

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