/* =========================================
   PREMIUM LAYER - IDEAHN SOLUCIONES
========================================= */

/* ===== BODY ===== */

body{
    font-family: 'Inter', sans-serif;
    background:#f4f7fb;
}

/* =========================================
   HERO PREMIUM
========================================= */

#hero{

    position: relative;
    overflow: hidden;

    width:100%;

    padding: 110px 0;

    background:
    linear-gradient(
        135deg,
        rgba(10,25,47,0.78),
        rgba(22,45,78,0.72)
    ),
    url('../images/bg-datacenter.jpg');

    background-size: cover;
    background-position: center;

    color:white;
}
/* CONTENIDO */


#hero .container{

    position:relative;
    z-index:2;

    max-width:1400px;

    margin:auto;

    padding:0 60px;

    display:grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap:60px;

    align-items:center;
}

/* TEXTO */

.hero-content{
    text-align:left;
}

/* TITULO */

#hero h1{

    font-size:4rem;
    line-height:1.05;

    margin-bottom:25px;

    font-weight:700;
    letter-spacing:-2px;

    color:white;
}

/* PARRAFOS */

#hero p{

    font-size:1.15rem;
    line-height:1.9;

    color:rgba(255,255,255,0.92);

    margin-bottom:20px;
}

/* BADGES */

.hero-badges{

    display:flex;
    flex-wrap:wrap;
    gap:14px;

    margin:30px 0;
}


.hero-badge{

    background:rgba(255,255,255,0.18);

    border:1px solid rgba(255,255,255,0.28);

    color:white;

    padding:12px 20px;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    backdrop-filter:blur(6px);
}

/* BOTONES */

.hero-cta{

    margin-top:35px;

    display:flex;
    gap:16px;

    flex-wrap:wrap;
}

/* BOTON WHATSAPP */

.btn-hero-primary{

    background:#25D366;
    color:white;

    padding:15px 28px;

    border-radius:10px;

    text-decoration:none;
    font-weight:600;

    transition:all .3s ease;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.25);
}

.btn-hero-primary:hover{

    transform:translateY(-4px);

    box-shadow:
    0 15px 35px rgba(0,0,0,0.35);
}

/* BOTON EMAIL */

.btn-hero-secondary{

    background:rgba(255,255,255,0.10);

    border:1px solid rgba(255,255,255,0.25);

    color:white;

    padding:15px 28px;

    border-radius:10px;

    text-decoration:none;
    font-weight:600;

    transition:all .3s ease;

    backdrop-filter:blur(8px);
}

.btn-hero-secondary:hover{

    background:rgba(255,255,255,0.18);

    transform:translateY(-4px);
}

/* HERO IMAGE */

.hero-visual{

    position:relative;
}

.hero-visual img{

    width:100%;

    border-radius:18px;

    box-shadow:
    0 25px 60px rgba(0,0,0,0.35);

    border:1px solid rgba(255,255,255,0.12);
    transform: scale(1.08);
}

/* =========================================
   ESTADISTICAS PREMIUM
========================================= */

#estadisticas{

    width:100%;

    background:
    linear-gradient(
        135deg,
        #102846,
        #1f3b5c
    );

    padding:50px 0;

    box-shadow:
    0 20px 45px rgba(0,0,0,0.15);
}

#estadisticas .container{

    max-width:1400px;

    margin:auto;

    padding:0 60px;
}

.stat{

    padding:15px;
}

.stat h3{

    color:white;

    font-size:3.2rem;
}

.stat p{

    color:rgba(255,255,255,0.85);

    font-size:15px;

    line-height:1.5;
}

/* =========================================
   TARJETAS PREMIUM
========================================= */

.proyecto,
.servicio,
.caso-card{

    border:none;

    border-radius:18px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    transition:all .35s ease;
}

.proyecto:hover,
.servicio:hover,
.caso-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.14);
}

/* ICONOS */

.icono{

    font-size:50px;
}

/* =========================================
   TITULOS
========================================= */

h2{

    font-size:2.4rem;
    font-weight:700;

    letter-spacing:-1px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px){

    #hero .container{

        grid-template-columns:1fr;
        gap:40px;
        padding:0 25px;
    }


    .hero-content{

        text-align:center;
    }

    #hero h1{

        font-size:2.8rem;
    }

    .hero-badges{

        justify-content:center;
    }

    .hero-cta{

        justify-content:center;
    }

    #estadisticas{

        margin-top:0;
        border-radius:0;
    }
}

/* =========================================
   ICONOGRAFIA PREMIUM
========================================= */

.icono{

    width:90px;
    height:90px;

    margin:0 auto 25px;

    border-radius:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
    linear-gradient(
        135deg,
        rgba(31,59,92,0.10),
        rgba(31,59,92,0.18)
    );

    border:1px solid rgba(31,59,92,0.12);

    transition:all .35s ease;
}

.icono i{

    font-size:38px;

    color:#1f3b5c;

    transition:all .35s ease;
}

/* HOVER */

.proyecto:hover .icono{

    transform:translateY(-5px);

    background:
    linear-gradient(
        135deg,
        #1f3b5c,
        #2c5a92
    );

    box-shadow:
    0 12px 25px rgba(31,59,92,0.25);
}

.proyecto:hover .icono i{

    color:white;

    transform:scale(1.08);
}

/* =========================================
   CARDS PREMIUM V2
========================================= */

.proyecto{

    background:
    linear-gradient(
        180deg,
        #ffffff,
        #f7f9fc
    );

    border:1px solid rgba(31,59,92,0.08);

    overflow:hidden;
}

/* LINEA SUPERIOR PREMIUM */

.proyecto::before{

    content:"";

    display:block;

    width:100%;
    height:5px;

    background:
    linear-gradient(
        90deg,
        #1f3b5c,
        #2c5a92
    );

    opacity:0;

    transition:all .35s ease;
}

/* HOVER */

.proyecto:hover::before{

    opacity:1;
}


/* =========================================
   CTA PREMIUM V2
========================================= */

.cta-consultoria{

    padding:100px 40px;

    background:#eef3f8;
}

.cta-box{

    max-width:1400px;

    margin:auto;

    padding:80px 70px;

    border-radius:28px;

    text-align:center;

    background:
    linear-gradient(
        135deg,
        #29456b,
        #415b84
    );

    box-shadow:
    0 25px 60px rgba(0,0,0,0.18);

    position:relative;

    overflow:hidden;
}

/* EFECTO GLOW */

.cta-box::before{

    content:"";

    position:absolute;

    width:1000px;
    height:1000px;

    background:
    radial-gradient(
        circle,
        rgba(255,255,255,0.10),
        transparent 70%
    );

    top:-250px;
    right:-200px;

    pointer-events:none;
}

/* TITULO */

.cta-box h2{

    font-size:3rem;

    line-height:1.2;

    margin-bottom:15px;

    color:white;

    position:relative;
    z-index:2;
}

/* TEXTO AZUL */

.cta-box h2 span{

    color:#7fd3ff;
}

/* LINEA */

.cta-line{

    width:1200px;
    height:5px;

    margin:25px auto 40px;

    border-radius:999px;

    background:#7fd3ff;

    position:relative;
    z-index:2;
}

/* PARRAFO */

.cta-box p{

    max-width:1200px;

    margin:auto;

    font-size:1.2rem;

    line-height:1.9;

    color:rgba(255,255,255,0.92);

    position:relative;
    z-index:2;
}

/* BOTONES */

.cta-buttons{

    margin-top:45px;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

    position:relative;
    z-index:2;
}

/* BOTON WHATSAPP */

.btn-cta-whatsapp{

    background:#25D366;

    color:white;

    padding:18px 34px;

    border-radius:12px;

    text-decoration:none;

    font-size:17px;
    font-weight:600;

    transition:all .35s ease;

    box-shadow:
    0 12px 30px rgba(0,0,0,0.20);
}

.btn-cta-whatsapp:hover{

    transform:translateY(-5px);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.28);
}

/* BOTON EMAIL */

.btn-cta-email{

    background:white;

    color:#29456b;

    padding:18px 34px;

    border-radius:12px;

    text-decoration:none;

    font-size:17px;
    font-weight:600;

    transition:all .35s ease;

    box-shadow:
    0 12px 30px rgba(0,0,0,0.12);
}

.btn-cta-email:hover{

    transform:translateY(-5px);

    background:#f4f7fb;
}

/* =========================================
   FOOTER PREMIUM
========================================= */

footer{

    border-top:4px solid #7fd3ff;

    box-shadow:
    0 -10px 30px rgba(0,0,0,0.08);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px){

    .cta-box{

        padding:60px 30px;
    }

    .cta-box h2{

        font-size:2.2rem;
    }

    .cta-box p{

        font-size:1.05rem;
    }

    .cta-buttons{

        flex-direction:column;
    }

    .btn-cta-whatsapp,
    .btn-cta-email{

        width:100%;
    }
}


/* =========================================
   RESPONSIVE PROYECTOS MOBILE
========================================= */

@media (max-width: 768px){

    .proyectos-grid{

        grid-template-columns:1fr !important;

        gap:25px;
    }

    .proyecto{

        width:100%;

        box-sizing:border-box;
    }

}

/* =========================================
   MIGRATION FEATURED
========================================= */

.migration-featured{

    position:relative;

    border:2px solid rgba(79,195,247,0.35);

    transform:scale(1.03);

    background:
    linear-gradient(
        180deg,
        #ffffff,
        #f5f9fd
    );

    box-shadow:
    0 20px 45px rgba(0,0,0,0.10);
}

/* BADGE */

.featured-badge{

    position:absolute;

    top:18px;
    right:18px;

    background:
    linear-gradient(
        90deg,
        #1f3b5c,
        #4fc3f7
    );

    color:white;

    padding:8px 14px;

    border-radius:999px;

    font-size:12px;
    font-weight:600;

    box-shadow:
    0 10px 20px rgba(0,0,0,0.15);
}

/* TAGS */

.migration-tags{

    margin-top:25px;

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    justify-content:center;
}

.migration-tags span{

    background:#eef4fb;

    color:#1f3b5c;

    padding:8px 14px;

    border-radius:999px;

    font-size:13px;
    font-weight:600;

    border:1px solid rgba(31,59,92,0.08);
}

/* MOBILE */

@media (max-width:768px){

    .migration-featured{

        transform:none;
    }

}