/* =========================
   BASE
========================= */
*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
}

body{
    font-family:Inter, Arial, sans-serif;
    color:#ffffff;
    background:
        radial-gradient(circle at 18% 62%, rgba(0,170,255,0.22) 0%, rgba(0,170,255,0.00) 28%),
        radial-gradient(circle at 55% 72%, rgba(0,110,255,0.18) 0%, rgba(0,110,255,0.00) 24%),
        radial-gradient(circle at 83% 34%, rgba(72,186,255,0.22) 0%, rgba(72,186,255,0.00) 24%),
        linear-gradient(120deg, rgba(28,105,255,0.00) 0%, rgba(58,183,255,0.10) 52%, rgba(79,215,255,0.22) 68%, rgba(0,0,0,0) 100%),
        #04070d;
    position:relative;
}

/* capa brillante tipo tornasol */
body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 26% 70%, rgba(33,175,255,0.22) 0%, rgba(33,175,255,0.0) 18%),
        radial-gradient(circle at 62% 66%, rgba(88,130,255,0.20) 0%, rgba(88,130,255,0.0) 20%),
        radial-gradient(circle at 87% 43%, rgba(109,228,255,0.18) 0%, rgba(109,228,255,0.0) 18%);
    filter: blur(22px);
    opacity:.95;
    z-index:0;
}

/* estrellas suaves */
body::after{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,.65) 0, transparent 100%),
        radial-gradient(1.5px 1.5px at 24% 76%, rgba(255,255,255,.55) 0, transparent 100%),
        radial-gradient(2px 2px at 48% 22%, rgba(255,255,255,.50) 0, transparent 100%),
        radial-gradient(1.5px 1.5px at 61% 84%, rgba(255,255,255,.42) 0, transparent 100%),
        radial-gradient(2px 2px at 74% 58%, rgba(255,255,255,.58) 0, transparent 100%),
        radial-gradient(1.5px 1.5px at 89% 24%, rgba(255,255,255,.45) 0, transparent 100%),
        radial-gradient(1.5px 1.5px at 84% 82%, rgba(255,255,255,.55) 0, transparent 100%),
        radial-gradient(2px 2px at 6% 90%, rgba(255,255,255,.40) 0, transparent 100%);
    opacity:.45;
    z-index:0;
}

/* =========================
   NAVBAR
========================= */
.nav{
    position:relative;
    z-index:2;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 26px 10px 26px;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}

.nav-menu a{
    text-decoration:none;
    color:#eef4ff;
    font-size:14px;
    line-height:1;
    white-space:nowrap;
    transition:0.2s ease;
    opacity:.95;
}

.nav-menu a:hover{
    color:#58c7ff;
}

.lang-switch{
    display:flex;
    align-items:center;
    gap:8px;
}

.lang-btn{
    border:none;
    background:#0b7cff;
    color:#ffffff;
    padding:8px 14px;
    border-radius:12px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s ease;
    box-shadow:0 8px 18px rgba(11,124,255,.22);
}

.lang-btn:hover{
    background:#066ae0;
    transform:translateY(-1px);
}

.lang-btn.active{
    background:#20c8ff;
    color:#ffffff;
}

/* =========================
   HERO
========================= */
.hero-page{
    position:relative;
    z-index:1;
    width:100%;
}

.hero{
    width:100%;
    min-height:calc(100vh - 68px);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    padding:8px 20px 70px 20px;
}

.hero-logo-wrap{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 0 12px 0;
}

.hero-logo{
    width:min(100%, 350px);
    height:auto;
    display:block;
    object-fit:contain;
    filter: drop-shadow(0 8px 24px rgba(0,120,255,.18));
}

.hero-text{
    width:100%;
    max-width:980px;
    margin:0 auto 26px auto;
}

.hero-text h1{
    margin:0;
    font-size:clamp(1.9rem, 3.35vw, 3.55rem);
    line-height:1.09;
    font-weight:650;
    letter-spacing:-0.03em;
    color:#ffffff;
    text-shadow:0 2px 14px rgba(0,0,0,.18);
}

.hero-image{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 26px auto;
}

.hero-image img{
    width:100%;
    max-width:470px;
    height:auto;
    display:block;
    border-radius:22px;
    object-fit:cover;
    box-shadow:
        0 18px 44px rgba(0,0,0,.34),
        0 0 38px rgba(86,197,255,.10);
}

.hero-sub{
    width:100%;
    max-width:1040px;
    margin:0 auto;
}

.hero-sub p{
    margin:0;
    color:#edf5ff;
    font-size:clamp(1.14rem, 1.32vw, 1.34rem);
    line-height:1.62;
    font-weight:400;
    text-align:center;
    text-shadow:0 2px 10px rgba(0,0,0,.18);
}

/* =========================
   BOTÓN FLOTANTE
========================= */
#chat-float{
    position:fixed;
    right:24px;
    bottom:24px;
    display:flex;
    align-items:center;
    gap:10px;
    z-index:10;
}

.chat-tooltip{
    background:rgba(16, 24, 39, 0.85);
    color:#ffffff;
    padding:9px 14px;
    border-radius:12px;
    font-size:13px;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    backdrop-filter: blur(8px);
}

#chat-btn{
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg, #0b7cff, #20c8ff);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    box-shadow:0 12px 28px rgba(0,150,255,.38);
    transition:0.2s ease;
}

#chat-btn:hover{
    transform:scale(1.05);
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px){
    .nav{
        flex-direction:column;
        gap:10px;
        padding:14px 18px 8px 18px;
    }

    .nav-menu{
        justify-content:center;
        gap:14px;
    }

    .hero{
        min-height:auto;
        padding:8px 18px 78px 18px;
    }

    .hero-logo{
        width:min(100%, 300px);
    }

    .hero-text{
        margin-bottom:22px;
    }

    .hero-text h1{
        font-size:clamp(1.82rem, 4.2vw, 3rem);
    }

    .hero-image{
        margin-bottom:22px;
    }

    .hero-image img{
        max-width:430px;
    }

    .hero-sub p{
        font-size:1.12rem;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){
    .nav{
        padding:12px 14px 8px 14px;
        gap:10px;
    }

    .nav-menu{
        gap:12px;
        justify-content:center;
    }

    .nav-menu a{
        font-size:12px;
    }

    .lang-btn{
        font-size:12px;
        padding:7px 11px;
        border-radius:10px;
    }

    .hero{
        padding:8px 14px 84px 14px;
    }

    .hero-logo-wrap{
        margin:0 0 10px 0;
    }

    .hero-logo{
        width:min(100%, 230px);
    }

    .hero-text{
        margin-bottom:18px;
    }

    .hero-text h1{
        font-size:clamp(1.72rem, 6.9vw, 2.5rem);
        line-height:1.1;
        font-weight:650;
    }

    .hero-image{
        margin-bottom:18px;
    }

    .hero-image img{
        max-width:100%;
        border-radius:18px;
    }

    .hero-sub p{
        font-size:1.06rem;
        line-height:1.58;
    }

    .chat-tooltip{
        display:none;
    }

    #chat-btn{
        width:52px;
        height:52px;
        font-size:20px;
    }

    #chat-float{
        right:18px;
        bottom:18px;
    }
}

/* =========================
   SECCIÓN QUIÉNES SOMOS
========================= */

.section{
    position:relative;
    z-index:1;
    width:100%;
    padding:100px 20px;
}

.container{
    max-width:1200px;
    margin:0 auto;
}

/* LOGO PEQUEÑO SECCIONES */
.section-mini-logo{
    width:100%;
    margin:0 0 22px 0;
}

.left-logo{
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.section-mini-logo img{
    width:220px;
    max-width:100%;
    height:auto;
    display:block;
    object-fit:contain;
    filter: drop-shadow(0 6px 18px rgba(0,120,255,.15));
}

@media (max-width: 1024px){
    .section-mini-logo{
        margin:0 0 18px 0;
    }

    .section-mini-logo img{
        width:185px;
    }
}

@media (max-width: 768px){
    .left-logo{
        justify-content:flex-start;
    }

    .section-mini-logo{
        margin:0 0 16px 0;
    }

    .section-mini-logo img{
        width:150px;
    }
}

/* GRID */
.quienes-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

/* TEXTO */
.quienes-text h2{
    font-size:3.35rem;
    margin-bottom:20px;
    font-weight:600;
    letter-spacing:-1px;
}

.quienes-text p{
    color:#cbd5e1;
    font-size:1.32rem;
    line-height:1.78;
    margin-bottom:16px;
}

/* IMAGEN */
.quienes-image img{
    width:100%;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

/* RESPONSIVE */
@media (max-width: 900px){
    .quienes-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .quienes-text{
        text-align:center;
    }
}

/* ===== MODO PRO: MENU FIJO + FULL SCREEN + SNAP ===== */

html{
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body{
    padding-top: 82px;
}

.nav{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(4, 7, 13, 0.55);
}

.full-screen-section{
    min-height: calc(100vh - 82px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.full-screen-section{
    flex-direction: column;
}

.section.full-screen-section{
    display: flex;
    align-items: center;
}

.quienes{
    padding-top: 40px;
    padding-bottom: 40px;
}

.container{
    width: 100%;
}

.quienes-grid{
    min-height: calc(100vh - 220px);
}

@media (max-width: 1024px){
    html{
        scroll-snap-type: y proximity;
    }

    body{
        padding-top: 110px;
    }

    .full-screen-section{
        min-height: auto;
        scroll-snap-align: start;
    }

    .quienes-grid{
        min-height: auto;
    }
}

@media (max-width: 768px){
    body{
        padding-top: 120px;
    }
}

/* ===== SECCION 3: QUE HACEMOS ===== */

.servicios-container{
    width:100%;
}

/* SOLO ESTA SECCIÓN SE SUBE */
#servicios .servicios-container{
    position: relative;
    top: -70px;
}

.section-header{
    max-width:900px;
    margin:0 auto 40px auto;
    text-align:center;
}

.section-header h2{
    font-size:3.15rem;
    font-weight:700;
    margin-bottom:18px;
    color:#ffffff;
}

.section-header p{
    font-size:1.28rem;
    line-height:1.82;
    color:#e6f0ff;
    margin:0 auto;
}

.servicios-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:28px;
    max-width:1100px;
    margin:60px auto 0 auto;
}

/* SOLO ESTA SECCIÓN SE AJUSTA */
#servicios .servicios-grid{
    margin:34px auto 0 auto;
}

.servicio-card{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:30px;
    backdrop-filter:blur(10px);
    box-shadow:0 12px 30px rgba(0,0,0,0.20);
}

.servicio-card h3{
    font-size:1.62rem;
    margin:0 0 14px 0;
    color:#ffffff;
}

.servicio-card p{
    font-size:1.16rem;
    line-height:1.8;
    color:#d9e8ff;
    margin:0;
}

@media (max-width: 900px){
    .servicios-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:2.55rem;
    }

    .section-header p{
        font-size:1.14rem;
    }

    #servicios .servicios-container{
        top: -16px;
    }

    #servicios .servicios-grid{
        margin:24px auto 0 auto;
    }
}

/* CENTRAR MEJOR LAS SECCIONES AL HACER CLICK EN MENU */
section{
    scroll-margin-top: 100px;
}

/* ===== SECCION 4: COMO LO HACEMOS ===== */

.proceso-container{
    width:100%;
}

.proceso-steps{
    display:flex;
    justify-content:space-between;
    gap:30px;
    max-width:1100px;
    margin:60px auto 0 auto;
    flex-wrap:wrap;
}

.step{
    flex:1;
    min-width:220px;
    text-align:center;
}

.step-number{
    width:60px;
    height:60px;
    margin:0 auto 20px auto;
    border-radius:50%;
    background:linear-gradient(135deg,#00c6ff,#0072ff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
    font-weight:700;
    color:#fff;
    box-shadow:0 10px 25px rgba(0,114,255,0.4);
}

.step h3{
    font-size:1.42rem;
    margin-bottom:10px;
    color:#ffffff;
}

.step p{
    font-size:1.14rem;
    line-height:1.78;
    color:#d9e8ff;
}

@media (max-width: 900px){
    .proceso-steps{
        flex-direction:column;
        align-items:center;
    }
}

/* ===== SECCION 5: VALOR ===== */

.valor-container{
    width:100%;
}

.valor-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    max-width:1100px;
    margin:60px auto 0 auto;
}

.valor-item{
    text-align:center;
    padding:30px;
}

.valor-item h3{
    font-size:1.5rem;
    margin-bottom:12px;
    color:#ffffff;
}

.valor-item p{
    font-size:1.14rem;
    line-height:1.78;
    color:#d9e8ff;
}

@media (max-width: 900px){
    .valor-grid{
        grid-template-columns:1fr;
    }
}

/* ===== SECCION 6: POR QUE ===== */

.porque-container{
    width:100%;
}

.porque-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    max-width:900px;
    margin:60px auto 0 auto;
}

.porque-item{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    padding:20px;
    border-radius:16px;
    text-align:center;
    font-size:1.18rem;
    color:#e6f0ff;
    backdrop-filter:blur(8px);
}

@media (max-width: 768px){
    .porque-grid{
        grid-template-columns:1fr;
    }
}

/* ===== SECCION 7: CONTACTO ===== */

.contacto-container{
    text-align:center;
    max-width:800px;
    margin:0 auto;
}

.contacto-container h2{
    font-size:2.95rem;
    margin-bottom:20px;
}

.contacto-container p{
    font-size:1.28rem;
    line-height:1.82;
    color:#e6f0ff;
    margin-bottom:30px;
}

.contacto-info{
    margin:12px auto 26px auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.contacto-info p{
    margin:0;
    font-size:1.08rem;
    line-height:1.6;
    color:#ffffff;
}

.contacto-info a{
    color:#7fd8ff;
    text-decoration:none;
}

.contacto-info a:hover{
    text-decoration:underline;
}

.cta-box{
    margin-top:20px;
}

.cta-btn{
    background:linear-gradient(135deg,#00c6ff,#0072ff);
    color:#fff;
    border:none;
    padding:16px 32px;
    font-size:1.1rem;
    border-radius:30px;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(0,114,255,0.4);
    transition:0.2s ease;
}

.cta-btn:hover{
    transform:scale(1.05);
}