/* Versión regular */
@font-face {
    font-family: 'Capriola';
    src: url('Capriola-Regular.ttf') format('truetype');
    font-weight: normal;
    /* o 400 */
    font-style: normal;
    font-display: swap;
}

/* Versión regular */
@font-face {
    font-family: 'Sniglet';
    src: url('Sniglet-Regular.ttf') format('truetype');
    font-weight: normal;
    /* o 400 */
    font-style: normal;
    font-display: swap;
}

/* Versión bold */
@font-face {
    font-family: 'Sniglet';
    src: url('Sniglet-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    /* o 700 */
    font-style: normal;
    font-display: swap;
}

.custom-hidden {
    display: none;
}

.sniglet-text {
    font-family: 'Sniglet', cursive;
    font-weight: 400;
    /* o 700 para bold */
}

.sniglet-bold-text {
    font-family: 'Sniglet', cursive;
    font-weight: 700;
    /* o 700 para bold */
}

.capriola-text {
    font-family: 'Capriola', cursive;
    font-weight: 400;
    /* o 700 para bold */
}

.inter-text {
    font-family: 'Inter';
    font-weight: 400;
    /* o 700 para bold */
}

:root {
    --brand-purple: #6A1B9A;
    --violeta-uno: #773895;
    --purple-medium: #A788BE;
    --purple-light: #F3E5F5;
    --black: #111111;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --text-gray: #767777;
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-gray);
    line-height: 1.5;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: none;
    color: var(--brand-purple);
}

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: 0.9;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
}

p {
    font-size: 1.1rem;
    font-weight: 400;

}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-purple);
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--brand-purple);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--purple-medium);
    border-color: var(--purple-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-purple);
}

.btn-outline:hover {
    background-color: var(--brand-purple);
    color: var(--white);
}

.btn-extra-rounded {
    border-radius: 50px;
}

/* HEADER & NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

/*Logos*/
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--brand-purple);
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* Por defecto: mostrar logo de escritorio, ocultar el móvil */
.logo-desktop {

    display: block;
}

.logo .logo-desktop img {
    height: 110px;
}

.logo-mobile {
    display: none;
    /* oculto en escritorio */
}

/* En móviles: invertir */
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}

.brand-name {
    display: block;

}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-purple);
}

/* LANG SWITCHER */
.lang-switch {
    font-weight: 400;
    font-size: 0.85rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    margin-left: 1rem;
    border-left: 1px solid #ddd;
    padding-left: 1.5rem;
}

.lang-switch:hover {
    color: var(--brand-purple);
    font-weight: 700;
}

@media (min-width: 1024px) {
    nav {
        flex-wrap: nowrap;
        gap: 0;
    }

    .brand-name {
        display: none;
    }
}

@media (max-width: 1024px) {
    nav {
        justify-content: center;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .logo img {
        height: 45px;
    }

    .brand-name {
        display: block;
        font-size: 0.9rem;
    }

    .nav-links {
        gap: 1rem;
        width: 100%;
        justify-content: center;
    }

    .lang-switch {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }
}

.round-img {
    border-radius: 48px;

}

/* HERO */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 12rem;
    width: 100%;
    margin-bottom: 2rem;
}






@media (min-width: 768px) {
    .hero {
        padding-top: 90px;
    }
}

.hero-text {

    padding: 1rem;
    flex-direction: column;
    display: flex;
    align-items: center;
    /* ← centra horizontalmente los hijos */
    gap: 1.5rem;
}

.hero h1 {

    line-height: 1.2;
    text-align: center;
    text-transform: none;
    margin-bottom: 0.5rem;
}

.hero-highlight {
    display: block;
    color: var(--brand-purple);
    font-weight: 900;
    font-size: clamp(2rem, 8vw, 5rem);
    line-height: 0.9;
    text-align: justify;
}

.hero-highlight-small {
    display: block;
    color: var(--text-gray);
    font-weight: 400;
    text-align: center;
    margin-bottom: 0rem;
    text-transform: none;
    font-size: clamp(1rem, 8vw, 1.5rem);
}

.hero-image {
    background-color: none;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-parrafo {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    margin-left: 1.5rem;
    width: 100%;
    text-align: justify;

}

.hero-boton {

    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    margin-left: 1.5rem;

}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        height: auto;
        padding-bottom: 4rem;
    }

    .hero-text {
        padding: 2rem;

    }

    .hero-image {
        display: none;
    }

    .hero-parrafo {
        margin-left: 0rem;
        text-align: justify;
    }



    .hero h1 {
        text-align: justify;
    }

    .hero-highlight-small {
        text-align: justify
    }
}

/* MANIFESTO */
.video-manifesto {
    border-radius: 48px;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.manifesto {
    background-color: var(--text-gray);
    color: var(--white);
    padding: 6rem 4rem;
}

.manifesto h2 {
    text-transform: none !important;
}

.manifesto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;

}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.manifesto-text-col {
    text-align: justify;
    text-transform: none;
}

.manifesto h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
    /* ITÁLICA Y NORMAL */
}

.author-name {
    display: block;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .manifesto-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .manifesto-text-col {
        text-align: center;
    }

    .manifesto {
        padding: 3rem 1rem;
    }
}

/* TICKER */
.hr-home {
    padding: 1rem;

}

.prensa-home {
    background-color: var(--white);
    align-items: center;
    margin: 0rem;
}

.premio-title-home {
    text-align: center;
    font-size: 1.2rem;
    /* un poco más grande */
    font-weight: 700;
    margin-bottom: 0rem;
    margin-left: 0rem;
    color: var(--brand-purple);
    letter-spacing: -0.02em;
    padding: 1rem 0rem;
}

.premio-title {
    text-align: start;
    font-size: 1.2rem;
    /* un poco más grande */
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
}

.prensa-text {
    text-align: start;
    color: #555;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--gray);
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    position: relative;
}

.ticker {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 5rem;
    gap: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
    max-width: 400px;
    vertical-align: middle;
}

.ticker-item:hover {
    opacity: 1;
}

.award-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: normal;
}

.award-title {
    font-weight: 900;
    text-transform: capitalize;
    font-size: 0.9rem;
    color: var(--brand-purple);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.award-desc {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.3;
}

.award-logo-placeholder {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--black);
    line-height: 1;
    padding-right: 1rem;
    border-right: 2px solid var(--brand-purple);
}

.award-logo-img {



    /* Mantiene la proporción */
    padding-right: 1rem;
    border-right: 2px solid var(--brand-purple);
    display: inline-block;
    vertical-align: middle;

}

.award-mediano {
    /* Igual que font-size del placeholder */
    height: 1.5rem;
    width: auto;
}

.award-grande {

    height: 2.5rem;
    width: auto;
}

.award-a {
    text-decoration: none;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .premio-title {
        font-size: 1.3rem;
        margin-bottom: 1.3rem;
    }

    .ticker {
        animation-duration: 20s;
    }

    .ticker-item {
        margin-right: 3rem;
    }

    .award-logo-placeholder {
        font-size: 1.2rem;
    }
}

/* Desktop (pantallas grandes) */
@media (min-width: 1024px) {
    .premio-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
}

/* IMPACTO */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    border-top: 1px solid #ddd;
}

.impact-card {
    padding: 4rem 2rem;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-card:hover {
    background: var(--purple-light);
}

.number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--brand-purple);
    margin-bottom: 0.5rem;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.label {
    text-transform: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    line-height: 1.4;
}

/* SERVICIOS */
.services {
    padding: 4rem 4rem;
    text-align: justify;
}

/* Grid ajustada para 4 items */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    border-color: transparent;
    background-color: #ffe6f4;
    /* rosa pastel suave */
    border-radius: 12px;
    /* bordes redondeados */
    padding: 1.5rem;
    /* espacio interno */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* sombra sutil, opcional */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* micro-interacción al hover */
    /* Hacer que se vea más cuadrada */

    display: flex;
    align-items: center;
    gap: 1.5rem;

    /* espacio entre imagen y texto */

}

.boton .service-item:hover {
    cursor: pointer;
}


/* Contenido de texto (título + párrafo) */
.service-content {
    flex: 1;
    /* ocupa el espacio restante */
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0rem;

    padding-bottom: 0.5rem;

    color: var(--brand-purple);
    text-align: center;
}

.service-num {
    color: #eaeaea;
    margin-right: 0.3rem;
}

.service-item p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #555;
    margin-top: auto;
    /* asegura que el párrafo quede abajo si hay espacio */
    text-align: justify;

}

/* Imagen lateral */
.service-image {
    width: 200px;
    /* ajustable */
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* evita que se reduzca */
}

@media (max-width: 768px) {
    .service-image {
        display: none;
    }


}

/* --- NUEVOS ESTILOS PARA LA VISTA DE DETALLE --- */

.detalle-container {
    animation: fadeIn 0.5s ease-in-out;
}

.btn-volver {
    background: none;
    border: none;
    color: #6a1b9a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    transition: transform 0.2s;
}

.btn-volver:hover {
    transform: translateX(-5px);
    text-decoration: underline;
}

.detalle-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Toque de color de la marca */
}

.detalle-titulo {
    color: #6a1b9a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}


.detalle-contenido {
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

.detalle-contenido h3 {
    color: #8e24aa;
    margin-top: 2rem;
    margin-bottom: 0rem;
    font-size: 1.4rem;
}

.detalle-contenido a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    /* Nuevas propiedades */
    text-decoration: none;
    /* Elimina el subrayado del enlace */
    text-align: center;
    /* Centra el texto horizontalmente */
    display: inline-block;
    /* Asegura que padding y centrado funcionen correctamente */
    background-color: var(--brand-purple);
}

.detalle-contenido .social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--brand-purple);
    padding: 0.5rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    /* Nuevas propiedades */
    text-decoration: none;
    /* Elimina el subrayado del enlace */
    text-align: center;
    /* Centra el texto horizontalmente */
    display: inline-block;
    /* Asegura que padding y centrado funcionen correctamente */

}

.detalle-contenido ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.detalle-contenido li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.detalle-contenido li::before {
    content: "•";
    color: #ff4081;
    /* Punto rosa fuerte */
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.detalle-contenido strong {
    color: #6a1b9a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 768px) {
    .service-image {
        height: 180px;
    }

    .detalle-card {
        padding: 1.5rem;
    }

    .detalle-titulo {
        font-size: 1.6rem;
    }

    .detalle-contenido ul {
        padding-left: 0rem;
        margin-left: 0rem;
    }


}

/* DONAR (CSS NUEVO) */
.comoayudar.intro-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
    max-width: 700px;
    max-width: 700px;
    margin: 0 auto;
}

.ayudar-p {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* Contenedor de texto + imagen */
.donation-text-and-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 4rem;
    align-items: center;
}

.donation-text-and-image h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin: 0;
    color: var(--white);
}

.donation-text-and-image p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Estilo para la imagen pequeña */
.donation-image {
    width: 500px;
    /* o el tamaño que prefieras */
    height: auto;
    border-radius: 48px;
    opacity: 0.9;
    align-self: center;
    /* alinea a la izquierda */
}

.donation-section {
    background-color: var(--brand-purple);
    color: var(--white);
    gap: 4rem;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3rem 2rem;
    margin: 4rem 0rem;
}



.donation-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;

}

.donation-options h2 {
    color: var(--white);
    /* o #ffffff si prefieres valor explícito */
    margin: 0;
}
.donation-options h3 {
    color: var(--white);
    /* o #ffffff si prefieres valor explícito */
    margin: 0;
}


/* Contenedor de botones — centrado y con ancho controlado */
.amount-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    /* Ancho reducido para los botones */
    width: 100%;
}


.amount-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    /* Nuevas propiedades */
    text-decoration: none;
    /* Elimina el subrayado del enlace */
    text-align: center;
    /* Centra el texto horizontalmente */
    display: inline-block;
    /* Asegura que padding y centrado funcionen correctamente */
}


/*Nuevo*/
.amount-btn:hover::before {
    opacity: 1;
    transform: translateY(0);
    border-radius: 50px;
}

.amount-btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.25),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    color: var(--brand-purple);
    background: linear-gradient(145deg, #fff, #e6e6ff);
    border-radius: 50px;
}

@media (max-width: 768px) {
    .donation-image {
        display: none;
    }

    .donation-text-and-image {

        margin-left: 1rem;
    }
}

/*Donar 2*/
.donation-section2 {
    background-color: var(--brand-purple);
    color: var(--white);
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.donation-options2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.amount-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* BLOG */
.noticias {
    padding: 0rem 1rem;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.noticias-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--purple-light);
    margin-bottom: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-purple);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.noticias-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.noticias-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
}

/* BLOG */
.blog {
    padding: 6rem 4rem;
}

.blog-card {
    min-height: 550px;
    /* Aseguramos que la tarjeta tenga estructura flexible */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    /* La tarjeta se eleva 8px */
    transform: translateY(-8px);

    /* Sombra más difusa y grande para simular que flota */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Cambia el cursor a mano en toda la tarjeta */
    cursor: pointer;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

/* El contenedor que mantiene la proporción */
.video-wrapper {
    position: relative;
    width: 100%;
    /* Truco: padding-bottom define la proporción. 56.25% es 16:9 (9/16 = 0.5625) */
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: #000;
    /* Fondo negro mientras carga */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 2. El iframe que se estira al contenedor */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.blog-grid {
    display: grid;
    /* Ajuste: minmax(300px, 1fr) permite que en móviles muy chicos baje a 300px en vez de 400px */
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.blog-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--purple-light);
    margin-bottom: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-purple);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.blog-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.blog-card a {
    text-decoration: none;
    /* Esto quita el subrayado */
    color: inherit;
    /* Hereda el color del texto del padre (usualmente negro) */
    display: block;
    /* Para que el área clicable sea completa */
}

.blog-title {

    padding-left: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
}

.blog-source-inline {
    padding-left: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-source-inline::before {
    content: "•";
    color: var(--brand-purple);
    /* Punto amarillo */
    font-weight: bold;
}

.blog-image {
    width: 100%;
    height: auto;
    /* Importante: auto para que mantenga proporción */
    aspect-ratio: 16/9;
    /* Opcional: fuerza proporción si la imagen es rara */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
    /* Elimina espacios extra debajo de la imagen */
}


/* Media Query corregida */
@media (max-width: 992px) {
    .blog {
        padding: 4rem 2rem;
        /* Reducimos padding lateral en móviles/tablets */
    }

    .blog-grid {
        /* En tablets/móviles grandes, quizás quieras 2 columnas o 1 */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Ya no necesitamos ajustar height del iframe aquí porque el wrapper lo hace solo */
    /* Si quieres videos más pequeños en móvil, ajusta el minmax del grid arriba */
}

/* Ajuste específico para celulares muy pequeños */
@media (max-width: 480px) {
    .blog {
        padding: 3rem 1.5rem;
    }

    .blog-card {
        min-height: auto;
        /* Dejamos que la altura sea natural en móvil */
    }
}

/* STICKY DONATE */
.sticky-donate {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background-color: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 900;
    font-size: 0.8rem;
    text-align: center;
    cursor: pointer;
    z-index: 2000;
    border: 2px solid white;
    overflow: hidden;
    animation: pulse-scale 2s infinite ease-in-out;
}

.donate-text,
.donate-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.donate-text {
    animation: toggleText 4s infinite steps(1);
}

.donate-icon {
    animation: toggleIcon 4s infinite steps(1);
}

@keyframes pulse-scale {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(106, 27, 154, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 30px rgba(106, 27, 154, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(106, 27, 154, 0);
    }
}

@keyframes toggleText {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes toggleIcon {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* FOOTER */
footer {
    background: var(--text-gray);
    color: white;
    padding: 2rem 2rem;
    /* Añadí padding horizontal para móviles */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*
    display: flex;
    flex-wrap: wrap;
    */
    gap: 4rem;
    justify-content: space-between;
    align-items: flex-start;
}

/* Estilo para el título "Seguinos" */
.footer-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: large;
}

.social-link:hover {
    color: var(--brand-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 3rem;
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-a {
    color: white;
}


.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: left;
}

.footer-legal-links a {
    font-size: smaller;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--brand-purple);
    text-decoration: underline;
}

/*Formulario border: 1px solid #444;*/
/* Formulario: Nombre y Apellidos lado a lado en desktop */
.form-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* En móviles: apilar verticalmente */
@media (max-width: 950px) {
    .form-name-row {
        grid-template-columns: 1fr;
        /* Una sola columna */
    }
}

.footer-form {
    width: 60%;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid rebeccapurple;
    background: white;

    border-radius: 4px;
    font-family: inherit;

}

/* En móviles: apilar verticalmente */
@media (max-width: 950px) {
    .footer-form {
        width: 100%;
    }
}

.footer-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.btn-submit-footer {
    width: 100%;
    padding: 0.8rem;
    background: var(--brand-purple);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;

}

.btn-submit-footer:hover {
    background: #5a0a9a;
    /* tono más oscuro de purple */
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .donation-section {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }

    .sticky-donate {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 0.7rem;
    }

    .blog {
        padding: 3rem 1.5rem;
    }

    .services {
        padding: 3rem 1.5rem;
    }

    footer {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;

        gap: 2rem;
    }
}

/*Prensa*/
.prensa {

    background-color: var(--white);
    padding-top: 12rem;
    padding-left: 2rem;
    padding-right: 2rem;
}



/*Pagina trabajo*/
.pagina-trabajo {
    background-color: var(--white);
    padding-top: 12rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.pagina-trabajo ul {
    padding-left: 2rem;

    margin-bottom: 1rem;
    color: var(--purple-medium);
}

.pagina-trabajo h2 {

    margin-bottom: 0rem;
}

.pagina-trabajo p {
    margin-bottom: 1rem;
}

.services-trabajo {
    padding: 1rem 2rem;
}

.services-trabajo ul {
    padding-left: 2rem;

    margin-bottom: 1rem;
    color: var(--purple-medium);
}

.services-trabajo h2 {

    margin-bottom: 0rem;
}




.libro-vida-seccion {
    padding: 1rem 2rem;
}

/*Pagina acerca*/
.pagina-acerca {
    background-color: var(--white);
    padding-top: 12rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.pagina-acerca p {
    margin-bottom: 1rem;
}

.pagina-acerca h3 {
    margin-bottom: 0rem;

}

.pagina-acerca h4 {
    margin-bottom: 1rem;
    color: var(--violeta-uno);
}

.pagina-acerca ul {
    padding-left: 2rem;

    margin-bottom: 1rem;
    color: var(--text-gray);
}

.pagina-acerca .p-acerca {
    max-width: 2400px;
    text-align: justify;
}

/* Contenedor principal del componente */
.pagina-acerca .historia-container {
    display: flex;
    /* Crea un layout flexible (flexbox) */
    gap: 1rem;
    /* Espacio entre la imagen y el texto */


    margin-bottom: 1rem;
}

/* Estilos para el contenedor de la imagen */
.pagina-acerca .imagen-placeholder img {
    width: 100%;
    /* La imagen se ajusta al ancho de su contenedor */
    height: auto;
    /* Mantiene la proporción de aspecto */
    max-width: 350px;
    /* Ancho máximo para la imagen */
    border-radius: 40px;
    object-fit: cover;
    /* Asegura que la imagen cubra el área sin distorsionarse */
    display: block;
    align-items: center;
    /* Elimina espacio extra debajo de la imagen */
}

/* Estilos para el bloque de texto */
.pagina-acerca .texto-historia {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* CLAVE: Apila los elementos verticalmente */
    justify-content: center;
    /* Opcional: Centra el bloque de texto completo verticalmente respecto a la imagen */
    gap: 1.5rem;
    /* Espacio entre cada párrafo */
    text-align: justify;
}

.pagina-acerca .texto-historia p {
    margin: 0;
    line-height: 1.6;
    /* Mejora la legibilidad */
}

@media (max-width: 768px) {
    .pagina-acerca .historia-container {
        flex-direction: column;
        /* Apila la imagen y el texto verticalmente */
        gap: 1rem;
        padding: 0rem;
    }

    .pagina-acerca .imagen-placeholder img {
        max-width: 100%;
        /* La imagen usa todo el ancho disponible en móvil */
    }

    .pagina-acerca .texto-historia {
        text-align: justify;
        /* Alinea el texto a la izquierda en móvil */
    }
}

.proyecto-trabajo {
    padding: 1rem 2rem;
}

.proyecto-trabajo h4 {
    margin-bottom: 0rem;
}

.proyecto-trabajo p {
    margin-bottom: 0.5rem;
    text-align: justify;
}

/* Galeria */
.galeria-seccion {

    margin: 0 auto;
    text-align: center;
}

/* Contenedor principal de las fotos */
.galeria-contenedor {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Espacio entre las fotos */
    flex-wrap: wrap;
    /* Permite que las fotos se envuelvan en pantallas pequeñas */
}

/* Estilo para cada item de la foto */
.foto-item {
    flex: 1 1 300px;
    /* Cada foto tiene un ancho base de 300px y puede crecer/encogerse */
    max-width: 400px;
    /* Ancho máximo para cada foto */
    border-radius: 12px;
    /* Bordes redondeados suaves */
    overflow: hidden;
    /* Asegura que la imagen no se salga de los bordes redondeados */
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.15);
    /* Sombra sutil con un toque lila */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
/* Estilo para cada item de la foto */
.foto-item-chico {
    flex: 1 1 150px;
    /* Cada foto tiene un ancho base de 300px y puede crecer/encogerse */
    max-width: 200px;
    /* Ancho máximo para cada foto */
    border-radius: 12px;
    /* Bordes redondeados suaves */
    overflow: hidden;
    /* Asegura que la imagen no se salga de los bordes redondeados */
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.15);
    /* Sombra sutil con un toque lila */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
/* Efecto hover para interactividad */
.foto-item:hover {
    transform: translateY(-5px);
    /* La foto se eleva ligeramente */
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.25);
    /* La sombra se hace más pronunciada */
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* La imagen cubre todo el espacio sin distorsionarse */
    display: block;
    /* Elimina cualquier espacio extra debajo de la imagen */
}

@media (max-width: 992px) {
    .titulo-seccion {
        font-size: 2rem;
    }

    .galeria-contenedor {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .galeria-contenedor {
        flex-direction: column;
        /* Apila las fotos verticalmente en móviles */
        align-items: center;
    }

    .foto-item {
        max-width: 100%;
        /* Las fotos usan el ancho completo disponible en móvil */
        width: 80%;
        /* Un poco de margen a los lados */
    }

    .titulo-seccion {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/* Contenedor principal de la tabla */
.tabla-contenedor {

    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    /* Asegura que los bordes redondeados se apliquen correctamente */
    box-shadow: 0 4px 20px rgba(106, 27, 154, 0.1);
    /* Sombra sutil con toque lila */
}

/* Estilos generales de la tabla */
.tabla-actores {
    width: 100%;
    border-collapse: collapse;
    /* Elimina espacios entre celdas */
    font-size: 1rem;
    line-height: 1.6;
}

/* Estilos del encabezado (thead) */
.tabla-actores thead tr {
    background-color: var(--brand-purple);
    /* Color lila principal */
    color: white;
    text-align: left;
    font-weight: 700;
}

.tabla-actores thead th {
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Estilos del cuerpo de la tabla (tbody) */
.tabla-actores tbody tr {
    border-bottom: 1px solid #e0e0e0;
    /* Línea separadora suave entre filas */
    transition: background-color 0.3s ease;
}

/* Efecto hover en las filas */
.tabla-actores tbody tr:hover {
    background-color: var(--purple-light);
    /* Fondo lila muy claro al pasar el ratón */
}

.tabla-actores tbody tr:last-of-type {
    border-bottom: none;
    /* Elimina la línea de la última fila */
}

.tabla-actores tbody td {
    padding: 1.2rem 1.5rem;
    color: #333;
    vertical-align: top;
    /* Alinea el texto hacia arriba si hay mucho contenido */
}

/* Estilo específico para la primera columna (Actor) */
.tabla-actores tbody td:first-child {
    font-weight: 600;
    color: #6a1b9a;
    /* Color lila oscuro para los actores */
    width: 25%;
    /* Ancho fijo para la columna de actores */
    border-right: 2px solid #f0f0f0;
    /* Línea separadora vertical sutil */
}

/* --- Diseño Responsivo para Móviles --- */
@media (max-width: 768px) {
    .tabla-contenedor {
        border-radius: 8px;
        overflow-x: auto;
        /* Permite scroll horizontal en móviles si es necesario */
    }

    .tabla-actores thead th,
    .tabla-actores tbody td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .tabla-actores tbody td:first-child {
        width: 30%;
        /* Un poco más de espacio para la columna de actores en móvil */
    }
}

/* Opcional: Si prefieres que la tabla se apile en móviles en lugar de hacer scroll */
@media (max-width: 600px) {

    .tabla-actores,
    .tabla-actores tbody,
    .tabla-actores tr,
    .tabla-actores td {
        display: block;
        width: 100%;
    }

    .tabla-actores thead {
        display: none;
        /* Oculta el encabezado en móvil */
    }

    .tabla-actores tbody tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 1rem;
    }

    .tabla-actores tbody td {
        padding: 0.5rem 0;
        border: none;
    }

    .tabla-actores tbody td:first-child {
        font-size: 1.1rem;
        color: #9c27b0;
        border: none;
        padding-bottom: 0.5rem;
    }

    .tabla-actores tbody td::before {
        content: "Función: ";
        font-weight: 600;
        color: #666;
        display: none;
        /* Solo muestra esta etiqueta si descomentas la línea de abajo */
    }
}

/*Testimonios*/
.comments-section .contenedor-principal {

    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 40px;
    /* Bordes menos redondeados para más seriedad */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    /* Sombra muy sutil en el contenedor */
}

/* Encabezado */
.comments-section .encabezado {
    text-align: center;
    margin-bottom: 3.5rem;
}

.comments-section .titulo {
    color: var(--brand-purple);
    /* Lila oscuro corporativo */
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.comments-section .subtitulo {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
}

.comments-section .separador {
    width: 60px;
    height: 3px;
    background-color: var(--purple-medium);
    /* Lila suave */
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Grid Layout */
.comments-section .grid-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
    /* Alineación superior para que no se estiren verticalmente */
}

/* Estilo Base de la Tarjeta */
.comments-section .card {
    background: #fff;
    border: 1px solid var(--purple-medium);
    /* Borde gris muy claro */
    border-radius: 40px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Efecto Hover SUAVE y PROFESIONAL */
.comments-section .card:hover {
    transform: translateY(-3px);
    /* Elevación mínima */
    border-color: #d1c4e9;
    /* El borde cambia a un lila muy pálido */
    /* Sombra gris neutra, muy difusa, sin color lila */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Contenido Interno */
.comments-section .card-contenido {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comments-section .icono-cita {
    color: #ce93d8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.comments-section .texto {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 2rem 0;
    font-style: italic;
    flex-grow: 1;
    /* Empuja el autor hacia abajo */
}

/* Autor */
.comments-section .autor {
    display: flex;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.2rem;
    margin-top: auto;
}



.comments-section .autor h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #6a1b9a;
    font-weight: 600;
}

.comments-section .autor span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

/* Ocupa 2 columnas del grid (si hay espacio) */
.comments-section .testimonio-grande {
    grid-column: span 2;
}

/* Ocupa 1 columna pero se ve más ancho visualmente por el contenido */
.comments-section .testimonio-medio {
    /* Por defecto ocupa 1fr, pero podemos forzar un mínimo mayor si queremos */
    min-width: 350px;
}

/* Responsivo */
@media (max-width: 992px) {
    .comments-section .testimonio-grande {
        grid-column: span 1;
        /* En tablets todas ocupan 1 columna */
    }

    .comments-section .contenedor-principal {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .comments-section .grid-testimonios {
        grid-template-columns: 1fr;
        /* Una sola columna en móvil */
    }

    .comments-section .titulo {
        font-size: 1.8rem;
    }

    .comments-section .card {
        padding: 1.5rem;

        /* --- NUEVO CÓDIGO PARA EL MARGEN --- */
        width: 90%;
        /* La tarjeta ocupa el 90% del ancho disponible */
        max-width: 400px;
        /* Pero nunca supera los 400px para que no se vea gigante */
        margin-left: auto;
        /* Esto centra la tarjeta horizontalmente */
        margin-right: auto;
        /* Esto centra la tarjeta horizontalmente */
        /* ------------------------------------ */
    }

    /* Opcional: Ajustar el contenedor principal para que no tenga padding excesivo si ya usamos márgenes en las cards */
    .comments-section .contenedor-principal {
        padding: 2rem 1rem;
    }

}


/*Linea de tiempo*/
.timeline-section {
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-gray);
    min-height: auto;
    /* Ya no fuerza una altura mínima extrema */
    width: 100%;
    overflow-x: hidden;
}

.timeline-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Nuevo Estilo del Header */
.timeline-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    color: var(--brand-purple);
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.timeline-container {
    position: relative;
    margin: 0 auto;
    /* Eliminado height fijo y overflow para permitir flujo natural */
    padding: 20px 0;
}

/* Línea central */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(to bottom, var(--brand-purple), var(--purple-medium));
    border-radius: 2px;
    z-index: 1;
}

.timeline-events {
    position: relative;
    z-index: 2;
    /* Sin overflow ni height fijo */
}

.timeline-event {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    /* Para animación de entrada si la usas */
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

/* Animación simple */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.event-year {
    width: 45%;
    text-align: right;
    padding-right: 40px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.event-content {
    width: 45%;
    padding-left: 40px;
    position: relative;
}

/* Alternar lados */
.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-event:nth-child(even) .event-year {
    text-align: left;
    padding-left: 40px;
    padding-right: 0;
    justify-content: flex-start;
}

.timeline-event:nth-child(even) .event-content {
    padding-right: 40px;
    padding-left: 0;
}

/* Tarjetas */
.event-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Sombra muy suave como prefieres */
    border-left: 5px solid var(--brand-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    
    text-align: justify;
}

.timeline-event:nth-child(even) .event-card {
    border-left: none;
    border-right: 5px solid var(--brand-purple);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.event-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Círculos en la línea */
.event-year::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--brand-purple);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Posicionamiento del círculo según lado */
.timeline-event:not(:nth-child(even)) .event-year::after {
    right: -10px;
    /* Ajuste fino para centrar en la línea */
}

.timeline-event:nth-child(even) .event-year::after {
    left: -10px;
}

/* Responsive Móvil */
@media (max-width: 768px) {
    .timeline-header h2 {
        font-size: 2rem;
    }

    .timeline-line {
        left: 30px;
        /* Mover línea a la izquierda */
    }

    .timeline-event {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 40px;
        padding-left: 0;
    }

    .event-year,
    .event-content {
        width: 100%;
        text-align: left !important;
        padding: 0 !important;
        justify-content: flex-start !important;
    }

    .event-year {
        font-size: 1.5rem;
        margin-bottom: 5px;
        padding-left: 60px !important;
        /* Espacio para la línea */
        position: relative;
    }

    /* Ajuste del círculo en móvil */
    .event-year::after {
        left: 20px !important;
        /* Centrado sobre la línea en 30px */
        right: auto !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .event-content {
        padding-left: 60px !important;
    }

    .event-card {
        border-left: 4px solid var(--brand-purple) !important;
        border-right: none !important;
        border-radius: 12px;
    }

    /* Eliminar cualquier residuo de scroll o fixed position */
    .current-event-indicator {
        display: none;
    }
}

.footer {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    color: #7f8c8d;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/*Pagina servicios*/
.pagina-services {
    padding: 2rem 2rem;
}

/*Pagina ayduar*/
.pagina-ayudar {
    background-color: var(--white);
    padding-top: 12rem;
    padding-left: 2rem;
}

.pagina-ayudar ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.ayudar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem;
}

.ayudar-grid .volunteer-card {
    padding: 0rem;
}

/* Tarjetas */

.volunteer-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(100, 50, 150, 0.08);

    gap: 1.8rem;

    transition: transform 0.3s, box-shadow 0.3s;
}


.volunteer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(100, 50, 150, 0.15);
}

.volunteer-card h2 {

    color: var(--violeta-uno);
}

.volunteer-card h3 {

    font-size: 1.5rem;
    margin: 0rem;

}

.volunteer-card p {
    margin: 0 0 1.2rem 0;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}


/* Responsive */
@media (max-width: 768px) {
    .ayudar-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
        margin: 0rem;
    }

    .volunteer-card {
        flex-direction: column;
        text-align: justify;
        padding: 1rem;
    }

    .volunteer-card h2 {
        text-align: start;

    }
}

/*Pagina contacto*/
.pagina-contacto {
    background-color: var(--white);
    padding-top: 12rem;
    padding-left: 2rem;
    padding-bottom: 1rem;

}


/* Contenedor principal */
.donacion-opciones {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fila superior - 3 botones */
.fila-superior {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Fila inferior - 2 botones */
.fila-inferior {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}


.center {
    align-items: center;
}

.contacto-form {
    width: 40%;
    margin: 0 auto;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid rebeccapurple;
    background: white;

    border-radius: 4px;
    font-family: inherit;

}

.btn-contacto {
    display: inline-flex; /* Cambiado a inline-flex para alinear icono y texto */
    flex-direction: column;
    align-items: center;  /* Centra verticalmente el icono y el texto */
    justify-content: center; /* Centra el contenido horizontalmente */
    gap: 10px;            /* Espacio entre el icono y el texto */
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-purple);
    border-radius: 8px;
    cursor: pointer;
    
}


.btn-primary-contacto {
    background-color: var(--brand-purple);
    color: var(--white);
}

.btn-extra-rounded-contacto {
    border-radius: 50px;
}
.btn-contacto:hover {
    transform: translateY(-5px);
}

/* Imagen lateral */
.contacto-image {   
    width: 100px;
    /* ajustable */
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    /* evita que se reduzca */
}

/* En móviles: apilar verticalmente */
@media (max-width: 768px) {

    .donacion-opciones {
        align-items: left;
    }

    .fila-superior,
    .fila-inferior {
        justify-content: flex-start;
        /* Alinea items a la izquierda */
        width: 100%;
    }

    .contacto-form {
        width: 100%;
        margin: 0 auto;
    }

    .pagina-contacto {
        background-color: var(--white);
        padding-top: 12rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;

    }

    .btn-card {
        width: 140px;
        /* Un poco más chicos en móvil */
        height: 140px;
        font-size: 0.85rem;
    }

    .btn-card img {
        width: 36px;
        height: 36px;
    }
}

.contacto-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.btn-submit-contacto {
    width: 100%;
    padding: 0.8rem;
    background: var(--brand-purple);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;

}

.btn-submit-contacto:hover {
    background: #5a0a9a;
    /* tono más oscuro de purple */
}