    /* ========================================================================= */
    /* Agro Bridge Foundation — shared stylesheet (mobile-first, Lighthouse-tuned) */
    /* ========================================================================= */

    /* CSS Reset */
    *, *::before, *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

:root {
    /* ─────────────────────────────────────────────────────────────────
       AgroBridge logo-first palette — sampled from the wreath logo, so it
       matches agrobridge.io exactly. Source of truth for the values and
       the contrast contract below:
       agrobridge-io-web/tailwind.config.ts + app/globals.css.

       Contrast rules (WCAG 1.4.3 AA), do not re-derive:
         --accent #B99539 is accent/fill ONLY — never text on a light
           surface (2.83 on white) and never a white-text fill.
         --accent-text #6B5220 is the gold TEXT token (7.36 white / 6.46 bone).
         --primary-interactive #4C5A24 is the green CTA fill; pair with
           white text (7.51). --primary #3A4520 also passes (12.32).
         --primary-light #62732F is the lightest text-grade olive on paper.
         On --ink surfaces green is never text — gold is. Muted text on ink
           is --neutral-400; --neutral-500 fails there.
       ───────────────────────────────────────────────────────────────── */
    --primary: #3A4520;             /* verde hoja — headings, borders, icons */
    --primary-interactive: #4C5A24; /* green CTA fill, white text (7.51) */
    --primary-light: #62732F;       /* lightest text-grade olive on paper */
    --secondary: #B99539;           /* oro antiguo */
    --accent: #B99539;              /* gold — decorative fills only */
    --accent-text: #6B5220;         /* dark gold — text/links on light surfaces */
    --text-emphasis: #3A4520;       /* olive for emphasised text (AA on paper) */
    --ink: #171C0F;                 /* verde tinta — footer canvas, never black */
    --bone: #F3F0E7;                /* the logo's cream paper — the canvas */
    --neutral-50: #F3F0E7;
    --neutral-100: #F1EEE4;
    --neutral-200: #E3DFD0;
    --neutral-300: #CEC8B4;
    --neutral-400: #A69F8B;         /* muted text on --ink ONLY */
    --neutral-500: #6F6857;         /* muted text on light canvases */
    --neutral-800: #37332A;
    --neutral-900: #23201A;
    /* Status colours are agrobridge.io's `success` / `error` brand tokens,
       not generic Tailwind emerald/red: olive-green and clay-red both sit
       inside the wreath palette. Both clear AA as text on bone
       (4.93 and 4.76) and on white (5.62 and 5.43). */
    --success: #467322;
    --error: #C0392F;
    --header-height: 60px;

    /* Z-index scale */
    --z-header: 1000;
    --z-notification: 8000;
    --z-skip-link: 9001;
    --z-loading: 9900;
    --z-modal: 10000;

    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    /* Animation tokens */
    --animation-duration: 0.3s;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --translate-y-small: -2px;
    --translate-y-medium: -5px;
    --translate-y-large: 20px;
    --shadow-hover: 0 6px 25px rgba(0, 0, 0, 0.1);
}

    html {
        scroll-behavior: smooth;
         font-size: 100%;
        -webkit-text-size-adjust: 100%;
         text-size-adjust: 100%;
        background-color: var(--neutral-50);
     }

    body {
        font-family: 'DM Sans', 'Noto Naskh Arabic', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        line-height: 1.5;
        color: var(--neutral-800);
        background-color: var(--neutral-50);
        overflow-x: hidden;
        padding-top: var(--safe-area-inset-top);
        padding-bottom: var(--safe-area-inset-bottom);
    }

    /* Form controls default to the UA font (textareas to monospace) — they
       must render in the brand face. Component rules still set their own
       sizes and weights; only the family is inherited here. */
    button,
    input,
    select,
    textarea {
        font-family: inherit;
    }

    /* Accessible helpers */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
/* Skip link: hidden until focused (Tab). -40px was not enough to clear its
   own height (12px padding + line box), so a green sliver showed at the top
   of the page against the bone canvas. */
    .skip-link {
    position: absolute;
    top: -80px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    z-index: var(--z-skip-link);
    transition: top 0.3s ease;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-text);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

    /* Loading screen */
    .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--neutral-50);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: var(--z-loading);
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .loading-screen.hidden {
        opacity: 0;
        visibility: hidden;
    }

    .loader {
        width: 48px;
        height: 48px;
        border: 3px solid rgba(58, 69, 32, 0.2);
        border-top: 3px solid var(--primary);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Notification System */
    .notification {
        position: fixed;
        top: 100px;
        right: 20px;
        background: white;
        border-radius: 8px;
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-left: 4px solid var(--primary);
        z-index: var(--z-notification);
        transform: translateX(400px);
        transition: transform 0.3s ease;
        max-width: 400px;
    }

    .notification.show {
        transform: translateX(0);
    }

    .notification.success {
        border-left-color: var(--success);
    }

    .notification.error {
        border-left-color: var(--error);
    }

    .notification .notification-close {
        background: none;
        border: none;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        cursor: pointer;
        color: var(--neutral-500);
    }

    /* Form Validation Styles — --error #C0392F is agrobridge.io's brand red
       and still clears AA as text (4.76 on bone, 5.43 on white). */
    .form-error {
        color: var(--error);
        font-size: 0.8rem;
        margin-top: 0.25rem;
        display: none;
    }

    .form-error.show {
        display: block;
    }

    .input-error {
        border-color: var(--error) !important;
        box-shadow: 0 0 0 3px rgba(192, 57, 47, 0.1) !important;
    }

    /* Container Mobile-First */
    .container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 16px;
    }

    /* Header — two-state nav, same as agrobridge.io (Navbar.tsx tokens):
       transparent over the hero, bone glass once the page scrolls. main.js
       already toggles .scrolled. */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: var(--z-header);
        padding: 12px 0;
        background: transparent;
        border-bottom: 1px solid transparent;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    header.scrolled {
        padding: 8px 0;
        background: rgba(243, 240, 231, 0.85);
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        border-bottom-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    }

    /* Without backdrop-filter the glass would read as plain transparent and
       the nav links would sit on the page content. Fall back to opaque bone. */
    @supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
        header.scrolled {
            background: rgba(243, 240, 231, 0.97);
        }
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
        gap: 1rem;
    }

    /* Brand lockup: wreath crest + Agro/Bridge wordmark + "Foundation".
       The wordmark is DM Sans 600 at 1.25rem — the exact type of
       agrobridge.io's <Logo showLabel> (components/ui/Logo.tsx: text-xl
       font-semibold tracking-[-0.01em] leading-none). It is deliberately
       NOT Playfair: the serif headings are the voice, the sans wordmark is
       the mark, and the mark has to read identically across properties. */
    .logo {
        font-family: 'DM Sans', 'Noto Naskh Arabic', system-ui, sans-serif;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--neutral-900);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
    }

    /* The crest carries its own bone paper square, so frame it deliberately:
       rounded chip with the faint gold ring agrobridge.io uses. */
    .logo-crest {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 12px;
        box-shadow: 0 0 0 1px rgba(185, 149, 57, 0.25);
    }

    .logo-word {
        line-height: 1;
        letter-spacing: -0.01em;
    }

    /* "Bridge" in the monogram's metallic gold — a top-lit gradient, not a
       flat swatch, because that is what the drawn logo does. WCAG 1.4.3
       exempts text that is part of a logo, so the gradient is allowed HERE
       AND NOWHERE ELSE. Print and forced-colors fall back to the flat
       AA-safe gold token. */
    .logo-word span {
        background: linear-gradient(180deg, #DCC26E 0%, #B99539 50%, #6B5220 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    @media print {
        .logo-word span {
            background: none;
            color: var(--accent-text);
            -webkit-text-fill-color: var(--accent-text);
        }
    }

    @media (forced-colors: active) {
        .logo-word span {
            background: none;
            color: CanvasText;
            -webkit-text-fill-color: CanvasText;
        }
    }

    /* "Foundation" rides in the wordmark's own family so the lockup reads as
       one mark, not two typefaces glued together. */
    .logo-sub {
        font-family: 'DM Sans', 'Noto Naskh Arabic', system-ui, sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--neutral-500);
        align-self: center;
    }

    /* "Foundation" is the first thing to go when the row gets tight: below
       1200px the crest + wordmark alone carries the brand, and the nav links
       need the width more. */
    .logo-sub {
        display: none;
    }

    @media (min-width: 1200px) {
        .logo-sub {
            display: inline;
        }
    }

    @media (max-width: 479px) {
        .logo { gap: 8px; font-size: 1.1rem; }

        /* The row cannot hold logo + hamburger + language + CTA below 480px
           (measured: needs ~450px). Donate stays one tap away via the hero
           CTA and the menu link, but the language selector lives only here,
           so the CTA is what goes. */
        .header-actions .cta-button {
            display: none;
        }
    }

    /* Mobile Menu - Ultra Accesible */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        width: 44px;
        height: 44px;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger-line {
        width: 24px;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-links {
        display: none;
        list-style: none;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease;
    }

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

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--neutral-800);
        font-weight: 500;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        padding: 16px 0;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--neutral-100);
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        color: var(--accent-text);
        background: var(--neutral-100);
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .language-selector {
        position: relative;
    }

    .language-dropdown {
        background: white;
        border: 1px solid var(--neutral-200);
        border-radius: 6px;
        padding: 10px 12px;
        font-size: 0.85rem;
        cursor: pointer;
        min-width: 110px;
        min-height: 44px;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236F6857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 36px;
    }

    /* Primary action — agrobridge.io's .btn-primary: olive fill, white text
       (12.32 on #3A4520), 12px radius and the spring easing that makes the
       press feel physical. */
    .cta-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-interactive);
        color: white;
        padding: 14px 28px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        border: none;
        font-size: 1rem;
        min-height: 44px;
        min-width: 44px;
        position: relative;
        overflow: hidden;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.08),
            0 4px 12px rgba(58, 69, 32, 0.15);
        transition:
            transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
            background-color 0.15s ease;
    }

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s;
    }

    .cta-button:hover::before,
    .cta-button:focus::before {
        left: 100%;
    }

    .cta-button:hover,
    .cta-button:focus {
        background-color: var(--primary);
        color: white;
        transform: translateY(-1px) scale(1.01);
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.12),
            0 8px 20px rgba(58, 69, 32, 0.25);
    }

    .cta-button:active {
        transform: translateY(1px) scale(0.99);
        box-shadow:
            0 1px 4px rgba(0, 0, 0, 0.08),
            0 2px 6px rgba(58, 69, 32, 0.15);
        transition: all 0.1s ease;
    }

    /* The navbar CTA is the gold pill agrobridge.io uses: gold gradient fill
       with ink text (8.18). Gold is a fill here, never text — see :root. */
    .header-actions .cta-button {
        background: linear-gradient(135deg, #B99539 0%, #DCC26E 100%);
        color: var(--ink);
        border-radius: 999px;
        padding: 10px 22px;
        font-size: 0.875rem;
        box-shadow: 0 2px 8px rgba(185, 149, 57, 0.25);
    }

    .header-actions .cta-button:hover,
    .header-actions .cta-button:focus {
        background: linear-gradient(135deg, #DCC26E 0%, #B99539 100%);
        color: var(--ink);
        box-shadow: 0 6px 18px rgba(185, 149, 57, 0.35);
    }

/* Hero — bone paper canvas with the wreath seal. The stock-photo background
   it replaced was lazy-loaded and had its src set by JS after i18n resolved,
   which made it a guaranteed slow LCP. Paper + seal is the emblem-led
   treatment agrobridge.io uses for its own brand moments. */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        overflow: hidden;
        /* Soft olive/gold wash over paper — the light-tuned form of
           agrobridge.io's "aurora" radial pair. */
        background:
            radial-gradient(ellipse at top, rgba(152, 169, 88, 0.10), transparent 60%),
            radial-gradient(ellipse at bottom, rgba(185, 149, 57, 0.12), transparent 60%),
            var(--bone);
        padding: 0 16px;
    }

    /* Hero content — keep text layered above the background */
    .hero-content {
        max-width: 640px;
        width: 100%;
        position: relative;
        z-index: 10;
    }

    .hero-seal {
        width: 120px;
        height: 120px;
        margin: 0 auto 1.5rem;
        display: block;
        border-radius: 20px;
        box-shadow: 0 0 0 1px rgba(185, 149, 57, 0.25);
    }

    /* Gold hairline under the headline — agrobridge.io's divider-gold. */
    .hero-rule {
        width: 160px;
        height: 1px;
        margin: 0 auto 1.75rem;
        border: 0;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    /* Typography Escalable Perfecta */
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Playfair Display', 'Noto Naskh Arabic', serif;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
        color: var(--neutral-900);
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.375rem, 5vw, 2rem);
    }

    h4 {
        font-size: clamp(1.125rem, 4vw, 1.5rem);
    }

    p {
        margin-bottom: 1.25rem;
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 1.6;
    }

    .hero-seal {
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards 0.1s;
    }

    .hero .section-eyebrow {
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards 0.2s;
    }

    .hero h1 {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards 0.3s;
    }

    .hero-rule {
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards 0.4s;
    }

    .hero p {
        font-size: clamp(1rem, 4vw, 1.125rem);
        margin-bottom: 2.5rem;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards 0.5s;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards 0.7s;
    }

    /* Secondary action — agrobridge.io's .btn-secondary on a light canvas:
       a faintly olive-tinted surface rather than a hard outline, going gold
       on hover. */
    .secondary-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(58, 69, 32, 0.04);
        color: var(--primary);
        padding: 14px 28px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        transition:
            transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
            background-color 0.15s ease,
            border-color 0.15s ease,
            color 0.15s ease;
        border: 1px solid rgba(58, 69, 32, 0.3);
        font-size: 1rem;
        min-height: 44px;
        min-width: 44px;
        position: relative;
        overflow: hidden;
    }

    .secondary-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(58, 69, 32, 0.08), transparent);
        transition: left 0.6s;
    }

    .secondary-button:hover::before,
    .secondary-button:focus::before {
        left: 100%;
    }

    .secondary-button:hover,
    .secondary-button:focus {
        background-color: rgba(185, 149, 57, 0.1);
        border-color: var(--accent);
        color: var(--accent-text);
        transform: translateY(-1px) scale(1.01);
    }

    .secondary-button:active {
        transform: translateY(1px) scale(0.99);
        transition: all 0.1s ease;
    }

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

    /* Floating elements */
    .floating-elements {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: -1;
    }

    .floating-element {
        position: absolute;
        width: 40px;
        height: 40px;
        background: rgba(58, 69, 32, 0.03);
        border-radius: 50%;
        animation: float 20s infinite linear;
        will-change: transform;
    }

    .floating-element:nth-child(1) {
        top: 15%;
        left: 5%;
        animation-delay: 0s;
        width: 16px;
        height: 16px;
    }

    .floating-element:nth-child(2) {
        top: 25%;
        right: 8%;
        animation-delay: 5s;
        width: 24px;
        height: 24px;
    }

    .floating-element:nth-child(3) {
        bottom: 35%;
        left: 10%;
        animation-delay: 10s;
        width: 20px;
        height: 20px;
    }

    .floating-element:nth-child(4) {
        bottom: 25%;
        right: 7%;
        animation-delay: 15s;
        width: 28px;
        height: 28px;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) rotate(0deg) scale(1);
            opacity: 0.6;
        }
        33% {
            transform: translateY(-30px) rotate(120deg) scale(1.1);
            opacity: 0.8;
        }
        66% {
            transform: translateY(15px) rotate(240deg) scale(0.9);
            opacity: 0.7;
        }
    }
    
    /* Section Base - Mobile First */
    section {
        padding: 4rem 0;
        position: relative;
    }

    .section-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    /* Small uppercase label above every section title — agrobridge.io's
       .section-eyebrow. Uses the gold TEXT token, never the accent gold. */
    .section-eyebrow {
        display: block;
        font-family: 'DM Sans', 'Noto Naskh Arabic', system-ui, sans-serif;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--accent-text);
        margin-bottom: 0.75rem;
    }

    .section-header h2 {
        position: relative;
        display: inline-block;
        margin-bottom: 1rem;
    }

    /* Gold hairline instead of the old solid bar — the same divider-gold
       ornament agrobridge.io rules its sections with. */
    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    /* Mission section */
    .mission {
        background-color: white;
    }

    .mission-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* agrobridge.io's card: a bordered paper panel, not a floating shadow
       block. Depth comes from the 1px greige border; the shadow only appears
       on hover. */
    .mission-card {
        background: white;
        border: 1px solid var(--neutral-200);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        text-align: center;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        overflow: hidden;
        transform: translateY(30px);
        opacity: 0;
    }

    .mission-card.animated {
        transform: translateY(0);
        opacity: 1;
    }

    .mission-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }


    .mission-card:hover {
        transform: translateY(-5px);
        border-color: var(--neutral-300);
        box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
        /* No transition property here — it's inherited */
    }

    .mission-card:hover::before {
        transform: scaleX(1);
    }

    .mission-icon {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1.25rem;
        display: inline-block;
        transform: scale(0);
        transition: transform 0.5s ease 0.2s;
    }

    .mission-card.animated .mission-icon {
        transform: scale(1);
    }

    .mission-card h3 {
        margin-bottom: 1rem;
        color: var(--primary);
        font-size: 1.25rem;
    }

    .mission-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    /* Impact section */
    .impact {
        background: linear-gradient(135deg, rgba(58, 69, 32, 0.04) 0%, rgba(185, 149, 57, 0.02) 100%);
    }

    .impact-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .stat-card {
        text-align: center;
        padding: 1.5rem 0.75rem;
        background: white;
        border: 1px solid var(--neutral-200);
        border-radius: 16px;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateY(20px);
        opacity: 0;
    }

    .stat-card.animated {
        transform: translateY(0);
        opacity: 1;
    }

    .stat-card:hover {
        transform: translateY(-2px);
        border-color: var(--neutral-300);
        box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
    }

    .stat-number {
        font-family: 'Playfair Display', 'Noto Naskh Arabic', serif;
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
        display: block;
        line-height: 1;
        /* Olive → gold ramp, agrobridge.io's .gradient-text-static. Safe here
           because these are large display numerals with a solid-color
           fallback below for browsers without background-clip. */
        color: var(--text-emphasis);
    }

    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
        .stat-number {
            /* Ramp ends at --accent-text (#6B5220), not the gold fill: the
               light end of a #B99539 gradient sits at 2.83:1 on the white
               card, under the 3:1 large-text minimum. */
            background: linear-gradient(135deg, #3A4520 0%, #6B5220 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
        }
    }

    @media print {
        .stat-number {
            background: none;
            color: var(--text-emphasis);
            -webkit-text-fill-color: var(--text-emphasis);
        }
    }

    @media (forced-colors: active) {
        .stat-number {
            background: none;
            color: CanvasText;
            -webkit-text-fill-color: CanvasText;
        }
    }

    .stat-label {
        font-size: 0.85rem;
        color: var(--neutral-800);
        font-weight: 500;
        line-height: 1.3;
    }

    .success-story {
        background: white;
        border: 1px solid var(--neutral-200);
        border-left: 3px solid var(--accent);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        position: relative;
        overflow: hidden;
        transform: translateY(30px);
        opacity: 0;
    }

    .success-story.animated {
        transform: translateY(0);
        opacity: 1;
    }

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    line-height: 1.5;
    quotes: "“" "”";
}

.quote::before {
    content: open-quote;
    font-size: 3rem;
    color: var(--neutral-200);
    position: absolute;
    left: -10px;
    top: -15px;
    line-height: 1;
}

    .author {
        font-weight: 600;
        color: var(--primary);
        font-size: 0.9rem;
    }

    /* Donation section */
    .donation {
        background-color: white;
    }

    .donation-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        align-items: start;
    }

    .donation-content h2 {
        color: var(--primary);
    }

    .donation-lead {
        margin: 0.75rem 0 1.5rem;
        font-size: 0.9rem;
        color: var(--neutral-500);
        font-weight: 500;
    }

    .donation-divider {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 2rem 0 1rem;
        color: var(--neutral-500);
    }

    .donation-divider::before,
    .donation-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--neutral-200);
    }

    .donation-divider span {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 600;
    }

    .donation-box {
        background: var(--bone);
        border: 1px solid var(--neutral-200);
        border-radius: 16px;
        padding: 2rem 1.5rem;
        transform: translateY(30px);
        opacity: 0;
    }

    .donation-box.animated {
        transform: translateY(0);
        opacity: 1;
    }

    .donation-form {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .donation-frequency {
        display: flex;
        margin-bottom: 0;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--neutral-200);
    }

    .frequency-option {
        flex: 1;
        text-align: center;
        padding: 14px 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        font-size: 0.9rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
    }

    .frequency-option.active {
        background-color: var(--primary-interactive);
        color: white;
    }

    .amount-selection {
        margin-bottom: 0;
    }

    .amount-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 0;
    }

    .amount-option {
        background: white;
        border: 2px solid var(--neutral-200);
        border-radius: 8px;
        padding: 1.25rem 0.5rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        min-height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }

    .amount-option:hover {
        border-color: var(--primary);
        transform: translateY(-1px);
    }

    .amount-option.selected {
        border-color: var(--primary-interactive);
        background-color: var(--primary-interactive);
        color: white;
        transform: translateY(-1px);
    }

    .amount-value {
        font-size: 1.125rem;
        font-weight: 700;
        margin-bottom: 0;
    }

    .custom-amount {
        margin-bottom: 0;
    }

    .custom-amount input {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid var(--neutral-200);
        border-radius: 8px;
        font-size: 1rem;
        text-align: center;
        transition: border-color 0.3s ease;
        min-height: 48px;
        background: white;
    }

    .custom-amount input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(58, 69, 32, 0.1);
    }

    .impact-preview {
        background: linear-gradient(135deg, rgba(58, 69, 32, 0.05) 0%, rgba(185, 149, 57, 0.05) 100%);
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 1.5rem;
        border-left: 4px solid var(--accent);
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.5s ease 0.3s;
    }

    .impact-preview.animated {
        transform: translateX(0);
        opacity: 1;
    }

    .impact-preview h4 {
        margin-bottom: 1rem;
        color: var(--primary);
        font-size: 0.95rem;
        font-weight: 700;
    }

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

    .impact-list li {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        transform: translateX(-10px);
        opacity: 0;
        font-size: 0.9rem;
    }

    .impact-list li:last-child {
        margin-bottom: 0;
    }

    .impact-preview.animated .impact-list li {
        transform: translateX(0);
        opacity: 1;
    }

    .impact-list li:nth-child(1) { transition: all 0.4s ease 0.4s; }
    .impact-list li:nth-child(2) { transition: all 0.4s ease 0.5s; }
    .impact-list li:nth-child(3) { transition: all 0.4s ease 0.6s; }

    .impact-list li i,
    .impact-list li svg {
        color: var(--primary);
        margin-right: 0.75rem;
        font-size: 1rem;
        min-width: 16px;
    }

    .donation-submit {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 1rem;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
    }

    button:disabled,
    .cta-button:disabled {
        cursor: not-allowed;
        opacity: 0.6;
        box-shadow: none;
        transform: none;
        filter: grayscale(0.1);
        pointer-events: none;
    }

    button:disabled::before,
    .cta-button:disabled::before {
        opacity: 0;
    }

    .security-notice {
        text-align: center;
        margin-top: 1rem;
        font-size: 0.8rem;
        color: var(--neutral-800);
        line-height: 1.4;
    }

    /* Contact Section */
    .contact {
        background: var(--neutral-100);
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }

    .contact-details,
    .contact-form {
        background: white;
        border-radius: 12px;
        padding: 2rem 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .contact-details h3 {
        color: var(--primary);
        margin-bottom: 0.75rem;
    }

    .contact-details p {
        color: var(--neutral-500);
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }

    .contact-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.95rem;
    }

    .contact-list a {
        color: var(--neutral-800);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-list a:hover,
    .contact-list a:focus {
        color: var(--primary);
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .form-field {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .form-field label {
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--neutral-800);
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid var(--neutral-200);
        border-radius: 8px;
        font-size: 1rem;
        background: white;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-field textarea {
        resize: vertical;
        min-height: 140px;
    }

    .form-field input:focus,
    .form-field textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(58, 69, 32, 0.1);
    }

    .contact-submit {
        margin-top: 0.5rem;
        width: 100%;
    }

    .contact-disclaimer {
        font-size: 0.85rem;
        color: var(--neutral-500);
        margin-top: 0.25rem;
    }

    .loading-spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 0.8s ease-in-out infinite;
        margin-right: 8px;
    }

    /* Footer — verde tinta, the same ink canvas agrobridge.io's footer uses.
       On this surface green is never text; gold is. */
    footer {
        background-color: var(--ink);
        color: var(--neutral-200);
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 1rem;
    }

    /* The heading sits in a flex row here, so its own bottom margin would
       push it off-centre against the crest. */
    .footer-brand h3 {
        margin-bottom: 0;
    }

    .footer-crest {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        box-shadow: 0 0 0 1px rgba(185, 149, 57, 0.3);
    }

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

    .footer-column h3 {
        color: white;
        margin-bottom: 1.25rem;
        font-size: 1.2rem;
    }

    .footer-links {
        list-style: none;
    }

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

    .footer-links a {
        color: var(--neutral-200);
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 0.9rem;
        display: inline-block;
        padding: 2px 0;
    }

    .footer-links a:hover,
    .footer-links a:focus {
        color: var(--accent);
        transform: translateX(2px);
    }

    .social-links {
        display: flex;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background-color: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    /* Gold fill with an ink glyph — the hover agrobridge.io uses on its own
       social buttons. White-on-gold would fail AA (2.83); ink passes (8.18). */
    .social-links a:hover,
    .social-links a:focus {
        background-color: var(--accent);
        color: var(--ink);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(185, 149, 57, 0.2);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        /* --neutral-500 is a light-canvas token and fails on ink; --neutral-400
           is the muted text token for this surface (6.58). */
        color: var(--neutral-400);
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .footer-bottom a {
        color: var(--accent);
        /* Underlined at rest: gold next to muted grey fails 3:1 against the
           surrounding text (1.07:1), so the link must be distinguishable
           without relying on color alone. */
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .footer-bottom a:hover {
        text-decoration-thickness: 2px;
    }

    /* RTL support — keep the brand font stack (DM Sans / Playfair); only mirror layout */
    body.rtl {
        direction: rtl;
    }

    body.rtl .mission-icon,
    body.rtl .impact-list li i {
        margin-right: 0;
        margin-left: 0.5rem;
    }

    /* Scroll-reveal animation system.

       main.js observes every .animate-on-scroll and adds .animated when the
       element enters the viewport. The hidden half of that contract lived
       here, but the revealed half did not: only a few components
       (.mission-card, .stat-card, .success-story, .donation-box,
       .impact-preview) declared their own .animated rule. Anything else
       carrying .animate-on-scroll — the entire contact section — stayed at
       opacity 0 forever. This generic rule is the missing half. */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: opacity, transform;
    }

    .animate-on-scroll.animated {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    
    .floating-elements {
        display: none !important;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero h1,
    .hero p,
    .hero-buttons,
    .hero .section-eyebrow,
    .hero-rule,
    .hero-seal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Keep focus indicators visible */
    *:focus {
        outline: 3px solid var(--primary) !important;
        outline-offset: 2px !important;
    }
}

    /* ========================================================================= */
    /* MEDIA QUERIES PROGRESSIVE ENHANCEMENT - MOBILE FIRST */
    /* ========================================================================= */

    /* Small Mobile Optimization (320px - 375px) */
    @media (max-width: 374px) {
        .container {
            padding: 0 12px;
        }

        /* Header budget at 320px: 24px padding + crest + wordmark + gaps +
           hamburger + selector must fit. Shrink the crest and let the
           selector size to its content. */
        .logo {
            gap: 6px;
            font-size: 1rem;
        }

        .logo-crest {
            width: 32px;
            height: 32px;
        }

        .language-dropdown {
            min-width: 0;
            font-size: 0.8rem;
            padding: 8px 30px 8px 10px;
            background-position: right 10px center;
        }

        .hero {
            min-height: 90vh;
            padding: 0 12px;
        }
        
        h1 {
            font-size: 1.75rem;
        }
        
        .mission-card,
        .donation-box,
        .success-story {
            padding: 1.5rem 1rem;
        }
        
        .impact-stats {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }
        
        .stat-card {
            padding: 1.25rem 0.5rem;
        }
        
        .stat-number {
            font-size: 1.75rem;
        }
    }

    /* Mobile Medium (376px - 424px) */
    @media (min-width: 376px) and (max-width: 424px) {
        .container {
            padding: 0 14px;
        }
        
        .impact-stats {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Mobile Large (425px - 767px) */
    @media (min-width: 425px) {
        html {
            font-size: 16px;
        }
        
        .container {
            padding: 0 20px;
        }
        
        .hero-content {
            padding: 0 20px;
        }
        
        .mission-cards {
            gap: 2rem;
        }
        
        .impact-stats {
            gap: 1.25rem;
        }
    }

    /* Tablet (768px - 1023px) */
    @media (min-width: 768px) {
        html {
            font-size: 16px;
        }
        
        .container {
            padding: 0 32px;
            max-width: 720px;
        }
        
        header {
            padding: 16px 0;
        }
        
        .header-container {
            height: 56px;
        }
        
        .logo {
            font-size: 1.5rem;
        }
        
        .hero-buttons {
            flex-direction: row;
            justify-content: center;
            gap: 16px;
        }
        
        .mission-cards {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .impact-stats {
            grid-template-columns: repeat(4, 1fr);
        }
        
        .donation-container {
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-grid {
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
        }
        
        .footer-container {
            grid-template-columns: repeat(2, 1fr);
        }
        
        section {
            padding: 5rem 0;
        }
        
        .hero-content {
            max-width: 700px;
        }
        
        .success-story {
            padding: 2.5rem 2rem;
        }
    }

    /* Desktop (1024px+) */
    @media (min-width: 1024px) {
        html {
            font-size: 16px;
        }
        
        .container {
            max-width: 1200px;
            padding: 0 40px;
        }
        
        .mission-cards {
            grid-template-columns: repeat(3, 1fr);
            gap: 2.5rem;
        }
        
        .mission-card,
        .donation-box,
        .success-story {
            padding: 3rem 2rem;
        }
        
        .footer-container {
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
        }
        
        section {
            padding: 6rem 0;
        }
        
        .hero-content {
            max-width: 800px;
        }
        
        /* Desktop nav — only from here up. Below 1024px .container is 720px
           wide, too narrow for the brand lockup plus four links plus the
           language selector and the CTA, so the hamburger menu stays. */
        .mobile-menu-toggle {
            display: none;
        }

        .nav-links {
            display: flex;
            position: static;
            flex-direction: row;
            background: none;
            box-shadow: none;
            padding: 0;
            gap: 0;
        }

        .nav-links li {
            width: auto;
            /* Was 3rem. The container caps at 1200px, so the row does not get
               wider past this breakpoint — 3rem plus the brand lockup pushed
               the nav under the language selector. */
            margin: 0 0 0 1.75rem;
        }

        .nav-links a {
            padding: 8px 0;
            border-bottom: none;
            min-height: auto;
            font-size: 1rem;
            text-align: left;
            position: relative;
            /* Link labels must never wrap: a wrapped label makes the nav two
               rows tall and knocks the whole header out of alignment. */
            white-space: nowrap;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after,
        .nav-links a:focus::after {
            width: 100%;
        }

        /* Neither the brand nor the actions may be squeezed by the nav. */
        .logo,
        .header-actions {
            flex-shrink: 0;
        }

        .header-actions {
            gap: 1rem;
        }

        .hero {
            padding: 0;
        }
        
        .section-header {
            margin-bottom: 4rem;
        }
        
        .impact-stats {
            gap: 2rem;
            margin-bottom: 4rem;
        }
        
        .stat-card {
            padding: 2rem 1rem;
        }
        
        .stat-number {
            font-size: 2.5rem;
        }
        
        .success-story {
            max-width: 900px;
            margin: 0 auto;
            padding: 3rem 2.5rem;
        }
        
        .quote {
            font-size: 1.25rem;
        }
        
        .donation-container {
            grid-template-columns: 1.1fr 0.9fr;
            gap: 4rem;
        }
    }

    /* Large Desktop (1440px+) */
    @media (min-width: 1440px) {
        .container {
            max-width: 1400px;
        }
        
        .hero-content {
            max-width: 750px;
        }
        
        .mission-cards {
            gap: 3rem;
        }
        
        .mission-card {
            padding: 3.5rem 2.5rem;
        }
    }

    /* Print Styles */
    @media print {
        .loading-screen,
        .mobile-menu-toggle,
        .header-actions,
        .floating-elements,
        .hero-buttons {
            display: none !important;
        }
        
        body {
            background: white;
            color: black;
            font-size: 12pt;
            line-height: 1.4;
        }
        
        .container {
            max-width: 100%;
            padding: 0;
        }
        
        section {
            padding: 1cm 0;
            page-break-inside: avoid;
        }
    }

    /* ========================================================================= */
    /* Micro-interactions — subtle UX feedback */
    /* ========================================================================= */
    .cta-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .mission-card:hover {
        transform: translateY(-5px);
    }

    .amount-option:hover {
        transform: translateY(-2px);
        transition: transform 0.2s ease;
    }

    .stat-card:hover {
        transform: translateY(-3px);
        transition: transform 0.2s ease;
    }
/* ========================================================================= */
/* Full RTL support — layout mirroring (Arabic, etc.) */
/* ========================================================================= */

body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .mission-icon,
body.rtl .impact-list li i,
body.rtl .social-links a i {
    margin-right: 0;
    margin-left: 0.5rem;
}

body.rtl .quote::before {
    left: auto;
    right: -10px;
}

body.rtl .section-header h2::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

body.rtl .header-actions {
    direction: ltr; /* keep action buttons LTR */
}

body.rtl .language-dropdown {
    background-position: left 12px center;
    padding-right: 12px;
    padding-left: 36px;
}

body.rtl .nav-links a::after {
    left: auto;
    right: 0;
}

/* RTL mobile adjustments */
@media (max-width: 767px) {
    body.rtl .nav-links {
        text-align: right;
    }

    body.rtl .hero-buttons {
        direction: ltr;
    }
}

/* ========================================================================= */
/* Quick-checkout donation tiles (static Stripe redirect links)              */
/* Distinct from the interactive .amount-option buttons in #donation-form.   */
/* ========================================================================= */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.quick-card {
    display: block;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-card:hover,
.quick-card:focus {
    border-color: var(--neutral-300);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Featured tile — agrobridge.io's .card-plaid-featured: still a paper card,
   marked out by an olive ring and an olive glow rather than a solid fill. */
.quick-card--featured {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 40px -8px rgba(58, 69, 32, 0.25);
    position: relative;
}

.quick-card--featured:hover,
.quick-card--featured:focus {
    border-color: var(--primary);
    box-shadow: 0 16px 48px -8px rgba(58, 69, 32, 0.3);
}

.quick-card--custom {
    background: linear-gradient(135deg, rgba(58, 69, 32, 0.05) 0%, rgba(185, 149, 57, 0.05) 100%);
    border: 2px dashed var(--primary);
}

.quick-card__value {
    font-family: 'Playfair Display', 'Noto Naskh Arabic', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.quick-card__value-icon { font-size: 1.5rem; }

.quick-card__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neutral-500);
}

.quick-card--custom .quick-card__label { color: var(--neutral-800); font-weight: 600; }

.quick-card__sublabel {
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-top: 0.5rem;
}

/* Gold pill with ink text — gold is a fill here, never text. */
.quick-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #B99539 0%, #DCC26E 100%);
    color: var(--ink);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Secure-checkout notice under the quick-checkout tiles */
.secure-notice {
    text-align: center;
    padding: 1.25rem;
    background: white;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 1px solid var(--neutral-200);
}

.secure-notice__row {
    font-size: 0.85rem;
    margin: 0;
    color: var(--neutral-800);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-notice__row svg,
.secure-notice__row strong { color: var(--primary); }

.secure-notice__sub {
    font-size: 0.75rem;
    margin: 0.5rem 0 0 0;
    color: var(--neutral-500);
}

/* Small layout utility */
.u-mt-1 { margin-top: 1rem; }    
