/* =========================
              RESET GLOBAL (PRO)
            ========================= */

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* SCROLL SUAVE */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

#descargar {
    scroll-margin-top: -90px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.page-content {
    flex: 1;
}

/* =========================
            BASE DEL SITIO
           ========================= */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg,
            #dae7fd 0%,
            #ecf2fc 0%,
            #ffffff 100%);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* =========================
           VARIABLES (PRO LEVEL)
           ========================= */

:root {
    --color-primary: #1D3F8E;
    --color-secondary: #204bae;
    --color-bg: #0F172A;
    --color-text: #ffffff;
}










/* HEADER */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    /* esto equilibra logo y menú */

    padding: 12px 5px;

    z-index: 1000;

    background: transparent;

    transition: all .35s ease;
}

/* HEADER CUANDO HAY SCROLL */

.navbar.scrolled {

    background: rgba(29, 63, 142, 0.15);
    /* azul transparente */

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

}

/* LOGO */

.logo {
    display: flex;
    margin-left: 20px;
    align-items: center;
    gap: 3px;
}

.logo img {
    height: 70px;
}

.logo-text {
    margin-top: 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: rgb(29, 63, 142);
}

/* cuando el header tenga fondo */

.navbar.scrolled .logo-text {
    color: rgb(29, 63, 142)
}

/* MENU */

nav {

    display: flex;
    gap: 30px;
    padding-right: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0px);
    flex-wrap: wrap;

    transition: all .35s ease;
}

.navbar.scrolled nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav a {
    color: rgb(29, 63, 142);
    text-decoration: none;
    font-size: 18px;
    opacity: .9;
    transition: .2s;
    font-weight: 600;
}

/* COLOR CUANDO SCROLL */

.navbar.scrolled nav a {
    color: #204bae;
}

nav a:hover {
    opacity: 1;
}





/* =========================
           CONTENEDORES GENERALES
        ========================= */
.colab-hero-content,
.section-header,
.pasos-grid,
.servicios-grid,
.seguridad-grid,
.tips-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.servicio-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* =========================
           HERO CLIENTE
        ========================= */
.hero-cliente {
    margin-bottom: 120px;
}



.colab-hero {
    padding: 120px 20px;
}

.colab-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.colab-hero-texto {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.colab-badge {
    background: #EEF2FF;
    color: #1d3f8e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 18px;
    transform: translateX(-12px);
}

.colab-hero-texto h1 {
    font-size: 52px;
    color: #1d3f8e;
    margin: 0 0 20px 0;
    line-height: 1.05;
}

.colab-hero-texto p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.colab-hero-botones {
    margin-top: 32px;
    display: flex;

}

.btn-principal {
    background: #1d3f8e;
    color: white;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.colab-hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* imagen cliente */


.personaje-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    aspect-ratio: 1/1;
    transform: translateY(-88px);
}

.colaborador-img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;

}


.cards {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

/* CARD BASE */
.card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;

    background: white;
    padding: 14px 18px;
    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    min-width: 220px;
    backdrop-filter: blur(10px);

    animation: floatCard 5s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    --scale: 1;
}

.card:hover {
    --scale: 1.06;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}


/* TEXTOS */
.titulo {
    font-size: 14px;
    color: #000000;
    margin: 0;
    margin-top: 6px;
}

.precio {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
}

.sub {
    font-size: 13px;
    color: #000000;
}

.rating {
    color: #000000;
    font-weight: 600;
}

.codigo {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
}

.icono-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.icono-box img {
    width: 50px;
    height: auto;
    transform: scale(1.4);
}

/* estructura texto */
.contenido {
    display: flex;
    flex-direction: column;
}

/* fila horizontal */
.fila {
    display: flex;
    align-items: center;
    gap: 8px;
}



/* BADGES */
.badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #dbeafe;
    margin-bottom: 10px;
    color: #1d4ed8;
}

.badge.verde {
    background: #dcfce7;
    color: #16a34a;
    margin-bottom: 10px;
}


/* servicio */
.card-1 {
    top: 0;
    left: 0;
    --base-x: -320px;
    --base-y: -30px;
}

/* valor */
.card-2 {
    bottom: 0;
    left: 0;
    --base-x: -290px;
    --base-y: 350px;
}

/* confianza */
.card-3 {
    top: 0;
    right: 0;
    --base-x: 350px;
    --base-y: -90px;
}

/* codigo */
.card-4 {
    bottom: 0;
    right: 0;
    --base-x: 330px;
    --base-y: 260px;
}

@keyframes floatCard {
    0% {
        transform:
            translate(var(--base-x), var(--base-y)) scale(var(--scale, 1));
    }

    50% {
        transform:
            translate(var(--base-x), calc(var(--base-y) - 10px)) scale(var(--scale, 1));
    }

    100% {
        transform:
            translate(var(--base-x), var(--base-y)) scale(var(--scale, 1));
    }
}

/* /* ========================= */
/* HERO COLABORADOR */
/* ========================= */
*/ .worker-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.worker-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;

    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 80px;
}

.worker-hero-texto {
    max-width: 580px;
    padding-right: 30px;
}

.worker-badge {
    background: #EEF2FF;
    color: #1d3f8e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.worker-hero-texto h1 {
    font-size: 52px;
    color: #1d3f8e;
    margin: 20px 0;
    line-height: 1.1;
}

.worker-hero-texto p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
}

.worker-hero-botones {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.worker-btn-principal {
    background: #1d3f8e;
    color: white;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.worker-btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.worker-hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* IMAGEN */

.worker-personaje-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
}

.worker-img {
    width: 420px;
    max-width: 100%;
    object-fit: contain;
}

/* CARDS */

.worker-cards {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.worker-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;

    background: white;
    padding: 14px 18px;
    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    min-width: 220px;
    backdrop-filter: blur(10px);

    animation: floatCard 5s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    --scale: 1;
}

.worker-card:hover {
    --scale: 1.06;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* TEXTOS */

.worker-titulo {
    font-size: 14px;
    color: #000000;
    margin: 0;
    margin-top: 6px;
}

.worker-sub {
    font-size: 13px;
    color: #828282;
}

.worker-rating {
    font-weight: 600;
    color: #828282;
}

/* ICONOS */

.worker-icono-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-icono-box img {
    width: 60px;
    height: auto;
    transform: scale(1.4);
}

/* CONTENIDO */

.worker-contenido {
    display: flex;
    flex-direction: column;
}

/* POSICIONES */

.worker-card-1 {
    top: 0;
    left: 0;
    --base-x: -320px;
    --base-y: -30px;
}

.worker-card-2 {
    bottom: 0;
    left: 0;
    --base-x: -290px;
    --base-y: 350px;
}

.worker-card-3 {
    top: 0;
    right: 0;
    --base-x: 350px;
    --base-y: -90px;
}

.worker-card-4 {
    bottom: 0;
    right: 0;
    --base-x: 330px;
    --base-y: 260px;
}












/* ========================= */
/* SEGURIDAD  */
/* ========================= */

.seguridad {
    padding: 120px 20px;
    text-align: center;

}

.seguridad h2 {
    font-size: 42px;
    color: #1d3f8e;
    font-weight: 700;
    margin-bottom: 15px;
}

.seguridad .subtexto {
    font-size: 18px;
    color: #000000;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

/* CONTENEDOR CENTRAL */

.escudo-container {
    position: relative;
    width: 650px;
    height: 650px;
    margin: 0 auto;
}

/* CENTRO */

.centro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.centro img {

    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.centro img:hover {
    transform: scale(1.08);
}

/* FEATURES */

.feature {
    position: absolute;
    text-align: center;
    width: 160px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature img {


    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}



.feature span {
    font-size: 14px;
    color: #1d3f8e;
    font-weight: 600;
}

/* POSICIONES */
/* identidad */
.top {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-220px);
}

/* bloqueo */
.left {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-260px) translateY(6%);
}

/* estrella */
.right {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(260px) translateY(-10%);
}

/* codigo */
.bottom {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(220px);
}

/* HOVER SUAVE */

.feature:hover img {
    transform: scale(1.12);
}

/* ANIMACIÓN FLOTANTE */

.icon-wrapper {
    animation: float 4s ease-in-out infinite;
}

.feature.left {
    animation-delay: 0.5s;
}

.feature.right {
    animation-delay: 1s;
}

.feature.bottom {
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* CONTROL TAMAÑO INDIVIDUAL ICONOS */


/* ESCUDO (protagonista) */
.img-escudo {
    width: 550px;
}

/* USUARIO VERIFICADO */
.img-verificado {
    width: 85px;
}

/* USUARIO BLOQUEADO */
.img-bloqueado {
    width: 95px;
}

/* REPUTACIÓN */
.img-reputacion {
    width: 160px;
}

/* CÓDIGO */
.img-codigo {
    width: 150px;
}

.img-reputacion {

    transform: translateY(3px);
}

.img-codigo {

    transform: translateY(5px);
}

/* TEXTO FINAL */

.info-seguridad {
    margin-top: 80px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.info-seguridad p {
    font-size: 17px;
    color: #000000;
    line-height: 1.8;
}

/* CONTROL GENERAL */
.icon-wrapper {
    margin-bottom: 0px;
    /* 👈 controla espacio */
}

.top .icon-wrapper {
    margin-bottom: -10px;
}

.left .icon-wrapper {
    margin-bottom: -10px;
    transform: translateY(-4px);
}

.right .icon-wrapper {
    margin-bottom: -25px;
    transform: translateY(6px);
}

.bottom .icon-wrapper {
    margin-bottom: -30px;
}

.left span {
    margin-top: -2px;
}

.right span {
    margin-top: 4px;
}

/* ========================= */
/* DESCARGAR  */
/* ========================= */



.descargar {
    padding: 220px 80px;

}

/* CONTENEDOR PRINCIPAL */
.descargar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    max-width: 1300px;
    margin: 0 auto;
}

/* TEXTO */
.descarga-texto {
    max-width: 480px;

    margin-left: 80px;

}

.descarga-texto h2 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    color: #1d3f8e;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.descarga-texto .subtexto {
    font-size: 22px;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* BOTONES */


.botones-descarga {
    display: flex;
    flex-direction: row;

    gap: 20px;
}

.botones-descarga img {

    transition: transform 0.25s ease;
}

.botones-descarga img:hover {
    transform: translateY(-4px) scale(1.06);
    filter: brightness(1.1);
}


.btn-appstore {
    width: 180px;
}

.btn-googleplay {
    width: 200px;
}

/* MOCKUP GRANDE */
.mockup img {
    width: 850px;
    filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.35));
    transform: rotate(8deg) perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
    animation: floatPhone 6s ease-in-out infinite;
}

.mockup img:hover {
    transform: translateY(-12px) scale(1.05) rotate(6deg);
}

.mockup {
    position: relative;
    margin-right: -120px;
}

.mockup::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(29, 63, 142, 0.18), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
    animation: pulseGlow 4s ease-in-out infinite;
}


@keyframes floatPhone {
    0% {
        transform: rotate(8deg) translateY(0px);
    }

    50% {
        transform: rotate(8deg) translateY(-12px);
    }

    100% {
        transform: rotate(8deg) translateY(0px);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* TEXTO FINAL */
.nota {
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.descarga-texto {
    transition-delay: 0.2s;
}

.botones-descarga {
    transition-delay: 0.4s;
}

.mockup {
    transition-delay: 0.6s;
}

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

.footer {
    width: 100%;
    background: #EEF2FF;
    color: #000;
    padding: 80px;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #64748b;
}

/* COLUMNAS */
.footer-col h3,
.footer-col h4 {
    color: rgb(0, 0, 0);
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: #000000;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 15px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: rgb(0, 0, 0);
}

/* LOGO */
.footer-logo {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    color: white;
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ============ */
/* RESPONSIVE */
/* ============= */
@media (max-width: 768px) {
    nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .colab-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .colab-hero-texto {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .colab-hero {
        padding: 90px 20px 60px;
    }
}

@media (max-width: 900px) {
    .colab-hero {
        padding: 90px 20px 60px;
    }

    .colab-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .colab-hero-texto {
        align-items: center;
        max-width: 100%;
    }

    .personaje-wrapper {
        width: 320px;
        height: 320px;
        transform: translateY(0);
    }

    .colaborador-img {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .worker-hero {
        min-height: auto;
        padding: 80px 20px 60px;
    }

    .worker-hero-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .worker-hero-texto {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .worker-hero-texto h1 {
        font-size: 38px;
    }

    .worker-personaje-wrapper {
        max-width: 320px;
    }

    .worker-img {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .escudo-container {
        width: 100%;
        max-width: 380px;
        height: 380px;
    }

    .img-escudo {
        width: 260px;
    }

    .img-verificado {
        width: 55px;
    }

    .img-bloqueado {
        width: 60px;
    }

    .img-reputacion {
        width: 90px;
    }

    .img-codigo {
        width: 85px;
    }

    .top {
        transform: translate(-50%, -50%) translateY(-125px);
    }

    .left {
        transform: translate(-50%, -50%) translateX(-135px) translateY(6%);
    }

    .right {
        transform: translate(-50%, -50%) translateX(135px) translateY(-10%);
    }

    .bottom {
        transform: translate(-50%, -50%) translateY(125px);
    }
}

@media (max-width: 900px) {
    .descargar {
        padding: 100px 20px 70px;
    }

    .descargar-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .descarga-texto {
        max-width: 100%;
        margin-left: 0;
    }

    .descarga-texto h2 {
        font-size: 40px;
    }

    .descarga-texto .subtexto {
        font-size: 18px;
    }

    .botones-descarga {
        justify-content: center;
        flex-wrap: wrap;
    }

    .mockup {
        margin-right: 0;
    }

    .mockup img {
        width: 100%;
        max-width: 420px;
        transform: none;
    }

    .mockup img:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

@media (max-width: 600px) {

    .img-verificado {
        width: 50px;
    }

    .img-bloqueado {
        width: 55px;
    }

    .img-reputacion {
        width: 60px;
    }

    .img-codigo {
        width: 65px;
    }

    .img-escudo {
        width: 90px;
    }

}

@media (max-width: 900px) {

    .cards,
    .worker-cards {
        display: none;
    }
}


@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}