/* =========================================================
   RIROTHE HEALTH  |  styles.css
   Layout: white header, green hero panel with photo, white
   content sections, green compliance band, contact strip.
   Change the colours below to restyle the whole site.
   ========================================================= */

:root {
  --green-900: #073b18;
  --green-800: #0b4a1f;
  --green-700: #11662a;
  --green-500: #3fae1e;
  --lime: #6ccf1d;
  --lime-soft: #e9f7dc;
  --ink: #12301a;
  --muted: #4a5f50;
  --line: #dfe8dc;
  --bg: #ffffff;
  --bg-soft: #f4f9f1;

  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 74, 31, .10);
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; color: var(--green-800); }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-800); }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 88px); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-500); margin-bottom: 14px;
}
.eyebrow i { display: block; width: 70px; height: 2px; background: var(--green-500); }
.eyebrow.light { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .95rem var(--font-body); text-decoration: none; color: #fff;
  background: linear-gradient(180deg, var(--lime), var(--green-500));
  box-shadow: 0 6px 16px rgba(63, 174, 30, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(63, 174, 30, .4); }
.btn svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { height: 60px; width: auto; flex-shrink: 0; }
.brand-logo[hidden] { display: none; }
/* When the real logo loads, hide only the placeholder icon box - keep the company name text beside it */
.brand.has-logo .brand-mark { display: none; }
.brand-text { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-800); color: var(--lime); font-size: 1.6rem;
}
.brand-mark svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words strong { font-size: 1.15rem; font-weight: 800; color: var(--green-800); letter-spacing: .02em; line-height: 1; }
.brand-words strong em { font-style: normal; color: var(--green-500); }
.brand-words small { margin-top: 5px; font-size: .52rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.main-nav a {
  position: relative; padding: 8px 2px; font-size: .9rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--green-500); transform: scaleX(0); transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--green-700); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 3px; border-radius: 3px; background: var(--green-800); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; min-height: 520px; background: var(--green-900); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.hero-panel {
  position: relative; display: flex; align-items: center;
  width: min(62%, 780px);
  padding-block: 64px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-bottom-right-radius: 70% 100%;
  border-top-right-radius: 40% 25%;
  color: #fff;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: clamp(40px, 9vw, 130px); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero h1 > span:not(.tw-ch) { color: var(--lime); font-weight: 800; }
.hero .lead { max-width: 46ch; font-size: .98rem; color: rgba(255, 255, 255, .92); }

/* ---------- Typewriter heading ---------- */
.tw-ch { position: relative; visibility: hidden; }
.tw-ch.tw-on { visibility: visible; }
.tw-cur::after {
  content: ""; position: absolute; left: 100%; top: 8%; height: 84%; width: .06em; margin-left: .04em;
  background: currentColor;
}
.tw-cur.tw-done::after { animation: tw-blink 1s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }

/* inner pages use the same hero, slightly shorter */
.hero-page { min-height: 440px; }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

.founder { margin: 0; position: relative; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
  border-radius: 12px; background: var(--green-800); color: #fff;
}
.founder figcaption strong { font-size: 1.1rem; }
.founder figcaption span { font-size: .85rem; color: var(--lime); font-weight: 600; }
.founder figcaption .qual { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .78rem; }

.about-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.about-copy > p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }

.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.vm article { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.vm article p { font-size: .92rem; color: var(--muted); }
.vm-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: var(--lime); font-size: 1.3rem; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- What we do ---------- */
.what { background: var(--bg-soft); }
.what h2 { margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 22px 24px; }
.card-body p { font-size: .92rem; color: var(--muted); }
.card-icon {
  position: absolute; top: -24px; left: 22px; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem;
  background: linear-gradient(180deg, var(--lime), var(--green-500)); color: #fff; box-shadow: 0 4px 12px rgba(63, 174, 30, .4);
}

/* ---------- Who we serve ---------- */
.serve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.serve-grid > div { display: flex; flex-direction: column; gap: 16px; }
.serve-grid p:not(.eyebrow) { color: var(--muted); max-width: 46ch; }

.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tiles li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  flex: 0 0 calc(25% - 11px); min-width: 120px;
  padding: 18px 10px; border: 1px solid var(--line); border-radius: 12px;
  font-size: .8rem; font-weight: 600; color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(11, 74, 31, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tiles li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem;
  background: linear-gradient(180deg, var(--green-500), var(--green-800)); color: #fff;
}

/* ---------- Compliance band ---------- */
.band {
  padding-block: clamp(40px, 6vw, 64px); color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(108, 207, 29, .35), transparent 45%),
    linear-gradient(120deg, var(--green-900), var(--green-700));
}
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.band-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.band-points li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding-inline: 8px; font-size: .82rem; font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.band-points li:first-child { border-left: 0; }
.ring { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--lime); font-size: 1.6rem; color: #fff; }

/* ---------- Service areas ---------- */
.areas { background: var(--bg); text-align: center; }
.areas .eyebrow { justify-content: center; }
.areas h2 { margin-bottom: 28px; }
.area-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.area-list li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; background: var(--lime-soft); color: var(--green-800); }
.area-list svg { color: var(--green-500); font-size: 1.1rem; }
.regions { margin-top: 22px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-500); font-size: .9rem; }

/* ---------- Quote ---------- */
.quote { background: var(--bg-soft); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-intro { display: flex; flex-direction: column; gap: 14px; }
.quote-intro p:not(.eyebrow) { color: var(--muted); max-width: 40ch; }

.quote-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.wide, .quote-form .wide { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; color: var(--green-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 500 .95rem var(--font-body); color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(108, 207, 29, .25); }
.field .invalid { border-color: #c0392b; }
.form-error { grid-column: 1 / -1; padding: 10px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600; color: #8a1f12; background: #fdecea; }

/* ---------- Contact ---------- */
.contact { position: relative; padding-block: clamp(32px, 5vw, 52px); background: linear-gradient(180deg, #fff, var(--lime-soft)); border-top: 4px solid var(--lime); }
.contact-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }

.contact-badge {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 34px 18px 26px;
  background: var(--green-800); color: #fff; transform: rotate(-4deg); border-radius: 6px 24px 6px 24px;
}
.contact-badge span { font-family: var(--font-script); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: #fff; }
.contact-badge strong { margin-top: 4px; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lime); }

.contact-list { display: flex; flex-direction: column; gap: 12px; padding-inline: clamp(16px, 3vw, 36px); border-inline: 1px solid var(--line); min-width: 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-list a { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--green-800); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--green-500); }
.contact-list small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-right: 6px; }
.c-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green-800); color: #fff; font-size: 1.15rem; }

.script-tag { font-family: var(--font-script); font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.25; color: var(--green-800); transform: rotate(-4deg); text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #fff; font-size: .78rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.foot-tag { display: inline-flex; align-items: center; gap: 8px; }
.foot-tag svg { color: var(--lime); }

/* ---------- Shared additions for the multi-page site ---------- */
.btn-outline { background: none; color: var(--green-800); border: 2px solid var(--green-500); box-shadow: none; }
.btn-outline:hover { background: var(--lime-soft); box-shadow: none; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .88rem; font-weight: 700; color: var(--green-500); text-decoration: none; }
.more svg { width: 1.1em; height: 1.1em; }
.more:hover { color: var(--green-700); }

.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--green-500); color: #fff; stroke-width: 3; }

/* Home intro */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.intro-copy > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.facts { display: grid; gap: 14px; }
.facts li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-left: 5px solid var(--green-500); border-radius: var(--radius); background: var(--bg-soft); }
.facts strong { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--green-800); min-width: 1.2ch; }
.facts span { font-size: .9rem; font-weight: 600; color: var(--muted); }
.card-body .more { align-self: flex-start; }

/* About */
.about-copy > p:not(.eyebrow) { max-width: 62ch; }
.vm-section { background: var(--bg-soft); }
.vm-section h2 { margin-bottom: 28px; }
.vm-large article { background: #fff; padding: 28px; }
.vm-large article p { font-size: 1rem; }
.values h2 { margin-bottom: 32px; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.value-grid li { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.value-grid p { font-size: .9rem; color: var(--muted); }
.what.values { background: var(--bg); }
.approach h2 { margin-bottom: 32px; max-width: 24ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--green-500); }
.steps p { font-size: .9rem; color: var(--muted); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: #fff; background: var(--green-800); }

/* Services */
.jump { position: sticky; top: 84px; z-index: 40; background: var(--green-800); }
.jump-inner { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; }
.jump a { flex: none; padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.jump a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-900); }
.svc-section { background: var(--bg); }
.svc-stack { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 88px); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: 150px; }
.svc.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.svc.rev .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-icon { top: auto; left: 18px; bottom: -22px; }
.svc-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.svc-copy > p { color: var(--muted); max-width: 62ch; }
.svc-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.svc-lists h3 { font-size: .95rem; margin-bottom: 10px; }
.serve-alt { background: var(--bg-soft); }

/* Quote */
.side-title { margin-top: 14px; }
.quote-intro .checks { margin-top: 2px; }

/* Contact */
.contact-methods { background: var(--bg); }
.contact-methods h2 { margin-bottom: 32px; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.method { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow); min-width: 0; }
.method .c-ico { width: 52px; height: 52px; font-size: 1.4rem; }
.method p { font-size: .92rem; color: var(--muted); }
.method-link { font-size: 1.1rem; font-weight: 800; color: var(--green-800); text-decoration: none; overflow-wrap: anywhere; }
.method .btn { margin-top: auto; }
.contact-grid-simple { grid-template-columns: auto minmax(0, 1fr) auto; }
.close-copy { font-weight: 600; font-size: 1.05rem; color: var(--green-800); max-width: 46ch; }

/* ---------- Picture placeholders (added by script.js) ---------- */
img.is-placeholder { background: #e5efe1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .serve-grid, .quote-grid, .band-grid { grid-template-columns: minmax(0, 1fr); }
  .founder { max-width: 420px; }
  .tiles li { flex-basis: calc(33.333% - 10px); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .contact-list { border-inline: 0; border-block: 1px solid var(--line); padding: 18px 0; width: 100%; }
  .hero-panel { width: min(80%, 640px); }
  .hero-page { min-height: 460px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc, .svc.rev { grid-template-columns: minmax(0, 1fr); }
  .svc.rev .svc-media { order: 0; }
  .svc-media { max-width: 560px; }
  .method-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid-simple { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease, visibility .25s;
  }
  .main-nav.open { max-height: 380px; visibility: visible; }
  .main-nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--lime-soft); }

  /* HERO (phones): photo on top with the bins fully visible, green panel
     below with the same curved shape as desktop. */
  .hero { display: block; min-height: 0; overflow: hidden; background: var(--green-900); }
  .hero-page { min-height: 0; }
  .hero-photo { position: relative; inset: auto; height: clamp(260px, 72vw, 360px); overflow: hidden; }
  .hero-photo img { object-position: 78% 70%; }
  .hero-panel {
    width: 100%; margin-top: -56px; padding-block: 48px 48px;
    border-radius: 0;
    border-top-right-radius: 70% 56px;
    border-top-left-radius: 0;
  }
  .hero-copy { gap: 16px; padding-right: var(--gutter); }
  .hero h1 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .hero .lead { font-size: .9rem; max-width: none; }
  .hero .btn { padding: 13px 24px; font-size: .9rem; }

  .vm { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .value-grid, .steps, .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .svc-lists { grid-template-columns: minmax(0, 1fr); }
  .jump { top: 84px; }
  .band-points { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .band-points li:nth-child(3) { border-left: 0; }
  .tiles li { flex-basis: calc(50% - 7px); }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-soft); text-align: center; }
.testimonials .eyebrow { justify-content: center; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 32px; text-align: left; }
.t-card { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.t-card::before { content: "\201C"; position: absolute; top: 4px; right: 20px; font: 800 5rem/1 Georgia, serif; color: var(--lime-soft); pointer-events: none; }
.t-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(11, 74, 31, .16); }
.t-stars { display: flex; gap: 3px; }
.t-stars svg { width: 20px; height: 20px; fill: #f5b301; stroke: none; }
.t-card blockquote { position: relative; margin: 0; font-size: .96rem; color: var(--ink); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-card figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.t-card figcaption strong { font-size: .95rem; color: var(--green-800); }
.t-card figcaption small { font-size: .8rem; color: var(--muted); }
.t-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-800); color: var(--lime); font-weight: 800; }

/* =========================================================
   ANIMATIONS
   - Page elements fade/slide in as you scroll (script.js adds .reveal)
   - Hero picture slowly drifts, hero text slides in
   - Cards, icons, buttons and the header react on hover/scroll
   All of it switches off for visitors who prefer reduced motion.
   ========================================================= */

/* hero: slow "breathing" zoom on the picture + text slides in */
.hero-photo img { transform-origin: 70% 55%; animation: hero-drift 22s ease-in-out infinite alternate; }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.09); } }

.hero-panel { animation: panel-in .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .25s; }
.hero-copy > *:nth-child(2) { animation-delay: .4s; }
.hero-copy > *:nth-child(3) { animation-delay: .55s; }
.hero-copy > *:nth-child(4) { animation-delay: .7s; }
.hero-copy > *:nth-child(5) { animation-delay: .85s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* header: gets a soft shadow once you scroll; logo nudges on hover */
.site-header { transition: box-shadow .25s ease, min-height .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(11, 74, 31, .12); }
.brand-logo { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.08); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .75s ease var(--d, 0s), transform .75s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) !important; }
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* hover life */
.card { transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(11, 74, 31, .18); }
.card img { transition: transform .6s ease; }
.card:hover img { transform: scale(1.07); }
.card-icon, .ring, .vm-icon, .c-ico, .ico { transition: transform .3s ease; }
.card:hover .card-icon, .band-points li:hover .ring, .tiles li:hover .ico, .vm article:hover .vm-icon, .contact-list li:hover .c-ico { transform: scale(1.14) rotate(-6deg); }
.vm article, .svc-media img, .founder img { transition: transform .35s ease, box-shadow .35s ease; }
.vm article:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-media img:hover, .founder img:hover { transform: scale(1.02); }

/* buttons: shine sweep + gentle pulse on the main call-to-action */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn:hover::after { left: 130%; transition: left .6s ease; }
.hero .btn { animation: rise .8s .85s cubic-bezier(.2, .7, .2, 1) both, pulse 2.8s 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(63, 174, 30, .35); } 50% { box-shadow: 0 6px 16px rgba(63, 174, 30, .35), 0 0 0 10px rgba(108, 207, 29, .18); } }

/* contact strip badge floats */
.contact-badge { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

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