*{

margin:0;
padding:0;
box-sizing:border-box;

}

body{

font-family:'Poppins',sans-serif;
background:#f8f9fa;
color:#333;

}

header{

background:linear-gradient(120deg,#0B5ED7,#28A745);

color:white;

padding-bottom:80px;

}

nav{

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 8%;

}

nav ul{

display:flex;

list-style:none;

gap:30px;

}

nav a{

color:white;

text-decoration:none;

font-weight:500;

transition:.3s;

}

nav a:hover{

color:#FFC107;

}

.logo img{

width:170px;

}

.hero{

text-align:center;

padding:80px 20px;

}

.hero h1{

font-size:55px;

margin-bottom:20px;

}

.hero p{

font-size:22px;

margin-bottom:40px;

}

.buscador{

display:flex;

justify-content:center;

}

.buscador input{

width:500px;

padding:18px;

border:none;

border-radius:50px 0 0 50px;

font-size:18px;

}

.buscador button{

padding:18px 40px;

background:#FFC107;

border:none;

border-radius:0 50px 50px 0;

font-size:18px;

cursor:pointer;

font-weight:bold;

}
/* ============================
   RESULTADOS DEL BUSCADOR
============================ */

#resultados{
    width:100%;
    max-width:700px;
    margin:15px auto;
}

#resultados a{
    text-decoration:none;
    color:#1d3557;
    display:block;
}

.resultado-item{

    background:#ffffff;

    margin:12px 0;

    padding:18px 22px;

    border-radius:15px;

    border-left:6px solid #28A745;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

    transition:all .30s ease;

    font-size:18px;

    font-weight:600;

    color:#1d3557;

    cursor:pointer;

}

.resultado-item:hover{

    background:linear-gradient(135deg,#0B5ED7,#28A745);

    transform:translateY(-4px);

    border-left:6px solid #FFC107;

}

.resultado-item:hover a{

    color:#ffffff;

}

.categorias{

padding:80px 8%;

}

.categorias h2{

text-align:center;

margin-bottom:50px;

font-size:40px;

color:#0B5ED7;

}

.grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.card{

background:white;

padding:40px;

border-radius:20px;

text-align:center;

transition:.3s;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.card:hover{

transform:translateY(-10px);

}

.card i{

font-size:60px;

color:#28A745;

margin-bottom:20px;

}

.destacados{

padding:80px 8%;

background:white;

}

.destacados h2{

text-align:center;

font-size:40px;

margin-bottom:50px;

color:#0B5ED7;

}

.cards{

display:flex;

gap:30px;

justify-content:center;

flex-wrap:wrap;

}

.card-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.card-link:hover{
    text-decoration:none;
    color:inherit;
}

.card-link .card{
    height:100%;
}

.negocio{

width:330px;

background:#fff;

border-radius:20px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.negocio img{

width:100%;

height:220px;

object-fit:cover;

}

.negocio h3{

padding:20px 20px 5px;

}

.negocio p{

padding:0 20px 20px;

}

.negocio a{

display:block;

background:#28A745;

color:white;

text-align:center;

padding:15px;

text-decoration:none;

font-weight:600;

}

.cta{

background:linear-gradient(120deg,#28A745,#0B5ED7);

color:white;

text-align:center;

padding:90px 20px;

}

.cta h2{

font-size:45px;

margin-bottom:20px;

}

.cta p{

margin-bottom:35px;

font-size:20px;

}

.cta a{

display:inline-block;

background:#FFC107;

padding:18px 45px;

border-radius:40px;

text-decoration:none;

color:#222;

font-weight:bold;

}

footer{

background:#0B5ED7;

color:white;

text-align:center;

padding:30px;

}

@media(max-width:768px){

.hero h1{

font-size:35px;

}

.buscador{

flex-direction:column;

align-items:center;

}

.buscador input{

width:90%;

border-radius:50px;

margin-bottom:15px;

}

.buscador button{

border-radius:50px;

}

}

/* =====================================================
   MENÚ RESPONSIVO PROFESIONAL - SURVIA
   Agregar al FINAL de style.css
===================================================== */

/* -------- NAVBAR -------- */

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    background:linear-gradient(135deg,#0B5ED7,#28A745);

    position:relative;

    z-index:999;

}

.logo img{

    width:170px;

}

/* -------- MENÚ ESCRITORIO -------- */

nav ul{

    display:flex;

    list-style:none;

    gap:30px;

    align-items:center;

}

nav ul li{

    list-style:none;

}

nav ul li a{

    color:#fff;

    text-decoration:none;

    font-size:16px;

    font-weight:600;

    transition:.3s;

    padding:8px 0;

}

nav ul li a:hover{

    color:#FFC107;

}

/* -------- BOTÓN HAMBURGUESA -------- */

.menu-toggle{

    display:none;

    flex-direction:column;

    cursor:pointer;

    gap:6px;

}

.menu-toggle span{

    width:30px;

    height:3px;

    background:white;

    border-radius:5px;

    transition:.4s;

}

/* -------- CELULARES -------- */

@media(max-width:900px){

nav{

    padding:18px 20px;

}

.menu-toggle{

    display:flex;

}

nav ul{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:linear-gradient(180deg,#0B5ED7,#28A745);

    flex-direction:column;

    overflow:hidden;

    max-height:0;

    transition:max-height .45s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

}

nav ul.active{

    max-height:600px;

}

nav ul li{

    width:100%;

    text-align:center;

    border-bottom:1px solid rgba(255,255,255,.15);

}

nav ul li:last-child{

    border-bottom:none;

}

nav ul li a{

    display:block;

    padding:18px;

    font-size:18px;

}

nav ul li a:hover{

    background:rgba(255,255,255,.10);

    color:#FFC107;

}

}

/* -------- ANIMACIÓN DEL BOTÓN -------- */

.menu-toggle.active span:nth-child(1){

    transform:rotate(45deg) translate(7px,7px);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg) translate(6px,-6px);

}