/* ==========================================================================
   Gospel In Word Ministries — modern UI
   Self-contained design system (no framework required)
   ========================================================================== */

:root {
    --ink: #0a1c17;
    --ink-2: #10332a;
    --body: #4d5c57;
    --muted: #7d8c87;
    --brand: #0fa36b;
    --brand-dark: #087a4f;
    --brand-soft: #eaf7f0;
    --accent: #f5b942;
    --cream: #fbf8f2;
    --surface: #ffffff;
    --line: #e4ede9;
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 32px;
    --shadow-sm: 0 1px 2px rgba(10, 28, 23, .05), 0 10px 26px -16px rgba(10, 28, 23, .22);
    --shadow-md: 0 18px 40px -24px rgba(10, 28, 23, .35);
    --shadow-lg: 0 40px 80px -40px rgba(10, 28, 23, .45);
    --font: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 78px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--body);
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1.1em;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.35rem, 5.1vw, 4.1rem);
}

h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -.015em;
}

::selection {
    background: var(--brand);
    color: #fff;
}

:focus-visible {
    outline: 3px solid rgba(15, 163, 107, .45);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------- layout */

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    padding: clamp(64px, 8.5vw, 116px) 0;
}

.section--tight {
    padding: clamp(48px, 6vw, 80px) 0;
}

.section--soft {
    background: var(--cream);
}

.section--mist {
    background:
        radial-gradient(900px 420px at 12% 0%, #eaf7f0 0%, transparent 62%),
        radial-gradient(760px 380px at 96% 100%, #fdf3df 0%, transparent 60%),
        var(--surface);
}

.grid {
    display: grid;
    gap: 26px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --------------------------------------------------------------- heading */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--brand-dark);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow--center::after {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-head {
    max-width: 660px;
    margin-bottom: clamp(36px, 5vw, 58px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    margin: 0;
    color: var(--body);
}

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s var(--ease),
        box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px -14px rgba(15, 163, 107, .85);
}

.btn--primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 18px 32px -14px rgba(8, 122, 79, .8);
}

.btn--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .7);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    background: #fff;
}

.btn--dark {
    background: var(--ink);
    color: #fff;
}

.btn--dark:hover {
    background: var(--ink-2);
}

.btn--white {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    background: #fff;
    color: var(--brand-dark);
}

.btn--block {
    width: 100%;
}

.btn--lg {
    padding: 17px 34px;
    font-size: 1rem;
}

.btn i {
    font-size: .9em;
}

/* --------------------------------------------------------------- top bar */

.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .74);
    font-size: .82rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
}

.topbar__contact {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s var(--ease);
}

.topbar a:hover {
    color: #fff;
}

.topbar i {
    color: var(--brand);
    font-size: .85em;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar__social a {
    width: 30px;
    height: 30px;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, .6);
}

.topbar__social a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -24px rgba(10, 28, 23, .5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.brand__name {
    display: flex;
    flex-direction: column;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.brand__name span {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.nav a {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--ink);
    font-size: .93rem;
    font-weight: 600;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.nav a:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.nav a.is-active {
    color: var(--brand-dark);
}

.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
    transform: translateX(-50%);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font-size: 1.05rem;
    cursor: pointer;
}

/* ---------------------------------------------------------------- hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
    background:
        radial-gradient(760px 420px at 88% 4%, #fbe9c6 0%, transparent 60%),
        radial-gradient(880px 520px at 4% 18%, #e9f7f0 0%, transparent 62%),
        var(--surface);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1 em {
    position: relative;
    color: var(--brand-dark);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -.02em;
}

.hero h1 em::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: .06em;
    height: .12em;
    border-radius: 999px;
    background: rgba(245, 185, 66, .55);
    z-index: -1;
}

.hero__copy p {
    max-width: 54ch;
    color: var(--body);
    font-size: clamp(1rem, 1.2vw, 1.09rem);
}

.hero__cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero__phone i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .95rem;
}

.hero__phone span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.hero__phone small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero__phone strong {
    color: var(--ink);
    font-size: .95rem;
    font-weight: 700;
}

.hero__media {
    position: relative;
    padding-bottom: 34px;
}

.hero__figure {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.5;
}

.hero__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__mini {
    position: absolute;
    left: -26px;
    bottom: 0;
    width: 46%;
    aspect-ratio: 4 / 3;
    border: 6px solid #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero__mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__badge {
    position: absolute;
    top: 22px;
    right: -14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hero__badge strong {
    color: var(--brand-dark);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.hero__badge span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- page hero */

.page-hero {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
    background:
        radial-gradient(700px 340px at 12% 0%, #e9f7f0 0%, transparent 62%),
        radial-gradient(620px 320px at 92% 30%, #fdf2dc 0%, transparent 62%),
        var(--cream);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.page-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
}

.page-hero p {
    max-width: 58ch;
    margin: 0;
    color: var(--body);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}

.breadcrumb i {
    font-size: .6rem;
}

.breadcrumb a:hover {
    color: var(--brand-dark);
}

/* ---------------------------------------------------------------- cards */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 163, 107, .35);
    box-shadow: var(--shadow-md);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 1.3rem;
    transition: background .35s var(--ease), color .35s var(--ease);
}

.card:hover .card__icon {
    background: var(--brand);
    color: #fff;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
}

.card p {
    margin: 0;
    color: var(--body);
    font-size: .95rem;
    line-height: 1.75;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--brand-dark);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.card__link i {
    transition: transform .25s var(--ease);
}

.card:hover .card__link i {
    transform: translateX(4px);
}

/* ----------------------------------------------------------------- about */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
}

.about__media {
    position: relative;
    padding: 0 0 40px 40px;
}

.about__media::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62%;
    height: 62%;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(150deg, rgba(15, 163, 107, .18), rgba(15, 163, 107, .04));
}

.about__media img {
    position: relative;
    width: 100%;
    height: clamp(340px, 44vw, 480px);
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about__badge {
    position: absolute;
    right: -10px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.about__badge i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.about__badge strong {
    display: block;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
}

.about__badge span {
    color: var(--muted);
    font-size: .75rem;
}

.about__copy p {
    color: var(--body);
}

.about__copy .btn {
    margin-top: 14px;
}

/* -------------------------------------------------------------- programs */

.programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.program {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 4.6;
    background: var(--brand-soft);
    box-shadow: var(--shadow-sm);
}

.program img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.program::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 28, 23, 0) 45%, rgba(10, 28, 23, .55) 100%);
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.program:hover img {
    transform: scale(1.06);
}

.program:hover::after {
    opacity: 1;
}

.program__tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    transform: translateY(8px);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}

.program:hover .program__tag {
    transform: none;
    opacity: 1;
}

/* ----------------------------------------------------------------- team */

.team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.member {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.member__photo {
    position: relative;
    aspect-ratio: 1 / .92;
    overflow: hidden;
    background: var(--brand-soft);
}

.member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .7s var(--ease);
}

.member:hover .member__photo img {
    transform: scale(1.05);
}

.member__social {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.member:hover .member__social {
    opacity: 1;
    transform: none;
}

.member__social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .82rem;
    box-shadow: var(--shadow-sm);
    transition: background .25s var(--ease), color .25s var(--ease);
}

.member__social a:hover {
    background: var(--brand);
    color: #fff;
}

.member__body {
    padding: 22px 24px 24px;
}

.member__body h3 {
    margin-bottom: 4px;
    font-size: 1.08rem;
}

.member__body p {
    margin: 0;
    color: var(--muted);
    font-size: .87rem;
}

/* ------------------------------------------------------------------ cta */

.cta {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: clamp(38px, 5vw, 64px);
    background:
        linear-gradient(100deg, rgba(10, 28, 23, .93) 0%, rgba(10, 28, 23, .74) 52%, rgba(8, 122, 79, .66) 100%),
        url("../img/gallery/section_bg01.png") center / cover no-repeat;
    box-shadow: var(--shadow-lg);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta h2 {
    max-width: 22ch;
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 2.9vw, 2.4rem);
}

.cta .eyebrow {
    color: var(--accent);
}

/* ---------------------------------------------------------- testimonial */

.quote {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.quote__portrait {
    position: relative;
    justify-self: center;
}

.quote__portrait img {
    width: clamp(200px, 26vw, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 22%;
    box-shadow: var(--shadow-md);
}

.quote__portrait::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 2px dashed rgba(15, 163, 107, .35);
    border-radius: 50%;
}

.quote__mark {
    position: absolute;
    right: 4px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.quote__text {
    margin-bottom: 26px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
}

.quote__author strong {
    display: block;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.quote__author span {
    color: var(--muted);
    font-size: .86rem;
}

/* ---------------------------------------------------------------- stats */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.stat {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat__value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    color: var(--brand-dark);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.stat__value .plus {
    color: var(--accent);
}

.stat p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- forms */

.panel {
    padding: clamp(26px, 3.4vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fbfdfc;
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #a3b1ac;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 163, 107, .12);
}

.field--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field--split .field {
    margin-bottom: 0;
}

.amount-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fbfdfc;
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.amount-input:focus-within {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 163, 107, .12);
}

.amount-input span {
    display: grid;
    place-items: center;
    padding: 0 16px;
    background: rgba(15, 163, 107, .06);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: .95rem;
}

.amount-input input {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    padding-inline: 12px;
    font-weight: 700;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
}

.alert--success {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border: 1px solid rgba(15, 163, 107, .25);
}

.alert--error {
    background: #fdecec;
    color: #a22b2b;
    border: 1px solid rgba(162, 43, 43, .2);
}

/* --------------------------------------------------------------- contact */

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: clamp(32px, 4.5vw, 64px);
}

.info-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.info:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.info h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.info p,
.info a {
    display: block;
    margin: 0;
    color: var(--body);
    font-size: .9rem;
    line-height: 1.6;
}

.info a:hover {
    color: var(--brand-dark);
}

/* ---------------------------------------------------------------- donate */

.donate-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: clamp(28px, 4vw, 52px);
}

.zelle {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 3.4vw, 42px);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #10332a 0%, #0a1c17 100%);
    color: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-lg);
}

.zelle::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 163, 107, .45), transparent 70%);
}

.zelle h2 {
    position: relative;
    margin: 18px 0 6px;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
}

.zelle__logo {
    width: 96px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
}

.zelle__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
}

.zelle__row small {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.zelle__row strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.zelle__row i {
    color: var(--brand);
    font-size: 1.1rem;
}

.zelle__note {
    position: relative;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: .84rem;
    line-height: 1.65;
}

.pay-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.pay-head img {
    width: 74px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
}

.pay-head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.pay-head p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 28px;
    border: 0;
    border-radius: 999px;
    background: #ffc439;
    color: #103a6b;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 30px -18px rgba(255, 196, 57, .9);
    transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.pay-btn:hover {
    transform: translateY(-2px);
    background: #ffb70f;
    box-shadow: 0 20px 34px -18px rgba(255, 183, 15, .95);
}

.pay-btn svg {
    width: auto;
    height: 22px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.trust-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--body);
    font-size: .88rem;
}

.trust-list i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .6rem;
}

/* --------------------------------------------------------------- footer */

.site-footer {
    position: relative;
    margin-top: clamp(48px, 7vw, 96px);
    padding-top: clamp(56px, 7vw, 88px);
    background: var(--ink);
    color: rgba(255, 255, 255, .62);
    font-size: .92rem;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 163, 107, .22), transparent 68%);
    pointer-events: none;
}

.footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 62px);
}

.footer__brand .brand__name {
    color: #fff;
}

.footer__brand .brand__name span {
    color: rgba(255, 255, 255, .45);
}

.footer__brand p {
    max-width: 34ch;
    margin: 20px 0 24px;
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    line-height: 1.75;
}

.footer h4 {
    margin: 0 0 20px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer__links {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, .66);
    transition: color .2s var(--ease);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: #fff;
}

.footer__contact {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.footer__contact i {
    margin-top: 5px;
    color: var(--brand);
    font-size: .85em;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.footer__social a:hover {
    transform: translateY(-2px);
    border-color: transparent;
    background: var(--brand);
    color: #fff;
}

.footer__bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .45);
    font-size: .82rem;
}

.footer__bottom a {
    color: rgba(255, 255, 255, .75);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer__bottom a:hover {
    color: #fff;
}

/* -------------------------------------------------------------- helpers */

/* Only arm the entrance animation when JavaScript is available, so content
   is never left hidden if the script fails to load. */
.has-js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.has-js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    .has-js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__grid {
        grid-template-columns: 1.4fr .8fr .9fr;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 70px;
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__contact {
        gap: 16px;
        font-size: .78rem;
    }

    .topbar__social {
        display: none;
    }

    .header__inner {
        min-height: var(--header-h);
        gap: 14px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header__actions .btn {
        display: none;
    }

    .nav {
        position: fixed;
        inset: calc(var(--header-h) + 44px) 16px auto;
        z-index: 95;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav a {
        padding: 13px 16px;
        border-radius: 12px;
    }

    .nav a.is-active::after {
        display: none;
    }

    .nav a.is-active {
        background: var(--brand-soft);
    }

    .hero__inner,
    .about,
    .quote,
    .contact-layout,
    .donate-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 34px;
    }

    .hero__media {
        order: -1;
        max-width: 560px;
        padding-bottom: 0;
    }

    .hero__figure {
        aspect-ratio: 4 / 3.3;
    }

    .hero__mini {
        left: auto;
        right: 16px;
        bottom: -18px;
        width: 38%;
    }

    .hero__badge {
        top: 16px;
        right: 16px;
    }

    .about__media {
        padding: 0 0 28px 28px;
    }

    .about__media img {
        height: clamp(300px, 58vw, 420px);
    }

    .grid--3,
    .grid--2,
    .programs,
    .team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote__portrait {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-inline: 20px;
    }

    .topbar__contact a:last-child {
        display: none;
    }

    .grid--3,
    .grid--2,
    .programs,
    .team,
    .stats {
        grid-template-columns: 1fr;
    }

    .programs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stat {
        padding: 22px 16px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .field--split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .field--split .field {
        margin-bottom: 18px;
    }

    .cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .member__social {
        opacity: 1;
        transform: none;
    }

    .hero__cta .btn {
        flex: 1 1 auto;
    }

    .quote__text {
        font-size: 1.08rem;
    }
}

@media (max-width: 420px) {
    .brand__name {
        font-size: .92rem;
    }

    .brand__name span {
        font-size: .6rem;
    }

    .hero__badge {
        padding: 12px 16px;
    }

    .hero__badge strong {
        font-size: 1.15rem;
    }
}
