/*=============================================
TASTAOLLETES
VERSIÓN 0.2
=============================================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{

--verde:#2f7d32;
--verde-oscuro:#205824;
--naranja:#f28c28;
--gris:#555;
--gris-claro:#f5f5f5;
--blanco:#ffffff;

}

html{

scroll-behavior:smooth;

scroll-padding-top:140px;

}

body{

font-family:'Poppins',sans-serif;

padding-top:120px;

font-size:16px;

line-height:1.6;

color:#333;

background:white;

}

img{

max-width:100%;

display:block;

}

a{

text-decoration:none;

}

ul{

list-style:none;

}

.contenedor{

width:90%;

max-width:1200px;

margin:auto;

}

/*=============================================
HEADER
=============================================*/

header{

position:fixed;

top:0;

left:0;

width:100%;

background:rgba(255,255,255,.96);

backdrop-filter:blur(8px);

box-shadow:0 2px 15px rgba(0,0,0,.08);

z-index:999;

}

header .contenedor{

display:flex;

justify-content:space-between;

align-items:center;

padding:50px 0;

}

.logo img{

height:70px;

}

nav ul{

display:flex;

gap:35px;

align-items:center;

}

nav a{

position:relative;

color:#333;

font-weight:600;

text-decoration:none;

padding:8px 0;

transition:.3s;

}
nav a::after{

content:"";

position:absolute;

left:0;

bottom:-5px;

width:0;

height:3px;

background:var(--verde);

transition:.3s;

border-radius:10px;

}

nav a:hover{

color:var(--verde);

}

nav a:hover::after{

width:100%;

}

nav a:hover{

color:var(--verde);

}

.clientes{

background:var(--verde);

color:white;

padding:10px 20px;

border-radius:30px;

}

.clientes:hover{

background:var(--naranja);

color:white;

}
/*=============================================
HERO
=============================================*/

.hero{

height:100vh;

background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("../images/hero.jpg");

background-size:cover;

background-position:center;

background-repeat:no-repeat;

background-attachment:fixed;

position:relative;

display:flex;

align-items:center;

justify-content:center;

text-align:center;

color:white;

padding:120px 0 80px;

}

.hero-overlay{

width:100%;

background:linear-gradient(
90deg,
rgba(0,0,0,.65),
rgba(0,0,0,.35),
rgba(0,0,0,.15)
);

padding:100px 20px;

}


.hero h1{

font-size:58px;

font-weight:700;

max-width:900px;

margin:0 auto 25px;

line-height:1.2;

}

.hero p{

font-size:22px;

max-width:850px;

margin:0 auto 40px;

color:#ffffff;

font-weight:500;

line-height:1.7;

background:rgba(0,0,0,.35);

padding:18px 25px;

border-radius:14px;

display:inline-block;

}

.botones{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn{

display:inline-flex;

align-items:center;

justify-content:center;

gap:10px;

padding:18px 38px;

border-radius:50px;

font-weight:700;

font-size:17px;

transition:.3s;

color:white;

text-decoration:none;

box-shadow:0 8px 20px rgba(0,0,0,.25);

}

.btn:hover{

transform:translateY(-5px);

box-shadow:0 14px 28px rgba(0,0,0,.35);

}
.verde{

background:var(--verde);

}

.naranja{

background:var(--naranja);

}

.azul{

background:#0077b6;

}

/*=============================================
SECCIONES
=============================================*/

section{

padding:90px 0;

}

section h2{

text-align:center;

font-size:38px;

margin-bottom:30px;

color:var(--verde);

}

section p{

max-width:900px;

margin:auto;

text-align:center;

font-size:18px;

color:var(--gris);

line-height:1.8;

}
/*=============================================
TARJETAS
=============================================*/

.grid{

display:grid;

grid-template-columns:repeat(4,minmax(0,1fr));

gap:30px;

margin-top:50px;

}

.card{

background:white;

padding:35px 25px;

border-radius:18px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.3s;

}

.card:hover{

transform:translateY(-8px);

box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.card i{

font-size:45px;

color:var(--verde);

margin-bottom:20px;

}

.card h3{

font-size:22px;

margin-bottom:10px;

color:#222;

}

/*=============================================
SECTOR REPARTO
=============================================*/

.sectores{

background:#fafafa;

}

.sectores .grid div{

background:white;

padding:22px;

border-radius:12px;

text-align:center;

font-weight:600;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.reparto{

background:var(--verde);

color:white;

text-align:center;

}

.reparto h2{

color:white;

}

.reparto p{

color:white;

}

.reparto strong{

display:block;

font-size:24px;

margin:25px 0;

}

.ventajas{

background:white;

}
/*=============================================
INSTAGRAM
=============================================*/

.instagram{

background:linear-gradient(135deg,#2ca7d8,#6cc070);

color:white;

text-align:center;

}

.instagram h2{

color:white;

}

.instagram p{

color:white;

margin-bottom:35px;

}

/*=============================================
CONTACTO
=============================================*/

.contacto{

background:var(--gris-claro);

text-align:center;

}

.contacto p{

font-size:20px;

margin:12px 0;

}

.contacto strong{

color:var(--verde);

}

/*=============================================
FOOTER
=============================================*/

footer{

background:#222;

padding:40px 0;

text-align:center;

}

footer p{

color:white;

margin:8px 0;

font-size:15px;

}

/*=============================================
ANIMACIONES
=============================================*/

.card{

animation:aparecer .8s ease;

}

@keyframes aparecer{

0%{

opacity:0;

transform:translateY(40px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

.btn{

transition:.3s;

}

.btn:hover{

box-shadow:0 12px 25px rgba(0,0,0,.25);

}
/*=============================================
RESPONSIVE
=============================================*/

@media (max-width:992px){

.hero h1{

font-size:46px;

}

.hero p{

font-size:20px;

}

nav ul{

gap:20px;

}

}

@media (max-width:768px){

header .contenedor{

flex-direction:column;

padding:15px 0;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

margin-top:15px;

gap:15px;

}

.hero{

padding:140px 20px 80px;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:18px;

}

.botones{

flex-direction:column;

align-items:center;

}

.btn{

width:260px;

text-align:center;

}

section{

padding:70px 0;

}

section h2{

font-size:30px;

}

.grid{

grid-template-columns:repeat(2,1fr);

}

}

@media (max-width:480px){

.hero h1{

font-size:28px;

}

.hero p{

font-size:16px;

}

.logo img{

height:55px;

}

.card{

padding:25px 20px;

}

.card h3{

font-size:18px;

}

.contacto p{

font-size:17px;

}

footer p{

font-size:14px;

}

}
/*=============================================
VALORES
=============================================*/

.valores{

background:#ffffff;

}

.valores .card{

text-align:center;

padding:35px;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

background:white;

}

.valores h3{

color:var(--verde);

margin-bottom:15px;

font-size:24px;

}

.valores p{

font-size:17px;

line-height:1.8;

color:#555;

}
/*=============================================
BOTÓN WHATSAPP
=============================================*/

.whatsapp{

position:fixed;

bottom:25px;

right:25px;

width:65px;

height:65px;

background:#25D366;

color:white;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

box-shadow:0 8px 20px rgba(0,0,0,.30);

z-index:9999;

transition:.3s;

}

.whatsapp:hover{

transform:scale(1.1);

background:#1ebe5d;

}
/*=============================================
MEJORA DEL LOGOTIPO
=============================================*/

.logo{

display:flex;

align-items:center;

}

.logo img{

height:120px;

width:auto;

object-fit:contain;

}
/*=============================================
PRODUCTOS
=============================================*/

.productos .grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

gap:30px;

margin-top:50px;

}

.productos .card{

background:white;

padding:40px 30px;

border-radius:18px;

text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.35s;

}

.productos .card:hover{

transform:translateY(-10px);

box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.productos i{

font-size:55px;

color:var(--verde);

margin-bottom:20px;

}

.productos h3{

font-size:22px;

margin-top:10px;

margin-bottom:10px;

color:var(--verde);

}

.productos .card p{

margin-top:15px;

font-size:15px;

line-height:1.6;

color:#666;

}s

/*=============================================
ZONA DE REPARTO
=============================================*/

.reparto{

background:#f8f8f8;

padding:80px 20px;

text-align:center;

}

.reparto strong{

display:block;

margin:20px 0;

font-size:30px;

font-weight:800;

color:#1d3557;

}

.reparto p{

font-size:18px;

line-height:1.8;

}

