/*==========================================
            GOOGLE FONT
==========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
    scroll-behavior:smooth;
}

:root{
    --primary:#0A4E9B;
    --primary-dark:#123E70;
    --primary-light:#2F80ED;
    --white:#FFFFFF;
    --gray:#F4F6F9;
    --text:#2B2B2B;
    --shadow:0 15px 35px rgba(0,0,0,.08);
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:var(--text);
    overflow-x:hidden;
}

/*==========================================
            NAVBAR
==========================================*/

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
}

.navbar{
    width:100%;
    max-width:1700px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 35px;
}


.logo{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo img{
    width:65px;
}

.logo-text{
    display:flex;
    flex-direction:column;
}

.logo-text h2{
    font-size:42px;
    font-weight:800;
    letter-spacing:2px;
    color:var(--primary);
    line-height:1;
}

.logo-line{
    width:100%;
    height:3px;
    background:var(--primary);
    margin:6px 0;
}

.logo-text p{
    font-size:11px;
    font-weight:700;
    letter-spacing:4px;
    color:var(--primary);
    white-space:nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-links a {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: .3s;
}

.nav-links a:hover{
    color:var(--primary);
}

.btn-nav{
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
    white-space: nowrap;
}

.btn-nav:hover{
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/*==========================================
            HERO
==========================================*/

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:130px 9%;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#ffffff 0%,#edf5ff 100%);
}

.hero-content{
    width:55%;
    z-index:2;
}

.hero-tag{
    display:inline-block;
    background:#EAF3FF;
    color:var(--primary);
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:25px;
}

.hero h1{
    font-size:65px;
    line-height:1.1;
    color:#222;
    margin-bottom:25px;
}

.hero h1 span{
    color:var(--primary);
}

.hero p{
    font-size:18px;
    line-height:1.8;
    color:#555;
    margin-bottom:45px;
    max-width:700px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    transform: translateY(-20px);
}

.btn-primary{
    background:var(--primary);
    color:white;
    padding:18px 35px;
    border-radius:50px;
    transition:.35s;
    font-weight:600;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-5px);
}

.btn-secondary{
    border:2px solid var(--primary);
    color:var(--primary);
    padding:18px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.btn-secondary:hover{
    background:var(--primary);
    color:white;
}

.hero-data{
    display:flex;
    gap:30px;
    margin-top:60px;
}

.data-card{
    background:white;
    width:180px;
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    text-align:center;
    transition:.4s;
}

.data-card:hover{
    transform:translateY(-10px);
}

.data-card h3{
    font-size:34px;
    color:var(--primary);
    margin-bottom:10px;
}

.data-card span{
    color:#666;
    font-size:15px;
}

.hero-image{
    width:45%;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:2;
    transform: translateY(-70px);
}

.hero-bg{
    position:absolute;
    width:90%;
    height:90%;
    background:var(--primary);
    border-radius:30px;
    right:10px;
    bottom:-18px;
    z-index:1;
}

.hero-image img{
    position:relative;
    z-index:2;
    width:92%;
    height:390px;
    object-fit:cover;
    object-position:center;
    border-radius:30px;
    box-shadow:0 25px 60px rgba(0,0,0,.16);

    animation:float 5s ease-in-out infinite;
}

/*==========================================
        FIGURAS
==========================================*/

.circle{
    position:absolute;
    border-radius:50%;
    z-index:1;
}

.circle1{
    width:550px;
    height:550px;
    background:#dcebff;
    top:-150px;
    right:-180px;
}

.circle2{
    width:250px;
    height:250px;
    background:#bdd9ff;
    bottom:-100px;
    left:-120px;
}

/*==========================================
        ANIMACIONES
==========================================*/

@keyframes float{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }
}

/*==========================================
                ABOUT
==========================================*/

.about{
    padding:120px 9%;
    background:white;
}

.about-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:90px;
    margin:120px 0;
}

.about-row.reverse{
    direction:rtl;
}

.about-row.reverse .about-info{
    direction:ltr;
}

.about-row.reverse .about-photo{
    direction:ltr;
}

.about-row:last-child{
    margin-bottom:0;
}

.about-info{
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.number{
    font-size:90px;
    font-weight:800;
    color: #8aa8cf;
    display:block;
    margin-bottom:-30px;
}

.about-info h3{
    font-size:38px;
    color:var(--primary-dark);
    margin-bottom:25px;
    position:relative;
}

.about-info h3::before{
    content:"";
    width:70px;
    height:5px;
    background:var(--primary);
    display:block;
    margin-bottom:18px;
    border-radius:20px;
}

.about-info p{
    line-height:2;
    color:#666;
    font-size:17px;
}

.about-info ul{
    margin-top:30px;
}

.about-info li{
    margin-bottom:18px;
    font-size:17px;
    color:#555;
}

.about-info i{
    color:var(--primary);
    margin-right:12px;
}

.about-photo{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.about-photo img{
    width:100%;
    max-width:600px;
    height:430px;
    object-fit:cover;
    border-radius:30px;
    box-shadow:0 30px 70px rgba(10,78,155,.18);
    transition:.5s;

    filter:brightness(1.08) contrast(1.05);
}

.about-photo img:hover{
    transform:scale(1.03);
}

.about-photo::before{
    content:"";
    width:180px;
    height:180px;
    border-radius:30px;
    background:#EAF3FF;
    position:absolute;
    top:-30px;
    left:-30px;
    z-index:-1;
}

.about-row.reverse .about-photo::before{
    left:auto;
    right:-30px;
}

/*==========================================
                SERVICIOS
==========================================*/

.services{
    max-width:1400px;
    margin:auto;
    padding:10px 40px 120px;
}

.services-title {
    position: relative;
}

.services-label {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 16px;
    padding: 9px 18px 9px 10px;

    color: var(--primary-dark);
    background: linear-gradient(
        135deg,
        rgba(10, 78, 155, 0.12),
        rgba(47, 128, 237, 0.06)
    );

    border: 1px solid rgba(10, 78, 155, 0.18);
    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    box-shadow: 0 8px 22px rgba(10, 78, 155, 0.1);
}

.services-label-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    border-radius: 50%;
    font-size: 14px;

    box-shadow: 0 6px 14px rgba(10, 78, 155, 0.25);
}

.services-title h2 {
    margin-top: 0;
}

.services-title p {
    max-width: 1350px;
}

/* ==========================================
        CUADRÍCULA DE SERVICIOS
========================================== */

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 32px;
    margin-top: 60px;
}


/* ==========================================
        TARJETA DE SERVICIO
========================================== */

.services .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 34px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #ffffff 74%,
            #f4f8fd 100%
        );

    border: 1px solid rgba(10, 78, 155, 0.12);
    border-radius: 26px;

    box-shadow:
        0 16px 40px rgba(10, 78, 155, 0.09);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* LÍNEA SUPERIOR */

.services .service-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light)
    );
}


/* CÍRCULO DECORATIVO */

.services .service-card::after {
    content: "";
    position: absolute;

    right: -70px;
    bottom: -75px;

    width: 170px;
    height: 170px;

    background: rgba(47, 128, 237, 0.055);
    border-radius: 50%;

    pointer-events: none;
    transition: transform 0.4s ease;
}


/* HOVER */

.services .service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(10, 78, 155, 0.25);

    box-shadow:
        0 25px 55px rgba(10, 78, 155, 0.16);
}

.services .service-card:hover::after {
    transform: scale(1.18);
}


/* ==========================================
        CABECERA DE LA TARJETA
========================================== */

.services .service-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}


/* ICONO */

.services .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    margin: 0;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    border-radius: 18px;

    box-shadow:
        0 10px 22px rgba(10, 78, 155, 0.22);

    transition:
        transform 0.35s ease,
        border-radius 0.35s ease;
}

.services .service-icon i {
    color: #ffffff;
    font-size: 26px;
}

.services .service-card:hover .service-icon {
    transform: translateY(-3px);
    border-radius: 50%;
}


/* ETIQUETA SERVICIO A, B, C... */

.services .service-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 13px;

    color: var(--primary);
    background: #eef5fd;

    border: 1px solid rgba(10, 78, 155, 0.14);
    border-radius: 50px;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}


/* ==========================================
        CONTENIDO
========================================== */

.services .service-card-content {
    position: relative;
    z-index: 1;
}


/* TÍTULO */

.services .service-card h3 {
    margin: 0 0 16px;

    color: var(--primary-dark);

    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
    line-height: 1.3;
}


/* SUBTÍTULO */

.services .service-card h4 {
    position: relative;

    margin: 0 0 18px;
    padding: 4px 0 4px 16px;

    color: #223b5d;
    background: transparent;

    border-left: 4px solid var(--primary);
    border-radius: 0;

    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
}


/* ELIMINA LA LÍNEA ANTERIOR DEL H4 */

.services .service-card h4::before {
    display: none;
}


/* DESCRIPCIÓN */

.services .service-card p {
    margin: 0;

    color: #5f6877;

    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
}

/*==========================================
                EQUIPO
==========================================*/

.team{
    max-width:1500px;
    margin:80px auto 30px;
    padding:90px 55px;
    background:#f4f7fb;
    border-radius:40px;
    overflow:hidden;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    margin-top:70px;
}

.team-card{
    background:white;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
    transition:.45s;
}

.team-card:hover{
    transform:translateY(-15px);
    box-shadow:0 35px 70px rgba(10,78,155,.18);
}

.team-image{
    display:flex;
    justify-content:center;
    padding-top:25px;
}

.team-image img{
    width:260px;
    height:260px;
    border-radius:50%;
    object-fit:cover;
    transition:.5s;
}

.team-card:hover img{
    transform:scale(1.08);
}

.team-info{
    padding:25px;
}

.team-info h3{
    color:var(--primary-dark);
    font-size:22px;
    margin-bottom:8px;
    line-height:1.3;
}

.team-info span{
    color:var(--primary);
    font-weight:600;
}

.team-info p{
    margin:25px 0;
    color:#666;
    line-height:1.8;
}

.team-contact{
    background:#EAF3FF;
    padding:18px 20px;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.team-contact p{
    margin:0;
    color:var(--primary-dark);
    font-size:14px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    word-break:break-word;
}

.team-contact i{
    color:var(--primary);
    font-size:17px;
}

/*==========================================
            ESTADÍSTICAS
==========================================*/

.stats{
    padding:70px 9%;
    background:linear-gradient(135deg,var(--primary-dark),var(--primary));
}

.stats-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-box{
    text-align:center;
    color:white;
    padding:20px 10px;
}

.stat-box h3{
    font-size:40px;
    font-weight:800;
    margin-bottom:8px;
}

.stat-box p{
    font-size:14px;
    opacity:.9;
}

/*==========================================
                CONTACTO
==========================================*/

.contact{
    padding:130px 9%;
    background:linear-gradient(135deg,#ffffff 0%,#edf5ff 100%);
}

.contact-content{
    max-width:1000px;
    margin:auto;
    text-align:center;
}

.section-subtitle{
    display:inline-block;
    background:#EAF3FF;
    color:var(--primary);
    padding:10px 20px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:25px;
}

.contact-content h2{
    font-size:48px;
    color:var(--primary-dark);
    margin-bottom:25px;
}

.contact-content span{
    font-size:28px;
    color:var(--primary-dark);
    margin-bottom:25px;
    font-weight:bold;
}

.contact-content p{
    font-size:18px;
    line-height:1.8;
    color:#666;
    max-width:800px;
    margin:0 auto 45px;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:22px;
    margin-top:10px;
}

.contact-buttons a{
    display:flex;
    align-items:center;
    gap:10px;
}

/*==========================================
                FOOTER
==========================================*/

.footer{

    background:#071E3D;

    color:white;

    padding:80px 9% 25px;

}

.footer-container{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.3fr;

    gap:50px;

}

/* LOGO */

.footer-logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:25px;

}

.footer-logo img{

    width:75px;

    height:auto;

}

.footer-logo-text h2{

    font-size:30px;

    margin:0;

    color:white;

    line-height:1;

}

.footer-logo-text span{

    display:block;

    margin-top:6px;

    font-size:10px;

    letter-spacing:2px;

    color:#cbd5e1;

}

/* CONTENIDO */

.footer-box h3{

    font-size:22px;

    margin-bottom:25px;

    color:white;

}

.footer-box p{

    color:#cbd5e1;

    line-height:1.8;

    margin-bottom:15px;

}

.footer-brand p{

    max-width:420px;

}

.footer-box a{

    display:block;

    color:#cbd5e1;

    margin-bottom:14px;

    transition:.3s;

}

.footer-box a:hover{

    color:white;

    transform:translateX(6px);

}

.footer-box i{

    color:#5DA9FF;

    margin-right:10px;

}

/* COPYRIGHT */

.footer-bottom{

    max-width:1400px;

    margin:60px auto 0;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

}

.footer-bottom p{

    color:#cbd5e1;

    font-size:15px;

}

/*==========================================
            WHATSAPP FLOTANTE
==========================================*/

.whatsapp-float{
    position:fixed;
    width:65px;
    height:65px;
    right:30px;
    bottom:30px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    z-index:999;
    transition:.35s;
}

.whatsapp-float:hover{
    transform:translateY(-6px) scale(1.05);
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

/*==========================================
            VOLVER ARRIBA
==========================================*/

.scroll-top{

    position:fixed;

    right:30px;

    bottom:110px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.20);

    z-index:998;

    transition:.35s;

}

.scroll-top:hover{

    background:var(--primary-dark);

    transform:translateY(-5px);

}

/*==========================================
            MENU HAMBURGUESA
==========================================*/

.menu-toggle{
    display:none;

    border:none;
    background:transparent;
    padding:0;
    margin:0;

    font-size:28px;
    color:var(--primary);

    cursor:pointer;
    z-index:1001;

    transition:.3s;
}

.menu-toggle:hover{
    color:var(--primary-dark);
    transform:scale(1.08);
}

.menu-toggle:focus{
    outline:none;
}

.menu-toggle i{
    pointer-events:none;
}

html{
    scroll-behavior:smooth;
}

.navbar{
    transition:.4s;
}

.navbar.scrolled{
    background:white;
    padding:14px 40px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    border-radius:0 0 20px 20px;
}

/*==========================================
                CLIENTES
==========================================*/

.clients{
    padding:120px 9%;
    background:white;
    overflow:hidden;
}

.clients-slider{
    max-width:1200px;
    margin:70px auto 0;
    overflow:hidden;
    position:relative;
}

.clients-slider::before,
.clients-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
    pointer-events:none;
}

.clients-slider::before{
    left:0;
    background:linear-gradient(to right, white, transparent);
}

.clients-slider::after{
    right:0;
    background:linear-gradient(to left, white, transparent);
}

.clients-track{
    display:flex;
    gap:30px;
    width:max-content;
    animation:scrollClients 60s linear infinite;
}

.clients-track:hover{
    animation-play-state:paused;
}

.client-card{
    min-width:250px;
    height:150px;
    background:#F8FAFD;
    border-radius:25px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.4s;
}

.client-card img{
    max-width:100%;
    max-height:80px;
    object-fit:contain;
    transition:.4s;
}

.client-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollClients{
    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }
}

/* =========================================
        NUEVO APARTADO NOSOTROS
========================================= */

.about-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-info h3,
.about-heading h3,
.highlight-content h3,
.why-us-header h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.about-info p,
.about-heading p,
.highlight-content p,
.why-us-header p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
}

/* VALORES */

.values-section {
    margin-top: 90px;
    padding: 45px;
    background: #f4f7fb;
    border-radius: 30px;
}

.about-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border: 1px solid rgba(10, 78, 155, 0.1);
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(10, 78, 155, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light)
    );
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 78, 155, 0.16);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    color: var(--primary);
    background: rgba(10, 78, 155, 0.1);
    border-radius: 16px;
    font-size: 1.45rem;
}

.value-card h4 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.value-card p {
    color: #667085;
    line-height: 1.7;
}

/* PROMESA Y FILOSOFÍA */

.about-highlight {
    position: relative;
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;
    align-items: flex-start;
    width: calc(50% - 13px);
    margin-top: 45px;
    padding: 35px;
    vertical-align: top;
    background: #ffffff;
    border: 1px solid rgba(10, 78, 155, 0.12);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(10, 78, 155, 0.08);
    overflow: hidden;
    transition: 0.3s ease;
    min-height: 440px;
}

.about-highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        var(--primary),
        var(--primary-light)
    );
}

.about-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(10, 78, 155, 0.14);
}

.values-section + .about-highlight {
    display: inline-grid;
    margin-right: 20px;
}

.values-section + .about-highlight + .about-highlight {
    display: inline-grid;
}

.about-highlight .number {
    color: #8aa8cf;
    font-size: 55px;
    margin-bottom: -12px;
}

.about-highlight .about-label {
    color: var(--primary);
}

.about-highlight h3 {
    color: var(--primary-dark);
}

.about-highlight p {
    color: #667085;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    color: var(--primary);
    background: #eaf3ff;
    border-radius: 18px;
    font-size: 27px;
}

.philosophy-card {
    background: #ffffff;
}

/* POR QUÉ ELEGIRNOS */

.why-us {
    margin-top: 45px;
    padding: 45px;
    background: #ffffff;
    border: 1px solid rgba(10, 78, 155, 0.1);
    border-radius: 30px;
    box-shadow: 0 18px 50px rgba(10, 78, 155, 0.1);
}

.why-us-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    background: #f7f9fc;
    border: 1px solid rgba(10, 78, 155, 0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    background: #ffffff;
}

.why-item i {
    margin-top: 4px;
    color: var(--primary);
    font-size: 1.2rem;
}

.why-item p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 992px) {

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-section,
    .why-us {
        padding: 42px;
    }

}

@media (max-width: 768px) {

    .values-section,
    .why-us {
        margin-top: 55px;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .values-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .about-highlight {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100% !important;
    margin: 25px 0 0 !important;
    padding: 28px 22px;
    border-radius: 22px;
}

    .highlight-icon {
        width: 65px;
        height: 65px;
        border-radius: 18px;
        font-size: 1.55rem;
    }

    .value-card {
        padding: 25px;
    }

}

/*==========================================
        SECCIONES FUTURAS
==========================================*/

.coming-section{

    padding:120px 9%;

    background:#fff;

}

.coming-section:nth-child(even){

    background:#f8fafd;

}

.coming-section .section-title{

    margin-bottom:0;

}

.coming-section h2{

    color:var(--primary-dark);

}

/*==========================================
        MODAL DIAGNÓSTICO
==========================================*/

.diagnostico-modal{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    padding:30px;
    background:rgba(5,20,40,.72);
    backdrop-filter:blur(5px);
    z-index:5000;
}

.diagnostico-modal.active{
    display:flex;
}

.diagnostico-contenido{
    position:relative;
    width:min(940px, 92%);
    max-height:82vh;

    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;

    background:#ffffff;
    border:8px solid #ffffff;
    border-radius:28px;
    padding:32px;

    box-shadow:0 25px 70px rgba(0,36,84,.25);

    scrollbar-width:thin;
    scrollbar-color:#9fb6d1 transparent;
}

/* Scroll personalizado del modal */
.diagnostico-contenido::-webkit-scrollbar{
    width:6px;
}

.diagnostico-contenido::-webkit-scrollbar-track{
    background:transparent;
}

.diagnostico-contenido::-webkit-scrollbar-thumb{
    background:#a9bdd4;
    border-radius:20px;
}

.diagnostico-contenido::-webkit-scrollbar-thumb:hover{
    background:var(--primary);
}

/* Elimina las flechas superiores e inferiores de Chrome */
.diagnostico-contenido::-webkit-scrollbar-button{
    display:none;
    width:0;
    height:0;
}

.diagnostico-cerrar{
    position:absolute;
    top:10px;
    right:10px;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#eef4fb;
    color:var(--primary);
    font-size:20px;
    cursor:pointer;
    transition:.3s;
    z-index:5;
}

.diagnostico-cerrar:hover{
    background:var(--primary);
    color:#ffffff;
    transform:rotate(90deg);
}

.diagnostico-encabezado{
    display:flex;
    align-items:center;
    gap:18px;
    padding-right:55px;
    margin-bottom:20px;
}

.diagnostico-icono{
    flex-shrink:0;
    width:65px;
    height:65px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:18px;
    background:#eaf3ff;
    color:var(--primary);
    font-size:28px;
}

.diagnostico-encabezado span{
    color:var(--primary);
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.diagnostico-encabezado h2{
    margin-top:5px;
    color:var(--primary-dark);
    font-size:30px;
    line-height:1.2;
}

.diagnostico-descripcion{
    margin-bottom:28px;
    color:#667085;
    line-height:1.8;
}

.diagnostico-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.campo-diagnostico{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.campo-completo{
    grid-column:1 / -1;
}

.campo-diagnostico label{
    color:var(--primary-dark);
    font-size:14px;
    font-weight:600;
}

.campo-diagnostico input,
.campo-diagnostico textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #d8e0ea;
    border-radius:14px;
    background:#f9fbfd;
    color:#333;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    outline:none;
    transition:.3s;
}

.campo-diagnostico textarea{
    resize:vertical;
    min-height:120px;
}

.campo-diagnostico input:focus,
.campo-diagnostico textarea:focus{
    border-color:var(--primary);
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(10,78,155,.1);
}

.diagnostico-enviar{
    width:100%;
    margin-top:25px;
    padding:16px 25px;
    border:none;
    border-radius:50px;
    background:var(--primary);
    color:#ffffff;
    font-family:'Poppins',sans-serif;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.diagnostico-enviar:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.diagnostico-enviar{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.cargando-boton{
    display:none;
    align-items:center;
    gap:10px;
}

.diagnostico-enviar.cargando .texto-boton{
    display:none;
}

.diagnostico-enviar.cargando .cargando-boton{
    display:flex;
}

.diagnostico-enviar:disabled{
    cursor:not-allowed;
    opacity:.75;
    transform:none;
}

.diagnostico-enviar:disabled:hover{
    background:var(--primary);
    transform:none;
}

body.modal-abierto{
    overflow:hidden;
}

.diagnostico-mensaje{
    display:none;
    align-items:flex-start;
    gap:14px;
    margin-top:24px;
    padding:18px 20px;
    background:#ecfdf3;
    border:1px solid #a6f4c5;
    border-radius:16px;
    color:#166534;
}

.diagnostico-mensaje.active{
    display:flex;
}

.diagnostico-mensaje i{
    margin-top:3px;
    font-size:24px;
}

.diagnostico-mensaje strong{
    display:block;
    margin-bottom:4px;
    font-size:15px;
}

.diagnostico-mensaje p{
    margin:0;
    color:#3f6212;
    font-size:13px;
    line-height:1.6;
}

.diagnostico-mensaje.error{
    background:#fff4f2;
    border-color:#fecdca;
    color:#b42318;
}

.diagnostico-mensaje.error p{
    color:#b42318;
}

.campo-error{
    display:none;
    color:#d92d20;
    font-size:13px;
    line-height:1.4;
}

.campo-error.active{
    display:block;
}

.campo-diagnostico input.invalido,
.campo-diagnostico textarea.invalido{
    border-color:#f04438;
    background:#fff7f6;
    box-shadow:0 0 0 4px rgba(240,68,56,.12);
}

@media(max-width:768px){

    .diagnostico-modal{
        padding:15px;
    }

    .diagnostico-contenido{
        padding:28px 20px;
        border-radius:22px;
    }

    .diagnostico-grid{
        grid-template-columns:1fr;
    }

    .campo-completo{
        grid-column:auto;
    }

    .diagnostico-encabezado{
        align-items:flex-start;
    }

    .diagnostico-encabezado h2{
        font-size:24px;
    }

    .diagnostico-icono{
        width:55px;
        height:55px;
        font-size:24px;
    }

}