/**
 * ASSOCIATION PALEODECOUVERTES — MASTER STYLESHEET
 * "Guidan Nonprofit Theme" Design System
 * 100% Self-Contained, High-Performance, Mobile-First Compliant
 * Color Palette: Sunshine Gold #F3BA2F | Red-Orange #ED5236 | Deep Navy #1F2531 | Off-White #F8F9FA
 */

/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */
:root {
    --color-primary: #F3BA2F;          /* Sunshine Gold */
    --color-primary-hover: #E2A619;
    --color-secondary: #ED5236;        /* Energy Red-Orange */
    --color-secondary-hover: #D64228;
    --color-navy: #1F2531;             /* Deep Navy Charcoal */
    --color-navy-light: #2A3242;
    --color-navy-dark: #151A24;
    --color-bg-light: #F8F9FA;         /* Soft Off-White */
    --color-surface: #FFFFFF;          /* Pure White */
    --color-border: #E2E8F0;           /* Border Divider */
    --color-border-dark: #CBD5E1;
    --color-text-main: #242D3D;
    --color-text-muted: #5F6C7B;
    --color-text-light: #8E9BAE;
    --color-success: #28A745;
    --color-success-bg: #E8F5E9;
    --color-accent-blue: #1E6B9B;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Lora', Georgia, serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(31, 37, 49, 0.04);
    --shadow-md: 0 4px 12px rgba(31, 37, 49, 0.08);
    --shadow-lg: 0 10px 25px rgba(31, 37, 49, 0.12);
    --shadow-card: 0 6px 18px rgba(31, 37, 49, 0.06);

    --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    --max-width: 1220px;
}

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

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    word-break: break-word;
}

main {
    flex: 1 0 auto;
}

/* ==========================================================================
   2. TYPOGRAPHY & HEADINGS HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.15rem;
    color: var(--color-text-main);
    font-size: 1.025rem;
    line-height: 1.7;
}

p.lead {
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--color-text-main);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--color-secondary-hover);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.45rem;
    line-height: 1.6;
}

blockquote {
    border-left: 4px solid var(--color-primary);
    background: #FFFBEB;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-navy);
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.site-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-container-narrow {
    max-width: 900px;
}

.section-block {
    padding: 4.5rem 0;
}

.section-alt {
    background-color: var(--color-bg-light);
}

.section-white {
    background-color: var(--color-surface);
}

.section-navy {
    background-color: var(--color-navy);
    color: #FFFFFF;
}

.section-navy h2, .section-navy h3, .section-navy p {
    color: #FFFFFF;
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    margin-top: 0.5rem;
}

.section-kicker {
    display: inline-block;
    font-size: 0.825rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    background: rgba(237, 82, 54, 0.1);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   4. UTILITY BAR (TOP COMPLIANCE BAR)
   ========================================================================== */
.utility-bar {
    background-color: var(--color-navy);
    color: #E2E8F0;
    font-size: 0.825rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.utility-left, .utility-right {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.utility-label {
    color: #94A3B8;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
}

.badge-pill {
    background: rgba(243, 186, 47, 0.18);
    color: #FDE047;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
}

.utility-link {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.4rem;
    border-radius: var(--radius-sm);
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.utility-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.compliance-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   5. STICKY HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    background-color: var(--color-surface);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding: 0.5rem 0;
}

.brand-block:hover {
    text-decoration: none;
}

.brand-emblem {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.73rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Main Nav List */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
    min-height: 44px; /* Touch Target Compliance */
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
    color: var(--color-secondary);
    background-color: rgba(237, 82, 54, 0.05);
    text-decoration: none;
}

.dropdown-chevron {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1010;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 0.85rem;
    color: var(--color-navy);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    min-height: 44px;
}

.dropdown-link strong {
    display: block;
    font-size: 0.92rem;
    color: var(--color-navy);
}

.dropdown-link small {
    display: block;
    font-size: 0.77rem;
    color: var(--color-text-muted);
    margin-top: 0.2rem;
    line-height: 1.3;
}

.dropdown-link:hover, .dropdown-link:focus, .dropdown-link.active {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    text-decoration: none;
}

.dropdown-link:hover strong {
    color: var(--color-secondary);
}

.nav-item-cta {
    margin-left: 0.5rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 22px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 22px;
    height: 2px;
    background-color: var(--color-navy);
    position: absolute;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.hamburger-inner {
    top: 50%;
    margin-top: -1px;
}

.hamburger-inner::before {
    content: '';
    top: -7px;
}

.hamburger-inner::after {
    content: '';
    bottom: -7px;
}

/* ==========================================================================
   6. BUTTONS & CALL-TO-ACTIONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 44px; /* Touch Target Compliance */
    min-width: 44px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.2;
}

.btn:hover, .btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-navy);
    border-color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: var(--color-navy-dark);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #FFFFFF;
    border-color: var(--color-secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
    color: #FFFFFF;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--color-navy);
    color: #FFFFFF;
}

.btn-outline-white {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover, .btn-outline-white:focus {
    background-color: #FFFFFF;
    color: var(--color-navy);
    border-color: #FFFFFF;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

/* ==========================================================================
   7. HERO BANNERS & PAGE HEADERS
   ========================================================================== */
.hero-banner {
    position: relative;
    padding: 5.5rem 0;
    background-color: var(--color-navy);
    color: #FFFFFF;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 37, 49, 0.93) 0%, rgba(31, 37, 49, 0.82) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-badge {
    background-color: rgba(243, 186, 47, 0.22);
    color: #FDE047;
    border: 1px solid rgba(243, 186, 47, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-banner h1 {
    color: #FFFFFF;
    font-size: 2.85rem;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.22rem;
    color: #E2E8F0;
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Page Sub-Hero Banner */
.page-hero {
    position: relative;
    padding: 4rem 0;
    background-color: var(--color-navy);
    color: #FFFFFF;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero h1 {
    color: #FFFFFF;
    font-size: 2.35rem;
    margin-bottom: 0.75rem;
}

.page-hero p.lead {
    color: #E2E8F0;
    max-width: 780px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: #CBD5E1;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   8. REAL DOCUMENTARY PHOTOGRAPHY & CAPTIONS
   ========================================================================== */
.doc-img-container {
    margin: 1.75rem 0 1.25rem 0;
}

.doc-img-container img,
img.doc-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 0 8px 0;
    object-fit: cover;
    display: block;
}

figcaption,
.doc-img-caption {
    font-size: 0.875rem;
    color: #64748B;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.45;
    display: block;
    padding: 0 0.25rem;
}

figcaption strong {
    color: var(--color-navy);
    font-style: normal;
}

/* Two-column Image Grid */
.doc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* ==========================================================================
   9. GUIDAN NONPROFIT FEATURE CARDS & PROGRESS BARS
   ========================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin: 2rem 0;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.guid-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.guid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-dark);
}

.card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.status-badge-active {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--color-success-bg);
    color: var(--color-success);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.status-badge-active::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
}

.card-year-tag {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.guid-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.guid-card p {
    color: var(--color-text-muted);
    font-size: 0.96rem;
    flex-grow: 1;
}

/* Guidan Progress Bar Component */
.progress-block {
    margin: 1.25rem 0;
    background-color: #F1F5F9;
    border-radius: var(--radius-md);
    padding: 0.85rem;
    border: 1px solid #E2E8F0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.45rem;
}

.progress-track {
    width: 100%;
    height: 10px;
    background-color: #E2E8F0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-full);
    transition: width 1s ease-in-out;
}

/* Highlight / Impact Statement Box */
.highlight-statement-box {
    background-color: #FFFDF5;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.statement-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.statement-icon {
    font-size: 1.75rem;
}

.statement-text {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--color-navy);
}

/* Stats / Impact Counter Grid */
.stats-strip {
    background-color: var(--color-navy);
    color: #FFFFFF;
    padding: 3rem 0;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    color: #E2E8F0;
    font-weight: 600;
}

.stat-subtext {
    display: block;
    font-size: 0.78rem;
    color: #94A3B8;
    margin-top: 0.25rem;
}

/* ==========================================================================
   10. DATA TABLES & FINANCIAL GRIDS
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 1.75rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    background-color: var(--color-surface);
}

.compliance-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.94rem;
}

.compliance-table th,
.compliance-table td {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--color-border);
}

.compliance-table th {
    background-color: #F8FAFC;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.compliance-table tbody tr:hover {
    background-color: #F8FAFC;
}

.compliance-table tbody tr:last-child td {
    border-bottom: none;
}

.table-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
}

.table-badge-green {
    background-color: #DEF7EC;
    color: #03543F;
}

.table-badge-blue {
    background-color: #E1EFFE;
    color: #1E429F;
}

/* ==========================================================================
   11. FORMS & INPUT CONTROLS
   ========================================================================== */
.form-container-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: 2.25rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}

.form-label .req {
    color: var(--color-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--color-navy);
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    min-height: 44px; /* Touch Target Compliance */
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.25);
}

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

.form-hint {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--color-secondary);
    margin-top: 0.2rem;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    cursor: pointer;
}

/* ==========================================================================
   12. TIMELINE & GOVERNANCE STYLES
   ========================================================================== */
.timeline-track {
    position: relative;
    padding-left: 2.25rem;
    margin: 2.5rem 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 3px;
    background-color: var(--color-border);
}

.timeline-milestone {
    position: relative;
    margin-bottom: 2rem;
}

.milestone-marker {
    position: absolute;
    left: -2.25rem;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 3px solid #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.milestone-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.milestone-year {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.milestone-title {
    font-size: 1.15rem;
    margin: 0.25rem 0 0.5rem 0;
}

/* Governance Grid */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.governance-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.governance-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-navy) 0%, #3B4861 100%);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    border: 3px solid var(--color-primary);
}

.governance-card h4 {
    margin-bottom: 0.2rem;
}

.governance-role {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.governance-card p {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   13. MODAL POPUP & NOTIFICATIONS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(31, 37, 49, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 2.25rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    animation: modalSlideUp 0.25s ease-out forwards;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background-color: var(--color-bg-light);
    color: var(--color-navy);
}

.modal-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #DEF7EC;
    color: #03543F;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.modal-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.modal-receipt-box {
    background-color: var(--color-bg-light);
    border: 1px dashed var(--color-border-dark);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    margin: 1.25rem 0;
    font-size: 0.85rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ==========================================================================
   14. GLOBAL FOOTER (DEEP NAVY COMPLIANCE HUB)
   ========================================================================== */
.main-footer {
    background-color: var(--color-navy);
    color: #CBD5E1;
    font-size: 0.92rem;
    margin-top: auto;
}

.footer-pre-banner {
    background-color: var(--color-navy-light);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
}

.pre-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pre-banner-text {
    max-width: 680px;
}

.pre-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    background: rgba(243, 186, 47, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.45rem;
}

.pre-banner-text h3 {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.pre-banner-text p {
    color: #CBD5E1;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.pre-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer Main Body Grid */
.footer-main-body {
    padding: 4rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.35fr;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.footer-brand-badge {
    font-size: 0.78rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.15rem;
}

.footer-statement-lead {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.legal-badge-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
}

.legal-badge-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-badge-row:last-child {
    border-bottom: none;
}

.legal-badge-label {
    color: #94A3B8;
}

.legal-badge-val {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-heading {
    font-size: 1.02rem;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    padding-left: 2px;
}

.footer-address {
    font-style: normal;
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.55;
}

.footer-address strong {
    color: #FFFFFF;
}

.footer-address a {
    color: var(--color-primary);
}

.compliance-stamp {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(243, 186, 47, 0.1);
    border: 1px solid rgba(243, 186, 47, 0.25);
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
}

.stamp-icon {
    font-size: 1.25rem;
}

.stamp-text {
    font-size: 0.78rem;
    color: #FDE047;
    line-height: 1.35;
    font-weight: 500;
}

/* Mandatory Legal Bar at Bottom of Footer */
.footer-legal-bar {
    background-color: var(--color-navy-dark);
    padding: 2.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mandatory-disclosure-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.mandatory-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #E2E8F0;
    font-weight: 500;
}

.mandatory-text-fr {
    font-size: 0.81rem;
    line-height: 1.55;
    color: #94A3B8;
}

.reinvestment-text {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #FDE047;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.footer-bottom-links a {
    color: #94A3B8;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

.footer-bottom-links .sep {
    color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    text-align: center;
    font-size: 0.78rem;
    color: #64748B;
}

.footer-copyright p {
    color: inherit;
    font-size: inherit;
    margin-bottom: 0;
}

/* ==========================================================================
   15. ACCESSIBILITY & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Desktop & Large Tablet Rules */
@media (max-width: 992px) {
    /* Header & Navigation Stack */
    .mobile-nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--color-border);
    }

    .main-nav.nav-menu-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: var(--color-bg-light);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0.35rem;
        border-radius: var(--radius-sm);
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .has-dropdown.dropdown-open .dropdown-chevron {
        transform: rotate(180deg);
    }

    .nav-item-cta {
        margin-left: 0;
        margin-top: 1rem;
    }

    .nav-cta-btn {
        width: 100%;
    }

    /* Grids stack */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid-3, .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Smartphone & Compact Screen Rules */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 1.95rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-block {
        padding: 3rem 0;
    }

    .hero-banner {
        padding: 3.5rem 0;
    }

    .hero-banner h1 {
        font-size: 2.1rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .utility-bar {
        font-size: 0.75rem;
    }

    .utility-container {
        justify-content: center;
        text-align: center;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .card-grid, .card-grid-2, .card-grid-3, .card-grid-4 {
        grid-template-columns: 1fr;
    }

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

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
    }

    .pre-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .pre-banner-actions {
        width: 100%;
    }

    .pre-banner-actions .btn {
        width: 100%;
    }
}
