/* ============================================================
   OPTIMIZAME · Landing pública
   Paleta y tipografía inspiradas en Ideala.
   ============================================================ */

:root{
    --primary:#003777;       /* azul marino - títulos */
    --cyan:#00C1C2;          /* cyan vibrante - acento 1 */
    --mint:#03D59F;          /* verde menta - acento 2 */
    --blue-2:#2166A9;        /* azul medio */
    --dark:#000000;
    --gray-text:#7A7A7A;
    --gray-2:#54595F;
    --gray-lite:#F2F2F2;
    --gray-lighter:#F8F8F8;
    --white:#FFFFFF;
    --footer-bg:#1A1A1A;
    --gradient:linear-gradient(255deg, #00C1C2 12%, #03D59F 98%);
    --shadow-brand:0 8px 20px 0 rgba(3,213,159,0.36);
    --shadow-brand-lg:0 12px 30px 0 rgba(3,213,159,0.30);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
    font-family:'Lato', system-ui, sans-serif;
    color:var(--gray-2);
    background:#F7FBFC;
    font-size:16px; line-height:1.7;
}
h1,h2,h3,h4,h5,h6{
    font-family:'Oswald', system-ui, sans-serif;
    color:var(--primary);
    font-weight:700;
    text-transform:uppercase;
    line-height:1.15;
    letter-spacing:.5px;
}
a{ text-decoration:none; color:inherit; transition:color .2s; }
img{ max-width:100%; display:block; }

.container{ max-width:1180px; margin:0 auto; padding:0 24px; }

/* ============ Botones ============ */
.btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:18px 34px;
    border:none; cursor:pointer;
    font-family:'Open Sans', sans-serif;
    font-weight:700; font-size:16px;
    text-transform:uppercase; letter-spacing:.5px;
    color:var(--white);
    background:var(--gradient);
    border-radius:6px;
    transition:box-shadow .25s, transform .2s;
}
.btn:hover{
    box-shadow:var(--shadow-brand-lg);
    transform:translateY(-2px);
    color:var(--white);
}
.btn-outline{
    background:transparent;
    color:var(--primary);
    border:2px solid var(--primary);
}
.btn-outline:hover{
    background:var(--primary); color:var(--white);
    box-shadow:none;
}
.btn-white{
    background:var(--white); color:var(--primary);
}
.btn-white:hover{
    background:var(--gray-lite); color:var(--primary);
}

/* ============ NAVBAR ============ */
.nav{
    background:var(--white);
    position:sticky; top:0; z-index:100;
    box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    height:85px;
}
.brand{
    display:flex; align-items:center; gap:12px;
    font-family:'Oswald', sans-serif;
    font-weight:700; font-size:22px;
    color:var(--primary);
    text-transform:uppercase; letter-spacing:1px;
}
.brand img, .brand svg{ width:38px; height:38px; flex:none; }
.nav-links{
    display:flex; align-items:center; gap:36px;
}
.nav-links a{
    color:var(--primary);
    font-family:'Oswald', sans-serif;
    font-weight:500; font-size:14px;
    text-transform:uppercase; letter-spacing:1px;
}
.nav-links a:hover{ color:var(--cyan); }
.nav-links .nav-cta{
    padding:12px 24px;
    background:var(--gradient); color:var(--white) !important;
    border-radius:6px; font-weight:700;
    box-shadow:var(--shadow-brand);
}
.nav-links .nav-cta:hover{ transform:translateY(-1px); box-shadow:var(--shadow-brand-lg); }

.burger{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.burger span{ display:block; width:24px; height:2px; background:var(--primary); margin:5px 0; border-radius:2px; }
@media(max-width: 900px){
    .nav-links{
        display:none; position:absolute; top:85px; left:0; right:0;
        flex-direction:column; gap:0; background:var(--white);
        border-bottom:1px solid var(--gray-lite);
        padding:20px 24px; box-shadow:0 8px 24px rgba(0,0,0,.08);
    }
    .nav-links.open{ display:flex; }
    .nav-links a{ padding:14px 0; border-bottom:1px solid var(--gray-lite); width:100%; }
    .nav-links a:last-child{ border-bottom:0; }
    .burger{ display:block; }
}

/* ============ HERO ============ */
.hero{
    position:relative; overflow:hidden;
    padding:100px 0 120px;
    background:
        radial-gradient(ellipse at 90% 10%, rgba(0,193,194,.10), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(3,213,159,.08), transparent 55%),
        #F7FBFC;
}
.hero-blob{
    position:absolute; z-index:0; opacity:.9;
    pointer-events:none;
}
.hero-blob-1{ top:-100px; right:-180px; width:600px; height:600px; }
.hero-blob-2{ bottom:-150px; left:-140px; width:440px; height:440px; opacity:.55; }
.hero .container{ position:relative; z-index:2; }
.hero-grid{
    display:grid; grid-template-columns:1.15fr .95fr;
    gap:60px; align-items:center;
}
@media(max-width: 960px){
    .hero-grid{ grid-template-columns:1fr; gap:50px; }
    .hero-image-wrap{ order:2; }
}
.hero-content{ max-width:640px; }
.hero h1{
    font-size:clamp(2.6rem, 6vw, 5rem);
    color:var(--primary);
    font-weight:700;
    line-height:1.05;
    margin-bottom:28px;
}
.hero h1 .grad-text{
    background:var(--gradient);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent;
}
.hero p.lead{
    font-family:'Lato', sans-serif;
    font-size:1.25rem; color:var(--gray-2);
    max-width:600px; margin-bottom:40px;
    line-height:1.6;
}
.hero-strip{
    display:flex; gap:32px; margin-top:60px;
    padding-top:32px; border-top:1px solid var(--gray-lite);
    flex-wrap:wrap;
}
.hero-strip .item{
    display:flex; align-items:center; gap:12px;
    color:var(--primary); font-size:.95rem; font-weight:700;
    font-family:'Oswald', sans-serif; text-transform:uppercase; letter-spacing:.5px;
}
.hero-strip .item .ico{
    width:36px; height:36px; border-radius:50%;
    background:var(--gradient);
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--white);
    box-shadow:var(--shadow-brand);
}
.hero-strip .item svg{ width:18px; height:18px; }

.hero-image-wrap{ position:relative; }
.hero-image{
    width:100%; height:auto; border-radius:20px;
    box-shadow:0 30px 60px -20px rgba(0,55,119,.35), 0 12px 30px -10px rgba(3,213,159,.20);
    border:8px solid #fff;
    display:block;
}
.hero-badge-float{
    position:absolute;
    background:var(--white);
    border-radius:14px;
    padding:14px 18px;
    display:flex; align-items:center; gap:12px;
    box-shadow:0 18px 40px -12px rgba(0,55,119,.22);
}
.hero-badge-float .bic{
    width:40px; height:40px; border-radius:50%;
    background:var(--gradient);
    display:flex; align-items:center; justify-content:center;
    color:var(--white); flex:none;
}
.hero-badge-float .btxt{
    font-family:'Oswald', sans-serif; text-transform:uppercase;
    font-size:12px; font-weight:600; letter-spacing:1px;
    color:var(--primary);
}
.hero-badge-float .bnum{
    font-family:'Oswald', sans-serif;
    font-size:20px; font-weight:700; color:var(--primary);
    line-height:1;
}
.hero-badge-top{ top:-24px; left:-28px; }
.hero-badge-bot{ bottom:-24px; right:-20px; }
@media(max-width: 960px){
    .hero-badge-top, .hero-badge-bot{ display:none; }
}

/* ============ Sección genérica ============ */
.section{ padding:120px 0; position:relative; overflow:hidden; }
.section-alt{
    background:
        radial-gradient(ellipse at 100% 0%, rgba(0,193,194,.10), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(3,213,159,.08), transparent 55%),
        #EDF5F7;
}
.section-tinted{
    background:
        radial-gradient(ellipse at 15% 20%, rgba(0,55,119,.06), transparent 60%),
        radial-gradient(ellipse at 85% 80%, rgba(3,213,159,.08), transparent 60%),
        #F7FBFC;
}
.sec-blob{
    position:absolute; z-index:0;
    opacity:.65;
    pointer-events:none;
}
.sec-blob-tr{ top:-140px; right:-160px; width:420px; height:420px; }
.sec-blob-bl{ bottom:-140px; left:-140px; width:360px; height:360px; }
.section > .container{ position:relative; z-index:2; }

.section-head{ max-width:720px; margin:0 auto 70px; text-align:center; }
.eyebrow{
    display:inline-block;
    color:var(--cyan); font-weight:700;
    font-family:'Oswald', sans-serif;
    font-size:14px; letter-spacing:3px; text-transform:uppercase;
    margin-bottom:16px;
}
.eyebrow::after{
    content:""; display:inline-block; width:40px; height:2px;
    background:var(--gradient); vertical-align:middle;
    margin-left:14px;
}
.h-2{
    font-size:clamp(2rem, 4vw, 3.2rem);
    color:var(--primary);
    font-weight:700;
    margin-bottom:18px;
}
.h-lead{
    color:var(--gray-text); font-size:1.08rem;
    font-family:'Lato', sans-serif;
}

/* ============ SERVICIOS ============ */
.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:26px;
}
.svc{
    background:var(--white); border-radius:14px;
    padding:44px 32px 40px;
    text-align:center;
    transition:transform .3s ease, box-shadow .3s ease;
    position:relative; overflow:hidden;
    border:1px solid var(--gray-lite);
}
.svc:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 60px -25px rgba(0,55,119,.25);
    border-color:transparent;
}
.svc-ic{
    width:82px; height:82px; margin:0 auto 24px;
    border-radius:50%;
    background:var(--gradient);
    display:flex; align-items:center; justify-content:center;
    color:var(--white);
    box-shadow:var(--shadow-brand);
}
.svc-ic svg{ width:38px; height:38px; }
.svc h3{
    font-size:1.35rem; color:var(--primary);
    margin-bottom:14px;
}
.svc p{
    color:var(--gray-text); font-size:.98rem;
    font-family:'Lato', sans-serif; line-height:1.7;
}
.svc-link{
    display:inline-flex; align-items:center; gap:6px;
    margin-top:22px;
    color:var(--cyan);
    font-family:'Oswald', sans-serif;
    font-size:13px; font-weight:600;
    text-transform:uppercase; letter-spacing:1.5px;
}
.svc-link:hover{ color:var(--mint); }
.svc-link svg{ width:14px; height:14px; transition:transform .2s; }
.svc:hover .svc-link svg{ transform:translateX(4px); }

/* ============ STATS ============ */
.stats{
    position:relative;
    padding:100px 0;
    background:var(--primary);
    color:var(--white);
    overflow:hidden;
}
.stats::before{
    content:""; position:absolute;
    top:-40%; right:-15%; width:600px; height:600px;
    background:radial-gradient(circle, rgba(3,213,159,.18), transparent 60%);
}
.stats::after{
    content:""; position:absolute;
    bottom:-40%; left:-10%; width:500px; height:500px;
    background:radial-gradient(circle, rgba(0,193,194,.18), transparent 60%);
}
.stats-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
    gap:36px; text-align:center;
    position:relative; z-index:2;
}
.stat-ic{
    width:60px; height:60px; margin:0 auto 18px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
    border:1.5px solid rgba(3,213,159,.4);
    display:flex; align-items:center; justify-content:center;
    color:var(--mint);
}
.stat-ic svg{ width:28px; height:28px; }
.stat-num{
    font-family:'Oswald', sans-serif;
    font-size:4.2rem; font-weight:700;
    color:var(--white);
    line-height:1; letter-spacing:1px;
}
.stat-num .plus{ color:var(--mint); }
.stat-lbl{
    margin-top:10px;
    font-family:'Oswald', sans-serif;
    color:rgba(255,255,255,.85);
    font-size:1rem; font-weight:400;
    text-transform:uppercase; letter-spacing:2px;
}

/* ============ PROCESO ============ */
.steps{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
    gap:26px;
}
.step{
    background:var(--white); border-radius:14px;
    padding:40px 30px;
    position:relative;
    border:1px solid var(--gray-lite);
    transition:all .3s;
}
.step:hover{
    border-color:transparent;
    box-shadow:0 20px 40px -20px rgba(0,55,119,.20);
}
.step-n{
    font-family:'Oswald', sans-serif;
    font-size:3.8rem; font-weight:700;
    background:var(--gradient);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent;
    line-height:.9; margin-bottom:16px;
}
.step h3{ font-size:1.25rem; color:var(--primary); margin-bottom:10px; }
.step p{ color:var(--gray-text); font-family:'Lato', sans-serif; }

/* ============ POR QUÉ ============ */
.why{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px; align-items:center;
}
@media(max-width: 900px){ .why{ grid-template-columns:1fr; gap:50px; } }
.why h2{ font-size:clamp(2rem, 4vw, 3rem); margin-bottom:18px; }
.why-list{ list-style:none; margin-top:30px; display:flex; flex-direction:column; gap:24px; }
.why-list li{ display:flex; gap:18px; align-items:flex-start; }
.why-list .ic{
    width:48px; height:48px; border-radius:50%;
    background:var(--gradient); color:var(--white);
    display:flex; align-items:center; justify-content:center;
    flex:none;
    box-shadow:var(--shadow-brand);
}
.why-list .ic svg{ width:22px; height:22px; }
.why-list h4{
    font-size:1.15rem; color:var(--primary);
    margin-bottom:4px;
}
.why-list p{
    color:var(--gray-text); font-family:'Lato', sans-serif;
    font-size:.97rem;
}
.why-visual{
    position:relative;
    aspect-ratio:1/1;
    border-radius:20px; overflow:hidden;
    box-shadow:0 30px 60px -20px rgba(0,55,119,.30);
}
.why-visual img{
    width:100%; height:100%; object-fit:cover;
    display:block;
}
.why-visual::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(140deg, rgba(0,55,119,.55) 0%, rgba(3,213,159,.35) 100%);
}
.why-visual-badge{
    position:absolute; bottom:26px; left:26px; z-index:3;
    background:var(--white); padding:20px 26px;
    border-radius:14px;
    display:flex; align-items:center; gap:16px;
    box-shadow:0 18px 40px -12px rgba(0,55,119,.28);
    max-width:calc(100% - 52px);
}
.why-visual-badge .bic{
    width:52px; height:52px; border-radius:50%;
    background:var(--gradient); color:var(--white);
    display:flex; align-items:center; justify-content:center;
    flex:none;
}
.why-visual-badge .btxt{
    font-family:'Oswald', sans-serif;
    color:var(--primary);
    font-size:14px; font-weight:600;
    text-transform:uppercase; letter-spacing:1.5px;
}
.why-visual-badge .bsub{
    color:var(--gray-text); font-size:.85rem;
    font-family:'Lato', sans-serif;
}

/* ============ CTA FINAL ============ */
.cta-final-wrap{
    padding:100px 0;
    background:var(--primary);
    position:relative; overflow:hidden;
}
.cta-final-wrap::before{
    content:""; position:absolute;
    top:-30%; right:-15%; width:600px; height:600px;
    background:radial-gradient(circle, rgba(3,213,159,.20), transparent 60%);
}
.cta-final-wrap::after{
    content:""; position:absolute;
    bottom:-30%; left:-15%; width:500px; height:500px;
    background:radial-gradient(circle, rgba(0,193,194,.18), transparent 60%);
}
.cta-final{
    text-align:center; position:relative; z-index:2;
}
.cta-final h2{
    color:var(--white);
    font-size:clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom:18px;
}
.cta-final p{
    color:rgba(255,255,255,.85); font-size:1.15rem;
    font-family:'Lato', sans-serif;
    max-width:580px; margin:0 auto 40px;
}
.cta-final .btn-row{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-final .btn-outline{ color:var(--white); border-color:rgba(255,255,255,.4); }
.cta-final .btn-outline:hover{ background:var(--white); color:var(--primary); }

/* ============ FOOTER ============ */
footer{
    background:var(--footer-bg); color:rgba(255,255,255,.65);
    padding:80px 0 30px;
}
.foot-grid{
    display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px; margin-bottom:50px;
}
@media(max-width: 800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width: 500px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand .brand{ color:var(--white); }
.foot-brand p{
    color:rgba(255,255,255,.55); font-size:.93rem;
    margin-top:16px; max-width:340px;
}
.foot-col h5{
    font-family:'Oswald', sans-serif;
    font-size:1rem; font-weight:600;
    color:var(--white);
    text-transform:uppercase; letter-spacing:2px;
    margin-bottom:22px;
    padding-bottom:12px;
    border-bottom:1px solid rgba(255,255,255,.10);
}
.foot-col ul{ list-style:none; display:flex; flex-direction:column; gap:12px; }
.foot-col a{
    color:rgba(255,255,255,.60); font-size:.93rem;
    font-family:'Lato', sans-serif;
}
.foot-col a:hover{ color:var(--mint); }
.foot-bottom{
    padding-top:30px; border-top:1px solid rgba(255,255,255,.08);
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
    color:rgba(255,255,255,.45); font-size:.85rem;
}
.foot-bottom .socials{ display:flex; gap:10px; }
.foot-bottom .socials a{
    width:40px; height:40px; border-radius:50%;
    background:rgba(255,255,255,.06);
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--white);
    transition:all .3s;
}
.foot-bottom .socials a:hover{
    background:var(--gradient); box-shadow:var(--shadow-brand);
    transform:translateY(-2px);
}
