/* ================================================= */
/* 0. VARIABLES Y ESTILOS GLOBALES                   */
/* ================================================= */
:root {
    --primary-color: #244230;
    --secondary-color: #214b45;
    --text-color: #333;
    --light-grey: #f4f4f4;
    --white: #fff;
    --soft-white-hover: #fcfcfc;
    --dark-grey-text: #666;
}

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

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #1a252f;
}

.btn-secondary-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px; /* Espacio entre los botones */
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


/* ================================================= */
/* 1. HEADER Y NAVEGACIÓN (GLOBAL)                   */
/* ================================================= */
.header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100; 
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 0;
    flex-shrink: 0;
}

.logo a {
    display: block;
    line-height: 0;
    width: fit-content;
    height: fit-content;
}

.logo img {
    height: 75px;
    display: block;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: yellow;
}

/* Menú Hamburguesa */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 1000;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
}


/* ================================================= */
/* 2. SECCIONES DE CONTENIDO GENERALES               */
/* ================================================= */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.services-button-container {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 0px;
}

.content-section {
    padding: 80px 0;
}

/* Títulos H1 y H2 dentro de secciones de contenido */
.content-section h1 {
    font-size: 3.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

/* Estilo para párrafos y listas en secciones de contenido */
.content-section p,
.content-section ul {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--dark-grey-text);
    font-size: 1.1em;
}

.content-section ul {
    list-style: disc;
    margin-left: 25px;
}

.content-section ul li {
    margin-bottom: 10px;
}


.grey-background {
    background-color: var(--light-grey);
}


/* ================================================= */
/* 3. SECCIÓN DE SERVICIOS                           */
/* ================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.service-card {
    background-color: var(--white);
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 5px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--soft-white-hover);
    border-bottom: 5px solid var(--primary-color);
}

.service-card img {
    width: 150px; /* Corregido a 'width' */
    height: 150px; /* Ajustado para un círculo si se usa border-radius: 50% */
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 30%; /* Cambiado a 50% para iconos circulares, asumiendo intención */
    background-color: #e0f2f1;
    padding: 5px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service-card h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card h3 a:hover {
    color: var(--secondary-color);
}

.service-card p {
    font-size: 16px;
    color: var(--dark-grey-text);
}


/* ================================================= */
/* 4. SECCIÓN DE NOTICIAS (BLOG)                     */
/* ================================================= */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-post-card .post-content {
    padding: 20px;
}

.blog-post-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.blog-post-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-card h3 a:hover {
    color: var(--secondary-color);
}

.blog-post-card .post-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.blog-post-card p {
    font-size: 15px;
    color: var(--dark-grey-text);
    margin-bottom: 20px;
}

.blog-post-card .read-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.blog-post-card .read-more-btn:hover {
    background-color: var(--secondary-color);
}

/* Estilos para la Página de Noticia Individual */
.blog-single-post {
    text-align: left;
    padding-top: 50px;
    padding-bottom: 80px;
}

.blog-single-post .post-main-image {
    max-width: 600px;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-single-post h1 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.blog-single-post h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-single-post p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.blog-single-post ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--text-color);
}

.blog-single-post ul li {
    margin-bottom: 10px;
}

.blog-single-post .post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

.blog-single-post .post-meta a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-single-post .post-meta a:hover {
    color: var(--secondary-color);
}

/* ================================================= */
/* 5. SECCIÓN DE TESTIMONIOS                         */
/* ================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark-grey-text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: auto;
}


/* ================================================= */
/* 6. SECCIÓN SOBRE NOSOTROS (About Us)              */
/* ================================================= */
.team-members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.team-member-card {
    text-align: center;
    max-width: 200px;
    min-width: 150px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-member-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.team-member-card h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 5px;
    margin-top: 0;
}

.team-member-card p {
    font-size: 1em;
    color: var(--dark-grey-text);
    margin: 0;
    line-height: 1.3;
}

.imagen-acerca-de {
    max-width: 800px; /* O el ancho máximo que quieras para la imagen */
    margin: 20px auto; /* Centra el contenedor y añade margen superior/inferior */
    text-align: center; /* Centra la imagen si es más pequeña que el contenedor */
}

.imagen-acerca-de video {
    max-width: 100%; /* Asegura que la imagen no se desborde de su contenedor */
    height: auto;    /* Mantiene la proporción de la imagen al escalar */
    display: block;  /* Elimina espacio extra debajo de la imagen (si la pones sin texto debajo) */
    border-radius: 8px; /* Opcional: si quieres esquinas redondeadas como en las tarjetas */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Opcional: una sombra sutil */
}

/* ================================================= */
/* 7. SECCIÓN DE CONTACTO                            */
/* ================================================= */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-item {
    padding: 20px;
    background-color: var(--light-grey);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3em;
}
.contact-item p {
    margin: 0;
    color: var(--dark-grey-text);
    line-height: 1.5;
}

/* Estilos del contenedor del mapa */
.map-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 0;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/* ================================================= */
/* 8. SECCIÓN DE AFILIACIÓN (NUEVA)                  */
/* ================================================= */

/* Hero Section específica de Afiliación */
.hero-afiliacion {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero-afiliacion h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-afiliacion p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sección de Beneficios */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.beneficio-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.beneficio-card img {
    width: 190px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
}

.beneficio-card h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.beneficio-card p {
    font-size: 1em;
    color: var(--dark-grey-text);
    margin: 0;
}

/* Sección de Proceso de Afiliación */
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.paso-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    padding-top: 60px;
    border-top: 5px solid var(--secondary-color);
}

.paso-card .paso-numero {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.paso-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.paso-card p {
    font-size: 0.95em;
    color: var(--dark-grey-text);
}

.llamada-accion-final {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.llamada-accion-final h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.llamada-accion-final p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Estilos para el Formulario de Interés */
.afiliacion-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.afiliacion-form .btn {
    width: auto;
    margin-top: 10px;
}


/* ================================================= */
/* 9. FOOTER                                         */
/* ================================================= */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-links a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
.social-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


/* ================================================= */
/* 10. MEDIA QUERIES (RESPONSIVE DESIGN)             */
/* ================================================= */

/* MEDIA QUERY: Tablet y Móviles (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Header y Navegación */
    .header .container {
        flex-direction: row; /* Asegura que el logo y hamburguesa estén en la misma fila */
        justify-content: space-between; /* Espacio entre logo y hamburguesa */
        align-items: center;
    }
    .logo {
        width: auto;
        margin-bottom: 0;
        text-align: left;
        flex-shrink: 0;
    }
    .logo img {
        height: 60px;
    }
    .navbar {
        width: auto;
        display: flex; /* Asegura que la navbar sea un flex container para el menú hamburguesa */
        align-items: center;
    }
    .navbar .nav-links {
        display: flex; /* Cambiado de 'none' para que el JS pueda controlarlo */
        flex-direction: column;
        width: 768px; /* Ancho fijo para el menú desplegable */
        background-color: var(--secondary-color);
        position: absolute; /* CLAVE: Posicionamiento absoluto respecto al .header */
        top: 100%; /* CLAVE: Justo debajo del header */
        right: 0; /* CLAVE: Anclado a la derecha */
        left: auto; /* Deshacer cualquier 'left' anterior */
        height: auto;
        padding: 20px 0;
        transform: translateX(-300%); /* Oculto por defecto */
        transition: transform 0.3s ease-in-out;
        z-index: 998; /* Un z-index menor que el hamburguesa pero mayor que el contenido */
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        align-items: flex-end; /* Alinea los enlaces a la derecha */
    }
    .navbar .nav-links.active {
        transform: translateX(0); /* Muestra el menú */
    }
    .navbar .nav-links li {
        margin: 10px 20px;
        width: auto;
    }
    .navbar .nav-links a {
        padding: 10px 0;
        text-align: right;
    }

    .hamburger {
        display: flex; /* CLAVE: Asegura que el hamburguesa sea visible */
        position: relative; /* CLAVE: Asegura que sea parte del flujo del flexbox y clicable */
        z-index: 999; /* CLAVE: Asegura que esté encima del menú y sea clicable */
        width: 30px; /* Mantener tu ancho original para el icono */
        height: 25px; /* Mantener tu altura original para el icono */
        /* Eliminamos 'margin-left: auto' aquí ya que el 'justify-content: space-between' en .header .container lo maneja */
        padding: 0; /* Asegurar que no tenga padding extra que dificulte el click */
        align-items: center;
        justify-content:space-evenly;
    }

    /* Animación del menú hamburguesa al hacer clic */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Secciones de Contenido Generales */
    .hero-section {
        padding: 80px 20px;
    }
    .hero-section h2 {
        font-size: 36px;
    }
    .hero-section p {
        font-size: 18px;
    }
    .content-section {
        padding: 60px 20px;
    }
    .content-section h1 {
        font-size: 2.8em;
    }
    .content-section h2 {
        font-size: 30px;
        margin-top: 40px;
        margin-bottom: 25px;
    }
    .content-section p,
    .content-section ul {
        margin-bottom: 20px;
    }


    /* Sección de Servicios */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    /* Sección de Noticias (Blog) */
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .blog-post-card img {
        height: 180px;
    }
    .blog-post-card h3 {
        font-size: 20px;
    }
    .blog-post-card p {
        font-size: 14px;
    }
    .blog-single-post h1 {
        font-size: 32px;
    }
    .blog-single-post h3 {
        font-size: 24px;
    }
    .blog-single-post p, .blog-single-post ul {
        font-size: 16px;
    }
    /* Sección de Testimonios */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .testimonial-card {
        padding: 25px;
    }
    .testimonial-img {
        width: 80px;
        height: 80px;
    }
    .testimonial-text {
        font-size: 16px;
    }
    /* Sección de Contacto */
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    .map-container {
        height: 300px;
        margin: 20px auto;
    }
    /* Sección Sobre Nosotros (About Us) */


    /* Sección de Afiliación */
    .hero-afiliacion h2 {
        font-size: 2.5em;
    }
    .hero-afiliacion p {
        font-size: 1.1em;
    }
    .beneficios-grid, .pasos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .beneficio-card, .paso-card {
        padding: 25px;
    }
    .paso-card {
        padding-top: 50px;
    }
    .paso-card .paso-numero {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -20px;
    }
    .llamada-accion-final h2 {
        font-size: 2em;
    }
    .afiliacion-form {
        padding: 25px;
    }
}

/* MEDIA QUERY: Móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        box-sizing: border-box;
    }

    /* Header y Navegación */
    .logo img {
        height: 50px;
    }

    /* Secciones de Contenido Generales */
    .hero-section h2 {
        font-size: 28px;
    }
    .hero-section p {
        font-size: 16px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .content-section h1 {
        font-size: 2.2em;
    }
    .content-section h2 {
        font-size: 26px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .content-section p, .content-section ul {
        margin-bottom: 15px;
    }

    /* Sección de Servicios */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }
    .service-card {
        padding: 20px;
        height: auto;
    }
    .service-card img {
        max-width: 175px;
        height: 125px;
        width: 150px;
    }
    .service-card h3 {
        font-size: 18px;
    }
    .service-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Sección de Noticias (Blog) */
    .blog-post-card img {
        height: 150px;
    }
    .blog-post-card .post-content {
        padding: 15px;
    }
    .blog-post-card h3 {
        font-size: 18px;
    }
    .blog-post-card p {
        font-size: 13px;
    }
    .blog-single-post h1 {
        font-size: 26px;
    }
    .blog-single-post h3 {
        font-size: 20px;
    }
    .blog-single-post p, .blog-single-post ul {
        font-size: 15px;
    }

    /* Sección de Testimonios */
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-img {
        width: 70px;
        height: 70px;
    }
    .testimonial-text {
        font-size: 15px;
    }

    /* Sección de Contacto */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 250px;
        margin: 15px auto;
    }

    /* Sección de Afiliación */
    .hero-afiliacion h2 {
        font-size: 2em;
    }
    .hero-afiliacion p {
        font-size: 1em;
    }
    .beneficios-grid, .pasos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .beneficio-card, .paso-card {
        padding: 20px;
    }
    .paso-card {
        padding-top: 40px;
    }
    .paso-card .paso-numero {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
        top: -15px;
    }
    .llamada-accion-final h2 {
        font-size: 1.8em;
    }
    .llamada-accion-final .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    .btn-secondary-outline {
        margin-left: 0;
    }
    .afiliacion-form {
        padding: 20px;
    }
}
.post-content video {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Para que tenga las esquinas redondeadas */
    margin: 20px 0; /* Espacio para separar el video del texto */
    display: block; /* Opcional: para que ocupe su propia línea */
}


/* Sección General de Beneficios */
.benefits-section {
  padding: 60px 20px; /* Espaciado interno para la sección */
  background-color: #f8f9fa; /* Color de fondo gris claro para que destaque */
  font-family: Arial, sans-serif; /* Un tipo de letra común */
  text-align: center;
}

.benefits-section .container {
  max-width: 1140px; /* Ancho máximo para el contenido */
  margin: 0 auto;
}

.benefits-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #343a40; /* Color oscuro para el título */
  margin-bottom: 40px;
}

/* Contenedor de la Cuadrícula de Beneficios */
.benefits-grid {
  display: grid;
  gap: 30px; /* Espacio entre los elementos de la cuadrícula */
  grid-template-columns: repeat(3, 1fr); /* 3 columnas para escritorios */
  padding: 0;
  list-style: none; /* Quitar viñetas si usas listas */
}

/* Tarjetas Individuales de Beneficio */
.benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra para un efecto 3D sutil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  transform: translateY(-8px); /* Efecto de "levantar" al pasar el ratón */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Ícono del Beneficio */
.benefit-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

/* Título de la Tarjeta */
.benefit-card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #007bff; /* Un color de acento, puedes cambiarlo */
  margin-bottom: 10px;
}

/* Descripción de la Tarjeta */
.benefit-card-description {
  font-size: 1em;
  color: #6c757d;
  line-height: 1.6;
}

---

### **Ajustes para Tablets y Teléfonos (Responsive)**

Aquí es donde usamos las **media queries** para adaptar el diseño a diferentes tamaños de pantalla.

```css
/* Para Tablets (ancho de 768px a 1024px) */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

/* Para Teléfonos (ancho menor a 768px) */
@media (max-width: 767px) {
  .benefits-section {
    padding: 40px 15px;
  }
  .benefits-title {
    font-size: 2em;
  }
  .benefits-grid {
    grid-template-columns: 1fr; /* Una sola columna para que se apilen */
  }
  .benefit-card {
    padding: 25px;
  }
}
