
/* ========================= */
/*        RESETEO GENERAL    */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #ffffff;
    color: #003366;
    line-height: 1.6;
}

/* ========================= */
/*          MENÚ NAV         */
/* ========================= */
/* === Arreglar alineación del menú === */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: #f9fcff; /* BLANCO MUY SUAVE AZULADO */
    color: #003366;
    box-shadow: 0px 3px 14px rgba(0,0,0,0.08);
} 
.nav a {
    color: #003366;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 16px;
}

/* ========================= */
/*           HERO            */
/* ========================= */

.hero {
    background: linear-gradient(to bottom, #00d4df, #0074b8);
    color: white;
    padding: 130px 20px 120px;
    text-align: center;
}
.hero h1 {
    font-size: 46px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-top: 12px;
    max-width: 700px;
    margin: 12px auto 0 auto;
}

/* BOTÓN HERO */
.btn-primary {
    background: white;
    color: #003366;
    padding: 14px 34px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    margin-top: 28px;
    box-shadow: 0px 5px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #00c8d2;
    color: white;
}

/* ========================= */
/*      SECCIONES GENERALES  */
/* ========================= */

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 45px;
    font-size: 34px;
    color: #003366;
}

/* ========================= */
/*        PRESTACIONES       */
/* ========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.12);
    text-align: center;
    border-top: 5px solid #00c8d2;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card h3 {
    color: #003366;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.card p {
    font-size: 16px;
}

/* ========================= */
/*       NUESTRO EQUIPO      */
/* ========================= */

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 35px;
    justify-items: center;
}

.team-card {
    background: white;
    padding: 22px;
    border-radius: 16px;
    width: 260px;
    text-align: center;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

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

.team-card img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
}

/* ========================= */
/*    MISIÓN / CONTACTO      */
/* ========================= */

.contact-info {
    background: #f8fdff;
    padding: 25px;
    border-radius: 16px;
    max-width: 600px;
    margin: 30px auto;
    border-left: 6px solid #00c8d2;
    box-shadow: 0px 4px 14px rgba(0,0,0,0.08);
    text-align: center;
}

/* ========================= */
/*         FORMULARIO        */
/* ========================= */

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    display: grid;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form button {
    padding: 15px;
    border-radius: 35px;
    background: #00c8d2;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #003366;
}

/* ========================= */
/*          FOOTER           */
/* ========================= */

footer {
    text-align: center;
    padding: 25px;
    background: #003366;
    color: white;
    margin-top: 50px;
}
.team-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
#ubicacion h2 {
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 25px;
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.15);
}   
 /* Botón WhatsApp flotante animado */
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    animation: pulse 1.8s infinite ease-in-out;
    cursor: pointer;
}

.whatsapp-floating svg {
    width: 38px;
    height: 38px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-floating:hover {
    transform: scale(1.15);
}

/* Hover */
.whatsapp-floating:hover {
    transform: scale(1.15);
}

/* Efecto hover */
.whatsapp-floating:hover {
    transform: scale(1.15);
}
/* Hero necesita esto */
.hero {
    position: relative;
}
/* ========================= */
/*         NAV FINAL         */
/* ========================= */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: #f9fcff;
    box-shadow: 0px 3px 14px rgba(0,0,0,0.08);
    flex-wrap: nowrap;
}

.logo img {
    width: 160px;
    height: auto;
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 25px;
    margin-left: auto;   /* 🔥 esto lo lleva a la derecha */
    padding: 0;
}

.nav-links a {
    color: #003366;
    font-weight: 600;
    text-decoration: none;
}

/* MÓVIL */
.menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: #003366;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 20px;
        width: 220px;
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    .nav-links.show {
        display: flex;
    }
}
/* Estilo tipo “blog” para QUIÉNES SOMOS */
#quienes-somos .section-content {
    width: 100%;
    max-width: 750px;     /* ANCHO TIPO BLOG */
    margin: 0 auto;       /* CENTRAR */
    padding: 0 20px;      /* MÁRGENES laterales */
    text-align: left;     /* texto alineado a la izquierda */
}

#quienes-somos h1,
#quienes-somos h2 {
    text-align: center;   /* títulos centrados */
    margin-bottom: 25px;
}

#quienes-somos p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: justify;
}

/* ===== Redes sociales - estilo minimalista, título a la izquierda y iconos grandes ===== */

#redes {
    padding: 40px 20px;
    background: transparent; /* puedes cambiar si quieres un fondo */
}

/* título alineado a la izquierda dentro del contenedor */
#redes .redes-inner {
    display: block;
    padding-left: 40px; /* separación izquierda */
    padding-right: 40px;
}

#redes .redes-title {
    text-align: left;      /* TITULO A LA IZQUIERDA */
    font-size: 28px;       /* tamaño más pequeño que antes */
    color: #003366;
    margin: 8px 0 18px 0;
    font-weight: 700;
}

/* contenedor de iconos alineado a la izquierda */
#redes .social-icons {
    display: flex;
    justify-content: flex-start; /* alinear a la izquierda */
    gap: 28px;
    align-items: center;
    margin-top: 10px;
    padding-left: 40px; /* coincide con padding del título */
}

/* estilos de los iconos (Font Awesome) */
#redes .social-icons a {
    color: #003366;        /* color de iconos */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#redes .social-icons a i {
    font-size: 48px;       /* ICONOS MÁS GRANDES */
    line-height: 1;
    transition: transform .15s ease, color .15s ease;
}

/* hover elegante */
#redes .social-icons a:hover i {
    transform: translateY(-4px);
    color: #00c8d2;
}

/* responsive: iconos algo más pequeños en móvil */
@media (max-width: 480px) {
    #redes .social-icons a i {
        font-size: 36px;
    }
    #redes .redes-title {
        font-size: 24px;
        padding-left: 16px;
    }
    #redes .redes-inner,
    #redes .social-icons {
        padding-left: 16px;
    }

}

/* ===== Carrusel Prestaciones ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.carousel {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
}

.carousel .card {
    min-width: calc(50% - 25px); /* 2 tarjetas por pantalla */
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    transition: 0.2s ease;
}

.carousel-btn:hover {
    transform: scale(1.1) translateY(-50%);
}

.carousel-btn.left {
    left: -10px;
}

.carousel-btn.right {
    right: -10px;
}

/* Móvil: 1 tarjeta */
@media (max-width: 768px) {
    .carousel .card {
        min-width: 100%;
    }
}

/* Ajustes adicionales móvil */
@media (max-width: 768px) {
    #prestacionesCarousel .card,
    .carousel .card {
        min-width: 100% !important;
        flex-shrink: 0 !important;
    }

    .carousel {
        overflow: visible !important;
    }

    .carousel-container {
        overflow: hidden !important;
    }

#seccion-mision-vision { 
    display: none; 
}

.prestaciones-imagen-final {
    margin-top: 40px;
    text-align: center;
}

.prestaciones-imagen-final img {
    width: 100%;
    max-width: 1000px;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

