/* =============================================================
   UBUMUNTU HEALTH LABS — styles.css
   Designed by AZ Soft Solutions
   ============================================================= */

/* ── Variables ──────────────────────────────────────────────── */
:root {
    --navy:         #001B4E;
    --navy-deep:    #000D2E;
    --navy-mid:     #002366;
    --navy-light:   #0A2F6B;
    --gold:         #C5A059;
    --gold-light:   #D4B872;
    --gold-dim:     rgba(197,160,89,0.15);
    --gold-border:  rgba(197,160,89,0.35);
    --sand:         #F8F5EF;
    --sand-dark:    #EDE9E0;
    --white:        #FFFFFF;
    --gray-100:     #F3F0EB;
    --gray-200:     #E4E0D8;
    --gray-text:    #5A5760;
    --gray-dark:    #2A2630;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'DM Sans', 'Segoe UI', system-ui, sans-serif;

    --shadow-xs:  0 1px 4px rgba(0,27,78,0.07);
    --shadow-sm:  0 4px 12px rgba(0,27,78,0.09);
    --shadow-md:  0 8px 28px rgba(0,27,78,0.13);
    --shadow-lg:  0 20px 50px rgba(0,27,78,0.16);
    --shadow-gold:0 8px 30px rgba(197,160,89,0.28);

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t: 0.3s var(--ease);
    --t-slow: 0.6s var(--ease);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--sand);
    color: var(--gray-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }
ul { list-style: none; }

/* ── Accessibility ──────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.py-section { padding: 5rem 0; }

/* ── Page switching ─────────────────────────────────────────── */
.page { display: none; opacity: 0; transition: opacity 0.3s var(--ease); }
.page.active { display: block; opacity: 1; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    color: var(--navy);
    font-weight: 900;
}
.section-title--light { color: var(--white); }
.section-title em, .hero__title em, .page-hero__title em {
    font-style: italic;
    color: var(--gold);
}
.section-subtitle {
    color: var(--gray-text);
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-style: italic;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.9rem;
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--t);
    text-decoration: none;
    white-space: nowrap;
}
.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, #A37F3D 100%);
    color: var(--navy-deep);
    box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(197,160,89,0.4); }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn--outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
}
.btn--outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}
.btn--outline-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
    background: var(--navy-deep);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(197,160,89,0.15);
}
.nav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity var(--t);
}
.nav__brand:hover { opacity: 0.85; }
.nav__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(197,160,89,0.3));
}
.nav__brand-text { display: flex; flex-direction: column; }
.nav__brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gold);
    line-height: 1.1;
    letter-spacing: 0.03em;
}
.nav__brand-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__link {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    transition: var(--t);
    white-space: nowrap;
}
.nav__link:hover { color: var(--gold); background: rgba(255,255,255,0.05); }
.nav__link.active { color: var(--gold); }
.nav__link--highlight {
    background: rgba(197,160,89,0.12);
    color: var(--gold);
    border: 1px solid var(--gold-border);
}
.nav__link--highlight:hover { background: var(--gold); color: var(--navy-deep); }
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    border-radius: var(--r-sm);
    transition: var(--t);
}
.nav__hamburger:hover { background: rgba(255,255,255,0.1); }
.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--t);
}
.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;
    background: var(--navy);
    border-top: 1px solid rgba(197,160,89,0.15);
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.25rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    text-align: left;
    transition: var(--t);
}
.nav__mobile-link:hover { background: rgba(255,255,255,0.07); color: var(--gold); }
.nav__mobile-link--gold { color: var(--gold); font-weight: 600; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}
/* Braille-dot animated background */
.hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,89,0.18) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    animation: dotPulse 6s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.hero__circuit {
    position: absolute;
    left: 3%;
    top: 15%;
    width: 220px;
    opacity: 0.6;
    animation: circuitFloat 8s ease-in-out infinite;
}
.hero__circuit-svg { width: 100%; }
@keyframes circuitFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.reveal-hero { animation: heroReveal 1.1s var(--ease) both; }
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(197,160,89,0.12);
    border: 1px solid var(--gold-border);
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-full);
    margin-bottom: 1.75rem;
    animation: heroReveal 1.1s 0.15s var(--ease) both;
}
.hero__title {
    font-size: clamp(2.5rem, 7vw, 5.25rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    animation: heroReveal 1.1s 0.25s var(--ease) both;
}
.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.72);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    font-weight: 300;
    animation: heroReveal 1.1s 0.35s var(--ease) both;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroReveal 1.1s 0.45s var(--ease) both;
}
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: heroReveal 1.1s 0.7s var(--ease) both;
}
.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(197,160,89,0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

/* ── Manifesto Band ─────────────────────────────────────────── */
.manifesto-band {
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid var(--gray-200);
    padding: 3.5rem 0;
}
.manifesto-band__inner {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}
.manifesto-band__mark {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold-dim);
    line-height: 0;
    position: absolute;
    top: 0;
    left: 1.5rem;
    user-select: none;
}
.manifesto-band__quote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    font-weight: 400;
}
.manifesto-band__quote strong { font-style: normal; font-weight: 900; color: var(--gold); }
.manifesto-band__source {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-text);
}

/* ── Brand Story Journey ─────────────────────────────────────── */
.story-journey { padding: 5rem 0; background: var(--sand); }
.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.story-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.story-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0;
    transition: var(--t);
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.story-card:hover::before { opacity: 1; }
.story-card__number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold-dim);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.story-card__icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.story-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.story-card__text { color: var(--gray-text); font-size: 0.95rem; line-height: 1.75; }
.story-card__text em { color: var(--gold); font-style: italic; }

/* ── Stats Band ─────────────────────────────────────────────── */
.stats-band {
    background: var(--navy);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,89,0.07) 1px, transparent 1px);
    background-size: 20px 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 1.5rem;
}
.stat-item__number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.stat-item__plus, .stat-item__percent {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    vertical-align: super;
}
.stat-item__label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ── Pillars ─────────────────────────────────────────────────── */
.pillars { padding: 5rem 0; background: var(--gray-100); }
.pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.pillar-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--navy);
    transition: var(--t);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-card--gold { border-top-color: var(--gold); }
.pillar-card__icon { font-size: 2.25rem; color: var(--gold); margin-bottom: 1rem; }
.pillar-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.75rem; font-family: var(--font-display); font-weight: 700; }
.pillar-card p { color: var(--gray-text); font-size: 0.9rem; }

/* ── CTA Band ────────────────────────────────────────────────── */
.cta-band {
    background: var(--navy-deep);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,89,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.cta-band__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--gray-200);
}
.page-hero--light { background: linear-gradient(135deg, var(--white) 60%, var(--sand) 100%); }
.page-hero--dark {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,89,0.08) 1px, transparent 1px);
    background-size: 22px 22px;
}
.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--navy);
    margin: 0.5rem 0 1rem;
    font-weight: 900;
}
.page-hero__title--light { color: var(--white); position: relative; z-index: 1; }
.page-hero__subtitle { font-size: 1.05rem; color: var(--gray-text); }
.page-hero__subtitle--light { color: rgba(255,255,255,0.7); position: relative; z-index: 1; }
.initiative-badge {
    display: inline-block;
    background: rgba(197,160,89,0.12);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: var(--r-full);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.initiative-badge--light { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.3); }

/* ── About ───────────────────────────────────────────────────── */
.about-origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}
.about-origin__text p { color: var(--gray-text); margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.8; }
.about-origin__title { font-size: 1.85rem; color: var(--navy); margin-bottom: 1.5rem; }
.about-origin__signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--gold);
    font-style: italic;
}
.about-origin__sig-line { width: 40px; height: 2px; background: var(--gold); flex-shrink: 0; }
.about-origin__image { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-origin__image img { width: 100%; height: 420px; object-fit: cover; }
.about-origin__image-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(0,13,46,0.88);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(4px);
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}
.vm-card {
    border-radius: var(--r-lg);
    padding: 2.5rem;
    transition: var(--t);
}
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vm-card--navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.vm-card--gold { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: rgba(255,255,255,0.85); border: 1px solid var(--gold-border); }
.vm-card__icon { font-size: 1.75rem; color: var(--gold); margin-bottom: 1rem; }
.vm-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-bottom: 0.75rem; }
.vm-card p { font-size: 0.98rem; line-height: 1.8; }
.principles { background: var(--sand-dark); border-radius: var(--r-lg); padding: 2.75rem; margin-bottom: 4rem; }
.principles__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 1.5rem; }
.principles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.principle { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--gray-text); font-size: 0.95rem; }
.principle i { color: var(--gold); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.9rem; }
.team-section { margin-top: 4rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.team-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--t); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.team-card__photo img { width: 100%; height: 260px; object-fit: cover; transition: var(--t); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__info { padding: 1.5rem; }
.team-card__info h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.25rem; font-weight: 700; }
.team-card__info p { font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.6rem; }
.team-card__bio { font-size: 0.88rem; color: var(--gray-text); line-height: 1.65; }

/* ── Services ────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 4rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2.25rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    position: relative;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--gold);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transition: width var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.service-card:hover::after { width: 100%; }
.service-card__icon { font-size: 2.25rem; color: var(--gold); margin-bottom: 1.25rem; display: block; }
.service-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.75rem; font-weight: 700; }
.service-card p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.25rem; }
.service-card__tag {
    display: inline-block;
    background: var(--gold-dim);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: var(--r-full);
}
.services-cta { text-align: center; padding: 3rem 0 0; }
.services-cta p { font-size: 1.15rem; color: var(--gray-text); margin-bottom: 1.5rem; font-family: var(--font-display); font-style: italic; }

/* ── Initiative ──────────────────────────────────────────────── */
.initiative-intro {
    max-width: 740px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.85;
}
.initiative-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
.i-stat {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--gold);
    transition: var(--t);
}
.i-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.i-stat i { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.i-stat__number { display: block; font-family: var(--font-display); font-size: 2.75rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 0.75rem; }
.i-stat__label { font-size: 0.88rem; color: var(--gray-text); line-height: 1.6; }
.equity-model {
    background: var(--navy);
    border-radius: var(--r-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.equity-model__text h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--gold); margin-bottom: 1rem; }
.equity-model__text p { color: rgba(255,255,255,0.78); line-height: 1.8; margin-bottom: 1rem; font-size: 0.97rem; }
.equity-model__text p strong { color: var(--gold); }
.equity-model__diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
    text-align: center;
}
.equity-node {
    background: rgba(197,160,89,0.12);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-md);
    padding: 1rem 1.5rem;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
.equity-node i { color: var(--gold); font-size: 1.25rem; }
.equity-arrow { color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; }
.where-we-work h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--navy); margin-bottom: 1.75rem; }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.location-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    transition: var(--t);
}
.location-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.location-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.location-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 700; }
.location-card p { font-size: 0.88rem; color: var(--gray-text); }

/* ── SRHR Hub ────────────────────────────────────────────────── */
.srhr-hero {
    position: relative;
    background: var(--navy-deep);
    padding: 5.5rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
}
.srhr-hero__bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,89,0.1) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}
.srhr-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--gold);
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}
.srhr-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.75;
}
.srhr-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    align-items: start;
}
.srhr-offer__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.srhr-offer__title i { color: var(--gold); }
.srhr-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.srhr-list li { display: flex; gap: 1rem; align-items: flex-start; }
.srhr-list__icon {
    width: 36px;
    height: 36px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.srhr-list strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 0.25rem; }
.srhr-list p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.65; }
.srhr-session-notice {
    background: var(--sand-dark);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--navy);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.srhr-session-notice i { color: var(--gold); margin-top: 0.1rem; flex-shrink: 0; }
.srhr-offer__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.srhr-offer__photo img { width: 100%; height: 260px; object-fit: cover; }
.srhr-form-card {
    background: var(--navy);
    border-radius: var(--r-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-lg);
}
.srhr-form-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.srhr-impact {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.srhr-impact h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.srhr-impact h3 i { color: var(--gold); }
.srhr-impact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.srhr-impact__grid div { display: flex; flex-direction: column; gap: 0.5rem; }
.srhr-impact__n { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--navy); }
.srhr-impact__grid span:last-child { font-size: 0.85rem; color: var(--gray-text); font-weight: 500; }

/* ── Forms (shared) ─────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}
.contact-form-card .form-group label { color: var(--gray-dark); }
.form-optional { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 0.8rem; }
.contact-form-card .form-optional { color: var(--gray-text); }
.form-required { color: var(--gold); }
.contact-form-card .form-required { color: #e05252; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: var(--r-md);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--white);
    transition: var(--t);
    appearance: none;
    -webkit-appearance: none;
}
.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
    background: var(--sand);
    border-color: var(--gray-200);
    color: var(--gray-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(197,160,89,0.2);
}
.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,35,102,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder { color: rgba(90,87,96,0.5); }
.form-group select option { background: var(--navy-deep); color: var(--white); }
.contact-form-card .form-group select option { background: var(--white); color: var(--gray-dark); }
.form-error { display: block; color: #ff8a8a; font-size: 0.8rem; margin-top: 0.35rem; min-height: 1rem; }
.form-privacy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
}
.srhr-success,
.contact-success {
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    color: #4ade80;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    line-height: 1.5;
}
.srhr-success i, .contact-success i { flex-shrink: 0; margin-top: 0.1rem; }
.contact-success { color: var(--navy); background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.contact-success a { color: var(--gold); font-weight: 600; }

/* Mobile: stack icon + message cleanly */
@media (max-width: 768px) {
    .contact-success {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .contact-success {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}


/* ── Contact ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-form-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.contact-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.contact-info__card {
    background: var(--navy);
    border-radius: var(--r-xl);
    padding: 2.25rem;
    margin-bottom: 1.5rem;
}
.contact-info__card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.contact-info__list { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-info__list li { display: flex; align-items: center; gap: 0.85rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; flex-wrap: wrap; }
.contact-info__list i { color: var(--gold); width: 1.25rem; flex-shrink: 0; text-align: center; font-size: 1rem; }
.contact-info__list a { color: rgba(255,255,255,0.85); transition: color var(--t); }
.contact-info__list a:hover { color: var(--gold); }
.contact-tag {
    background: rgba(197,160,89,0.15);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-full);
    letter-spacing: 0.05em;
}
.contact-info__hours {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-info__note { font-size: 0.78rem; color: var(--gray-text); margin-top: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(197,160,89,0.12);
    padding: 3rem 0;
    color: rgba(255,255,255,0.5);
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { width: 44px; height: 44px; object-fit: contain; opacity: 0.9; }
.footer__brand-name { display: block; font-weight: 800; color: var(--white); letter-spacing: 0.05em; font-size: 0.95rem; margin-bottom: 0.15rem; }
.footer__tagline { font-size: 0.78rem; color: var(--gold); font-style: italic; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.footer__link {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--r-sm);
    transition: var(--t);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.footer__link:hover { color: var(--gold); background: rgba(255,255,255,0.05); }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); width: 100%; }

/* ── Floating WhatsApp ───────────────────────────────────────── */
.whatsapp-fab {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 400;
    background: #25D366;
    color: var(--white);
    width: 58px;
    height: 58px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    transition: var(--t);
    overflow: hidden;
}
.whatsapp-fab:hover {
    width: auto;
    padding: 0 1.25rem 0 1.1rem;
    border-radius: var(--r-full);
    box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}
.whatsapp-fab i { font-size: 1.6rem; flex-shrink: 0; }
.whatsapp-fab__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    transition: max-width 0.3s var(--ease), margin 0.3s var(--ease);
    margin-left: 0;
}
.whatsapp-fab:hover .whatsapp-fab__label { max-width: 140px; margin-left: 0.5rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .story-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .srhr-main-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .equity-model { grid-template-columns: 1fr; gap: 2rem; }
    .equity-model__diagram { flex-direction: row; justify-content: center; min-width: unset; }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on small screens */
    body { overflow-x: hidden; }

    /* Keep consistent page gutters */
    .container { padding-left: 1rem; padding-right: 1rem; }

    .nav__inner { padding-left: 1rem; padding-right: 1rem; }


    .nav__links { display: none; }
    .nav__hamburger { display: flex; }


    .story-grid { grid-template-columns: 1fr; }
    .about-origin { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-origin__text { order: 2; }
    .about-origin__image { order: 1; }
    .vm-grid { grid-template-columns: 1fr; }
    .principles__grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .initiative-stats { grid-template-columns: 1fr; gap: 1.25rem; }
    .pillars__grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .srhr-impact__grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }
    .footer__inner { justify-content: center; text-align: center; }
    .footer__copy { text-align: center; }
    .hero__actions { flex-direction: column; align-items: center; }
    .cta-band__actions { flex-direction: column; align-items: center; }
    .py-section { padding: 3.5rem 0; }
    .equity-model { padding: 2rem; }
    .equity-model__diagram { flex-direction: column; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .srhr-impact__grid { grid-template-columns: 1fr 1fr; }
    .srhr-form-card { padding: 1.75rem; }
    .contact-form-card { padding: 1.75rem; }
}

/* ── Loading state ───────────────────────────────────────────── */
.btn.loading { opacity: 0.7; pointer-events: none; }
.btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-left: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
