/* ================================================
   ASEGURADORAS.CSS - Estilos específicos para aseguradoras.html
   Diseño centrado y básico para todas las secciones
   ================================================ */



/* ===== SECCIÓN SERVICIOS CON ICONOS ===== */
.servicios-section {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicios-container {
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

.servicios-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.servicios-section.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.servicios-section > .servicios-container > p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.servicios-section.animate > .servicios-container > p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.servicios-section.animate .servicio-card {
    opacity: 1;
    transform: translateY(0);
}

.servicios-section.animate .servicio-card:nth-child(1) { animation-delay: 0.4s; }
.servicios-section.animate .servicio-card:nth-child(2) { animation-delay: 0.5s; }
.servicios-section.animate .servicio-card:nth-child(3) { animation-delay: 0.6s; }
.servicios-section.animate .servicio-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes servicioFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BD5 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.servicio-icon i {
    font-size: 1.8rem;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.3);
}

.servicio-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.servicio-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}



/* ===== SECCIÓN BENEFICIOS CON STATS ===== */
.beneficios-section {
    width: 100%;
    min-height: 70vh;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BD5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    color: white;
    position: relative;
}

.beneficios-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.beneficios-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.beneficios-section.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

.beneficios-section > .beneficios-container > p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: white;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.beneficios-section.animate > .beneficios-container > p {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
}

.beneficio-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 0 0 2rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
    border: 2px solid transparent;
    overflow: hidden;
}

.beneficios-section.animate .beneficio-card {
    animation: beneficioFadeIn 0.6s ease-out forwards;
}

.beneficios-section.animate .beneficio-card:nth-child(1) { animation-delay: 0.4s; }
.beneficios-section.animate .beneficio-card:nth-child(2) { animation-delay: 0.5s; }
.beneficios-section.animate .beneficio-card:nth-child(3) { animation-delay: 0.6s; }

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

.beneficio-card:hover {
    transform: translateY(-8px);
    border-color: #4285F4;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.beneficio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.beneficio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.beneficio-card:hover .beneficio-image img {
    transform: scale(1.05);
}

.beneficio-content {
    padding: 2rem 2.5rem;
}

.beneficio-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.beneficio-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== SECCIÓN GESTIÓN MÉDICA PERSONALIZADA ===== */
.gestion-medica-section {
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: white;
}

.gestion-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 4rem;
    align-items: center;
    justify-content: center;
}

.gestion-content {
    flex: 1;
    max-width: 45%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.gestion-medica-section.animate .gestion-content {
    opacity: 1;
    transform: translateX(0);
}

.gestion-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.gestion-medica-section.animate .gestion-image {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.gestion-image img {
    width: 100%;
    max-width: 600px;
    height: 450px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gestion-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.gestion-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}



/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes */
@media (max-width: 1200px) {
    /* Gestión Médica */
    .gestion-container {
        max-width: 1100px;
        gap: 3rem;
    }
    
    .gestion-content {
        max-width: 50%;
        padding: 1.5rem;
    }
    
    .gestion-image {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .gestion-image img {
        max-width: 500px;
        height: 400px;
    }
    
    .gestion-content h2 {
        font-size: 2.4rem;
    }
    
    .gestion-content p {
        font-size: 1.2rem;
    }
    
    /* Servicios */
    .servicios-section h2 {
        font-size: 2.4rem;
    }
    
    .servicios-section > .servicios-container > p {
        font-size: 1.1rem;
    }
    
    .servicios-grid {
        gap: 1.5rem;
    }
    
    .servicio-card {
        padding: 2rem 1.5rem;
    }
    
    .servicio-card h3 {
        font-size: 1.3rem;
    }
    
    /* Beneficios */
    .beneficios-section h2 {
        font-size: 2.4rem;
    }
    
    .beneficios-section > .beneficios-container > p {
        font-size: 1.1rem;
    }
    
    .beneficios-grid {
        gap: 1.5rem;
    }
    
    .beneficio-stat {
        font-size: 2.2rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    /* Gestión Médica */
    .gestion-medica-section {
        padding: 4rem 1.5rem;
    }
    
    .gestion-container {
        gap: 2.5rem;
        max-width: 1000px;
    }
    
    .gestion-content {
        max-width: 55%;
        padding: 1rem;
    }
    
    .gestion-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .gestion-image img {
        max-width: 450px;
        height: 350px;
    }
    
    .gestion-content h2 {
        font-size: 2.2rem;
    }
    
    .gestion-content p {
        font-size: 1.1rem;
    }
    
    /* Servicios */
    .servicios-section {
        padding: 4rem 3rem;
    }
    
    .servicios-section h2 {
        font-size: 2.2rem;
    }
    
    .servicios-section > .servicios-container > p {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .servicio-card {
        padding: 2rem 1.5rem;
    }
    
    .servicio-icon {
        width: 65px;
        height: 65px;
    }
    
    .servicio-card h3 {
        font-size: 1.2rem;
    }
    
    .servicio-card p {
        font-size: 0.95rem;
    }
    
    /* Beneficios */
    .beneficios-section {
        padding: 3rem 1.5rem;
        min-height: 60vh;
    }
    
    .beneficios-section h2 {
        font-size: 2.2rem;
    }
    
    .beneficios-section > .beneficios-container > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .beneficios-grid {
        gap: 1.5rem;
    }
    
    .beneficio-card {
        padding: 2rem 1.3rem;
    }
    
    .beneficio-stat {
        font-size: 2rem;
    }
}

/* Nuevo breakpoint para grid 2x2 */
@media (max-width: 910px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .servicio-card {
        padding: 2.2rem 1.8rem;
    }
    
    .servicio-card h3 {
        font-size: 1.3rem;
    }
    
    .servicio-card p {
        font-size: 1rem;
    }
}

/* Tablets pequeños */
@media (max-width: 768px) {
    /* Gestión Médica */
    .gestion-medica-section {
        padding: 3rem 1.5rem;
        min-height: auto;
    }
    
    .gestion-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .gestion-content {
        max-width: 90%;
        flex: none;
        padding: 1rem;
        order: 2;
    }
    
    .gestion-image {
        display: none;
    }
    
    .gestion-image img {
        max-width: 350px;
        height: 300px;
    }
    
    .gestion-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .gestion-content p {
        font-size: 1rem;
    }
    
    /* Servicios */
    .servicios-section {
        padding: 3rem 3rem;
    }
    
    .servicios-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .servicios-section > .servicios-container > p {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
    
    .servicio-card {
        padding: 1.8rem 1.3rem;
    }
    
    .servicio-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .servicio-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .servicio-card p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Beneficios */
    .beneficios-section {
        padding: 3rem 1.5rem;
        min-height: auto;
    }
    
    .beneficios-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .beneficios-section > .beneficios-container > p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .beneficio-card {
        padding: 1.8rem 1.2rem;
    }
    
    .beneficio-image {
        height: 150px;
    }
    
    .beneficio-image img {
        max-width: 300px;
        height: 150px;
    }
    
    .beneficio-card h3 {
        font-size: 1.1rem;
    }
    
    .beneficio-card p {
        font-size: 0.85rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    /* Gestión Médica */
    .gestion-medica-section {
        padding: 2.5rem 1rem;
    }
    
    .gestion-content {
        max-width: 95%;
        padding: 1rem;
    }
    
    .gestion-image {
        max-width: 90%;
    }
    
    .gestion-image img {
        max-width: 300px;
        height: 250px;
    }
    
    .gestion-content h2 {
        font-size: 1.5rem;
    }
    
    .gestion-content p {
        font-size: 0.95rem;
    }
    
    /* Servicios */
    .servicios-section {
        padding: 2.5rem 3rem;
    }
    
    .servicios-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .servicios-section > .servicios-container > p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .servicios-grid {
        gap: 1.2rem;
    }
    
    .servicio-card {
        padding: 1.5rem 1rem;
    }
    
    .servicio-icon {
        width: 50px;
        height: 50px;
        padding: 1.4rem;
    }
    
    .servicio-card h3 {
        font-size: 1rem;
    }
    
    .servicio-card p {
        font-size: 0.85rem;
    }
    
    /* Beneficios */
    .beneficios-section {
        padding: 2rem 3rem;
    }
    
    .beneficios-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .beneficios-section > .beneficios-container > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .beneficio-card {
        padding: 1.5rem 1rem;
    }
    
    .beneficio-image {
        height: 100px;
    }
    
    .beneficio-image img {
        max-width: 250px;
        height: 100px;
    }
    
    .beneficio-card h3 {
        font-size: 1rem;
    }
    
    .beneficio-card p {
        font-size: 0.8rem;
    }
} 