/**** Font Family ****/
@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-webfont.woff2') format('woff2'),
       url('../fonts/seravek-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-italic-webfont.woff2') format('woff2'),
       url('../fonts/seravek-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-bold-webfont.woff2') format('woff2'),
       url('../fonts/seravek-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-bolditalic-webfont.woff2') format('woff2'),
       url('../fonts/seravek-bolditalic-webfont.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-light-webfont.woff2') format('woff2'),
       url('../fonts/seravek-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-lightitalic-webfont.woff2') format('woff2'),
       url('../fonts/seravek-lightitalic-webfont.woff') format('woff');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-extralight-webfont.woff2') format('woff2'),
       url('../fonts/seravek-extralight-webfont.woff') format('woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-extralightitalic-webfont.woff2') format('woff2'),
       url('../fonts/seravek-extralightitalic-webfont.woff') format('woff');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-medium-webfont.woff2') format('woff2'),
       url('../fonts/seravek-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Seravek';
  src: url('../fonts/seravek-mediumitalic-webfont.woff2') format('woff2'),
       url('../fonts/seravek-mediumitalic-webfont.woff') format('woff');
  font-weight: 500;
  font-style: italic;
}


/********** Template CSS **********/
:root {
  --primario: #007abf;
  --secundario: #009a31;
  --terciario: #003366;
  --cuarto: #2EBC75;
  --quinto: #D6E4F0;
  --sexto: #A8D5BA;
  --white: #fff;
  --light: #4A4A4A;
  --dark: #000000;
  --fondo: #ffffff;
  --sales: #fff3d1;
  --greenCTA: #42d697;
}

body {
  font-family: 'Seravek' !important;
  color: var(--terciario);
}


/* TEXTO PALETA DE COLORES */
.text-primario {
  color: var(--primario) !important;
}

.text-secundario {
  color: var(--secundario) !important;
}

.text-terciario {
  color: var(--terciario) !important;
}

.text-cuarto {
  color: var(--cuarto) !important;
}

.text-quinto {
  color: var(--quinto) !important;
}

.text-sexto {
  color: var(--sexto) !important;
}

.text-sales {
  color: var(--sales) !important;
}

.text-greenCTA {
  color: var(--greenCTA) !important;
}

.text-fondo {
  color: var(--fondo) !important;
}

/* FONDO PALETA DE COLORES */
.bg-primario {
  background-color: var(--primario) !important;
}

.bg-secundario {
  background-color: var(--secundario) !important;
}

.bg-terciario {
  background-color: var(--terciario) !important;
}

.bg-cuarto {
  background-color: var(--cuarto) !important;
}

.bg-quinto {
  background-color: var(--quinto) !important;
}

.bg-sexto {
  background-color: var(--sexto) !important;
}

.bg-sales {
  background-color: var(--sales) !important;
}

.bg-greenCTA {
  background-color: var(--greenCTA) !important;
}

.bg-fondo {
  background-color: var(--fondo) !important;
}

/* BOTONES FLOTANTES */
.float-container {
  position: fixed;
  right: 15px;
  bottom: 5px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  transition: margin 0.5s ease-in-out;
}

.float-wsp,
.float-phone {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
}

.float-phone {
  background-color: var(--primario);
  font-size: 27px;
}

.my-float-wsp,
.my-float-phone {
  margin-top: 16px;
}

.float-wsp:hover,
.float-phone:hover {
  color: #fff;
  -webkit-animation: headShake 1s;
  animation: headShake 1s;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 35px;
  margin-bottom: -20px;
  width: 60px;
  height: 60px;
  background-color: var(--secundario);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-size: medium;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

@media (max-width: 991.98px) {

  .float-wsp,
  .float-phone {
    width: 2.5em;
    height: 2.5em;
    font-size: 15px;
  }

  .back-to-top {
    right: 18px !important;
    width: 2.5em !important;
    height: 2.5em !important;
    font-size: small;
  }

  .my-float-wsp,
  .my-float-phone {
    margin-top: 12px;
  }
}

/* ======================================================= */
/* ========== PAGINAS DE ERRORES Y DESARROLLO ============ */

/* ERROR 404 Y 500 */
.error-404 {
  min-height: 77vh;
}

.a-error {
  color: #4380b4;
}

.icon-404 {
  width: 22px !important;
  height: 22px !important;
  margin-left: 2px;
  margin-bottom: 4px;
}

.img-error {
  width: 100%;
}

.deco-0 {
  text-decoration: none;
}

/* ======== FIN PAGINAS DE ERRORES Y DESARROLLO =========== */
/* ======================================================== */

/*** Banner Cirugía & Ortodoncia ***/
.slide-banner {
  --alto: 25px;
  position: fixed;
  bottom: -100px;
  /* Posiciona inicialmente el banner fuera de la vista */
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  width: 250px;
  height: var(--alto);
  background-color: var(--dark);
  color: #FFF;
  text-align: center;
  line-height: var(--alto);
  /* Centra verticalmente el texto */
  border-top-left-radius: 25px 50px;
  /* bordes curvos y angulo de 45° */
  border-top-right-radius: 25px 50px;
  transition: bottom 0.5s ease-in-out;
  z-index: 99;
}

.slide-banner img {
  height: 15px;
  line-height: 15px;
  margin-bottom: 3px;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.img-spinner {
  width: 5rem;
  height: 5rem;
}


/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #FFFFFF;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.buttonNav {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: var(--white);
  z-index: 1;
  background: var(--secundario);
  position: relative;
  font-weight: 500;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.buttonNav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: var(--primario);
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms
}

.buttonNav:hover {
  color: var(--white);
}

.buttonNav:hover::before {
  width: 100%;
}

#carrServicios .card-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
}

.bordered-button {
  background-color: transparent;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  color: white;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  transition: border-color 0.3s ease-in-out;
}

.bordered-button:hover {
  border-color: white;
}



.especialidades-nav {
  width: 600px;
  padding: 1.5rem;
}

@media (max-width: 992px) {
  .especialidades-nav {
    width: auto;
    padding: 0.5rem;
  }
}
/*** Carousel Start ***/
.carousel-item {
  position: relative;
}

.carousel-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .2);
}

.carousel-caption {
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
}

.carousel-item p {
  margin: 0 auto 35px auto;
}

.carousel-control-prev {
  width: 50px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 0;
  background: var(--secundario);
  border-radius: 0 50px 50px 0;
  opacity: 1;
}

.carousel-control-prev:hover {
  background: var(--primario);
  transition: .5s;
}

.carousel-control-next {
  width: 50px;
  height: 60px;
  position: absolute;
  top: 50%;
  right: 0;
  background: var(--secundario);
  border-radius: 50px 0 0 50px;
  opacity: 1;
}

.carousel-control-next:hover {
  background: var(--primario);
  transition: .5s;
}

@media (max-width: 992px) {
  .carousel-item {
    min-height: 500px;
  }

  .carousel-item img {
    min-height: 500px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    min-height: 400px;
  }

  .carousel-item img {
    min-height: 400px;
    object-fit: cover;
  }

  .carousel-control-prev {
    width: 5vw;
    height: 10vh;
  }

  .carousel-control-prev:hover {
    background: var(--primario);
    transition: .5s;
  }

  .carousel-control-next {
    width: 5vw;
    height: 10vh;
  }

  .carousel-control-next:hover {
    background: var(--primario);
    transition: .5s;
  }
}

.zoom-carousel {
  animation-name: zoomEffect;
  animation-timing-function: ease-in-out;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  transform-origin: center center;
  object-fit: cover;
  transition: transform 1s;
}

.carousel-item.active .zoom-carousel {
  animation-play-state: running;
}

.carousel-item:not(.active) .zoom-carousel {
  animation-play-state: paused;
}

/* Page Generator Carousel Hero */
#pageGen-hero .carousel-item {
  position: relative;
}

#pageGen-hero .carousel-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#pageGen-hero .carousel-caption {
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
}

#pageGen-hero .carousel-item p {
  margin: 0 auto 35px auto;
}

@media (max-width: 992px) {
  .carousel-item {
    min-height: 500px;
  }

  .carousel-item img {
    min-height: 500px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    min-height: 400px;
  }

  .carousel-item img {
    min-height: 400px;
    object-fit: cover;
  }
}

/* Titulos */
.titulo-container {
  position: relative;
}

.titulo-detras {
  width: 100%;
  font-size: clamp(30px, 10vw, 100px);
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.5;
  z-index: 0;
  color: var(--quinto);
}

.titulo-frente {
  position: absolute;
  top: 80%;
  left: 50%;
  font-size: clamp(15px, 7vw, 50px);
  font-weight: 700;
  text-align: center;
  opacity: 1;
  z-index: 1;
  color: var(--terciario);
  transform: translate(-50%, -50%);
}

/*** About ***/
.container-about {
  position: relative;
}

.sello-agua {
  width: 25%;
  top: 50%;
  left: 50%;
  position: absolute;
  opacity: 0.15;
  z-index: -1;
  transform: translate(-50%, -50%);
}

/*** Testimonial ***/
.testimonios {
  background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonios.jpg) left center no-repeat;
  background-size: cover;
}

.testimonios-item img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 60px;
}

.testimonios-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}

.testimonios-carousel .owl-nav .owl-prev,
.testimonios-carousel .owl-nav .owl-next {
  margin-left: 15px;
  color: var(--primario);
  font-size: 30px;
  line-height: 0;
  transition: .5s;
}

.testimonios-carousel .owl-nav .owl-prev:hover,
.testimonios-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 0;
  bottom: 0;
  border-radius: 35px;
  transition: .5s;
  z-index: -1;
}

.icon-box-primary::before {
  background: var(--secundario);
}

/*** Index Blog ***/
#blog .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

#blog .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.titulo-blog {
  font-size: 24px;
  font-weight: 700;
  color: var(--terciario);
}

.fecha-blog {
  font-size: 16px;
  font-weight: 200;
  color: var(--light);
}

.descripcion-blog {
  font-size: 20px;
  font-weight: 400;
  color: var(--terciario);
}

/* Contacto */
.container-contacto {
  position: relative;
}

.sello-agua-contacto {
  width: 35%;
  top: 50%;
  left: 50%;
  position: absolute;
  opacity: 0.15;
  z-index: -1;
  transform: translate(-50%, -50%);

}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #FFFFFF;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}



.footer-politicas {
  text-align: center;
  /* Centramos el texto */
}

@media (max-width: 768px) {
  .footer-sm-center {
    text-align: center;
  }

  .footer-politicas a {
    margin-right: 10px;
    margin-bottom: 5px;
    /* Espacio entre enlaces */
  }
}

/* ******************************************************************************************************************************************** */
/* ******************************************************************************************************************************************** */
/* ******************************************************************************************************************************************** */
/* ******************************************************************************************************************************************** */
/* ******************************************************************************************************************************************** */
/* ******************************************************************************************************************************************** */

/*** Hero Header ***/
.hero-header {
  margin-bottom: 6rem;
  padding-top: 10rem;
  padding-bottom: 3rem;
}

.hero-odontologia {
  background: url("../img/hero/hero-odontologia.webp"), center center no-repeat;
  background-size: cover;
}

.hero-clinica {
  background: url("../img/hero/hero-clinica.webp"), center center no-repeat;
  background-size: cover;
}

.hero-invisalign {
  background: url("../img/hero/hero-invisalign.webp"), center center no-repeat;
  background-size: cover;
}

.hero-equipo {
  background: url("../img/hero/hero-equipo.webp"), center center no-repeat;
  background-size: cover;
}

.hero-cirugia {
  background: url("../img/hero/hero-cirugia.webp"), center center no-repeat;
  background-size: cover;
}

.hero-comunidad {
  background: url("../img/hero/hero-comunidad.webp"), center center no-repeat;
  background-size: cover;
}

.politicas-header {
  margin-bottom: 6rem;
  padding-top: 15rem;
  padding-bottom: 6rem;
  background: url("../img/hero/bg-convenios.webp"), center center no-repeat;
  background-size: cover;
}


.hero-header .hero-header-inner {
  padding: 3rem;
  background: rgba(0, 0, 0, .1);
}

@media (max-width: 992px) {
  .hero-header {
    padding-top: 12rem;
  }
}

.hero-header .breadcrumb-item {
  font-size: 18px;
}

.hero-header .breadcrumb-item a,
.hero-header .breadcrumb-item {
  color: white !important;
}

.politicas-header .hero-header-inner {
  padding: 3rem;
  background: rgba(255, 255, 255, .5);
}

@media (max-width: 992px) {
  .politicas-header {
    padding-top: 12rem;
  }
}

.politicas-header .breadcrumb-item {
  font-size: 18px;
}

.politicas-header .breadcrumb-item a,
.politicas-header .breadcrumb-item {
  color: white !important;
}

/*** Equipo ***/
#equipo .card {
  background: var(--white);
  border: none;
  padding: 2rem 1.5rem;
  transition: box-shadow .3s ease, transform .2s ease;
}

#equipo .card-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform .2s ease, opacity .2s ease;
}

#equipo .card-avatar {
  --size: 200px;
  background: transparent;
  width: var(--size);
  transition: transform .2s ease;
  margin-bottom: 1rem;
}

#equipo .card-avatar img {
  background: transparent;
  width: var(--size);
  border-radius: 3rem;
  transition: transform .2s ease;
  margin-bottom: 1rem;
}

#equipo .card-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin-top: 10px;
}

#equipo .card-title {
  color: var(--terciario);
  font-size: 1.5em;
  font-weight: 600;
  line-height: 2rem;
}

#equipo .card-subtitle {
  color: var(--light);
  font-size: 1em;
}

#equipo .card:hover {
  box-shadow: 0 8px 50px #23232333;
}


#equipo .card-avatar:hover {
  transform: scale(1.1);
}

/*** Especialidades ***/
.especialidades-item {
  transition: .5s;
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-esp-item {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@media (min-width: 576px) {
  .especialidades-item {
    height: 45vh;
  }
}

@media (min-width: 768px) {
  .especialidades-item {
    height: 40vh;
  }
}

@media (min-width: 992px) {
  .especialidades-item {
    height: 35vh;
  }
}

@media (min-width: 2560px) {
  .especialidades-item {
    height: 30vh;
  }
}

.especialidades-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 40px;
  white-space: nowrap;
  overflow: hidden;
  transition: .5s;
}

.especialidades-item:hover .btn {
  width: 100%;
}

/*** Convenios y Promociones ***/
.bg-convenios {
  background: linear-gradient(rgba(0, 122, 191, 0.8), rgba(0, 154, 49, 0.3)), url(../img/hero/bg-convenios.webp) center;
}

.convenios-logo {
  width: 50% !important;
  object-fit: contain;
  aspect-ratio: 3/2;
  mix-blend-mode: color-burn;
}

.convenios-display {
  width: 15% !important;
  margin-inline: 20px;
}

/*** Odontologia General ***/
.bg-odontoGeneral {
  background: linear-gradient(rgba(0, 122, 191, 0.8), rgba(0, 154, 49, 0.3)), url(../img/hero/bg-odontoGeneral.webp) center;
}

.about-img {
  width: 100%;
  height: auto;
  position: relative;
  padding: 10px 10px 10px 10px;
  overflow: hidden;
}

.about-img::before {
  content: "";
  width: 100%;
  height: 40%;
  background: var(--quinto);
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  border-radius: 10px 10px 10px 10px;
}

.about-img::after {
  content: "";
  width: 100%;
  height: 60%;
  background: var(--sexto);
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 1;
  border-radius: 10px 10px 10px 10px;
}

.rotate-left {
  width: 150px;
  height: 100px;
  position: absolute;
  top: 28%;
  left: -10%;
  rotate: 25deg;
  z-index: 2;
}

.rotate-right {
  width: 150px;
  height: 100px;
  position: absolute;
  top: 28%;
  right: -10%;
  rotate: -25deg;
  z-index: 2;
}

.about-img img {
  position: relative;
  z-index: 2;
  border-radius: 10px;
}


.odonto-icon {
  width: 100%;
  height: auto;
}

.btnContainer {
  --btn-color: var(--secundario);
  position: relative;
  padding: 16px 32px;
  font-weight: 500;
  line-height: 1;
  color: var(--terciario);
  background: transparent;
  cursor: pointer;
  border: 2px solid var(--btn-color);
  overflow: hidden;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btnContainer:hover {
  background-color: var(--primario);
  color: white;
  border: 2px solid var(--primario);
}

.btnOdonto-text {
  display: inline-flex;
  vertical-align: middle;
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btnOdonto-list {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
  transform: translateY(-50%);
}

.btnOdonto-list li {
  flex: 1;
}

.btnOdonto-link {
  display: inline-flex;
  vertical-align: middle;
  transform: translateY(55px);
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btnContainer:hover .btnOdonto-text {
  transform: translateY(-55px);
}

.btnContainer:hover .btnOdonto-link {
  transform: translateY(0);
}

#especialidades .card {
  box-shadow: none;
}

.responsive-start-center {
  text-align: start;
}

@media (max-width: 768px) {
  .responsive-start-center {
    text-align: center;
  }
}

/*** Comunidad ***/
.bg-comunidad {
  background: linear-gradient(rgba(0, 122, 191, 0.8), rgba(0, 154, 49, 0.3)), url(../img/hero/bg-convenios.webp) center;
}

.publicaciones {
  border-radius: 20px;
  background: var(--white);
  padding: 1rem;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  display: flex;
  align-items: center;
  gap: 20px;
}

.publicaciones:hover {
  border-color: var(--secundario);
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.publicaciones-button {
  padding: .5rem 1.5rem;
  border-radius: 1rem;
  border: none;
  background-color: var(--secundario);
  color: var(--white);
  font-size: 1rem;
  margin-left: auto;
  opacity: 0;
  transition: 0.3s ease-out;
}

.publicaciones:hover .publicaciones-button {
  opacity: 1;
}

.revista-logo {
  width: 15%;
  border-radius: 10px;
}

.publicaciones-details {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  flex: 1;
}

.text-title {
  font-size: 1em;
  font-weight: bold;
}

.revista-name,
.date-publication {
  color: rgb(100, 100, 100);
}

.revista-autor {
  color: var(--terciario);
  font-weight: bold;
}

.date-publication {
  font-size: 0.9em;
}

@media (max-width: 767px) {
  .publicaciones {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 30px;
    position: relative;
  }

  .revista-logo-horizontal {
    width: 60%;
    margin-bottom: 10px;
  }

  .publicaciones-details-horizontal {
    align-items: center;
  }

  .publicaciones-button {
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  .revista-logo {
    width: 200px;
    height: auto;
  }
}

.search-container {
  position: relative;
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, rgb(218, 232, 247) 0%, rgb(214, 229, 247) 100%);
  display: flex;
  align-items: center;
}

.search-container::after,
.search-container::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
}

.search-container::before {
  top: -1px;
  left: -1px;
  background: linear-gradient(0deg, rgb(218, 232, 247) 0%, rgb(255, 255, 255) 100%);
  z-index: -1;
}

.search-container::after {
  bottom: -1px;
  right: -1px;
  background: linear-gradient(0deg, rgb(163, 206, 255) 0%, rgb(211, 232, 255) 100%);
  box-shadow: rgba(0, 159, 227, 0.7019607843) 3px 3px 5px 0px, rgba(0, 159, 227, 0.7019607843) 5px 5px 20px 0px;
  z-index: -2;
}

.input {
  padding: 10px;
  width: 100%;
  background: linear-gradient(135deg, rgb(218, 232, 247) 0%, rgb(214, 229, 247) 100%);
  border: none;
  color: #9EBCD9;
  font-size: 20px;
  border-radius: 50px;
}

.input:focus {
  outline: none;
  background: linear-gradient(135deg, rgb(239, 247, 255) 0%, rgb(214, 229, 247) 100%);
}

.search__icon {
  width: 50px;
  aspect-ratio: 1;
  border-left: 2px solid white;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 50%;
  padding-left: 12px;
  margin-right: 10px;
}

.search__icon:hover {
  border-left: 3px solid white;
}

.search__icon path {
  fill: white;
}

/* Detalle Blog */
.post-img {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--white);
}

#blog-content p,
a {
  color: var(--dark);
}


/*** Invisalign ***/
.invisalign-header {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../img/invisalign/hero-6.png) center no-repeat;
}

@media (max-width:425px) {
  .invisalign-header {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../img/invisalign/hero-sm.png) center no-repeat;
  }
}

@media (min-width: 2500px) {
  .invisalign-header {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../img/invisalign/hero-2560.png) center;
  }
}

#invisalign-doctors .owl-carousel .owl-item {
  transition: all 0.5s ease;
}

#invisalign-doctors .owl-carousel .active.center {
  opacity: 1;
  transform: translateY(-10px);
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

#invisalign-doctors .owl-carousel .active:not(.center) {
  filter: blur(3px);
}

.video-container {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
}

.video {
  width: 100%;
  height: auto;
  display: block;
}


/*** Politicas ***/
.sello-agua-politicas {
  width: 25%;
  top: 50%;
  left: 50%;
  position: absolute;
  opacity: 0.15;
  z-index: -1;
  transform: translate(-50%, -50%);
}

.text-justify {
  text-align: justify;
}

.cardSeguro {
  transition: 0.3s ease-out;
}

.cardSeguro:hover {
  transform: translateY(-10px);
}

.logoSeguro {
  width: 150px;
  height: auto;
}


/*** Nuestra Clínica ***/
.about a.btn.btn-light:hover {
  background: var(--secundario) !important;
  color: var(--white) !important;
  border: 0;
}

.tecnologia .tecnologia-item {
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(12, 18, 20, .08);
  transition: 0.2s;
}

.tecnologia .tecnologia-item img {
  width: 200px;
}

.tecnologia .tecnologia-item:hover {
  background: var(--sexto) !important;
  color: var(--white) !important;
}

/*** Cirugia & Ortodoncia ***/
#cirugia-esp .card {
  width: 100%;
  height: 50vh;
  background: var(--white);
  transition: all 0.4s;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 45px rgba(12, 18, 20, .05);
  text-align: center;
}

#cirugia-esp .card:hover {
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 0 45px rgba(12, 18, 20, .2);
  background: var(--white);
}

#cirugia-esp .first-content {
  height: 100%;
  width: 100%;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
  font-size: 24px;
  font-weight: 500;
  color: var(--terciario);
}

#cirugia-esp .first-content img {
  width: 40%;
  height: auto;
  margin-bottom: 5%;
}

#cirugia-esp .card:hover .first-content {
  height: 0px;
  opacity: 0;
}

#cirugia-esp .second-content {
  height: 0%;
  width: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 18px;
  color: var(--terciario);
}

#cirugia-esp .card:hover .second-content {
  opacity: 1;
  height: 100%;
}

@media (max-width: 768px) {
  #cirugia-esp .card {
    width: 100%;
  }
}

/* Cirugia Dental */
.hero-cirugiaDental {
  background: url("../img/cirugiaDental/cirugiaDentalHeroLg.webp"),
    center center no-repeat;
  background-size: cover;
}

@media (max-width: 676px) {
  .hero-cirugiaDental {
    background: url("../img/cirugiaDental/cirugiaDentalHeroSm.webp"),
      center no-repeat;
    background-size: cover;
  }
}

.search-button {
  background-color: transparent !important;
  border: none !important;
  /* cursor: pointer; */
  padding: 8px !important;
}

.swal2-confirm {
  border: 0;
  border-radius: 0.25em;
  background: initial;
  background-color: var(--secundario) !important;  
  color: #fff;
  font-size: 1em;
}

