/*
Theme Name: Súmate HDC
Theme URI: https://hogardecristo.cl/sumate
Author: Digitalproserver
Author URI: https://digitalproserver.com
Description: Theme Súmate
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0
Text Domain: Súmate HDC
*/

    /* =========================================
       1. VARIABLES Y ESTILOS BASE
       ========================================= */
    :root {
        --primary-green: #84bd00;
        --dark-green: #5a8100;
        --accent-orange: #ff6b00;
        --text-dark: #333333;
        --text-light: #666666;
        --bg-light: #f8f9fa;
        --brand-blue: #0099a8; /* Azul extraído del logo de Hogar de Cristo */
    }

    body {
        font-family: 'Open Sans', sans-serif;
        color: var(--text-dark);
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
    }

    /* =========================================
       2. NAVBAR Y MENÚS
       ========================================= */
/* =========================================
   2. NAVBAR Y MENÚS
   ========================================= */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar-brand img {
    height: 50px;
}

/* Enlaces principales del navbar */
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    padding-bottom: 10px; /* espacio para que se vea la línea */
}

/* Línea verde animada — usamos ::before para no chocar con Bootstrap */
.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before,
.navbar-nav .nav-item.show .nav-link::before {
    width: 100%;
}

/* ELIMINAR la flecha (caret) de Bootstrap en los dropdown-toggle */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Submenús (Dropdowns) */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    margin-top: 15px;
    min-width: 220px;
}
.dropdown-item {
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 20px;
    transition: all 0.2s;
    position: relative;
}
.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-green);
    padding-left: 25px;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary-green);
    opacity: 0;
    transition: opacity 0.2s;
}
.dropdown-item:hover::before {
    opacity: 1;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

    /* =========================================
       3. BOTONES GLOBALES
       ========================================= */
    .btn-main-cta {
        background-color: var(--primary-green);
        color: white !important;
        border-radius: 50px;
        padding: 10px 25px;
        font-weight: 700;
        border: none;
        transition: transform 0.2s, background 0.3s;
        box-shadow: 0 4px 10px rgba(132, 189, 0, 0.3);
    }
    .btn-main-cta:hover {
        background-color: var(--dark-green);
        transform: scale(1.05);
    }
    .btn-hero {
        background-color: var(--accent-orange);
        color: white;
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50px;
        border: none;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .btn-hero:hover {
        background-color: #e05e00;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        color: white;
    }
    .btn-outline-green {
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
        border-radius: 50px;
        padding: 8px 20px;
        font-weight: 600;
        transition: all 0.3s;
    }
    .btn-outline-green:hover {
        background-color: var(--primary-green);
        color: white;
    }
    .btn-colabora-hoy {
        background-color: white;
        color: var(--brand-blue) !important;
        padding: 15px 60px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50px;
        border: none;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .btn-colabora-hoy:hover {
        background-color: #f0f0f0;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        color: #007a87 !important;
    }

    /* =========================================
       4. HERO SECTIONS (HOME Y PÁGINAS INTERNAS)
       ========================================= */
    .hero {
        position: relative;
        height: 85vh;
        min-height: 600px;
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('https://www.hogardecristo.cl/sumate/wp-content/uploads/2026/09/DSC09970-1-scaled.jpg');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        margin-top: 80px;
    }
    .hero-content {
        max-width: 800px;
        padding: 0 20px;
        animation: fadeInUp 1s ease-out;
    }
    .hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    .hero p {
        font-size: 1.25rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    .page-hero {
        position: relative;
        height: 50vh;
        min-height: 400px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        margin-top: 60px;
    }
    .page-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    /* =========================================
       5. SECCIONES DE CONTENIDO GENERAL
       ========================================= */
    .content-section {
        padding: 80px 0;
    }
    .content-section h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--brand-blue);
        margin-bottom: 20px;
    }
    .content-section p {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--text-light);
        margin-bottom: 20px;
    }

    /* =========================================
       6. SECCIÓN DE IMPACTO (NÚMEROS)
       ========================================= */
    .impact-section {
        padding: 80px 0;
        background-color: var(--bg-light);
    }
    .stat-card {
        text-align: center;
        padding: 30px 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        height: 100%;
        border-bottom: 4px solid var(--primary-green);
    }
    .stat-card:hover {
        transform: translateY(-10px);
    }
    .stat-number {
        font-size: 3rem;
        font-weight: 800;
        color: var(--primary-green);
        line-height: 1;
        margin-bottom: 10px;
    }
    .stat-label {
        font-size: 1rem;
        color: var(--text-light);
        font-weight: 600;
    }
    /* Estadística Destacada (Ancho Completo) */
    .impact-highlight-section {
        width: 100%;
        background-color: var(--primary-green);
    }
    .stat-card-fullwidth {
        text-align: center;
        padding: 60px 20px;
        color: white;
        width: 100%;
    }
    .stat-card-fullwidth .stat-number {
        font-size: 3rem;
        font-weight: 800;
        color: white;
        line-height: 1;
        margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }
    .stat-card-fullwidth .stat-label {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        max-width: 800px;
        margin: 0 auto;
    }

    /* =========================================
       7. SECCIÓN DE COLEGIOS
       ========================================= */
    .schools-section {
        padding: 80px 0;
        background-color: white;
    }
    .school-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s;
        height: 100%;
        background: white;
    }
    .school-card:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }
    .school-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    .school-card .card-body {
        padding: 25px;
        text-align: center;
    }
    .school-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--primary-green);
    }
    .school-card .location {
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 15px;
        display: block;
        width: auto;
    }
/* Contenedor de los niveles */
.levels-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

/* Cada nivel individual */
.school-card .level {
    font-size: 0.85rem;
    color: var(--text-light);
    background-color: var(--bg-light);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}
.school-card .level:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

    /* =========================================
       8. SECCIÓN DE NOTICIAS
       ========================================= */
    .news-section {
        padding: 80px 0;
        background-color: var(--bg-light);
    }
    .news-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s;
        height: 100%;
        background: white;
        display: flex;
        flex-direction: column;
    }
    .news-card:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }
    .news-img-wrapper {
        height: 200px;
        overflow: hidden;
        position: relative;
    }
    .news-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    .news-card:hover .news-img-wrapper img {
        transform: scale(1.1);
    }
    .news-date {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--accent-orange);
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
    }
    .news-card .card-body {
        padding: 25px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .news-card h5 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .news-card p {
        font-size: 0.9rem;
        color: var(--text-light);
        flex-grow: 1;
    }
    .news-card .btn-link {
        color: var(--primary-green);
        font-weight: 700;
        text-decoration: none;
        padding: 0;
        text-align: left;
        transition: color 0.3s;
    }
    .news-card .btn-link:hover {
        color: var(--dark-green);
        text-decoration: underline;
    }
    .news-card .btn-link i {
        margin-left: 5px;
        transition: transform 0.3s;
    }
    .news-card .btn-link:hover i {
        transform: translateX(5px);
    }

    /* =========================================
       9. SECCIÓN DE TRAYECTORIAS / HISTORIAS
       ========================================= */
    .stories-section {
        padding: 80px 0;
        background-color: var(--primary-green);
        color: white;
    }
    .story-card {
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
        padding: 30px;
        height: 100%;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.2);
    }
    .story-card img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
        border: 3px solid white;
    }
    .story-card p {
        font-style: italic;
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    .story-card h5 {
        font-weight: 700;
        margin-bottom: 5px;
    }
    .story-card small {
        opacity: 0.8;
    }

    /* =========================================
       10. SECCIÓN DE VIDEO
       ========================================= */
    .video-section {
        padding: 80px 0;
        background-color: var(--brand-blue);
        color: white;
    }
    .video-wrapper {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        background-color: #000;
    }
    .video-wrapper video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 15px;
    }

    /* =========================================
       11. SECCIÓN EQUIPO Y DIRECTORIO
       ========================================= */
    .team-section, .directorio-section {
        background-color: white;
    }
    .team-card {
        text-align: center;
        padding: 30px 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        height: 100%;
        border-bottom: 4px solid var(--primary-green);
    }
    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    .team-card img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
        border: 4px solid var(--bg-light);
    }
    .team-card h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
        color: var(--text-dark);
    }
    .team-card p {
        font-size: 0.9rem;
        color: var(--primary-green);
        font-weight: 600;
    }

    /* =========================================
       12. SECCIÓN VISIÓN Y PILARES
       ========================================= */
    .vision-section {
        background-color: var(--primary-green);
        color: white;
    }
    .vision-section h2 {
        color: white;
    }
    .vision-section p {
        color: rgba(255,255,255,0.9);
    }
    .vision-card {
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
        padding: 40px 30px;
        height: 100%;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.2);
    }
    .vision-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: white;
    }

    /* =========================================
       13. SECCIÓN FE Y ALEGRÍA / TRAYECTORIA
       ========================================= */
    .feyalegria-section {
        background-color: var(--bg-light);
    }
    .feyalegria-img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .trayectoria-img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 100%;
        height: auto;
    }

    /* =========================================
       14. FOOTER
       ========================================= */
    footer {
        background-color: #1a1a1a;
        color: #ccc;
        padding: 60px 0 20px;
    }
    footer h5 {
        color: white;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    footer ul {
        list-style: none;
        padding: 0;
    }
    footer ul li {
        margin-bottom: 10px;
    }
    footer ul li a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s;
    }
    footer ul li a:hover {
        color: var(--primary-green);
    }
    .social-icons a {
        color: white;
        font-size: 1.5rem;
        margin-right: 15px;
        transition: color 0.3s, transform 0.3s;
        display: inline-block;
    }
    .social-icons a:hover {
        color: var(--primary-green);
        transform: translateY(-3px);
    }
    .footer-bottom {
        border-top: 1px solid #333;
        padding-top: 20px;
        margin-top: 40px;
        text-align: center;
        font-size: 0.9rem;
    }
    .logo-placeholder {
        width: 150px;
        height: 60px;
        background-color: #333;
        border: 1px dashed #666;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    /* =========================================
       15. ANIMACIONES
       ========================================= */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* =========================================
       16. MEDIA QUERIES (RESPONSIVE)
       ========================================= */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2rem;
        }
        .hero p {
            font-size: 1rem;
        }
        .stat-number {
            font-size: 2.5rem;
        }
        .btn-main-cta {
            margin-top: 10px;
            width: 100%;
            text-align: center;
        }
        .stat-card-fullwidth {
            padding: 40px 15px;
        }
        .stat-card-fullwidth .stat-number {
            font-size: 2.5rem;
        }
        .stat-card-fullwidth .stat-label {
            font-size: 0.9rem;
        }
        .video-section {
            padding: 50px 0;
        }
        .btn-colabora-hoy {
            width: 100%;
            padding: 12px 20px;
        }
    }












    /* =========================================
       24. SINGLE POST (PÁGINA DE NOTICIA INDIVIDUAL)
       ========================================= */
    
    /* Hero de la noticia: Fondo verde al 100% con imagen en container */
    .single-hero-wrapper {
        width: 100%;
        background-color: var(--brand-blue); /* Fondo verde al 100% */
        margin-top: 57px; /* Compensa el navbar fijo */
        padding: 0 0 0 0; /* Padding superior para que la imagen "flote" */
    }
    .single-hero-wrapper .container {
        padding: 0 15px; /* Padding estándar de Bootstrap */
    }
    .single-hero-image {
        width: 100%;
        height: auto;
        max-height: 550px;
        object-fit: cover;
        border-radius: 0; /* Bordes redondeados solo arriba */
        box-shadow: 0 -10px 30px rgba(0,0,0,0.15); /* Sombra sutil hacia arriba */
        display: block;
    }
    .single-featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Contenedor general */
    .single-post-container {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    /* Título de la noticia */
    .single-post-title {
        font-size: 2.8rem;
        font-weight: 800;
        color: var(--text-dark);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    /* Meta información (fecha y categoría) */
    .single-post-meta {
        font-size: 0.95rem;
        color: var(--text-light);
        display: inline-block;
        width: 100%;
    }
    .single-post-meta i {
        color: var(--primary-green);
    }

    /* Cuerpo del contenido */
    .single-post-body {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-dark);
    }
    .single-post-body p {
        margin-bottom: 20px;
    }
    .single-post-body h2, 
    .single-post-body h3, 
    .single-post-body h4 {
        margin-top: 40px;
        margin-bottom: 20px;
        color: var(--text-dark);
    }
    .single-post-body img {
        border-radius: 15px;
        margin: 20px 0;
    }
    .single-post-body blockquote {
        border-left: 5px solid var(--primary-green);
        padding-left: 20px;
        font-style: italic;
        color: var(--text-light);
        margin: 30px 0;
    }
    .single-post-body ul, 
    .single-post-body ol {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    /* Navegación entre posts */
    .post-navigation a {
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s;
    }
    .post-navigation a:hover {
        color: var(--dark-green);
    }
    .post-navigation .nav-label {
        font-size: 0.85rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Sidebar */
    .single-sidebar {
        background-color: var(--bg-light);
        border-radius: 15px;
        padding: 30px;
        position: sticky;
        top: 100px; /* Se queda fijo al hacer scroll */
    }
    .sidebar-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 3px solid var(--primary-green);
        display: inline-block;
    }

    /* Items de últimas noticias */
    .sidebar-news-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .sidebar-news-item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        padding: 10px;
        border-radius: 10px;
        transition: all 0.3s;
    }
    .sidebar-news-item:hover {
        background-color: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transform: translateX(5px);
    }
    .sidebar-news-thumb {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        border-radius: 10px;
        overflow: hidden;
    }
    .sidebar-news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .sidebar-news-info h4 {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 5px;
        line-height: 1.4;
        transition: color 0.3s;
    }
    .sidebar-news-item:hover .sidebar-news-info h4 {
        color: var(--primary-green);
    }
    .sidebar-news-info small {
        font-size: 0.8rem;
        color: var(--text-light);
    }

    /* Ajustes Responsivos */
    @media (max-width: 992px) {
        .single-sidebar {
            position: relative;
            top: 0;
            margin-top: 40px;
        }
    }
    @media (max-width: 768px) {
        .single-featured-image {
            height: 40vh;
            min-height: 250px;
        }
        .single-post-title {
            font-size: 2rem;
        }
        .single-post-container {
            padding-top: 40px;
            padding-bottom: 50px;
        }
        .single-post-body {
            font-size: 1rem;
        }
        .sidebar-news-thumb {
            width: 60px;
            height: 60px;
        }
        .sidebar-news-info h4 {
            font-size: 0.85rem;
        }
    }


        /* =========================================
       25. BOTONES DE COMPARTIR EN REDES SOCIALES
       ========================================= */
    .share-buttons {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 25px 0 35px 0;
        padding: 20px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        flex-wrap: wrap;
    }
    .share-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-dark);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-right: 10px;
    }
    .share-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: white;
        text-decoration: none;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .share-btn:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        color: white;
    }

    /* Colores específicos de cada red social */
    .share-btn.facebook {
        background-color: #1877f2;
    }
    .share-btn.facebook:hover {
        background-color: #0d65d9;
    }
    .share-btn.twitter {
        background-color: #000000;
    }
    .share-btn.twitter:hover {
        background-color: #333333;
    }
    .share-btn.linkedin {
        background-color: #0a66c2;
    }
    .share-btn.linkedin:hover {
        background-color: #084d92;
    }
    .share-btn.whatsapp {
        background-color: #25d366;
    }
    .share-btn.whatsapp:hover {
        background-color: #1da851;
    }

    /* Ajustes Responsivos */
    @media (max-width: 768px) {
        .share-buttons {
            justify-content: center;
            gap: 10px;
        }
        .share-label {
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
            margin-right: 0;
        }
        .share-btn {
            width: 38px;
            height: 38px;
            font-size: 0.9rem;
        }
    }
        /* Botón Copiar Enlace */
    .share-btn.copy-link {
        background-color: #6c757d; /* Gris neutro */
        border: none;
        cursor: pointer;
        position: relative;
    }
    .share-btn.copy-link:hover {
        background-color: #5a6268;
    }
    .share-btn.copy-link.copied {
        background-color: var(--primary-green);
    }
    .share-btn.copy-link.copied:hover {
        background-color: var(--dark-green);
    }

    /* Tooltip "¡Copiado!" */
    .copy-tooltip {
        position: absolute;
        bottom: 130%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.75rem;
        white-space: nowrap;
        font-weight: 600;
        animation: fadeInTooltip 0.3s ease-out;
        pointer-events: none;
        z-index: 10;
    }
    .copy-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }
    @keyframes fadeInTooltip {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(5px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }







    /* =========================================
       26. PAGINACIÓN DE CATEGORÍA
       ========================================= */
    .pagination-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .pagination-wrapper .page-numbers {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 8px;
        flex-wrap: wrap;
    }
    .pagination-wrapper .page-numbers li {
        margin: 0;
        padding: 0;
    }
    .pagination-wrapper .page-numbers a,
    .pagination-wrapper .page-numbers span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 45px;
        height: 45px;
        padding: 0 15px;
        border-radius: 50px;
        background-color: white;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    .pagination-wrapper .page-numbers a:hover {
        background-color: var(--primary-green);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(132, 189, 0, 0.3);
    }
    .pagination-wrapper .page-numbers .current {
        background-color: var(--primary-green);
        color: white;
        box-shadow: 0 5px 15px rgba(132, 189, 0, 0.4);
    }
    .pagination-wrapper .page-numbers .dots {
        background: transparent;
        box-shadow: none;
        color: var(--text-light);
        cursor: default;
    }
    .pagination-wrapper .page-numbers .prev,
    .pagination-wrapper .page-numbers .next {
        padding: 0 20px;
        font-size: 0.9rem;
    }
    .pagination-wrapper .page-numbers .prev i,
    .pagination-wrapper .page-numbers .next i {
        margin: 0 5px;
    }

    /* Ajustes Responsivos */
    @media (max-width: 768px) {
        .pagination-wrapper .page-numbers {
            gap: 5px;
        }
        .pagination-wrapper .page-numbers a,
        .pagination-wrapper .page-numbers span {
            min-width: 38px;
            height: 38px;
            padding: 0 10px;
            font-size: 0.85rem;
        }
        .pagination-wrapper .page-numbers .prev,
        .pagination-wrapper .page-numbers .next {
            padding: 0 12px;
        }
    }








        /* =========================================
       27. BOTÓN FLOTANTE DE WHATSAPP
       ========================================= */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background-color: #25d366; /* Verde oficial de WhatsApp */
        color: white !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        text-decoration: none;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
        z-index: 9999; /* Siempre por encima de todo */
        transition: all 0.3s ease;
        animation: fadeInWhatsApp 0.5s ease-out;
    }
    .whatsapp-float:hover {
        background-color: #1da851;
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
        color: white !important;
    }

    /* Animación de pulso continuo */
    .whatsapp-float::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #25d366;
        z-index: -1;
        animation: pulseWhatsApp 2s infinite;
    }

    /* Tooltip */
    .whatsapp-tooltip {
        position: absolute;
        right: 75px;
        background-color: #333;
        color: white;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition: all 0.3s ease;
        pointer-events: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    .whatsapp-tooltip::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -8px;
        transform: translateY(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent transparent #333;
    }
    .whatsapp-float:hover .whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Animaciones */
    @keyframes fadeInWhatsApp {
        from {
            opacity: 0;
            transform: scale(0.5) translateY(20px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    @keyframes pulseWhatsApp {
        0% {
            transform: scale(1);
            opacity: 0.7;
        }
        70% {
            transform: scale(1.5);
            opacity: 0;
        }
        100% {
            transform: scale(1.5);
            opacity: 0;
        }
    }

    /* Ajustes Responsivos */
    @media (max-width: 768px) {
        .whatsapp-float {
            width: 55px;
            height: 55px;
            font-size: 1.6rem;
            bottom: 20px;
            right: 20px;
        }
        .whatsapp-tooltip {
            display: none; /* Ocultar tooltip en móvil para no estorbar */
        }
    }



    /* =========================================
       3. SECCIÓN OPCIONES (COLEGIOS Y PROGRAMAS)
       ========================================= */
    .option-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        transition: all 0.3s;
        height: 100%;
        border-top: 5px solid var(--brand-blue);
    }
    .option-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    .option-card-header {
        background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
        color: white;
        padding: 30px;
        text-align: center;
    }
    .option-card-header i {
        font-size: 3rem;
        margin-bottom: 15px;
        opacity: 0.9;
    }
    .option-card-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0;
        color: black;
    }
    .option-card-body {
        padding: 30px;
    }
    .option-card-body ul {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }
    .option-card-body ul li {
        padding: 8px 0 8px 30px;
        position: relative;
        font-size: 1rem;
        color: var(--text-dark);
        border-bottom: 1px solid #f0f0f0;
    }
    .option-card-body ul li:last-child { 
        border-bottom: none; 
    }
    .option-card-body ul li::before {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        color: var(--primary-green);
        font-size: 0.9rem;
    }
    .option-card-body .ubicaciones-title {
        font-weight: 700;
        color: var(--text-dark);
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .option-card-body .ubicacion-link {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        background-color: var(--bg-light);
        border-radius: 10px;
        margin-bottom: 8px;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s;
    }
    .option-card-body .ubicacion-link:hover {
        background-color: var(--brand-blue);
        color: white;
        transform: translateX(5px);
    }
    .option-card-body .ubicacion-link i {
        margin-right: 10px;
        color: var(--brand-blue);
        transition: color 0.3s;
    }
    .option-card-body .ubicacion-link:hover i {
        color: white;
    }

    /* =========================================
       4. SECCIÓN CTA WHATSAPP
       ========================================= */
    .cta-whatsapp-section {
        padding: 80px 0;
        background-color: var(--bg-light);
    }
    .cta-whatsapp-card {
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
        border-radius: 25px;
        padding: 60px 40px;
        color: white;
        text-align: center;
        box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
    }
    .cta-whatsapp-card i.whatsapp-big-icon {
        font-size: 4rem;
        margin-bottom: 20px;
        display: block;
    }
    .cta-whatsapp-card h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: white;
    }
    .cta-whatsapp-card p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.95;
    }
    .btn-whatsapp-cta {
        background-color: white;
        color: #25d366 !important;
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 50px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    .btn-whatsapp-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.25);
        color: #128c7e !important;
    }

    /* =========================================
       5. SECCIÓN FORMULARIO
       ========================================= */
    .form-section {
        padding: 80px 0;
        background-color: white;
    }
    .form-wrapper {
        border: 1px solid #eee;
        background-color: #fff;
        border-radius: 20px;
        padding: 50px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    .form-wrapper h3 {
        color: var(--text-dark);
        font-weight: 700;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .form-wrapper .form-subtitle {
        color: var(--text-light);
        margin-bottom: 30px;
    }
    .form-control {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        padding: 12px 15px;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    .form-control:focus {
        border-color: var(--brand-blue);
        box-shadow: 0 0 0 0.25rem rgba(0, 153, 168, 0.25);
    }
    .form-label {
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 8px;
    }
    .btn-submit {
        background-color: var(--brand-blue);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s;
    }
    .btn-submit:hover {
        background-color: var(--brand-blue-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 153, 168, 0.3);
        color: white;
    }

    /* =========================================
       6. RESPONSIVE
       ========================================= */
    @media (max-width: 768px) {
        .page-hero h1 { 
            font-size: 2rem; 
        }
        .page-hero p { 
            font-size: 1rem; 
        }
        .content-section h2 { 
            font-size: 1.8rem; 
        }
        .option-card-header { 
            padding: 20px; 
        }
        .option-card-header h3 { 
            font-size: 1.2rem; 
        }
        .option-card-body { 
            padding: 20px; 
        }
        .cta-whatsapp-card { 
            padding: 40px 20px; 
        }
        .cta-whatsapp-card h3 { 
            font-size: 1.4rem; 
        }
        .form-wrapper { 
            padding: 25px 20px; 
        }
    }








/* =========================================
   CONTACT FORM 7 - ESTILO SÚMATE HDC
   ========================================= */

/* Resetea los <p> que CF7 inyecta por defecto */
.form-wrapper .wpcf7 form p {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* El span que envuelve cada campo debe ocupar todo el ancho */
.form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Labels del formulario CF7 */
.form-wrapper .wpcf7 label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
    width: 100%;
}

/* Inputs, textarea y selects de CF7 */
.form-wrapper .wpcf7 .form-control,
.form-wrapper .wpcf7 input[type="text"],
.form-wrapper .wpcf7 input[type="email"],
.form-wrapper .wpcf7 input[type="tel"],
.form-wrapper .wpcf7 input[type="date"],
.form-wrapper .wpcf7 input[type="url"],
.form-wrapper .wpcf7 input[type="number"],
.form-wrapper .wpcf7 textarea,
.form-wrapper .wpcf7 select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    color: var(--text-dark);
    font-family: 'Open Sans', sans-serif;
}

/* Foco (mismo color que el maquetado: brand-blue) */
.form-wrapper .wpcf7 .form-control:focus,
.form-wrapper .wpcf7 input:focus,
.form-wrapper .wpcf7 textarea:focus,
.form-wrapper .wpcf7 select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 168, 0.25);
    outline: none;
}

/* Botón submit de CF7 */
.form-wrapper .wpcf7 input[type="submit"],
.form-wrapper .wpcf7 .btn-submit,
.form-wrapper .wpcf7 .wpcf7-submit {
    background-color: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
}

.form-wrapper .wpcf7 input[type="submit"]:hover,
.form-wrapper .wpcf7 .btn-submit:hover,
.form-wrapper .wpcf7 .wpcf7-submit:hover {
    background-color: var(--brand-blue-dark, #007a87);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 153, 168, 0.3);
    color: white;
}

/* Estrellita roja de campo obligatorio (por si CF7 la añade) */
.form-wrapper .wpcf7 .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Mensajes de error / éxito */
.form-wrapper .wpcf7 .wpcf7-response-output {
    border-radius: 10px;
    margin-top: 20px;
    padding: 15px 20px;
    font-weight: 600;
    border-width: 2px;
}

.form-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.form-wrapper .wpcf7 form.failed .wpcf7-response-output,
.form-wrapper .wpcf7 form.aborted .wpcf7-response-output {
    border-color: #dc3545;
    background-color: #fff5f5;
    color: #dc3545;
}

.form-wrapper .wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--primary-green);
    background-color: #f5fbeb;
    color: var(--dark-green);
}

/* Spinner de carga */
.form-wrapper .wpcf7 .wpcf7-spinner {
    margin: 15px auto 0;
    display: block;
}

/* Ajuste responsivo: en móvil el botón ya es full width por defecto */
@media (max-width: 768px) {
    .form-wrapper .wpcf7 input[type="submit"],
    .form-wrapper .wpcf7 .wpcf7-submit {
        font-size: 1rem;
        padding: 13px;
    }
}

.form-wrapper .wpcf7 input[name="fecha-nacimiento"] {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    width: 100%;
}

