:root {
    --blue: #0b66b3;
    --blue-dark: #064d96;
    --green: #58b947;
    --green-dark: #2f8f3a;
    --ink: #102033;
    --muted: #5d7188;
    --soft: #f2f8ff;
    --line: #d8e8f3;
    --white: #ffffff;
    --mint: #f2fbf6;
    --mint-deep: #64b93f;
    --accent-blue: #07549f;
    --shadow: 0 24px 70px rgba(15, 42, 64, 0.18);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 10%, rgba(223, 247, 228, 0.58), transparent 30%),
        radial-gradient(circle at 88% 34%, rgba(88, 185, 71, 0.18), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #f2fbf6 34%, #e8f6ed 64%, #f7fbff 100%);
    background-attachment: fixed;
}

.site-edit-toolbar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(223, 247, 228, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(10, 37, 56, 0.96), rgba(7, 84, 159, 0.94));
    box-shadow: 0 18px 44px rgba(10, 37, 56, 0.22);
    backdrop-filter: blur(16px);
}

.site-edit-toolbar span {
    padding: 0 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-edit-toolbar button {
    cursor: pointer;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: #043b73;
    background: #f2fbf6;
    font-weight: 900;
}

.site-edit-toolbar [data-site-editor-save] {
    color: #fff;
    background: linear-gradient(135deg, #18a15f, #087a44);
}

.site-edit-toolbar [data-site-editor-cancel] {
    color: #fff;
    background: linear-gradient(135deg, #b34040, #7d1a1a);
}

.site-editor-active [data-editing],
.site-editor-active [data-editing-link] {
    outline: 2px dashed rgba(88, 185, 71, 0.95);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(88, 185, 71, 0.12);
}

.site-editor-active [contenteditable="true"] {
    cursor: text;
}

.site-editor-active [data-editing-placeholder] {
    outline: 2px dashed rgba(19, 168, 216, 0.95);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(19, 168, 216, 0.12);
    cursor: pointer;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: var(--white);
    box-shadow: 0 16px 38px rgba(5, 54, 98, 0.18);
    overflow: visible;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 120px;
    padding-right: clamp(28px, 4vw, 70px);
}

.top-bar {
    background: #0b66b3;
    font-size: 12px;
    font-weight: 800;
}

.top-bar .header-container {
    min-height: 30px;
}

.top-social,
.top-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-social a {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #064d96;
    background: rgba(247, 251, 255, 0.94);
}

.top-social svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.top-links a {
    color: rgba(255, 255, 255, 0.96);
}

.nav-bar {
    background: linear-gradient(90deg, #07549f, #0b66b3 48%, #58b947);
}

.nav-bar .header-container {
    min-height: 70px;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 236px;
}

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.34), transparent 32%),
        rgba(247, 251, 255, 0.14);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.08),
        0 0 24px rgba(255, 255, 255, 0.42),
        0 12px 28px rgba(5, 54, 98, 0.18);
}

.brand-mark svg {
    display: block;
    width: 34px;
    height: 34px;
    overflow: hidden;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.05;
}

.brand small {
    font-size: 13px;
    color: #dff7e4;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 30px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.nav-cta {
    padding: 12px 22px;
    border: 1px solid rgba(223, 247, 228, 0.84);
    border-radius: 3px;
    color: #064d96 !important;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 10px 24px rgba(7, 84, 159, 0.2);
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--white);
    background: transparent;
    font-weight: 800;
}

.mobile-top-donate,
.main-nav a.mobile-nav-contact {
    display: none;
}

.flash {
    position: fixed;
    top: 84px;
    left: 50%;
    z-index: 100;
    width: min(92vw, 720px);
    padding: 16px 22px;
    border-radius: 16px;
    transform: translateX(-50%);
    box-shadow: var(--shadow);
    font-weight: 700;
}

.flash-success {
    color: #0d5132;
    background: #d9fbe9;
}

.flash-error {
    color: #7d1a1a;
    background: #ffe0e0;
}

.hero {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    color: var(--white);
}

.mobile-hero-visual {
    display: none;
}

.hero-media {
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #78c8de url("../../images/hero.webp") center center / 100% 100% no-repeat !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, 450px) 1fr;
    align-items: center;
    width: 100%;
    min-height: 780px;
    margin: 0;
    padding: 118px 0 56px 100px;
}

.donation-card {
    max-width: 420px;
    padding: 22px 30px 20px;
    border: 0;
    border-radius: 6px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 80px rgba(8, 37, 54, 0.26);
}

.donation-card h1,
.section-heading h2,
.form-intro h2,
.transparency-section h2 {
    margin: 0;
    letter-spacing: -0.045em;
}

.donation-card h1 {
    font-size: clamp(24px, 2.7vw, 31px);
    line-height: 1.04;
    text-align: center;
}

.donation-card p,
.section-heading p,
.form-intro p,
.transparency-list p {
    line-height: 1.65;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    width: 100%;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), #6ccf5d);
    box-shadow: 0 14px 30px rgba(88, 185, 71, 0.32);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.primary-button:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.secondary-button {
    padding: 0 24px;
    color: var(--white);
    background: #2e7d32;
    box-shadow: 0 16px 38px rgba(88, 185, 71, 0.36);
}

.ghost-button {
    padding: 0 24px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.12);
}

.large {
    min-height: 60px;
    font-size: 17px;
}

.donation-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.toggle-group,
.amount-grid {
    display: grid;
    gap: 10px;
}

.toggle-group {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.amount-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.toggle-group input,
.amount-grid input {
    position: absolute;
    opacity: 0;
}

.toggle-group span,
.amount-grid span {
    display: grid;
    min-height: 58px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.toggle-group span {
    min-height: 46px;
    border-radius: 8px;
    font-size: 18px;
}

.toggle-group input:checked + span,
.amount-grid input:checked + span {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(19, 168, 216, 0.24);
}

.popular {
    position: relative;
}

.popular::before {
    content: "Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    z-index: 2;
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--blue);
    background: var(--white);
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 800;
}

.popular::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--blue);
    transform: translateX(-50%);
}

.secure-note,
.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.donation-card > p {
    margin: 14px 0 0;
    color: var(--ink);
    text-align: center;
    font-size: 16px;
}

.donation-calculation {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
}

.donation-calculation span {
    font-weight: 700;
}

.cancel-note {
    margin: -8px 0 14px;
    color: var(--ink);
    font-size: 14px;
}

.donation-card .primary-button {
    width: min(300px, 100%);
    min-height: 54px;
    margin: 6px auto 0;
    font-size: 27px;
    font-weight: 400;
}

.donation-card .secure-note {
    margin-top: 4px;
    text-align: center;
    font-size: 12px;
    font-style: italic;
}

.payment-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.payment-badges span {
    display: inline-grid;
    min-width: 34px;
    height: 22px;
    place-items: center;
    border-radius: 4px;
    color: #102033;
    background: #f5f8fb;
    font-size: 11px;
    font-weight: 900;
}

.trust-strip {
    width: min(1180px, calc(100% - 36px));
    margin: 42px auto 0;
    position: relative;
    z-index: 4;
}

.trust-container {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(88, 185, 71, 0.24);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(223, 247, 228, 0.42), transparent 28%),
        linear-gradient(135deg, #f7fbff, #ffffff 52%, #eff9ff);
    box-shadow: 0 28px 80px rgba(5, 54, 98, 0.13);
}

.trust-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 42%, transparent 64%);
    transform: translateX(-120%);
    animation: trust-shine 8s ease-in-out infinite;
    pointer-events: none;
}

.trust-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.trust-heading h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.trust-banners {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trust-banner {
    position: relative;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 232, 0.94)),
        linear-gradient(135deg, rgba(88, 185, 71, 0.18), transparent);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.trust-banner::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(88, 185, 71, 0.12);
    transition: transform 0.28s ease;
}

.trust-banner:hover {
    transform: translateY(-8px);
    border-color: rgba(88, 185, 71, 0.46);
    box-shadow: 0 26px 70px rgba(5, 54, 98, 0.16);
}

.trust-banner:hover::after {
    transform: scale(1.16);
}

.trust-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    border-radius: 20px;
    color: #07549f;
    line-height: 1;
    font-size: inherit;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 14px 26px rgba(88, 185, 71, 0.28);
    animation: trust-float 4.2s ease-in-out infinite;
}

.trust-banner:nth-child(2) .trust-icon {
    animation-delay: 0.25s;
}

.trust-banner:nth-child(3) .trust-icon {
    animation-delay: 0.5s;
}

.trust-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.trust-strip strong,
.trust-strip span:not(.trust-icon) {
    display: block;
    position: relative;
    z-index: 1;
}

.trust-strip strong {
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.trust-strip span:not(.trust-icon) {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

@keyframes trust-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes trust-shine {
    0%,
    58% {
        transform: translateX(-120%);
    }

    78%,
    100% {
        transform: translateX(120%);
    }
}

.impact-stats {
    width: min(1180px, calc(100% - 36px));
    margin: 42px auto 0;
}

.stats-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(223, 247, 228, 0.22);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 16% 16%, rgba(223, 247, 228, 0.3), transparent 24%),
        radial-gradient(circle at 84% 32%, rgba(88, 185, 71, 0.18), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 52%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.24);
}

.stats-panel::before {
    content: "";
    position: absolute;
    left: -12%;
    top: -35%;
    width: 52%;
    height: 120%;
    border-radius: 45% 55% 62% 38%;
    background:
        radial-gradient(circle at 36% 42%, rgba(223, 247, 228, 0.34), transparent 34%),
        radial-gradient(circle at 62% 64%, rgba(88, 185, 71, 0.28), transparent 42%);
    filter: blur(6px);
    animation: stats-aurora 9s ease-in-out infinite;
    pointer-events: none;
}

.stats-panel::after {
    content: "";
    position: absolute;
    right: -16%;
    bottom: -42%;
    width: 58%;
    height: 120%;
    border-radius: 56% 44% 38% 62%;
    background:
        radial-gradient(circle at 52% 36%, rgba(223, 247, 228, 0.24), transparent 36%),
        radial-gradient(circle at 36% 70%, rgba(88, 185, 71, 0.2), transparent 46%);
    filter: blur(8px);
    animation: stats-aurora-reverse 11s ease-in-out infinite;
    pointer-events: none;
}

.stats-heading {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 28px;
}

.stats-heading .eyebrow {
    color: #dff7e4;
}

.stats-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.stats-grid-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    position: relative;
    display: grid;
    justify-items: center;
    min-height: 260px;
    padding: 30px 24px;
    overflow: hidden;
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 50px rgba(5, 54, 98, 0.18);
    backdrop-filter: blur(16px);
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.stat-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -54px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(223, 247, 228, 0.15);
    transform: translateX(-50%);
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    background: linear-gradient(135deg, rgba(247, 251, 255, 0.34), transparent 32%, rgba(223, 247, 228, 0.22) 64%, transparent);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(247, 251, 255, 0.48);
    background: rgba(255, 255, 255, 0.16);
}

.stat-card:hover::before {
    opacity: 1;
    animation: stat-border-glow 1.4s ease-in-out infinite alternate;
}

.stat-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 26px;
    color: #043b73;
    background: linear-gradient(135deg, #e7f7ff, #58b947);
    box-shadow: 0 18px 34px rgba(4, 59, 115, 0.25);
    animation: stat-drift 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.stat-card:nth-child(2) .stat-icon {
    animation-delay: 0.25s;
}

.stat-card:nth-child(3) .stat-icon {
    animation-delay: 0.5s;
}

.stat-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.stat-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 10px;
    color: #f4fbff;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.stat-card p {
    position: relative;
    z-index: 1;
    max-width: 270px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.55;
}

@keyframes stat-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        border-radius: 26px;
    }

    50% {
        transform: translate3d(0, -8px, 0) rotate(-3deg);
        border-radius: 34px 22px 30px 24px;
    }
}

@keyframes stats-aurora {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        opacity: 0.82;
    }

    45% {
        transform: translate3d(18%, 8%, 0) scale(1.08) rotate(8deg);
        opacity: 1;
    }

    72% {
        transform: translate3d(8%, 18%, 0) scale(0.96) rotate(-5deg);
        opacity: 0.74;
    }
}

@keyframes stats-aurora-reverse {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        opacity: 0.74;
    }

    48% {
        transform: translate3d(-16%, -10%, 0) scale(1.12) rotate(-10deg);
        opacity: 1;
    }

    78% {
        transform: translate3d(-8%, -18%, 0) scale(0.98) rotate(6deg);
        opacity: 0.8;
    }
}

@keyframes stat-border-glow {
    from {
        filter: brightness(1);
    }

    to {
        filter: brightness(1.18);
    }
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 92px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.form-intro h2,
.transparency-section h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.section-heading p,
.form-intro p,
.transparency-list p {
    color: var(--muted);
    font-size: 17px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.impact-grid article {
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 255, 0.78));
    border: 1px solid rgba(88, 185, 71, 0.2);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.08);
}

.impact-grid span {
    color: var(--green);
    font-weight: 800;
}

.impact-grid h3 {
    margin: 46px 0 12px;
    font-size: 24px;
}

.impact-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.work-page {
    overflow: hidden;
}

.work-hero {
    position: relative;
    min-height: 760px;
    padding: 154px 0 82px;
    overflow: hidden;
    color: var(--white);
}

.work-hero-bg {
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-image:
        linear-gradient(90deg, rgba(4, 59, 115, 0.82), rgba(104, 62, 24, 0.62), rgba(88, 185, 71, 0.32)),
        url("../../images/hero.webp") !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 100% 100%, 100% 100% !important;
}

.work-hero-bg::before,
.work-hero-bg::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(223, 247, 228, 0.18);
    filter: blur(8px);
    animation: stats-aurora 12s ease-in-out infinite;
}

.work-hero-bg::before {
    left: -120px;
    top: 160px;
    width: 420px;
    height: 420px;
}

.work-hero-bg::after {
    right: -160px;
    bottom: -120px;
    width: 540px;
    height: 540px;
    animation-name: stats-aurora-reverse;
}

.work-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(34px, 6vw, 82px);
    align-items: center;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.work-hero-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.work-hero-copy p:not(.eyebrow) {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}

.work-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.work-alert-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(247, 251, 255, 0.24);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 70px rgba(4, 59, 115, 0.22);
    backdrop-filter: blur(16px);
}

.work-alert-card::before {
    content: "";
    position: absolute;
    right: -44px;
    top: -44px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(88, 185, 71, 0.22);
    animation: stat-drift 5s ease-in-out infinite;
}

.work-alert-card span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.work-alert-card strong {
    display: block;
    color: #f4fbff;
    font-size: 32px;
    letter-spacing: -0.045em;
}

.work-alert-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.work-reality {
    width: min(1180px, calc(100% - 36px));
    margin: 78px auto 0;
}

.work-reality-heading {
    max-width: 820px;
    margin-bottom: 30px;
}

.work-reality-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.work-reality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-reality-grid article {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.78));
    box-shadow: 0 22px 60px rgba(5, 54, 98, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.work-reality-grid article::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -48px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(88, 185, 71, 0.12);
    transition: transform 0.28s ease;
}

.work-reality-grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(5, 54, 98, 0.16);
}

.work-reality-grid article:hover::after {
    transform: scale(1.18);
}

.work-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 24px;
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 16px 32px rgba(7, 84, 159, 0.22);
    animation: stat-drift 5s ease-in-out infinite;
}

.work-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.work-reality-grid h3 {
    position: relative;
    z-index: 1;
    margin: 46px 0 12px;
    font-size: 25px;
    letter-spacing: -0.035em;
}

.work-reality-grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.work-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 42px auto 0;
}

.work-stat {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(247, 251, 255, 0.2);
    border-radius: 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 18%, rgba(223, 247, 228, 0.26), transparent 34%),
        linear-gradient(135deg, #043b73, #07549f 62%, #0b66b3);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.18);
}

.work-stat strong {
    display: block;
    color: #f4fbff;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.work-stat p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.work-mission {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 5vw, 70px);
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
}

.work-mission-copy h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.work-mission-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.work-mission-panel {
    display: grid;
    gap: 16px;
}

.work-mission-panel article {
    padding: 24px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
}

.work-mission-panel span {
    color: var(--green);
    font-weight: 900;
}

.work-mission-panel strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 22px;
}

.work-mission-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.work-donation-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 96px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.work-donation-banner .eyebrow {
    color: #dff7e4;
}

.work-donation-banner h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.work-donation-banner p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.75;
}

.work-donation-actions {
    display: grid;
    gap: 14px;
    min-width: 240px;
}

.projects-page {
    overflow: hidden;
}

.projects-shell {
    position: relative;
    width: min(1280px, calc(100% - 44px));
    margin: 132px auto 0;
    padding: clamp(26px, 4vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 223, 0.68)),
        rgba(255, 255, 255, 0.58);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.14);
}

.projects-orb {
    position: absolute;
    border-radius: 44% 56% 60% 40%;
    filter: blur(4px);
    pointer-events: none;
}

.projects-orb.one {
    left: -130px;
    top: -140px;
    width: 360px;
    height: 360px;
    background: rgba(223, 247, 228, 0.42);
    animation: stats-aurora 10s ease-in-out infinite;
}

.projects-orb.two {
    right: -180px;
    bottom: 20%;
    width: 460px;
    height: 460px;
    background: rgba(88, 185, 71, 0.18);
    animation: stats-aurora-reverse 13s ease-in-out infinite;
}

.projects-intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(28px, 5vw, 70px);
    align-items: end;
}

.projects-intro h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.projects-intro p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.projects-command-card {
    padding: 26px;
    border: 1px solid rgba(247, 251, 255, 0.26);
    border-radius: 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 14% 16%, rgba(223, 247, 228, 0.28), transparent 34%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
    box-shadow: 0 24px 64px rgba(5, 54, 98, 0.18);
}

.projects-command-card span {
    color: #dff7e4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projects-command-card strong {
    display: block;
    margin-top: 12px;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.projects-shell .projects-command-card p {
    color: #ffffff !important;
    line-height: 1.65;
    text-shadow: 0 1px 2px rgba(4, 59, 115, 0.34);
}

.projects-shell .projects-command-card strong {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(4, 59, 115, 0.22);
}

.project-tabs {
    position: sticky;
    top: 100px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 24px;
    padding: 10px;
    border: 1px solid rgba(88, 185, 71, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 45px rgba(5, 54, 98, 0.08);
    backdrop-filter: blur(12px);
}

.project-tabs button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.project-tabs button:hover,
.project-tabs button.is-active {
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    transform: translateY(-2px);
}

.project-board {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.project-card {
    position: relative;
    display: grid;
    align-content: space-between;
    min-height: 340px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 60px rgba(5, 54, 98, 0.1);
    transition: transform 0.28s ease, opacity 0.22s ease, box-shadow 0.28s ease;
}

.project-card.featured {
    min-height: 440px;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 18%, rgba(223, 247, 228, 0.28), transparent 32%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
}

.project-card.is-hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 86px rgba(5, 54, 98, 0.16);
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

.project-card-top span,
.project-card-top em {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.project-card-top span {
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
}

.project-card-top em {
    color: var(--muted);
    background: rgba(247, 251, 255, 0.7);
}

.project-card.featured .project-card-top em {
    color: #dff7e4;
    background: rgba(255, 255, 255, 0.1);
}

.project-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.project-card p {
    color: var(--muted);
    line-height: 1.7;
}

.project-card.featured p {
    color: rgba(255, 255, 255, 0.82);
}

.project-progress {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.project-progress div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.project-progress strong {
    font-size: 34px;
    letter-spacing: -0.05em;
}

.project-progress span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.project-card.featured .project-progress span {
    color: rgba(255, 255, 255, 0.72);
}

.project-progress i {
    position: relative;
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(7, 84, 159, 0.14);
}

.project-card.featured .project-progress i {
    background: rgba(255, 255, 255, 0.16);
}

.project-progress i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--progress);
    border-radius: inherit;
    background: linear-gradient(90deg, #dff7e4, #58b947);
    animation: project-fill 1.2s ease both;
}

.project-impact-lab,
.project-roadmap,
.projects-final-cta {
    width: min(1180px, calc(100% - 36px));
    margin: 78px auto 0;
}

.project-impact-lab {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
}

.impact-lab-copy h2,
.roadmap-heading h2,
.projects-final-cta h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.impact-lab-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.impact-lab-grid {
    display: grid;
    gap: 16px;
}

.impact-lab-grid article {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.09);
}

.impact-lab-grid strong {
    color: var(--accent-blue);
    font-size: 42px;
    letter-spacing: -0.06em;
}

.impact-lab-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.roadmap-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.roadmap-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.1);
}

.roadmap-line article {
    position: relative;
    min-height: 250px;
    padding: 28px;
    border-right: 1px solid rgba(88, 185, 71, 0.18);
}

.roadmap-line article:last-child {
    border-right: 0;
}

.roadmap-line span {
    color: var(--green);
    font-weight: 900;
}

.roadmap-line h3 {
    margin: 54px 0 12px;
    font-size: 24px;
}

.roadmap-line p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.projects-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 96px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.projects-final-cta .eyebrow {
    color: #dff7e4;
}

.projects-final-actions {
    display: grid;
    gap: 14px;
    min-width: 240px;
}

@keyframes project-fill {
    from {
        width: 0;
    }
}

.about-page {
    overflow: hidden;
}

.about-hero {
    width: min(1280px, calc(100% - 44px));
    margin: 132px auto 0;
    padding: clamp(26px, 5vw, 58px);
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 44px;
    background:
        radial-gradient(circle at 82% 18%, rgba(223, 247, 228, 0.42), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 244, 223, 0.72));
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.14);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: clamp(28px, 6vw, 90px);
    align-items: stretch;
}

.about-kicker {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 520px;
    padding: 28px;
    overflow: hidden;
    border-radius: 32px;
    color: var(--white);
    background-image:
        linear-gradient(180deg, rgba(5, 54, 98, 0.12), rgba(5, 54, 98, 0.84)),
        url("../../images/hero.webp") !important;
    background-position: center center, center center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 100% 100%, 100% 100% !important;
}

.about-kicker::before {
    content: "";
    position: absolute;
    left: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(223, 247, 228, 0.24);
    animation: stats-aurora 9s ease-in-out infinite;
}

.about-kicker span,
.about-kicker strong {
    position: relative;
    z-index: 1;
    display: block;
}

.about-kicker span {
    color: #dff7e4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-kicker strong {
    margin-top: 10px;
    font-size: 32px;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.about-hero-copy {
    align-self: center;
}

.about-hero-copy h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(46px, 7vw, 88px);
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.about-hero-copy p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.75;
}

.about-manifesto {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 22px;
    width: min(1180px, calc(100% - 36px));
    margin: 68px auto 0;
}

.manifesto-card,
.manifesto-note {
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 34px;
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.12);
}

.manifesto-card {
    padding: clamp(30px, 5vw, 54px);
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
}

.manifesto-card span {
    color: #dff7e4;
    font-weight: 900;
}

.manifesto-card h2 {
    max-width: 800px;
    margin: 26px 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.manifesto-card p,
.manifesto-note p {
    margin: 0;
    line-height: 1.8;
}

.manifesto-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.manifesto-note {
    display: grid;
    align-content: end;
    padding: 30px;
    background: rgba(255, 255, 255, 0.82);
}

.manifesto-note p {
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.about-values {
    position: relative;
    width: min(1180px, calc(100% - 36px));
    margin: 84px auto 0;
}

.values-center {
    max-width: 650px;
    margin: 0 auto 28px;
    text-align: center;
}

.values-center h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.values-orbit {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.values-orbit article {
    position: relative;
    min-height: 260px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 55px rgba(5, 54, 98, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.values-orbit article::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 140px;
    height: 140px;
    border-radius: 46% 54% 60% 40%;
    background: rgba(88, 185, 71, 0.14);
    animation: stats-aurora 8s ease-in-out infinite;
}

.values-orbit article:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 78px rgba(5, 54, 98, 0.16);
}

.values-orbit span {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 80px;
    color: var(--accent-blue);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.values-orbit p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.about-trust-wall {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(28px, 5vw, 70px);
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
    align-items: center;
}

.trust-wall-copy h2,
.storyline-heading h2,
.about-cta h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.trust-wall-copy p:not(.eyebrow),
.about-cta p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.trust-wall-list {
    display: grid;
    gap: 16px;
}

.trust-wall-list div {
    padding: 24px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 223, 0.76));
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
}

.trust-wall-list strong,
.trust-wall-list span {
    display: block;
}

.trust-wall-list strong {
    margin-bottom: 8px;
    font-size: 22px;
}

.trust-wall-list span {
    color: var(--muted);
    line-height: 1.65;
}

.about-storyline {
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
}

.storyline-heading {
    max-width: 780px;
    margin-bottom: 30px;
}

.storyline-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.1);
}

.storyline-track article {
    min-height: 260px;
    padding: 28px;
    border-right: 1px solid rgba(88, 185, 71, 0.18);
}

.storyline-track article:last-child {
    border-right: 0;
}

.storyline-track span {
    display: block;
    margin-bottom: 88px;
    color: var(--accent-blue);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.storyline-track p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.about-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 96px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.about-cta .eyebrow {
    color: #dff7e4;
}

.about-cta p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
}

.about-cta-actions {
    display: grid;
    gap: 14px;
    min-width: 240px;
}

.children-page {
    overflow: hidden;
}

.children-hero {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: clamp(34px, 6vw, 90px);
    align-items: center;
    width: min(1280px, calc(100% - 44px));
    margin: 132px auto 0;
    padding: clamp(28px, 5vw, 62px);
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 44px;
    background:
        radial-gradient(circle at 14% 20%, rgba(223, 247, 228, 0.42), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 244, 223, 0.72));
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.14);
}

.children-visual {
    position: relative;
    display: grid;
    min-height: 430px;
    place-items: center;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(223, 247, 228, 0.26), transparent 34%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
}

.child-core {
    position: relative;
    z-index: 2;
    display: grid;
    width: 138px;
    height: 138px;
    place-items: center;
    border: 1px solid rgba(223, 247, 228, 0.28);
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(4, 59, 115, 0.24);
    backdrop-filter: blur(12px);
}

.child-core svg {
    width: 74px;
    height: 74px;
    fill: #7ed957;
    animation: footer-heartbeat 2.8s ease-in-out infinite;
}

.child-orbit {
    position: absolute;
    border: 1px solid rgba(223, 247, 228, 0.22);
    border-radius: 50%;
}

.orbit-one {
    width: 210px;
    height: 210px;
    animation: children-orbit 13s linear infinite;
}

.orbit-two {
    width: 300px;
    height: 300px;
    animation: children-orbit 18s linear infinite reverse;
}

.orbit-three {
    width: 390px;
    height: 390px;
    animation: children-orbit 24s linear infinite;
}

.child-orbit::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dff7e4;
    box-shadow: 0 0 28px rgba(223, 247, 228, 0.8);
}

.children-hero-copy h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.children-hero-copy p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.75;
}

.children-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.children-needs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 72px auto 0;
}

.children-needs article {
    min-height: 340px;
    padding: 30px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 20px 55px rgba(5, 54, 98, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.children-needs article:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 78px rgba(5, 54, 98, 0.16);
}

.children-needs span {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.children-needs h2 {
    margin: 78px 0 16px;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.children-needs p {
    color: var(--muted);
    line-height: 1.7;
}

.children-voice {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 70px);
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
    align-items: center;
}

.voice-panel {
    padding: clamp(28px, 5vw, 48px);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.voice-panel .eyebrow {
    color: #dff7e4;
}

.voice-panel h2,
.support-map-heading h2,
.children-promise h2,
.children-final-cta h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.voice-copy {
    display: grid;
    gap: 18px;
}

.voice-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.children-support-map,
.children-promise,
.children-final-cta {
    width: min(1180px, calc(100% - 36px));
    margin: 86px auto 0;
}

.support-map-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.support-map-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.support-map-grid article {
    position: relative;
    min-height: 270px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.76));
    box-shadow: 0 20px 55px rgba(5, 54, 98, 0.1);
}

.support-map-grid strong {
    color: rgba(7, 84, 159, 0.22);
    font-size: 54px;
    letter-spacing: -0.08em;
}

.support-map-grid span {
    display: block;
    margin: 36px 0 10px;
    color: var(--accent-blue);
    font-size: 22px;
    font-weight: 900;
}

.support-map-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.children-promise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.1);
}

.promise-stack {
    display: grid;
    gap: 18px;
}

.promise-stack p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.children-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 96px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.children-final-cta div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@keyframes children-orbit {
    to {
        transform: rotate(360deg);
    }
}

.contact-page {
    overflow: hidden;
}

.contact-hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(30px, 5vw, 70px);
    align-items: end;
    width: min(1280px, calc(100% - 44px));
    margin: 132px auto 0;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 44px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(223, 247, 228, 0.3), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.contact-hero .eyebrow {
    color: #dff7e4;
}

.contact-hero-copy h1 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(46px, 7vw, 84px);
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.contact-hero-copy p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.75;
}

.contact-pulse-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(247, 251, 255, 0.24);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 55px rgba(4, 59, 115, 0.18);
    backdrop-filter: blur(14px);
}

.contact-pulse-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(223, 247, 228, 0.18);
    animation: stats-aurora 8s ease-in-out infinite;
}

.contact-pulse-card span,
.contact-pulse-card strong,
.contact-pulse-card p {
    position: relative;
    z-index: 1;
}

.contact-pulse-card span {
    color: #dff7e4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-pulse-card strong {
    display: block;
    margin: 16px 0 10px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.contact-pulse-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.contact-grid-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(26px, 5vw, 60px);
    width: min(1180px, calc(100% - 36px));
    margin: 70px auto 0;
    align-items: start;
}

.contact-info-stack {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 124px;
}

.contact-info-stack article {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
}

.contact-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 22px;
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 16px 32px rgba(7, 84, 159, 0.22);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.contact-info-stack strong,
.contact-info-stack span,
.contact-info-stack a {
    display: block;
}

.contact-info-stack strong {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 19px;
}

.contact-info-stack span,
.contact-info-stack a {
    color: var(--muted);
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(88, 185, 71, 0.24);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 80px rgba(5, 54, 98, 0.14);
    backdrop-filter: blur(14px);
}

.contact-form-heading h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.contact-form-heading p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}

.field textarea {
    width: 100%;
    resize: vertical;
    min-height: 160px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px;
    color: var(--ink);
    background: #fbfdff;
    outline: none;
}

.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(19, 168, 216, 0.12);
}

.contact-submit {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), #6ccf5d);
    box-shadow: 0 16px 34px rgba(88, 185, 71, 0.3);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(88, 185, 71, 0.36);
}

.contact-pathways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 70px auto 96px;
}

.contact-pathways article {
    padding: 26px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 255, 0.78));
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
}

.contact-pathways strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
}

.contact-pathways p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.donate-page {
    overflow: hidden;
}

.donate-hero {
    display: grid;
    grid-template-columns: 0.9fr minmax(420px, 560px);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    width: min(1280px, calc(100% - 44px));
    margin: 132px auto 0;
}

.donate-copy {
    position: sticky;
    top: 126px;
    padding: clamp(28px, 5vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 42px;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 18%, rgba(223, 247, 228, 0.32), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 58%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.2);
}

.donate-copy::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 46% 54% 62% 38%;
    background: rgba(223, 247, 228, 0.16);
    animation: stats-aurora-reverse 12s ease-in-out infinite;
}

.donate-copy .eyebrow {
    color: #dff7e4;
}

.donate-copy h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.donate-copy p {
    position: relative;
    z-index: 1;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.75;
}

.donate-copy-points {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.donate-copy-points span {
    padding: 14px 16px;
    border: 1px solid rgba(223, 247, 228, 0.18);
    border-radius: 16px;
    background: rgba(4, 59, 115, 0.18);
    color: #dff7e4;
    font-weight: 900;
}

.donation-checkout {
    position: relative;
}

.donate-page-form {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(88, 185, 71, 0.28);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.16);
    backdrop-filter: blur(14px);
}

.donate-page-form h2 {
    margin: 0 0 4px;
    color: var(--blue-dark);
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.035em;
}

.checkout-section {
    display: grid;
    gap: 10px;
}

.checkout-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-toggle span {
    min-height: 56px;
    font-size: 18px;
    font-weight: 800;
}

.checkout-amounts span {
    min-height: 64px;
    font-size: 16px;
    font-weight: 900;
}

.checkout-terms {
    max-height: 120px;
    overflow: auto;
    padding: 16px;
    border: 1px solid rgba(88, 185, 71, 0.18);
    border-radius: 16px;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 244, 223, 0.72));
}

.checkout-terms strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
}

.checkout-terms p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
}

.checkout-checkbox {
    font-size: 13px;
}

.checkout-submit {
    min-height: 62px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, #58b957, #79cb6d);
    box-shadow: 0 16px 34px rgba(71, 171, 82, 0.3);
    cursor: pointer;
    font-size: 22px;
    font-weight: 900;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.checkout-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(71, 171, 82, 0.36);
}

.checkout-secure {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(88, 185, 71, 0.18);
    color: var(--muted);
    font-size: 12px;
    font-style: italic;
}

.donate-impact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1280px, calc(100% - 44px));
    margin: 36px auto 0;
}

.donate-impact-row article {
    padding: 26px;
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(5, 54, 98, 0.1);
}

.donate-impact-row strong {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-blue);
    font-size: 28px;
    letter-spacing: -0.04em;
}

.donate-impact-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.donate-story-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 70px);
    width: min(1180px, calc(100% - 36px));
    margin: 78px auto 96px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 36px;
    color: var(--white);
    background:
        radial-gradient(circle at 18% 22%, rgba(223, 247, 228, 0.28), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
    box-shadow: 0 30px 90px rgba(5, 54, 98, 0.22);
}

.donate-story-panel .eyebrow {
    color: #dff7e4;
}

.donate-story-panel h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.donate-story-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.redirect-cta-section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 72px 0 18px;
}

.redirect-cta-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(88, 185, 71, 0.24);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(223, 247, 228, 0.32), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 223, 0.82));
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.12);
}

.redirect-cta-card h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.redirect-cta-card p:not(.eyebrow) {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.redirect-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 999px;
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 16px 34px rgba(7, 84, 159, 0.22);
    font-weight: 900;
    white-space: nowrap;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.redirect-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(7, 84, 159, 0.28);
}

.redirect-page {
    overflow: hidden;
}

.redirect-hero {
    position: relative;
    min-height: 720px;
    padding: 150px 0 70px;
    overflow: hidden;
    color: var(--white);
}

.redirect-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(223, 247, 228, 0.36), transparent 28%),
        radial-gradient(circle at 82% 32%, rgba(88, 185, 71, 0.22), transparent 30%),
        linear-gradient(135deg, #043b73, #07549f 52%, #0b66b3);
}

.redirect-hero-bg::before,
.redirect-hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 44% 56% 60% 40%;
    background: rgba(247, 251, 255, 0.13);
    filter: blur(6px);
    animation: stats-aurora 11s ease-in-out infinite;
}

.redirect-hero-bg::before {
    left: -8%;
    top: 12%;
    width: 420px;
    height: 420px;
}

.redirect-hero-bg::after {
    right: -10%;
    bottom: -12%;
    width: 520px;
    height: 520px;
    animation-name: stats-aurora-reverse;
}

.redirect-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(34px, 6vw, 82px);
    align-items: center;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.redirect-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 7vw, 86px);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.redirect-hero-copy p:not(.eyebrow) {
    max-width: 640px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}

.redirect-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ghost-button.warm {
    color: #f4fbff;
    border-color: rgba(223, 247, 228, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.redirect-hero-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 70px rgba(4, 59, 115, 0.2);
    backdrop-filter: blur(16px);
}

.redirect-card-icon {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 24px;
    color: #064d96;
    background: linear-gradient(135deg, #dff7e4, #58b947);
    box-shadow: 0 18px 34px rgba(4, 59, 115, 0.22);
    animation: stat-drift 5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.redirect-card-icon svg {
    width: 38px;
    height: 38px;
    fill: currentColor;
}

.redirect-hero-card strong {
    display: block;
    color: #f4fbff;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.redirect-hero-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.redirect-mini-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.redirect-mini-list span {
    padding: 12px 14px;
    border: 1px solid rgba(223, 247, 228, 0.18);
    border-radius: 14px;
    color: #dff7e4;
    background: rgba(4, 59, 115, 0.18);
    font-weight: 800;
}

.redirect-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: -56px auto 0;
    position: relative;
    z-index: 2;
}

.redirect-proof article {
    padding: 26px;
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 55px rgba(5, 54, 98, 0.12);
    backdrop-filter: blur(12px);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.redirect-proof article:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 75px rgba(5, 54, 98, 0.16);
}

.redirect-proof span {
    color: var(--green);
    font-weight: 900;
}

.redirect-proof strong {
    display: block;
    margin: 18px 0 10px;
    font-size: 22px;
}

.redirect-proof p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.redirect-info-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    width: min(1180px, calc(100% - 36px));
    margin: 72px auto 0;
}

.redirect-info-card,
.redirect-association-card {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(88, 185, 71, 0.22);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 223, 0.78));
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.11);
}

.redirect-info-card h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.redirect-info-card p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.redirect-association-card {
    display: grid;
    align-content: center;
    gap: 12px;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 12%, rgba(223, 247, 228, 0.28), transparent 34%),
        linear-gradient(145deg, var(--accent-blue), var(--mint-deep));
}

.redirect-association-card strong {
    font-size: 24px;
    line-height: 1.15;
}

.redirect-form-page-section {
    width: min(1180px, calc(100% - 36px));
    margin: 72px auto 96px;
}

.redirect-form-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.redirect-form-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.redirect-form-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.official-form-preview {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.13);
}

.official-form-preview h3 {
    margin: 0;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.official-form-preview p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.official-form-preview iframe {
    width: 100%;
    min-height: 920px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.form-section {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
}

.form-intro {
    position: sticky;
    top: 110px;
}

.association-card {
    display: grid;
    gap: 8px;
    margin-top: 26px;
    padding: 24px;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(145deg, var(--accent-blue), var(--mint-deep));
    box-shadow: 0 20px 46px rgba(7, 84, 159, 0.22);
}

.redirect-form {
    display: grid;
    gap: 20px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(88, 185, 71, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.13);
    backdrop-filter: blur(14px);
}

.anaf-230-form {
    background: transparent;
}

.anaf-sheet {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 4vw, 34px);
    border: 1px solid #1f2937;
    border-radius: 18px;
    color: #111827;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(5, 54, 98, 0.13);
    font-family: Arial, sans-serif;
}

.anaf-document-header {
    display: grid;
    grid-template-columns: minmax(170px, 210px) 1fr minmax(105px, 135px);
    gap: clamp(12px, 3vw, 28px);
    align-items: start;
}

.anaf-logo-card {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 14px 12px;
    border: 3px solid #111111;
    border-radius: 8px;
    color: #34336d;
    background: #ffffff;
}

.anaf-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.anaf-logo-row svg {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.anaf-logo-row strong {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -2px;
}

.anaf-logo-card span {
    margin-top: 4px;
    color: #34336d;
    font-size: 8px;
    line-height: 1;
    text-align: center;
}

.anaf-header-center {
    display: grid;
    gap: 8px;
    justify-items: center;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
}

.anaf-header-center strong {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;
}

.anaf-header-center span {
    font-size: clamp(12px, 1.8vw, 15px);
    line-height: 1.18;
    font-weight: 900;
}

.anaf-header-right {
    display: grid;
    gap: 2px;
    justify-items: end;
    color: #000000;
}

.anaf-header-right span {
    font-size: 10px;
}

.anaf-header-right b {
    font-size: clamp(54px, 9vw, 76px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
}

.anaf-year {
    display: grid;
    grid-template-columns: auto 96px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    text-transform: none;
}

.anaf-sheet .anaf-year label {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

.anaf-sheet .anaf-year input {
    width: 96px;
    min-height: 27px;
    padding: 0 0 0 7px;
    border: 1px solid #6b7280;
    border-radius: 0;
    background:
        repeating-linear-gradient(to right, transparent 0, transparent 23px, #6b7280 23px, #6b7280 24px),
        #eef0f6;
    color: #111827;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    letter-spacing: 12px;
}

.anaf-section {
    display: grid;
    gap: 10px;
    padding: 0 8px 10px;
    border: 3px solid #9b9b9b;
    background: #ffffff;
}

.anaf-section legend {
    width: calc(100% + 16px);
    margin: 0 -8px 8px;
    padding: 3px 7px;
    color: #000000;
    background: linear-gradient(90deg, #c9c9c9 0%, #eeeeee 76%, #ffffff 100%);
    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;
}

.anaf-grid {
    display: grid;
    gap: 10px;
}

.anaf-person-section {
    gap: 0;
}

.anaf-person-box {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 8px;
}

.anaf-person-left,
.anaf-person-right {
    display: grid;
    gap: 5px;
}

.anaf-person-right {
    padding-left: 8px;
    border-left: 2px solid #cfcfcf;
}

.anaf-line {
    display: grid;
    align-items: center;
    gap: 4px;
}

.anaf-line label {
    margin: 0;
    color: #000000;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}

.anaf-line input,
.anaf-line select {
    min-height: 24px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    border-radius: 0;
    color: #000000;
    background: #fbfbfb;
    font-size: 12px;
}

.anaf-line-name {
    grid-template-columns: 42px 1fr;
}

.anaf-line-name-with-initial {
    grid-template-columns: 42px 1fr 58px 42px;
}

.anaf-line-street {
    grid-template-columns: 42px 1fr 48px 86px;
}

.anaf-line-address {
    grid-template-columns: 30px 48px 36px 36px 28px 36px 22px 36px 78px 1fr;
}

.anaf-line-locality {
    grid-template-columns: 68px 1fr 74px 1fr;
}

.anaf-line-cnp {
    grid-template-columns: 1fr;
}

.anaf-line-cnp label[for="cnp"] {
    grid-column: 1;
    justify-self: center;
    margin-bottom: -2px;
    font-size: 10px;
}

.anaf-line-cnp input#cnp {
    grid-column: 1;
    min-height: 25px;
    padding-left: 8px;
    border: 2px solid #747985;
    background:
        repeating-linear-gradient(to right, transparent 0, transparent 23px, #747985 23px, #747985 24px),
        #eef0f6;
    font-size: 15px;
    letter-spacing: 12px;
}

.anaf-line-contact {
    grid-template-columns: 56px 1fr;
    min-height: 36px;
    padding: 4px 6px;
    background: #eeeeee;
}

.anaf-destination-section {
    padding: 0;
    border: 0;
}

.anaf-destination-section legend {
    width: 100%;
    margin: 0;
    padding: 3px 7px 5px;
    background: linear-gradient(90deg, #c9c9c9 0%, #eeeeee 76%, #ffffff 100%);
    font-size: 16px;
    line-height: 1.22;
}

.anaf-destination-frame {
    display: grid;
    border: 3px solid #9b9b9b;
    background: #ffffff;
}

.anaf-destination-part {
    display: grid;
    gap: 4px;
    padding: 4px 6px;
}

.anaf-destination-part-first {
    border-bottom: 3px dashed #a6a6a6;
}

.anaf-destination-heading {
    display: grid;
    grid-template-columns: max-content 22px;
    gap: 12px;
    align-items: center;
    justify-content: start;
    min-height: 22px;
    color: #000000;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
}

.anaf-destination-row {
    display: grid;
    align-items: center;
    gap: 3px;
}

.anaf-destination-row label {
    margin: 0;
    color: #000000;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}

.anaf-destination-row input,
.anaf-destination-heading input,
.anaf-row-agreement input {
    border-radius: 0;
}

.anaf-destination-row input[type="text"],
.anaf-destination-row input[readonly] {
    min-height: 23px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    color: #000000;
    background: #fbfbfb;
    font-size: 12px;
    font-weight: 400;
}

.anaf-destination-heading input,
.anaf-row-duration input[type="checkbox"],
.anaf-row-agreement input {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    border: 2px solid #b6bcc8;
    background: #eef0f6;
    appearance: none;
}

.anaf-row-contract {
    grid-template-columns: 82px 186px 1fr;
}

.anaf-row-scholarship {
    grid-template-columns: 82px 186px 136px 320px 1fr;
    padding: 2px 4px 2px 0;
    background: #eeeeee;
}

.anaf-destination-section .anaf-destination-heading input[type="checkbox"],
.anaf-destination-section .anaf-row-duration input[type="checkbox"],
.anaf-destination-section .anaf-row-agreement input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border: 2px solid #b6bcc8;
    border-radius: 0;
    background: #eef0f6;
    appearance: none;
}

.anaf-destination-section .anaf-destination-heading {
    grid-template-columns: auto 20px;
    gap: 10px;
}

.anaf-destination-section .anaf-row-contract input[type="text"],
.anaf-destination-section .anaf-row-scholarship input[type="text"] {
    width: 100%;
    min-height: 23px;
}

.anaf-row-duration {
    grid-template-columns: max-content 22px;
    justify-content: start;
    min-height: 29px;
    padding-right: 6px;
    background: #eeeeee;
}

.anaf-row-cif {
    grid-template-columns: 278px 160px 1fr;
}

.anaf-row-entity {
    grid-template-columns: 200px 1fr;
    padding-right: 3px;
    background: #eeeeee;
}

.anaf-row-iban {
    grid-template-columns: 120px 380px 1fr;
}

.anaf-row-percent {
    grid-template-columns: 125px 110px 58px 190px 1fr;
}

.anaf-row-agreement {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 4px;
    background: #d9d9d9;
    color: #000000;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 900;
}

.anaf-representative-section {
    padding: 0;
    border: 0;
}

.anaf-representative-section legend {
    width: 100%;
    margin: 0;
    padding: 3px 7px 5px;
    background: linear-gradient(90deg, #c9c9c9 0%, #eeeeee 76%, #ffffff 100%);
    font-size: 16px;
    line-height: 1.2;
}

.anaf-representative-box {
    display: grid;
    gap: 5px;
    padding: 7px;
    border: 3px solid #9b9b9b;
    background: #ffffff;
}

.anaf-representative-row {
    display: grid;
    align-items: center;
    gap: 4px;
}

.anaf-representative-row label {
    margin: 0;
    color: #000000;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}

.anaf-representative-row input {
    min-height: 24px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    border-radius: 0;
    color: #000000;
    background: #fbfbfb;
    font-size: 12px;
}

.anaf-representative-name-row {
    grid-template-columns: 135px 1fr 190px 235px;
}

.anaf-representative-name-row input#representative_fiscal_code {
    background:
        repeating-linear-gradient(to right, transparent 0, transparent 17px, #747985 17px, #747985 18px),
        #eef0f6;
    letter-spacing: 8px;
}

.anaf-representative-address-row {
    grid-template-columns: 38px 1fr 44px 40px 30px 48px 34px 34px 26px 34px 20px 34px;
}

.anaf-representative-locality-row {
    grid-template-columns: 72px 1fr 58px 1fr 72px 180px;
}

.anaf-representative-contact-row {
    grid-template-columns: 44px 1fr 26px 1fr 42px 1.7fr;
}

.anaf-footer-zone {
    display: grid;
    gap: 8px;
    color: #000000;
}

.anaf-annex-row {
    display: grid;
    grid-template-columns: 72px 44px 16px 44px 1fr;
    gap: 6px;
    align-items: center;
    font-size: 11px;
    font-weight: 900;
}

.anaf-annex-row label,
.anaf-annex-row strong {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
}

.anaf-annex-row input {
    min-height: 27px;
    padding: 2px 4px;
    border: 2px inset #b5b5b5;
    border-radius: 0;
}

.anaf-final-declaration {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    font-style: italic;
    font-weight: 900;
}

.anaf-signature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
    width: min(680px, 100%);
    margin-left: 18px;
}

.anaf-signature-cell {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: #000000;
    font-size: 11px;
    font-weight: 400;
}

.anaf-signature-cell input {
    min-height: 25px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    border-radius: 0;
}

.anaf-digital-signature {
    margin-top: 0;
}

.anaf-footer-notes {
    display: grid;
    gap: 1px;
    margin-top: 2px;
    color: #000000;
    font-size: 10px;
    line-height: 1.2;
}

.anaf-footer-notes p {
    margin: 0;
}

.anaf-fiscal-reserved {
    display: grid;
    grid-template-columns: 1fr 88px 170px 40px 150px;
    gap: 8px;
    align-items: center;
    min-height: 39px;
    padding: 4px 8px;
    border-top: 3px solid #000000;
    border-bottom: 3px solid #000000;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0.55) 8px, rgba(180, 180, 180, 0.3) 8px, rgba(180, 180, 180, 0.3) 10px),
        #e6e6e6;
}

.anaf-fiscal-reserved strong {
    font-size: 17px;
    line-height: 1;
    font-weight: 400;
}

.anaf-fiscal-reserved label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
}

.anaf-fiscal-reserved input {
    min-height: 22px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    border-radius: 0;
    background: rgba(235, 238, 247, 0.75);
}

.anaf-gdpr-row {
    display: grid;
    gap: 3px;
    color: #000000;
    font-size: 10px;
    line-height: 1.2;
}

.anaf-gdpr-row small {
    font-size: 8px;
}

.cnp-grid {
    grid-template-columns: 260px 1fr;
    align-items: end;
}

.identity-grid {
    grid-template-columns: 1fr 1fr 130px;
}

.address-grid {
    grid-template-columns: 2fr 0.8fr repeat(4, 0.65fr);
}

.locality-grid {
    grid-template-columns: 1fr 0.8fr 1.3fr;
}

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

.beneficiary-grid {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
}

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

.representative-grid {
    grid-template-columns: 1.4fr 1fr;
}

.anaf-sheet label {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}

.anaf-sheet input,
.anaf-sheet select {
    width: 100%;
    min-height: 38px;
    border: 1px solid #374151;
    border-radius: 0;
    padding: 6px 8px;
    color: #111827;
    background: #ffffff;
}

.anaf-person-section .anaf-line label {
    margin: 0;
    color: #000000;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}

.anaf-person-section .anaf-line input,
.anaf-person-section .anaf-line select {
    min-height: 24px;
    padding: 2px 5px;
    border: 2px inset #b5b5b5;
    color: #000000;
    background: #fbfbfb;
    font-size: 12px;
}

.anaf-person-section .anaf-line-cnp input#cnp {
    min-height: 25px;
    padding-left: 8px;
    border: 2px solid #747985;
    background:
        repeating-linear-gradient(to right, transparent 0, transparent 23px, #747985 23px, #747985 24px),
        #eef0f6;
    font-size: 15px;
    letter-spacing: 12px;
}

.anaf-sheet input[readonly] {
    background: #f3f4f6;
    font-weight: 700;
}

.anaf-checkline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    font-size: 14px;
    font-weight: 700;
}

.anaf-checkline input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 1px;
}

.anaf-declaration {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.anaf-signature-label {
    align-self: end;
    min-height: 38px;
    padding: 10px 8px;
    border: 1px solid #374151;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

fieldset {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid var(--line);
}

fieldset:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

legend {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 800;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field-row.three {
    grid-template-columns: 1fr 1.4fr 1.4fr;
}

.field {
    display: grid;
    gap: 8px;
}

.field.wide {
    grid-column: span 1;
}

.field label,
.checkbox-field {
    font-size: 14px;
    font-weight: 800;
}

.field input,
.field select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 15px;
    color: var(--ink);
    background: #fbfdff;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(19, 168, 216, 0.12);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.checkbox-field input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--blue);
}

.signature-box {
    overflow: hidden;
    border: 1px dashed #9fb7c5;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
}

.signature-box canvas {
    display: block;
    width: 100%;
    height: 190px;
    cursor: crosshair;
}

.clear-signature {
    justify-self: start;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--white);
    cursor: pointer;
    font-weight: 800;
}

.is-hidden {
    display: none;
}

.transparency-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 46px;
    border-top: 1px solid var(--line);
}

.transparency-list {
    display: grid;
    gap: 16px;
}

.transparency-list p {
    margin: 0;
    padding: 20px;
    border-radius: 18px;
    background: var(--soft);
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 70px 0 26px;
    color: var(--white);
    background:
        radial-gradient(circle at 16% 22%, rgba(223, 247, 228, 0.26), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(88, 185, 71, 0.18), transparent 28%),
        linear-gradient(135deg, #043b73, #07549f 54%, #0b66b3);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.11), transparent);
    transform: translateX(-120%);
    animation: trust-shine 10s ease-in-out infinite;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: clamp(24px, 3vw, 42px);
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(247, 251, 255, 0.14);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(247, 251, 255, 0.075), rgba(6, 77, 150, 0.28)),
        rgba(5, 54, 98, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 70px rgba(4, 59, 115, 0.2);
    backdrop-filter: blur(8px) saturate(0.82);
}

.footer-brand {
    display: grid;
    align-content: start;
    gap: 18px;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.footer-logo {
    display: inline-grid !important;
    justify-items: center !important;
    gap: 22px !important;
    justify-self: start;
    text-align: center !important;
}

.site-footer .footer-logo-mark {
    display: grid !important;
    width: 58px;
    height: 58px;
    place-items: center !important;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.34), transparent 32%),
        rgba(247, 251, 255, 0.14);
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.08),
        0 0 30px rgba(255, 255, 255, 0.42),
        0 14px 32px rgba(4, 59, 115, 0.18);
}

.site-footer .footer-logo-mark svg {
    display: block !important;
    width: 40px;
    height: 40px;
    margin: auto;
    overflow: hidden;
    transform: translateY(0);
}

.footer-logo > span:last-child {
    display: block !important;
    margin-top: 0 !important;
}

.footer-heart-glow {
    fill: rgba(255, 255, 255, 0.32);
    transform-box: fill-box;
    transform-origin: center center;
    animation: footer-heart-glow 2.6s ease-in-out infinite;
}

.footer-logo-mark svg .footer-heart-main {
    transform-box: fill-box;
    transform-origin: center center;
    animation: footer-heartbeat 2.6s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(96, 0, 18, 0.3));
}

.footer-heart-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.96);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 54;
    stroke-dashoffset: 54;
    animation: footer-heart-line 2.6s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.footer-logo strong,
.footer-logo small {
    display: block;
    line-height: 1.05;
}

.footer-logo strong {
    color: #f7fbff;
    font-size: 19px;
    letter-spacing: -0.04em;
}

.footer-logo small {
    margin-top: 4px;
    color: #dff7e4;
    font-size: 13px;
    font-weight: 800;
}

.footer-cta {
    display: inline-flex;
    gap: 10px;
    justify-self: start;
    align-items: center;
    min-height: 44px;
    padding: 0 16px 0 18px;
    border: 1px solid rgba(223, 247, 228, 0.24);
    border-radius: 12px;
    color: #dff7e4 !important;
    background: rgba(4, 59, 115, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 24px rgba(4, 59, 115, 0.12);
    backdrop-filter: blur(6px) saturate(0.82);
    font-weight: 900;
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.footer-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.24s ease;
}

.footer-cta:hover {
    transform: translateY(-3px);
    border-color: rgba(223, 247, 228, 0.5);
    background: rgba(223, 247, 228, 0.12);
}

.footer-cta:hover svg {
    transform: translateX(4px);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
    padding-left: 22px;
    border-left: 1px solid rgba(223, 247, 228, 0.14);
}

.footer-column h3 {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: #dff7e4;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dff7e4, rgba(223, 247, 228, 0));
}

.site-footer p,
.site-footer span,
.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
}

.footer-column a {
    position: relative;
    padding: 5px 0 5px 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(223, 247, 228, 0.58);
    transform: translateY(-50%);
}

.footer-column a:hover {
    color: #dff7e4;
    transform: translateX(4px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1280px, calc(100% - 80px));
    margin: 24px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(247, 251, 255, 0.18);
    font-size: 14px;
}

@keyframes footer-heartbeat {
    0%,
    100% {
        transform: scale(1);
    }

    12% {
        transform: scale(1.1);
    }

    24% {
        transform: scale(0.98);
    }

    36% {
        transform: scale(1.06);
    }
}

@keyframes footer-heart-glow {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(1);
    }

    18% {
        opacity: 0.78;
        transform: scale(1.12);
    }

    40% {
        opacity: 0.5;
        transform: scale(1.04);
    }
}

@keyframes footer-heart-line {
    0% {
        stroke-dashoffset: 54;
        opacity: 0.25;
    }

    35%,
    68% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -54;
        opacity: 0.25;
    }
}

@keyframes mobile-menu-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1100px) {
    .nav-bar .header-container {
        gap: 18px;
    }

    .brand {
        min-width: 210px;
    }

    .main-nav {
        gap: 18px;
        font-size: 13px;
    }
}

@media (max-width: 980px) {
    .header-container {
        width: min(100% - 36px, 1180px);
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }

    .top-bar .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        justify-content: initial;
        min-height: 30px;
    }

    .top-social {
        display: flex;
        gap: 8px;
    }

    .top-social a {
        width: 24px;
        height: 24px;
        color: #07549f;
        background: rgba(247, 251, 255, 0.94);
        box-shadow: 0 6px 16px rgba(5, 54, 98, 0.12);
    }

    .top-social svg {
        width: 13px;
        height: 13px;
    }

    .top-links {
        justify-content: center;
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        grid-column: 2;
    }

    .top-links a {
        display: none;
    }

    .top-links a[href="contact.php"] {
        display: none;
    }

    .top-links .mobile-top-donate {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0 16px;
        border: 1px solid rgba(223, 247, 228, 0.5);
        border-radius: 999px;
        color: #064d96;
        background: linear-gradient(135deg, #dff7e4, #58b947);
        box-shadow: 0 10px 22px rgba(5, 54, 98, 0.16);
        font-size: 13px;
        font-weight: 900;
    }

    .nav-bar .header-container {
        min-height: 70px;
    }

    .brand {
        gap: 10px;
        min-width: 0;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-mark svg {
        width: 29px;
        height: 29px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 12px;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border: 1px solid rgba(223, 247, 228, 0.22);
        border-radius: 24px;
        background:
            radial-gradient(circle at 12% 10%, rgba(223, 247, 228, 0.24), transparent 30%),
            linear-gradient(180deg, rgba(6, 77, 150, 0.98), rgba(7, 84, 159, 0.98));
        box-shadow: 0 24px 60px rgba(4, 59, 115, 0.28);
        backdrop-filter: blur(14px);
    }

    .main-nav.is-open {
        display: flex;
        animation: mobile-menu-in 0.22s ease both;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 0 14px;
        border: 1px solid rgba(223, 247, 228, 0.12);
        border-radius: 16px;
        color: #f7fbff;
        background: rgba(255, 255, 255, 0.07);
        font-size: 14px;
    }

    .main-nav a.mobile-nav-contact {
        display: flex !important;
    }

    .main-nav a::after {
        content: "›";
        color: rgba(223, 247, 228, 0.8);
        font-size: 20px;
        line-height: 1;
    }

    .main-nav .nav-cta {
        min-height: 50px;
        margin-top: 4px;
        color: #064d96 !important;
        background: linear-gradient(135deg, #dff7e4, #58b947);
        border-color: rgba(223, 247, 228, 0.6);
        box-shadow: 0 12px 28px rgba(4, 59, 115, 0.22);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 16px;
        border: 1px solid rgba(223, 247, 228, 0.28);
        border-radius: 999px;
        color: #f7fbff;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .hero-inner,
    .work-hero-inner,
    .work-mission,
    .projects-intro,
    .project-board,
    .project-impact-lab,
    .projects-final-cta,
    .about-hero-grid,
    .about-manifesto,
    .about-trust-wall,
    .about-cta,
    .children-hero,
    .children-voice,
    .children-promise,
    .children-final-cta,
    .contact-hero,
    .contact-grid-section,
    .donate-hero,
    .donate-story-panel,
    .redirect-hero-inner,
    .redirect-info-section,
    .form-section,
    .transparency-section {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        width: min(1180px, calc(100% - 36px));
        margin: 0 auto;
        padding-left: 0;
    }

    .trust-banners,
    .stats-grid-modern,
    .work-reality-grid,
    .work-stats,
    .roadmap-line,
    .values-orbit,
    .storyline-track,
    .children-needs,
    .support-map-grid,
    .contact-pathways,
    .donate-impact-row,
    .redirect-proof,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .work-hero {
        min-height: auto;
        padding-top: 132px;
        padding-bottom: 54px;
    }

    .work-donation-banner {
        grid-template-columns: 1fr;
    }

    .projects-shell {
        margin-top: 116px;
        width: min(100% - 36px, 1280px);
    }

    .about-hero {
        margin-top: 116px;
        width: min(100% - 36px, 1280px);
    }

    .children-hero {
        margin-top: 116px;
        width: min(100% - 36px, 1280px);
    }

    .contact-hero {
        margin-top: 116px;
        width: min(100% - 36px, 1280px);
    }

    .contact-info-stack {
        position: static;
    }

    .children-visual {
        min-height: 320px;
    }

    .donate-hero {
        margin-top: 116px;
        width: min(100% - 36px, 1280px);
    }

    .donate-copy {
        position: relative;
        top: auto;
    }

    .about-kicker {
        min-height: 360px;
    }

    .project-tabs {
        top: 92px;
    }

    .roadmap-line article {
        border-right: 0;
        border-bottom: 1px solid rgba(88, 185, 71, 0.18);
    }

    .roadmap-line article:last-child {
        border-bottom: 0;
    }

    .storyline-track article {
        border-right: 0;
        border-bottom: 1px solid rgba(88, 185, 71, 0.18);
    }

    .storyline-track article:last-child {
        border-bottom: 0;
    }

    .redirect-hero {
        padding-top: 132px;
    }

    .redirect-proof {
        margin-top: 28px;
    }

    .trust-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-intro {
        position: static;
    }

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

@media (max-width: 680px) {
    .top-links a:nth-child(1),
    .top-links a:nth-child(2) {
        display: none;
    }

    .brand {
        min-width: 0;
    }

    .mobile-hero-visual {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-top: 100px;
        background: #f7fbff url("../../images/hero2.webp") center center / 100% 100% no-repeat;
    }

    .hero {
        min-height: auto;
        color: var(--ink);
        background: transparent;
    }

    .hero-media,
    .hero-overlay {
        display: none;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        align-items: start;
        justify-items: center;
        width: 100%;
        padding: 24px 18px 54px;
    }

    .donation-card {
        width: min(100%, 420px);
        margin: 0 auto;
    }

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

    .field-row,
    .field-row.three {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 28px;
    }

    .redirect-cta-card {
        grid-template-columns: 1fr;
    }

    .redirect-cta-button {
        justify-self: start;
    }

    .redirect-hero {
        min-height: auto;
        padding-bottom: 46px;
    }

    .work-hero-copy h1 {
        font-size: 42px;
    }

    .projects-intro h1 {
        font-size: 42px;
    }

    .about-hero-copy h1 {
        font-size: 42px;
    }

    .children-hero-copy h1 {
        font-size: 42px;
    }

    .contact-hero-copy h1 {
        font-size: 42px;
    }

    .donate-copy h1 {
        font-size: 42px;
    }

    .impact-lab-grid article {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-card.featured {
        min-height: auto;
    }

    .work-hero-actions,
    .work-donation-actions,
    .projects-final-actions,
    .about-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .work-hero-actions a,
    .work-donation-actions a,
    .projects-final-actions a,
    .about-cta-actions a {
        width: 100%;
    }

    .children-actions,
    .children-final-cta div {
        align-items: stretch;
        flex-direction: column;
    }

    .children-actions a,
    .children-final-cta a {
        width: 100%;
    }

    .redirect-hero-copy h1 {
        font-size: 42px;
    }

    .redirect-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .redirect-hero-actions a {
        width: 100%;
    }

    .redirect-info-section,
    .redirect-form-page-section {
        margin-top: 48px;
    }

    .anaf-document-header,
    .anaf-person-box,
    .cnp-grid,
    .identity-grid,
    .address-grid,
    .locality-grid,
    .contact-grid,
    .amount-grid-anaf,
    .beneficiary-grid,
    .scholarship-grid,
    .representative-grid {
        grid-template-columns: 1fr;
    }

    .anaf-logo-card {
        justify-self: center;
        width: min(100%, 230px);
    }

    .anaf-header-right {
        justify-items: center;
    }

    .anaf-person-right {
        padding-left: 0;
        border-left: 0;
    }

    .anaf-line-name,
    .anaf-line-name-with-initial,
    .anaf-line-street,
    .anaf-line-address,
    .anaf-line-locality,
    .anaf-line-cnp,
    .anaf-line-contact,
    .anaf-row-contract,
    .anaf-row-scholarship,
    .anaf-row-duration,
    .anaf-row-cif,
    .anaf-row-entity,
    .anaf-row-iban,
    .anaf-row-percent,
    .anaf-representative-name-row,
    .anaf-representative-address-row,
    .anaf-representative-locality-row,
    .anaf-representative-contact-row,
    .anaf-annex-row,
    .anaf-signature-row,
    .anaf-signature-cell,
    .anaf-fiscal-reserved {
        grid-template-columns: 1fr;
    }

    .anaf-destination-heading,
    .anaf-row-agreement {
        grid-template-columns: 1fr 22px;
    }

    .anaf-line-cnp label[for="cnp"],
    .anaf-line-cnp input#cnp {
        grid-column: auto;
        grid-row: auto;
    }

    .anaf-section {
        padding: 12px;
    }

    .trust-container {
        padding: 22px;
        border-radius: 26px;
    }

    .trust-banner {
        grid-template-columns: 54px 1fr;
        align-items: center;
        min-height: auto;
        padding: 20px;
    }

    .trust-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
        border-radius: 17px;
    }

    .trust-icon svg {
        width: 26px;
        height: 26px;
    }

    .stats-panel {
        padding: 24px;
        border-radius: 28px;
    }

    .stat-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .stat-card strong {
        font-size: 44px;
    }

    .section {
        padding: 64px 0;
    }

    .site-footer {
        padding-top: 46px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        width: min(100% - 36px, 1280px);
        border-radius: 26px;
    }

    .footer-column {
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid rgba(223, 247, 228, 0.14);
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        width: min(100% - 36px, 1280px);
    }
}


/* Sigla reala a asociatiei + numele cu diacritice */
.brand-mark,.site-footer .footer-logo-mark{background:#fff!important;overflow:hidden}
.brand-mark img{display:block;width:40px;height:40px;object-fit:contain}
.site-footer .footer-logo-mark{width:72px;height:72px}
.site-footer .footer-logo-mark img{display:block;width:54px;height:54px;object-fit:contain;margin:auto}
.brand-text{display:block}
.brand-eyebrow{display:block;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;opacity:.85;line-height:1;margin-bottom:3px}
.footer-logo .brand-eyebrow{font-size:11px;color:#bfe3ff;margin-bottom:6px}
.footer-motto{display:block;margin-top:8px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#bfe3ff}

/* Despre noi: imaginea pastreaza proportiile (nu se mai deformeaza) */
.about-kicker {
    background-size: cover, cover !important;
    background-position: center center, 28% center !important;
}

/* eticheta Stripe la metodele de plata */
.payment-badges .payment-badge-stripe { color: #635bff; font-weight: 800; }
