/* public/assets/css/public.css — sitio público Corazones Felices (paleta pastel, ligera) */
:root {
    --bg: #fffaf5;
    --surface: #ffffff;
    --ink: #2e3648;
    --ink-2: #586176;
    --muted: #8a91a2;
    --line: #f0e7dd;
    --line-2: #f6f0e9;

    /* Pasteles (fondo) y su tono de texto legible */
    --peach: #ffe9e1;   --peach-2: #ffd9cc;  --peach-ink: #b8513f;
    --mint: #e3f5ee;    --mint-2: #cdeee1;   --mint-ink: #2f7f66;
    --lav: #eeeafc;     --lav-2: #ddd6f8;    --lav-ink: #6352b3;
    --butter: #fff4d4;  --butter-2: #ffe9a8; --butter-ink: #8f6400;
    --sky: #e5f1fb;     --sky-ink: #2f6a96;
    --rose: #fde8ef;    --rose-ink: #a8436d;

    --primary: #c9524a;        /* coral profundo: contraste AA con texto blanco */
    --primary-hover: #b4463f;

    --font-display: 'Fraunces', Georgia, serif;
    --font-sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(46, 54, 72, .04), 0 4px 14px rgba(46, 54, 72, .04);
    --shadow-md: 0 2px 4px rgba(46, 54, 72, .03), 0 14px 36px -12px rgba(46, 54, 72, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--mint-ink); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.18; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lav-2); outline-offset: 3px; border-radius: 8px; }
.i { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.18em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Titulares: Fraunces con el eje SOFT (terminaciones redondeadas, tono cálido) */
.hero h1, .section h2, .thanks h2, .closing h2, .form-head h3, .entry h3, .stat-value strong, .tile h3, .brand-text strong {
    font-family: var(--font-display);
    font-variation-settings: 'SOFT' 100, 'opsz' 72;
}

/* ================================================================ Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 800; font-size: .98rem; line-height: 1; text-decoration: none; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(201, 82, 74, .8); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-soft { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-soft:hover { border-color: var(--peach-2); background: #fffdfb; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ================================================================ Cabecera */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 250, 245, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(46, 54, 72, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-text strong { display: block; font-weight: 600; font-size: 1.22rem; line-height: 1.1; }
.brand-text small { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .95rem; padding: .55rem .95rem; border-radius: 999px; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--peach); color: var(--peach-ink); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: .4rem; background: var(--primary); color: #fff; margin-left: .4rem; }
.site-nav .nav-cta:hover { background: var(--primary-hover); color: #fff; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.2rem; }

/* ================================================================ Hero */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 6rem; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .85; }
.b-peach { width: 520px; height: 520px; background: var(--peach); top: -180px; right: -60px; }
.b-mint { width: 460px; height: 460px; background: var(--mint); bottom: -220px; left: -160px; }
.b-lav { width: 360px; height: 360px; background: var(--lav); top: 40%; right: 30%; opacity: .6; }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 800; padding: .45rem 1rem; border-radius: 999px; }
.chip-peach { background: var(--surface); color: var(--peach-ink); box-shadow: var(--shadow-sm); }
.hero h1 { font-weight: 600; font-size: clamp(2.3rem, 4.2vw, 3.35rem); letter-spacing: -.015em; line-height: 1.1; margin: 1.4rem 0 1.3rem; color: var(--ink); }
.mark { background: linear-gradient(transparent 60%, var(--butter-2) 60%, var(--butter-2) 92%, transparent 92%); padding: 0 .1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.hero-art { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin-inline: auto; }
.art-circle { position: absolute; inset: 9%; border-radius: 50%; background: linear-gradient(150deg, var(--peach) 0%, var(--rose) 45%, var(--lav) 100%); display: grid; place-items: center; box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .55), var(--shadow-md); }
.art-circle img { width: 42%; height: auto; filter: drop-shadow(0 14px 20px rgba(201, 82, 74, .2)); }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; background: var(--surface); padding: .75rem 1rem .75rem .75rem; border-radius: 18px; box-shadow: var(--shadow-md); animation: flotar 7s ease-in-out infinite; }
.float-card b { display: block; font-size: .92rem; line-height: 1.2; }
.float-card small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.fc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; }
.i-mint { background: var(--mint); color: var(--mint-ink); }
.i-lav { background: var(--lav); color: var(--lav-ink); }
.i-peach { background: var(--peach); color: var(--peach-ink); }
.fc-1 { top: 6%; left: -4%; }
.fc-2 { top: 44%; right: -8%; animation-delay: -2.3s; }
.fc-3 { bottom: 4%; left: 6%; animation-delay: -4.6s; }
@keyframes flotar { 50% { transform: translateY(-10px); } }

/* ================================================================ Secciones */
.section { padding: 6.5rem 0; }
.section-tight { padding: 1rem 0 6rem; }
.section-soft { background: linear-gradient(180deg, #fff 0%, #fffdfb 100%); border-block: 1px solid var(--line-2); }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 1rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--peach-ink); background: var(--peach); padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.section h2, .thanks h2 { font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.85rem); letter-spacing: -.01em; }

/* Bento de "Quiénes somos" */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tile { border-radius: var(--r-lg); padding: 2rem; border: 1px solid transparent; }
.tile-wide { grid-column: span 2; }
.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(255, 255, 255, .75); font-size: 1.2rem; margin-bottom: 1.1rem; }
.tile h3 { font-weight: 600; font-size: 1.45rem; margin-bottom: .6rem; }
.tile p { color: var(--ink-2); }
.tile-peach { background: var(--peach); } .tile-peach .tile-icon { color: var(--peach-ink); }
.tile-mint { background: var(--mint); } .tile-mint .tile-icon { color: var(--mint-ink); }
.tile-lav { background: var(--lav); } .tile-lav .tile-icon { color: var(--lav-ink); }
.tile-butter { background: var(--butter); } .tile-butter .tile-icon { color: var(--butter-ink); }
.pills, .team, .tags { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.pills li { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .8); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; color: var(--peach-ink); }
.team { flex-direction: column; gap: .45rem; }
.team li { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink-2); }
.team .i { color: var(--mint-ink); }
.tags li { background: rgba(255, 255, 255, .8); padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--lav-ink); }

/* ================================================================ Transparencia: balance */
.balance { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.stat { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 2.2rem 2rem 1.8rem; text-align: center; }
.stat::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .45); top: -110px; right: -70px; }
.stat-peach { background: var(--peach); }
.stat-mint { background: var(--mint); }
.stat-icon { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.stat-peach .stat-icon { color: var(--peach-ink); }
.stat-mint .stat-icon { color: var(--mint-ink); }
.stat h3 { position: relative; z-index: 1; margin: .9rem 0 1.3rem; font-size: .9rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.stat-values { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.stat-value { background: rgba(255, 255, 255, .7); border-radius: var(--r-md); padding: 1.1rem .8rem 1rem; }
.stat-value strong { display: block; font-weight: 600; font-size: clamp(1.55rem, 2.6vw, 2.2rem); letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); white-space: nowrap; }
.stat-value .sym { font-size: .6em; color: var(--muted); margin-right: .25em; }
.stat-value small { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 700; color: var(--muted); }
.stat-foot { position: relative; z-index: 1; margin-top: 1.1rem; font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.stat.flash .stat-value strong { animation: brillo 1s var(--ease); }
@keyframes brillo { 30% { transform: scale(1.04); } }

.progress-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem 2rem; margin: 1.6rem auto 2.4rem; padding: 1rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: .5rem; color: var(--mint-ink); }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #45b991; }
.dot-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: latido 2s ease-out infinite; }
@keyframes latido { to { transform: scale(2.6); opacity: 0; } }
.pg { display: inline-flex; align-items: center; gap: .7rem; }
.pg-bar { width: 110px; height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.pg-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint-2), #7fd0b2); border-radius: 99px; transition: width 1.2s var(--ease); }
.pg b { color: var(--ink); min-width: 2.6em; }

.toggle-tx .chev { transition: transform .3s var(--ease); }
.toggle-tx[aria-expanded="true"] .chev { transform: rotate(90deg); }

/* Panel de transacciones */
.tx-panel { margin-top: 2.4rem; animation: abrir .45s var(--ease); }
@keyframes abrir { from { opacity: 0; transform: translateY(-8px); } }
.tx-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.tx-tabs button { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 800; font-size: .95rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.2rem; cursor: pointer; transition: all .2s; }
.tx-tabs button span { font-size: .78rem; background: var(--line-2); padding: .05rem .5rem; border-radius: 99px; }
.tx-tabs button[aria-selected="true"] { background: var(--lav); border-color: var(--lav-2); color: var(--lav-ink); }
.tx-tabs button[aria-selected="true"] span { background: var(--surface); }
.tx-note { display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.tx-list { list-style: none; margin: 0 auto; padding: .4rem; max-width: 780px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tx { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--r-md); }
.tx + .tx { border-top: 1px solid var(--line-2); }
.tx-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.tx-in { background: var(--peach); color: var(--peach-ink); }
.tx-main { flex: 1; min-width: 0; }
.tx-main b { display: block; }
.tx-main small { color: var(--muted); font-size: .86rem; }
.tx-amount { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--line-2); border-radius: 999px; }
.segmented button { font: inherit; font-weight: 800; font-size: .86rem; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: .45rem 1rem; cursor: pointer; transition: all .2s; }
.segmented button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented-lg { margin-bottom: 1.2rem; }
.segmented-lg button { padding: .65rem 1.4rem; font-size: .95rem; }

.distribution { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.8rem; margin-bottom: 2.4rem; }
.distribution-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.distribution-head h3 { font-size: 1.05rem; font-weight: 800; }
.dist-list { display: grid; gap: .9rem; }
.dist-row { display: grid; grid-template-columns: minmax(180px, 250px) 1fr minmax(140px, auto); gap: 1.2rem; align-items: center; font-size: .93rem; }
.dist-name { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.dist-track { height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.dist-track span { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.dist-val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dist-val small { color: var(--muted); font-weight: 600; margin-left: .3rem; }

/* Colores pastel por categoría: --c (barra) y --cs/--ct (etiqueta) */
.cat-especialistas { --c: #b9aef0; --cs: var(--lav);    --ct: var(--lav-ink); }
.cat-insumos       { --c: #f7b3a2; --cs: var(--peach);  --ct: var(--peach-ink); }
.cat-hidroterapia  { --c: #9fcbef; --cs: var(--sky);    --ct: var(--sky-ink); }
.cat-talleres      { --c: #f6cf6a; --cs: var(--butter); --ct: var(--butter-ink); }
.cat-vacacionales  { --c: #f1a9c4; --cs: var(--rose);   --ct: var(--rose-ink); }
.cat-mantenimiento { --c: #b8c2cf; --cs: #eef1f5;       --ct: #556172; }
.cat-material      { --c: #8fd7bb; --cs: var(--mint);   --ct: var(--mint-ink); }
.cat-otros         { --c: #d6c8b8; --cs: #f5efe8;       --ct: #7a6a58; }

/* Muro de gastos */
.timeline { display: grid; gap: 1.4rem; }
.entry { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 1.2rem; animation: subir .5s var(--ease) both; }
@keyframes subir { from { opacity: 0; transform: translateY(12px); } }
.entry-date { align-self: start; display: flex; flex-direction: column; align-items: center; padding: .8rem .3rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.entry-date b { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: 1.8rem; font-weight: 600; line-height: 1; }
.entry-date span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .3rem; }
.entry-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s; }
.entry-card:hover { box-shadow: var(--shadow-md); }
.entry-card.has-media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.entry-body { padding: 1.7rem 1.9rem; display: flex; flex-direction: column; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .8rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--ct, var(--ink-2)); background: var(--cs, var(--line-2)); padding: .3rem .8rem; border-radius: 999px; }
.entry-fulldate { display: none; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 700; color: var(--muted); }
.entry h3 { font-weight: 600; font-size: 1.4rem; }
.entry-amount { margin: .6rem 0 .9rem; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-weight: 600; font-size: 1.75rem; font-variant-numeric: tabular-nums; color: var(--mint-ink); }
.entry-amount .sym { font-size: .6em; margin-right: .2em; }
.entry-amount small { font-family: var(--font-sans); font-size: .76rem; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin-left: .5rem; }
.entry-desc { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.entry-desc.open { display: block; -webkit-line-clamp: unset; }
.read-more { align-self: flex-start; background: none; border: 0; padding: .3rem 0 0; font: inherit; font-weight: 800; font-size: .9rem; color: var(--peach-ink); cursor: pointer; }
.entry-foot { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: 1.2rem; }
.paid-with { display: inline-flex; align-items: center; gap: .55rem; font-size: .87rem; color: var(--ink-2); background: var(--mint); padding: .5rem .85rem; border-radius: var(--r-sm); }
.paid-with > .i { color: var(--mint-ink); }
.doc { display: inline-flex; align-items: center; gap: .45rem; font-size: .87rem; font-weight: 800; color: var(--lav-ink); background: var(--lav); text-decoration: none; padding: .5rem .85rem; border-radius: var(--r-sm); }
.doc:hover { background: var(--lav-2); }

.carousel { position: relative; background: var(--line-2); min-height: 280px; }
.carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.slide img { width: 100%; height: 100%; min-height: 280px; max-height: 400px; object-fit: cover; cursor: zoom-in; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.car-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: all .25s var(--ease); }
.car-dots span.on { width: 20px; background: #fff; }
.car-count { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: .78rem; font-weight: 800; padding: .3rem .65rem; border-radius: 999px; }
.more { display: flex; justify-content: center; margin-top: 2rem; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--muted); font-weight: 600; }
.empty-state .i { width: 34px; height: 34px; color: var(--peach-2); }
.empty-state p { max-width: 440px; }

/* Visor */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(46, 54, 72, .88); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: var(--r-md); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: .92rem; margin-top: .9rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ================================================================ Donar */
.steps { list-style: none; margin: 0 auto 3rem; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; }
.steps li { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 800; font-size: .9rem; }
.steps li:nth-child(1) span { background: var(--peach); color: var(--peach-ink); }
.steps li:nth-child(2) span { background: var(--butter); color: var(--butter-ink); }
.steps li:nth-child(3) span { background: var(--mint); color: var(--mint-ink); }
.steps li:nth-child(4) span { background: var(--lav); color: var(--lav-ink); }

.donate-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 2.4rem; align-items: start; }
.methods { display: grid; gap: 1rem; }
.method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem; transition: border-color .2s, box-shadow .2s; }
.method:hover { box-shadow: var(--shadow-md); }
.method.selected { border-color: var(--peach-2); box-shadow: 0 0 0 4px var(--peach); }
.method header { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.method h3 { font-size: 1.08rem; font-weight: 800; }
.method header small { color: var(--muted); font-size: .86rem; font-weight: 600; }
.method-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--mint); color: var(--mint-ink); font-size: 1.15rem; flex-shrink: 0; }
.method dl { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; }
.datum { display: flex; align-items: center; gap: .6rem; min-width: 0; background: var(--bg); border-radius: var(--r-sm); padding: .6rem .6rem .6rem .9rem; }
.datum > div { flex: 1; min-width: 0; }
.datum dt { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.datum dd { margin: .1rem 0 0; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copy { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.copy:hover { border-color: var(--mint-2); color: var(--mint-ink); }
.copy .ok { display: none; }
.copy.copied { background: var(--mint); border-color: var(--mint-2); color: var(--mint-ink); }
.copy.copied .i:not(.ok) { display: none; }
.copy.copied .ok { display: block; }
.method-note { font-size: .9rem; color: var(--butter-ink); background: var(--butter); border-radius: var(--r-sm); padding: .65rem .85rem; margin-bottom: 1rem; }
.method-use { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-weight: 800; font-size: .92rem; color: var(--peach-ink); background: var(--peach); border: 0; border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer; transition: background .2s; }
.method-use:hover { background: var(--peach-2); }

.donate-form { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.form-head { margin-bottom: 1.4rem; }
.form-head h3 { font-weight: 600; font-size: 1.6rem; margin-bottom: .3rem; }
.form-head p { display: flex; gap: .45rem; align-items: center; font-size: .88rem; color: var(--muted); }
.field { display: block; margin-bottom: 1rem; }
.label { display: block; font-size: .88rem; font-weight: 800; color: var(--ink-2); margin-bottom: .4rem; }
.label em { font-style: normal; font-weight: 600; color: var(--muted); font-size: .8rem; margin-left: .25rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s, background .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a91a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--mint-2); box-shadow: 0 0 0 4px var(--mint); }
.field textarea { resize: vertical; min-height: 72px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.input-affix { display: flex; }
.input-affix b { display: grid; place-items: center; min-width: 52px; padding: 0 .7rem; font-size: .92rem; color: var(--mint-ink); background: var(--mint); border-radius: var(--r-md) 0 0 var(--r-md); }
.field .input-affix input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.file-drop { position: relative; display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1.5px dashed var(--peach-2); border-radius: var(--r-md); background: #fffaf8; color: var(--peach-ink); font-size: .92rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.file-drop:hover { background: var(--peach); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop small { color: var(--muted); font-weight: 600; margin-left: .3rem; }
.file-drop.has-file { border-style: solid; border-color: var(--mint-2); background: var(--mint); color: var(--mint-ink); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin: .3rem 0 1.4rem; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .6rem; align-items: flex-start; border-radius: var(--r-md); padding: .85rem 1rem; margin-bottom: .8rem; font-size: .93rem; font-weight: 700; }
.alert .i { margin-top: .2rem; }
.alert-error { background: var(--rose); color: var(--rose-ink); }
.alert-exito { background: var(--mint); color: var(--mint-ink); }

/* ================================================================ Agradecimientos y cierre */
.thanks { padding: 5rem 0; overflow: hidden; }
.thanks .container { margin-bottom: 2.2rem; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: desplazar 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0 .4rem; display: flex; gap: .8rem; }
.marquee li { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 800; }
.tone-0 { background: var(--peach); color: var(--peach-ink); }
.tone-1 { background: var(--mint); color: var(--mint-ink); }
.tone-2 { background: var(--lav); color: var(--lav-ink); }
.tone-3 { background: var(--butter); color: var(--butter-ink); }
@keyframes desplazar { to { transform: translateX(-50%); } }

.closing { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-radius: var(--r-xl); padding: 3.2rem; background: linear-gradient(120deg, var(--peach) 0%, var(--butter) 50%, var(--mint) 100%); }
.closing > div { max-width: 620px; }
.closing h2 { font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.closing p { color: var(--ink-2); font-size: 1.05rem; }

/* ================================================================ Pie */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .95rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand p { margin-top: 1.1rem; max-width: 430px; color: var(--muted); }
.site-footer h3 { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer li { display: flex; align-items: center; gap: .5rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.site-footer a:hover { color: var(--peach-ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ================================================================ Responsive */
@media (max-width: 1040px) {
    .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-art { max-width: 400px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile-wide { grid-column: span 2; }
    .balance { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
    .donate-layout { grid-template-columns: 1fr; }
    .donate-form { position: static; max-width: 640px; }
    .entry-card.has-media { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .nav-toggle { display: grid; }
    .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 16px 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
    .menu-open .site-nav { display: flex; }
    .site-nav a { padding: .85rem 1rem; }
    .site-nav .nav-cta { margin: .4rem 0 0; justify-content: center; }
    .hero { padding: 2.5rem 0 4rem; }
    .lead { font-size: 1.05rem; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-art { max-width: 320px; }
    .float-card { padding: .55rem .8rem .55rem .55rem; }
    .float-card small { display: none; }
    .fc-1 { left: -2%; } .fc-2 { right: -2%; }
    .section { padding: 4.5rem 0; }
    .bento { grid-template-columns: 1fr; }
    .tile-wide { grid-column: auto; }
    .tile { padding: 1.5rem; }
    .stat { padding: 1.8rem 1.1rem 1.4rem; }
    .stat-values { grid-template-columns: 1fr; }
    .progress-strip { border-radius: var(--r-lg); flex-direction: column; align-items: stretch; gap: .7rem; width: 100%; }
    .pg { justify-content: space-between; }
    .pg-bar { flex: 1; width: auto; }
    .grid-2 { grid-template-columns: 1fr; }
    .donate-form { padding: 1.4rem; }
    .segmented-lg { display: flex; }
    .segmented-lg button { flex: 1; }
    .dist-row { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
    .dist-track { grid-column: 1 / -1; grid-row: 2; }
    .distribution { padding: 1.2rem; }
    .entry { grid-template-columns: 1fr; }
    .entry-date { display: none; }
    .entry-fulldate { display: inline-flex; }
    .entry-body { padding: 1.4rem; }
    .tx { padding: .8rem .6rem; gap: .7rem; }
    .closing { padding: 2rem 1.4rem; }
    .closing .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
