html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}



/* CONTENEDOR GENERAL */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #ffffff;
    border-bottom: 1px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* NAV FLEX */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 160px;
}

/* LOGO */
.logo img {
    height: 140px;
    /* controla tamaño */
    width: auto;
    /* evita deformación */
    display: block;
    padding: 5px 0;
}

/* NAV LINKS */
.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    /* 🔥 clave */


}

.nav a {
    text-decoration: none;
    color: #0b3c6f;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
}

/* HOVER */
.nav a:hover {
    color: #00a8cc;
}


/* HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;

        z-index: 9999;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .nav.active {
        display: flex;
    }
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0b3c6f, #00a8cc);
    color: white;
    padding: 80px 0;
}

/* CONTENEDOR */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* TEXTO */
.hero-texto {
    max-width: 600px;
}

.hero-texto h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-transform: uppercase;

    /* efecto visual */
    color: rgb(255, 255, 255);
    text-shadow:
        0 4px 18px rgba(255, 255, 255, 0.18),
        0 8px 30px rgba(0, 0, 0, 0.18);

    position: relative;
}

.hero-texto h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-texto p {
    margin-bottom: 15px;
    line-height: 1.6;
}


.hero-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* BASE */
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    /* pill shape */
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* BOTON PRINCIPAL */
.btn-primary {
    background: #ffffff;
    color: #0b3c6f;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* HOVER PRO */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* BOTON SECUNDARIO */
.btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: white;
    background: transparent;
}

/* HOVER FINO */
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-img {
    position: relative;
    overflow: hidden;
}

.hero-img img {
    width: 420px;
    max-width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* FONDO DIFUMINADO DETRÁS */
.hero-img::before {
    overflow: hidden;
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.589);
    border-radius: 50%;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    filter: blur(40px);
    z-index: 1;
}

@media (max-width: 768px) {

    .nav-container {
        height: 80px;
    }

    .logo img {
        height: 80px;
    }

}

@media (max-width: 900px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-texto {
        max-width: 100%;
    }

    .hero-texto h1 {
        font-size: 28px;
    }

    .hero-texto h2 {
        font-size: 18px;
    }

    .hero-texto p {
        font-size: 14px;
    }

    .hero-botones {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-img img {
        width: 260px;
        margin-top: 20px;
    }
}


/* seccion empresas instituciones */
.empresas {
    padding: 80px 0;
    background: #f9fbfd;
}

/* LAYOUT */
.empresas-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

/* TEXTO */
.empresas-texto {
    max-width: 600px;
}

.empresas-texto h2 {
    font-size: 32px;
    color: #0b3c6f;
    margin-bottom: 15px;
}

.empresas-texto .sub {
    font-weight: 500;
    margin-bottom: 15px;
}

/* BENEFICIOS */
.beneficios {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.beneficios li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* CARD */
.empresas-card {
    width: 100%;
    max-width: 350px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

}

.empresas-card h3 {
    margin-bottom: 15px;
    color: #0b3c6f;
}

.empresas-card ul {
    padding-left: 18px;
}

.empresas-card li {
    margin-bottom: 10px;
}

@media (max-width: 900px) {

    .empresas-container {
        flex-direction: column;
    }

    .empresas-texto {
        max-width: 100%;
    }

    .empresas-card {
        width: 100%;
        min-width: unset;
    }

}

.proceso {
    padding: 80px 0;
}

/* TITULO */
.titulo-seccion {
    text-align: center;
    font-size: 32px;
    color: #0b3c6f;
    margin-bottom: 50px;
}

/* PASOS */
.pasos {
    display: flex;
    flex-wrap: wrap;
    /* IMPORTANTE */

    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.paso {
    background: #f5f9ff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    flex: 1;

}

.paso span {
    display: inline-block;
    background: #0b3c6f;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    font-weight: bold;
    margin-bottom: 10px;
}

.paso:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* FRASE */
.frase {
    text-align: center;
    font-weight: 500;
    margin-bottom: 30px;
}

/* MINI BENEFICIOS */
.mini-beneficios {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mini-beneficios div {
    background: #eef6ff;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
}

.cta-box {
    background: linear-gradient(135deg, #0b3c6f, #00a8cc);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* BOTON CTA REAL */
.btn-cta {
    background: white;
    color: #0b3c6f;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* HOVER QUE VENDE */
.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {

    .cta-box {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .btn-cta {
        width: 100%;
        max-width: 280px;
        display: inline-block;
        text-align: center;
    }

}

/* BOTON PRINCIPAL INSTITUCIONES */
.btn-institucion {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b3c6f, #0d5ea8);
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(11, 60, 111, 0.28);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* HOVER MÁS LLAMATIVO */
.btn-institucion:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 35px rgba(11, 60, 111, 0.35);
    background: linear-gradient(135deg, #0d5ea8, #0b3c6f);
}

/* MOBILE */
@media (max-width: 768px) {
    .btn-institucion {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 18px 20px;
        font-size: 15px;
        line-height: 1.4;
    }
}

/* WARNING */
.warning {
    background: #fff4f4;
    border-left: 5px solid #ff4d4d;
    padding: 25px;
    border-radius: 10px;
}

.warning h3 {
    margin-bottom: 10px;
    color: #cc0000;
}

.warning ul {
    margin: 10px 0;
}

.warning .nota {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 900px) {

    .pasos {
        flex-direction: column;
    }

}

.cierre {
    padding: 80px 0;
    background: #f9fbfd;
}

/* TOP */
.cierre-top {
    margin-bottom: 60px;
}

.info h2 {
    font-size: 30px;
    color: #0b3c6f;
    margin-bottom: 10px;
}

.info .sub {
    font-weight: 500;
    margin-bottom: 15px;
}

.info p {
    margin-bottom: 15px;
}

.ig {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* BENEFICIOS */
.porque h2 {
    text-align: center;
    margin-bottom: 30px;
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.porque-grid div {
    background: white;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.trabaja-box {
    margin-top: 60px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    /* detalle agencia */
    border-left: 6px solid #00a8cc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* TEXTO */
.trabaja-content h3 {
    margin-bottom: 5px;
    color: #0b3c6f;
}

.trabaja-content p {
    font-size: 14px;
    opacity: 0.8;
}

/* BOTON NUEVO */
/* BOTON AZUL ANTIGUO */
.btn-equipo {
    display: inline-block;
    background: #0b3c6f;
    color: white;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(11, 60, 111, 0.18);
    transition: all 0.25s ease;
}

.btn-equipo:hover {
    transform: translateY(-2px);
    background: #0d4f8f;
}

@media (max-width: 768px) {

    .trabaja-box {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 900px) {

    .porque-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .porque-grid {
        grid-template-columns: 1fr;
    }

    .trabaja-box {
        padding: 25px 20px;
    }

}

.legal-premium {
    padding: 120px 0;
    background: radial-gradient(circle at top, #0f2f57, #071a2f);
    position: relative;
    color: white;
    overflow: hidden;
}

/* TEXTURA SUAVE */
.legal-premium::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(0, 168, 204, 0.08);
    border-radius: 50%;
    top: -200px;
    right: 50%;
    transform: translateX(50%);
    filter: blur(100px);
}

/* PANEL CENTRAL */
.legal-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* BADGE */
.legal-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* TITULO */
.legal-box h2 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* TEXTO */
.legal-box p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .legal-premium {
        padding: 80px 0;
    }

    .legal-box {
        padding: 30px 20px;
    }

    .legal-box h2 {
        font-size: 24px;
    }

}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    background: #25D366;
    padding: 10px 14px;
    border-radius: 50px;

    z-index: 9999;

    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
}

/* ICONO */
.whatsapp-float img {
    width: 28px;
    height: 28px;
}

/* TEXTO */
.whatsapp-text {
    color: white;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

/* HOVER */
.whatsapp-float:hover {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {

    .whatsapp-text {
        display: none;
        /* en móvil queda solo el icono */
    }

    .whatsapp-float {
        padding: 10px;
    }

    .whatsapp-float img {
        width: 40px;
        height: 40px;
    }
}

.certificados-pro {
    padding: 80px 0;
    background: #ffffff;
}

.certificados-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* TEXTO */
.certificados-texto {
    max-width: 500px;
}

.certificados-texto h2 {
    font-size: 30px;
    color: #0b3c6f;
    margin-bottom: 15px;
}

.certificados-texto p {
    line-height: 1.6;
}

/* IMAGEN */
.certificados-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.certificados-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* BADGES */
.certificados-extra {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.badge {
    background: #eef6ff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.badge.destacado {
    background: #00a8cc;
    color: white;
}

@media (max-width: 900px) {

    .certificados-container {
        flex-direction: column;
        text-align: center;
    }

    .certificados-texto {
        max-width: 100%;
    }

    .certificados-extra {
        flex-direction: column;
        align-items: center;
    }
}

.footer {
    background: #071a2f;
    color: white;
    padding: 70px 0 20px;
}

/* GRID */
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* COLUMNAS */
.footer-col h3,
.footer-col h4 {
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: #00a8cc;
}

/* BOTON CTA */
.btn-footer {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 22px;
    background: #00a8cc;
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-footer:hover {
    background: #0090ad;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

.nav-cta {
    background: #0b3c6f;
    color: white !important;
    padding: 8px 18px;
    border-radius: 999px;
}

.nav-cta:hover {
    background: #00a8cc;
}

.empresas-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.empresas-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.empresas-img img:hover {
    transform: scale(1.03);
}