/* Estilos específicos para la página de Vuelta al Trabajo Post COVID-19 (post-covid.html) */

/* Sección Hero */
.post-covid-hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Altura mínima para la sección hero */
    padding: 100px 20px;
    text-align: center;
    color: var(--pure-white);
    background: url('https://placehold.co/1920x600/2c3e50/FFFFFF?text=Vuelta+al+Trabajo+Seguro') no-repeat center center/cover; /* Imagen de fondo */
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6); /* Overlay oscuro */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.post-covid-hero-section .hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.post-covid-hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--pure-white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.post-covid-hero-section p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: var(--pure-white);
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.post-covid-hero-section .btn {
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: var(--pure-white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.post-covid-hero-section .btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Estilos Generales para Secciones de Contenido */
.importance-section,
.key-services-section,
.why-choose-us-section,
.cta-section {
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.importance-section {
    background-color: var(--pure-white);
}

.key-services-section {
    background-color: var(--light-gray);
}

.why-choose-us-section {
    background-color: var(--light-blue);
}

.cta-section {
    background-color: var(--primary-color);
    color: var(--pure-white);
    padding: 60px 20px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.key-services-section .section-title,
.why-choose-us-section .section-title {
    color: var(--dark-blue);
}


/* Sección - La Importancia de un Retorno Seguro - Contenido */
.importance-section .content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.importance-section .text-content {
    flex: 1;
}

.importance-section .text-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.importance-section .image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.importance-section .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Sección - Nuestros Servicios Clave */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--pure-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #bfe5f7; /* Ícono blanco para que resalte */
    background: var(--primary-color); /* Fondo azul */
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Sección - ¿Por qué Elegir MIP-D? */
.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.reason-card {
    background-color: var(--pure-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.reason-check-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    flex-shrink: 0; /* Evita que el ícono se encoja */
    margin-top: 3px; /* Alineación visual */
}

.reason-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.reason-card p strong {
    color: var(--dark-blue);
}

/* Sección de Llamada a la Acción (CTA) */
.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
    background-color: var(--secondary-color);
    color: var(--pure-white);
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Media Queries para Responsividad */
@media (max-width: 1024px) {
    .post-covid-hero-section h1 {
        font-size: 3.5rem;
    }
    .post-covid-hero-section p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .importance-section .content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .importance-section .image-content {
        order: -1; /* Mueve la imagen arriba en móvil */
        margin-bottom: 30px;
    }
    .service-item h3 {
        font-size: 1.6rem;
    }
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .post-covid-hero-section {
        min-height: 400px;
        padding: 80px 15px;
    }
    .post-covid-hero-section h1 {
        font-size: 2.8rem;
    }
    .post-covid-hero-section p {
        font-size: 0.95rem;
    }
    .post-covid-hero-section .btn {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .importance-section,
    .key-services-section,
    .why-choose-us-section,
    .cta-section {
        padding: 60px 15px;
        margin: 30px auto;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .importance-section .text-content p {
        font-size: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
        gap: 30px;
    }
    .service-item {
        padding: 25px;
    }
    .service-icon {
        font-size: 3rem;
    }
    .service-item h3 {
        font-size: 1.5rem;
    }
    .reason-card {
        padding: 20px;
    }
    .reason-card p {
        font-size: 1rem;
    }
    .reason-check-icon {
        font-size: 1.5rem;
    }
    .cta-section h2 {
        font-size: 1.8rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
    .cta-section .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .post-covid-hero-section h1 {
        font-size: 2rem;
    }
    .post-covid-hero-section .btn {
        width: 100%;
        max-width: 250px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* Variables de color (asegúrate de que estén definidas en Home.css o añádelas aquí si no lo están) */
:root {
    --primary-color: #007bff; /* Azul vibrante */
    --primary-dark: #0056b3; /* Azul más oscuro */
    --secondary-color: #28a745; /* Verde para acentos */
    --secondary-dark: #1e7e34; /* Verde más oscuro */
    --dark-blue: #2c3e50; /* Azul muy oscuro para texto/fondos */
    --light-blue: #e8f4f8; /* Azul muy claro */
    --dark-gray: #34495e; /* Gris oscuro */
    --light-gray: #f8f9fa; /* Gris muy claro */
    --pure-white: #ffffff; /* Blanco puro */
    --text-color: #555; /* Color de texto general */
    --primary-color-rgb: 0, 123, 255; /* RGB del color primario para sombras */
}
