/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*fuente*/
/*variables*/
/*outline*/
/*estilos comunes*/
/*titulares y textos*/
/*header*/
/*footer*/
/*home*/



/* FUENTE */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');


html {
  margin-top: 0 !important;
}


/* VARIABLES */

:root {
    --c-negro: #131313;
    --c-blanco: #FFFFFF;
    --c-primario: #005657;
    --c-primario-2: #038d7d;
    --c-secundario: #6fc1a3;
    --c-secundario-2: #6cead0;
    --c-gris: #F2F2F2;

    --deg-verde: linear-gradient(180deg, var(--c-primario), var(--c-secundario));
    --deg-gris: linear-gradient(180deg, var(--c-secundario), var(--c-gris));
    --deg-mezcla: linear-gradient(180deg, var(--c-gris), var(--c-secundario));

    --shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.1);

    --f-primaria: 'Comfortaa', serif;
    --f-primaria: 'Lato', sans-serif;
}

/* OUTLINE */

*:focus { outline: 5px solid orange; }

/* ESTILOS COMUNES */

.zindex0 {
  z-index:0;
}

.zindex1 {
  z-index:1;
}

body {
  font-family: var(--f-primaria);
  color: var(--c-negro);
  font-size: 1rem;
  line-height: 1.5em;
}

#main {
  margin: 0;
}

a {
  color: var(--c-primario);
  text-decoration: none;
}

a:hover {
  color: var(--c-secundario);
}

a, a:hover {
  transition: all 0.4s ease !important;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--c-primario);
  font-weight: 700;
}

.pad-txt>div>.vce-col-content {
  padding: 20% 10%;
}

.img100 .vce-single-image-wrapper,
.img100 .vce-single-image-wrapper .vce-single-image-figure-inner {
  width: 100% !important;
}

.h600 .vce-single-image-wrapper,
.h600 .vce-single-image-wrapper .vce-single-image-figure-inner {
  height: 600px !important;
}

.shadow>div,
.row-shadow>div {
  box-shadow: var(--shadow);
} 

.ov-hidden {
  overflow: hidden;
}

.center {
  margin: auto;
  text-align: center;
}

.bg-deg {
  background: var(--deg-verde);
}

.caja-after {
  position: relative;
  z-index: 1;
}

.caja-after::after {
  content: "";
  background: var(--deg-mezcla);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: -1;
  position: absolute;
  top: 20px;
  left: -20px;
}

/*columnas clicables*/	
.vce-col.clickable a:after {
    content: "";
    display: block; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2; 
 }
 
.clickable .vce-col-content, .clickable .vce-col-inner {
    position: static;
}

/* estilo de listas */
.lista ul, ul.lista {
  margin: -10px 0 0 20px;
  list-style: none !important;
}

.lista ul li, ul.lista li {
  margin: 0 0 8px 0;
  position: relative;
  padding-left: 20px;
}

.lista ul li::before, ul.lista li::before {
  content: "";
  background-color: var(--c-secundario);
  width: 10px;
  height: 10px;
  position: absolute;
  top: 8px;
  left: 0;
  border-radius: 100%;
}

.lista.txt-white ul li::before, .txt-white ul.lista li::before {
  background-color: var(--c-blanco);
}

.lista-doble .vce-text-block-wrapper {
  display: flex;
  flex-direction: row;
}

.lista-doble ul {
  flex: 0 0 50%;
  list-style: none !important;
}

.lista-doble ul li {
  margin: 0 0 20px 0;
  position: relative;
  padding-left: 30px;
  display: flex;
  align-items: center;
}

.lista-doble ul li::before {
  content: url(/wp-content/uploads/2024/11/flecha-dark.png);
  width: 30px;
  height: 30px;
  position: absolute;
  left: 0px;
  top: 3px;
  border-radius: 100%;
}

.lista-doble ul li a:hover {
  color: var(--c-secundario);
}

.lista.flecha ul li::before {
  content: url(/wp-content/uploads/2024/11/flecha-dark.png);
  background: transparent;
  width: 30px;
  height: 30px;
  position: absolute;
  left: -10px;
  top: 3px;
  border-radius: 100%;
}

/* TITULARES Y TEXTOS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-primaria);
  line-height: 1.2em;
}

h1 {
  font-size: 3.125rem;
  font-weight: 700;
}

h2 {
  font-size: 2.375rem;
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--c-primario-2);
}

p:last-child {
  margin-bottom: 0;
}

.tit-deg h2, .tit-deg h3 {
  background-image: var(--deg-verde);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.txt-white, .txt-white p, .txt-white h2, .txt-white h3 {
  color: var(--c-blanco);
}

.txt-verde, .txt-verde p {
  color: var(--c-primario);
}

.txt-center {
  text-align: center;
}

.txt-white a {
  color: var(--c-blanco);
}

.txt-white a:hover {
  color: var(--c-secundario-2);
}

.txt-big p, p.txt-big {
  font-size: 1.2rem;
  line-height: 1.25em;
}

.subtitulo p, p.subtitulo {
  font-family: var(--f-primaria);
  font-size: 1.65rem;
  line-height: 1.25em;
}

/* distancia menú */
#page {
  margin-top: 157px;
}

/* botón subir arriba */
a.generate-back-to-top {
  border-radius: 100%;
  background-color: #ffffffc4;
  backdrop-filter: blur(5px);
  color: var(--c-primario);
  border: 1px solid var(--c-primario);
}

/* HOME */
.cab-home {
  height: calc(100vh - 157px);
  padding-top: 25vh !important;
}

.cab-home h1 {
  text-transform: uppercase;
}

.cab-home h1>strong.h1-big {
  color: var(--c-secundario-2);
  font-size: 1.5em;
}

.cab-home .btn-w {
  margin-top: 20px;
}

.num p {
  width: fit-content;
  padding: 15px;
  font-size: 1.2rem;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deg-gris);
  margin: -40px auto 20px auto;
  color: var(--c-negro);
}
 
/* tratamientos */
/*
#tratamientos-home {
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow-x: scroll;
  gap: 30px;
  cursor: grab;
  padding-left: 100px;
}

#tratamientos-home::-webkit-scrollbar {
  opacity: 0;
}

#tratamientos-home .tratamiento {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

#tratamientos-home .tratamiento img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

#tratamientos-home .tratamiento h3 {
  margin-bottom: 7px;
  padding-bottom: 3px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}

#tratamientos-home .tratamiento .trat-txt p {
  height: 80px;
}


.btns-tratamientos {
  text-align: right;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.btns-tratamientos #izq,
.btns-tratamientos #dch {
  color: var(--c-blanco);
  background-color: transparent;
  border-radius: 100%;
  border: 2px solid var(--c-blanco);
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.btns-tratamientos #izq:hover,
.btns-tratamientos #dch:hover {
  background-color: rgba(250, 250, 250, 0.3);
} */

/* testimonios */
.cita p {
  font-size: 1.875rem;
  line-height: 1.15em;
  font-style: italic;
  color: var(--c-secundario);
  font-weight: 300;
}

.txt-white .cita p,
.cita.txt-white p {
  color: var(--c-blanco) !important;
}

.cita-img,
.cita-img *,
.cita-img img {
  height: 350px !important;
}

.cita-img img {
  object-fit: cover;
  object-position: center center;
  /* filter: brightness(0.9) saturate(0); */
}

.ico-play {
  text-align: center;
  transition: all 0.4s ease;
  margin-bottom: 40px;
}

.ico-play .vce-raw-html-wrapper {
  text-align: center;
}

.ico-play svg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  transition: all 0.45s ease;
  border-radius: 100%;
  box-shadow: var(--shadow);
}

.clickable:hover .ico-play svg {
  transform: scale(1.1);
}

/* reseñas google */
#google-reviews .vce-shortcode-wrapper {
  margin-bottom: 0;
}

#google-reviews .ti-reviews-container-wrapper {
  display: flex;
  flex-direction: row;
}

#google-reviews .ti-reviews-container-wrapper .ti-review-item .ti-inner {
  background-color: var(--c-blanco) !important;
  border-radius: 20px !important;
}

#google-reviews .ti-review-item .ti-review-header .ti-name {
  font-family: var(--f-primaria);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.1rem;
}

#google-reviews .ti-review-item .ti-review-content {
  font-family: var(--f-primaria);
}

#google-reviews .ti-review-item .ti-inner .ti-stars {
  margin: 10px 0;
}

#google-reviews .ti-header {
  margin-top: 20px;
  font-family: var(--f-primaria);
}

/* BLOG */
body.blog #content {
  padding: 40px;
}

body.blog article .post-image {
  margin-bottom: 20px !important;
}

body.blog article h2>a {
  color: var(--c-secundario);
}

body.blog article .entry-summary>p:first-child {
  display: none !important;
}

body.single-post h1.entry-title {
  color: var(--c-secundario);
}

body.single-post #content .entry-header {
  padding: 0 40px;
}

body.single-post #content .entry-content {
  padding: 0 40px 40px 40px;
}

body.single-post .page-header-image-single img {
  width: 100%;
}

/* PÁG. CONTACTO */
.link-contacto {
  font-size: 1.1rem;
  line-height: 1.8em;
}

.link-contacto a {
  border-bottom: 1px solid;
  padding-bottom: 2px;
}

.mapa iframe {
  margin-bottom: -10px;
}



/* ---------- RESPONSIVE ---------- */
@media screen and (max-height: 1000px) and (max-width: 1400px) {
  .cab-home {
    padding-top: 10vh !important;
    padding-bottom: 10vh !important;
  }

  .cab-home .vce-row-content .vce-col:not(:nth-child(2)) {
    flex-basis: 10% !important;
  }

  .cab-home .vce-row-content .vce-col:nth-child(2) {
    flex-basis: 80% !important;
    max-width: 80% !important;
  }
}

@media screen and (max-width: 1200px) {
  .pad-txt>div>.vce-col-content {
    padding: 80px 40px;
  }

  /* #tratamientos-home .tratamiento {
    flex: 0 0 40%;
  } */

  .lista-doble ul {
    margin-left: 20px;
  }

  .cab-home {
    padding-top: 10vh !important;
    padding-bottom: 10vh !important;
  }
}

@media screen and (max-width: 1080px) {
  h1 {
    font-size: 2.9rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.7rem;
  }

  /* .cab-home button.prev {
    left: 40px;
  }
  
  .cab-home button.next {
    right: 40px;
  } 

  #tratamientos-home {
    padding-left: 60px;
  }*/

  .mapa iframe {
    height: 250px;
  }

  /*footer*/
  .site-info {
    margin-top: 20px;
  }

  .inside-site-info {
    display: initial;
    padding-bottom: 80px !important;
  }

  .logos-kit-digital img {
    max-width: 210px;
  }

  .logos-kit-digital>img:last-child {
      max-width: 18%;
  }

  .footer-site .footer-wrapper .footer-image {
    flex: 0 0 40%;
  }
  
  .footer-site .footer-wrapper .footer-col {
    flex: 0 0 55%;
  }

  .footer-site .footer-logo {
    max-width: 250px;
  }
}

@media screen and (max-width: 991px) {
  .cab-home {
    height: fit-content;
    padding-top: 5vh !important;
    padding-bottom: 5vh !important;
  }

  .cab-home .vce-row-content .vce-col:not(:nth-child(2)) {
    flex-basis: 5% !important;
  }

  .cab-home .vce-row-content .vce-col:nth-child(2) {
    flex-basis: 90% !important;
    max-width: 90% !important;
  }
 /* #tratamientos-home {
  padding-left: 40px;
 } */

 .lista-doble .vce-text-block-wrapper {
  flex-direction: column;
 }

 .lista-doble ul {
  flex: 0 0 100%;
  margin-bottom: 0;
  margin-left: 35px;
 }
}

@media screen and (max-width: 950px) {
  #page {
    margin-top: 97px;
  }

  .cab-home h1, .cab-home h2 {
    font-size: 3rem;
  }

  /* #tratamientos-home .tratamiento img {
    height: 350px;
  } */

  .h600 .vce-single-image-wrapper,
  .h600 .vce-single-image-wrapper .vce-single-image-figure-inner {
    height: 500px !important;
  }

  /*footer*/
  .footer-site {
    padding: 40px 20px;
  }

  .footer-site .footer-wrapper {
    justify-content: flex-start;
    gap: 20px;
  }

  .footer-site .footer-wrapper .footer-image {
    width: 30%;
    flex: 0 0 30%;
  }
  
  .footer-site .footer-wrapper .footer-col {
    flex: 0 0 67%;
    width: 67%;
  }

  .footer-site .footer-logo {
    max-width: 200px;
  }
}

@media screen and (max-width: 820px) {
  .show-mv {
    display: initial !important;
  }

  .has-inline-mobile-toggle .inside-header {
    height: 100px;
    align-items: center;
  }
  
  #page {
    margin-top: 100px;
  }

  /* .cab-home, 
  .cab-home .carousel,
  .cab-home .slides {
    height: calc(100vh - 175px);
  } */

  .cab-home h1, .cab-home h2 {
    font-size: 2rem;
  }

  /* .cab-home .slide-content {
    max-width: 85% !important;
    text-align: center;
    padding: 0 !important;
    left: 0;
    right: 0;
    margin: auto;
  }

  .cab-home button.prev {
    left: 20px;
    top: 10%;
  }
  
  .cab-home button.next {
    right: 20px;
    top: 10%;
  } */

}

@media screen and (max-width: 780px) {

  /* #tratamientos-home .tratamiento img {
    height: 250px;
  } */
  
  .pad-txt>div>.vce-col-content {
    padding: 60px 40px;
  }

  .cirugia .vce-single-image-wrapper,
  .cirugia .vce-single-image-wrapper .vce-single-image-figure-inner,
  .cirugia img {
    height: 250px !important;
  }
}

 
/* @media screen and (max-width: 768px) {
  .menu-bar-item.hide-on-mobile {
    display: initial !important;
  }
} */


@media screen and (max-width: 767px) {
  .cab-home .vce-row-content .vce-col:nth-child(2) {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .salto-pc {
    display: none;  
  }
  
  /* #tratamientos-home {
    padding-left: 20px;
  } */

  .h600 .vce-single-image-wrapper,
  .h600 .vce-single-image-wrapper .vce-single-image-figure-inner {
    height: 400px !important;
  }

  .tabla-cookies {
    overflow-x: scroll;
  }

  .footer-site .footer-logo {
    max-width: 180px;
  }

  .site-info {
    margin-top: 0;
  }
}

@media screen and (max-width: 680px) {
  .cita-img, 
  .cita-img *, 
  .cita-img img {
    height: 250px !important;
  }

  .footer-site {
    padding-top: 0;
  }

  .footer-site .footer-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-site .footer-wrapper .footer-image,
  .footer-site .footer-wrapper .footer-col {
    width: 100%;
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-site .footer-rrss {
    justify-content: center;
  }

  .footer-site .footer-logo {
    max-width: 250px;
  }

  .inside-site-info {
    padding-bottom: 50px !important;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
/* 
  #tratamientos-home .tratamiento {
    flex: 0 0 75%;
  }

  #tratamientos-home .tratamiento .trat-txt p {
    height: 90px;
  }

  #tratamientos-home .tratamiento img {
    height: 300px;
  } */

  /* footer */
  .logos-kit-digital img {
      max-width: 165px;
      padding: 10px 5px;
  }

  .logos-kit-digital>img:last-child {
      max-width: 24%;
  }

  body.blog #content {
    padding: 40px 20px;
  }

  body.single-post #content .entry-header {
    padding: 0 20px;
  }
  
  body.single-post #content .entry-content {
    padding: 0 20px 40px 20px;
  }
}

@media screen and (max-width: 560px) {
  /* #tratamientos-home {
    padding-left: 20px;
  } */

  .pad-txt>div>.vce-col-content {
    padding: 40px 20px;
  }

  .logos-kit-digital>img:last-child {
    max-width: 36%;
  }

  .inside-site-info {
    padding-bottom: 70px !important;
  }
}

@media screen and (max-width: 430px) {
  .h600 .vce-single-image-wrapper,
  .h600 .vce-single-image-wrapper .vce-single-image-figure-inner {
    height: 250px !important;
  }
}

/* CAPTCHA */
.grecaptcha-badge {
  display: none;
}
