* {
  font-family: 'Montserrat', sans-serif;
}

#navbar-movil ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: none; /* El menú estará oculto por defecto */
  
}

@media screen and (min-width: 768px) {
  #navbar-movil ul {
      display: flex; /* Esto muestra el menú en pantallas de 768px o más de ancho */
  }
}


#navbar-movil ul.show {
  display: block; /* Esto mostrará el menú cuando se haga clic en el icono de hamburguesa */
}

#navbar-movil ul li {
  float: none;
  text-align: left;
  
}

#navbar-movil ul li a {
  display: block;
  color: #ffff;
  text-align: center;
  padding: 1px 16px;
  text-decoration: none;
}

.mobile-nav-toggle {
  position: fixed;
  top: 20px; /* Ajusta como quieras */
  right: 20px; /* Ajusta como quieras */
}

.mobile-nav-toggle {
  display: none;  /* El botón de hamburguesa estará oculto en pantallas grandes */
}
.hide-on-nav-open {
  display: none;
}


/* Si la pantalla es 600px o menos, establezca la fuente y muestre el botón de hamburguesa */
@media screen and (max-width: 600px) {
  #navbar-movil ul li {
      float: none;
  }
  .mobile-nav-toggle {
      display: block;
  }
}




/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background:  #54b4c3;
  box-shadow: 0px 0px 25px 0 rgba(0, 0, 0, 0.08);
  z-index: 997;
  padding: 15px 0;
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #222222;
}

#header .logo img {
  max-height: 40px;
}

@media (max-width: 992px) {
  #header .logo {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.header-social-links {
  padding-right: 15px;
}

.header-social-links a {
  color: #f5f5f5;
  padding-left: 6px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  font-size: 16px;
}

.header-social-links a:hover {
  color: #34b7a7;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
  padding: 10px 0 10px 28px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #34b7a7;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 25px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #e6e6e6;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
  padding: 0;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #34b7a7;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #222222;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 9, 9, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  font-size: 15px;
  padding-right: 15px;
  color: #222222;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #34b7a7;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #34b7a7;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero {
  /* Cambia la altura a una unidad de medida relativa para hacerlo responsive */
  height: 90vh; /* Por ejemplo, 70% del alto de la ventana (viewport) */
  min-height: 300px; /* Establece una altura mínima para evitar que se haga demasiado pequeño */
  background: url("/imagenes/webp/portada-tony.webp") ;
  background-size: cover;
}


#hero .container {
  padding-top: 70px;
  position: relative;
}

@media (max-width: 992px) {
  #hero .container {
    padding-top: 58px;
  }
}

.full-width {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* Cambiamos la altura a "auto" para mantener la proporción */
  max-height: calc(100vh - 100px); /* Limitamos la altura máxima de la imagen para evitar que cubra todo el contenido */
  object-fit: cover;
}


.margen {
  margin-top: 300px;
  padding-top: 250px;
}


.margenn {
  margin-top: 30px;
  padding-top: 250px;
}
/* Estilos específicos para dispositivos móviles (ancho máximo de 768px) */
@media (max-width: 768px) {
  .margen {
    margin-top: 0px!important; /* Eliminamos el margen superior en dispositivos móviles */
    padding-top: 0px!important; /* Ajusta el padding-top según tus preferencias en dispositivos móviles */
  }
  .margenn {
    margin-top: 0px!important; /* Eliminamos el margen superior en dispositivos móviles */
    padding-top: 0px!important; /* Ajusta el padding-top según tus preferencias en dispositivos móviles */
  }
  .sinp{
padding-top: 0px!important;
  }

}

#hero .btn-about {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 30px;
  color: #fff;
  background: #34b7a7;
}

#hero .btn-about:hover {
  background: #3dc8b7;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

/* Estilos para pantallas móviles (hasta 992px) */
@media (max-width: 992px) {
  #hero{
    
    background: url("/imagenes/webp/port-tablet.webp");
    background-size: cover; /* Ajusta la imagen de fondo móvil */
    background-position: center; /* Centra la imagen vertical y horizontalmente */
  }

}


@media (max-width: 768px) {
  #hero {
    position: relative; /* Asegura que el contenido se desplace correctamente */
   /* Altura automática para adaptarse al contenido */
    padding-bottom: 0%; /* Espacio para la imagen de fondo móvil (ajústalo según sea necesario) */
    background: none; /* Elimina la imagen de fondo para pantallas móviles */
  }

  #hero:before {
    content: "";
    background: url("/imagenes/webp/movil-port.webp");
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-size: cover; /* Ajusta la imagen de fondo móvil */
    background-position: center; /* Centra la imagen vertical y horizontalmente */
  }

}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

.section-bg {
  background-color: #e7f8f6;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #34b7a7;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}



.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 2px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #34b7a7;
  border: 2px solid #34b7a7;
}

@media (max-width: 1024px) {
  .cta {
    background-attachment: scroll;
  }
}

@media (min-width: 769px) {
  .cta .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
.fondo-tony {
  background-color: #f5f5f5;
}

.fondo-tonyy {
  background-color: #f5f5f5;
}

.h1 {
  color: #14b6cf;
}

/* inicio portada */
.imagen-logo {
  width: 100px;
}

.fondo-menu {
  background-color: #54b4c3;
}

.text-tony {
  color: #54b4c3;
}

.text-titulo {
  color: #54b4c3;
}

.text-terapia {
  color: rgb(158, 158, 158);
  font-size: 22px;
}

.text-libros {
  color: rgb(158, 158, 158);
  font-size: 32px;
}

.text-tony-h2 {
  color: #54b4c3;
  font-size: 20px;
}

.fondo-terapia {
  background-color: #54b4c3;
}

/* fin portada */

/* linea hr */
.titulo-linea {
  border-top: 4px solid #024a53;
  width: 40%;
  /* Ajusta el ancho de la línea */
  margin-top: 1px;
  margin-bottom: 15px;
}

.titulo-linea-libros {
  border-top: 4px solid #024a53;
  width: 20%;
  /* Ajusta el ancho de la línea */
  margin-top: 1px;
  margin-bottom: 15px;
}

.titulo-linea-terapia {
  border-top: 4px solid #024a53;
  width: 42%;
  /* Ajusta el ancho de la línea */
  margin-top: 1px;
  margin-bottom: 15px;
}

.titulo-linea-metodo {
  border-top: 4px solid #024a53;
  width: 28%;
  /* Ajusta el ancho de la línea */
  margin-top: 1px;
  margin-bottom: 15px;
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 767px) {
  .titulo-linea {
    width: 85%;
  }

  .titulo-linea-libros {
    width: 60%;
  }

  .titulo-linea-terapia {
    width: 65%;
  }

  .titulo-linea-metodo {
    width: 60%;
  }
}


.bg--blue {
  padding-top: 0px;
  padding-bottom: 0px;
  
}


/* 1 seccion */
.fondo-tony {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2.5s ease, transform 2.5s ease;
}

.fondo-tony.aparecer {
  opacity: 1;
  transform: translateY(0);
}





/* 1 fin seccion */



/* 2 inicio seccion */

.switchable {
  position: relative;
}

.feature-large .feature-2+.feature-2:last-child {
  margin-bottom: 0;
}

.bg-container {
  /* Definir la imagen de fondo */
  background-image: url('../imagenes/webp/fondo-dos.webp');
  background-size: cover; /* Ajustar la imagen para cubrir todo el fondo */
  
  /* Definir el color superpuesto */
  background-color: rgba(84, 180, 195, 0.8)!important; /* Azul semitransparente (#54b4c3 con opacidad 0.8) */
  
  /* Ajustar la altura y otros estilos del contenedor si es necesario */
  height: auto; /* Ajusta la altura según tus necesidades */
  /* Color del texto, para asegurar que sea legible */
}

.splide__slide img {
  max-width: 100%;
  height: auto;
}



.bg-containe {
  /* Definir la imagen de fondo */
  background-image: url('../imagenes/webp/fondo-uno.webp');
  background-size: cover; /* Ajustar la imagen para cubrir todo el fondo */
  
  /* Definir el color superpuesto */
  background-color: rgba(84, 180, 195, 0.8)!important; /* Azul semitransparente (#54b4c3 con opacidad 0.8) */
  
  /* Ajustar la altura y otros estilos del contenedor si es necesario */
  height: auto; /* Ajusta la altura según tus necesidades */
  /* Color del texto, para asegurar que sea legible */
}

.bg--blue {
  background: #54b4c3;
}


.color--primary {
  color: #4a90e2 !important;
}

.lead {
  font-size: 1.35714286em;
  line-height: 1.68421053em;
}



.fondo-aparecer {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2.5s, transform 2.5s;
}

.fondo-aparecer.aparecer {
  opacity: 1;
  transform: translateY(0);
}



.fondo-aparecer-izquierda {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 3s, transform 3s;
}

.fondo-aparecer-izquierda.aparecer-izquierda {
  opacity: 1;
  transform: translateX(0);
}

/* 2 fin seccion */


/* inicio fondo */
.fondo-fin {
  background-color: #54b4c3;
}

.imagen-logo-footer {
  width: 150px;

}

/* fin fondo */

/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* css de otra fuente que no es mio  */

/*1 inicio seccion  */


/*1 fin seccion  */


/*2 inicio seccion  */

/*
switchable
feature--large
bg--blue
switchable__text
btn__text
icon-rocket
fz13
mr5
boxd
feature 
feature-2
feature__body
/////////////////////// mios
fondo-aparecer
text-terapia
titulo-linea-terapia
fondo-menu



/**! 31. Switchable Sections **/
.switchable {
  position: relative;
}

.switchable div[class*='col-']:first-child {
  float: left;
  right: auto;
}

.switchable div[class*='col-']:first-child:not([class*='pull']):not([class*='push']) {
  left: 0;
}

.switchable div[class*='col-']:last-child {
  float: right;
  left: auto;
}

.switchable div[class*='col-']:last-child:not([class*='pull']):not([class*='push']) {
  right: 0;
}

.switchable.switchable--switch div[class*='col-']:first-child {
  float: right;
  right: 0;
  left: auto;
}

.switchable.switchable--switch div[class*='col-']:first-child:not([class*='pull']):not([class*='push']) {
  left: auto;
}

.switchable.switchable--switch div[class*='col-']:last-child {
  float: left;
  left: 0;
  right: auto;
}

.switchable .switchable__text {
  margin-top: 3.71428571em;
}

.switchable>div[class*='col-'] {
  padding: 0;
}

/* bg--blue*/
.bg--blue {
  background: #53b4c2;
}

/*
icon-rocket
fz13 
mr5
nada
boxd*/
.feature-2 {
  overflow: hidden;
}

.feature-2 .feature__body {
  width: 75%;
  float: right;
}

.feature-2 h5 {
  margin-bottom: 0.46428571em;
}

.feature-2 p:last-child {
  margin: 0;
}

.feature-2 i {
  width: 25%;
  float: left;
}

.feature-large .feature-2+.feature-2:last-child {
  margin-bottom: 0;
}

@media all and (max-width: 990px) {

  .feature-2 .feature__body,
  .feature-2 i {
    width: 100%;
    float: none;
  }

  .feature-2 p:first-of-type {
    margin-top: 0.92857143em;
  }
}


@media all and (max-width: 767px) {
  .feature .feature__body form .row {
    margin-left: 0;
    margin-right: 0;
  }
}


/*2 fin seccion  */


/*3 inicio seccion  */
/*
fondo-tonyy
fondo-aparecer-izquierda
text-tony
titulo-linea


/*3 fin seccion  */
/*
space--xxs
border--bottom 
*/


section,
footer {
  padding-top: 7.42857143em;
  padding-bottom: 7.42857143em;
}

section.space--xxs,
footer.space--xxs {
  padding-top: 1.85714286em;
  padding-bottom: 1.85714286em;
}


section.border--bottom:not([data-gradient-bg]) {
  border-bottom: 1px solid #ececec;
}

/*! -- Stack Sections -- */
section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.unpad--bottom):not(.border--bottom):not(.space--xxs)+section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.border--bottom):not(.space--xxs) {
  padding-top: 0;
}

section:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.unpad--bottom):not(.border--bottom)+footer:not(.unpad):not(.imagebg):not([class*='bg--']):not(.imageblock):not(.unpad--bottom):not(.border--bottom) {
  padding-top: 0;
}

section:not(.imagebg):not([class*='bg-'])+section.bg--secondary {
  border-top: 1px solid #ebebeb;
}

section.bg--secondary:not(.imagebg)+section:not(.imagebg):not([class*='bg-']) {
  border-top: 1px solid #ebebeb;
}

section.bg--secondary:not(.unpad):not(.imageblock):not(.unpad--bottom):not(.border--bottom)+section.bg--secondary {
  padding-top: 0;
}



/*4 inicio seccion  */


.bg--white {
  background: #fff;
}

.text-block:not(:last-child) {
  margin-bottom: 1.85714286em;
}

.text-block h2,
.text-block .h2 {
  margin-bottom: 0.3939393939394em;
}

.text-block h5,
.text-block .h5 {
  margin: 0;
}

.text-block h4:not(:last-child),
.text-block .h4:not(:last-child) {
  margin-bottom: 0.3421052631579em;
}

.text-block h3,
.text-block .h3 {
  margin-bottom: 0.52em;
}

@media all and (min-width: 768px) {
  div[class*='col-'] .text-block+.text-block {
    margin-top: 3.71428571em;
  }
}

/*4 fin seccion  */


/* botones */
.btn-custom {
  background-color: #54b4c3;
  /* Color de fondo personalizado */
}

.btn:not([class*='primary']) {
  border-color: #d3d3d3;
}

.btn:last-child {
  margin-right: 0;
}

.btn:first-child {
  margin-left: 0;
}

.mb-5 {
  margin-bottom: 3rem !important;
}


.fondo-boton {
  background-color: #54b4c3 !important;

}

.fondo-boton:hover {
  background-color: #0f7b8b !important;
  /* Color de fondo al pasar el mouse */
}

/*5 inicio seccion  */

/*5 fin seccion  */



/*6 inicio seccion  */

/*6 fin seccion  */


/* vide  */

.video {
  padding: 0px;
  margin: 10px 0px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  padding-top: 30px; /* Ajuste por el padding-bottom */
  height: 0;
  overflow: hidden;
}

.center{

  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  height: 100%; /* Ajusta la altura del contenedor al 100% de la altura de la pantalla */

}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 0 30px;
  margin: 30px 15px;
  text-align: center;
  min-height: 350px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h2 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #e1f0fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1d9cca

  ;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1d9cca

  ;
}

.text-justify{
  text-align: justify!important;
}
