html, body{
overflow-x:hidden;
}

body.menu-open{
overflow:hidden;
}

img{
max-width:100%;
height:auto;
}


/* RESET */

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

/* BASE */

body{
font-family:'Inter', sans-serif;
color:#2e2e2e;
line-height:1.6;
background:none;
}
body::before{
content:"";
position:fixed;
inset:0;
background:url("../img/bg_dmb1.jpg") center / cover no-repeat;
z-index:-1;
}
@media(max-width:768px){

body::before{
background-position:center top;
background-size:cover;
opacity:0.8; /* opcional suavizar */
}

}

/* CONTAINER */

.container{
max-width:1200px;
margin:auto;
padding:0 1.5rem;
}

/* HEADER */

.header{
background:#81358a;
padding:0.8rem 0;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-family:'Inter', serif;
font-size:1.3rem;
color:white;
text-decoration:none;
}
.logo img{
height:45px;
width:auto;
display:block;
}
@media(max-width:768px){
.logo img{
height:38px;
}
}

.menu{
list-style:none;
display:flex;
gap:1.8rem;
}

.menu a{
color:white;
text-decoration:none;
font-size:0.9rem;
letter-spacing:1px;
}

/* HERO */

.hero-home{
background:url("../img/Sala-Daniel-Muller-Bravo.jpg") center/cover no-repeat;
height:65vh;
min-height:520px;
position:relative;
overflow:hidden;
}

.hero-home::before{
content:"";
position:absolute;
inset:0;
background:rgba(88,34,120,0.25);
z-index:1;
}

.hero-home > *{
position:relative;
z-index:2;
}

.hero{
background:url("../img/Sala-Daniel-Muller-Bravo.jpg") center/cover no-repeat;
position:relative;
padding:9rem 0;
text-align:center;
color:white;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(88,34,120,0.75);
}

.hero .container{
position:relative;
z-index:2;
}


/* SECTION */

.section{
padding:5rem 0;
}

.section.alt{
background:rgba(255,255,255,0.25);
backdrop-filter: blur(3px);
}

/* INTRO TITULO HOME */

.intro-title{
text-align:center;
padding:4rem 0 2rem 0;
display:flex;
justify-content:center;
}

.intro-title .container{
max-width:700px;
}

.intro-title h1{
font-size:2.6rem;
margin-bottom:1rem;
}

.intro-title p{
font-size:1.1rem;
color:#666;
}


/* TITLES */

.section h2{
font-family:'Inter', serif;
font-size:2.2rem;
margin-bottom:1.5rem;
text-align:center;
}
.section .container{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}
.section p{
max-width:500px;
margin:0 auto 1.5rem auto;
line-height:1.7;
}
.section .btn{
margin-top:1.5rem;
}



/* Layout imagen + texto */
.help-section h2{
text-align:center;
margin-bottom:3rem;
}

.help-block{
display:grid;
grid-template-columns:1fr 1fr;
gap:3rem;
align-items:start;
margin-bottom:4rem;
}

.help-block.reverse{
direction:rtl;
}

.help-block.reverse .help-text{
direction:ltr;
}

/* img */
.help-image img{
width:100%;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* text */
.help-text h3{
font-size:1.8rem;
margin-bottom:1rem;
}

.help-text p{
color:#555;
margin-bottom:1rem;
}

/* CARDS */

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:2rem;
margin-top:2rem;
}

.card{
background:white;
padding:2rem;
border-radius:8px;
box-shadow:0 10px 20px rgba(0,0,0,0.08);
margin:1rem	
}


/* BUTTON */

.btn{
display:inline-block;
background:#81358a;
color:white;
padding:0.8rem 2rem;
border-radius:25px;
text-decoration:none;
margin-top:1.5rem;
transition:.3s;
}

.btn:hover{
background:#5d2b7a;
}

.btn-outline{
background:transparent;
border:2px solid #81358a;
color:#81358a;
margin-left:1rem;
}

.btn-outline:hover{
background:#81358a;
color:white;
}

/* Responsive */
@media(max-width:768px){

.help-block{
grid-template-columns:1fr;
}

.help-block.reverse{
direction:ltr;
}

}


/* FOOTER */

.footer{
background:#81358a;
color:white;
padding:2rem 1rem 2rem;
}

.footer-logo{
text-align:center;
margin-bottom:1.2rem;
}

.footer-logo img{
animation:floatLogo 6s ease-in-out infinite;
filter:drop-shadow(0 0 6px rgba(255,255,255,0.2));
width:50px;
height:auto;
opacity:0.95;
}
@keyframes floatLogo{
0%,100%{transform:translateY(0);}
50%{transform:translateY(-6px);}
}
@media(max-width:768px){
.footer-logo img{
width:50px;
}
}
.footer-info{
display:flex;
align-items:stretch; /* ← clave */
justify-content:space-between;
max-width:1100px;
margin:auto;
padding:0.3rem 0;
}

.footer-item{
flex:1;
padding:0 1.5rem;
text-align:center;
position:relative;
}

.footer-item p{
display:flex;
justify-content:center;
align-items:center;
gap:6px;
}


.footer-item:not(:last-child)::after{
content:"";
position:absolute;
right:0;
top:0;
width:1px;
height:100%;
background:rgba(255,255,255,0.3);
}

.footer-info a{
color:white;
text-decoration:none;
font-weight:500;
}

.footer-info a:hover{
opacity:0.8;
text-decoration:underline;
}

@media(max-width:768px){

.footer-info{
flex-direction:column;
}

.footer-item{
padding:1.2rem 0;
width:100%;
display:flex;
flex-direction:column;
justify-content:center;
}

.footer-item:not(:last-child)::after{
display:none;
}

.footer-item:not(:last-child){
border-bottom:1px solid rgba(255,255,255,0.3);
}

}
.footer-item i{
opacity:0.9;
font-size:0.95rem;
color:#f2dfff;
}

.footer-bottom{
margin-top:1rem;
border-top:1px solid rgba(255,255,255,0.2);
padding-top:1rem;
text-align:center;
font-size:0.8rem;
}

.footer-bottom a{
color:#f2dfff;
margin-left:0.8rem;
text-decoration:none;
}

.footer-bottom a:hover{
color:white;
}
.footer-line{
display:flex;
justify-content:center;
align-items:center;
gap:6px;
}
.footer-social-contact{
margin-top:3px;
display:flex;
justify-content:center;
gap:14px;
font-size:1.2rem;
}

/* =====================
   BLOQUES TERAPIAS HOME
===================== */
/* Bloques imagen + texto */

.help-block,
.therapy-block{
display:grid;
grid-template-columns:1fr 1fr;
gap:2.2rem;
align-items:center;
margin-bottom:4rem;
}

.help-block.reverse,
.therapy-block.reverse{
direction:rtl;
}

.help-block.reverse .help-text,
.therapy-block.reverse .therapy-text{
direction:ltr;
}

.therapy-text{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
max-width:420px;
margin:auto;
}

.therapy-text h2{
font-size:2rem;
margin:0 auto 0.8rem auto;
color:#4b3b5e;
}

.therapy-text p{
color:#555;
margin:0 auto 1.5rem auto;
max-width:420px;
line-height:1.7;
}

.therapy-actions{
display:flex;
justify-content:center;
gap:1.5rem;
}



.therapy-image img{
width:100%;
max-width:420px;
margin:auto;
display:block;
border-radius:8px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}


.link-action{
color:#7b3fa2;
text-decoration:none;
font-weight:500;
}

.link-action:hover{
text-decoration:underline;
}

/* RESPONSIVE */

@media(max-width:768px){

.therapy-block{
grid-template-columns:1fr;
}

.therapy-block.reverse{
direction:ltr;
}

}
/* REVIEWS */

.reviews-wrapper{
display:grid;
grid-template-columns:260px 1fr;
gap:2rem;
align-items:center;
}

/* SUMMARY */

.reviews-summary{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}

.reviews-summary h3{
color:#4b3b5e;
letter-spacing:2px;
margin-bottom:1rem;
}

.stars{
font-size:1.8rem;
color:#f4b400;
animation:starsGlow 2s infinite alternate;
}

@keyframes starsGlow{
from{opacity:0.7;}
to{opacity:1;}
}

.google-logo{
width:90px;
margin-top:5px;
margin-bottom:6px;
}

.google-link{
font-size:0.9rem;
color:#6d3a7c;
text-decoration:none;
font-weight:500;
}
.google-link:hover{
text-decoration:underline;
}
.google-review-btn{
  display:block;
  margin-top:1rem;
  background:#81358a;
  color:white;
  font-weight:500;
  text-align:center;
  padding:0.8rem 1.2rem;
  border-radius:25px;
  text-decoration:none;
  font-size:0.85rem;
  width:fit-content;
  margin-left:auto;
  margin-right:auto;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
  transition:0.3s;
}

.google-review-btn:hover{
  background:#5d2b7a;
  transform:translateY(-2px);
}

/* CAROUSEL */


.reviews-carousel{
position:relative;
overflow:hidden;
width:100%;
}

.reviews-track{
  display:flex;
  gap:1.5rem;
  width:max-content;
  transition: transform 0.6s ease; /* más suave */
  will-change: transform;
}


/* CARD */

.review-card{
min-width:300px;
max-width:320px;
background:white;
padding:1.6rem;
border-radius:18px;
box-shadow:0 8px 22px rgba(0,0,0,0.08);
display:flex;
flex-direction:column;
gap:0.5rem;
text-align:left;
}


@keyframes fadeInUp{
to{
opacity:1;
transform:translateY(0);
}
}

/* HEADER */

.review-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:1rem;
overflow:visible;
}

.review-user{
display:flex;
flex-direction:column;
align-items:flex-start;
line-height:1.2;
}

.review-avatar{
width:42px;
height:42px;
border-radius:50%;
object-fit:cover;
}


.review-google-icon{
width:22px;
flex-shrink:0;
}

.review-header div{
flex:1;
margin-left:10px;
}

.review-header span{
font-size:0.75rem;
color:#777;
}

.review-user strong{
font-size:0.95rem;
font-weight:600;
color:#333;
}

.review-user span{
font-size:0.75rem;
color:#888;
margin-top:2px;
}

.verified-badge{
background:#f2dfff;
color:white;
font-size:0.6rem;
border-radius:50%;
padding:2px 5px;
margin-left:5px;
vertical-align:middle;
}


/* STARS */

.review-stars{
color:#f4b400;
font-size:0.9rem;
margin-bottom:0.6rem;
}


/* TEXT */

.review-card p{
font-size:0.9rem;
line-height:1.5;
color:#444;
}

.review-text{
max-height:60px;
overflow:hidden;
transition:0.3s;
position:relative;
}
.review-text::after{
content:"";
position:absolute;
bottom:0;
left:0;
right:0;
height:20px;
background:linear-gradient(transparent, white);
}
.review-text.expanded{
max-height:200px;
}

.read-more{
background:none;
border:none;
color:#81358a;
cursor:pointer;
font-size:0.8rem;
padding:0;
}


/* BUTTONS */

.review-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:white;
border:none;
width:38px;
height:38px;
border-radius:50%;
cursor:pointer;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
font-size:1.6rem;
z-index:2;
}

.prev{left:-5px;}
.next{right:-5px;}

/* ===== CONTACT FORM ===== */

.contact-form{
  max-width:600px;
  margin:0 auto;
  display:grid;
  gap:1.2rem;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:0.3rem;
}

.form-group label{
  font-size:0.85rem;
  font-weight:500;
}

.form-group input,
.form-group select,
.form-group textarea{
  padding:0.7rem;
  border-radius:6px;
  border:1px solid #ccc;
  font-family:inherit;
}


/* WHATAPP */
.whatsapp-float{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:white;
width:55px;
height:55px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:26px;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
z-index:999;
transition:0.3s;
}

.whatsapp-float:hover{
transform:scale(1.1);
}

/* BOTTOM TO TOP */
#scrollTopBtn{
position:fixed;
bottom:90px; /* queda encima del WhatsApp */
right:20px;
width:45px;
height:45px;
border:none;
border-radius:50%;
background:#6d3a7c;
color:white;
font-size:18px;
cursor:pointer;
display:flex;
justify-content:center;
align-items:center;
box-shadow:0 4px 10px rgba(0,0,0,0.3);
opacity:0;
visibility:hidden;
transform:translateY(10px);
transition:0.3s;
z-index:998;	
}

#scrollTopBtn:hover{
transform:scale(1.1);
}
#scrollTopBtn.show-scroll{
opacity:1;
visibility:visible;
transform:translateY(0);
}

/* MOBILE */

@media(max-width:768px){

.reviews-wrapper{
grid-template-columns:1fr;
}

.review-btn{
display:none;
}
.reviews-summary{
width:100%;
}

.google-logo{
margin:0 auto;
display:block;
width:90px;
}
.review-google-icon{
width:22px;
}
	
	
}
/* BOTÓN HAMBURGUESA */

.menu-toggle{
display:none;
background:none;
border:none;
font-size:1.8rem;
color:white;
cursor:pointer;
}
/* OVERLAY */

.menu-overlay{
position:fixed;
inset:0;
background:rgba(0,0,0,0.5);
opacity:0;
pointer-events:none;
transition:0.3s;
z-index:95;
backdrop-filter:blur(3px);
}

.menu-overlay.active{
opacity:1;
pointer-events:auto;
}

/* MOBILE */

@media(max-width:768px){

.menu-toggle{
display:block;
}

.menu{
position:fixed;
top:0;
right:-100%;
width:260px;
height:100vh;
background:#81358a;
flex-direction:column;
padding:6rem 2rem 2rem;
gap:2rem;
transition:0.4s;
z-index:100;
box-shadow:-5px 0 20px rgba(0,0,0,0.3);
}

.menu.active{
right:0;
}

.menu a{
font-size:1.2rem;
}
body.menu-open{
overflow:hidden;
}
.menu-toggle.active{
transform:rotate(90deg);
transition:0.3s;
}

}
/* ===== BONO REGALO ===== */

.gift-section{
padding:4rem 1rem;
}

.gift-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
max-width:1100px;
margin:auto;
border:10px solid #81358a;
overflow:hidden;
}

/* Imagen */

.gift-image{
height:320px;
}

.gift-image img{
width:100%;
height:100%;
object-fit:cover;
}

/* Banner */

.gift-banner{
background:url("../img/Bono-dmb.jpg") center/cover no-repeat;
display:flex;
justify-content:center;
align-items:center;
position:relative;
height:320px;
}

/* Overlay */

.gift-banner::before{
content:"";
position:absolute;
inset:0;
background:rgba(129,53,138,0.25);
}

/* Contenido */

.gift-content{
position:relative;
text-align:center;
color:white;
}

.gift-subtitle{
font-size:1.4rem;
font-style:italic;
opacity:0.9;
margin-bottom:0.5rem;
}

.gift-title{
font-size:2.8rem;
margin-bottom:1.5rem;
letter-spacing:2px;
}

.gift-btn{
background:#81358a;
}

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

@media(max-width:768px){

.gift-wrapper{
grid-template-columns:1fr;
}

.gift-image,
.gift-banner{
height:260px;
}

}
/* ===== CONTACTO + RESERVA ===== */

.contacto-reserva{
  background:#81358a;
  color:white;
}

.contacto-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  max-width:1200px;
  margin:auto;
  padding:3rem 1.5rem;
}

.contacto-info p{
  margin-bottom:1rem;
  line-height:1.6;
}

.contacto-form h2{
  margin-bottom:1.5rem;
}

.contacto-form form{
  display:grid;
  gap:1rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea{
  padding:0.8rem;
  border-radius:30px;
  border:none;
  font-family:inherit;
}

.fecha-hora{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}

.calendar-box{
  margin-top:2rem;
  background:white;
  border-radius:12px;
  padding:1rem;
  color:#333;
}

/* MOBILE */
@media(max-width:768px){
  .contacto-grid{
    grid-template-columns:1fr;
  }
}
/* ===== CONTACTO WIDE ===== */

.contacto-wide{
  max-width:1400px; /* más ancho que el resto */
}

.contacto-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:start;
}

/* Iframes ocupan bien el espacio */
.contacto-mapa iframe,
.contacto-calendar iframe{
  width:100%;
  height:360px;
  border:0;
  border-radius:12px;
}

/* Calendario un poco más alto */
.contacto-calendar iframe{
  height:420px;
}

/* MOBILE */
@media(max-width:768px){
  .contacto-grid{
    grid-template-columns:1fr;
    gap:2rem;
  }

  .contacto-mapa iframe,
  .contacto-calendar iframe{
    height:300px;
  }
}
/* ===== CONTACTO GRID REAL ===== */

.contacto-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:center;

}

.contacto-mapa iframe,
.contacto-calendar iframe{
  width:100%;
  height:360px;
  border:0;
  border-radius:12px;
  align-items:center;
}

.contacto-calendar iframe{
  height:420px;
}

/* MOBILE */
@media(max-width:768px){
  .contacto-grid{
    grid-template-columns:1fr;
  }

  .contacto-mapa iframe,
  .contacto-calendar iframe{
    height:300px;
  }
}
