/*
 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*/
/*formulario*/



/* FUENTE */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap');


html {
  margin-top: 0 !important;
}


/* VARIABLES */

:root {
    --c-negro: #131313;
    --c-blanco: #FFFFFF;
    --c-primario: #00202D;
    --c-secundario: #03658C;
    --c-verde: #A3BD31;
    --c-gris: #F2F2F2;

    --deg-azul: linear-gradient(180deg, var(--c-primario), var(--c-secundario));
    --deg-verde: linear-gradient(180deg, var(--c-verde), var(--c-gris));
    --deg-mezcla: linear-gradient(180deg, var(--c-verde), var(--c-secundario));

    --shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.1);

    --f-primaria: 'Gowun Batang', serif;
    --f-secundaria: 'Lato', sans-serif;
}

/* OUTLINE */

*:focus { outline: 5px solid orange; }

/* ESTILOS COMUNES */

.zindex0 {
  z-index:0;
}

.zindex1 {
  z-index:1;
}

body {
  font-family: var(--f-secundaria);
  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-verde);
}

a, a:hover {
  transition: all 0.4s ease !important;
}

.txt-white a {
  color: var(--c-verde);
}

.txt-white a:hover {
  color: var(--c-blanco);
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--c-primario);
  font-weight: 700;
}

.bg-line {
  background: url(/wp-content/uploads/2024/02/bg-line.png);
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: -20% -80%;
}

.pad-txt .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 .vce-col-inner {
  box-shadow: var(--shadow);
} 

.row-shadow .vce-row-content {
  box-shadow: var(--shadow);
} 

.row-shadow .vce-row-content .vce-row-content {
  box-shadow: none !important;
} 

.ov-hidden {
  overflow: hidden;
}

.center {
  margin: auto;
  text-align: center;
}

.bg-deg .vce-col-content {
  background: var(--deg-azul);
}

/*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/03/flecha.png);
  width: 30px;
  height: 30px;
  position: absolute;
  left: 0px;
  top: 3px;
  border-radius: 100%;
}

.lista-doble ul li a:hover {
  color: var(--c-verde);
}

/* 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-secundario);
}

p:last-child {
  margin-bottom: 0;
}

.tit-deg h2, .tit-deg h3 {
  background-image: var(--deg-azul);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.txt-white, .txt-white p, .txt-white h2, .txt-white h3 {
  color: var(--c-blanco);
}

.txt-blue, .txt-blue p {
  color: var(--c-secundario);
}

.txt-center {
  text-align: center;
}

.subtitulo p, p.subtitulo {
  font-family: var(--f-primaria);
  font-size: 1.65rem;
  line-height: 1.25em;
}

/* distancia menú */
#page {
  margin-top: 157px;
}

/* HOME */
.cab-home {
  height: calc(100vh - 157px);
}

.cab-home .carousel {
  position: relative;
  overflow: hidden;
}

.cab-home .slides {
  list-style: none;
  position: relative;
  height: 100%;
  height: calc(100vh - 157px);
  margin: 0;
}

.cab-home .slides li {
  position: absolute;
  color: var(--c-blanco);
  transition: transform 0.5s;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cab-home .slides li.uno, 
.cab-home .slides li.cuatro {
  justify-content: flex-end;
}

.cab-home .slides li img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cab-home .slides li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(160deg, var(--c-primario) 60%, var(--c-gris) 100%);
  opacity: 0.3;
  z-index: 0;
}

.cab-home .slide-content {
  position: absolute;
  z-index: 1;
  text-align: left;
  max-width: 65%;
  padding-left: 15%;
  padding-right: initial;
  right: initial;
  left: 0;
}
/* 
.cab-home li.uno .slide-content,
.cab-home li.cuatro .slide-content {
  padding-left: initial;
  padding-right: 10%;
  max-width: 80%;
} */

.cab-home li.cuatro .slide-content {
  padding-right: 20%;
}

.cab-home .slide-content p {
  font-family: var(--f-secundaria);
  font-size: 1.25rem;
}

.cab-home button.prev,
.cab-home button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  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;
  z-index: 2;
}

.cab-home button.prev {
  left: 60px;
}

.cab-home button.next {
  right: 60px;
}

.cab-home button.prev:hover,
.cab-home button.next:hover {
  background-color: rgba(250, 250, 250, 0.3);
}

.cab-home .dots ul {
  position: absolute;
  bottom: 10%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cab-home .dots li {
  list-style: none;
  width: 20px;
  height: 20px;
}

.cab-home .dots li::after {
  content: "";
  background: var(--c-gris);
  border: 2px solid var(--c-gris);
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  transition: all 0.35s ease;
}

.cab-home .dots li.active::after {
  background: var(--deg-azul);
}

.cab-home #image-description {
  color: var(--c-blanco);
  opacity: 0;
}

.cab-home h1, .cab-home h2 {
  font-size: 3.75rem;
  text-transform: uppercase;
}

.cab-home .btn-w {
  margin-top: 20px;
}

/* 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 {
  height: 400px !important;
  margin-bottom: 30px;
}

.cita-img .vce-single-image-wrapper {
  height: 400px !important;
}

.cita-img img {
  height: 400px !important;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.9) saturate(0);
}

.ico-play {
  text-align: right;
  transition: all 0.4s ease;
}

.ico-play svg {
  margin-top: -150px;
  margin-bottom: 55px;
  margin-right: 40px;
  position: relative;
  z-index: 1;
  transition: all 0.45s ease;
}

.clickable:hover .ico-play svg {
  transform: scale(1.1);
  margin-right: 50px;
}

.ico-play a{
  color: transparent !important;
}

/*reseñas google*/
#google-reviews .vce-shortcode-wrapper {
  margin-bottom: 0;
}

#google-reviews .ti-reviews-container-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

#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: capitalize;
  font-size: 1.3rem;
}

#google-reviews .ti-review-item .ti-review-content {
  font-family: var(--f-secundaria);
}

#google-reviews .ti-review-item .ti-inner .ti-stars {
  margin: 10px 0;
}

#google-reviews .ti-header {
  margin-top: 20px;
  font-family: var(--f-secundaria);
}

/* 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%;
}



/* FORMULARIO DE CONTACTO */

input#nombre,
input#telefono,
input#email {
  background-color: var(--c-blanco) !important;
  border-bottom: 2px solid var(--c-primario);
  margin-top: 5px;
  width: 100%
}

#form-contacto textarea.wpcf7-form-control {
  background-color: var(--c-blanco) !important;
  border-bottom: 2px solid var(--c-primario);
  margin-top: 5px;
  width: 100%;
  max-height: 150px;
}

.aviso-cirugia {
  width: fit-content;
  padding: 20px;
  background-color: var(--c-blanco);
  border: 1px solid var(--c-verde);
}

/* CIRUGÍAS */
.cirugia .vce-single-image-wrapper,
.cirugia .vce-single-image-wrapper .vce-single-image-figure-inner,
.cirugia img {
  width: 100% !important;
  height: 350px !important;
  object-fit: cover;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 1200px) {
  .pad-txt .vce-col-content {
    padding: 80px 40px;
  }

  #tratamientos-home .tratamiento {
    flex: 0 0 40%;
  }

  .lista-doble ul {
    margin-left: 20px;
  }
}

@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;
  }

  /*footer*/
  .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: 200px;
  }

  /* botones flotantes */
  .c-btn-float .btn-float:last-child {
    bottom: 20px;
    right: initial;
    right: 80px;
  }
  
  .c-btn-float .btn-float:first-child {
    bottom: 20px;
    left: 80px;
    right: initial;
  }
}

@media screen and (max-width: 991px) {
 #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: 180px;
  }

}

@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 .vce-col-content {
    padding: 60px 40px;
  }

  /* botones flotantes */
  .c-btn-float .btn-float:last-child {
    right: 20px;
  }
  
  .c-btn-float .btn-float:first-child {
    left: 20px;
  }

  .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) {
  .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;
  }

  .cita-img,
  .cita-img .vce-single-image-wrapper,
  .cita-img img {
    height: 300px !important;
  }

  .cita-img img {
    object-position: center center;
  }
}

@media screen and (max-width: 680px) {
  .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: 200px;
  }

  .inside-site-info {
    padding-bottom: 50px !important;
  }

  .c-btn-float {
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .c-btn-float .btn-float {
    min-width: initial !important;
    position: initial !important;
    padding: 12px !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    border-radius: 0 !important;
  }
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }

  .site-header .header-image {
    width: 240px;
  }

  #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 .vce-col-content {
    padding: 40px 20px;
  }

  .c-btn-float .btn-float:first-child,
  .c-btn-float .btn-float:last-child {
    font-size: 0.9rem !important;
  }

  .logos-kit-digital>img:last-child {
    max-width: 36%;
  }

  .inside-site-info {
    padding-bottom: 70px !important;
  }

  .cita-img,
  .cita-img .vce-single-image-wrapper,
  .cita-img img {
    height: 250px !important;
  }
}

@media screen and (max-width: 430px) {
  .c-btn-float .btn-float:first-child, .c-btn-float .btn-float:last-child {
    height: 75px;
    display: flex;
    align-items: center;
  }

  .h600 .vce-single-image-wrapper,
  .h600 .vce-single-image-wrapper .vce-single-image-figure-inner {
    height: 250px !important;
  }
}

/* CAPTCHA */

.grecaptcha-badge {
  display: none;
}
