/* ================= VARIABLES ================= */
:root {
    --pri: #1f6aa5;
    --sec: #0d3c61;
}

/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e8eef5, #d6e2f1);
    padding: 30px 15px;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.slides {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.activa {
    opacity: 1;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}

.hero-content img {
    max-width: 130px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin: 10px 0;
}

.hero-content p {
    max-width: 700px;
    font-size: 16px;
    opacity: .95;
}

/* ================= BOTONES SUPERIORES ================= */
.botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.botones button {
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    background: #fff;
    color: var(--sec);
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.botones button:hover {
    background: var(--pri);
    color: #fff;
    transform: translateY(-3px);
}

.botones button.activo {
    background: linear-gradient(135deg, var(--pri), var(--sec));
    color: #fff;
}

/* ================= CONTENIDO ================= */
.contenido {
    max-width: 1150px;
    margin: auto;
}

.seccion {
    display: none;
    background: rgba(255,255,255,.9);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,.2);
    animation: fade .6s ease;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.seccion h2 {
    color: var(--pri);
    border-left: 6px solid var(--pri);
    padding-left: 15px;
    margin-bottom: 25px;
}

/* ================= CONTADORES ================= */
.contadores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contador {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.contador span {
    font-size: 42px;
    font-weight: 700;
    color: var(--pri);
}

/* ================= VIDEO ================= */
.video {
    position: relative;
    padding-top: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    margin-bottom: 40px;
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ================= GALERÍA / EVIDENCIAS ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card p {
    padding: 15px;
    font-size: 14px;
}

.ver-mas {
    display: block;
    margin: 25px auto 0;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    background: var(--pri);
    color: #fff;
    font-weight: 600;
}

/* ================= FORMULARIO DONACIÓN ================= */
form {
    display: grid;
    gap: 15px;
    max-width: 500px;
}

form input {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.montos {
    display: flex;
    gap: 10px;
}

.montos button {
    flex: 1;
    padding: 12px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background: #e9f1fb;
    color: var(--pri);
    font-weight: 600;
}

.montos button:hover {
    background: var(--pri);
    color: #fff;
}

.metodos {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.metodos input {
    accent-color: var(--pri);
}

#btnDonar {
    padding: 18px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, var(--pri), var(--sec));
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(31,106,165,.45);
}

#btnDonar:hover {
    transform: translateY(-3px);
}

/* ================= MAPA ================= */
iframe {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    border: none;
}

/* ================= WHATSAPP ================= */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,.25);
    z-index: 1000;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}

/* BOTÓN FACEBOOK FLOTANTE */
.btn-facebook {
    position: fixed;
    bottom: 100px; /* queda arriba del WhatsApp */
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1877f2;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
    z-index: 999;
    transition: .4s;
}

/* Ícono */
.btn-facebook i {
    font-size: 22px;
}

/* Texto */
.btn-facebook span {
    white-space: nowrap;
}

/* Hover */
.btn-facebook:hover {
    background: #145dbf;
    transform: translateY(-4px);
}


/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}
/* CAPA DE REALIDAD GLOBAL */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url("img/e2.jpeg");
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: .08;
    z-index: -1;
}

/* ===== HISTORIAS REALES ===== */
.historias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.historia-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    transition: .4s;
}

.historia-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.historia-card p {
    padding: 20px;
    font-style: italic;
}

.historia-card:hover {
    transform: translateY(-8px);
}



