/* RESET */
body{
margin:0;
font-family:'Montserrat', sans-serif;
color:#222;
overflow-x:hidden;
}

/* ================= NAVBAR ================= */

.navbar{
position:fixed;
top:0;
width:100%;
z-index:999;
background:rgba(0,0,0,0.9);
backdrop-filter:blur(8px);
padding:10px 0;
}

.nav-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 20px;
}

.nav-logo{
width:140px;
}

.nav-links a{
color:#fff;
margin:0 10px;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

.nav-links a:hover{
color:#25D366;
}

.btn-nav{
background:#25D366;
padding:8px 15px;
border-radius:20px;
color:#fff;
}

/* ================= HERO / SLIDER ================= */

.hero{
height:75vh;
margin-top:70px;
position:relative;
overflow:hidden;
}

.slider{
height:100%;
position:relative;
}

.slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
transition:opacity 0.8s ease-in-out;
}

.slide.active{
opacity:1;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:#fff;
width:90%;
max-width:900px;
}

.logo{
width:220px;
margin-bottom:15px;
}

.hero-content h1{
font-family:'Playfair Display', serif;
font-size:42px;
margin-bottom:10px;
}

.hero-content h2{
font-size:20px;
font-weight:300;
margin-bottom:20px;
}

/* BOTONES SLIDER */
.slider-controls{
position:absolute;
top:50%;
left:0;
width:100%;
transform:translateY(-50%);
display:flex;
justify-content:space-between;
padding:0 10px;
pointer-events:none;
z-index:10;
}

.slider-controls span{
pointer-events:auto;
font-size:28px;
color:#fff;
background:rgba(0,0,0,0.4);
padding:8px 12px;
border-radius:50%;
cursor:pointer;
transition:0.3s;
}

.slider-controls span:hover{
background:#25D366;
}

/* ================= BOTONES ================= */

.btn{
background:#25D366;
padding:12px 25px;
border-radius:30px;
color:#fff;
text-decoration:none;
display:inline-block;
}

/* ================= SECTIONS ================= */

.section{
padding:80px 20px;
text-align:center;
}

.dark{
background:#111;
color:#fff;
}

/* ================= GRID ================= */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
overflow:hidden;
border-radius:10px;
}

.card img{
width:100%;
transition:0.5s;
}

.card:hover img{
transform:scale(1.1);
}

.card span{
display:block;
padding:10px;
}

/* ================= FORM ================= */

form{
max-width:500px;
margin:auto;
}

form input, form textarea{
width:100%;
padding:12px;
margin:10px 0;
border-radius:5px;
border:1px solid #ccc;
}

/* ================= WHATSAPP ================= */

.whatsapp{
position:fixed;
bottom:20px;
right:20px;
width:55px;
height:55px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 15px rgba(0,0,0,0.4);
z-index:999;
animation:pulse 1.5s infinite;
}

.whatsapp img{
width:26px;
}

@keyframes pulse{
0%{transform:scale(1);}
50%{transform:scale(1.1);}
100%{transform:scale(1);}
}

/* ================= PRELOADER ================= */

#preloader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:#000;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
transition:opacity 0.6s ease;
}

.preloader-box{
text-align:center;
width:80%;
max-width:300px;
}

.preloader-logo{
width:180px;
margin-bottom:20px;
animation:pulseLogo 2s infinite;
}

/* TEXTO */
#preloader-text{
color:#fff;
font-size:14px;
letter-spacing:1px;
margin-bottom:15px;
opacity:0.8;
}

/* BARRA */
.preloader-bar{
width:100%;
height:4px;
background:rgba(255,255,255,0.1);
border-radius:10px;
overflow:hidden;
}

.preloader-progress{
width:0%;
height:100%;
background:#25D366;
transition:width 0.2s ease;
}

/* ANIMACIONES */
@keyframes pulseLogo{
0%{transform:scale(0.95); opacity:0.6;}
50%{transform:scale(1); opacity:1;}
100%{transform:scale(0.95); opacity:0.6;}
}

/* ================= FOOTER ================= */

footer{
background:#111;
color:#fff;
padding:50px 20px 20px;
text-align:center;
}

.footer-container{
max-width:1000px;
margin:auto;
}

.footer-logo{
width:180px;
margin-bottom:20px;
}

.footer-bottom{
margin-top:30px;
font-size:14px;
opacity:0.7;
}

/* ================= QUIENES ================= */

.quienes{
background:#f8f8f8;
}

.container-quienes{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
gap:40px;
padding:0 20px;
}

.quienes-texto{
flex:1;
text-align:left;
}

.quienes-texto h2{
font-family:'Playfair Display', serif;
font-size:36px;
margin-bottom:20px;
}

.quienes-texto p{
margin-bottom:15px;
line-height:1.6;
}

.quienes-img{
flex:1;
}

.quienes-img img{
width:100%;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media(max-width:768px){

.container-quienes{
flex-direction:column;
}

.quienes-texto{
text-align:center;
}

}

/* ================= PRODUCTOS ================= */

/* ================= PRODUCTOS ================= */

.productos{
background:#fff;
}

.productos h2{
font-family:'Playfair Display', serif;
font-size:36px;
margin-bottom:40px;
}

.productos-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
padding:0 20px;
}

.producto{
position:relative;
overflow:hidden;
border-radius:12px;
background:#000;
}

.producto img{
width:100%;
height:220px;
object-fit:cover;
display:block;
transition:0.4s;
}

/* OVERLAY SUAVE */
.producto .overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
transition:0.4s;
}

/* TEXTO ABAJO SIEMPRE */
.producto p{
position:absolute;
bottom:0;
width:100%;
margin:0;
padding:12px;
background:rgba(0,0,0,0.7);
color:#fff;
text-align:center;
font-weight:500;
}

/* HOVER */
.producto:hover img{
transform:scale(1.1);
}

.producto:hover .overlay{
background:rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media(max-width:768px){
.producto img{
height:180px;
}
}

/* ================= PUNTOS ================= */

.puntos{
background:#f8f8f8;
}

.puntos h2{
font-family:'Playfair Display', serif;
font-size:36px;
margin-bottom:40px;
}

.puntos-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
padding:0 20px;
}

.punto{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.3s;
}

.punto:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.punto img{
width:100%;
height:200px;
object-fit:cover;
}

.punto-info{
padding:15px;
text-align:left;
}

.punto-info h3{
margin:0 0 10px;
font-size:18px;
}

.punto-info p{
margin:3px 0;
font-size:14px;
color:#555;
}

/* RESPONSIVE */
@media(max-width:768px){
.punto img{
height:180px;
}
}
/* ================= HISTORIA ================= */
/* ================= HISTORIA ================= */

.historia{
background:#0c0c0c;
color:#fff;
text-align:center;
padding:100px 20px;
}

.historia h2{
font-family:'Playfair Display', serif;
font-size:38px;
margin-bottom:50px;
}

.historia-slider{
max-width:800px;
margin:30px auto 0; /* 👈 baja el contenido */
position:relative;
min-height:180px; /* 👈 antes 220px */
}

.historia-slide{
opacity:0;
position:absolute;
width:100%;
left:0;
top:0;
transition:0.5s ease;
transform:translateY(20px);
}

.historia-slide.active{
opacity:1;
position:relative;
transform:translateY(0);
}

.historia-slide h3{
font-size:24px;
margin-bottom:15px;
color:#25D366;
}

.historia-slide p{
line-height:1.6;
margin-bottom:10px;
}

/* CONTROLES PRO */
.historia-controls{
margin-top:40px;
display:flex;
justify-content:center;
gap:15px;
}

.historia-controls button{
cursor:pointer;
font-size:22px;
padding:12px 16px;
background:rgba(255,255,255,0.08);
border:none;
color:#fff;
border-radius:50%;
transition:0.3s;
}

.historia-controls button:hover{
background:#25D366;
transform:scale(1.1);
}

.contacto-container{
max-width:1200px;
margin:auto;
display:flex;
gap:40px;
padding:0 20px;
align-items:stretch;
}

/* IZQUIERDA */
.contacto-info{
flex:1;
max-width:50%;
display:flex;
flex-direction:column;
gap:20px;
}

.contacto-form{
flex:1;
max-width:50%;
}
.contacto-info{
flex:0.45;
}

.contacto-form{
flex:0.55;
}
.contacto-form{
display:flex;
flex-direction:column;
justify-content:center;
}

.contacto-box{
text-align:center;
}

.contacto-lista{
display:flex;
flex-direction:column;
align-items:center;
margin-top:10px;
}

.contacto-wa{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
text-decoration:none;
color:#222;
margin:8px 0;
font-weight:500;
transition:0.3s;
}

.contacto-wa img{
width:20px;
}

.contacto-wa:hover{
color:#25D366;
transform:scale(1.05);
}
/* MAPA ARRIBA */
.mapa{
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.mapa iframe{
width:100%;
height:220px;
border:0;
}
.mapa iframe{
height:280px;
}
/* BLOQUES INFO */
.info-box{
background:#fff;
padding:15px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.info-box h3{
margin-bottom:10px;
color:#25D366;
}

/* FORM */
.contacto-form form input,
.contacto-form form textarea{
width:100%;
padding:14px;
margin:10px 0;
border-radius:8px;
border:1px solid #ddd;
font-size:14px;
transition:0.3s;
}

.contacto-form form input:focus,
.contacto-form form textarea:focus{
border-color:#25D366;
outline:none;
box-shadow:0 0 5px rgba(37,211,102,0.3);
}

/* TEXTAREA MÁS GRANDE */
.contacto-form textarea{
height:140px;
resize:none;
}

/* BOTON PRO */
.contacto-form button{
width:100%;
background:linear-gradient(135deg,#25D366,#1ebe5d);
border:none;
padding:16px;
color:#fff;
border-radius:40px;
cursor:pointer;
font-weight:600;
font-size:16px;
transition:0.3s;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.contacto-form button:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

/* ================= FOOTER ================= */

.footer{
background:#0c0c0c;
color:#fff;
padding:60px 20px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

/* COLUMNAS */
.footer-col h4{
margin-bottom:15px;
color:#25D366;
}

.footer-col a{
display:block;
color:#ccc;
text-decoration:none;
margin:6px 0;
transition:0.3s;
}

.footer-col a:hover{
color:#25D366;
}

/* LOGO */
.footer-logo{
width:160px;
margin-bottom:15px;
}

/* SOCIAL */
.social{
display:flex;
align-items:center;
gap:10px;
}

.social img{
width:22px;
}

/* BOTTOM */
.footer-bottom{
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,0.1);
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:10px;
}

.footer-powered a{
color:#25D366;
text-decoration:none;
font-weight:500;
}

.footer-powered a:hover{
text-decoration:underline;
}

/* RESPONSIVE */
@media(max-width:768px){

.footer-bottom{
flex-direction:column;
text-align:center;
}

}
/* ================= RESPONSIVE GLOBAL ================= */

@media(max-width:1024px){

.hero-content h1{
font-size:34px;
}

.hero-content h2{
font-size:18px;
}

}

/* ================= MOBILE ================= */

@media(max-width:768px){

/* NAVBAR */
@media(max-width:768px){

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
}

.nav-logo{
width:120px;
}

.menu-toggle{
display:block;
font-size:28px;
color:#fff;
cursor:pointer;
}

/* ocultar menú normal */
.nav-links{
position:fixed;
top:0;
right:-100%;
width:75%;
height:100vh;
background:#000;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
transition:0.4s;
}

.nav-links.active{
right:0;
}

.nav-links a{
margin:15px 0;
font-size:18px;
}
}

/* HERO */
.hero{
height:65vh;
}

.hero-content{
width:95%;
}

.hero-content h1{
font-size:26px;
line-height:1.2;
}

.hero-content h2{
font-size:16px;
}

/* BOTONES */
.btn{
padding:10px 18px;
font-size:14px;
}

/* SLIDER CONTROLES */
.slider-controls span{
font-size:22px;
padding:6px 10px;
}

/* QUIENES */
.container-quienes{
flex-direction:column;
}

.quienes-texto{
text-align:center;
}

.quienes-img img{
margin-top:20px;
}

/* PRODUCTOS */
.productos-grid{
grid-template-columns:repeat(2,1fr);
}

/* PUNTOS */
.puntos-grid{
grid-template-columns:1fr;
}

/* HISTORIA */
.historia{
padding:70px 15px;
}

.historia h2{
font-size:28px;
}

.historia-slide h3{
font-size:20px;
}

/* CONTACTO */
.contacto-container{
flex-direction:column;
}

.contacto-info,
.contacto-form{
max-width:100%;
flex:1;
}

/* MAPA */
.mapa iframe{
height:220px;
}

/* FORM */
.contacto-form textarea{
height:120px;
}

/* FOOTER */
.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.footer-col{
align-items:center;
}

.footer-logo{
margin:auto;
}

}

/* ================= MOBILE CHICO ================= */

@media(max-width:480px){

.hero-content h1{
font-size:22px;
}

.hero-content h2{
font-size:14px;
}

.productos-grid{
grid-template-columns:1fr;
}

.whatsapp{
width:50px;
height:50px;
}

.whatsapp img{
width:22px;
}

}

/* HAMBURGUESA */
.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
width:25px;
height:3px;
background:#fff;
margin:4px 0;
transition:0.3s;
}

/* MOBILE */
@media(max-width:768px){

.menu-toggle{
display:flex;
}

.nav-links{
position:fixed;
top:0;
right:-100%;
width:80%;
height:100vh;
background:rgba(0,0,0,0.95);
flex-direction:column;
justify-content:center;
align-items:center;
transition:0.4s;
z-index:999;
}

.nav-links a{
display:block;
font-size:18px;
margin:15px 0;
}

.nav-links.active{
right:0;
}

/* ANIMACION HAMBURGUESA */
.menu-toggle.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2){
opacity:0;
}

.menu-toggle.active span:nth-child(3){
transform:rotate(-45deg) translate(5px,-5px);
}

}
.punto{
position:relative;
overflow:hidden;
border-radius:12px;
}

.punto img{
width:100%;
display:block;
transition:0.5s;
}

/* OVERLAY */
.overlay-punto{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9); /* alpha 90% */
display:flex;
justify-content:center;
align-items:center;
opacity:0;
transition:0.4s ease;
}

/* HOVER */
.punto:hover .overlay-punto{
opacity:1;
}

/* BOTON */
.btn-maps{
background:#25D366;
color:#fff;
padding:12px 25px;
border-radius:30px;
text-decoration:none;
font-weight:600;
box-shadow:0 5px 15px rgba(0,0,0,0.4);
transition:0.3s;
}

.btn-maps:hover{
background:#1ebe5d;
transform:scale(1.05);
}

/* INFO */
.punto-info{
padding:15px;
background:#fff;
text-align:center;
}

.punto-info h3{
margin-bottom:5px;
font-size:18px;
}

.punto-info p{
font-size:14px;
margin:2px 0;
}
.punto:hover img{
transform:scale(1.05);
}
.punto{
    position:relative;
    overflow:hidden;
    border-radius:12px;
}

.punto img{
    width:100%;
    display:block;
}

/* OVERLAY */
.overlay-punto{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:0.4s;
}

/* HOVER */
.punto:hover .overlay-punto{
    opacity:1;
}

/* BOTON */
.btn-maps{
    background:#25D366;
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
}
/* HERO */
.hero{
height:70vh;
position:relative;
overflow:hidden;
}

.slider{
height:100%;
position:relative;
}

/* SLIDES */
.slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
opacity:0;
transform:scale(1.05);
transition:opacity 1s ease, transform 6s ease;
}

.slide.active{
opacity:1;
transform:scale(1);
z-index:1;
}

/* OVERLAY */
.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

/* CONTENIDO */
.hero-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:#fff;
width:90%;
max-width:900px;
}

.hero-content h1{
font-size:42px;
font-family:'Playfair Display';
margin-bottom:10px;
}

.hero-content h2{
font-size:20px;
font-weight:300;
margin-bottom:20px;
}

/* ===== BURBUJAS ===== */
.slider-dots{
position:absolute;
bottom:20px;
width:100%;
display:flex;
justify-content:center;
gap:12px;
z-index:10;
}

.dot{
width:12px;
height:12px;
border-radius:50%;
background:rgba(255,255,255,0.4);
cursor:pointer;
transition:0.3s;
}

.dot.active{
background:#25D366;
transform:scale(1.2);
}

/* animación tipo "latido" */
.dot.active::after{
content:"";
position:absolute;
width:12px;
height:12px;
border-radius:50%;
background:#25D366;
animation:pulseDot 1.5s infinite;
opacity:0.5;
}

@keyframes pulseDot{
0%{transform:scale(1);}
100%{transform:scale(2); opacity:0;}
}

/* animación historia */

.historia-controls{
margin-top:20px; /* 👈 separa del texto */
display:flex;
justify-content:center;
gap:15px;
position:relative; /* 👈 sacamos absolute */
}

.historia-controls button{
background:rgba(255,255,255,0.08);
border:none;
color:#fff;
font-size:16px;
width:38px;
height:38px;
border-radius:50%;
cursor:pointer;
transition:0.3s;
display:flex;
align-items:center;
justify-content:center;
}

.historia-controls button:hover{
background:#25D366;
transform:scale(1.1);
}

.historia-slider:hover .historia-controls{
opacity:1;
}

.historia{
background:#0c0c0c;
color:#fff;
padding:60px 20px; /* 👈 antes 100px */
}

.historia h2{
margin-bottom:20px;
}

.historia-slide h3{
margin-bottom:10px;
}

.historia-slide p{
margin-bottom:10px;
line-height:1.6;
}

.historia h2{
margin-bottom:10px;
}