/* =========================================================
   DONACIONES LA GUAIRA — STYLE.CSS FINAL ORDENADO
   Paleta: azul + amarillo + rojo
   Incluye: público, admin, galería, modales, responsive y mostrar más
========================================================= */

/* =========================================================
   1. VARIABLES
========================================================= */

:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --card-soft: #f8fafc;
    --text: #172033;
    --text-strong: #0f172a;
    --muted: #68738a;
    --muted-2: #94a3b8;
    --border: #e2e8f0;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #dbeafe;

    --yellow: #facc15;
    --yellow-dark: #ca8a04;
    --yellow-soft: #fef9c3;

    --red: #ef4444;
    --red-dark: #b91c1c;
    --red-soft: #fee2e2;

    --green: #22c55e;
    --green-dark: #15803d;
    --green-soft: #dcfce7;

    --primary: var(--blue);
    --primary-dark: var(--blue-dark);
    --primary-soft: var(--blue-soft);

    --positive: var(--green);
    --positive-dark: var(--green-dark);
    --positive-soft: var(--green-soft);

    --negative: var(--red);
    --negative-dark: var(--red-dark);
    --negative-soft: var(--red-soft);

    --warning: var(--yellow);
    --warning-dark: var(--yellow-dark);
    --warning-soft: var(--yellow-soft);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;

    --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.16);

    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* =========================================================
   2. BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 0%, rgba(250, 204, 21, 0.12), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.12), transparent 30%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open,
body.thanks-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
}

img,
svg {
    max-width: 100%;
}

::selection {
    background: rgba(250, 204, 21, 0.38);
    color: var(--text-strong);
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================================================
   3. BOTONES GENERALES
========================================================= */

.btn-public-primary,
.btn-public-secondary,
.btn-primary-full,
.btn-primary-action,
.btn-secondary-light,
.btn-secondary,
.btn-danger,
.btn-success,
.btn-warning,
.btn-export,
.btn-export-admin {
    user-select: none;
}

.btn-public-primary,
.btn-public-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-public-primary {
    color: #0f172a;
    background: var(--yellow);
    box-shadow: 0 14px 30px rgba(250, 204, 21, .26);
}

.btn-public-primary:hover {
    background: #fde047;
    transform: translateY(-2px);
}

.btn-public-secondary {
    color: white;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
}

.btn-public-secondary:hover {
    background: rgba(255, 255, 255, .20);
    transform: translateY(-2px);
}

.btn-primary-full,
.btn-primary-action {
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
}

.btn-primary-full {
    width: 100%;
    border-radius: 14px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 900;
    transition: transform .2s var(--ease), background .2s var(--ease);
}

.btn-primary-action,
.btn-secondary-light {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease);
}

.btn-primary-full:hover,
.btn-primary-action:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary-light {
    background: #ffffff;
    color: #334155;
    border: 1px solid var(--border);
}

.btn-secondary-light:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-secondary,
.btn-danger,
.btn-success,
.btn-warning,
.btn-export,
.btn-export-admin {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .2s var(--ease), background .2s var(--ease);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.13);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--negative-soft);
    color: var(--negative-dark);
}

.btn-danger:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.btn-success {
    background: var(--positive-soft);
    color: var(--positive-dark);
}

.btn-success:hover {
    background: #bbf7d0;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning-soft);
    color: var(--warning-dark);
}

.btn-warning:hover {
    background: #fde68a;
    transform: translateY(-1px);
}

.btn-export,
.btn-export-admin {
    background: var(--yellow-soft);
    color: var(--yellow-dark);
    white-space: nowrap;
}

.btn-export:hover,
.btn-export-admin:hover {
    background: #fde68a;
    transform: translateY(-1px);
}

/* =========================================================
   4. HEADER PÚBLICO
========================================================= */

.public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.public-nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark,
.footer-brand-mark {
    display: grid;
    place-items: center;
    color: white;
    font-weight: 950;
    background:
        radial-gradient(circle at 30% 25%, rgba(250, 204, 21, 0.95), transparent 34%),
        linear-gradient(135deg, var(--blue), var(--red));
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.public-brand strong {
    display: block;
    color: var(--text-strong);
    line-height: 1.1;
}

.public-brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
}

.public-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.public-menu a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

.public-menu a:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
    transform: translateY(-1px);
}

/* =========================================================
   5. HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 108px;
    color: white;
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.28), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(239, 68, 68, 0.20), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #2563eb 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
}

.public-hero-grid {
    max-width: none;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 34px;
}

.public-hero-copy {
    max-width: 780px;
}

.hero-pill,
.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 850;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #fef9c3;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.hero h1 {
    max-width: 860px;
    margin: 0 0 16px;
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1;
    letter-spacing: -2px;
}

.hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.public-hero-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.hero-mini-card {
    min-height: 130px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.hero-mini-card-wide {
    grid-column: 1 / -1;
}

.hero-mini-card span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.72);
    font-weight: 800;
    font-size: 13px;
}

.hero-mini-card strong {
    display: block;
    color: white;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1;
}

/* =========================================================
   6. SECCIONES
========================================================= */

.main-content {
    position: relative;
    z-index: 2;
    margin-top: -58px;
    padding-bottom: 72px;
}

.section {
    margin-bottom: 26px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.intro-card h2,
.section-heading h2 {
    margin: 0 0 8px;
    color: var(--text-strong);
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -0.6px;
}

.intro-card p,
.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.counter {
    display: inline-flex;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--muted);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 850;
    box-shadow: var(--shadow-sm);
}

.empty-state {
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--card-soft);
    border: 1px dashed #cbd5e1;
    color: var(--muted);
    text-align: center;
    font-weight: 750;
}

/* =========================================================
   7. PANEL DE RECOLECTA
========================================================= */

.collect-panel {
    position: relative;
    overflow: hidden;
}

.collect-panel::before,
.evidence-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow), var(--blue), var(--red));
}

.collect-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
}

.collect-panel-header h2 {
    margin: 0 0 8px;
    color: var(--text-strong);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
}

.collect-panel-header p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.collect-panel-meta {
    min-width: 170px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--border);
    text-align: right;
}

.collect-panel-meta span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.collect-panel-meta strong {
    display: block;
    color: var(--blue-dark);
    font-size: 20px;
}

.collect-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.collect-mini-stats article {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.collect-mini-stats span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.collect-mini-stats strong {
    display: block;
    color: var(--text-strong);
    font-size: 28px;
    line-height: 1;
}

.collect-mini-stats article:nth-child(1) strong {
    color: var(--blue);
}

.collect-mini-stats article:nth-child(2) strong {
    color: var(--yellow-dark);
}

.collect-mini-stats article:nth-child(3) strong {
    color: var(--red);
}

.collect-summary-grid {
    display: grid;
    gap: 18px;
}

.collect-summary-grid.is-single {
    grid-template-columns: 1fr;
}

.collect-summary-grid.is-double {
    grid-template-columns: repeat(2, 1fr);
}

.collect-summary-grid.is-multiple {
    grid-template-columns: repeat(3, 1fr);
}

.collect-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.collect-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.collect-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.collect-card-label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.collect-card h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 32px;
    letter-spacing: -1px;
}

.collect-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
}

.collect-main-amount {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #0f172a;
    color: white;
}

.collect-main-amount span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 850;
}

.collect-main-amount strong {
    display: block;
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1;
    letter-spacing: -1px;
}

.collect-progress {
    margin-bottom: 18px;
}

.collect-progress-info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: bold;
}

.collect-progress-info strong {
    color: var(--red);
}

.collect-progress-bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}

.collect-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--yellow), var(--red));
}

.collect-card-breakdown {
    display: grid;
    gap: 10px;
}

.collect-card-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.collect-card-breakdown span {
    color: var(--muted);
    font-size: 13px;
    font-weight: bold;
}

.collect-card-breakdown strong {
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
}

.collect-summary-grid.is-single .collect-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "top top"
        "amount progress"
        "amount breakdown";
    gap: 18px 22px;
    align-items: stretch;
}

.collect-summary-grid.is-single .collect-card-top {
    grid-area: top;
    margin-bottom: 0;
}

.collect-summary-grid.is-single .collect-main-amount {
    grid-area: amount;
    min-height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.collect-summary-grid.is-single .collect-progress {
    grid-area: progress;
    margin-bottom: 0;
    align-self: end;
}

.collect-summary-grid.is-single .collect-card-breakdown {
    grid-area: breakdown;
    align-self: start;
}

.collect-summary-grid.is-single .collect-main-amount strong {
    font-size: clamp(34px, 6vw, 56px);
}

/* =========================================================
   8. PÁGINA PÚBLICA EXTRA
========================================================= */

.public-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.public-info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.public-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #0f172a;
    background: var(--yellow);
    font-weight: 900;
}

.info-blue {
    background: var(--yellow);
    color: white;
}

.info-red {
    background: var(--blue);
    color: white;
}

.info-yellow {
    background: var(--red);
    color: white;
}

.public-info-card h3 {
    margin: 0 0 10px;
    color: var(--text-strong);
    font-size: 20px;
}

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

.transparency-content {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 26px;
    align-items: center;
}

.transparency-content h2,
.public-closing h2 {
    margin: 0 0 10px;
    color: var(--text-strong);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
}

.transparency-content p,
.public-closing p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.transparency-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--card-soft);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 800;
}

.public-closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at left, rgba(250, 204, 21, 0.18), transparent 30%),
        linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
    box-shadow: var(--shadow);
}

.public-closing h2 {
    color: white;
}

.public-closing .section-eyebrow {
    color: var(--yellow);
}

.public-closing p {
    max-width: 720px;
    color: rgba(255,255,255,.78);
}

/* =========================================================
   9. FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 42px 0 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(250, 204, 21, 0.18), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(239, 68, 68, 0.16), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #111827 100%);
    color: rgba(255, 255, 255, 0.78);
}

.site-footer-topline {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow), var(--blue), var(--red));
}

.site-footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.8fr;
    gap: 28px;
    align-items: stretch;
    padding-bottom: 30px;
}

.site-footer-brand-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.site-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 19px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.site-footer-brand strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.15;
}

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

.site-footer-social {
    display: grid;
    gap: 12px;
}

.site-footer-social span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer-social-links a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.site-footer-social-links a svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: currentColor;
}

.site-footer-social-links a:hover {
    transform: translateY(-2px);
    background: rgba(250, 204, 21, 0.18);
    border-color: rgba(250, 204, 21, 0.35);
    color: var(--yellow);
}

.site-footer-donate-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.site-footer-donate-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.18);
}

.footer-card-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.site-footer-donate-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 28px;
    letter-spacing: -0.8px;
}

.site-footer-donate-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.footer-donate-btn {
    position: relative;
    z-index: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    color: #0f172a;
    background: var(--yellow);
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(250, 204, 21, 0.24);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.footer-donate-btn:hover {
    transform: translateY(-2px);
    background: #fde047;
    box-shadow: 0 20px 42px rgba(250, 204, 21, 0.30);
}

.site-footer-links {
    display: grid;
    gap: 20px;
}

.site-footer-links div {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-links h4 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 16px;
}

.site-footer-links a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 800;
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.site-footer-links a:hover {
    color: var(--yellow);
    transform: translateX(3px);
}

.site-footer-links p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
}

.site-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 14px;
    line-height: 1.5;
}

.site-footer-bottom a {
    white-space: nowrap;
    color: var(--yellow);
    font-weight: 950;
    text-decoration: none;
}

.site-footer-bottom a:hover {
    text-decoration: underline;
}

.footer-admin-link {
    display: none !important;
}

/* =========================================================
   10. LOGIN
========================================================= */

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.28), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(239, 68, 68, 0.20), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #2563eb 100%);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.login-card {
    width: min(470px, 100%);
    padding: 34px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.login-back {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 850;
}

.login-pill {
    background: linear-gradient(135deg, var(--red), var(--yellow));
    color: #0f172a;
}

.login-card h1 {
    margin: 0 0 10px;
    font-size: 34px;
    letter-spacing: -0.8px;
}

.login-card p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.65;
}

.login-form {
    display: grid;
    gap: 18px;
}

/* =========================================================
   11. FORMULARIOS
========================================================= */

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: var(--text);
    font-weight: 850;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-help {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.checkbox-row {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
}

.checkbox-row input {
    width: 18px !important;
    height: 18px !important;
    min-height: auto !important;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--blue);
}

.checkbox-row span {
    color: var(--text-strong);
    font-weight: 850;
    line-height: 1.4;
}

.checkbox-row:hover {
    background: #ffffff;
    border-color: var(--blue-soft);
}

.checkbox-row-soft {
    margin: 12px 0;
    background: #ffffff;
}

.alert-success,
.alert-error {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 16px;
    font-weight: 850;
}

.alert-success {
    background: var(--positive-soft);
    color: var(--positive-dark);
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: var(--negative-soft);
    color: var(--negative-dark);
    border: 1px solid #fecaca;
}

/* =========================================================
   12. ADMIN
========================================================= */

.admin-body {
    background: var(--bg);
}

.admin-header {
    padding: 48px 0 72px;
    color: white;
    background:
        radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.28), transparent 26%),
        radial-gradient(circle at 86% 14%, rgba(239, 68, 68, 0.20), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #2563eb 100%);
}

.admin-header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-title-block {
    max-width: 720px;
}

.admin-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #fef9c3;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.admin-header h1 {
    margin: 0 0 8px;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -1.5px;
}

.admin-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.admin-header-actions,
.admin-actions-modern {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-main {
    padding: 32px 0 70px;
}

.admin-main-modern {
    margin-top: -42px;
}

.admin-overview-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.admin-overview-copy h2 {
    margin: 0 0 8px;
    color: var(--text-strong);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1px;
}

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

.admin-overview-date {
    min-width: 210px;
    padding: 18px;
    border-radius: 18px;
    color: white;
    background:
        radial-gradient(circle at left, rgba(250, 204, 21, 0.18), transparent 30%),
        linear-gradient(135deg, #0f172a, #1d4ed8);
}

.admin-overview-date span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.65);
    font-weight: 800;
    font-size: 13px;
}

.admin-overview-date strong {
    font-size: 24px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.admin-stat-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.admin-stat-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-weight: 800;
}

.admin-stat-card strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -1px;
}

.admin-stat-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 700;
}

.admin-money-grid,
.admin-filtered-grid {
    display: grid;
    gap: 18px;
}

.admin-money-grid.is-single,
.admin-filtered-grid.is-single {
    grid-template-columns: 1fr;
}

.admin-money-grid.is-double,
.admin-filtered-grid.is-double {
    grid-template-columns: repeat(2, 1fr);
}

.admin-money-grid.is-multiple,
.admin-filtered-grid.is-multiple {
    grid-template-columns: repeat(3, 1fr);
}

.admin-money-grid.is-single .summary-card {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
    padding: 28px;
}

.admin-money-grid.is-single .summary-label,
.admin-money-grid.is-single .summary-card h3 {
    grid-column: 1;
}

.admin-money-grid.is-single .summary-card h3 {
    margin-bottom: 0;
    font-size: clamp(38px, 6vw, 58px);
}

.admin-money-grid.is-single .summary-row {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.admin-money-grid.is-single .summary-row.positive {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.admin-money-grid.is-single .summary-row.negative {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.admin-money-grid.is-single .summary-row strong {
    font-size: clamp(22px, 4vw, 34px);
}

.admin-money-grid.is-single .summary-balance {
    grid-column: 1 / -1;
    margin-top: 0;
}

.admin-money-grid.is-single .summary-balance strong {
    font-size: clamp(28px, 5vw, 46px);
}

/* =========================================================
   13. RESUMEN / CARDS
========================================================= */

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.summary-card {
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.summary-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.summary-card h3 {
    margin: 0 0 18px;
    font-size: 28px;
    letter-spacing: -.6px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.summary-row span {
    font-weight: 750;
}

.summary-row strong {
    color: var(--text);
}

.summary-row.positive strong {
    color: var(--positive);
}

.summary-row.negative strong {
    color: var(--negative);
}

.summary-balance {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: var(--yellow-soft);
    color: var(--yellow-dark);
}

.summary-balance span {
    font-size: 14px;
    font-weight: 800;
}

.summary-balance strong {
    color: var(--yellow-dark);
    font-size: 24px;
}

/* =========================================================
   14. MOVIMIENTOS / FORM
========================================================= */

.movement-form-section {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.movement-form {
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.mini-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s var(--ease), background .2s ease;
}

.mini-btn:hover {
    transform: translateY(-1px);
}

.mini-btn-entry {
    background: var(--positive-soft);
    color: var(--positive-dark);
}

.mini-btn-exit {
    background: var(--negative-soft);
    color: var(--negative-dark);
}

.current-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.current-proof span {
    color: var(--muted);
    font-weight: 800;
}

.current-proof a {
    color: var(--blue-dark);
    font-weight: 900;
    text-decoration: none;
}

.evidence-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.evidence-upload-box {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #f8fafc;
}

.evidence-upload-box label {
    display: block;
    margin-bottom: 9px;
    color: var(--text-strong);
    font-weight: 850;
    font-size: 14px;
}

.evidence-upload-box input[type="file"] {
    background: #ffffff;
}

/* =========================================================
   15. FILTROS
========================================================= */

.filters-section {
    overflow: visible;
}

.filters-form {
    margin-top: 22px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.filters-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.filtered-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.filtered-card {
    padding: 16px;
    border-radius: var(--radius);
    background: var(--card-soft);
    border: 1px solid var(--border);
}

.filtered-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.filtered-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
}

.filtered-card small {
    color: var(--muted);
    line-height: 1.5;
}

.admin-filtered-grid.is-single .filtered-card {
    padding: 24px;
}

.admin-filtered-grid.is-single .filtered-card strong {
    font-size: clamp(28px, 5vw, 42px);
}

.admin-filtered-grid.is-single .filtered-card small {
    display: block;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   16. TABLAS
========================================================= */

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
}

th,
td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 850;
}

tbody tr:hover {
    background: #f8fafc;
}

tbody tr:last-child td {
    border-bottom: none;
}

.public-table,
.admin-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.public-table th:nth-child(1),
.public-table td:nth-child(1) { width: 115px; }

.public-table th:nth-child(2),
.public-table td:nth-child(2) { width: 120px; }

.public-table th:nth-child(3),
.public-table td:nth-child(3) { width: auto; }

.public-table th:nth-child(4),
.public-table td:nth-child(4) { width: 150px; }

.public-table th:nth-child(5),
.public-table td:nth-child(5) { width: 145px; }

.public-table th:nth-child(6),
.public-table td:nth-child(6) {
    width: 135px;
    text-align: center;
}

.admin-table th,
.admin-table td {
    padding: 12px 9px;
    font-size: 13px;
    line-height: 1.35;
}

.admin-table th { font-size: 11px; }

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) { width: 78px; }

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) { width: 84px; }

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) { width: auto; }

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) { width: 105px; }

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) { width: 100px; }

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) { width: 95px; }

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) { width: 105px; }

.admin-table th:nth-child(8),
.admin-table td:nth-child(8) {
    width: 118px;
    text-align: center;
}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9) {
    width: 70px;
    text-align: center;
}

.admin-table th:nth-child(10),
.admin-table td:nth-child(10) {
    width: 88px;
    text-align: center;
}

.admin-table td:nth-child(3),
.admin-table td:nth-child(4),
.admin-table td:nth-child(5),
.admin-table td:nth-child(6) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movement-extra-public.is-hidden,
.movement-extra-admin.is-hidden {
    display: none !important;
}

.table-more-wrap {
    display: flex;
    justify-content: center;
    padding: 18px 0 20px;
}

.table-more-btn,
.evidence-more-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border: none;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.20);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.table-more-btn span,
.evidence-more-btn span {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--yellow);
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}

.table-more-btn:hover,
.evidence-more-btn:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.table-more-btn.is-expanded {
    background: #0f172a;
}

/* =========================================================
   17. BADGES / COMPROBANTES / ACCIONES
========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.badge-entrada {
    background: var(--positive-soft);
    color: var(--positive-dark);
}

.badge-salida {
    background: var(--negative-soft);
    color: var(--negative-dark);
}

.amount {
    white-space: nowrap;
    font-weight: bold;
}

.amount-positive { color: var(--positive); }
.amount-negative { color: var(--negative); }

.proof-link {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.proof-link:hover {
    background: #dbeafe;
    transform: translateY(-2px);
}

.proof-link:active {
    transform: translateY(0) scale(.97);
}

.muted-text {
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.table-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.delete-form {
    margin: 0;
}

.icon-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 7px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s var(--ease), background .2s ease;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.icon-btn:hover {
    transform: translateY(-1px);
}

.icon-edit {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

.icon-edit:hover {
    background: #dbeafe;
}

.icon-delete {
    background: var(--negative-soft);
    color: var(--negative-dark);
}

.icon-delete:hover {
    background: #fecaca;
}

/* =========================================================
   18. GALERÍA DE EVIDENCIAS
========================================================= */

.evidence-section {
    position: relative;
    overflow: hidden;
}

.evidence-section-compact {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.evidence-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.evidence-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.evidence-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, .24);
}

.evidence-image-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    padding: 0;
    border: none;
    background: #0f172a;
    cursor: pointer;
    overflow: hidden;
}

.evidence-image-btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .34s var(--ease), opacity .34s var(--ease), filter .34s var(--ease);
}

.evidence-card:hover .evidence-image-btn img {
    transform: scale(1.055);
    opacity: .9;
    filter: saturate(1.04);
}

.evidence-image-btn::after {
    content: "Ver evidencia";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -42%) scale(.96);
    opacity: 0;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.evidence-card:hover .evidence-image-btn::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.evidence-code,
.evidence-photo-count {
    position: absolute;
    display: inline-flex;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.evidence-code {
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

.evidence-photo-count {
    right: 12px;
    bottom: 12px;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 11px;
    background: rgba(250, 204, 21, 0.95);
    color: #0f172a;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.evidence-card-body {
    padding: 16px;
}

.evidence-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.evidence-card-meta span {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    font-weight: bold;
}

.evidence-card h3 {
    margin: 0 0 7px;
    color: var(--text-strong);
    font-size: 17px;
    line-height: 1.3;
}

.evidence-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.evidence-extra.is-hidden {
    display: none !important;
}

.evidence-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.evidence-more-btn.is-expanded span {
    display: none;
}

/* =========================================================
   19. MODAL COMPROBANTES / EVIDENCIAS
========================================================= */

.proof-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s var(--ease), visibility .28s var(--ease);
}

.proof-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.proof-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    opacity: 0;
    backdrop-filter: blur(0);
    transition: opacity .28s var(--ease), backdrop-filter .28s var(--ease);
}

.proof-modal.is-open .proof-modal-overlay {
    opacity: 1;
    backdrop-filter: blur(6px);
}

.proof-modal-box {
    position: relative;
    z-index: 1;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(18px) scale(.96);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.proof-modal.is-open .proof-modal-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.proof-modal.is-image .proof-modal-box {
    width: auto;
}

.proof-modal.is-pdf .proof-modal-box {
    width: min(940px, 100%);
}

.proof-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.proof-modal-header span {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.proof-modal-header strong {
    display: block;
    max-width: 680px;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proof-modal-close {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: none;
    border-radius: 12px;
    background: var(--negative-soft);
    color: var(--negative-dark);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s ease;
}

.proof-modal-close:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.proof-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.proof-modal.is-image .proof-modal-body {
    height: auto;
    max-height: calc(100vh - 110px);
    padding: 0;
}

.proof-modal.is-pdf .proof-modal-body {
    height: min(72vh, 720px);
    padding: 16px;
}

.proof-modal-image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px);
    object-fit: contain;
    background: #0f172a;
}

.proof-modal-pdf {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
    background: #ffffff;
}

.proof-modal-image,
.proof-modal-pdf {
    animation: proofMediaIn .32s var(--ease) both;
}

.proof-modal.is-gallery .proof-modal-body {
    padding: 12px;
    background: #0f172a;
}

.evidence-gallery-view {
    position: relative;
    width: min(920px, calc(100vw - 80px));
    max-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation-duration: .28s;
    animation-timing-function: var(--ease);
    animation-fill-mode: both;
}

.evidence-gallery-view.gallery-slide-next {
    animation-name: gallerySlideNext;
}

.evidence-gallery-view.gallery-slide-prev {
    animation-name: gallerySlidePrev;
}

.evidence-gallery-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
    border-radius: 14px;
    background: #0f172a;
    will-change: transform, opacity;
}

.evidence-gallery-nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%);
    transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), opacity .22s var(--ease);
}

.evidence-gallery-nav:hover {
    background: var(--yellow);
    transform: translateY(-50%) scale(1.08);
}

.evidence-gallery-nav:active {
    transform: translateY(-50%) scale(.96);
}

.evidence-gallery-prev { left: 14px; }
.evidence-gallery-next { right: 14px; }

.evidence-gallery-prev::before,
.evidence-gallery-next::before {
    display: block;
    color: #0f172a !important;
    line-height: 1;
    transform: translateY(-1px);
    font-size: 30px;
    font-weight: 800;
}

.evidence-gallery-prev::before { content: "‹"; }
.evidence-gallery-next::before { content: "›"; }

.evidence-gallery-counter {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    backdrop-filter: blur(8px);
    animation: counterFadeIn .24s var(--ease) both;
}

/* =========================================================
   20. POPUP DE AGRADECIMIENTO
========================================================= */

.thanks-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s var(--ease), visibility .28s var(--ease);
}

.thanks-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.thanks-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
}

.thanks-popup-box {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: 34px;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    /* border: 1px solid var(--border); */
    text-align: center;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
    animation: thanksPopupIn 0.30s var(--ease) both;
}

.thanks-popup-box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--yellow), var(--blue), var(--red));
}

.thanks-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 14px;
    background: var(--negative-soft);
    color: var(--negative-dark);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.thanks-popup-close:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.thanks-popup-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--red), var(--yellow));
    color: #0f172a;
}

.thanks-popup-icon span {
    font-size: 32px;
    line-height: 1;
}

.thanks-popup-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.thanks-popup h2 {
    margin: 0 0 14px;
    color: var(--text-strong);
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.thanks-popup p {
    max-width: 470px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.75;
    font-size: 16px;
}

.thanks-popup-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.thanks-popup-primary,
.thanks-popup-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.thanks-popup-primary {
    background: var(--yellow);
    color: #0f172a;
}

.thanks-popup-primary:hover {
    background: #fde047;
    transform: translateY(-1px);
}

.thanks-popup-secondary {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--muted);
}

.thanks-popup-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

/* =========================================================
   21. ANIMACIONES
========================================================= */

.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes proofMediaIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.985);
        filter: blur(4px);
    }

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

@keyframes thanksPopupIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

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

@keyframes gallerySlideNext {
    from {
        opacity: 0;
        transform: translateX(22px) scale(.985);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes gallerySlidePrev {
    from {
        opacity: 0;
        transform: translateX(-22px) scale(.985);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes counterFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* =========================================================
   22. RESPONSIVE GENERAL
========================================================= */

@media (max-width: 1180px) {
    .container {
        width: min(100% - 28px, 1040px);
    }

    .admin-table th,
    .admin-table td {
        padding: 11px 7px;
        font-size: 12px;
    }

    .admin-table .proof-link {
        padding: 7px 8px;
    }
}

@media (max-width: 1080px) {
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .filtered-summary {
        grid-template-columns: 1fr;
    }

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

    .admin-header-content {
        flex-direction: column;
    }

    .admin-header-actions,
    .admin-actions-modern {
        max-width: none;
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    .site-footer-main {
        grid-template-columns: 1fr;
    }

    .site-footer-brand-block {
        gap: 20px;
    }

    .site-footer-donate-card,
    .site-footer-links div {
        border-radius: 20px;
    }

    .evidence-section-compact {
        max-width: 100%;
    }

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

    .evidence-image-btn {
        height: 220px;
    }
}

@media (max-width: 900px) {
    .summary-grid,
    .public-info-grid,
    .public-hero-panel {
        grid-template-columns: 1fr;
    }

    .public-hero-grid,
    .transparency-content {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
    }

    .public-closing {
        flex-direction: column;
        align-items: flex-start;
    }

    .collect-panel-header {
        flex-direction: column;
    }

    .collect-panel-meta {
        width: 100%;
        text-align: left;
    }

    .collect-summary-grid.is-double,
    .collect-summary-grid.is-multiple,
    .admin-money-grid.is-double,
    .admin-money-grid.is-multiple,
    .admin-filtered-grid.is-double,
    .admin-filtered-grid.is-multiple {
        grid-template-columns: 1fr;
    }

    .collect-summary-grid.is-single .collect-card,
    .admin-money-grid.is-single .summary-card {
        display: block;
    }

    .collect-summary-grid.is-single .collect-card-top,
    .collect-summary-grid.is-single .collect-main-amount,
    .collect-summary-grid.is-single .collect-progress {
        margin-bottom: 18px;
    }

    .collect-summary-grid.is-single .collect-main-amount {
        min-height: 0;
    }

    .collect-summary-grid.is-single .collect-main-amount strong {
        font-size: clamp(28px, 8vw, 40px);
    }

    .admin-money-grid.is-single .summary-card {
        padding: 22px;
    }

    .admin-money-grid.is-single .summary-card h3 {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .admin-money-grid.is-single .summary-row {
        margin-bottom: 0;
        padding: 12px 0;
        border: none;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
        background: transparent;
    }

    .admin-money-grid.is-single .summary-row + .summary-row {
        margin-top: 0;
    }

    .admin-money-grid.is-single .summary-row strong {
        font-size: 16px;
    }

    .admin-money-grid.is-single .summary-balance {
        margin-top: 16px;
    }

    .admin-money-grid.is-single .summary-balance strong {
        font-size: 24px;
    }
}

@media (max-width: 720px) {
    .public-header {
        position: relative;
    }

    .public-nav {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .public-menu {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .public-menu a {
        white-space: nowrap;
    }

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

    .btn-public-primary,
    .btn-public-secondary {
        width: 100%;
    }

    .form-grid,
    .evidence-upload-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-primary-action,
    .btn-secondary-light {
        width: 100%;
    }

    .admin-overview-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .admin-overview-date {
        min-width: 0;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 100%);
    }

    .hero {
        padding: 46px 0 72px;
    }

    .public-hero {
        padding-top: 42px;
    }

    .hero h1,
    .admin-header h1 {
        letter-spacing: -1.1px;
    }

    .hero p {
        font-size: 16px;
        text-align: justify;
    }

    .main-content,
    .admin-main-modern {
        margin-top: -34px;
    }

    .section,
    .public-info-card,
    .admin-overview-panel,
    .public-closing {
        padding: 20px;
        border-radius: 20px;
    }

    .intro-card h2,
    .section-heading h2 {
        font-size: 24px;
    }

    .summary-card {
        padding: 20px;
        border-radius: 18px;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .summary-balance {
        padding: 14px;
    }

    .summary-balance strong {
        font-size: 22px;
    }

    .admin-header {
        padding: 36px 0 64px;
    }

    .admin-header-actions,
    .admin-actions-modern {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-header-actions a,
    .admin-actions-modern a,
    .btn-secondary,
    .btn-danger,
    .btn-success,
    .btn-warning,
    .btn-export,
    .btn-export-admin {
        width: 100%;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filters-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .filters-actions .btn-primary-action,
    .filters-actions .btn-secondary-light {
        width: 100%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .collect-panel {
        padding: 18px !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    .collect-panel-header {
        display: block !important;
        margin-bottom: 18px !important;
    }

    .collect-panel-header h2 {
        margin-bottom: 8px !important;
        font-size: 25px !important;
        line-height: 1.15 !important;
    }

    .collect-panel-header p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .collect-panel-meta {
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 14px !important;
        padding: 13px 14px !important;
        text-align: left !important;
    }

    .collect-mini-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
    }

    .collect-mini-stats article {
        padding: 12px 6px !important;
        border-radius: 14px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    .collect-mini-stats span {
        margin-bottom: 6px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .collect-mini-stats strong {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .collect-summary-grid,
    .collect-summary-grid.is-single,
    .collect-summary-grid.is-double,
    .collect-summary-grid.is-multiple,
    .admin-money-grid,
    .admin-money-grid.is-single,
    .admin-money-grid.is-double,
    .admin-money-grid.is-multiple,
    .admin-filtered-grid,
    .admin-filtered-grid.is-single,
    .admin-filtered-grid.is-double,
    .admin-filtered-grid.is-multiple {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .collect-summary-grid.is-single .collect-card,
    .collect-card {
        display: block !important;
        padding: 18px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    .collect-card-top {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .collect-card h3 {
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .collect-card-badge {
        padding: 6px 10px !important;
        border-radius: 999px !important;
        font-size: 11px !important;
    }

    .collect-summary-grid.is-single .collect-main-amount,
    .collect-main-amount {
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        display: block !important;
        margin: 0 0 16px !important;
        padding: 20px 16px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .collect-summary-grid.is-single .collect-main-amount strong,
    .collect-main-amount strong {
        display: block !important;
        font-size: 28px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.6px !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .collect-main-amount span {
        margin-bottom: 8px !important;
        font-size: 13px !important;
    }

    .collect-summary-grid.is-single .collect-progress,
    .collect-progress {
        margin: 0 0 16px !important;
    }

    .collect-progress-info {
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }

    .collect-progress-bar {
        height: 9px !important;
    }

    .collect-card-breakdown {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .collect-card-breakdown div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 12px !important;
        border: 1px solid var(--border) !important;
        border-radius: 14px !important;
        background: #ffffff !important;
    }

    .collect-card-breakdown span {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .collect-card-breakdown strong {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: right !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    .admin-money-grid.is-single .summary-card,
    .admin-money-grid .summary-card,
    .summary-card-modern {
        display: block !important;
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .admin-money-grid.is-single .summary-card h3,
    .summary-card h3 {
        margin-bottom: 16px !important;
        font-size: 30px !important;
    }

    .admin-money-grid.is-single .summary-row,
    .summary-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 12px 0 !important;
        border: none !important;
        border-bottom: 1px solid var(--border) !important;
        background: transparent !important;
    }

    .summary-row span {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .admin-money-grid.is-single .summary-row strong,
    .summary-row strong {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: right !important;
        font-size: 14px !important;
    }

    .admin-money-grid.is-single .summary-balance,
    .summary-balance {
        margin-top: 14px !important;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .admin-money-grid.is-single .summary-balance strong,
    .summary-balance strong {
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        font-size: 24px !important;
    }

    .admin-filtered-grid.is-single .filtered-card,
    .admin-filtered-grid .filtered-card,
    .filtered-card {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    .admin-filtered-grid.is-single .filtered-card strong,
    .filtered-card strong {
        font-size: 24px !important;
    }

    .admin-filtered-grid.is-single .filtered-card small,
    .filtered-card small {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .evidence-section-compact {
        padding: 18px !important;
    }

    .evidence-grid-compact {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .evidence-image-btn {
        height: 240px;
    }

    .evidence-card {
        border-radius: 18px;
    }

    .evidence-card-body {
        padding: 15px;
    }

    .evidence-more-btn,
    .table-more-btn {
        width: 100%;
    }

    .table-more-wrap {
        padding-top: 14px;
    }
}

/* =========================================================
   23. TABLAS RESPONSIVE SENCILLAS
   Público móvil: Fecha | Monto | Comprobante
   Admin móvil: Fecha | Monto | Comprobante | Acciones
========================================================= */

@media (max-width: 640px) {
    .table-wrapper,
    .public-table-wrapper,
    .admin-table-wrapper {
        overflow: visible !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    table,
    .public-table,
    .admin-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        border-spacing: 0 10px !important;
        background: transparent !important;
    }

    thead,
    tbody,
    tr,
    th,
    td,
    .public-table thead,
    .public-table tbody,
    .public-table tr,
    .public-table th,
    .public-table td,
    .admin-table thead,
    .admin-table tbody,
    .admin-table tr,
    .admin-table th,
    .admin-table td {
        display: revert !important;
        width: auto !important;
        min-width: 0 !important;
    }

    thead,
    .public-table thead,
    .admin-table thead {
        display: table-header-group !important;
    }

    tbody,
    .public-table tbody,
    .admin-table tbody {
        display: table-row-group !important;
    }

    tr,
    .public-table tr,
    .admin-table tr {
        display: table-row !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    th,
    td,
    .public-table th,
    .public-table td,
    .admin-table th,
    .admin-table td {
        display: table-cell !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: none !important;
        vertical-align: middle !important;
        text-align: left !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
        font-size: 13px !important;
    }

    td::before,
    .public-table td::before,
    .admin-table td::before {
        display: none !important;
        content: none !important;
    }

    .public-table th,
    .public-table td,
    .admin-table th,
    .admin-table td {
        display: none !important;
    }

    .public-table th:nth-child(1),
    .public-table th:nth-child(5),
    .public-table th:nth-child(6),
    .public-table td:nth-child(1),
    .public-table td:nth-child(5),
    .public-table td:nth-child(6) {
        display: table-cell !important;
    }

    .admin-table th:nth-child(1),
    .admin-table th:nth-child(7),
    .admin-table th:nth-child(8),
    .admin-table th:nth-child(10),
    .admin-table td:nth-child(1),
    .admin-table td:nth-child(7),
    .admin-table td:nth-child(8),
    .admin-table td:nth-child(10) {
        display: table-cell !important;
    }

    .public-table th:nth-child(1),
    .public-table td:nth-child(1) { width: 30% !important; }

    .public-table th:nth-child(5),
    .public-table td:nth-child(5) { width: 40% !important; }

    .public-table th:nth-child(6),
    .public-table td:nth-child(6) {
        width: 30% !important;
        text-align: right !important;
    }

    .admin-table th:nth-child(1),
    .admin-table td:nth-child(1) { width: 24% !important; }

    .admin-table th:nth-child(7),
    .admin-table td:nth-child(7) { width: 31% !important; }

    .admin-table th:nth-child(8),
    .admin-table td:nth-child(8) {
        width: 23% !important;
        text-align: center !important;
    }

    .admin-table th:nth-child(10),
    .admin-table td:nth-child(10) {
        width: 22% !important;
        text-align: right !important;
    }

    .public-table th,
    .admin-table th {
        padding: 0 8px 7px !important;
        background: transparent !important;
        color: var(--muted) !important;
        font-size: 10px !important;
        font-weight: 850 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
    }

    .public-table td:nth-child(1),
    .public-table td:nth-child(5),
    .public-table td:nth-child(6),
    .admin-table td:nth-child(1),
    .admin-table td:nth-child(7),
    .admin-table td:nth-child(8),
    .admin-table td:nth-child(10) {
        padding: 13px 8px !important;
        background: #ffffff !important;
        border-top: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: none !important;
    }

    .public-table td:nth-child(1),
    .admin-table td:nth-child(1) {
        border-left: 1px solid var(--border) !important;
        border-radius: 14px 0 0 14px !important;
        color: var(--text-strong) !important;
        font-weight: bold !important;
    }

    .public-table td:nth-child(6),
    .admin-table td:nth-child(10) {
        border-right: 1px solid var(--border) !important;
        border-radius: 0 14px 14px 0 !important;
    }

    .public-table td:nth-child(5),
    .admin-table td:nth-child(7) {
        white-space: nowrap !important;
        text-align: left !important;
        font-size: 14px !important;
        font-weight: bold !important;
    }

    .public-table td:nth-child(6),
    .admin-table td:nth-child(8) {
        text-align: right !important;
    }

    .proof-link {
        min-height: 34px !important;
        padding: 7px 10px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        box-shadow: none !important;
    }

    .muted-text {
        color: var(--muted-2) !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .admin-table .icon-actions {
        justify-content: flex-end !important;
        gap: 6px !important;
        margin-left: 0 !important;
    }

    .admin-table .icon-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 11px !important;
    }

    .admin-table .icon-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    tbody tr:hover,
    .public-table tbody tr:hover,
    .admin-table tbody tr:hover {
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* =========================================================
   24. MODAL RESPONSIVE
========================================================= */

@media (max-width: 640px) {
    .proof-modal {
        align-items: center !important;
        justify-content: center !important;
        padding: 18px !important;
    }

    .proof-modal-box {
        width: min(100%, 420px) !important;
        max-width: calc(100vw - 36px) !important;
        max-height: calc(100vh - 70px) !important;
        border-radius: 22px !important;
        overflow: hidden !important;
        transform: translateY(12px) scale(.97);
    }

    .proof-modal.is-open .proof-modal-box {
        transform: translateY(0) scale(1);
    }

    .proof-modal-header {
        padding: 13px 16px !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .proof-modal-header span {
        color: var(--muted) !important;
        font-size: 11px !important;
    }

    .proof-modal-header strong {
        max-width: 250px !important;
        overflow: hidden !important;
        color: var(--text-strong) !important;
        font-size: 14px !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .proof-modal-close {
        width: 38px !important;
        height: 38px !important;
        border-radius: 14px !important;
    }

    .proof-modal-body {
        max-height: calc(100vh - 150px) !important;
        overflow: auto !important;
        background: #0f172a !important;
        -webkit-overflow-scrolling: touch;
    }

    .proof-modal.is-image .proof-modal-body {
        height: auto !important;
        max-height: calc(100vh - 150px) !important;
    }

    .proof-modal-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: calc(100vh - 170px) !important;
        object-fit: contain !important;
        background: #0f172a !important;
    }

    .proof-modal.is-pdf .proof-modal-body {
        height: calc(100vh - 170px) !important;
        padding: 10px !important;
    }

    .proof-modal-pdf {
        width: 100% !important;
        height: 100% !important;
        border-radius: 14px !important;
    }

    .evidence-photo-count {
        right: 10px;
        bottom: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .proof-modal.is-gallery {
        align-items: center !important;
        justify-content: center !important;
        padding: 16px !important;
    }

    .proof-modal.is-gallery .proof-modal-box {
        width: min(100%, 420px) !important;
        max-width: calc(100vw - 32px) !important;
        max-height: calc(100vh - 64px) !important;
        border-radius: 22px !important;
    }

    .proof-modal.is-gallery .proof-modal-body {
        max-height: calc(100vh - 145px) !important;
        overflow: hidden !important;
        padding: 10px !important;
    }

    .evidence-gallery-view {
        width: 100%;
        max-height: calc(100vh - 165px);
    }

    .evidence-gallery-image {
        max-width: 100%;
        max-height: calc(100vh - 180px);
        border-radius: 12px;
    }

    .evidence-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .evidence-gallery-prev { left: 8px; }
    .evidence-gallery-next { right: 8px; }

    .evidence-gallery-prev::before,
    .evidence-gallery-next::before {
        font-size: 26px;
        transform: translateY(-1px);
    }

    .evidence-gallery-counter {
        bottom: 10px;
        min-height: 30px;
        font-size: 12px;
    }

    @keyframes gallerySlideNext {
        from {
            opacity: 0;
            transform: translateX(14px) scale(.99);
        }

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

    @keyframes gallerySlidePrev {
        from {
            opacity: 0;
            transform: translateX(-14px) scale(.99);
        }

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

/* =========================================================
   25. RESPONSIVE EXTRA PEQUEÑO
========================================================= */

@media (max-width: 560px) {
    .site-footer {
        padding: 34px 0 20px;
    }

    .site-footer-brand {
        flex-direction: column;
    }

    .footer-brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 17px;
    }

    .site-footer-brand strong {
        font-size: 20px;
    }

    .site-footer-donate-card {
        padding: 22px;
    }

    .footer-donate-btn {
        width: 100%;
    }

    .site-footer-social-links a {
        width: 40px;
        height: 40px;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .login-card {
        padding: 24px;
        border-radius: 22px;
    }

    .login-card h1 {
        font-size: 29px;
    }

    .current-proof {
        align-items: flex-start;
        flex-direction: column;
    }

    .thanks-popup {
        align-items: flex-end;
        padding: 0;
    }

    .thanks-popup-box {
        width: 100%;
        padding: 34px 22px 26px;
        border-radius: 26px 26px 0 0;
    }

    .thanks-popup-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .thanks-popup-primary,
    .thanks-popup-secondary {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .container {
        width: min(100% - 16px, 100%);
    }

    .collect-panel {
        padding: 16px !important;
    }

    .collect-panel-header h2 {
        font-size: 23px !important;
    }

    .collect-mini-stats {
        gap: 6px !important;
    }

    .collect-mini-stats article {
        padding: 10px 5px !important;
    }

    .collect-mini-stats span {
        font-size: 9px !important;
    }

    .collect-mini-stats strong {
        font-size: 19px !important;
    }

    .collect-main-amount {
        padding: 18px 14px !important;
    }

    .collect-main-amount strong {
        font-size: 25px !important;
    }

    .collect-card-breakdown div,
    .summary-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .collect-card-breakdown strong,
    .summary-row strong {
        text-align: left !important;
    }

    .public-table th,
    .admin-table th {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 9px !important;
    }

    .public-table td:nth-child(1),
    .public-table td:nth-child(5),
    .public-table td:nth-child(6),
    .admin-table td:nth-child(1),
    .admin-table td:nth-child(7),
    .admin-table td:nth-child(8),
    .admin-table td:nth-child(10) {
        padding: 12px 6px !important;
        font-size: 12px !important;
    }

    .public-table td:nth-child(5),
    .admin-table td:nth-child(7) {
        font-size: 13px !important;
    }

    .proof-link {
        padding: 7px 8px !important;
        font-size: 11px !important;
    }

    .admin-table .icon-btn {
        width: 30px !important;
        height: 30px !important;
    }

    .proof-modal {
        padding: 14px !important;
    }

    .proof-modal-box {
        max-width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 56px) !important;
        border-radius: 20px !important;
    }

    .proof-modal-header {
        padding: 12px 14px !important;
    }

    .proof-modal-header strong {
        max-width: 210px !important;
        font-size: 13px !important;
    }

    .proof-modal-body {
        max-height: calc(100vh - 135px) !important;
    }

    .proof-modal-image {
        max-height: calc(100vh - 155px) !important;
    }

    .evidence-gallery-prev::before,
    .evidence-gallery-next::before {
        font-size: 24px;
        transform: translateY(-1px);
    }
}

/* =========================================================
   26. ACCESIBILIDAD
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(250, 204, 21, 0.65);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   BCV — EQUIVALENTE USD EN INDEX Y ADMIN
========================================================= */

.collect-usd-equivalent {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    font-weight: normal;
    line-height: 1.35;
}

.collect-usd-equivalent em {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
}

.admin-usd-equivalent {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(202, 138, 4, 0.22);
    color: var(--yellow-dark);
    font-size: 14px;
    /* font-weight: 950; */
    line-height: 1.35;
}

.admin-usd-equivalent em {
    display: block;
    margin-top: 4px;
    color: rgba(120, 113, 108, 0.82);
    font-size: 12px;
    font-style: normal;
    /* font-weight: 800; */
}

.admin-usd-equivalent-light {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    .collect-usd-equivalent {
        font-size: 14px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .collect-usd-equivalent em {
        font-size: 11px;
    }

    .admin-usd-equivalent {
        font-size: 13px;
    }

    .admin-usd-equivalent em {
        font-size: 11px;
    }
}

/* =========================================================
   COMPROBANTES — BOTÓN ICONO OJO
========================================================= */

.proof-icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: inline-grid !important;
    place-items: center !important;
}

.proof-icon-btn svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}

.proof-icon-btn:hover {
    background: var(--blue) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.proof-icon-btn:active {
    transform: translateY(0) scale(.96);
}

@media (max-width: 640px) {
    .proof-icon-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 12px !important;
    }

    .proof-icon-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* =========================================================
   ADMIN — FILTROS MODERNOS COLAPSABLES
========================================================= */

.filters-collapsible {
    padding: 0;
    overflow: hidden;
}

.filters-modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.16), transparent 28%),
        linear-gradient(135deg, #ffffff, #f8fafc);
}

.filters-modern-copy {
    position: relative;
}

.filters-modern-copy h2 {
    margin: 0 0 8px;
    color: var(--text-strong);
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -0.9px;
}

.filters-modern-copy p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.65;
}

.active-filters-badge {
    display: inline-flex;
    margin-top: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--yellow-soft);
    color: var(--yellow-dark);
    font-size: 12px;
    font-weight: 950;
}

.filters-modern-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filters-toggle-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-strong);
    font-weight: 950;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.filters-toggle-btn:hover {
    transform: translateY(-2px);
    background: var(--blue-soft);
    border-color: rgba(37, 99, 235, 0.18);
}

.filters-toggle-icon,
.filters-toggle-chevron {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
}

.filters-toggle-icon {
    background: var(--blue);
    color: #ffffff;
}

.filters-toggle-chevron {
    background: #f1f5f9;
    color: var(--text-strong);
    transition: transform .25s var(--ease);
}

.filters-toggle-icon svg,
.filters-toggle-chevron svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.filters-collapsible.is-open .filters-toggle-chevron {
    transform: rotate(180deg);
}

.filters-export-btn {
    min-height: 48px;
}

.filters-collapsible-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s var(--ease);
    border-top: 1px solid var(--border);
}

.filters-collapsible-body > * {
    overflow: hidden;
}

.filters-collapsible.is-open .filters-collapsible-body {
    grid-template-rows: 1fr;
}

.filters-form-modern {
    padding: 26px 28px 0;
    background: #ffffff;
}

.filters-grid-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.filters-actions-modern {
    padding-bottom: 26px;
}

.filtered-summary-title {
    padding: 2px 28px 0;
    background: #ffffff;
}

.filtered-summary-title span {
    display: inline-flex;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.filters-collapsible .filtered-summary {
    margin: 16px 28px 28px;
}

@media (max-width: 980px) {
    .filters-modern-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-modern-actions {
        width: 100%;
        justify-content: flex-start;
    }

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

@media (max-width: 640px) {
    .filters-modern-header {
        padding: 22px;
    }

    .filters-modern-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .filters-toggle-btn,
    .filters-export-btn {
        width: 100%;
    }

    .filters-form-modern {
        padding: 22px 22px 0;
    }

    .filters-grid-modern {
        grid-template-columns: 1fr;
    }

    .filtered-summary-title {
        padding: 0 22px;
    }

    .filters-collapsible .filtered-summary {
        margin: 14px 22px 22px;
    }
}

/* =========================================================
   LOGO + FAVICON VISUAL
========================================================= */

.brand-logo-wrap {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14);
    overflow: hidden;
}

.brand-logo {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
}

.footer-logo-wrap {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.footer-logo {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
}

.admin-brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.admin-brand-inline img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
}

.admin-brand-inline span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .brand-logo-wrap {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .footer-logo-wrap {
        width: 52px;
        height: 52px;
        border-radius: 18px;
    }

    .admin-brand-inline {
        width: fit-content;
        max-width: 100%;
    }

    .admin-brand-inline span {
        font-size: 13px;
    }
}

/* =========================================================
   ADMIN HEADER V2 — MÁS ORGANIZADO
========================================================= */

.admin-header-v2 {
    position: relative;
    overflow: hidden;
    padding: 34px 0 78px;
    background:
        radial-gradient(circle at 8% 8%, rgba(250, 204, 21, 0.24), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(239, 68, 68, 0.18), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 54%, #2563eb 100%);
}

.admin-header-v2::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red));
}

.admin-header-v2::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    bottom: -220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.admin-header-v2-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.admin-header-left {
    display: grid;
    gap: 20px;
}

.admin-brand-card {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px 9px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.admin-brand-logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #ffffff;
    overflow: hidden;
}

.admin-brand-logo img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    display: block;
}

.admin-brand-card strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.1;
}

.admin-brand-card span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
}

.admin-title-block-v2 {
    max-width: 780px;
}

.admin-title-block-v2 .admin-kicker {
    color: var(--yellow);
    margin-bottom: 10px;
}

.admin-title-block-v2 h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -1.8px;
}

.admin-title-block-v2 p {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.admin-header-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 760px;
}

.admin-header-meta article {
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.admin-header-meta span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-header-meta strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
}

.admin-header-right {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.admin-action-group {
    display: grid;
    gap: 12px;
}

.admin-action-group-main {
    grid-template-columns: repeat(2, 1fr);
}

.admin-action-group-secondary {
    grid-template-columns: repeat(2, 1fr);
}

.admin-action-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
    text-align: center;
    transition:
        transform .22s var(--ease),
        background .22s var(--ease),
        border-color .22s var(--ease),
        box-shadow .22s var(--ease);
}

.admin-action-btn:hover {
    transform: translateY(-2px);
}

.admin-action-btn span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
}

.admin-action-entry {
    color: var(--green-dark);
    background: #dcfce7;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.16);
}

.admin-action-entry span {
    color: #ffffff;
    background: var(--green);
}

.admin-action-entry:hover {
    background: #bbf7d0;
}

.admin-action-exit {
    color: var(--red-dark);
    background: #fee2e2;
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.14);
}

.admin-action-exit span {
    color: #ffffff;
    background: var(--red);
}

.admin-action-exit:hover {
    background: #fecaca;
}

.admin-action-soft {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.admin-action-soft:hover {
    background: var(--yellow);
}

.admin-action-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.admin-action-outline:hover {
    background: rgba(255, 255, 255, 0.18);
}

.admin-action-danger {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.88);
    border: 1px solid rgba(239, 68, 68, 0.36);
}

.admin-action-danger:hover {
    background: var(--red-dark);
}

@media (max-width: 1080px) {
    .admin-header-v2-content {
        grid-template-columns: 1fr;
    }

    .admin-header-right {
        max-width: 100%;
    }

    .admin-action-group-main,
    .admin-action-group-secondary {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 760px) {
    .admin-header-v2 {
        padding: 28px 0 66px;
    }

    .admin-header-v2-content {
        gap: 22px;
    }

    .admin-title-block-v2 h1 {
        font-size: clamp(34px, 11vw, 48px);
        letter-spacing: -1.2px;
    }

    .admin-title-block-v2 p {
        font-size: 15px;
    }

    .admin-header-meta {
        grid-template-columns: 1fr;
    }

    .admin-header-meta article {
        padding: 14px;
    }

    .admin-header-right {
        padding: 18px;
        border-radius: 24px;
    }

    .admin-action-group-main,
    .admin-action-group-secondary {
        grid-template-columns: 1fr;
    }

    .admin-action-btn {
        width: 100%;
        min-height: 50px;
    }
}

@media (max-width: 420px) {
    .admin-brand-card {
        width: 100%;
        border-radius: 20px;
    }

    .admin-brand-logo {
        width: 42px;
        height: 42px;
    }

    .admin-header-meta strong {
        font-size: 20px;
    }
}

/* =========================================================
   27. RESPONSIVE FINAL — ADMIN + GENERAL
   Ajuste final para ordenar header, filtros, cards y móvil
========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.container,
.admin-header-v2 .container {
    width: min(1160px, calc(100% - 32px));
}

/* Corrección de colores de iconos informativos */
.info-blue {
    background: var(--blue) !important;
    color: #ffffff !important;
}

.info-red {
    background: var(--red) !important;
    color: #ffffff !important;
}

.info-yellow {
    background: var(--yellow) !important;
    color: #0f172a !important;
}

/* Header público */
.public-brand,
.public-brand > span:last-child,
.public-menu,
.admin-header-left,
.admin-header-right,
.admin-title-block-v2,
.section,
.table-wrapper,
.filters-collapsible,
.proof-modal-box,
.thanks-popup-box {
    min-width: 0;
}

.public-brand strong,
.public-brand small {
    white-space: nowrap;
}

.public-menu::-webkit-scrollbar {
    height: 0;
}

/* Header admin V2 */
.admin-header-v2-content {
    align-items: stretch;
}

.admin-title-block-v2 h1 {
    text-wrap: balance;
}

.admin-title-block-v2 p {
    text-wrap: pretty;
}

.admin-action-group-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.admin-action-group-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.admin-action-btn {
    min-width: 0;
}

.admin-header-meta article {
    min-width: 0;
}

.admin-header-meta span,
.admin-header-meta strong {
    overflow-wrap: anywhere;
}

/* Filtros */
.filters-modern-actions {
    flex-shrink: 0;
}

.filters-toggle-btn,
.filters-export-btn {
    white-space: nowrap;
}

/* Formularios */
.form-group input[type="file"] {
    line-height: 1.3;
    padding: 12px;
}

/* Botón ojo */
.proof-icon-btn {
    line-height: 1 !important;
}

.proof-icon-btn svg {
    flex: 0 0 auto;
}

/* Tablet grande */
@media (max-width: 1180px) {
    .container,
    .admin-header-v2 .container {
        width: min(100% - 28px, 100%);
    }

    .admin-header-v2-content {
        grid-template-columns: 1fr;
    }

    .admin-header-right {
        padding: 18px;
    }

    .admin-action-group-main {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .admin-action-group-secondary {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .admin-action-btn {
        min-height: 46px;
        padding-inline: 12px;
        font-size: 13px;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .public-hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .public-hero-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-mini-card-wide {
        grid-column: auto;
    }

    .hero-mini-card {
        min-height: 112px;
    }

    .site-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-brand-block {
        grid-column: 1 / -1;
    }

    .filters-modern-header {
        align-items: stretch;
    }

    .filters-modern-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .filters-toggle-btn,
    .filters-export-btn {
        width: 100%;
    }
}

/* Móvil grande */
@media (max-width: 760px) {
    .container,
    .admin-header-v2 .container {
        width: min(100% - 22px, 100%);
    }

    .admin-header-v2 {
        padding: 24px 0 60px;
    }

    .admin-header-v2-content {
        gap: 18px;
    }

    .admin-brand-card {
        width: 100%;
        border-radius: 20px;
        padding: 10px;
    }

    .admin-brand-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .admin-title-block-v2 h1 {
        font-size: clamp(32px, 10vw, 46px);
        line-height: 1.02;
        letter-spacing: -1.2px;
    }

    .admin-title-block-v2 p {
        font-size: 14px;
        line-height: 1.6;
    }

    .admin-header-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .admin-header-meta article {
        padding: 11px 8px;
        border-radius: 15px;
        text-align: center;
    }

    .admin-header-meta span {
        min-height: 24px;
        margin-bottom: 6px;
        font-size: 9px;
        line-height: 1.2;
    }

    .admin-header-meta strong {
        font-size: 16px;
        line-height: 1.1;
    }

    .admin-header-right {
        padding: 14px;
        border-radius: 22px;
        gap: 12px;
    }

    .admin-action-group-main,
    .admin-action-group-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .admin-action-btn {
        min-height: 48px;
        border-radius: 15px;
        font-size: 13px;
        white-space: normal;
        line-height: 1.2;
    }

    .admin-main-modern {
        margin-top: -38px;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .admin-stat-card {
        padding: 16px;
        border-radius: 18px;
    }

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

    .section,
    .admin-overview-panel,
    .public-closing {
        padding: 18px;
    }

    .filters-modern-header {
        padding: 20px;
    }

    .filters-modern-copy h2 {
        font-size: 25px;
    }

    .filters-modern-copy p {
        font-size: 14px;
    }

    .filters-modern-actions,
    .filters-grid-modern {
        grid-template-columns: 1fr !important;
    }

    .filters-form-modern {
        padding: 20px 20px 0;
    }

    .filters-actions-modern {
        padding-bottom: 20px;
    }

    .filtered-summary-title {
        padding-inline: 20px;
    }

    .filters-collapsible .filtered-summary {
        margin: 14px 20px 20px;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
    }
}

/* Móvil */
@media (max-width: 640px) {
    .container,
    .admin-header-v2 .container {
        width: min(100% - 18px, 100%);
    }

    .public-header {
        position: sticky;
    }

    .public-nav {
        gap: 12px;
    }

    .public-brand {
        width: 100%;
    }

    .public-brand strong {
        font-size: 15px;
    }

    .public-menu {
        display: flex;
        gap: 8px;
        padding: 2px 0 6px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .public-menu a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 9px 12px;
        background: #f8fafc;
        border: 1px solid var(--border);
        font-size: 13px;
    }

    .hero {
        padding: 38px 0 66px;
    }

    .hero h1 {
        font-size: 4rem;
        letter-spacing: -1.2px;
        text-align: center;
    }

    .main-content,
    .admin-main-modern {
        margin-top: -30px;
    }

    .section {
        margin-bottom: 18px;
        padding: 16px;
        border-radius: 18px;
    }

    .section-heading {
        gap: 10px;
        margin-bottom: 18px;
    }

    .counter {
        width: fit-content;
        padding: 8px 12px;
        font-size: 12px;
    }

    .admin-overview-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-overview-copy h2 {
        font-size: 24px;
    }

    .admin-overview-copy p {
        font-size: 14px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .site-footer-brand {
        flex-direction: row;
        align-items: center;
    }

    .site-footer-brand strong {
        font-size: 18px;
    }

    .site-footer-brand p,
    .site-footer-donate-card p,
    .site-footer-links p {
        font-size: 14px;
    }

    .site-footer-donate-card,
    .site-footer-links div {
        padding: 18px;
        border-radius: 18px;
    }

    .form-actions,
    .filters-actions {
        gap: 10px;
    }

    .evidence-image-btn {
        height: 220px;
    }

    .evidence-card-body {
        padding: 14px;
    }

    .evidence-card h3 {
        font-size: 16px;
    }

    .proof-icon-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 12px !important;
    }

    .proof-icon-btn svg {
        width: 17px;
        height: 17px;
    }
}

/* Móvil pequeño */
@media (max-width: 430px) {
    .container,
    .admin-header-v2 .container {
        width: min(100% - 16px, 100%);
    }

    .admin-title-block-v2 h1 {
        font-size: 33px;
    }

    .admin-brand-card strong {
        font-size: 14px;
    }

    .admin-header-meta {
        grid-template-columns: 1fr !important;
    }

    .admin-header-meta article {
        text-align: left;
    }

    .admin-header-meta span {
        min-height: 0;
        font-size: 10px;
    }

    .admin-header-meta strong {
        font-size: 19px;
    }

    .admin-action-group-main,
    .admin-action-group-secondary,
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .collect-mini-stats article {
        padding: 10px 4px !important;
    }

    .collect-mini-stats span {
        font-size: 8.5px !important;
    }

    .collect-mini-stats strong {
        font-size: 18px !important;
    }

    .public-table th:nth-child(1),
    .public-table td:nth-child(1) { width: 28% !important; }

    .public-table th:nth-child(5),
    .public-table td:nth-child(5) { width: 42% !important; text-align: center !important;}

    .public-table th:nth-child(6),
    .public-table td:nth-child(6) { width: 30% !important; }

    .admin-table th:nth-child(1),
    .admin-table td:nth-child(1) { width: 23% !important; }

    .admin-table th:nth-child(7),
    .admin-table td:nth-child(7) { width: 32% !important; }

    .admin-table th:nth-child(8),
    .admin-table td:nth-child(8) { width: 21% !important; }

    .admin-table th:nth-child(10),
    .admin-table td:nth-child(10) { width: 24% !important; }

    .public-table td:nth-child(1),
    .public-table td:nth-child(5),
    .public-table td:nth-child(6),
    .admin-table td:nth-child(1),
    .admin-table td:nth-child(7),
    .admin-table td:nth-child(8),
    .admin-table td:nth-child(10) {
        padding: 11px 5px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    .admin-table td:nth-child(10) .icon-actions {
        justify-content: center !important;
        align-items: center !important;
    }

    .amount {
        font-size: 12px !important;
    }

    .proof-icon-btn {
        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;
        min-height: 31px !important;
        border-radius: 10px !important;
    }

    .proof-icon-btn svg {
        width: 15px;
        height: 15px;
    }
}

/* =========================================================
   ADMIN HEADER RESPONSIVE — HAMBURGUESA FINAL
========================================================= */

.admin-mobile-menu-btn {
    display: none;
}

@media (max-width: 760px) {
    .admin-header-v2 {
        padding: 22px 0 58px !important;
    }

    .admin-header-v2-content {
        position: relative;
        display: block !important;
    }

    .admin-mobile-menu-btn {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.20);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(12px);
        cursor: pointer;
        transition: background .22s var(--ease), transform .22s var(--ease);
    }

    .admin-mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
    }

    .admin-mobile-menu-btn span {
        grid-area: 1 / 1;
        width: 22px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: #ffffff;
        transition: transform .24s var(--ease), opacity .2s var(--ease);
    }

    .admin-mobile-menu-btn span:nth-child(1) {
        transform: translateY(-7px);
    }

    .admin-mobile-menu-btn span:nth-child(2) {
        transform: translateY(0);
    }

    .admin-mobile-menu-btn span:nth-child(3) {
        transform: translateY(7px);
    }

    .admin-header-v2.is-menu-open .admin-mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg);
    }

    .admin-header-v2.is-menu-open .admin-mobile-menu-btn span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .admin-header-v2.is-menu-open .admin-mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .admin-brand-card {
        width: fit-content !important;
        max-width: calc(100% - 62px) !important;
        padding: 8px 12px 8px 8px !important;
        border-radius: 18px !important;
    }

    .admin-brand-logo {
        width: 40px !important;
        height: 40px !important;
        border-radius: 14px !important;
    }

    .admin-brand-card strong {
        font-size: 14px !important;
    }

    .admin-brand-card span {
        font-size: 11px !important;
    }

    .admin-header-left {
        gap: 16px !important;
    }

    .admin-title-block-v2 {
        margin-top: 18px;
    }

    .admin-title-block-v2 .admin-kicker {
        margin-bottom: 8px !important;
        font-size: 11px !important;
    }

    .admin-title-block-v2 h1 {
        max-width: 92%;
        margin-bottom: 0 !important;
        font-size: clamp(30px, 10vw, 42px) !important;
        line-height: 1.02 !important;
        letter-spacing: -1.1px !important;
    }

    .admin-title-block-v2 p {
        display: none !important;
    }

    .admin-header-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 14px;
    }

    .admin-header-meta article {
        min-width: 0;
        padding: 12px 8px !important;
        border-radius: 16px !important;
        text-align: center;
    }

    .admin-header-meta span {
        min-height: 24px;
        margin-bottom: 6px !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
        letter-spacing: .04em !important;
    }

    .admin-header-meta strong {
        font-size: 17px !important;
        line-height: 1.1 !important;
        overflow-wrap: anywhere;
    }

    .admin-header-right {
        max-height: 0 !important;
        margin-top: 0 !important;
        padding: 0 16px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        border-radius: 22px !important;
        transform: translateY(-8px);
        transition:
            max-height .34s var(--ease),
            margin-top .24s var(--ease),
            padding .24s var(--ease),
            opacity .24s var(--ease),
            visibility .24s var(--ease),
            transform .24s var(--ease);
    }

    .admin-header-v2.is-menu-open .admin-header-right {
        max-height: 560px !important;
        margin-top: 18px !important;
        padding: 16px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0);
    }

    .admin-action-group-main,
    .admin-action-group-secondary {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .admin-action-btn {
        width: 100%;
        min-height: 48px !important;
        border-radius: 15px !important;
        font-size: 14px !important;
    }

    .admin-action-group-main {
        margin-bottom: 10px;
    }
}

@media (max-width: 420px) {
    .admin-header-v2 {
        padding-top: 18px !important;
    }

    .admin-mobile-menu-btn {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .admin-mobile-menu-btn span {
        width: 20px;
    }

    .admin-brand-card {
        max-width: calc(100% - 54px) !important;
    }

    .admin-title-block-v2 h1 {
        max-width: 100%;
        font-size: clamp(28px, 10vw, 38px) !important;
    }

    .admin-header-meta {
        gap: 6px !important;
    }

    .admin-header-meta article {
        padding: 10px 6px !important;
    }

    .admin-header-meta span {
        font-size: 8.5px !important;
    }

    .admin-header-meta strong {
        font-size: 15px !important;
    }
}

/* =========================================================
   ADMIN STATS — RESPONSIVE 2x2 FINAL
   Mantiene los 4 cuadros en 2 columnas en móvil
========================================================= */

@media (max-width: 720px) {
    .admin-stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .admin-stat-card {
        min-width: 0 !important;
        min-height: 132px !important;
        padding: 16px 12px !important;
        border-radius: 18px !important;
    }

    .admin-stat-card span {
        margin-bottom: 8px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .admin-stat-card strong {
        font-size: 30px !important;
        line-height: 1 !important;
        letter-spacing: -0.6px !important;
        overflow-wrap: anywhere !important;
    }

    .admin-stat-card small {
        margin-top: 8px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 430px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .admin-stat-card {
        min-height: 122px !important;
        padding: 14px 10px !important;
        border-radius: 16px !important;
    }

    .admin-stat-card span {
        font-size: 11px !important;
    }

    .admin-stat-card strong {
        font-size: 26px !important;
    }

    .admin-stat-card small {
        font-size: 10px !important;
    }
}

@media (max-width: 360px) {
    .admin-stats-grid {
        gap: 8px !important;
    }

    .admin-stat-card {
        min-height: 116px !important;
        padding: 12px 8px !important;
    }

    .admin-stat-card span {
        font-size: 10px !important;
    }

    .admin-stat-card strong {
        font-size: 23px !important;
    }

    .admin-stat-card small {
        font-size: 9.5px !important;
    }
}


/* =========================================================
   ADMIN STATS — CARDS MÁS BONITAS + RESPONSIVE 2x2
========================================================= */

.admin-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
}

.admin-stat-card {
    position: relative !important;
    isolation: isolate;
    min-height: 164px;
    overflow: hidden !important;
    padding: 22px !important;
    border-radius: 26px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)) !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition:
        transform .26s var(--ease),
        box-shadow .26s var(--ease),
        border-color .26s var(--ease),
        background .26s var(--ease) !important;
}

.admin-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.20), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(250, 204, 21, 0.16), transparent 34%);
    pointer-events: none;
}

.admin-stat-card::after {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: -1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--blue-dark);
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.admin-stat-card:nth-child(1)::after { content: "#"; }
.admin-stat-card:nth-child(2)::after { content: "+"; }
.admin-stat-card:nth-child(3)::after { content: "−"; }
.admin-stat-card:nth-child(4)::after { content: "✓"; }

.admin-stat-card:nth-child(1)::before {
    background:
        radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.22), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.10), transparent 32%);
}

.admin-stat-card:nth-child(2)::before {
    background:
        radial-gradient(circle at 86% 0%, rgba(34, 197, 94, 0.22), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(34, 197, 94, 0.10), transparent 32%);
}

.admin-stat-card:nth-child(3)::before {
    background:
        radial-gradient(circle at 86% 0%, rgba(239, 68, 68, 0.21), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(239, 68, 68, 0.10), transparent 32%);
}

.admin-stat-card:nth-child(4)::before {
    background:
        radial-gradient(circle at 86% 0%, rgba(250, 204, 21, 0.30), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(250, 204, 21, 0.12), transparent 32%);
}

.admin-stat-card:nth-child(2)::after {
    background: rgba(34, 197, 94, 0.12);
    color: var(--green-dark);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.admin-stat-card:nth-child(3)::after {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red-dark);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.16);
}

.admin-stat-card:nth-child(4)::after {
    background: rgba(250, 204, 21, 0.20);
    color: #854d0e;
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.26);
}

.admin-stat-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(37, 99, 235, 0.22) !important;
    box-shadow:
        0 26px 64px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.admin-stat-card span,
.admin-stat-card strong,
.admin-stat-card small {
    position: relative;
    z-index: 1;
}

.admin-stat-card span {
    max-width: calc(100% - 52px);
    margin-bottom: 14px !important;
    color: var(--muted) !important;
    font-size: 12px;
    font-weight: 950 !important;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.admin-stat-card strong {
    display: block;
    color: var(--text-strong);
    font-size: clamp(31px, 3.4vw, 44px) !important;
    /* font-weight: 950; */
    line-height: .95 !important;
    letter-spacing: -1.4px !important;
    overflow-wrap: anywhere;
}

.admin-stat-card:nth-child(1) strong { color: var(--blue-dark); }
.admin-stat-card:nth-child(2) strong { color: var(--green-dark); }
.admin-stat-card:nth-child(3) strong { color: var(--red-dark); }
.admin-stat-card:nth-child(4) strong { color: #854d0e; }

.admin-stat-card small {
    display: block;
    margin-top: 14px !important;
    padding-top: 13px;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    color: var(--muted) !important;
    font-size: 12px;
    /* font-weight: 750 !important; */
    line-height: 1.45 !important;
}

@media (max-width: 1080px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

@media (max-width: 640px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .admin-stat-card {
        min-height: 138px;
        padding: 15px 12px !important;
        border-radius: 18px !important;
    }

    .admin-stat-card::after {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 16px;
    }

    .admin-stat-card span {
        max-width: calc(100% - 40px);
        margin-bottom: 12px !important;
        font-size: 10px !important;
        letter-spacing: .05em;
    }

    .admin-stat-card strong {
        font-size: 28px !important;
        letter-spacing: -1px !important;
    }

    .admin-stat-card small {
        margin-top: 10px !important;
        padding-top: 10px;
        font-size: 10.5px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 430px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .admin-stat-card {
        min-height: 128px;
        padding: 13px 10px !important;
        border-radius: 17px !important;
    }

    .admin-stat-card::after {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        border-radius: 11px;
        font-size: 14px;
    }

    .admin-stat-card span {
        max-width: calc(100% - 34px);
        font-size: 9px !important;
        line-height: 1.18;
    }

    .admin-stat-card strong {
        font-size: 24px !important;
    }

    .admin-stat-card small {
        font-size: 9.5px !important;
    }
}

/* =========================================================
   HEADER PÚBLICO RESPONSIVE — DINÁMICO
========================================================= */

.public-header {
    transition:
        background .24s var(--ease),
        box-shadow .24s var(--ease),
        border-color .24s var(--ease);
}

.public-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border-bottom-color: rgba(226, 232, 240, 0.95);
}

.public-brand {
    min-width: 0;
}

.public-brand-text {
    min-width: 0;
}

.public-menu-cta {
    color: #0f172a !important;
    background: var(--yellow) !important;
    box-shadow: 0 10px 22px rgba(250, 204, 21, 0.22);
}

.public-menu-cta:hover {
    background: #fde047 !important;
    color: #0f172a !important;
}

.public-menu-toggle {
    display: none;
}

@media (max-width: 720px) {
    .public-header {
        position: sticky;
        top: 0;
        z-index: 80;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
    }

    .public-nav {
        position: relative;
        min-height: 68px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        padding: 10px 0 !important;
    }

    .public-brand {
        max-width: calc(100% - 58px);
        gap: 10px;
    }

    .brand-logo-wrap {
        width: 44px !important;
        height: 44px !important;
        border-radius: 15px !important;
    }

    .public-brand strong {
        max-width: 190px;
        overflow: hidden;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-brand small {
        font-size: 11px;
    }

    .public-menu-toggle {
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #ffffff;
        color: var(--text-strong);
        cursor: pointer;
        box-shadow: var(--shadow-sm);
        transition:
            transform .22s var(--ease),
            background .22s var(--ease),
            border-color .22s var(--ease);
    }

    .public-menu-toggle:hover {
        transform: translateY(-1px);
        background: var(--blue-soft);
        border-color: rgba(37, 99, 235, 0.22);
    }

    .public-menu-toggle span {
        grid-area: 1 / 1;
        width: 21px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: var(--text-strong);
        transition:
            transform .24s var(--ease),
            opacity .2s var(--ease),
            background .2s var(--ease);
    }

    .public-menu-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }

    .public-menu-toggle span:nth-child(2) {
        transform: translateY(0);
    }

    .public-menu-toggle span:nth-child(3) {
        transform: translateY(7px);
    }

    .public-header.is-menu-open .public-menu-toggle {
        background: var(--blue);
        border-color: var(--blue);
    }

    .public-header.is-menu-open .public-menu-toggle span {
        background: #ffffff;
    }

    .public-header.is-menu-open .public-menu-toggle span:nth-child(1) {
        transform: rotate(45deg);
    }

    .public-header.is-menu-open .public-menu-toggle span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .public-header.is-menu-open .public-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .public-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        width: 100%;
        max-height: 0;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 12px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 22px;
        background:
            radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.12), transparent 34%),
            #ffffff;
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
        transform: translateY(-8px) scale(.98);
        transition:
            max-height .32s var(--ease),
            padding .24s var(--ease),
            opacity .24s var(--ease),
            visibility .24s var(--ease),
            transform .24s var(--ease);
    }

    .public-header.is-menu-open .public-menu {
        max-height: 420px;
        padding: 12px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .public-menu a {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 15px;
        background: #f8fafc;
        border: 1px solid var(--border);
        color: var(--text-strong);
        font-size: 14px;
        font-weight: 900;
        text-decoration: none;
        transform: none !important;
    }

    .public-menu a::after {
        content: "→";
        color: var(--muted-2);
        font-weight: 950;
        transition: transform .2s var(--ease), color .2s var(--ease);
    }

    .public-menu a:hover {
        background: var(--blue-soft);
        color: var(--blue-dark);
        border-color: rgba(37, 99, 235, 0.22);
    }

    .public-menu a:hover::after {
        color: var(--blue-dark);
        transform: translateX(3px);
    }

    .public-menu-cta {
        justify-content: center !important;
        border-color: rgba(250, 204, 21, 0.5) !important;
    }

    .public-menu-cta::after {
        content: "❤";
        color: #0f172a !important;
        transform: none !important;
    }
}

@media (max-width: 390px) {
    .public-brand strong {
        max-width: 150px;
        font-size: 14px;
    }

    .public-brand small {
        font-size: 10px;
    }

    .brand-logo-wrap {
        width: 40px !important;
        height: 40px !important;
    }

    .public-menu-toggle {
        width: 43px;
        height: 43px;
        border-radius: 15px;
    }

    .public-menu a {
        min-height: 44px;
        font-size: 13px;
    }
}

/* =========================================================
   HEADER PÚBLICO — SOLO ÚLTIMA ACTUALIZACIÓN
========================================================= */

.public-hero-panel-single {
    grid-template-columns: 1fr !important;
    max-width: 360px;
    margin-left: auto;
}

.hero-mini-card-date {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-mini-card-date span {
    font-size: 13px;
    line-height: 1.25;
}

.hero-mini-card-date strong {
    font-size: clamp(28px, 4vw, 38px);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .public-hero-panel-single {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .public-hero-panel-single {
        margin-top: 18px;
    }

    .hero-mini-card-date {
        min-height: 112px;
        padding: 18px;
    }

    .hero-mini-card-date strong {
        font-size: 30px;
    }
}

@media (max-width: 390px) {
    .hero-mini-card-date strong {
        font-size: 26px;
    }
}

/* =========================================================
   FOOTER RESPONSIVE — ORDENADO Y MÁS LIMPIO
========================================================= */

.site-footer {
    overflow: hidden;
}

.site-footer-main,
.site-footer-brand-block,
.site-footer-donate-card,
.site-footer-links,
.site-footer-links div,
.site-footer-bottom {
    min-width: 0;
}

.site-footer-brand p,
.site-footer-donate-card p,
.site-footer-links p {
    text-wrap: pretty;
}

.site-footer-links a:last-child {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .site-footer {
        padding: 38px 0 22px !important;
    }

    .site-footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
        padding-bottom: 24px !important;
    }

    .site-footer-brand-block {
        grid-column: 1 / -1 !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 20px !important;
        padding: 22px !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, 0.075);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer-brand {
        align-items: center !important;
    }

    .site-footer-brand p {
        max-width: 680px !important;
    }

    .site-footer-social {
        align-items: flex-end !important;
        text-align: right !important;
    }

    .site-footer-social-links {
        justify-content: flex-end !important;
    }

    .site-footer-donate-card,
    .site-footer-links div {
        height: 100%;
    }

    .site-footer-links {
        gap: 14px !important;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 32px 0 20px !important;
    }

    .site-footer-main {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding-bottom: 22px !important;
    }

    .site-footer-brand-block {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .site-footer-brand {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .footer-logo-wrap,
    .footer-brand-mark {
        width: 54px !important;
        height: 54px !important;
        border-radius: 18px !important;
    }

    .site-footer-brand strong {
        margin-bottom: 6px !important;
        font-size: 19px !important;
        line-height: 1.15 !important;
    }

    .site-footer-brand p {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .site-footer-social {
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        text-align: left !important;
    }

    .site-footer-social span {
        font-size: 11px !important;
    }

    .site-footer-social-links {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        justify-content: stretch !important;
    }

    .site-footer-social-links a {
        width: 100% !important;
        height: 44px !important;
        border-radius: 15px !important;
    }

    .site-footer-donate-card {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .site-footer-donate-card h3 {
        font-size: 25px !important;
        line-height: 1.12 !important;
    }

    .site-footer-donate-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .footer-donate-btn {
        width: 100% !important;
        min-height: 48px !important;
    }

    .site-footer-links {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .site-footer-links div {
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .site-footer-links h4 {
        margin-bottom: 12px !important;
        font-size: 15px !important;
    }

    .site-footer-links a {
        width: 100% !important;
        margin-bottom: 8px !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.075);
        border: 1px solid rgba(255, 255, 255, 0.10);
        font-size: 14px !important;
    }

    .site-footer-links a:hover {
        transform: translateX(0) !important;
        background: rgba(250, 204, 21, 0.14);
    }

    .site-footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding-top: 16px !important;
        text-align: center !important;
    }

    .site-footer-bottom p {
        font-size: 12px !important;
    }

    .site-footer-bottom a {
        white-space: normal !important;
        font-size: 13px !important;
    }
}

@media (max-width: 430px) {
    .site-footer {
        padding-top: 28px !important;
    }

    .site-footer-brand-block,
    .site-footer-donate-card,
    .site-footer-links div {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .site-footer-brand {
        grid-template-columns: 1fr !important;
        text-align: left !important;
    }

    .footer-logo-wrap,
    .footer-brand-mark {
        width: 50px !important;
        height: 50px !important;
        border-radius: 17px !important;
    }

    .site-footer-brand strong {
        font-size: 18px !important;
    }

    .site-footer-social-links {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .site-footer-social-links a {
        height: 42px !important;
    }

    .site-footer-donate-card h3 {
        font-size: 23px !important;
    }

    .site-footer-links a {
        font-size: 13px !important;
    }
}

/* =========================================================
   MOSTRAR MÁS / MENOS — ANIMACIÓN SUAVE Y LIVIANA
   Reemplaza la animación pesada con blur para evitar trabas
========================================================= */

.table-row-prep {
    opacity: 0;
    transform: translateY(6px);
}

.table-row-in {
    animation: tableRowInSmooth .26s var(--ease) both;
}

.table-row-out {
    animation: tableRowOutSmooth .20s var(--ease) both;
}

@keyframes tableRowInSmooth {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

@keyframes tableRowOutSmooth {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.evidence-card-prep {
    opacity: 0;
    transform: translateY(10px) scale(.99);
}

.evidence-card-in {
    animation: evidenceCardInSmooth .32s var(--ease) both;
}

.evidence-card-out {
    animation: evidenceCardOutSmooth .22s var(--ease) both;
}

@keyframes evidenceCardInSmooth {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.99);
    }

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

@keyframes evidenceCardOutSmooth {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(.99);
    }
}

.table-more-btn.is-working,
.evidence-more-btn.is-working {
    pointer-events: none;
    opacity: .85;
}

.table-more-btn,
.evidence-more-btn {
    will-change: transform;
}
