/**
 * Wangari — Growvi Design System
 * Rebuilt pixel-by-pixel to match the live Growvi organic-farm template:
 * cream #F4F5F8 background, ink #000B22, lime #22C55E, tan #81754F,
 * Inter Tight + Instrument Serif, pill buttons, image hero with white text,
 * word-by-word hero reveal + scroll-triggered section animations.
 * Loaded LAST so it overrides all legacy styles.
 */

/* ─────────────────────────────────────────────── */
/* 1. DESIGN TOKENS                               */
/* ─────────────────────────────────────────────── */
:root {
    --g-ink: #000B22;          /* Growvi deep navy */
    --g-ink-2: #0A1733;
    --g-lime: #22C55E;         /* Growvi acid lime */
    --g-lime-soft: rgba(34, 197, 94, 0.12);
    --g-cream: #F4F5F8;        /* Growvi page background */
    --g-surface: #FFFFFF;
    --g-tan: #81754F;          /* earth tan accent */
    --g-text: #0B1220;
    --g-muted: #5A6472;
    --g-line: #E4E8EF;
    --g-num: #525250;          /* service number color (rgb 82,82,80) */
    --g-radius: 14px;
    --g-radius-sm: 8px;
    --g-font: 'Inter Tight', sans-serif;
    --g-serif: 'Instrument Serif', serif;
    --g-container: 1200px;
    --g-pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--g-font);
    color: var(--g-text);
    background: var(--g-cream);   /* Growvi: #F4F5F8 */
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0 !important;        /* override legacy fixed-navbar offset */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--g-font);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--g-text);
    margin: 0 0 0.75rem;
}

.g-serif, .font-serif { font-family: var(--g-serif); font-style: italic; font-weight: 400; }

p { margin: 0 0 1rem; }

img { max-width: 100%; }

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

.g-container {
    max-width: var(--g-container);
    margin: 0 auto;
    padding: 0 var(--g-pad);
}

/* ─────────────────────────────────────────────── */
/* 2. BUTTONS — Growvi pill buttons               */
/* ─────────────────────────────────────────────── */
.g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-family: var(--g-font);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.g-btn:hover { transform: translateY(-2px); }

.g-btn-lime {
    background: var(--g-lime);
    color: var(--g-ink);
}
.g-btn-lime:hover { box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35); }

.g-btn-dark {
    background: var(--g-ink);
    color: #fff;
}
.g-btn-dark:hover { box-shadow: 0 12px 30px rgba(0, 11, 34, 0.25); }

.g-btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.45);
    color: #fff;
}
.g-btn-outline:hover { border-color: var(--g-lime); color: var(--g-lime); }

.g-btn-outline-dark {
    background: transparent;
    border-color: var(--g-line);
    color: var(--g-text);
}
.g-btn-outline-dark:hover { border-color: var(--g-ink); }

/* ─────────────────────────────────────────────── */
/* 3. NAVBAR — transparent over hero, pill CTA    */
/* ─────────────────────────────────────────────── */
.g-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2.3rem 0 0;
    height: 87px;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.g-nav.scrolled {
    background: rgba(0, 11, 34, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.9rem 0;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,11,34,0.18);
}



.g-nav-inner {
    max-width: var(--g-container);
    margin: 0 auto;
    padding: 0 var(--g-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.g-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.g-logo img { height: 40px; width: auto; }
.g-logo em { font-family: var(--g-serif); font-style: italic; color: var(--g-lime); font-weight: 400; }

.g-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.g-nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    padding: 0.3rem 0;
    line-height: 1;
}
.g-nav-links a:hover,
.g-nav-links a.active { color: var(--g-lime); }

.g-nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g-nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.g-nav-cart:hover { border-color: var(--g-lime); color: var(--g-lime); }
.g-nav-cart .g-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--g-lime);
    color: var(--g-ink);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.g-nav-cta {
    padding: 0.6rem 1.3rem;
    font-size: 0.75rem;
}

.g-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.g-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}
.g-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.g-hamburger.open span:nth-child(2) { opacity: 0; }
.g-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────── */
/* 4. HERO — background image + white text        */
/* ─────────────────────────────────────────────── */
.g-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: clamp(9rem, 18vh, 12rem) 0 clamp(4rem, 9vh, 6.5rem);
    overflow: hidden;
    background: var(--g-ink);
}

.g-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.g-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.g-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,11,34,0.6) 0%, rgba(0,11,34,0.35) 50%, rgba(0,11,34,0.8) 100%);
}

/* Keep hero content above the background image */
.g-hero > .g-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.g-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: gFadeUp 0.7s ease 0.2s forwards;
}
.g-hero-tag::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--g-lime);
    display: inline-block;
}

.g-hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 6.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    max-width: 16ch;
    margin-bottom: 1.5rem;
}

/* Word-by-word reveal: each word wrapped in .g-word */
.g-word {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
    transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
    will-change: transform, opacity, filter;
}
.g-word.in {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.g-hero h1 .g-serif { color: var(--g-lime); }

.g-hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 54ch;
    margin-bottom: 2.2rem;
    opacity: 0;
    animation: gFadeUp 0.7s ease 0.9s forwards;
}

.g-hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: gFadeUp 0.7s ease 1.1s forwards;
}

/* Hero stats — Growvi: 48px numbers, row */
.g-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-top: clamp(2.5rem, 6vh, 4rem);
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.18);
    opacity: 0;
    animation: gFadeUp 0.7s ease 1.3s forwards;
}

.g-stat .g-stat-num {
    font-family: var(--g-font);
    font-weight: 600;
    font-size: 3rem;
    color: var(--g-lime);
    line-height: 1;
    display: block;
    margin-bottom: 0.4rem;
}
.g-stat .g-stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes gFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────── */
/* 5. PAGE HERO (inner pages)                     */
/* ─────────────────────────────────────────────── */
.g-page-hero {
    background: var(--g-ink);
    color: #fff;
    padding: clamp(8rem, 13vh, 10rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.g-page-hero::before {
    content: '';
    position: absolute;
    left: -100px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.12), transparent 65%);
}
.g-page-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    margin-bottom: 0.9rem;
}
.g-page-hero h1 .g-serif { color: var(--g-lime); }
.g-page-hero p { color: rgba(255,255,255,0.7); max-width: 60ch; margin: 0 auto; font-size: 1.08rem; }

/* ─────────────────────────────────────────────── */
/* 6. SECTIONS — Growvi rhythm                    */
/* ─────────────────────────────────────────────── */
.g-section { padding: clamp(4rem, 10vh, 6.5rem) 0; }
.g-section-cream { background: var(--g-cream); }
.g-section-ink { background: var(--g-ink); color: #fff; }
.g-section-ink h2, .g-section-ink h3, .g-section-ink h4 { color: #fff; }
.g-section-ink p { color: rgba(255,255,255,0.66); }

.g-section-head {
    max-width: 640px;
    margin-bottom: clamp(2.2rem, 5vh, 3.5rem);
}
.g-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.g-eyebrow {
    display: inline-block;
    color: var(--g-tan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.g-section-cream .g-eyebrow { color: var(--g-tan); }
.g-section-ink .g-eyebrow { color: var(--g-lime); }

.g-section-head h2 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
}
.g-section-head h2 .g-serif { color: var(--g-tan); }
.g-section-ink .g-section-head h2 .g-serif { color: var(--g-lime); }
.g-section-head p { color: var(--g-muted); font-size: 1.02rem; }
.g-section-ink .g-section-head p { color: rgba(255,255,255,0.66); }

/* ─────────────────────────────────────────────── */
/* 7. SERVICES — numbered 01-04 with sub-tags     */
/* ─────────────────────────────────────────────── */
.g-numbered {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.g-numbered-item {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 2rem 1.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.g-numbered-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,11,34,0.08);
    border-color: rgba(34,197,94,0.7);
}

.g-numbered-item .g-num {
    display: block;
    font-family: var(--g-font);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--g-num);
    margin-bottom: 1.2rem;
}

.g-numbered-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.g-numbered-item > p {
    color: var(--g-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
}

/* Service sub-tags (e.g. Nutrition · Vitality) */
.g-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.g-service-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    background: var(--g-cream);
    border: 1px solid var(--g-line);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--g-text);
}

@media (max-width: 960px) {
    .g-numbered { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .g-numbered { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 8. CARDS / GRIDS                               */
/* ─────────────────────────────────────────────── */
.g-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.g-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.g-card {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 2rem 1.7rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,11,34,0.08); }

.g-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--g-lime);
    color: var(--g-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}

.g-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.g-card p { color: var(--g-muted); font-size: 0.92rem; margin: 0; }

@media (max-width: 860px) {
    .g-grid-3, .g-grid-2 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 9. PROJECTS — image cards + location + tags    */
/* ─────────────────────────────────────────────── */
.g-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.g-project {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-project:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,11,34,0.1); }

.g-project-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.9;
}
.g-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.g-project:hover .g-project-img img { transform: scale(1.05); }

.g-project-body { padding: 1.6rem; }
.g-project-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.g-project-body > p { color: var(--g-muted); font-size: 0.9rem; margin: 0 0 1.1rem; }

.g-project-loc {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--g-muted);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}
.g-project-loc svg { flex-shrink: 0; margin-top: 2px; color: var(--g-tan); }

.g-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.g-project-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    background: var(--g-cream);
    border: 1px solid var(--g-line);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--g-text);
}

@media (max-width: 900px) {
    .g-projects { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 10. PROCESS STEPS                              */
/* ─────────────────────────────────────────────── */
.g-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.g-step { padding: 1rem 0; }
.g-step .g-step-num {
    font-family: var(--g-serif);
    font-size: 2.2rem;
    color: var(--g-lime);
    display: block;
    margin-bottom: 0.8rem;
}
.g-step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.g-step p { color: rgba(255,255,255,0.66); font-size: 0.95rem; margin: 0; }

@media (max-width: 860px) {
    .g-process { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ─────────────────────────────────────────────── */
/* 11. TESTIMONIALS — Growvi 4.9/5 carousel       */
/* ─────────────────────────────────────────────── */
.g-testi-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.g-quote {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-quote:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,11,34,0.08); }

.g-quote-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
    color: var(--g-lime);
}
.g-quote p { color: var(--g-text); font-size: 0.95rem; margin-bottom: 1.4rem; }
.g-quote cite {
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--g-text);
}
.g-quote cite .g-quote-role { color: var(--g-muted); font-weight: 400; font-size: 0.8rem; }

.g-quote-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--g-ink);
    color: var(--g-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .g-testi-wrap { grid-template-columns: 1fr; }
}

/* About system split — stack on smaller screens */
.g-about-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
@media (max-width: 860px) {
    .g-about-split, .g-stack-mobile { grid-template-columns: 1fr !important; }
    .g-stack-mobile-260 { grid-template-columns: 1fr !important; }
}
@media (max-width: 860px) {
    .g-shop-sidebar { position: static !important; }
}

/* ─────────────────────────────────────────────── */
/* 12. CTA + CONTACT FORM                         */
/* ─────────────────────────────────────────────── */
.g-cta {
    position: relative;
    color: #fff;
    padding: clamp(4.5rem, 10vh, 7rem) 0;
    overflow: hidden;
}
.g-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.g-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.g-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,11,34,0.92) 0%, rgba(0,11,34,0.78) 60%, rgba(0,11,34,0.6) 100%);
}

.g-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.g-cta h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.g-cta h2 .g-serif { color: var(--g-lime); }
.g-cta p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.g-cta-contact {
    margin-top: 2rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    display: grid;
    gap: 0.4rem;
}
.g-cta-contact strong { color: var(--g-lime); font-weight: 600; }

.g-form {
    background: #fff;
    border-radius: var(--g-radius);
    padding: 2.2rem;
    display: grid;
    gap: 1.1rem;
    box-shadow: 0 30px 70px rgba(0,11,34,0.25);
}

.g-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--g-text);
    margin-bottom: 0.45rem;
}
.g-field label span { color: var(--g-tan); }

.g-field input,
.g-field select,
.g-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius-sm);
    font-family: var(--g-font);
    font-size: 0.92rem;
    color: var(--g-text);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.g-field textarea { min-height: 110px; resize: vertical; }
.g-field input:focus,
.g-field select:focus,
.g-field textarea:focus {
    outline: none;
    border-color: var(--g-lime);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

@media (max-width: 860px) {
    .g-cta-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 13. FAQ ACCORDION — Growvi numbered            */
/* ─────────────────────────────────────────────── */
.g-faq {
    display: grid;
    gap: 0.9rem;
    max-width: 760px;
    margin: 0 auto;
}

.g-faq-item {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.g-faq-item.open { border-color: rgba(34,197,94,0.7); }

.g-faq-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--g-text);
    user-select: none;
}
.g-faq-q .g-faq-num { color: var(--g-tan); font-weight: 600; font-size: 0.9rem; }
.g-faq-q .g-plus {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--g-tan);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.g-faq-item.open .g-plus { transform: rotate(45deg); }

.g-faq-a {
    display: none;
    padding: 0 1.5rem 1.3rem;
    color: var(--g-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.g-faq-item.open .g-faq-a { display: block; }

/* ─────────────────────────────────────────────── */
/* 14. BLOG CARDS                                 */
/* ─────────────────────────────────────────────── */
.g-blogs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.g-blog {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.g-blog:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,11,34,0.1); }

.g-blog-img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.g-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.g-blog:hover .g-blog-img img { transform: scale(1.05); }

.g-blog-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.g-blog-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--g-muted);
    margin-bottom: 0.8rem;
}
.g-blog-meta strong { color: var(--g-text); font-weight: 600; }
.g-blog-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.g-blog-body p { color: var(--g-muted); font-size: 0.9rem; flex: 1; }
.g-blog-date { color: var(--g-tan); font-size: 0.75rem; margin-top: 1rem; }

@media (max-width: 900px) {
    .g-blogs { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 15. PRODUCTS (shop)                            */
/* ─────────────────────────────────────────────── */
.g-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

.g-product {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.g-product:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,11,34,0.1); }

.g-product-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--g-cream); }
.g-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-product:hover .g-product-img img { transform: scale(1.06); }

.g-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--g-lime);
    color: var(--g-ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    z-index: 2;
}

.g-product-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.g-product-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.g-product-desc { color: var(--g-muted); font-size: 0.85rem; margin-bottom: 1rem; flex: 1; }
.g-product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.2rem; }
.g-product-price { font-family: var(--g-serif); font-size: 1.35rem; color: var(--g-ink); }
.g-product-btn {
    background: var(--g-ink);
    color: #fff;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-family: var(--g-font);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.g-product-btn:hover { background: var(--g-lime); color: var(--g-ink); transform: translateY(-2px); }

/* ─────────────────────────────────────────────── */
/* 16. FORMS, TABLES, SUMMARY                     */
/* ─────────────────────────────────────────────── */
.g-form-card {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 2rem;
}

.g-table-wrap { overflow-x: auto; }
.g-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--g-radius);
    overflow: hidden;
}
.g-table th {
    text-align: left;
    padding: 0.9rem 1.2rem;
    background: var(--g-cream);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--g-muted);
    border-bottom: 1px solid var(--g-line);
}
.g-table td {
    padding: 0.9rem 1.2rem;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--g-line);
}
.g-table tr:last-child td { border-bottom: none; }

.g-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--g-line);
    border-radius: 999px;
    overflow: hidden;
}
.g-qty button {
    background: #fff;
    border: none;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--g-text);
    transition: background 0.2s ease;
}
.g-qty button:hover { background: var(--g-cream); }
.g-qty span { min-width: 40px; text-align: center; font-weight: 600; }

.g-summary {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 1.8rem;
}
.g-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--g-muted);
    border-bottom: 1px dashed var(--g-line);
}
.g-summary-row.g-total {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--g-text);
    padding-top: 1rem;
}

/* ─────────────────────────────────────────────── */
/* 17. LOGO STRIP (trusted by)                    */
/* ─────────────────────────────────────────────── */
.g-logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--g-muted);
    text-transform: uppercase;
    font-size: 0.82rem;
}

/* ─────────────────────────────────────────────── */
/* 18. FOOTER                                     */
/* ─────────────────────────────────────────────── */
.g-footer {
    background: var(--g-ink);
    color: #fff;
    padding: clamp(3.5rem, 8vh, 5rem) 0 1.5rem;
    position: relative;
    overflow: hidden;
}
.g-footer::before {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.1), transparent 65%);
    pointer-events: none;
}

.g-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.g-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.g-footer-brand .g-logo { margin-bottom: 1rem; }
.g-footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 300px; }

.g-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.g-footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s ease; }
.g-footer-links a:hover { color: var(--g-lime); }

.g-subscribe { margin-top: 0.4rem; }
.g-subscribe p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0.9rem; }
.g-subscribe-form { display: flex; gap: 0.5rem; }
.g-subscribe-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: var(--g-font);
    font-size: 0.85rem;
}
.g-subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.g-subscribe-form input:focus { outline: none; border-color: var(--g-lime); }
.g-subscribe-form button {
    background: var(--g-lime);
    color: var(--g-ink);
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
    font-family: var(--g-font);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease;
}
.g-subscribe-form button:hover { filter: brightness(1.08); }

.g-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}
.g-footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 0; }
.g-footer-bottom a { color: rgba(255,255,255,0.45); font-size: 0.82rem; transition: color 0.2s ease; }
.g-footer-bottom a:hover { color: var(--g-lime); }

@media (max-width: 960px) {
    .g-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .g-footer-top { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────── */
/* 19. AUTH PAGES                                 */
/* ─────────────────────────────────────────────── */
.g-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--g-ink);
}
.g-auth-brand {
    background: var(--g-ink);
    color: #fff;
    padding: 3rem var(--g-pad);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.g-auth-brand::after {
    content: '';
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.16), transparent 65%);
}
.g-auth-brand h2 { color: #fff; font-size: 2.2rem; position: relative; }
.g-auth-brand h2 .g-serif { color: var(--g-lime); }
.g-auth-brand p { color: rgba(255,255,255,0.65); position: relative; max-width: 34ch; }

.g-auth-form {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem var(--g-pad);
}
.g-auth-card { width: 100%; max-width: 420px; }
.g-auth-card h1 { font-size: 1.9rem; margin-bottom: 0.4rem; }
.g-auth-card > p { color: var(--g-muted); margin-bottom: 2rem; }

@media (max-width: 800px) {
    .g-auth { grid-template-columns: 1fr; }
    .g-auth-brand { display: none; }
}

/* ─────────────────────────────────────────────── */
/* 20. DASHBOARD (customer)                       */
/* ─────────────────────────────────────────────── */
.g-dash { background: var(--g-cream); min-height: 100vh; }
.g-dash-nav {
    background: var(--g-ink);
    color: #fff;
    padding: 1rem var(--g-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.g-dash-body { max-width: var(--g-container); margin: 0 auto; padding: 2.5rem var(--g-pad); }
.g-dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.g-dash-tile {
    background: #fff;
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius);
    padding: 1.6rem;
}
.g-dash-tile .g-dash-num { font-family: var(--g-serif); font-size: 2.4rem; color: var(--g-ink); display: block; }
.g-dash-tile .g-dash-label { color: var(--g-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ─────────────────────────────────────────────── */
/* 21. SCROLL-REVEAL ANIMATIONS                   */
/* ─────────────────────────────────────────────── */
.g-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
.g-reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.g-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.g-reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.g-reveal-left.in, .g-reveal-right.in {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger helpers */
.g-delay-1 { transition-delay: 0.1s; }
.g-delay-2 { transition-delay: 0.2s; }
.g-delay-3 { transition-delay: 0.3s; }
.g-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────── */
/* 22. RESPONSIVE NAV                             */
/* ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .g-nav-links { gap: 1.2rem; }
}

@media (max-width: 860px) {
    .g-hamburger { display: flex; }

    .g-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--g-ink);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem var(--g-pad) 1.6rem;
        border-bottom: 1px solid rgba(34,197,94,0.2);
        display: none;
    }
    .g-nav-links.open { display: flex; }
    .g-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .g-nav-links li:last-child { border-bottom: none; }
    .g-nav-links a { display: block; padding: 0.85rem 0; font-size: 1rem; }
    .g-nav-cta { display: none; }

    .g-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .g-footer-top { grid-template-columns: 1fr; }
    .g-hero-actions .g-btn { width: 100%; }
}

/* ─────────────────────────────────────────────── */
/* 22b. MOBILE CARD POLISH                       */
/* ─────────────────────────────────────────────── */
@media (max-width: 560px) {
    .g-card, .g-quote { padding: 1.5rem 1.25rem; }
    .g-numbered-item { padding: 1.5rem 1.25rem; }
    .g-project-body, .g-blog-body { padding: 1.25rem; }
    .g-form { padding: 1.5rem 1.25rem; }
    .g-numbered { gap: 1rem; }
    .g-grid-3, .g-grid-2, .g-projects, .g-testi-wrap, .g-blogs, .g-process { gap: 1.1rem; }
    .g-section-head h2 { font-size: 1.7rem; }
    .g-section-head p { font-size: 0.95rem; }
    .g-card h3, .g-numbered-item h3, .g-project-body h3, .g-blog-body h3 { font-size: 1.05rem; }
    .g-cta-grid { gap: 1.6rem; }
    .g-cta h2 { font-size: 1.8rem; }
    .g-step h3 { font-size: 1.1rem; }
}

/* ─────────────────────────────────────────────── */
/* 23. ALIGNMENT WITH LEGACY CLASSES              */
/* ─────────────────────────────────────────────── */
.g-container .btn,
.btn { border-radius: 999px; }

.g-hide { display: none !important; }

/* Legacy product-card overrides */
.product-card {
    border-radius: var(--g-radius);
    border: 1px solid var(--g-line);
    background: #fff;
}
.product-card:hover { box-shadow: 0 20px 45px rgba(0,11,34,0.1); transform: translateY(-6px); }
.product-card .product-image { border-radius: var(--g-radius) var(--g-radius) 0 0; }
.product-price { font-family: var(--g-serif); }

/* toast notifications */
.g-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--g-ink);
    color: #fff;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(0,11,34,0.3);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 3000;
    pointer-events: none;
}
.g-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page content shouldn't hide under fixed nav */
main.g-main, .g-page { padding-top: 0; }
body.g-dark-nav .g-nav { background: var(--g-ink); }

/* ─────────────────────────────────────────────── */
/* 24. LEGACY ACCORDION (FAQ) — styled as Growvi   */
/* ─────────────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--g-line);
    border-radius: var(--g-radius-sm);
    margin-bottom: 0.8rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: rgba(34,197,94,0.6); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--g-text);
    user-select: none;
}
.faq-toggle {
    color: var(--g-tan);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 1.4rem 1.2rem;
    color: var(--g-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* Legacy hero class (old pages) */
.hero {
    background: var(--g-ink);
    color: #fff;
    padding: clamp(7rem, 12vh, 8.5rem) 0 3.5rem;
    text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero p { color: rgba(255,255,255,0.7); }

/* Legacy containers keep centering */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Legacy section spacing inherits the design-system rhythm */
section { position: relative; }

/* ══════════════════════════════════════════════════════════════
   Wangari System — photo-backed sections (commercial-licensed)
   ══════════════════════════════════════════════════════════════ */

/* Hero — farm photo with dark green overlay for text contrast */
.g-hero-bg {
    background:
        linear-gradient(160deg, rgba(4,16,31,0.88) 0%, rgba(11,43,29,0.72) 55%, rgba(6,25,15,0.90) 100%);
}
.g-hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* CTA band — photo with dark overlay */
.g-cta-bg {
    background:
        linear-gradient(135deg, rgba(7,31,18,0.90) 0%, rgba(13,59,34,0.82) 60%, rgba(11,43,29,0.92) 100%);
}
.g-cta-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* System Feature cards — real photos */
.g-project-img {
    background: #0B2B1D;
}
.g-project-img-1 { background: #0B2B1D; }
.g-project-img-2 { background: #0B2B1D; }
.g-project-img-3 { background: #0B2B1D; }
.g-project-img::after,
.g-blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(34, 197, 94, 0.10) 42% 46%, transparent 46% 100%);
    mix-blend-mode: screen;
}
.g-project-img img, .g-blog-img img { display: block; }

/* Blog cards — photo covers */
.g-blog-img {
    background: #0F3D26;
}
.g-blog-img-1 { background: #113F28; }
.g-blog-img-2 { background: #0E3B24; }
.g-blog-img-3 { background: #15452D; }

/* Dashboard product mockup — browser-frame screenshot */
.g-dash-frame {
    position: relative;
    margin: 2.5rem auto 0;
    max-width: 980px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(11,43,29,0.25);
    background: #0B2B1D;
    box-shadow: 0 30px 70px -30px rgba(4,16,31,0.55);
}
.g-dash-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #0B2B1D;
}
.g-dash-frame-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.g-dash-frame-bar i:nth-child(1) { background: #F87171; }
.g-dash-frame-bar i:nth-child(2) { background: #FBBF24; }
.g-dash-frame-bar i:nth-child(3) { background: #34D399; }
.g-dash-frame-bar span {
    margin-left: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.6);
}
.g-dash-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}
@media (max-width: 720px) {
    .g-dash-frame { margin-top: 1.6rem; }
}

