@charset "utf-8";

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 248, 243, 0.94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-wordmark strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest);
    letter-spacing: -0.01em;
}

.logo-wordmark span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

/* Nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.site-nav ul li a {
    font-size: var(--step--1);
    font-weight: 500;
    color: var(--ink);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background 0.15s ease;
}

.site-nav ul li a:hover,
.site-nav ul li a.active {
    color: var(--green);
    background: rgba(14, 122, 47, 0.07);
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: var(--space-2);
}

.lang-switch a {
    color: var(--slate);
    padding: 0.25rem 0.4rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease;
}

.lang-switch a:hover,
.lang-switch a.current {
    color: var(--green);
}

.lang-switch .sep {
    color: var(--mist);
    user-select: none;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */

.hero {
    background: var(--forest);
    padding-block: var(--space-7);
    position: relative;
    overflow: hidden;
}

/* Gradient accent bar along top */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-gradient-h);
}

/* Subtle textured overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%,
        rgba(47, 179, 68, 0.08) 0%,
        transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
    display: inline-block;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-3);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-weight: 700;
    color: var(--paper);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-3);
}

.hero h1 em {
    font-style: normal;
    background: var(--brand-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.hero-sub {
    font-size: var(--step-1);
    color: rgba(247, 248, 243, 0.68);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.hero-cta {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

/* Hero decoration — gradient orb */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-emblem {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--brand-gradient);
    opacity: 0.18;
    filter: blur(40px);
    position: absolute;
    right: 8%;
    pointer-events: none;
}

.hero-shield {
    position: relative;
    z-index: 1;
    width: 200px;
    height: 200px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */

.site-footer {
    background: var(--forest);
    color: var(--paper);
}

.footer-top {
    padding-block: var(--space-6) var(--space-5);
    border-bottom: 1px solid var(--color-border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-5);
}

.footer-brand .logo-wordmark strong { color: var(--paper); }
.footer-brand .logo-wordmark span   { color: rgba(247, 248, 243, 0.45); }

.footer-brand p {
    color: rgba(247, 248, 243, 0.55);
    font-size: var(--step--1);
    max-width: 28ch;
    margin-top: var(--space-2);
    line-height: 1.6;
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(247, 248, 243, 0.45);
    margin-bottom: var(--space-2);
}

.footer-col ul li a {
    display: block;
    font-size: var(--step--1);
    color: rgba(247, 248, 243, 0.65);
    padding-block: 0.3rem;
    transition: color 0.15s ease;
}
.footer-col ul li a:hover { color: var(--paper); }

.footer-address {
    font-size: var(--step--1);
    color: rgba(247, 248, 243, 0.55);
    line-height: 1.7;
    font-style: normal;
    margin-top: var(--space-2);
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: var(--space-3);
    font-size: 0.78rem;
    color: rgba(247, 248, 243, 0.4);
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(247, 248, 243, 0.55);
    transition: color 0.15s ease;
}
.footer-bottom a:hover { color: var(--paper); }

.footer-bottom-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Gradient stripe at very bottom of footer */
.footer-stripe {
    height: 3px;
    background: var(--brand-gradient-h);
}

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */

.page-hero {
    background: var(--forest);
    padding-block: var(--space-6);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-gradient-h);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: var(--step-4);
    color: var(--paper);
    letter-spacing: -0.025em;
}

.page-hero p {
    color: rgba(247, 248, 243, 0.65);
    font-size: var(--step-1);
    max-width: 540px;
    margin-top: var(--space-2);
}

.page-hero .eyebrow { color: var(--gold); margin-bottom: var(--space-2); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .hero-visual { display: none; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--paper);
        padding: var(--space-3) var(--space-4);
        gap: var(--space-3);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
        z-index: 99;
        overflow-y: auto;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav ul li a {
        display: block;
        padding: var(--space-2);
        border-radius: 0;
        border-bottom: 1px solid var(--mist);
        font-size: var(--step-0);
    }

    .lang-switch {
        margin-left: 0;
        justify-content: flex-start;
        padding: var(--space-2) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
}

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
