/* ============================================================
   styles.css — The Zebra Club
   Global stylesheet for all pages.
   ============================================================ */

/* ========================================
   UNIVERSAL STYLESHEET - COLORS & TYPOGRAPHY
   ======================================== */

:root {
    /* Brand Colors */
    --primary-green: #37B783;
    --primary-green-hover: #43A987;
    --grey-trust: #F7F9FB;
    --light-green-bg: #EFF8F3;
    --light-purple-bg: #F0ECFB;
    --evidence-bg: #F4F4F9;

    /* Neutral Colors */
    --white: #FFFFFF;
    --text-primary: #1C2549;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body-size: 16px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Z-index */
    --z-mobile-menu: 1000;

    /* Icon circle */
    --icon-circle-size: 96px;
    --icon-circle-size-tablet: 80px;
    --icon-circle-size-mobile: 56px;
    --icon-circle-bg: rgba(55, 183, 131, 0.18);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.3px;
    word-spacing: -0.5px;
}

h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

/* Page hero h1: 42px — used on FAQ. (Blog and IMM use their own
   smaller, page-specific h1 sizing — see .blog-heading h1 and
   .imm-hero-text h1 in their respective page styles.) */
.faq-page-hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
}

/* ========================================
   CHECKLIST
   Universal tick list used across all pages.
   ======================================== */

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: 30px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.check-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.checklist span {
}

.checklist span strong {
    font-weight: 600;
}

@media (max-width: 550px) {
    .checklist span { font-size: 16px; }
}

/* ========================================
   EYEBROW LABEL
   Universal. All section-specific *-eyebrow classes
   share these exact values and can use this class directly.
   ======================================== */

.eyebrow,
.faq-category-heading,
.blog-cat-tag,
.eyebrow--dark {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

/* .eyebrow--dark: same as eyebrow but text-primary colour (used in logos section) */
.eyebrow--dark {
    color: var(--text-primary);
    margin-bottom: 28px;
}

/* faq-category-heading has extra border treatment */
.faq-category-heading {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(55, 183, 131, 0.25);
    margin-bottom: var(--spacing-lg);
}

/* blog-cat-tag overrides: no margin, smaller tracking */
.blog-cat-tag {
    letter-spacing: 1.2px;
    margin-bottom: 0;
    font-size: 11px;
}

/* ========================================
   STATUS PILL
   Universal small label/tag badge — used on card-style
   layouts (expert cards, advisory board cards, etc.) to mark
   a role or category. Soft tint, not a solid CTA-style fill,
   so it doesn't read as a clickable button.
   ======================================== */

.status-pill {
    display: inline-block;
    background-color: var(--light-purple-bg);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   ICON CIRCLE
   ======================================== */

.icon-circle {
    width: var(--icon-circle-size);
    height: var(--icon-circle-size);
    border-radius: 50%;
    background-color: var(--icon-circle-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.icon-circle img,
.icon-circle svg {
    display: block;
    width: 50.4%;
    height: 50.4%;
    object-fit: contain;
}

@media (max-width: 899px) {
    .icon-circle {
        width: var(--icon-circle-size-tablet);
        height: var(--icon-circle-size-tablet);
    }
}

@media (max-width: 550px) {
    .icon-circle {
        width: var(--icon-circle-size-mobile);
        height: var(--icon-circle-size-mobile);
    }
}

/* ========================================
   SHARED UTILITY CLASSES
   ======================================== */

/*
   .section-inner-left
   Left-aligned section container used across all pages.
   Desktop: max-width 1200px, 80px left indent.
   Tablet (≤899px): collapses to 24px symmetric padding.
   Mobile (≤550px): 20px symmetric padding.
   Use this on any inner container that is left-aligned on desktop.
*/
.section-inner-left {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 0 80px;
}

@media (max-width: 899px) {
    .section-inner-left {
        padding: 0 24px;
    }
}

@media (max-width: 550px) {
    .section-inner-left {
        padding: 0 20px;
    }
}

/* ========================================
   WHO QUOTE
   Shared across homepage and membership page.
   ======================================== */

.who-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 110px;
}

.who-quote-inner {
    text-align: center;
}

.who-quote-body {
    margin: 0 auto;
}

.who-quote p {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.who-quote p::before {
    content: '';
    position: absolute;
    top: -28px;
    left: -40px;
    width: 64px;
    height: 48px;
    z-index: -1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 479 358"><path d="M172.491,50.843c-88.728,52.749 -135.263,128.378 -135.263,217.353c0,50.207 32.265,88.975 79.42,88.975c48.397,-0 84.384,-37.497 84.384,-85.798c0,-45.123 -30.403,-78.17 -71.354,-84.526c13.03,-38.767 44.674,-73.086 94.932,-99.779l-52.119,-36.225Z" fill="%23cbeade" fill-opacity="0.5"/><path d="M426.263,50.843c-88.728,52.749 -135.263,128.378 -135.263,217.353c0,50.207 32.265,88.975 79.42,88.975c48.397,-0 84.384,-37.497 84.384,-85.798c0,-45.123 -30.403,-78.17 -71.354,-84.526c13.03,-38.767 44.674,-73.086 94.932,-99.779l-52.119,-36.225Z" fill="%23cbeade" fill-opacity="0.5"/><path d="M135.262,-0c-88.727,52.749 -135.262,128.378 -135.262,217.353c-0,50.207 32.264,88.975 79.42,88.975c48.397,-0 84.384,-37.497 84.384,-85.797c-0,-45.123 -30.403,-78.171 -71.354,-84.527c13.03,-38.767 44.674,-73.086 94.932,-99.779l-52.12,-36.225Z" fill="%23bbe3d4"/><path d="M389.034,-0c-88.727,52.749 -135.262,128.378 -135.262,217.353c0,50.207 32.264,88.975 79.42,88.975c48.397,-0 84.384,-37.497 84.384,-85.797c-0,-45.123 -30.403,-78.171 -71.354,-84.527c13.03,-38.767 44.674,-73.086 94.932,-99.779l-52.12,-36.225Z" fill="%23bbe3d4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.who-quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
}

@media (max-width: 899px) {
    .who-quote {
        padding: 100px 64px 120px;
    }

    .who-quote p::before {
        top: -24px;
        left: -12px;
        width: 56px;
        height: 42px;
        z-index: -1;
    }

    .who-quote p {
        font-size: 20px;
    }
}

@media (max-width: 550px) {
    .who-quote {
        padding: 80px 20px 110px;
    }

    .who-quote p::before {
        top: -18px;
        left: -34px;
        width: 42px;
        height: 32px;
    }

    .who-quote p {
        font-size: 18px;
    }
}

/* ========================================
   ABOUT SECTION
   Shared across homepage and membership page.
   ======================================== */

.about-section {
    background-color: var(--light-green-bg);
    padding: 60px 0 120px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 0 80px;
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.about-content {
    flex: 1 1 50%;
    max-width: 560px;
}

.about-description {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

.about-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.about-check-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-check-icon svg {
    width: 16px;
    height: 16px;
}

.about-checklist span {
    color: var(--text-primary);
}

.about-visual {
    flex: 1 1 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-lg);
}

.about-phone {
    width: 180px;
    aspect-ratio: 9 / 19.5;
    flex: 0 0 auto;
}

.about-phone:last-child {
    margin-top: -40px;
}

.about-phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 900px) {
    .about-section {
        padding: 60px 0 150px;
    }
}

@media (max-width: 899px) {
    .about-section {
        padding: 60px 0 120px;
    }

    .about-container {
        flex-direction: column;
        gap: var(--spacing-2xl);
        text-align: left;
        padding: 0 24px;
    }

    .about-visual {
        width: 100%;
    }

    .about-content {
        max-width: none;
    }

    .about-content h2 {
        max-width: 480px;
        padding-right: var(--spacing-md);
    }

    .about-checklist {
        align-items: flex-start;
        max-width: 420px;
        margin: 0;
    }
}

@media (max-width: 550px) {
    .about-section {
        padding: 64px 0 80px;
    }

    .about-container {
        padding: 0 20px;
    }

    .about-description {
        font-size: 16px;
    }

    .about-checklist span {
        font-size: 16px;
    }

    .about-visual {
        gap: var(--spacing-md);
    }

    .about-phone {
        width: 132px;
        flex: 0 0 132px;
    }

    .about-phone:last-child {
        margin-top: -24px;
    }
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8.4px 28px 6px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    box-shadow: 0 0 0 5px rgba(55, 183, 131, 0.25);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary-green-hover);
    outline-offset: 2px;
    border-radius: 24px;
}

/* Text link */
.btn-text {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 12px 4px;
    margin: -12px -4px;
}

.btn-text:hover {
    opacity: 0.7;
}

.btn-text:focus-visible {
    outline: none;
    text-decoration-color: var(--primary-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

@media (max-width: 550px) {
    /* Accessibility: minimum legible size for button/link text on mobile */
    .btn-primary,
    .btn-text {
        font-size: 16px;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(55, 183, 131, 0.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--primary-green-hover);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   NAV — ALWAYS WHITE (non-hero pages)
   On index.html the nav starts transparent and turns white
   on scroll, because the hero behind it is a photo. Every
   other page has a solid-colour hero (or no hero), so the
   nav is white from the start: add class="nav-always-white"
   directly on the <nav> element.
   ======================================== */

.nav-always-white,
.nav-always-white nav {
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

.skip-link {
    position: absolute;
    top: -48px;
    left: var(--spacing-md);
    z-index: 1100;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: var(--spacing-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: var(--spacing-md);
    outline: 2px solid var(--primary-green-hover);
    outline-offset: 2px;
}

nav {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Push the fixed nav down below the WordPress admin toolbar when logged in,
   matching WP core's own toolbar-height breakpoint. */
body.admin-bar nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar nav {
        top: 46px;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    transition: padding 0.3s ease;
}

nav.scrolled .nav-container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-left: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.nav-logo-icon {
    width: 140px;
    height: auto;
    display: block;
    transition: width 0.3s ease;
}

nav.scrolled .nav-logo-icon {
    width: 98px;
}

.nav-logo:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-heading);
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
    border-bottom: 1px solid var(--primary-green);
    margin-bottom: -4px;
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-menu a.is-active {
    color: var(--primary-green);
    font-weight: 600;
}

.nav-cta {
    display: none;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 7px 20px 5px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: var(--primary-green-hover);
    box-shadow: 0 0 0 5px rgba(55, 183, 131, 0.25);
}

.nav-cta:focus-visible {
    outline: 2px solid var(--primary-green-hover);
    outline-offset: 2px;
    border-radius: 24px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.hamburger:hover {
    background-color: rgba(125, 202, 173, 0.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--white), var(--light-green-bg));
    z-index: var(--z-mobile-menu);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(94px, 13vh, 125px) var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 2vh, var(--spacing-md));
    text-align: center;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: block;
    padding: clamp(6px, 1.4vh, 11px) 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-green);
}

.mobile-menu a:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 4px;
}

.mobile-menu a.is-active {
    color: var(--primary-green);
}

.mobile-menu .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-menu .mobile-menu-cta:hover {
    background-color: var(--primary-green-hover);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(55, 183, 131, 0.25);
}

.mobile-menu .mobile-menu-cta:focus-visible {
    outline: 2px solid var(--primary-green-hover);
    outline-offset: 2px;
    border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
    .hamburger span,
    .mobile-menu,
    nav,
    .nav-container,
    .nav-logo-icon {
        transition: none;
    }
}

@media (min-width: 900px) {
    .nav-menu {
        display: flex;
    }

    .nav-cta {
        display: inline-block;
    }

    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        padding-top: 60px;
    }
}

/* ========================================
   WAVE DIVIDER
   ======================================== */

.wave-divider {
    display: block;
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 3;
    margin-top: -99px;
    pointer-events: none;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 99px;
}

.wave-divider--bottom {
    margin-top: -98px;
}

.wave-divider--hero-mobile {
    display: none;
}

/* ========================================
   HERO NAV OFFSET
   Single source of truth for how far every inner-page hero sits
   below the fixed nav. Apply alongside each page's own hero class
   (e.g. class="imm-hero hero-nav-offset") — this class only ever
   controls padding-top / margin-top, never layout, background, or
   text alignment, so it can't conflict with page-specific styling.
   Do NOT redeclare padding-top or margin-top on a page's own hero
   class — that recreates the drift this class exists to prevent.
   ======================================== */
.hero-nav-offset {
    padding-top: 180px;
    margin-top: -80px;
}

@media (max-width: 899px) {
    .hero-nav-offset {
        padding-top: 160px;
    }
}

@media (max-width: 550px) {
    .hero-nav-offset {
        padding-top: 140px;
    }
}

/* ========================================
   PAGE HERO (inner pages: FAQ, IMM, Blog)
   ======================================== */

/* Shared pattern for non-index page heroes */
.page-hero {
    background-color: var(--light-green-bg);
    padding: 160px 24px 120px;
    margin-top: -80px;
    text-align: center;
}

.page-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.page-hero-sub {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.8;
}

@media (max-width: 899px) {
    .page-hero {
        padding: 144px 24px 100px;
    }
    .page-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 550px) {
    .page-hero {
        padding: 128px 20px 80px;
    }
    .page-hero h1 {
        font-size: 30px;
    }
    .page-hero-sub {
        font-size: 15px;
    }
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.cta-section {
    position: relative;
    background-image: url('/wp-content/uploads/2026/07/stripes.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 130px 24px 150px;
    text-align: center;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.cta-container h2,
.cta-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: var(--spacing-xl);
}

.cta-rule {
    width: 120px;
    height: 1px;
    background-color: rgba(28, 37, 73, 0.18);
    margin: 0 auto var(--spacing-xl);
}

.cta-price {
    font-size: 20px;
    margin-bottom: var(--spacing-lg);
}

.cta-price strong {
    color: var(--primary-green);
    font-weight: 700;
}

.cta-price .cta-price-divider {
    margin: 0 6px;
    opacity: 0.4;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8.4px 28px 6px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-green-hover);
    box-shadow: 0 0 0 5px rgba(55, 183, 131, 0.25);
}

.cta-button:focus-visible {
    outline: 2px solid var(--primary-green-hover);
    outline-offset: 2px;
    border-radius: 24px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: #4C6A92;
    color: var(--white);
    padding: 8.4px 28px 6px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #3E5878;
    box-shadow: 0 0 0 5px rgba(76, 106, 146, 0.25);
}

.btn-secondary:focus-visible {
    outline: 2px solid #3E5878;
    outline-offset: 2px;
    border-radius: 24px;
}

@media (max-width: 899px) {
    .cta-section {
        padding: 100px 24px 120px;
    }

    .cta-container h2,
    .cta-heading {
        font-size: 30px;
    }

    .cta-price {
        font-size: 18px;
    }
}

@media (max-width: 550px) {
    .cta-section {
        padding: 72px 20px 90px;
        background-size: 200% auto;
    }

    .cta-container h2,
    .cta-heading {
        font-size: 32px;
    }

    .cta-rule {
        width: 90px;
        margin-bottom: var(--spacing-lg);
    }

    .cta-price {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }

    .cta-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /* Accessibility: minimum legible size for button/link text on mobile */
    .cta-button {
        font-size: 16px;
    }
}

/* ========================================
   FAQ SECTION (shared component)
   ======================================== */

.faq-section {
    background-color: var(--white);
    padding: 110px 0 140px;
    text-align: center;
}

.faq-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-container h2 {
    margin-bottom: var(--spacing-2xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: left;
}

.faq-item {
    background-color: var(--grey-trust);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 24px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: -2px;
    border-radius: 8px;
}

.faq-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    position: relative;
}

.faq-icon svg {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open .faq-icon .faq-icon-vertical {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    line-height: 1.6;
    padding: 0 24px;
    margin-bottom: var(--spacing-md);
}

.faq-answer p:last-child {
    margin-bottom: 0;
    padding-bottom: 22px;
}

@media (max-width: 899px) {
    .faq-section {
        padding: 90px 0 110px;
    }

    .faq-container h2 {
        font-size: 30px;
    }
}

@media (max-width: 550px) {
    .faq-section {
        padding: 64px 0 80px;
    }

    .faq-container h2 {
        font-size: 32px;
        margin-bottom: var(--spacing-xl);
    }

    .faq-question {
        padding: 18px 18px;
        font-size: 16px;
        gap: var(--spacing-md);
    }

    .faq-answer p {
        font-size: 16px;
        padding: 0 18px;
    }

    .faq-answer p:last-child {
        padding-bottom: 18px;
    }
}

/* ========================================
   BLOG CARD
   Shared between the blog index grid (blog.html) and the
   related-articles grid at the bottom of each post (blogpost.html).
   ======================================== */

.blog-date {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.45;
}

.blog-date::before {
    content: '·';
    margin-right: 8px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
}

.blog-read-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.blog-card {
    background-color: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(227, 226, 226, 0.2) 0px 1px 3px, rgba(71, 71, 71, 0.08) 0px 4px 4px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: rgba(0, 0, 0, 0.22) 0px 4px 12px;
    transform: translateY(-3px);
}

.blog-card:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--light-green-bg);
    overflow: hidden;
}

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

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

/* Placeholder image when no photo */
.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.2;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.35;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(28, 37, 73, 0.07);
}

.blog-read-time {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.4;
}

/* ========================================
   SHARED NAV SCRIPT BLOCK
   The following JS snippet is identical on every page.
   It handles scroll-based nav styling, hamburger toggle,
   keyboard navigation, and mobile menu close behaviours.
   ======================================== */
/* ========================================
   FOOTER
   ======================================== */

.site-footer { background-color: var(--text-primary); color: var(--white); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px var(--spacing-lg) 40px 80px; }

.footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-xl); flex-wrap: wrap; margin-bottom: var(--spacing-2xl); }
.footer-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.footer-logo-icon { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-logo-text { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--white); }

.footer-legal-links { display: flex; align-items: center; gap: var(--spacing-lg); flex-wrap: wrap; }
.footer-legal-links a { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--white); opacity: 0.75; text-decoration: none; transition: opacity 0.2s ease; }
.footer-legal-links a:hover { opacity: 1; }

.footer-divider { height: 1px; background-color: rgba(255, 255, 255, 0.12); margin-bottom: var(--spacing-lg); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-lg); flex-wrap: wrap; }
.footer-social { display: flex; align-items: center; gap: var(--spacing-md); flex-shrink: 0; }
.footer-social-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); color: var(--white); transition: background-color 0.2s ease; }
.footer-social-icon:hover { background-color: var(--primary-green); }
.footer-social-icon svg { width: 16px; height: 16px; }

.footer-meta-line { font-size: 12px; color: var(--white); opacity: 0.5; line-height: 1.6; text-align: right; }
.footer-meta-line a { color: var(--white); opacity: 1; text-decoration: none; }
.footer-meta-line a:hover { text-decoration: underline; text-underline-offset: 2px; }
.footer-meta-sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 899px) {
    .footer-inner { padding: 48px var(--spacing-lg) 40px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); }
    .footer-legal-links { gap: var(--spacing-md); }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--spacing-md); }
}
@media (max-width: 550px) {
    .footer-inner { padding: 40px 20px 32px; }
    .footer-legal-links { flex-direction: column; align-items: flex-start; gap: var(--spacing-sm); }
    .footer-meta-line { font-size: 11px; }
    .footer-meta-sep { display: block; margin: 4px 0 0; }
}