* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto';
  font-weight: normal;
}

@font-face {
  font-family: 'Roboto';
  /* nombre que usarás en font-family */
  src: url('/Fonts/RobotoVrb.ttf') format('woff2'),
    url('/Fonts/Roboto-Italic-VariableFont_wdth\,wght.ttf') format('woff');
  /* formatos opcionales */
  font-weight: normal;
  /* peso normal */
  font-style: normal;
  /* estilo normal */
}

@font-face {
  font-family: 'Aloevera';
  /* nombre que usarás en font-family */
  src: url('/Fonts/Aloevera-Regular.otf') format('woff2');
  font-weight: normal;
  /* peso normal */
  font-style: normal;
  /* estilo normal */
}

@font-face {
  font-family: 'Marika';
  /* nombre que usarás en font-family */
  src: url('/Fonts/Maharlika-Regular.ttf') format('woff2');
  font-weight: normal;
  /* peso normal */
  font-style: normal;
  /* estilo normal */
}

html,
body {
  background-color: #71a4ce;
  /* o el color principal de tu diseño */
  color: white;
  scroll-behavior: smooth;
}

/* HEADER Y NAVBAR */
header {
  background-color: rgb(255, 255, 255);
  width: 100%;
  top: 0;
  position: sticky;
  z-index: 1;
  user-select: none;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  gap: 5rem;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 5rem;
  list-style: none;
}

.nav-left li a,
.nav-right li a {
  text-decoration: none;
  color: #4f435f;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-left li a:hover,
.nav-right li a:hover {
  color: #4b0c5f;
  transform: translateY(-3px);
}

.nav-left li a::after,
.nav-right li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-left li a:hover::after,
.nav-right li a:hover::after {
  width: 100%;
}

.logo img {
  height: 100px;
  object-fit: contain;
}

/* HERO */
.Hero {
  width: 100%;
  height: 45rem;
  background-image: url(/Assets/Photos/Hero.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}


.Hero.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}


.dra-img {
  width: 30rem;
  height: 40rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dra-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dra-img.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}

.description-dra {
  width: 40rem;
  height: 30rem;
  align-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.description-dra h3{
  text-align: center;
  text-decoration: underline;
}

.description-dra h4{
  text-align: center;
}

.description-dra.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}

.title-drc-dra {
  width: 90%;
  height: 45%;
  margin: 0 auto;
  animation: aparecer 2.5s ease forwards;
  opacity: 0;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.title-drc-dra h1 {
  color: white;
  font-size: 6rem;
  font-weight: bold;
  font-family: Marika;
}

.title-drc-dra p {
  font-family: Marika;
}

.title-drc-dra {
  color: white;
  font-size: 3rem;
  font-weight: 1;
  padding: 7rem 0rem;
}

.subtitle-drc-dra {
  width: 90%;
  height: 45%;
  margin: 0 auto;
  background-image: url(/Assets/Photos/FirstSectionSquare.png);
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  animation: aparecer 2.5s ease forwards;
  opacity: 0;

}

/* ANIMACIONES */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* QUIEN SOY */
.whoami {
  width: 100%;
  height: 45rem;
  background-image: url(/Assets/Photos/bgwhoami.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  user-select: none;
}

.whoami-me-image {
  width: 35rem;
  height: 41rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  overflow: hidden;
  position: relative;
}

.whoami-me-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.whoami-me-image.visible {
  animation: aparecer 0.7s ease forwards;
}


.whoami-me-dcr {
  width: 30rem;
  height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.whoami-me-dcr h1 {
  font-weight: bold;
  font-family: Marika;
}

.whoami-me-dcr.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}

.caracteristica {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  margin-top: 1rem;
  animation: aparecer 1.5s ease forwards;
  opacity: 0;
}

.whoami-me-dcr h1 {
  color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 3.5rem;
}

.texto p {
  margin: 0;
  color: #ffffff;
  line-height: 1.5;
  font-family: Aloevera;
}

.far {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.far img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* SLIDER */

/* Slider contenedor */
.docs-slider {
  width: 100%;
  background-color: #ecc566;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
}

.title-slider {
  font-weight: bolder;
  padding: 1rem;
  color: #74628b;
  font-size: 2.3rem;
  text-align: center;
}

.title-slider h1 {
  font-weight: 600;
}

/* Contenedor del slider con botones */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 1000px;
  gap: 1rem;
}

/* Slider */
.slider {
  flex: 1;
  height: 350px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0);
  margin: 0;
  padding: 0;
  border: none;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer .9s ease forwards;
}

.slider .list {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

.slider .list .item {
  flex: 0 0 100%;
  display: flex;
  margin: 0;
  /* quitar márgenes */
  padding: 0;
}

.slider-img-content {
  width: 50%;
  height: 100%;
}

.slider-img-content img {
  display: block;
  /* evita el espacio debajo de las imágenes */
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-content-text {
  width: 50%;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-content-title-text h1 {
  color: white;
  font-weight: bold;
  font-size: 2.2rem;
}

.slider-content-title-text h2 {
  color: white;
  font-weight: normal;
  font-size: 1.4rem;
}

.slider-content-sub-text {
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

/* Dots */
.dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
}

.dots li.active {
  width: 25px;
  border-radius: 15px;
}

/* Botones del slider */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

.nav-btn:hover {
  background-color: #ecc566;
}

/* Botón izquierdo */
#prev {
  left: -60px;
  /* fuera del slider */
}

/* Botón derecho */
#next {
  right: -60px;
  /* fuera del slider */
}

/* Responsive */
@media screen and (max-width: 992px) {
  .slider {
    height: 280px;
  }

  .slider-content-title-text h1 {
    font-size: 1.8rem;
  }

  .slider-content-title-text h2 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .slider {
    height: auto;
    min-height: 280px;
  }

  .slider .list .item {
    flex-direction: column;
  }

  .slider-img-content,
  .slider-content-text {
    width: 100%;
    height: auto;
  }

  .slider-content-title-text h1 {
    font-size: 1.6rem;
  }

  .slider-content-title-text h2 {
    font-size: 1.1rem;
  }

  .slider-content-sub-text {
    font-size: 0.9rem;
    justify-content: center;
  }

  /* Ocultar botones en móvil */
  .nav-btn {
    display: none;
  }

  .subtitle-drc-dra {
    background-position: center;
  }
}

@media screen and (max-width: 480px) {
  .slider {
    min-height: 220px;
  }

  .slider-content-title-text h1 {
    font-size: 1.4rem;
  }

  .slider-content-title-text h2 {
    font-size: 1rem;
  }

  .slider-content-sub-text {
    font-size: 0.8rem;
  }

  .subtitle-drc-dra {
    background-position: center;
  }
}



/* Treatmeant illness */


.treatment-illness {
  width: 100%;
  height: auto;
  background-image: url(/Assets/Photos/Sickness.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  flex-direction: column;
  user-select: none;
}

.illness-title-wrapper {
  width: 100%;
  text-align: center;
  padding: 4rem;
  font-family: Marika !important;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.illness-title-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}

.illness-title-wrapper h1 {
  font-weight: bolder;
  font-size: 3.5rem;
  font-family: Marika !important;
}

.illness-main-title {
  font-family: Marika !important;
}

#specialtitle {
  font-family: Marika;
}

.wrapper-illness {
  width: 98%;
  height: auto;
  display: flex;
  flex-direction: row;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper-illness.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.7s ease forwards;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 columnas */
  grid-template-rows: repeat(2, auto);
  /* 2 filas */
  gap: 1rem;
  padding: 1rem 1rem;
  padding-bottom: 6rem;
}

/* Card */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

/* Frente */
.card-front {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem 3rem;
  transition: opacity 0.4s ease;
}

.card-front img {
  width: 8rem;
  height: 8rem;
  margin-bottom: 10px;
  filter: invert(1);
}

#lol {
  filter: invert(0);
}

.card-front h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card-front p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Reverso */
.card-back {
  position: absolute;
  inset: 0;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.8px);
  -webkit-backdrop-filter: blur(8.8px);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  text-align: justify;
}

/* Hover cambia visibilidad */
.card:hover .card-back {
  opacity: 1;
  z-index: 2;
}

.card:hover .card-front {
  opacity: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas */
    display: flex;
    flex-wrap: wrap;
    /* permite que las cards bajen a otra fila */
    gap: 20px;
    /* mismo espacio que antes */
    justify-content: flex-start;
    /* las alinea a la izquierda */

  }

  .card-grid .card {
    flex: 0 0 calc(50% - 20px);
    /* 2 columnas por fila */
    padding-bottom: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    /* 1 columna */
  }

  .card {
    height: auto;
    min-height: 220px;
  }

  .card-front img {
    width: 7rem;
    height: 7rem;
  }

  .card-front h3 {
    font-size: 1.2rem;
  }

  .card-front p,
  .card-back p {
    font-size: 0.95rem;
  }
}




/* Responsive: ajusta texto y espaciado en pantallas pequeñas */
@media (max-width: 480px) {
  summary {
    padding: 12px;
  }

  .titulo {
    font-size: 0.95rem;
  }

  .contenido {
    font-size: 0.9rem;
    padding: 0 12px 12px;
  }
}


/* SERVICIOS INICIO */

.services {
  width: 100%;
  min-height: 48rem;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  background-image: url(/Assets/Photos/servicebg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  user-select: none;
}

.services-main-title {
  width: 100%;
  height: auto;
  text-align: center;
  padding: 1rem;
  padding: 6rem;
}

.services-main-title h1 {
  font-weight: bolder;
  font-size: 3.5rem;
}

.service-box-wrapper {
  width: 90%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 1.5rem;

  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.service-box-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  animation: aparecer 0.3s ease forwards;
}

.serviceBoxes {
  width: 18rem;
  height: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-boxes-img {
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.service-boxes-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-boxes-info {
  width: 100%;
  height: 37%;
  background-color: #74628b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  box-sizing: border-box;
  transition: all 0.5s ease;
  /* transición suave al expandirse */
}

.service-boxes-info h1 {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Lista inicialmente oculta */
.service-boxes-info ul li {
  color: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  text-align: left;
  padding-left: 0.5rem;
}

/* Expandir sección morada y mostrar lista al hover */
.serviceBoxes:hover .service-boxes-info {
  height: 100%;
  /* ocupa todo el contenedor */
  justify-content: flex-start;
  padding: 1rem;
}

.serviceBoxes:hover .service-boxes-info ul li {
  display: list-item;
  /* mostrar elementos */
  opacity: 1;
  max-height: 500px;
  /* suficiente para todo el contenido */
}


/* SERVICIOS FIN */

/* Inicio Video Dra */

.dra-video {
  width: 100%;
  min-height: 45rem;
  background-color: #74628b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  width: 90%;
  max-width: 60rem;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  background-color: #000;
  overflow: hidden;

  /* Mostrar el video desde el inicio para permitir reproducción */
  opacity: 1;
  transform: translateY(30px);
  transition: transform 0.5s ease;
}

.video-wrapper.visible {
  transform: translateY(0);
  /* animación solo de movimiento */
  animation: aparecer 0.5s ease forwards;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* asegúrate que no haya espacio invisible */
}



/* Video DRA FIN */


/* location INICIO */
.location {
  width: 100%;
  height: 45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.place {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.place img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local {
  width: 50%;
  height: 100%;
  background-color: #68aca0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.maps {
  width: 90%;
  height: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maps iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  width: 90%;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.address {
  width: 100%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 5%;
}

.iconsise {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.iconsise a {
  color: #fff;
  font-size: 2.8rem;
  background-color: #74628b;
  border-radius: 50%;
  transition: all ease-in-out .3s;
  user-select: none;
}

.iconsise a:hover {
  background-color: #ecc566;
}

.iconsise a i {
  padding: .8rem;
}

.info {
  color: white;
  line-height: 1.4;
  font-size: 16px;
  padding-top: 2rem;
}

.info p {
  margin: 0;
}

.whatsapp {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10%;
  padding-bottom: 3%;
}

.whatsapp a {
  text-decoration: none;
  color: #fff;
  background-color: #74628b;
  padding: 1rem 4rem;
  border-radius: 2rem;
  transition: all ease-in-out .3s;
  font-size: 1.5rem;
}

.whatsapp a:hover {
  background-color: #ecc566;
  font-weight: bolder;
}

/* location FIN */

.footer {
  width: 100%;
  height: 26rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-footer {
  width: 30%;
  height: 60%;
}

.logo-footer img {
  width: 100%;
  height: 100%;
}


/* MEDIA QUERIES PARA TODO LOL*/

@media screen and (max-width: 768px) {
  .iconsise {
    padding: .5rem 1.2rem;
    /* espacio más pequeño entre ellos */
  }

  .slider-content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .whoami-me-image {
    width: 32rem;
    margin-left: 1%;
  }

  .item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slider-img-content {
    width: 50%;
    height: 60%;
  }

  .contact {
    width: 100%;
  }

  .address {
    width: 98%;
    padding: 0;
  }

  .iconsise {
    width: auto;
    padding: 0;
  }

  .info {
    color: white;
    line-height: 1.4;
    font-size: 16px;
    padding-top: 3.2rem;
    width: 100%;
  }

  .whatsapp {
    width: 100%;
    height: 40%;
    display: none;
    align-items: center;
    justify-content: center;
    padding-top: 15%;
  }
}


@media screen and (max-width: 992px) {
  .slider-content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .whoami-me-image {
    width: 32rem;
    margin-left: 1%;
  }

  .item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slider-img-content {
    width: 50%;
    height: 60%;
  }
}

.copyright {
  width: 100%;
  height: auto;
  padding: 1rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
  color: #393939;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.advice {
  width: 33%;
}

.branding {
  width: 33%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: row;
  font-size: .8rem;
}

.branding img {
  width: 9rem;
  height: 9rem;
  object-fit: cover;

}

.privacy {
  width: 33%;
}

.privacy a {
  text-decoration: none;
  font-size: .6rem;
  color: #393939;
}

.whatsapp-btn {
  position: fixed;
  /* siempre visible */
  bottom: 20px;
  /* espacio desde abajo */
  right: 20px;
  /* espacio desde la derecha */
  width: 5.5rem;
  /* tamaño del botón */
  height: 5.5rem;
  border-radius: 50%;
  /* lo hace redondo */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  /* que esté encima de todo */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn img {
  width: 100%;
  /* tamaño del icono */
  height: 100%;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  /* efecto hover */
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 992px) {
  .whatsapp-btn {
    /* espacio desde la derecha */
    width: 8rem;
    /* tamaño del botón */
    height: 8rem;
  }
}