:root {
    --navy: #112c43;
    --pink: #b92359;
    --cream: #fffaf2;
    --gold: #d9a34b;
    --muted: #526476
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font: 17px/1.65 system-ui, -apple-system, Segoe UI, sans-serif
}

a {
    color: inherit
}

button {
    font: inherit;
    cursor: pointer
}

.wrap {
    max-width: 1050px;
    margin: auto;
    padding: 0 22px
}

header {
    background: #112c43;
    color: #fff;
    padding: 14px 0
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px
}

header a {
    text-decoration: none;
    font-weight: 700
}

nav {
    display: flex;
    gap: 20px;
    font-size: 14px
}

nav a {
    font-weight: 500
}

.hero {
    background: radial-gradient(circle at 85% 20%, #fbe4b7, transparent 42%), linear-gradient(135deg, #fff8ed, #fcebd9);
    padding: 68px 0
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 45px;
    align-items: center
}

.eyebrow {
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    font-size: 13px
}

h1 {
    font-size: clamp(39px, 5.3vw, 68px);
    line-height: 1.07;
    letter-spacing: -.045em;
    margin: 15px 0 22px
}

h1 span {
    color: var(--pink)
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    color: #314a5d
}

.portrait {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
    border-radius: 28px;
    box-shadow: 20px 20px 0 #edcfaa
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px
}

.btn {
    border: 0;
    border-radius: 13px;
    padding: 13px 19px;
    text-decoration: none;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.primary {
    background: var(--pink);
    color: #fff
}

.secondary {
    background: #fff;
    color: var(--navy);
    border: 1px solid #e2d9cc
}

.section {
    padding: 70px 0
}

.section h2 {
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.17;
    letter-spacing: -.025em;
    margin: 8px 0 23px
}

.section p {
    max-width: 740px
}

.note {
    background: #fff;
    border-left: 5px solid var(--gold);
    padding: 20px 24px;
    border-radius: 0 15px 15px 0;
    max-width: 780px
}

.donate {
    background: #eef3f4
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px
}

.card {
    background: #fff;
    border: 1px solid #e1e8eb;
    border-radius: 23px;
    padding: 26px;
    box-shadow: 0 9px 28px #102a3d0a
}

.card h3 {
    font-size: 23px;
    margin: 0 0 12px
}

.qr {
    display: block;
    width: min(100%, 365px);
    margin: 12px auto 20px;
    image-rendering: auto
}

.number {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 850;
    letter-spacing: .025em;
    line-height: 1.3;
    margin: 8px 0
}

.banknum {
    font-weight: 800;
    font-size: clamp(19px, 2.7vw, 25px);
    overflow-wrap: anywhere
}

.small {
    color: var(--muted);
    font-size: 14px
}

.field {
    margin: 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8edef
}

.field:last-child {
    border-bottom: 0
}

.copy {
    background: #e8f1f4;
    color: var(--navy);
    border: 0;
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 700
}

.updates {
    background: #fff
}

.updates article {
    background: #f8f2e8;
    border-radius: 20px;
    padding: 24px;
    max-width: 750px
}

.share {
    background: #112c43;
    color: #fff;
    text-align: center
}

.share p {
    margin-left: auto;
    margin-right: auto
}

.share .btn {
    background: #fff;
    color: var(--navy)
}

footer {
    background: #0b2030;
    color: #d8e3e8;
    text-align: center;
    padding: 25px;
    font-size: 14px
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #132c40;
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s
}

.toast.show {
    opacity: 1
}

:focus-visible {
    outline: 3px solid #e7a234;
    outline-offset: 3px
}

@media(max-width:750px) {
    nav {
        gap: 11px;
        font-size: 12px
    }

    .hero {
        padding: 36px 0 55px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .hero-grid .photo {
        max-width: 340px;
        margin: auto;
        order: -1
    }

    .portrait {
        max-height: 360px;
        object-position: center 20%
    }

    .cards {
        grid-template-columns: 1fr
    }

    .section {
        padding: 52px 0
    }

    .lead {
        font-size: 18px
    }

    .wrap {
        padding: 0 18px
    }
}

footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px
}

.story-paragraph {
    margin: 0 0 18px
}

.updates article+article {
    margin-top: 16px
}

.status-error {
    color: #a21b46;
    font-weight: 600
}
/* Navegación adaptable: escritorio intacto */
.menu-toggle { display:none; }
@media (max-width:750px) {
 header { position:relative; z-index:20; padding:12px 0; }
 header .wrap { flex-wrap:wrap; gap:8px; }
 header .wrap > a { font-size:16px; line-height:1.3; white-space:nowrap; }
 .menu-toggle { display:flex; flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; padding:10px; border:1px solid #ffffff55; border-radius:9px; background:transparent; color:white; margin-left:auto; }
 .menu-toggle span { display:block; height:2px; width:100%; background:currentColor; border-radius:2px; }
 header nav { display:none; flex-basis:100%; flex-direction:column; align-items:stretch; gap:0; padding:6px 0 2px; font-size:15px; }
 header nav.is-open { display:flex; }
 header nav a { display:block; padding:12px 6px; border-top:1px solid #ffffff28; }
 .hero-grid .photo { order:0; width:min(100%,340px); }
 .hero { padding:32px 0 46px; }
 h1 { font-size:clamp(34px,9vw,46px); overflow-wrap:break-word; }
 .buttons .btn { max-width:100%; }
 .card { padding:20px 16px; }
 .number { overflow-wrap:anywhere; }
}
@media (max-width:380px) { header .wrap > a {font-size:15px;} .wrap {padding-left:16px;padding-right:16px;} .buttons .btn {width:100%;} }
