/* ------Reset-------- */
*{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/*------HEADER--------*/

/* Header moderno */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/*  animacion del header */

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  animation: slideDownFade 2s ease forwards;
}


.header.shrink {
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.9s ease;
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 50px;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: #7a057a;
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #7a057a;
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav a:hover::after {
  width: 100%;
  background: #7a057a;
}

/* Botón hamburguesa */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  height: 18px;
  justify-content: space-between;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: #333;
  height: 2px;
  width: 25px;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle-label span::before {
  content: '';
  transform: translateY(-7px);
}

.nav-toggle-label span::after {
  content: '';
  transform: translateY(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    border-top: 1px solid #ddd;
  }

  .nav a {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-toggle:checked + .nav {
    display: flex;
  }

  .nav-toggle-label {
    display: flex;
  }
}


/* -------BANNER-------- */



#banner{

    
    padding: 0 50px;
    background-image: url(./imagenes/paciente-haciendo-rehabilitacion-fisica-ayudado-por-terapeutas.jpg);
    height: 75vh;
    background-size: cover;
    background-position: center;
    }
    #banner::before{
        content:'';
        background: rgba(77, 77, 92, 0.6);
        position: absolute;
        width: 100%;
        height: 75vh;
        left: 0;
    }
    .contenido-banner{
        position: relative;
        color: #fff;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }
    .contenido-banner h3{
        font-size: 40px;
        font-weight: 400;
        padding: 10px 0px;
    }
    .contenido-banner h3 span{
        font-weight: 600;
    }
    .boton-empezar{
        border-radius: 15px;
        text-decoration: none;
        color: #ffffff;
        border: 1px solid #ffffff;
        padding: 20px 40px;
        align-self: baseline;
        transition: all 0.4s;
        }

    .boton-empezar:hover{
        background: #7a057a;
    }
    
    /*------Personas--------*/
#persona{
    background:#ffffff;
    padding: 10px 10px;
    display: flex;
    justify-content: center;
    text-align: center;
}

#persona img {
    border-radius: 15%;
    width: 80%;
}
#persona div{
    padding: 10px 10px;
}
#persona div h4{
    color: #757579;
    font-size: 20px;
    margin: 15px 0px;
}
#persona div p{
    color: #616161;
    font-size: 18px;
}  
.boton-saber-mas{
    display: inline-block;
    text-decoration: none;
    color: #626266;
    padding: 10px 30px;
    border: 3px solid #7a057a;
    border-radius: 30px;
    margin-top: 15px;
    transition: all 0.4s;
}

.boton-saber-mas:hover{
    background: #7a057a;
    color: white;
}


/*----------iconos------------*/
#iconos{
    padding: 0px 50px;
    background: #ffffff
}
.contenido-iconos{
    padding: 10px 10px 0px 10px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.contenido-iconos div{
    flex: 1;
    margin: 20px 0px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

#icono-rapidez{
    border: none;
}

.contenido-iconos div i{
    color: #7a057a;
}
.contenido-iconos div h6{
    color: #6767ff;
    font-size: 20px;
    font-weight: 100;
    margin: 10px 0px;
}
.contenido-iconos div p{
    color: #6767ff;
    font-size: 15px;
}
.boton-icono{
    text-align: center;
    padding-bottom: 50px;


}

/*---------FORMULARIO-----------*/

#contacto{
    background: #70708b;
    padding: 50px 0;
    color: #fff;
}
#contacto h4{
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;

}
#contacto form{
    max-width: 80%;
    margin: 0 auto;

}

.datos-form{
    display: flex;
}


.datos-form div{
    padding: 10px;
    flex: 1;

    
}
form label{
    display: block;
    margin-bottom: 10px;

}
form input,
form textarea{
    background: #70708b;
    border-radius: 10px;
    border: 2px solid #4d4d60;
    padding: 10px 5px;
    outline: 0;
    color: #fff;
    width: 100%;
}
form input:focus,
form textarea:focus{
    border-color: #8f6aad;
    box-shadow: 0 0 0 1px #a08ebc;

}

form input::placeholder,
form textarea::placeholder{
    color: #fff;
    
}
.mensaje{
    display: flex;
    flex-direction: column;
    padding: 10px;

}

.boton-formulario button {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;

  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
}


.boton-formulario button:hover {
  background-color: #7a057a;
  color: #f5eff5;
  border-color: #ffffff;
  transform: scale(1.03);
}



/* -----------RESPONSIVE -------------*/
@media(max-width: 768px){
    /* HEADER */
    .mostrar-menu,
    .esconder-menu{
        display: block;
    }

    .contenido-banner h3{
        font-size: 35px;

    }
    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #4d4d5c;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;
    }
    .menu a{
        display: block;
        padding: 20px;
    }
    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ .menu{
        right: 0;
    }
    /*iconos*/
    .contenido-iconos{
        flex-direction: column;
    }
    .contenido-iconos div{
        border: none;
        
    }

}

.datos-form {
  flex-direction: column;
}



/*---------footer------------*/


footer  {
  
    padding: 0 30px;
    background-color: #4e4e83;
    height: 30vh;
    background-size: cover;
    background-position: center;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h3{
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}
.footer-content p{
    color: #FFFFFF;
    max-width: 400px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}
.social{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.social li{
    margin: 0 20px;
}
.social a{
    text-decoration: none;
    color: #fff;
}
.social a i{
    font-size: 1.8rem;
    transition: color .4s ease;
}
.social a:hover i{
    
    color: #7a057a;
    

}

.footer-boton p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
    margin: auto;
    text-align: center;



}
.footer-boton span{
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}
/* WHATSAPP FLOATING BUTTON */
.whatsapp-flotante {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.whatsapp-flotante:hover {
  transform: scale(1.1);
}

