/* ================================================= */
/* RESET */
/* ================================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#fff;
color:#333;
line-height:1.6;
}


/* ================================================= */
/* CONTENEDOR */
/* ================================================= */

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

/* ================================================= */
/* NAVBAR */
/* ================================================= */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
background:#fff;
z-index:1000;
box-shadow:0 2px 15px rgba(0,0,0,0.1);
}

.nav-container{
display:flex;
align-items:center;
justify-content:space-between;
max-width:1200px;
margin:auto;
padding:10px 20px;
}

.logo img{
height:40px;
}


/* ================================================= */
/* MENU */
/* ================================================= */

.menu{
list-style:none;
display:flex;
gap:35px;
}

.menu a{
text-decoration:none;
color:#333;
font-weight:500;
font-size:15px;
transition:.3s;
}

.menu a:hover{
color:#2ecc71;
}


/* ================================================= */
/* NAV RIGHT */
/* ================================================= */

.nav-right{
display:flex;
align-items:center;
gap:15px;
}


/* LOGIN */

.login-btn{
background:#2ecc71;
border:none;
color:#fff;
padding:8px 16px;
border-radius:6px;
cursor:pointer;
font-weight:500;
display:flex;
align-items:center;
gap:8px;
font-size:14px;
}

.login-btn:hover{
background:#27ae60;
}


/* ================================================= */
/* FLAGS */
/* ================================================= */

.flags{
display:flex;
align-items:center;
gap:8px;
}

.flags img{
width:22px;
border-radius:2px;
cursor:pointer;
transition:.2s;
}

.flags img:hover{
transform:scale(1.15);
}


/* ================================================= */
/* MENU HAMBURGUESA */
/* ================================================= */

.hamburger{
display:none;
font-size:24px;
cursor:pointer;
}


/* ================================================= */
/* HERO */
/* ================================================= */

.hero{
background:url("../img/general/crianza-slider-1.jpg") center/cover no-repeat;
height:650px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding-top:80px;
color:#fff;
margin-top:70px;
}

.hero-content{
max-width:700px;
}

.hero h1{
font-size:50px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
margin-bottom:30px;
}


/* ================================================= */
/* BOTONES */
/* ================================================= */

.btn{
display:inline-block;
background:#2ecc71;
color:#fff;
padding:14px 28px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
transition:.3s;
}

.btn:hover{
background:#27ae60;
}


/* ================================================= */
/* SECCIONES */
/* ================================================= */

.section{
padding:70px 0;
border-bottom:1px solid #f0f0f0;
}
.section + .section{
margin-top:40px;
}
.gray{
background:#f5f5f5;
}

.section h2{
text-align:center;
font-size:34px;
margin-bottom:50px;
}


/* ================================================= */
/* GRID */
/* ================================================= */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}


/* ================================================= */
/* CARDS */
/* ================================================= */

.card{
background:#fff;
border-radius:8px;
padding:25px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.card img{
width:100%;
border-radius:6px;
margin-bottom:15px;
}

.card h3{
margin-bottom:10px;
font-size:22px;
}


/* ================================================= */
/* PRECIOS */
/* ================================================= */

.precio{
font-size:30px;
font-weight:bold;
color:#2ecc71;
margin-top:10px;
}


/* ================================================= */
/* CONTACTO */
/* ================================================= */

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.form input,
.form textarea{
width:100%;
padding:12px;
margin-bottom:12px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}

.form textarea{
min-height:120px;
resize:none;
}

.form button{
width:100%;
border:none;
}


/* ================================================= */
/* MAPA */
/* ================================================= */

.map iframe{
width:100%;
min-height:350px;
border:0;
border-radius:8px;
}


/* ================================================= */
/* FOOTER */
/* ================================================= */

footer{
background:#111;
color:#fff;
text-align:center;
padding:30px;
font-size:14px;
}


/* ================================================= */
/* WHATSAPP */
/* ================================================= */

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
color:#fff;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:30px;
text-decoration:none;
box-shadow:0 5px 20px rgba(0,0,0,0.3);
transition:.3s;
}

.whatsapp:hover{
transform:scale(1.1);
}


/* ================================================= */
/* PRELOADER */
/* ================================================= */

#preloader{
position:fixed;
width:100%;
height:100%;
background:#fff;
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
}

.loader{
border:5px solid #eee;
border-top:5px solid #2ecc71;
border-radius:50%;
width:40px;
height:40px;
animation:spin 1s linear infinite;
}

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}


/* ================================================= */
/* MODAL LOGIN */
/* ================================================= */

.modal-login{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
align-items:center;
justify-content:center;
z-index:2000;
}

.modal-content{
background:#fff;
padding:40px;
border-radius:10px;
width:350px;
text-align:center;
position:relative;
}

.modal-content h2{
margin-bottom:20px;
}

.modal-content input{
width:100%;
padding:12px;
margin-bottom:12px;
border:1px solid #ddd;
border-radius:6px;
}

.btn-login{
width:100%;
padding:12px;
background:#2ecc71;
border:none;
color:#fff;
border-radius:6px;
font-weight:bold;
cursor:pointer;
}

.btn-login:hover{
background:#27ae60;
}

.cerrar{
position:absolute;
top:15px;
right:20px;
font-size:22px;
cursor:pointer;
}


/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media(max-width:1000px){

.hero h1{
font-size:40px;
}

.hero p{
font-size:18px;
}

}


@media(max-width:768px){

.menu{
position:absolute;
top:70px;
left:0;
width:100%;
background:#fff;
flex-direction:column;
align-items:center;
display:none;
padding:25px 0;
box-shadow:0 15px 30px rgba(0,0,0,0.15);
border-top:1px solid #eee;
}

.menu.active{
display:flex;
}

.menu a{
padding:10px;
}

.hamburger{
display:block;
}

.contact-grid{
grid-template-columns:1fr;
}

.hero{
height:550px;
padding:100px 20px;
}

.hero h1{
font-size:34px;
}

.hero p{
font-size:16px;
}

.section h2{
font-size:28px;
}

}


@media(max-width:480px){

.hero{
height:500px;
}

.hero h1{
font-size:28px;
}

.btn{
padding:12px 20px;
}

}

/* ============================ */
/* HERO SLIDER */
/* ============================ */

.hero-slider{
position:relative;
height:650px;
overflow:hidden;
margin-top:70px;
}

.slides{
height:100%;
}

.slide{
position:absolute;
width:100%;
height:100%;
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
opacity:0;
transition:opacity 1s ease;
}

.slide.active{
opacity:1;
z-index:1;
}

/* overlay para mejorar lectura */

.slide::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.hero-content{
position:relative;
max-width:750px;
padding:20px;
}

.hero-content h1{
font-size:50px;
margin-bottom:20px;
}

.hero-content p{
font-size:20px;
margin-bottom:30px;
}

/* BOTONES SLIDER */

.slider-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
border:none;
color:white;
font-size:28px;
padding:10px 18px;
cursor:pointer;
z-index:2;
border-radius:4px;
}

.slider-btn:hover{
background:#2ecc71;
}

.prev{
left:20px;
}

.next{
right:20px;
}
.card{
background:white;
border-radius:8px;
padding:25px;
text-align:center;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
transition:0.3s;

display:flex;
flex-direction:column;
justify-content:space-between;

min-height:360px;
}

.card img{
width:100%;
height:160px;
object-fit:cover;
border-radius:6px;
margin-bottom:15px;
}

.card p{
flex-grow:1;
}

.section-intro{
text-align:center;
max-width:900px;
margin:0 auto 50px auto;
font-size:17px;
color:#555;
line-height:1.7;
}

.section-subtitle{
text-align:center;
max-width:800px;
margin:15px auto 50px auto;
color:#666;
font-size:16px;
}

.section-intro{
text-align:center;
max-width:850px;
margin:20px auto 50px auto;
font-size:17px;
color:#555;
line-height:1.7;
}

/* ============================== */
/* PLANES */
/* ============================== */

.planes-section{
background:#f8f9fa;
}

.planes-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:35px;
margin-top:40px;
}

.plan-card{
background:white;
padding:40px 30px;
border-radius:12px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
position:relative;
transition:0.3s;
}

.plan-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.plan-card h3{
font-size:22px;
margin-bottom:10px;
}

.plan-sub{
color:#777;
font-size:14px;
margin-bottom:20px;
}

.precio{
font-size:42px;
font-weight:700;
color:#2ecc71;
}

.precio-mes{
font-size:14px;
color:#666;
display:block;
margin-bottom:25px;
}

.plan-features{
list-style:none;
padding:0;
margin:0 0 25px 0;
}

.plan-features li{
margin-bottom:10px;
font-size:15px;
color:#444;
}

.btn-plan{
display:inline-block;
background:#2ecc71;
color:white;
padding:12px 26px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.btn-plan:hover{
background:#27ae60;
}


/* PLAN DESTACADO */

.destacado{
border:2px solid #2ecc71;
transform:scale(1.05);
}

.recomendado{
position:absolute;
top:-12px;
left:50%;
transform:translateX(-50%);
background:#2ecc71;
color:white;
font-size:12px;
padding:5px 14px;
border-radius:20px;
font-weight:600;
}


/* NOTA */

.planes-nota{
text-align:center;
max-width:800px;
margin:40px auto 0 auto;
font-size:15px;
color:#666;
}

/* ================================= */
/* CONTACTO */
/* ================================= */

.contact-intro{
max-width:800px;
margin:0 auto 40px auto;
text-align:center;
font-size:16px;
color:#555;
}

.form h3{
margin-bottom:15px;
}

.contact-note{
font-size:13px;
color:#777;
margin-top:10px;
}

.contact-info{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-data{
background:white;
padding:20px;
border-radius:8px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
font-size:15px;
}

.contact-data h3{
margin-bottom:10px;
}

.contact-highlight{
margin-top:10px;
font-weight:500;
color:#2ecc71;
}

/* ================================= */
/* PORQUE ELEGIR */
/* ================================= */

.porque{
background:#ffffff;
}

.porque-intro{
max-width:820px;
margin:0 auto 50px auto;
text-align:center;
font-size:16px;
color:#555;
}

.porque-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:35px;
}

.porque-card{
background:#f8f9fa;
padding:30px;
border-radius:10px;
text-align:center;
transition:0.3s;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.porque-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.porque-card i{
font-size:32px;
color:#2ecc71;
margin-bottom:15px;
}

.porque-card h3{
font-size:20px;
margin-bottom:10px;
}

.porque-card p{
font-size:15px;
color:#555;
}

.porque-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:35px;
}

@media(max-width:1000px){

.porque-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.porque-grid{
grid-template-columns:1fr;
}

}

.porque{
background:linear-gradient(180deg,#ffffff,#f7f9fb);
}
.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:40px;
}

.contact-call{
font-size:14px;
color:#555;
margin-bottom:15px;
}

.contact-info{
display:flex;
flex-direction:column;
gap:20px;
}

@media(max-width:900px){

.contact-grid{
grid-template-columns:1fr;
}

}

/* ============================ */
/* FOOTER */
/* ============================ */

.footer{
background:#111;
color:#eee;
padding:60px 20px 30px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
max-width:1200px;
margin:auto;
}

.footer-brand img{
height:45px;
margin-bottom:15px;
}

.footer-brand p{
font-size:14px;
color:#bbb;
line-height:1.6;
}

.footer-links h4,
.footer-languages h4{
margin-bottom:15px;
font-size:16px;
color:white;
}

.footer-links ul{
list-style:none;
padding:0;
}

.footer-links li{
margin-bottom:10px;
font-size:14px;
}

.footer-links a{
color:#bbb;
text-decoration:none;
transition:0.3s;
}

.footer-links a:hover{
color:#2ecc71;
}

.flags-footer{
display:flex;
gap:10px;
}

.flags-footer img{
width:28px;
border-radius:3px;
transition:0.2s;
}

.flags-footer img:hover{
transform:scale(1.1);
}

/* BOTTOM */

.footer-bottom{
margin-top:40px;
padding-top:20px;
border-top:1px solid #333;
display:flex;
justify-content:space-between;
align-items:center;
font-size:13px;
color:#999;
}

.powered{
color:#aaa;
}

.powered strong{
color:#2ecc71;
}

/* RESPONSIVE */

@media(max-width:900px){

.footer-grid{
grid-template-columns:1fr 1fr;
gap:30px;
}

.footer-bottom{
flex-direction:column;
gap:10px;
text-align:center;
}

}

@media(max-width:500px){

.footer-grid{
grid-template-columns:1fr;
}

}