/* ================================================= */
/* RESET */
/* ================================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

ul{
list-style:none;
}


/* ================================================= */
/* BASE */
/* ================================================= */

body{
font-family:Arial, Helvetica, sans-serif;
line-height:1.6;
background:#fff;
color:#222;
}

main{
width:100%;
}

section{
padding:80px 20px;
}

.container{
max-width:1100px;
margin:auto;
}


/* ================================================= */
/* HEADER */
/* ================================================= */

header{
background:#000;
padding:15px 20px;
position:sticky;
top:0;
z-index:5000;
}

.header-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
position:relative;
}

.logo img{
height:40px;
}


/* ================================================= */
/* SELECTOR IDIOMA */
/* ================================================= */

.language-switch{
position:absolute;
left:50%;
transform:translateX(-50%);
display:flex;
align-items:center;
gap:10px;
}

.language-switch a{
display:flex;
align-items:center;
justify-content:center;
background:#ff00aa;
color:#fff;
padding:8px 14px;
border-radius:6px;
font-weight:bold;
min-width:40px;
height:32px;
transition:.2s;
}

.language-switch a:hover{
background:#66ff00;
color:#000;
}

.language-switch a.active{
background:#66ff00;
color:#000;
}

.lang-separator{
color:#fff;
font-weight:bold;
}


/* ================================================= */
/* HAMBURGER */
/* ================================================= */

.hamburger{
width:32px;
height:24px;
position:relative;
border:none;
background:none;
cursor:pointer;
z-index:6000;
	display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span{
position:absolute;
left:0;
width:100%;
height:3px;
background:white;
transition:.3s;
}

.hamburger span:nth-child(1){top:0;}
.hamburger span:nth-child(2){top:10px;}
.hamburger span:nth-child(3){top:20px;}

.hamburger.open span:nth-child(1){
transform:rotate(45deg);
top:10px;
background:#ff00aa;
}

.hamburger.open span:nth-child(2){
opacity:0;
}

.hamburger.open span:nth-child(3){
transform:rotate(-45deg);
top:10px;
background:#ff00aa;
}


/* ================================================= */
/* MENU */
/* ================================================= */

nav{
position:fixed;
top:0;
right:-260px;
width:260px;
height:100%;
background:#000;
padding-top:90px;
transition:.4s;
z-index:3000;
}

nav.open{
right:0;
}

nav li{
padding:10px 20px;
}

nav a{
display:block;
background:#ff00aa;
color:#fff;
padding:10px;
border-radius:8px;
}

nav a:hover{
background:#66ff00;
color:#000;
}

body.menu-abierto{
overflow:hidden;
}


/* ================================================= */
/* BOTONES */
/* ================================================= */

.btn{
display:inline-block;
padding:12px 24px;
background:#ff00aa;
color:#fff;
border-radius:6px;
font-weight:bold;
transition:.3s;
}

.btn:hover{
background:#66ff00;
color:#000;
}


/* ================================================= */
/* HERO HOME */
/* ================================================= */

.hero{

height:80vh;

background-image:
linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
url("../img/portada.jpg");

background-size:cover;
background-position:center 15%;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;
}

.hero p{
font-size:24px;
margin-bottom:30px;
}


/* ================================================= */
/* METODO SALUD */
/* ================================================= */

.metodo-salud{
text-align:center;
background:#fff;
}

.metodo-salud h2{
font-size:34px;
margin-bottom:20px;
}

.metodo-salud p{
font-size:18px;
max-width:650px;
margin:0 auto 30px;
color:#555;
}


/* BOTON VIC */

.btn-vic{
background:#ff00aa;
color:white;
border:none;
padding:14px 28px;
font-size:16px;
border-radius:6px;
cursor:pointer;
font-weight:bold;
transition:.3s;
}

.btn-vic:hover{
background:#66ff00;
color:black;
}


/* ================================================= */
/* VIDEO POPUP */
/* ================================================= */

.popup-video{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
display:none;
align-items:center;
justify-content:center;
z-index:9000;
}

.popup-contenido{
position:relative;
width:90%;
max-width:900px;
}

.video-wrapper{
position:relative;
padding-bottom:56.25%;
height:0;
overflow:hidden;
border-radius:10px;
}

.video-wrapper iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:none;
}

.cerrar-video{
position:absolute;
top:-15px;
right:-15px;
background:red;
color:white;
border:none;
width:38px;
height:38px;
border-radius:50%;
font-size:20px;
cursor:pointer;
}


/* ================================================= */
/* BLOG */
/* ================================================= */

.blog-home{
background:#fafafa;
text-align:center;
}

.blog-home h2{
font-size:32px;
margin-bottom:50px;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
max-width:900px;
margin:auto;
}

.blog-card{
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 4px 10px rgba(0,0,0,.08);
transition:.3s;
}

.blog-card:hover{
transform:translateY(-5px);
}

.blog-card img{
height:200px;
object-fit:cover;
}

.blog-card h3{
padding:20px;
font-size:18px;
}


/* ================================================= */
/* SERVICIOS HOME */
/* ================================================= */

.servicios-home{
background:#fafafa;
text-align:center;
}

.servicios-home h2{
font-size:36px;
margin-bottom:60px;
}

.servicios-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
max-width:1000px;
margin:auto;
}

.servicio-card{
position:relative;
border-radius:12px;
overflow:hidden;
height:320px;
box-shadow:0 6px 20px rgba(0,0,0,.12);
}

.servicio-card img{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.servicio-overlay{
position:relative;
z-index:2;
background:rgba(0,0,0,.55);
width:100%;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:25px;
color:white;
}

.servicio-overlay h1{
font-size:26px;
margin-bottom:10px;
}

.servicio-overlay h2{
font-size:16px;
margin-bottom:20px;
max-width:260px;
}

.btn-servicio{
background:#ff00aa;
color:white;
padding:12px 26px;
border-radius:6px;
font-weight:bold;
transition:.3s;
}

.btn-servicio:hover{
background:#66ff00;
color:black;
}


/* ================================================= */
/* TESTIMONIOS */
/* ================================================= */

.testimonios{
background:#fafafa;
text-align:center;
}

.testimonios-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
max-width:800px;
margin:auto;
}

.testimonio{
background:white;
padding:30px;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,.05);
}


/* ================================================= */
/* PRESENTACION */
/* ================================================= */

.presentacion-container{
display:flex;
align-items:center;
gap:40px;
max-width:900px;
margin:auto;
}

.presentacion img{
width:200px;
border-radius:10px;
}


/* ================================================= */
/* SUSCRIPCION */
/* ================================================= */

.suscripcion{
background:#f5f5f5;
text-align:center;
}

.suscripcion form{
display:flex;
justify-content:center;
gap:10px;
margin-top:20px;
}

.suscripcion input{
padding:12px;
border:1px solid #ccc;
border-radius:6px;
width:250px;
}

.suscripcion button{
padding:12px 20px;
border:none;
background:#ff00aa;
color:white;
border-radius:6px;
cursor:pointer;
}

.suscripcion button:hover{
background:#66ff00;
color:black;
}


/* ================================================= */
/* FOOTER */
/* ================================================= */

footer{
background:#000;
color:white;
padding:50px 20px;
margin-top:60px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}


/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width:900px){

.blog-grid{
grid-template-columns:1fr;
}

.servicios-grid{
grid-template-columns:repeat(2,1fr);
}

.testimonios-grid{
grid-template-columns:1fr;
}

.presentacion-container{
flex-direction:column;
text-align:center;
}

.footer-container{
grid-template-columns:1fr 1fr;
}

}

@media (max-width:600px){

section{
padding:60px 20px;
}

.hero{
height:60vh;
background-image:
linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
url("../img/portada-movil.jpg");
}

.servicios-grid{
grid-template-columns:1fr;
max-width:420px;
}

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.metodo-salud h2{
font-size:26px;
}

.metodo-salud p{
font-size:16px;
}

}
.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}.hamburger {
  display: flex !important;
}
/* ===== MENU DESKTOP ===== */

.menu-desktop {
  display: flex;
}

.menu-desktop ul {
  display: flex;
  gap: 20px;
}

.menu-desktop a {
  color: white;
  font-weight: bold;
}


/* ===== MENU MOBILE ===== */

.menu-mobile {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #000;
  padding-top: 90px;
  transition: .4s;
}

.menu-mobile.open {
  right: 0;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px){

  .menu-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

}

@media (min-width: 769px){

  .hamburger {
    display: none;
  }

}