/* ===========================
   ESTILOS GENERALES
=========================== */

*{
    margin:0;           
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f6f9;
    color:#333;
    line-height:1.6;
}

/* ===========================
   HEADER
=========================== */

header{
    position:fixed;
    top:0;
    width:100%;
    background:#003366;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.logo h2{
    color:#ff9900;
    font-size:30px;
}

.logo span{
    font-size:14px;
    color:#fff;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#ff9900;
}

/* ===========================
   HERO
=========================== */

.hero{
    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.60),
    rgba(0,0,0,.60)),
    url("../img/banner.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-contenido{
    width:80%;
    max-width:900px;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:35px;
}

/* ===========================
BOTÓN
=========================== */

.boton{

display:inline-block;

padding:15px 40px;

background:#ff9900;

color:white;

border-radius:40px;

text-decoration:none;

font-size:18px;

font-weight:bold;

transition:.3s;

}

.boton:hover{

background:#ff7700;

transform:translateY(-3px);

}

/* ===========================
SECCIONES
=========================== */

section{

padding:90px 10%;

}

section h2{

text-align:center;

font-size:38px;

margin-bottom:60px;

color:#003366;

}

/* ===========================
SERVICIOS
=========================== */

.contenedor-servicios{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.servicio{

background:white;

padding:35px;

border-radius:15px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.servicio:hover{

transform:translateY(-10px);

}

.servicio i{

font-size:55px;

color:#ff9900;

margin-bottom:20px;

}

.servicio h3{

margin-bottom:15px;

color:#003366;

}

/* ===========================
NOSOTROS
=========================== */

.nosotros{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:30px;

text-align:center;

}

.nosotros div{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 10px 20px rgba(0,0,0,.08);

}

.nosotros i{

font-size:45px;

color:#ff9900;

margin-bottom:15px;

}

/* ===========================
GALERÍA
=========================== */

.galeria{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:20px;

}

.galeria img{

width:100%;

height:250px;

object-fit:cover;

border-radius:12px;

transition:.3s;

cursor:pointer;

}

.galeria img:hover{

transform:scale(1.05);

}

/* ===========================
FORMULARIO
=========================== */

form{

max-width:700px;

margin:auto;

display:flex;

flex-direction:column;

gap:20px;

}

input,

textarea{

padding:16px;

border-radius:8px;

border:1px solid #ccc;

font-size:16px;

font-family:Poppins;

}

textarea{

height:180px;

resize:none;

}

button{

padding:16px;

background:#003366;

color:white;

font-size:18px;

border:none;

border-radius:8px;

cursor:pointer;

transition:.3s;

}

button:hover{

background:#00509d;

}

/* ===========================
FOOTER
=========================== */

footer{

background:#003366;

color:white;

text-align:center;

padding:40px;

}

footer h3{

color:#ff9900;

margin-bottom:15px;

}

/* ===========================
WHATSAPP
=========================== */

.whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

color:white;

font-size:35px;

text-decoration:none;

box-shadow:0 5px 20px rgba(0,0,0,.35);

transition:.3s;

}

.whatsapp:hover{

transform:scale(1.1);

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:900px){

header{

flex-direction:column;

padding:15px;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

margin-top:15px;

}

nav ul li{

margin:10px;

}

.hero h1{

font-size:38px;

}

.hero p{

font-size:18px;

}

section{

padding:70px 7%;

}

}