:root {
    /* 60% Dominant: Clean White & Subtle Alabaster */
    --bg-white: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --border-color: #e2e8f0;
    --border-strong: #cbd5e1;

    /* 30% Secondary: Institutional Navy & Blue */
    --navy-primary: #1b2a4a;
    --navy-dark: #0f172a;
    --navy-light: #2c3e66;
    --blue-accent: #2563eb;
    --blue-soft: #eff6ff;
    --blue-border: #bfdbfe;

    /* 10% Accent: Flame Vermilion #e4572e (used sparingly to draw attention) */
    --gold-accent: #e4572e;
    --gold-hover: #c9441e;
    --gold-bright: #f26a44;
    --gold-soft: #fef2ee;
    --gold-border: #fbd1c4;

    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;
    --text-on-dark-muted: #94a3b8;

    /* Crisp, architectural corners */
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 28px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 36px -14px rgba(27, 42, 74, 0.16);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy-primary);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    border-radius: var(--radius-sm);
}

/* Top Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.25s var(--ease);
}

.site-header.scrolled {
    box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.12);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    width: 218px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.25s var(--ease);
}

.brand-logo:hover img {
    opacity: 0.85;
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease);
}

.nav-menu a:hover {
    color: var(--navy-primary);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-switch a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lang-switch a:hover {
    color: var(--navy-primary);
}

.lang-active {
    color: var(--gold-accent);
}

.lang-sep {
    color: var(--border-strong);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-primary);
    color: #ffffff !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
    background-color: var(--navy-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy-primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--navy-primary) 0.85px, transparent 0.85px);
    background-size: 24px 24px;
    opacity: 0.04;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--navy-primary);
    background-color: var(--bg-white);
    border: 1px solid var(--border-strong);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background-color: var(--gold-accent);
}

.hero h1 {
    font-size: clamp(2.15rem, 4.6vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--navy-primary);
    margin-bottom: 1.35rem;
}

.hero-lead {
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 2.25rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.925rem;
    font-weight: 700;
    padding: 0.95rem 1.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

/* Primary CTA uses the attention-getting third color sparingly */
.btn-primary {
    background-color: var(--gold-accent);
    color: #ffffff;
    box-shadow: 0 10px 22px -8px rgba(228, 87, 46, 0.42);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--navy-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Trust Credentials Strip */
.credentials-strip {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.credential-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 2px solid var(--navy-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.credential-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-accent);
    margin-bottom: 0.3rem;
}

.credential-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.15rem;
}

.credential-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Generic Section Layout */
.section {
    padding: 5.5rem 0;
}

.section-subtle {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    max-width: 680px;
    margin-bottom: 3.25rem;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--navy-primary);
    margin-bottom: 0.85rem;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.about-copy p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-panel {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--navy-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.about-panel h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.fact-list {
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.fact-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--border-color);
}

.fact-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.fact-key {
    color: var(--text-muted);
    font-weight: 500;
}

.fact-val {
    color: var(--navy-primary);
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.fact-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--border-strong);
    transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.fact-link:hover {
    color: var(--gold-accent);
    text-decoration-color: var(--gold-accent);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.category-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.65rem;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.category-card:hover {
    border-color: var(--navy-primary);
    transform: translateY(-2px);
}

.category-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--blue-soft);
    color: var(--navy-primary);
    border: 1px solid var(--blue-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.45rem;
}

.category-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* How It Works Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.step-card {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: var(--navy-primary);
    color: var(--gold-bright);
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background-color: var(--navy-primary);
    color: #ffffff;
    border-top: 3px solid var(--gold-bright);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-info-card > p {
    font-size: 0.93rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    display: grid;
    gap: 1.35rem;
}

.contact-details li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-bright);
}

.contact-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
}

.contact-value a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    overflow-wrap: anywhere;
}

.contact-value a:hover {
    text-decoration-color: #ffffff;
}

/* Direct Contact Card */
.contact-direct-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-direct-card h3 {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.contact-direct-card > p {
    font-size: 0.96rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.direct-checklist {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem 1.35rem;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
}

.direct-checklist li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-light);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.direct-checklist li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background-color: var(--gold-accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.direct-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2.25rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 380px;
}

.footer-brand img {
    width: 191px;
    height: auto;
    margin-bottom: 0.9rem;
    mix-blend-mode: multiply;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 3.5rem;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy-primary);
    margin-bottom: 0.85rem;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .credentials-strip {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        min-height: 68px;
        gap: 0;
    }

    .brand-logo img {
        width: 180px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.5rem 1.25rem;
    }

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

    .nav-menu li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--bg-muted);
    }

    .nav-menu li.lang-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--bg-muted);
    }

    .nav-menu li.lang-item .lang-switch a {
        display: inline;
        padding: 0;
        border-bottom: none;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
        margin-top: 0.65rem;
        text-align: center;
    }

    .hero {
        padding: 3.75rem 0 3.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .credentials-strip,
    .categories-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .direct-actions .btn {
        width: 100%;
    }

    .contact-info-card,
    .contact-direct-card {
        padding: 1.75rem;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 540px) {
    .fact-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .fact-val {
        text-align: left;
    }
}

/* Keyboard Focus Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
}

/* Respect User Reduced-Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
