/* ================================================================
   HERITAGE COMPANIONSHIP SYSTEM — GLOBAL STYLESHEET
   Author: Kenneth Nnaemeka Nweke
   Version: 2.0 (Redesign)
   
   ARCHITECTURE NOTE:
   This file is the single source of truth for all visual design.
   It replaces Tailwind CDN entirely. All brand colours, typography,
   spacing, and component styles are defined here as CSS custom
   properties (design tokens) and reused throughout the system.
   
   TABLE OF CONTENTS:
   1.  Font Faces (self-hosted — see assets/fonts/FONTS_SETUP.md)
   2.  Design Tokens (CSS custom properties)
   3.  Reset & Base
   4.  Typography
   5.  Layout Utilities
   6.  Navigation
   7.  Buttons
   8.  Hero Section
   9.  Section Shared Styles
   10. Service Cards
   11. How It Works
   12. Testimonials
   13. Stats / Visual Panels
   14. Forms
   15. Footer
   16. Animations & Transitions
   17. Responsive Breakpoints
   18. Marquee Strip
   19. Hero Visual Card
   20. Page Hero (interior pages)
   21. Value Cards
   22. Story Timeline
   23. Team Cards
   24. Trust Blocks
================================================================ */


/* ── 1. FONT FACES ──────────────────────────────────────────────
   GDPR NOTE: Self-hosted fonts eliminate IP transfer to Google.
   Download instructions: assets/fonts/FONTS_SETUP.md
   font-display:swap keeps text readable while fonts load.
─────────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-400-italic.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Lora';
    src: url('../fonts/lora-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dmsans-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dmsans-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/dmsans-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}


/* ── 2. DESIGN TOKENS ───────────────────────────────────────────
   BRAND NOTE: Colours taken directly from client swatch image.
   Green: #1B5B27 (dark anchor) to #00FF00 (vivid lime)
   Blue:  #00FFFF (cyan)        to #1F4BFF (royal blue)
   These are the ONLY authoritative colour sources.
─────────────────────────────────────────────────────────────── */
:root {
    --brand-green-start:  #1B5B27;
    --brand-green-end:    #00FF00;
    --brand-green-mid:    #1e8c30;
    --brand-green-pale:   #e6faea;

    --brand-blue-start:   #00FFFF;
    --brand-blue-end:     #1F4BFF;
    --brand-blue-mid:     #1a88e0;
    --brand-blue-pale:    #e8f4ff;

    --grad-green:         linear-gradient(135deg, #1B5B27, #00FF00);
    --grad-green-h:       linear-gradient(90deg,  #1B5B27, #00FF00);
    --grad-blue:          linear-gradient(135deg, #00FFFF, #1F4BFF);
    --grad-blue-h:        linear-gradient(90deg,  #00FFFF, #1F4BFF);

    --cream:              #FDFAF6;
    --white:              #FFFFFF;
    --text-dark:          #1A1A1A;
    --text-mid:           #3D3D3D;
    --text-soft:          #6B7280;
    --border:             rgba(0, 0, 0, 0.08);
    --border-strong:      rgba(0, 0, 0, 0.14);

    --shadow-sm:          0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:          0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg:          0 20px 60px rgba(0,0,0,0.10);
    --shadow-green:       0 10px 28px rgba(27,91,39,0.28);

    --font-serif:         'Lora', Georgia, serif;
    --font-sans:          'DM Sans', system-ui, -apple-system, sans-serif;

    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2.5rem;
    --space-xl:   4rem;
    --space-2xl:  6rem;

    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  22px;
    --r-xl:  36px;

    --transition:      0.2s ease;
    --transition-slow: 0.35s ease;
}


/* ── 3. RESET & BASE ────────────────────────────────────────────*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

svg {
    overflow: hidden;
}

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

ul, ol {
    list-style: none;
    padding: 0;
}

button {
    font-family: var(--font-sans);
    cursor: pointer;
}


/* ── 4. TYPOGRAPHY ──────────────────────────────────────────────*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p {
    line-height: 1.75;
    color: var(--text-soft);
}

.text-grad-green {
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-grad-blue {
    background: var(--grad-blue-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ── 5. LAYOUT UTILITIES ────────────────────────────────────────*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--white  { background: var(--white); }
.section--cream  { background: var(--cream); }
.section--dark   { background: var(--text-dark); }
.section--green  { background: var(--grad-green); }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ── 6. NAVIGATION ──────────────────────────────────────────────*/
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253, 250, 246, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.site-nav.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-mark {
    width: 40px; height: 40px;
    border-radius: 11px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-mark svg {
    width: 40px; height: 40px;
}

.nav-logo-name { line-height: 1.1; }

.nav-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-green-start);
    display: block;
}

.nav-logo-sub {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    display: block;
}

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

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--brand-green-start);
}

.nav-links a.active {
    color: var(--brand-green-start);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--grad-green-h);
    border-radius: 2px;
}

.nav-cta {
    background: var(--grad-green);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--r-xl);
    font-size: 0.875rem;
    font-weight: 600;
    transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.nav-topbar {
    background: var(--brand-green-start);
    color: rgba(255,255,255,0.88);
    padding: 0.45rem var(--space-xl);
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: fixed;
    top: 63px; left: 0; right: 0;
    background: rgba(253, 250, 246, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--space-xl) 2rem;
    z-index: 99;
    flex-direction: column;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-mid);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
    text-decoration: none;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--brand-green-start); }


/* ── 7. BUTTONS ─────────────────────────────────────────────────*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.88rem 2rem;
    border-radius: var(--r-xl);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--grad-green);
    color: white;
}

.btn-primary:hover {
    opacity: 0.90;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-primary svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-outline {
    background: transparent;
    color: var(--brand-green-start);
    border: 1.5px solid var(--brand-green-start);
}

.btn-outline:hover {
    background: var(--brand-green-pale);
    transform: translateY(-2px);
}

.btn-ghost {
    background: none;
    border: none;
    color: var(--text-mid);
    padding: 0.88rem 1.25rem;
    font-weight: 500;
}

.btn-ghost:hover { color: var(--brand-green-start); }

.btn-ghost svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-white {
    background: white;
    color: var(--brand-green-start);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.45);
}

.btn-outline-white:hover {
    border-color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.btn-blue {
    background: var(--grad-blue);
    color: white;
}

.btn-blue:hover {
    opacity: 0.90;
    transform: translateY(-2px);
}


/* ── 8. HERO SECTION ────────────────────────────────────────────*/
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem var(--space-xl) 4rem;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; top: -120px; right: -80px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,0,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute; bottom: -60px; left: 25%;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(31,75,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-green-pale);
    color: var(--brand-green-start);
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.4rem 1rem;
    border-radius: var(--r-xl);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(27, 91, 39, 0.18);
    opacity: 0;
    animation: fadeUp 0.6s 0.1s forwards;
}

.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-green-end);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-weight: 700;
    line-height: 1.16;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
}

.hero-heading em {
    font-style: italic;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.78;
    max-width: 520px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.3s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s 0.4s forwards;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s 0.5s forwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 11px; height: 11px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-item span {
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 500;
}


/* ── 9. SECTION SHARED STYLES ───────────────────────────────────*/
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-green-start);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: block;
    width: 22px; height: 2.5px;
    background: var(--grad-green-h);
    border-radius: 2px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    max-width: 620px;
    margin-bottom: 1rem;
}

.section-heading em {
    font-style: italic;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 520px;
    line-height: 1.72;
    margin-bottom: 3rem;
}


/* ── 10. SERVICE CARDS ──────────────────────────────────────────*/
.service-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-green-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background var(--transition-slow);
}

.service-card:hover .service-icon {
    background: var(--grad-green);
}

.service-icon svg {
    width: 24px; height: 24px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--transition);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.service-desc {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-green-start);
    text-decoration: none;
    margin-top: 1.25rem;
    transition: gap var(--transition);
}

.service-link:hover { gap: 9px; }

.service-link svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── 11. HOW IT WORKS ───────────────────────────────────────────*/
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    padding: 0;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-num {
    width: 42px; height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--grad-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    font-family: var(--font-serif);
}

.step-body h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.step-body p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
}


/* ── 12. TESTIMONIALS ───────────────────────────────────────────*/
.testi-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

.testi-quote {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testi-text {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.72;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    color: white;
    flex-shrink: 0;
}

.testi-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
    display: block;
}

.testi-role {
    font-size: 0.74rem;
    color: var(--text-soft);
}


/* ── 13. STATS / VISUAL PANELS ──────────────────────────────────*/
.stats-panel {
    background: var(--brand-green-pale);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-card {
    background: white;
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-big {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 3px;
}


/* ── 14. FORMS ──────────────────────────────────────────────────*/
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-green-start);
    box-shadow: 0 0 0 3px rgba(27, 91, 39, 0.10);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.alert-success {
    background: var(--brand-green-pale);
    color: var(--brand-green-start);
    border: 1px solid rgba(27, 91, 39, 0.2);
}

.alert-error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}


/* ── 15. FOOTER ─────────────────────────────────────────────────*/
.site-footer {
    background: var(--text-dark);
    padding: 4.5rem var(--space-xl) 0;
    color: rgba(255, 255, 255, 0.50);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand-bar {
    width: 36px; height: 3px;
    border-radius: 2px;
    background: var(--grad-green-h);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.72;
    margin-top: 0.8rem;
    max-width: 270px;
    color: rgba(255,255,255,0.50);
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.34);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
}

.footer-col ul a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: rgba(255, 255, 255, 0.92);
}

.footer-col ul span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.50);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.70);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-xl);
    margin-top: 0.5rem;
    margin-right: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover { color: white; }


/* ── 16. ANIMATIONS & TRANSITIONS ──────────────────────────────*/
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(0.85); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── 17. RESPONSIVE BREAKPOINTS ─────────────────────────────────*/
@media (max-width: 1100px) {
    .container    { padding: 0 2.5rem; }
    .nav-inner    { padding: 0.9rem 2.5rem; }
    .hero         { padding: 7rem 2.5rem 3.5rem; gap: 3rem; }
    .section      { padding: 4.5rem 0; }
    .site-footer  { padding: 4rem 2.5rem 0; }
    .footer-grid  { gap: 2rem; }
}

@media (max-width: 900px) {
    .nav-inner     { padding: 0.9rem 1.5rem; }
    .nav-links     { display: none; }
    .nav-hamburger { display: flex; }
    .nav-topbar    { padding: 0.45rem 1.5rem; }

    .hero {
        grid-template-columns: 1fr;
        padding: 6rem 1.5rem 3rem;
        min-height: auto;
        gap: 1rem;
    }

    .hero-visual { display: none; }

    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .grid-3 { grid-template-columns: 1fr 1fr; }

    .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .site-footer  { padding: 3rem 1.5rem 0; }
    .section      { padding: 3.5rem 0; }
    .container    { padding: 0 1.5rem; }
}

@media (max-width: 600px) {
    .grid-3        { grid-template-columns: 1fr; }
    .grid-auto     { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-trust    { flex-direction: column; gap: 0.75rem; }
    .hero-actions  { flex-direction: column; align-items: flex-start; }
    .cta-btns      { flex-direction: column; align-items: center; }
}


/* ── 18. MARQUEE STRIP ──────────────────────────────────────────*/
.services-strip {
    background: var(--brand-green-start);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
}

.services-strip::before,
.services-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.services-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--brand-green-start), transparent);
}

.services-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--brand-green-start), transparent);
}

.strip-track {
    display: flex;
    gap: 1.25rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.strip-track:hover { animation-play-state: paused; }

.strip-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-xl);
    padding: 0.55rem 1.2rem;
    flex-shrink: 0;
}

.strip-item svg {
    width: 15px; height: 15px;
    stroke: rgba(255, 255, 255, 0.80);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.strip-item span {
    font-size: 0.83rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}


/* ── 19. HERO VISUAL CARD ───────────────────────────────────────*/
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.9s 0.35s forwards;
    opacity: 0;
}

.bg-blob {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: var(--brand-green-pale);
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.hero-card-main {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    width: 345px;
    position: relative;
    z-index: 2;
}

.hero-card-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-green-h);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.hc-avatar-group {
    display: flex;
    margin-bottom: 1.25rem;
}

.hc-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
    margin-right: -10px;
}

.hc-avatar:last-child { margin-right: 0; }

.hc-avatar-inner {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.av-1 { background: var(--grad-green); }
.av-2 { background: var(--grad-blue); }
.av-3 { background: linear-gradient(135deg, #E07A5F, #C15A3E); }
.av-4 { background: linear-gradient(135deg, #9B6DD8, #7C4DBE); }

.hc-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-soft);
    margin-bottom: 0.25rem;
}

.hc-value {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 2px;
    align-items: center;
    line-height: 1;
}

.stars svg {
    display: block;
    width: 13px;
    height: 13px;
    min-width: 13px;
    min-height: 13px;
    max-width: 13px;
    max-height: 13px;
    fill: #F59E0B;
    flex-shrink: 0;
}

.hc-rating-text {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.hc-divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

.hc-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.hc-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.28rem 0.7rem;
    border-radius: var(--r-xl);
    background: var(--brand-green-pale);
    color: var(--brand-green-start);
    border: 1px solid rgba(27, 91, 39, 0.14);
}

.hc-tag.blue {
    background: var(--brand-blue-pale);
    color: var(--brand-blue-end);
    border-color: rgba(31, 75, 255, 0.14);
}

.hero-card-float {
    position: absolute;
    background: white;
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.float-1 { top: 18px; right: -32px; z-index: 3; }
.float-2 { bottom: 28px; left: -42px; z-index: 3; }

.float-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-soft);
    margin-bottom: 0.15rem;
}

.float-big {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.float-sub {
    font-size: 0.73rem;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

.float-2-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.float-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-icon svg {
    width: 18px; height: 18px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-value {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ── 20. PAGE HERO (interior pages) ────────────────────────────*/
.page-hero {
    background: var(--white);
    padding: 8rem var(--space-xl) 4rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
}

.page-hero-text {
    max-width: 560px;
}

.page-hero-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 420px;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 900px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .page-hero-image {
        height: 260px;
    }
}

.page-hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.page-hero-heading em {
    font-style: italic;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-sub {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.78;
    max-width: 580px;
}


/* ── 21. VALUE CARDS ────────────────────────────────────────────*/
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.value-card {
    background: var(--brand-green-pale);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    border: 1px solid rgba(27,91,39,0.10);
    transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.value-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--brand-green-start);
}

.value-card p {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ── 22. STORY TIMELINE ─────────────────────────────────────────*/
.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-top: 2rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 64px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--grad-green);
    opacity: 0.25;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 2.5rem;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    justify-content: center;
}

.timeline-year {
    background: var(--grad-green);
    color: white;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--r-xl);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.timeline-body {
    flex: 1;
    padding-top: 0.2rem;
}

.timeline-body h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-body p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.7;
}


/* ── 23. TEAM CARDS ─────────────────────────────────────────────*/
.team-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.team-avatar.av-1 { background: var(--grad-green); }
.team-avatar.av-2 { background: var(--grad-blue); }
.team-avatar.av-3 { background: linear-gradient(135deg, #E07A5F, #C15A3E); }

.team-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.team-role {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-green-start);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.65;
}


/* ── 24. TRUST BLOCKS ───────────────────────────────────────────*/
.trust-block {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.trust-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.trust-block-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.trust-block-icon svg {
    width: 22px; height: 22px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-block h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.trust-block p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
}


/* ── RESPONSIVE ADDITIONS ───────────────────────────────────────*/
@media (max-width: 900px) {
    .page-hero { padding: 6.5rem 1.5rem 3rem; }
    .about-values-grid { grid-template-columns: 1fr 1fr; }
    .story-timeline::before { left: 44px; }
    .timeline-marker { width: 60px; }
}

@media (max-width: 600px) {
    .about-values-grid { grid-template-columns: 1fr; }
    .story-timeline::before { display: none; }
    .timeline-item { flex-direction: column; gap: 0.75rem; }
    .timeline-marker { width: auto; }
}

/* ── NAV BLACK BACKGROUND UPDATE ───────────────────────────────*/
.site-nav {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.site-nav.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.40) !important;
}

.nav-links a {
    color: rgba(255,255,255,0.85) !important;
}

.nav-links a:hover {
    color: var(--brand-green-end) !important;
}

.nav-hamburger span {
    background: white !important;
}

.nav-topbar {
    background: #000000 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Mobile menu on black nav */
.nav-mobile {
    background: rgba(10, 10, 10, 0.98) !important;
}

.nav-mobile a {
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.nav-mobile a:hover {
    color: var(--brand-green-end) !important;
}


/* ── 25. BACK TO TOP ────────────────────────────────────────────*/
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-green);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(27, 91, 39, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ── 26. SERVICES PAGE COMPONENTS ──────────────────────────────*/
.service-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 12px; height: 12px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.check-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
}

.service-visual {
    background: var(--brand-green-pale);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 280px;
}

.service-visual-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-visual-icon svg {
    width: 32px; height: 32px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-visual-stat {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-visual-label {
    font-size: 0.85rem;
    color: var(--text-soft);
    font-weight: 500;
}

.home-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.support-pill {
    background: var(--brand-green-pale);
    border: 1px solid rgba(27,91,39,0.12);
    border-radius: var(--r-md);
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--brand-green-start);
    text-align: center;
}

.disclosure-box {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem 2.5rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-green-start);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.disclosure-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disclosure-icon svg {
    width: 22px; height: 22px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.disclosure-box h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.disclosure-box p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.7;
}

.disclosure-box strong {
    color: var(--brand-green-start);
    font-weight: 600;
}

@media (max-width: 600px) {
    .home-support-grid { grid-template-columns: 1fr; }
    .disclosure-box { flex-direction: column; gap: 1rem; }
}


/* ── 27. SAFETY PAGE COMPONENTS ─────────────────────────────────*/
.safety-pillar {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.safety-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pillar-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-green-pale);
    line-height: 1;
    margin-bottom: 1rem;
}

.safety-pillar h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    margin-top: 0.75rem;
}

.safety-pillar p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
}

.safety-policy-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.policy-badge {
    background: white;
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.policy-badge:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.policy-badge-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-badge-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.policy-badge-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.policy-badge-sub {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 2px;
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.scope-col {
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

.scope-do {
    background: var(--brand-green-pale);
    border-color: rgba(27,91,39,0.15);
}

.scope-dont {
    background: #FEF2F2;
    border-color: rgba(220,38,38,0.15);
}

.scope-col-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.scope-col-header h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.scope-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scope-icon.do { background: var(--brand-green-start); }
.scope-icon.dont { background: #DC2626; }

.scope-icon svg {
    width: 16px; height: 16px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.scope-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.scope-list li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.scope-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-soft);
}

@media (max-width: 600px) {
    .scope-grid { grid-template-columns: 1fr; }
}


/* ── 28. CONTACT PAGE COMPONENTS ────────────────────────────────*/
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-soft);
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: color var(--transition);
}

.contact-info-value:hover { color: var(--brand-green-start); }

.contact-info-sub {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 2px;
}

.contact-note {
    background: var(--brand-green-pale);
    border-radius: var(--r-md);
    padding: 1.25rem;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    border: 1px solid rgba(27,91,39,0.12);
    margin-top: 0.5rem;
}

.contact-note-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--brand-green-start);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-note-icon svg {
    width: 18px; height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-note-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-green-start);
    margin-bottom: 0.25rem;
}

.contact-note p {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-form-wrap {
    background: white;
    border-radius: var(--r-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.contact-form-sub {
    font-size: 0.875rem;
    color: var(--text-soft);
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 1rem;
    text-align: center;
}

.contact-secure-note svg {
    width: 13px; height: 13px;
    stroke: var(--text-soft);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.5rem; }
}


/* ── HERO MOBILE FIX ────────────────────────────────────────────*/
@media (max-width: 900px) {
    .hero-visual { display: none !important; }
    .hero-card-float { display: none; }
}

/* ── 29. HERO RESPONSIVE FIX ────────────────────────────────────
   Ensures hero visual never bleeds on any screen size.
   Float cards hidden on tablet and below.
─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .float-1 { right: -10px; }
    .float-2 { left: -10px; }
}

@media (max-width: 900px) {
    .hero-visual  { display: none !important; }
    .hero-card-float { display: none !important; }
    .hero {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
}

/* ── 30. COUNTER ANIMATION ──────────────────────────────────────
   .counter elements animate from 0 to data-target via JS.
   Inherits .stat-big styles — no additional styling needed.
─────────────────────────────────────────────────────────────── */
.counter {
    display: inline;
    font-family: var(--font-serif);
    font-weight: 700;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ── 31. HERO CONTENT ANIMATIONS ───────────────────────────────
   Staggered fade-up on hero text elements for a polished entry.
   Trust items animate in one by one.
─────────────────────────────────────────────────────────────── */
.hero-trust .trust-item:nth-child(1) { animation: fadeUp 0.6s 0.5s forwards; opacity: 0; }
.hero-trust .trust-item:nth-child(2) { animation: fadeUp 0.6s 0.65s forwards; opacity: 0; }
.hero-trust .trust-item:nth-child(3) { animation: fadeUp 0.6s 0.8s forwards; opacity: 0; }

/* Service cards stagger on scroll reveal */
.grid-auto .service-card:nth-child(1) { transition-delay: 0.0s; }
.grid-auto .service-card:nth-child(2) { transition-delay: 0.1s; }
.grid-auto .service-card:nth-child(3) { transition-delay: 0.2s; }
.grid-auto .service-card:nth-child(4) { transition-delay: 0.3s; }
.grid-auto .service-card:nth-child(5) { transition-delay: 0.4s; }

/* ── 32. HERO SLIDER ────────────────────────────────────────────*/
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Individual slides */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide backgrounds — solid colours until real images added */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* Placeholder backgrounds using brand colours */
.slide-bg-1 {
    background-image: url('../img/img-heritage-worker.jpg');
    background-size: cover;
    background-position: center top;
}

.slide-bg-2 {
    background-image: url('../img/img-hospital-discharge.jpg');
    background-size: cover;
    background-position: center center;
}

.slide-bg-3 {
    background-image: url('../img/img-care-home.jpg');
    background-size: cover;
    background-position: center center;
}

/* Dark overlay for text readability */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Slide content */
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem var(--space-xl) 4rem;
    max-width: 640px;
}

.slide-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s 0.3s ease, transform 0.7s 0.3s ease;
}

.slide.active .slide-heading {
    opacity: 1;
    transform: translateY(0);
}

.slide-heading em {
    font-style: italic;
    background: var(--grad-green-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s 0.5s ease, transform 0.7s 0.5s ease;
}

.slide.active .slide-sub {
    opacity: 1;
    transform: translateY(0);
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s 0.7s ease, transform 0.7s 0.7s ease;
}

.slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

.slide-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s 0.9s ease, transform 0.7s 0.9s ease;
}

.slide.active .slide-trust {
    opacity: 1;
    transform: translateY(0);
}

/* White trust icons for dark backgrounds */
.trust-icon--white {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.trust-icon--white svg {
    stroke: white !important;
}

.slide-trust .trust-item span {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Hero badge on dark background */
.hero-slider .hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    animation: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s 0.1s ease, transform 0.7s 0.1s ease;
}

.slide.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Prev / Next buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.slider-btn svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-btn--prev { left: 2rem; }
.slider-btn--next { right: 2rem; }

/* Dot indicators */
.slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.40);
    border: none;
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    background: var(--grad-green-h);
    width: 0%;
    transition: width linear;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-slider { height: auto; min-height: 90vh; }
    .slide-content { padding: 6rem 1.5rem 4rem; max-width: 100%; }
    .slider-btn--prev { left: 0.5rem; }
    .slider-btn--next { right: 0.5rem; }
    .slide-trust { gap: 1rem; }

    .slide-heading { font-size: clamp(1.5rem, 6vw, 2.4rem); }
    .slide-sub { font-size: 0.88rem; }
}

@media (max-width: 600px) {
    /* Fix 1: Buttons side by side on mobile */
    .slide-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.6rem;
    }

    .slide-actions .btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.82rem;
        flex: 1;
        justify-content: center;
    }

    /* Fix 2: Hide slider prev/next buttons on mobile entirely */
    .slider-btn { display: none; }

    .slide-trust { flex-direction: column; gap: 0.75rem; }
}

/* ── 33. IMAGE COMPONENTS ───────────────────────────────────────*/

/* Testimonials section with subtle image background */
.section--testimonials {
    background: var(--cream);
    position: relative;
}

/* How it works image */
.how-image-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.how-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.how-image-wrap:hover .how-image {
    transform: scale(1.03);
}

/* Image strip — 3 column photo grid */
.image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.image-strip-item {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.image-strip-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.image-strip-item:hover img {
    transform: scale(1.04);
}

.image-strip-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 1.5rem 1rem 0.75rem;
    letter-spacing: 0.03em;
}

/* Page section image — used on about, services pages */
.section-image {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.section-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.section-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .image-strip { grid-template-columns: 1fr 1fr; }
    .how-image { height: 200px; }
}

@media (max-width: 600px) {
    .image-strip { grid-template-columns: 1fr; }
    .image-strip-item img { height: 220px; }
}

/* ── FORCE HIDE SLIDER ARROWS ON MOBILE ────────────────────────*/
@media (max-width: 768px) {
    .slider-btn,
    .slider-btn--prev,
    .slider-btn--next {
        display: none !important;
    }
}

/* ── 34. TEAM PHOTO CARDS ───────────────────────────────────────*/
.team-avatar-photo {
    width: 100%;
    height: 300px;
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--brand-green-pale);
}

.grid-2 .team-card,
.grid-3 .team-card {
    display: flex;
    flex-direction: column;
}

.grid-2 .team-info,
.grid-3 .team-info {
    flex: 1;
}

.team-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s ease;
}

.team-card:hover .team-avatar-photo img {
    transform: scale(1.04);
}

.team-qual {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-blue-end);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

/* ── 35. FAQ PAGE ───────────────────────────────────────────────*/
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}

.faq-group {
    margin-bottom: 2.5rem;
}

.faq-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--brand-green-start);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-green-pale);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--brand-green-start); }

.faq-question svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    stroke: var(--text-soft);
    fill: none !important;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
    stroke: var(--brand-green-start);
}

.faq-question[aria-expanded="true"] {
    color: var(--brand-green-start);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 1rem;
}

.faq-answer p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.75;
}

.faq-sidebar-card {
    background: white;
    border-radius: var(--r-md);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.faq-sidebar-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.faq-sidebar-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-sidebar-card h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-sidebar-card p {
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .faq-sidebar { order: -1; }
}

/* ── 36. HOSPITAL DISCHARGE PAGE ────────────────────────────────*/
.hd-checklist-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.hd-checklist-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.hd-checklist-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hd-checklist-icon svg {
    width: 20px; height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hd-checklist-header h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ── 37. LEGAL PAGES (Terms, Privacy) ──────────────────────────*/
.legal-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

.legal-intro {
    background: var(--brand-green-pale);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--brand-green-start);
}

.legal-intro p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.legal-meta span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-green-start);
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.legal-section p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.legal-tagline {
    text-align: center;
    padding: 2rem;
    background: var(--brand-green-pale);
    border-radius: var(--r-md);
    margin-top: 1rem;
}

.legal-tagline p {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-green-start);
    margin-bottom: 0.25rem;
}

.legal-tagline p:last-child {
    font-size: 0.9rem;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .legal-sidebar { order: -1; }
}

/* ── 38. COOKIE CONSENT BANNER ──────────────────────────────────*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
    padding: 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(12px);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-banner-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--grad-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-banner-icon svg {
    width: 18px; height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.cookie-banner-text p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.60);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--brand-green-end);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--r-xl);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition), transform var(--transition);
}

.cookie-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: var(--grad-green);
    color: white;
}

.cookie-btn-decline {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.70);
    border: 1px solid rgba(255,255,255,0.12);
}

.cookie-btn-decline:hover {
    background: rgba(255,255,255,0.14);
}

@media (max-width: 600px) {
    .cookie-banner { padding: 1rem 1.25rem; }
    .cookie-banner-inner { flex-direction: column; gap: 1rem; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
}

/* ── 39. BLOG PUBLIC PAGES ──────────────────────────────────────*/
.blog-filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.blog-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: var(--r-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-mid);
    transition: all var(--transition);
}

.blog-tab:hover {
    border-color: var(--brand-green-start);
    color: var(--brand-green-start);
}

.blog-tab.active {
    background: var(--grad-green);
    color: white;
    border-color: transparent;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-image-placeholder {
    background: var(--brand-green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image-placeholder svg {
    width: 40px; height: 40px;
    stroke: var(--brand-green-start);
    fill: none;
    stroke-width: 1.5;
    opacity: 0.4;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-green-start);
    background: var(--brand-green-pale);
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-xl);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: background var(--transition);
}

.blog-card-cat:hover {
    background: var(--grad-green);
    color: white;
}

.blog-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.blog-card-title a:hover {
    color: var(--brand-green-start);
}

.blog-card-excerpt {
    font-size: 0.82rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-card-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.blog-card-date {
    font-size: 0.7rem;
    color: var(--text-soft);
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-green-start);
    text-decoration: none;
    transition: gap var(--transition);
}

.blog-card-link:hover { gap: 8px; }

.blog-card-link svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Single post */
.post-hero {
    background: var(--cream);
    padding: 8rem var(--space-xl) 4rem;
    border-bottom: 1px solid var(--border);
}

.post-hero-inner {
    max-width: 760px;
}

.post-category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-green-start);
    background: var(--brand-green-pale);
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-xl);
    text-decoration: none;
    margin-bottom: 1rem;
}

.post-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-soft);
    flex-wrap: wrap;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.post-featured-image {
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.post-featured-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.post-body {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.85;
}

.post-body h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 0.75rem;
}

.post-body h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
}

.post-body p {
    margin-bottom: 1.25rem;
}

.post-body ul, .post-body ol {
    margin: 0 0 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.post-body li {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.post-body a {
    color: var(--brand-green-start);
    text-decoration: underline;
}

.post-body strong {
    font-weight: 600;
    color: var(--text-dark);
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .post-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .post-sidebar { order: -1; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .post-hero { padding: 6rem 1.5rem 3rem; }
}