:root {
    --green: #0e4d32;
    --green-deep: #082e1e;
    --gold: #c4a035;
    --brand-gradient: linear-gradient(90deg, #a38b02 6%, #099427 95%, #f52e2e 5%);
    --gold-deep: #a6852a;
    --ink: #1c2430;
    --muted: #5e6872;
    --line: #e4dfd4;
    --paper: #f6f4ef;
    --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
    --font-serif: "Libre Baskerville", Georgia, serif;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: #fff;
}

h1, h2, h3, h4, .navbar-brand, .section-title, .page-title {
    font-family: var(--font-serif);
}

.site-navbar {
    background: var(--brand-gradient);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.25;
    color: #FFD700 !important;
    max-width: 15rem;
}

.navbar-brand:hover { color: #FF7F50 !important; }

.logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid rgba(196, 160, 53, 0.85);
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-left: 0.35rem;
    padding: 0.4rem 0.7rem !important;
}

.nav-link:hover { color: var(--gold) !important; }

.navbar .nav-link.active {
    color: var(--gold) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    border-radius: 0;
}

.btn-don-link {
    background: var(--gold);
    color: #1c1604 !important;
    border-radius: 999px;
    padding: 0.45rem 1rem !important;
    margin-left: 0.75rem;
    font-weight: 700;
}

.btn-don-link:hover,
.btn-don-link.active {
    background: #dbb84a;
    color: #1c1604 !important;
    border-bottom: none;
}

.lang-switch select {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-switch select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.lang-switch select option { color: var(--ink); }

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-main {
    padding-top: 2.75rem;
    padding-bottom: 2.5rem;
}

.site-main--home {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.page-title,
.site-main h1.text-warning,
.site-main h2.text-warning,
.card-title {
    color: var(--green-deep);
}

.page-title,
.site-main h1.text-warning,
.site-main h2.text-warning {
    color: var(--green-deep) !important;
}

.section-title {
    color: var(--green-deep);
}

.site-main h2.text-primary,
.site-main .card-title.text-warning {
    color: var(--green) !important;
}

.site-main .form-control,
.site-main .form-select {
    border-radius: 12px;
    border-color: var(--line);
    padding: 0.72rem 0.9rem;
}

.site-main .form-control:focus,
.site-main .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(196, 160, 53, 0.22);
}

.btn-don,
.site-main .btn-warning {
    background: var(--gold);
    border-color: var(--gold);
    color: #1c1604;
    font-weight: 700;
    border-radius: 999px;
}

.btn-don:hover,
.site-main .btn-warning:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: #1c1604;
}

.site-main .btn-success,
.site-main .btn-primary {
    background: var(--green);
    border-color: var(--green);
    border-radius: 999px;
    font-weight: 700;
}

.site-main .btn-success:hover,
.site-main .btn-primary:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.site-main .btn-outline-secondary,
.site-main .btn-secondary {
    border-radius: 999px;
    font-weight: 650;
}

.site-footer {
    background: var(--brand-gradient);
    color: rgba(255, 255, 255, 0.92);
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.footer-quote-fr {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.footer-rule {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-panel,
.donate-card,
.login-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(8, 46, 30, 0.06);
}

.contact-panel {
    background: var(--paper);
    padding: 1.75rem;
    height: 100%;
}

.contact-panel h2 {
    color: var(--green-deep);
    font-size: 1.45rem;
}

.contact-panel p,
.contact-panel a { color: var(--ink); }

.support-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
}

.support-steps li {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    font-weight: 700;
    color: var(--green);
}

.trust-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(14, 77, 50, 0.1);
    color: var(--green);
    font-size: 1.25rem;
}

.cta-band {
    background: var(--green);
    color: #fff;
}

.cta-band h2 { color: #fff; }

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.2rem;
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .btn-don-link {
        display: inline-block;
        margin: 0.6rem 0 0.2rem 0.7rem;
    }
}
