/*==================================
MUNDO TELECOM COLOMBIA
Autor: Mundo Telecom Colombia
===================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    color:#333;
    line-height:1.7;
}

/*============================*/

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/*============================*/

header{
    background:#0F4C81;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

header .contenedor{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

}

.logo img{

    width:260px;

    display:block;

}

nav{

    display:flex;

    gap:25px;

}

nav a{

    color:#fff;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}
/*============================*/

.hero{
    background:linear-gradient(135deg,#0F4C81,#2D89EF);
    color:#fff;
    text-align:center;
    padding:100px 20px;
}

.hero h2{
    font-size:42px;
    margin-bottom:20px;
}

.hero p{
    max-width:750px;
    margin:auto;
    font-size:18px;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    background:#fff;
    color:#0F4C81;
    padding:14px 35px;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#e9eef5;
    transform:translateY(-3px);
}

/*============================*/

section{
    padding:70px 0;
}

section h2{
    text-align:center;
    margin-bottom:20px;
    color:#0F4C81;
    font-size:34px;
}

.sobre p{
    max-width:900px;
    margin:auto;
    text-align:center;
}

/*============================*/

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:45px;

}

.card{

    background:#fff;

    padding:30px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.card h3{

    color:#0F4C81;

    margin-bottom:15px;

}

.icono{

    font-size:48px;

    margin-bottom:15px;

}

/*============================*/

.servicios{

    background:#eef5fc;

}

/*============================*/

.noticias article h3{

    margin-bottom:15px;

}

/*============================*/

.legal{

    background:#0F4C81;

    color:#fff;

}

.legal h2{

    color:#fff;

}

.legal p{

    max-width:900px;

    margin:20px auto;

    text-align:center;

}

/*============================*/

footer{

    background:#072d4d;

    color:#fff;

    text-align:center;

    padding:40px 20px;

}

footer h3{

    margin-bottom:15px;

}

footer p{

    margin:8px 0;

}

/*============================*/

@media(max-width:900px){

header .contenedor{

    flex-direction:column;

}

nav{

    margin-top:20px;

}

nav a{

    display:inline-block;

    margin:8px;

}

.hero{

    padding:80px 20px;

}

.hero h2{

    font-size:32px;

}

.hero p{

    font-size:17px;

}

}

@media(max-width:600px){

.logo img{

    width:200px;

    margin:auto;

}

.hero h2{

    font-size:28px;

}

section h2{

    font-size:28px;

}

.cards{

    grid-template-columns:1fr;

}

}