:root {
    --azul-oscuro: #061a34;
    --azul-profundo: #09254a;
    --azul-medio: #17456d;
    --verde: #168d83;
    --verde-claro: #2fb39f;
    --blanco: #ffffff;
    --gris-fondo: #f4f6f8;
    --gris-borde: #dce4ea;
    --texto: #17283a;
    --texto-suave: #5c6b78;
    --ancho: 1220px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background:
        radial-gradient(circle at 15% 10%, rgba(47, 179, 159, 0.10), transparent 32%),
        radial-gradient(circle at 90% 35%, rgba(23, 69, 109, 0.09), transparent 35%),
        #f7fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-abierto {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

svg {
    display: block;
    max-width: 100%;
}

.contenedor {
    width: min(calc(100% - 48px), var(--ancho));
    margin-inline: auto;
}


/* CABECERA */

.cabecera {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(6, 26, 52, 0.08);
    backdrop-filter: blur(14px);
}

.cabecera-contenido {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--azul-oscuro);
}

.logo-simbolo {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 6px solid var(--azul-oscuro);
    border-right-color: var(--verde);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.logo-textos {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-textos strong {
    font-size: 1.75rem;
    letter-spacing: -0.045em;
}

.logo-textos small {
    margin-top: 5px;
    font-size: 0.66rem;
    font-weight: 700;
}

.menu-principal {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 32px);
}

.menu-principal a {
    position: relative;
    padding-block: 12px;
    color: var(--azul-oscuro);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.menu-principal a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--verde);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.menu-principal a:hover::after,
.menu-principal a:focus-visible::after {
    transform: scaleX(1);
}

.boton-menu {
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    background: var(--azul-oscuro);
    cursor: pointer;
}

.boton-menu span {
    width: 22px;
    height: 2px;
    background: var(--blanco);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* PORTADA */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 43%,
            #eff5f7 100%
        );
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
}

.hero-contenido {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 76px 50px 76px 0;
}

.hero-etiqueta {
    margin-bottom: 18px;
    color: var(--verde);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 700px;
    color: var(--azul-oscuro);
    font-size: clamp(2.9rem, 4.8vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-destacado {
    max-width: 580px;
    margin-top: 26px;
    color: var(--azul-oscuro);
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.45;
}

.hero-descripcion {
    max-width: 600px;
    margin-top: 20px;
    color: var(--texto-suave);
    font-size: 1.03rem;
    line-height: 1.75;
}

.boton {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 8px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.boton:hover,
.boton:focus-visible {
    transform: translateY(-2px);
}

.boton-principal {
    margin-top: 30px;
    color: var(--blanco);
    background: var(--azul-oscuro);
    box-shadow: 0 12px 25px rgba(6, 26, 52, 0.22);
}

.boton-principal:hover,
.boton-principal:focus-visible {
    background: var(--azul-medio);
    box-shadow: 0 16px 32px rgba(6, 26, 52, 0.28);
}

.hero-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(231, 240, 244, 0.20),
            rgba(231, 240, 244, 0.70)
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 92px,
            rgba(6, 26, 52, 0.045) 93px,
            rgba(6, 26, 52, 0.045) 94px
        );
}

.hero-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(255, 255, 255, 0.85),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.20),
            rgba(22, 141, 131, 0.12)
        );
}

.hero-visual::after {
    position: absolute;
    right: -80px;
    bottom: -180px;
    width: 500px;
    height: 500px;
    content: "";
    border-radius: 50%;
    background: rgba(22, 141, 131, 0.08);
}

.edificio {
    position: absolute;
    z-index: 1;
    bottom: 120px;
    width: 85px;
    border-radius: 45px 45px 10px 10px;
    background:
        linear-gradient(
            90deg,
            rgba(6, 26, 52, 0.1),
            rgba(6, 26, 52, 0.23)
        );
    filter: blur(1px);
}

.edificio::before {
    position: absolute;
    top: 80px;
    left: 50%;
    width: 28px;
    height: 230px;
    content: "";
    border-radius: 18px;
    background: rgba(6, 26, 52, 0.25);
    transform: translateX(-50%);
}

.edificio-uno {
    left: 18%;
    height: 320px;
    opacity: 0.5;
    transform: scale(0.78);
}

.edificio-dos {
    left: 43%;
    height: 390px;
    opacity: 0.65;
}

.edificio-tres {
    right: 10%;
    height: 305px;
    opacity: 0.42;
    transform: scale(0.75);
}

.grafico {
    position: absolute;
    z-index: 4;
    right: 4%;
    bottom: 38px;
    left: 3%;
    height: 420px;
    border-bottom: 4px solid rgba(6, 26, 52, 0.55);
}

.barra {
    position: absolute;
    bottom: 0;
    width: 8.5%;
    max-width: 54px;
    min-width: 23px;
    border-radius: 3px 3px 0 0;
    background:
        linear-gradient(
            180deg,
            #155868,
            #0a3441
        );
    box-shadow: 0 12px 18px rgba(6, 26, 52, 0.16);
}

.barra-1 {
    left: 6%;
    height: 12%;
}

.barra-2 {
    left: 18%;
    height: 18%;
}

.barra-3 {
    left: 30%;
    height: 26%;
}

.barra-4 {
    left: 42%;
    height: 37%;
}

.barra-5 {
    left: 54%;
    height: 51%;
}

.barra-6 {
    left: 66%;
    height: 65%;
}

.barra-7 {
    left: 78%;
    height: 80%;
}

.barra-8 {
    left: 90%;
    height: 96%;
}

.linea-grafico {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.linea-grafico polyline {
    fill: none;
    stroke: var(--verde);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.linea-grafico-brillo {
    stroke: rgba(255, 255, 255, 0.68) !important;
    stroke-width: 2 !important;
}

.flecha-grafico {
    position: absolute;
    z-index: 5;
    top: -7px;
    right: -4px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 28px solid var(--verde);
    transform: rotate(-53deg);
}


/* TABLET */

@media (max-width: 1050px) {

    .menu-principal {
        gap: 14px;
    }

    .menu-principal a {
        font-size: 0.7rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .hero-contenido {
        padding-right: 30px;
    }

}


/* MÓVIL */

@media (max-width: 820px) {

    html {
        scroll-padding-top: 76px;
    }

    .contenedor {
        width: min(calc(100% - 34px), var(--ancho));
    }

    .cabecera-contenido {
        min-height: 72px;
    }

    .logo-simbolo {
        width: 40px;
        height: 40px;
        border-width: 5px;
        font-size: 1.1rem;
    }

    .logo-textos strong {
        font-size: 1.45rem;
    }

    .logo-textos small {
        max-width: 190px;
        font-size: 0.56rem;
    }

    .boton-menu {
        display: flex;
    }

    .menu-principal {
        position: fixed;
        z-index: 999;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 22px;
        background: rgba(6, 26, 52, 0.985);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .menu-principal.activo {
        transform: translateX(0);
    }

    .menu-principal a {
        padding: 17px 10px;
        color: var(--blanco);
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .menu-principal a::after {
        display: none;
    }

    .boton-menu.activo span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .boton-menu.activo span:nth-child(2) {
        opacity: 0;
    }

    .boton-menu.activo span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-contenido {
        padding: 58px 0 46px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 11vw, 4.4rem);
    }

    .hero-visual {
        min-height: 420px;
        margin-inline: -17px;
    }

    .grafico {
        right: 7%;
        left: 7%;
        height: 330px;
    }

}


/* TELÉFONO */

@media (max-width: 560px) {

    .contenedor {
        width: min(calc(100% - 28px), var(--ancho));
    }

    .logo-textos small {
        display: none;
    }

    .hero-contenido {
        padding-top: 46px;
    }

    .hero-etiqueta {
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
        line-height: 1.04;
    }

    .hero-destacado {
        margin-top: 22px;
        font-size: 1.1rem;
    }

    .hero-descripcion {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .boton-principal {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .grafico {
        bottom: 25px;
        height: 255px;
    }

    .edificio {
        bottom: 50px;
    }

}

/* TÍTULOS DE SECCIÓN */

.titulo-seccion {
    color: var(--azul-oscuro);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.titulo-claro {
    color: var(--blanco);
}


/* BLOQUE DE IMPACTO */

.impacto {
    padding: 56px 0 60px;
    color: var(--blanco);
    background:
        radial-gradient(
            circle at top center,
            rgba(23, 69, 109, 0.70),
            transparent 48%
        ),
        var(--azul-oscuro);
}

.metricas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 42px;
}

.metrica {
    min-width: 0;
    padding: 12px 34px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.metrica:last-child {
    border-right: 0;
}

.icono-lineal {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
}

.metrica span {
    display: block;
    color: #cbd9e4;
    font-size: 0.82rem;
}

.metrica strong {
    display: block;
    margin: 3px 0 10px;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1;
}

.metrica p {
    max-width: 240px;
    margin-inline: auto;
    color: #dae5ed;
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 1050px) {

    .metricas {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrica {
        padding: 30px 35px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .metrica:nth-child(2) {
        border-right: 0;
    }

    .metrica:nth-child(3),
    .metrica:nth-child(4) {
        border-bottom: 0;
    }

}

@media (max-width: 560px) {

    .impacto {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .titulo-seccion {
        font-size: 1.55rem;
    }

    .metricas {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .metrica {
        padding: 30px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .metrica:nth-child(3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .metrica:last-child {
        border-bottom: 0;
    }

}

/*---------------------------------
SERVICIOS
---------------------------------*/

.servicios{

    padding:90px 0;

    background:#f8fafc;

}

.subtitulo-seccion{

    text-align:center;

    color:var(--verde);

    font-weight:700;

    letter-spacing:3px;

    font-size:.80rem;

    margin-bottom:12px;

}

.descripcion-seccion{

    max-width:760px;

    margin:25px auto 70px;

    text-align:center;

    color:var(--texto-suave);

    line-height:1.8;

}

.tarjetas-servicios{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:26px;

}

.tarjeta-servicio{

    background:white;

    border-radius:18px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 18px 40px rgba(0,0,0,.06);

    transition:.30s;

    border:1px solid #edf2f5;

}

.tarjeta-servicio:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 55px rgba(0,0,0,.12);

}

.icono-servicio{

    width:72px;

    height:72px;

    margin:auto;

    margin-bottom:22px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--verde),
        var(--azul-medio)
    );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

}

.tarjeta-servicio h3{

    margin-bottom:16px;

    color:var(--azul-oscuro);

    font-size:1.15rem;

}

.tarjeta-servicio p{

    color:var(--texto-suave);

    line-height:1.7;

    font-size:.95rem;

}

.tarjetas-servicios{

    grid-template-columns:repeat(2,1fr);

}
.tarjetas-servicios{

    grid-template-columns:1fr;

}

/* METODOLOGÍA */

.metodologia {
    padding: 90px 0;
    background: #ffffff;
}

.pasos-metodologia {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 55px;
}

.paso-metodologia {
    position: relative;
    padding: 34px 28px;
    border-left: 4px solid var(--verde);
    background: #f7fafb;
    border-radius: 0 14px 14px 0;
}

.numero-paso {
    display: block;
    margin-bottom: 18px;
    color: var(--verde);
    font-size: 2rem;
    font-weight: 800;
}

.paso-metodologia h3 {
    margin-bottom: 14px;
    color: var(--azul-oscuro);
    font-size: 1.15rem;
}

.paso-metodologia p {
    color: var(--texto-suave);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 1050px) {

    .pasos-metodologia {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 560px) {

    .metodologia {
        padding: 65px 0;
    }

    .pasos-metodologia {
        grid-template-columns: 1fr;
    }

}

/* BENEFICIOS */

.beneficios {
    padding: 90px 0;
    background: var(--azul-oscuro);
}

.beneficios .titulo-seccion {
    color: var(--blanco);
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 55px;
}

.beneficio {
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.beneficio span {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--blanco);
    background: var(--verde);
    font-weight: 800;
}

.beneficio h3 {
    margin-bottom: 8px;
    color: var(--blanco);
    font-size: 1.05rem;
}

.beneficio p {
    color: #d5e0e8;
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 1050px) {

    .grid-beneficios {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 560px) {

    .beneficios {
        padding: 65px 0;
    }

    .grid-beneficios {
        grid-template-columns: 1fr;
    }

    .cta-caja{

    padding:40px 25px;

}

}
/*---------------------------------
CTA FINAL
---------------------------------*/

.cta-final{

    padding:100px 0;

    background:#f3f7fa;

}

.cta-caja{

    max-width:900px;

    margin:auto;

    padding:70px;

    text-align:center;

    border-radius:22px;

    background:white;

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.cta-caja h2{

    color:var(--azul-oscuro);

    font-size:clamp(2rem,4vw,3rem);

    margin-bottom:25px;

}

.cta-caja p{

    max-width:650px;

    margin:auto;

    margin-bottom:40px;

    color:var(--texto-suave);

    line-height:1.8;

}


/*---------------------------------
CONTACTO
---------------------------------*/

.contacto{
    padding:90px 0;
    background:#ffffff;
}

.contacto-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:50px;
    align-items:start;
}

.contacto-datos{
    padding:35px;
    border-radius:18px;
    background:#f7fafb;
    border:1px solid #e7edf2;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

.contacto-datos h3{
    color:var(--azul-oscuro);
    margin-bottom:18px;
}

.contacto-datos p{
    margin-bottom:10px;
    color:var(--texto-suave);
}

.contacto-datos a{
    color:var(--azul-medio);
    font-weight:700;
}

.pie-web{
    background:var(--azul-oscuro);
    color:#fff;
    padding:28px 0;
}

.pie-contenido{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.pie-contenido span{
    display:block;
    margin-top:6px;
    color:#cdd9e3;
    font-size:.9rem;
}

.pie-contenido p{
    color:#cdd9e3;
}

@media (max-width:820px){
    .contacto-grid{
        grid-template-columns:1fr;
    }

    .pie-contenido{
        text-align:center;
        justify-content:center;
    }
}