/* =========================================
   HOJA DE ESTILOS: PÁGINA ACTIVIDADES
   ========================================= */

.act-page {
    --ac-primary: #2579cc;
    --ac-primary-dark: #124d86;
    --ac-primary-light: #eaf3fc;
    --ac-orange: #d0774a;
    --ac-orange-dark: #b96339;
    --ac-white: #ffffff;
    --ac-text: #2c3e50;
    --ac-muted: #596a7a;
    --ac-bg: #f4f7fc;
    --ac-radius: 16px;
    --ac-shadow: 0 12px 35px rgba(27, 63, 99, 0.09);
    --ac-shadow-hover: 0 18px 45px rgba(27, 63, 99, 0.16);

    width: 100%;
    overflow: hidden;
    color: var(--ac-text);
    background: var(--ac-white);
    font-family: inherit;
}

.act-page *, .act-page *::before, .act-page *::after {
    box-sizing: border-box;
}

.act-page img {
    display: block;
    max-width: 100%;
}

.act-page a {
    text-decoration: none;
}

.act-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.contactoWhatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 99;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contactoWhatsapp:hover { transform: scale(1.12); }
.contactoWhatsapp img { width: 55px; height: 55px; }


/* =========================================
   1. HERO / CABECERA
   ========================================= */
.act-hero {
    position: relative;
    padding: 100px 24px;
    background-size: cover;
    background-position: center;
    color: var(--ac-white);
    text-align: center;
}

.act-hero-container {
    max-width: 820px;
    margin: 0 auto;
}

.act-badge {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.act-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.act-hero p {
    margin: 0 0 32px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.act-btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--ac-orange);
    color: var(--ac-white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 22px rgba(208, 119, 74, 0.35);
    transition: all 0.25s ease;
}

.act-btn-orange:hover {
    background: var(--ac-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(208, 119, 74, 0.45);
}


/* =========================================
   2. TARJETAS BANNER DE PROGRAMAS
   ========================================= */
.act-section {
    padding: 85px 0;
}

.act-programs-section {
    background: var(--ac-white);
}

.act-section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.act-sub-tag {
    display: inline-block;
    color: var(--ac-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.act-section-heading h2 {
    margin: 5px 0 12px;
    font-size: clamp(2rem, 3vw, 2.4rem);
    color: var(--ac-primary-dark);
}

.act-section-heading p {
    margin: 0;
    color: var(--ac-muted);
    font-size: 1.05rem;
}

.act-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.act-banner-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--ac-radius);
    padding: 55px 50px;
    color: var(--ac-white);
    box-shadow: var(--ac-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.act-banner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ac-shadow-hover);
}

.act-banner-content {
    max-width: 680px;
}

.act-banner-reverse .act-banner-content {
    margin-left: auto;
}

.act-card-pill {
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.act-pill-orange {
    background: rgba(208, 119, 74, 0.4);
}

.act-banner-content h2 {
    margin: 0 0 16px;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--ac-white);
    line-height: 1.25;
}

.act-banner-content p {
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}

.act-btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--ac-white);
    color: var(--ac-primary-dark);
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.act-btn-light:hover {
    background: #eaf3fc;
    transform: translateY(-2px);
}


/* =========================================
   3. SECCIÓN DE PROPÓSITO / PROPUESTA SOCIAL
   ========================================= */
.act-purpose-section {
    background: var(--ac-bg);
}

.act-purpose-box {
    background: var(--ac-white);
    padding: 50px;
    border-radius: var(--ac-radius);
    box-shadow: var(--ac-shadow);
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    border-top: 5px solid var(--ac-orange);
}

.act-purpose-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.act-purpose-box h2 {
    margin: 10px 0 20px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--ac-primary-dark);
}

.act-purpose-box p {
    color: var(--ac-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 30px;
}


/* =========================================
   4. SECCIÓN CONÓCENOS
   ========================================= */
.act-about-section {
    background: var(--ac-white);
}

.act-about-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.act-about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border: 1px solid #e1e8f3;
    border-radius: var(--ac-radius);
    background: var(--ac-white);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.act-about-card:hover {
    transform: translateY(-6px);
    border-color: var(--ac-primary);
    box-shadow: var(--ac-shadow);
}

.act-about-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: var(--ac-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.act-about-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.act-about-card h3 {
    margin: 0 0 8px;
    color: var(--ac-primary-dark);
    font-size: 1.05rem;
}

.act-about-card span {
    color: var(--ac-orange);
    font-size: 0.85rem;
    font-weight: 700;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .act-banner-card {
        padding: 40px 30px;
    }
    .act-about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .act-section {
        padding: 55px 0;
    }
    .act-banner-card {
        padding: 30px 20px;
    }
    .act-purpose-box {
        padding: 30px 20px;
    }
    .act-about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}