:root {
  --color-background-dark: #0d0d0d;
  --color-gold-light: #D4AF37;
  --color-gold-dark: #A37B0D;
  --color-text-light: #C9C9C9;
}

body {
  background: url("/media/fondo/negro.webp");
  background-repeat: repeat;
}

h1:not(.franja>h1) {
  color: #d4af37;
}

.equipo-nombre>h4 {
  color: #d4af37 !important;
}

.equipo-nombre>h6 {
  color: #d4af378a !important;
}

h2,
h3,
h4,
h5,
h6 {
  color: white;
}

p:not(.alert p),
span,
label,
a,
li {
  color: #C9C9C9;
}

a {
  text-decoration: none;
}

hr:not(.xk>hr) {
  height: 4px !important;
  color: #d4af37;
  margin: 2rem 0;
}

.xk>hr {
  height: 4px !important;
  color: #d4af37;
}

.slider-textos h1 {
  font-size: clamp(2.3rem, 2.5vw + 1rem, 8rem) !important;
  text-shadow: 1px 1px #000000;
  font-weight: 700;
}

.slider-textos a {
  font-size: clamp(1rem, 1vw + 0.1rem, 8rem) !important;
}


.slider-textos h6 {
  font-size: clamp(1.5rem, 1.3vw + 0.4rem, 8rem) !important;
}

h1 {
  font-size: clamp(1.8rem, 1.5vw + 0.75rem, 8rem) !important;
}

h2 {
  font-size: clamp(1.5rem, 1vw + 0.75rem, 8rem) !important;
}

h3 {
  font-size: clamp(1.4rem, 1.15vw + 0.6rem, 8rem) !important;
}

h4 {
  font-size: clamp(1.3rem, 1vw + 0.5rem, 8rem) !important;
}

h6 {
  font-size: clamp(1rem, 0.7vw + 0.4rem, 8rem) !important;
}

p,
a:not(.anuncio a),
input,
span {
  font-size: clamp(1rem, 0.65vw + 0.1rem, 8rem) !important;
}

p:not(.categoria, .autores, .contacto p) {
  opacity: 0.8;
}

.slider-arrow {
  width: 3rem;
}


/*CABECERA (LOGO PORTADA ETC)*/

html *:not(i) {
  font-optical-sizing: none;
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
}

p,
a,
span,
div,
h5,
h6,
button {
  font-family: "Montserrat", sans-serif;
}

.home-cats {
  top: -160px;
  position: relative;
  z-index: 99;

}

.home-cats a {
  text-decoration: none;
}

.home-cats-wrapper {
  border-radius: 0px 55px 0 25px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background: white;
  border-bottom: 4px solid #92b4b4;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.home-cats-wrapper h4 {
  font-weight: 400;
  color: var(--bs-body-color);
}

.home-cats-wrapper:hover {
  filter: brightness(1.05);
  border-bottom: 4px solid #eea594;
}

.home-cats-wrapper:hover img {
  transform: scale(1.05);
}


.navbar-toggler {
  position: relative;
  left: 82%;
  margin-top: 37px;
  margin-bottom: 22px;
}

.portada_about {
  top: -150px;
}

.about_bg {
  background: rgb(255, 255, 255);
  height: 100%;
  padding-bottom: 0rem;
  margin-top: 12rem;
}

.about_bg a {
  color: var(--bs-body-color);
}

.logo_about {
  top: -14%;
  left: 70px;
  width: 15%;
}

.mc_about {
  right: 6%;
  top: 15%;
  border-radius: 20px 5px 55px 5px;
}

.jd_about {
  left: 6%;
  bottom: 15%;
  border-radius: 5px 20px 5px 55px;
}

.mc_about:hover,
.jd_about:hover {
  border-bottom: 5px solid #92b4b4;
  filter: brightness(1.05);
  background-color: #ffffff;
}


.mc_about,
.jd_about {
  position: absolute;
  background-color: #ffffffda;
  border-bottom: 5px solid #eea594;
  transition: background-color 0.5s ease-in-out;
}

.mc_about .nombre_about {
  color: #5d9595;
}

.jd_about .nombre_about {
  color: #eea594;
}

.mc_about img,
.jd_about img {
  border-radius: 100%;
  border: 7px solid #ffffff;
  position: relative;
}

.mc_about img {
  float: right;
  top: -40px;
  right: 10%;
  bottom: 0;

}

.jd_about img {
  float: left;
  position: relative;
  top: -40px;
  left: 10%;
  bottom: 0;
}

@keyframes fade-in-texto {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.slider-textos {
  bottom: 39%;
  left: 24.33%;
  z-index: 11;
  width: fit-content;
  position: relative;
  width: 50%;
  right: 33%;
  text-align: center;
  opacity: 0;
  animation-name: fade-in-texto;
  animation-duration: 3.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.slider-textos * {
  color: white;
}

.slider-textos button {
  background: #e12d2d;
  width: fit-content;
  border-radius: 25px 0;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
}

@keyframes lift-gently {
  0% {
    transform: scale(1);
    /* Posición normal */
  }

  100% {
    transform: scale(1.01);
    /* Posición final sutilmente levantada */
  }
}

button:hover:not(#nxt, #prev, .lupa) {
  /* color: #ffe0b2; Ligeramente más claro para el texto en hover */
  background: linear-gradient(to bottom, #e3c45a 0%, #d4af37 100%);
  /* Degradado un poco más brillante */
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4),
    /* Sombra exterior un poco más pronunciada */
    0 0 3px rgba(255, 215, 0, 0.6);
  /* transform: translateY(-1px); Un pequeño levantamiento */
  /* animation: lift-gently 500ms ease-in-out forwards; */
  transform: translateY(-1px);
}

button:not(#nxt, #prev, .lupa, .button-contact-header>button) {
  transition: transform 50ms;
  left: 0;
  position: relative;
  color: white;
  border: none;
}

.button-misc {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  /* Color del texto blanco */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  /* Sombra para el texto */
  padding: 15px 30px;
  border-radius: 0 0 4px 4px;
  /* Bordes redondeados */
  cursor: pointer;
  text-decoration: none;
  /* Si es un <a> */
  display: inline-block;
  /* Para aplicar padding correctamente */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  /* Sombra exterior para el botón */
  transform: translateY(0px);
  /* Degradado y Borde en estado normal */
  background: linear-gradient(to bottom, #d4af37 0%, #b8860b 100%);
  /* Degradado de oro */
  border: 2px solid #a37b0d;
  /* Borde más oscuro */
}

.button-action {
  background-color: #5d9595 !important;
  border-radius: 25px 0;
  padding: 0.2rem 1.3rem;
}

.button-action-2 {
  background: #e16e53 !important;
}

.button-contact-header {
  flex-grow: 1;
}

.button-contact-header>button:hover {
  color: white !important;
}

.button-contact-header>button {
  background: white;
  color: black;
  border-radius: 20px;
  padding: 0.5rem 2rem;
  font-size: 1.1rem;
}


.slider-textos a {
  text-decoration: none;
}

.gradiente {
  content: "";
  position: absolute;
  left: 0rem;
  right: 0;
  top: 0rem;
  bottom: 0rem;
  /* background: -webkit-gradient(linear, left top, left bottom, from(rgba(13, 14, 15, 0)), color-stop(90%, rgba(9, 10, 11, 0.8)));
  background: linear-gradient(180deg, rgba(6, 6, 7, 0) 0%, rgba(7, 7, 8, 0.6) 90%); */
  /* background: linear-gradient(90deg, rgba(5, 5, 5, 0.385) 0%, rgba(0, 0, 0, 0.079) 99%); */
  z-index: 3;
}

.carousel-item img {
  transition: 3s transform, 3s -webkit-transform;
  z-index: 1;
  position: relative;
  transform: scale(1);
}

.carousel-item .gradiente:hover+img {
  transform: scale(1.02);

}

.logo {
  width: 39%;
}

.bs-cr,
.nv {
  position: relative;
  width: 100%;
}

.nv {
  z-index: 99;
  background-color: black;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.form-home {
  border: none;
  border-radius: 15px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 0px 3px 1px;
}

.anuncio {
  background: #4d4d4d;
  height: 35px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

.mail {
  margin-left: 2.4rem;
}

.mail * {
  color: white;
  text-decoration: none;

}

.rrss {
  width: fit-content;
  flex-grow: 1;
}

.rrss,
.rrss div {
  height: 100%;
}

.rrss div {

  display: flex;
  align-items: center;
  padding: 0.5 0.4rem;
}

.rrss a:hover {
  background: white;
  border-radius: 8px;
}

.rrss a:hover>i:before {
  color: black !important;
}

.lupa {
  position: absolute;
  right: 25px;
  color: #d47272 !important;
}

::placeholder,
.form-check-label,
.form-check-label>a {
  color: #929292 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  padding: 0.3rem 1rem !important;
}

.nav-item {
  margin: 3px 10px;
  width: fit-content;
}


.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:focus {
  color: white;
  border-radius: 7px;
}

.navbar-light .navbar-nav .nav-link:hover,
.nav-link.active {
  color: black !important;
  background: white;
}

a:hover {
  color: white;
}

.nav-link.dropdown-toggle.active {
  background: #92b4b4 !important;
  border-radius: 5px;
  font-weight: 500;
  padding: 0.2rem 0.6rem !important;
  color: white;
  margin-top: 0.3rem;
}

img {
  max-width: 100%;
}

.whatsapp {
  width: 5%;
  z-index: 99999;
  bottom: 20px;
  right: 20px;
}

.navbarNav {
  justify-content: center;
}

.portada {
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-image: url("/media/portada_2.webp");
  height: 500px;
}

.texto-portada span,
.texto-portada p {
  font-size: 38px !important;
  line-height: 33px;
  color: rgb(82, 82, 82);
  -webkit-text-stroke-width: 0.3px;
  -webkit-text-stroke-color: black;
}

.texto-portada h1 {
  font-size: 5rem;
  color: #454545;
  -webkit-text-stroke-width: 0.3px;
  -webkit-text-stroke-color: black;

}

.boton-whatsapp {
  background: #1b8d1bad;
  border: 1px outset #c9a7a7;
}

.boton-whatsapp,
.boton-email {
  min-width: 125px;
  min-height: 35px;
  border-radius: 10px;
}

.boton-email {
  background: rgba(15, 15, 255, 0.371);
  border: 1px inset #f0fa86;
}


/*FIN PORTADA*/


.st {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background: white;
  border-radius: 7px;
  z-index: 99;
}

.carousel-control-next {
  justify-content: end;

}

.carousel-control-next,
.carousel-control-prev {
  z-index: 9;

}

.carousel-control-prev {
  justify-content: start;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  z-index: 5;
  margin: 0 2rem;
}

.carousel-item.row.no-gutters.active {
  display: flex !important;
}

.carousel-item.row.no-gutters.active {
  opacity: 1;
}

.carousel-item.row.no-gutters {
  opacity: 0;
}

.carousel-item.row.no-gutters.active {
  transition: all 1s;
}

.carousel-item.row.no-gutters {
  transition: all 1s;
}

.carousel-ts-pc {
  background: url(/media/editor/fondo_gris2.png);
  background-repeat: no-repeat;
  background-size: 100% 11rem;
}

.carousel-ts-pc>div.position-absolute {
  background: #80808017;
  height: 11rem;
  width: 100%;
  z-index: 1;
  top: -15px;
}

.carousel-ts-pc>div>div>a {
  outline: black 2px;
  outline-style: double;
  border-radius: 9px;
}

#btn-next-,
#btn-previous-,
#btn-next-mb,
#btn-previous-mb {
  filter: invert(100%)
}

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

.categoria.VR {
  background-color: #6fb476;
}

.VR:hover {
  background-color: #69bc71 !important;
}

.categoria.RO {
  background-color: #d35c58;
}

.RO:hover {
  background-color: #dd6f6c !important;
}

.categoria.GR {
  background-color: #808080;
}

.GR:hover {
  background-color: #909090 !important;
}

.categoria.VI {
  background-color: #986dba;
}

.VI:hover {
  background-color: #ac8bc6 !important;
}

.categoria.AZ {
  background-color: #4e8bed;
}

.AZ:hover {
  background-color: #6b9be8 !important;
}

.categoria.AM {
  background-color: #d2d56c;
}

.AM:hover {
  background-color: #d5d87a !important;
}


.categoria.RS {
  background-color: #efafe9;
}

.RS:hover {
  background-color: #ebbde7 !important;
}

.blog-ult-container {
  padding-top: 4.5rem;
}

.blog-ultimas a {
  text-decoration: none;
}

.blog-ultimas a p {
  color: white;
  width: fit-content;
  text-transform: uppercase;
  border-radius: 0 7px 0 0;
  font-weight: 500;
}

.blog-list-image+a {
  position: absolute;
  left: 0;
  bottom: 0;
}

.ultimas-titulo h3 {
  color: #eea594;
}

.blog-ultimas img {
  border-radius: 10px 10px 0 0;
}

.blog-ultimas .textos {
  border-radius: 0 0 10px 10px;
  min-height: 192px;
}

.blog-ultimas .textos h4,
.blog-ultimas .textos p {
  padding: 0.1rem 1.3rem;
}


.blog-mas {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
}


.cont-ultimas {
  border-radius: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}



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

h1 {
  font-size: 3rem;
}

.home-recetas img {
  border-radius: 20px;
}

/*BREADCRUM*/

.breadcrumb-item {
  color: #6c757d !important;
}

.breadcrumb.alert.alert-success {
  border: none;
  background: none !important;
  text-transform: capitalize;
}

.breadcrumb.alert.alert-success {
  padding: 1rem 0 !important;
}

.breadcrumb.alert.alert-success a {
  text-decoration: none;
  color: #6c757d !important;

}

.breadcrumb-item span {
  background: #e7e7e7;
  padding: 0.2rem 1rem;
  border-radius: 20px 3px 20px 3px;
}

.breadcrumb-item:before {
  content: unset !important;
}

/*FOOTER*/
.footer {
  background: url("/media/fondo/fondo_footer.webp");
  padding: 3rem 0 4rem 0;
}

.footer-logo img {
  width: 60%;
}

.footer a {
  color: #6c757d;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.footer h6 {
  color: white;
  font-weight: 700;
  font-size: clamp(2.5rem, 3vw + 0.4rem, 8rem) !important;
}

.footer-logo-wrapper {
  max-width: 350px;
}

.footer-logo-wrapper h6 {
  min-width: max-content;
}

.footer-logo i {
  color: rgb(221, 221, 221);
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer-links .navegacion i {
  color: #eea594;
}

.footer-links .servicios i {
  color: #5d9595;
}

.footer-rrss-wrapper>div {
  background-color: rgb(163, 163, 163);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.footer-rrss a {
  margin-top: 2px;
}

.logos-asociados {
  position: absolute;
  bottom: -109px;
}

.logos-asociados img {
  border-radius: 10px;
  /* box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; */
}

.logos-asociados .bg-white {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 0px 4px -1px;
  border-radius: 10px;
}

.pagination>a {
  border-radius: 20%;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.pagination>a>li {
  border-radius: 20%;
  /* background: white; */
}

.pagination>a>li.current {
  background: #59a9a9 !important;
  border: none !important;

}

.pagination>a>li.current,
.pagination>a:hover>li {
  color: white !important;
}

.pagination a {
  color: rgb(153, 153, 153);
  text-decoration: none;
  margin: 0 3px;
  background: white;
}

.pagination>a:hover {
  background: #59a9a9 !important;
  border: 1px solid rgb(125, 125, 125);
}

/* ... (Sección General de la App y Estilos Base del Botón - Sin cambios) ... */

/* Estilo del Icono - ¡Aquí ajustamos el tamaño base! */
.app-button .icon {
  width: 40px;
  /* Aumentado ligeramente para ambos iconos */
  height: 40px;
  /* Aumentado ligeramente para ambos iconos */
  margin-right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Sección General de la App (sin cambios) */

.bg-oscuro {
  background-color: #0d0d0d;
}

.bg-suave {
  background-color: #141414a1;
}

.app-download-section {
  text-align: center;
  padding: 40px 20px;
  background-color: black;
  color: #fff;
  position: relative;
  z-index: 998;
  border-radius: 20px;
  border-top: 5px solid #a37b0dab;
  animation-timing-function: ease-out;
  /* animation: slideUpBounce 3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; */
  opacity: 1;
  transform: translateY(-50px);
}

@keyframes slideUpBounce {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(-50px);
  }
}

.app-download-section h2 {
  margin-bottom: 30px;
  color: #d4af37;
}

.app-buttons-container {
  display: flex;
  flex-direction: column;
  /* Apila los botones verticalmente */
  gap: 15px;
  /* Espacio entre botones */
  align-items: center;
  /* Centra los botones */
  max-width: 350px;
  /* Ancho máximo para el contenedor de botones */
  margin: 0 auto;
  /* Centra el contenedor */
}

/* Estilo Base del Botón (sin cambios significativos) */
.app-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;

  background-color: #2c2c2c;
  /* Fondo oscuro del botón */
  border: 2px solid #a37b0d;
  /* Borde dorado */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
  /* Texto blanco */
}

.app-button:hover {
  background-color: #3a3a3a;
  border-color: #e3c45a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  color: white !important;
}

/* ... (Sección General de la App y Estilos Base del Botón - Sin cambios) ... */

/* ... (Sección General de la App y Estilos Base del Botón - Sin cambios) ... */

/* Estilo del Icono (tamaño base sigue en 40px) */
.app-button .icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* Icono de Google Play (sin cambios, ya que está casi bien) */
.app-button.google-play .icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}



/* ... (Contenido de Texto del Botón - Sin cambios) ... */

/* Contenido de Texto del Botón (sin cambios) */
.app-button .text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-button .small-text {
  font-size: 0.8em;
  opacity: 0.8;
}

.app-button .large-text {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.2;
}

.banner-home {
  border-radius: 12px;
  border-top: 4px solid #a37b0dab;
  overflow: hidden;
}

.banner-home>div {
  background-color: #141414a1;
}

.banner-home .franja {
  color: white;
  background-color: #a37b0d54;
}

.caja-fisio,
.caja-pila {
  overflow: hidden;
  isolation: isolate;
  min-height: 350px;
}

.caja-fisio img {
  filter: grayscale(25%);
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 2.2s cubic-bezier(.19, 1, .22, 1),
    filter 0.6s ease-in-out;
  will-change: transform, filter;
  backface-visibility: hidden;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caja-fisio-media,
.caja-pila-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8.2s cubic-bezier(.19, 1, .22, 1);
  transform-origin: center;
  will-change: transform;
  filter: grayscale(30%);
}

.caja-fisio-media {
  background-image: url("/media/fisiot.webp");
}

.caja-pila-media {
  background-image: url("/media/pilats.webp");
}

.video-title-block {
  background-color: #d4af37;
  width: 100px;
  height: 4px;
  position: absolute;
  top: 0;
}


.caja-fisio:hover .caja-fisio-media,
.caja-pila:hover .caja-pila-media {
  filter: grayscale(0);
  transform: scale(1.12);
}


.franja {
  z-index: 99;
}

.franja h1 {
  font-weight: 600;
}



.home-logo-cont-p {
  right: 40%;
  top: 18%;
  left: 40.5%;
  bottom: 40%;
  position: absolute;
  animation: f-in 1s ease-in forwards;
  z-index: 9;
}

@keyframes f-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.navbar-collapse {
  flex-grow: 2 !important;
}

#carouselExampleControls,
.seccion-pilates>div:nth-child(1) {
  box-shadow: #ffa50040 0px 2px 5px -1px, #ffa50040 0px 1px 3px -1px;
}

.height-fix {
  margin-top: -95px;
}

.ico-a,
.ico-p,
.ico-t,
.ico-e {
  width: 64px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  padding: 1.6rem;
  border-radius: 100%;
  margin-bottom: 1.3rem;
}

.ico-a,
.ico-e {
  margin-right: 0.7rem;
}

.ico-p,
.ico-t {
  margin-left: 0.7rem;
}

.ico-a {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"); */
  background-image: url("/media/iconos/ap.png");
}

.ico-p {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M17 6H7c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-1 9h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2zm0-6H7V8h10v1z'/%3E%3C/svg%3E"); */
  background-image: url("/media/iconos/pt.png");
}

.ico-t {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7 7 3.13 7 7zm-5-3h-4v2h4v-2zm0 4h-4v2h4v-2z'/%3E%3C/svg%3E"); */
  background-image: url("/media/iconos/ta.png");
}

.ico-e {
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2a2 2 0 0 0-2 2v18h4V4a2 2 0 0 0-2-2zm-5 8v12h2V10H7zm10-4v16h2V6h-2z'/%3E%3C/svg%3E"); */
  background-image: url("/media/iconos/es.png");
}


.elegir-r {
  position: absolute;
  right: 0;
  top: -3px;
  bottom: 100%;
  left: 100%;
}

.elegir-l {
  left: -72px;
  right: 0;
  top: -3px;
  bottom: 0;
}

.fisio-banner-main {
  margin-bottom: 2rem;
  will-change: transform, opacity;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pilates-banner-main {
  margin-bottom: 2rem;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.banner-portada-fisio {
  background-image: url("/media/fisiot.webp");
}

.banner-portada-pilates {
  background-image: url("/media/pilats.webp");
}

.banner-portada-fisio,
.banner-portada-pilates,
.banner-nut,
.banner-pelv,
.banner-lact,
.instalaciones img {
  border-radius: 15px;
  box-shadow: 2px 3px 6px #a378265e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: bottom;
  min-height: 250px;
}


.banner-nut {
  background-image: url("/media/otrosservicios/nutydiet.webp");
}

.banner-pelv {
  background-image: url("/media/otrosservicios/suelopel.webp");
}

.banner-lact {
  background-image: url("/media/otrosservicios/lact.webp");
}

.btn-test {
  border-radius: 12px;
}

.justify-text {
  text-align: justify;
  text-indent: 1rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  /* Safari */
  -moz-hyphens: auto;
}

.seccion-pilates .titulo {
  background: #0000007a;
  padding: 2rem;
  border-radius: 44px;
  animation: f-in 2s ease-in forwards;
  border-left: 2px solid #ffffffb5;
  border-right: 2px solid #ffffffb5;
}

.seccion-pilates .foto-pila {
  border-radius: 15px;
  box-shadow: 2px 3px 6px #a378265e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  min-height: 250px;
  background-image: url("/media/pilates/banner_pi.jpeg");
}

.seccion-pilates-banner img {
  height: 20px;
  margin-right: 0.7rem;
}

.seccion-pilates ul {
  list-style: none;
  padding-left: 1rem;
}

.foto-fisio {
  border-radius: 15px;
  box-shadow: 2px 3px 6px #a378265e;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  min-height: 250px;
  background-image: url("/media/fisioterapia/seccion_fisio_banner.webp");
}

/* Estilo del Contenedor de cada Pregunta (Fila) */
.faq-item {
  background-color: var(--color-background-dark);
  border: 1px solid #A37B0D4D;
  /* Borde dorado oscuro para separación */
  margin-bottom: 10px;
  /* Espacio entre las cajas */
  border-radius: 8px !important;
  overflow: hidden;
}

/* Estilo del Botón de la Pregunta (El Encabezado) */
.faq-button {
  background-color: var(--color-background-dark);
  color: white !important;
  /* Pregunta en blanco */
  font-weight: bold;
  font-size: 1.1em;
  padding: 15px 20px;
  box-shadow: none;
}

/* Estado al pasar el ratón (Hover) y al estar Plegado (Collapsed) */
.faq-button:not(.collapsed) {
  color: var(--color-gold-light);
  /* Pregunta en dorado cuando está abierta */
  background-color: var(--color-background-dark);
  border-bottom: 1px solid var(--color-gold-light);
  /* Línea dorada sutil al abrir */
}

/* Color de la Respuesta */
.faq-body {
  background-color: var(--color-background-dark);
  color: var(--color-text-light);
  /* Respuesta en gris claro para legibilidad */
  font-size: 0.95em;
  padding: 20px;
}

/* Estilo del Icono de la Flecha (para que sea dorado) */
.faq-button::after {
  filter: invert(80%) sepia(50%) saturate(2000%) hue-rotate(30deg);
  /* Aproximación a dorado */
}

/* Estilo del Icono de la Flecha cuando está abierto (para mantener el dorado) */
.faq-button:not(.collapsed)::after {
  filter: invert(80%) sepia(50%) saturate(2000%) hue-rotate(30deg);
}

div.accordion-item.faq-item h6#headingOne.accordion-header button.accordion-button.collapsed.faq-button:hover {
  color: white !important;
}

#cont {
  scroll-margin-top: 220px;
}

.equipo-tarjeta img {
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 2px 3px 6px #a378265e;
  object-position: top;
}

.modal-content {
  width: unset !important;
}

.btn-close.btn-close-white.position-absolute.top-0.end-0.m-3.z-3 {
  font-size: 1.8rem;
}

.btn-close.btn-close-white.position-absolute.top-0.end-0.m-3.z-3:hover {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

@media (min-width: 100px) and (max-width: 576px) {
  .seccion-pilates .titulo {
    padding: 1rem;
  }

  .justify-text {
    text-align: justify;
    text-indent: 1rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    /* Safari */
    -moz-hyphens: auto;
  }

  .home-recetas>div>div:nth-child(1) {
    order: 2;
  }

  .home-recetas>div>div:nth-child(2) {
    order: 1;
  }

  .home-logo-cont {
    position: absolute;
    top: 4px;
    max-width: 97%;
  }

  .logo_about {
    top: -10%;
    left: 20px;
    width: 25%;
  }

  .mc_about {
    right: 0;
    top: 12%;
    border-radius: 20px 5px 55px 5px;
  }

  .jd_about {
    left: 0;
    bottom: 0;
    border-radius: 5px 20px 5px 55px;
  }

  .home-cats {
    top: -80px;
  }

  .logo {
    width: 100px;
  }

  .anuncio {
    height: 40px;
  }

  .mail {
    margin-left: 5px;
  }

  .slider-textos {
    width: 95%;
    bottom: 20%;
    left: 3%;
  }

  .slider-textos h1 {
    line-height: 2.6rem;
  }

  .slider-single-post__content>h3>a {
    font-size: 0.8rem !important;
  }

  .entradas-blog .entrada {
    flex: 0 0 auto;
    width: 100%;
  }

  .whatsapp {
    width: 15%;
  }

  .footer-logo img {
    width: 80%;
  }

  .footer-logo-wrapper,
  .footer-logo a {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links li {
    margin-inline-start: 25%;
  }

  .footer-links h5 {
    text-align: center;
  }

  .footer-logo>div:not(.footer-logo-wrapper),
  .footer-links>div {
    display: flex;
    flex-wrap: wrap;
  }

  .footer-copyright p {
    width: 100%;
  }

  .logos-asociados {
    position: relative;
    bottom: -43px;
  }

  .footer-logo-wrapper {
    text-align: center;
    width: 200px;
  }

  .rrss {
    flex-grow: 0 !important;
  }

  .home-logo-cont-p {
    right: 40%;
    top: 4%;
    left: 0.5%;
    bottom: 33%;
    position: absolute;
  }

  .home-logo-cont-p img {
    width: 75% !important;
  }

  .banner-portada-fisio,
  .banner-portada-pilates {
    margin-bottom: 1rem;
  }

  .ico-a,
  .ico-t,
  .ico-e,
  .ico-p {
    margin-bottom: 0 !important;
  }

  .ico-t,
  .ico-p {
    margin-left: 0 !important;
    margin-right: 0.7rem;
  }

  .contacto>div {
    padding: 0 1rem 1rem 1rem !important;

  }

  .contacto {
    margin-top: -13px;
  }

  .instalaciones img {
    max-height: 170px !important;
    min-height: unset !important;
  }

}

@media (min-width: 100px) and (max-width: 768px) {
  .about_bg {
    margin-top: 0;
    margin-top: 3rem;
  }

  .portada_about {
    top: 0;

  }

  .slider-arrow {
    width: 2rem;
  }

  .blog-ult-container {
    padding-top: 2.5rem;
  }

  .slider-textos button {
    padding: 0.6rem 1.3rem;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .home-recetas>div>div:nth-child(1) {
    order: 2;
  }

  .home-recetas>div>div:nth-child(2) {
    order: 1;
  }

  .home-logo-cont {
    position: absolute;
    top: 5px;
    max-width: 92%;
  }

  .logo_about {
    top: -9%;
    left: 70px;
    width: 23%;
  }

  .logo {
    width: 100px;
  }

  .slider-textos {
    width: 70%;
  }

  .footer-rrss-wrapper>div {
    height: 45px !important;
  }

  .footer-logo-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo {
    text-align: center;
  }



}

@media (min-width:768px) and (max-width: 992px) {
  .navbar-toggler {
    left: unset;
  }
}

@media (min-width:992px) {}



/* Distancia personalizada para fade-left */
[data-aos="fade-left"] {
  transform: translateX(-200px) !important;
  /* ¡CAMBIAR ESTE VALOR! */
}

[data-aos="fade-right"] {
  transform: translateX(200px) !important;
  /* ¡CAMBIAR ESTE VALOR! */
}

/* Asegurar que cuando se anima, vuelva a posición normal */
[data-aos="fade-left"].aos-animate {
  transform: translateX(0) !important;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0) !important;
}

[data-aos="fade-up"].aos-animate {
  transform: translateX(0) !important;
}