/*
 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
*/

*:focus {
  outline: 5px solid orange;
}

body {
  font-family: var(--font-body);
  color: var(--texto);
  font-size: var(--body);
  line-height: 1.5em !important;
}

.vce a {
  color: var(--texto) !important;
  text-decoration: underline;
}

a,
a:hover {
  transition: all 0.4s ease !important;
}

.vce-single-image-inner {
  padding-bottom: 0 !important;
}

.vce-single-image-inner img {
  position: relative !important;
}

.b-shadow {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.gradient-b-w {
  background: var(--gradient-blanco) !important;
}

.gradient-b-w > .vce-col-inner {
  background-color: var(--gris-claro) !important;
  margin: 1px !important;
}

.vce > p:last-child {
  margin-bottom: 0 !important;
}

.vce ul > li {
  margin-bottom: 5px;
}

.vce ul > li::marker {
  color: var(--corporativo);
  font-size: 22px;
}

.gradient-text p {
  background: linear-gradient(87deg, #008ed0 0%, #004d70 10%) !important;
  background: -webkit-linear-gradient(90deg, #008ed0 50%, #004d70 50%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.filter-blur {
  backdrop-filter: blur(10px);
}

.dest {
  color: var(--primario);
  border-bottom: 3px solid;
}

.text-w * {
  color: var(--blanco) !important;
}

span.text-a,
.text-a * {
  color: var(--primario) !important;
}

.b-bottom p {
  display: inline-block;
  border-bottom: 2px solid var(--primario);
}

/* ENCABEZADOS */

.tit h1,
span.tit-h1,
.page-id-41 h1 {
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--title-large);
  letter-spacing: var(--l-spacing);
}

.tit h2,
.page-id-41 h2 {
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--title-medium);
  font-weight: var(--medium);
  letter-spacing: var(--l-spacing);
}

.tit h3,
.tit p,
.page-id-41 h3 {
  font-family: var(--font-body);
  font-size: var(--title-small);
  font-weight: var(--medium);
  text-transform: uppercase;
  letter-spacing: var(--l-spacing);
}

.cab-home .slide-content p {
  font-family: var(--font-body);
  font-size: var(--title-medium);
  font-weight: var(--medium);
  line-height: 1.25em;
  letter-spacing: var(--l-spacing);
}

.subtit p {
  font-family: var(--font-body);
  font-size: var(--title-xs);
  line-height: 1.5em;
}

/* BOTONES */

.btn-norm a {
  padding: 13px 20px !important;
  color: var(--blanco) !important;
  background-color: var(--texto) !important;
  border: 2px solid var(--blanco) !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  font-size: var(--body) !important;
}

.btn-norm a:hover {
  background-color: var(--secundario) !important;
}

.btn-norm.btn-inv a {
  background: var(--gradient-azul) !important;
  background: -webkit-linear-gradient(87.7deg, #3dc4e3 0%, #074973 102.93%);
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  font-weight: var(--bold);
}

.btn-norm.btn-inv > span {
  background-color: var(--blanco);
  border-radius: 3px !important;
  border: 1px solid var(--blanco);
  transition: var(--all-transition);
}
.btn-norm.btn-inv > span:hover {
  background-color: rgba(1, 17, 38, 0.6);
}

/* INICIO */

/* .home h1 {
  font-size: var(--title-medium) !important;
} */

.cab-home {
  height: 900px;
}

.cab-home .carousel {
  position: relative;
  overflow: hidden;
}

.cab-home .slides {
  list-style: none;
  position: relative;
  height: 100%;
  height: 900px;
  margin: 0;
}

.cab-home .slides li {
  position: absolute;
  transition: transform 0.5s;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.cab-home .slides li img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cab-home .slides li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background: linear-gradient(160deg, var(--texto) 60%, var(--gris-claro) 100%); */
  opacity: 0.3;
  z-index: 0;
}

.cab-home .slide-content {
  position: absolute;
  z-index: 1;
  text-align: left;
  max-width: 1360px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 0px 80px;
}

.cab-home .slide-content .inside-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 10px;
}

.cab-home .slide-content .inside-content p {
  padding: 20px;
  background-color: hsla(0, 0%, 96%, 0.75);
  backdrop-filter: blur(5px);
}

.cab-home .slide-content h1 {
  margin-bottom: 0;
}

.cab-home .slide-content p {
  /* font-family: var(--font-body);
  font-size: var(--title-small);
  font-weight: var(--medium); */
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--title-small);
  font-weight: var(--medium);
  line-height: 1.25em;
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  row-gap: 20px; */
  margin-bottom: 0;
}

/* .cab-home .slide-content p span {
  display: inline-block;
  border-bottom: 2px solid var(--primario);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: var(--title-small);
  font-weight: var(--medium);
  line-height: 1.25em;
  color: var(--primario);
} */

.cab-home .carousel-nav {
  display: none !important;
  max-width: 1360px;
  width: 100%;
  right: 50%;
  transform: translateX(50%);
  position: absolute;
  bottom: 60px;
  display: flex;
  justify-content: flex-end;
  column-gap: 20px;
  z-index: 1;
}

.cab-home button.prev,
.cab-home button.next {
  color: var(--blanco);
  background-color: var(--primario);
  border-radius: 0%;
  border: 2px solid var(--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 {
  right: 60px;
}

.cab-home button.prev:hover,
.cab-home button.next:hover {
  background-color: var(--secundario);
}

.cab-home .dots ul {
  position: absolute;
  z-index: 20;
  bottom: 20px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 15px;
  width: 100%;
}

.cab-home .dots li {
  list-style: none;
  width: 20px;
  height: 20px;
}

.cab-home .dots li::after {
  content: "";
  background: var(--blanco);
  border: 2px solid var(--blanco);
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  transition: all 0.35s ease;
}

.cab-home .dots li.active::after {
  background: transparent;
}

/* PAGINAS INTERNAS */

.bg-azul {
  background-color: var(--secundario);
}

.section-serv > .vce-row-content > .vce-col {
  margin-bottom: 40px;
}

.icono > .vce-text-block-wrapper {
  text-align: center;
}

.tel p,
.email p {
  display: inline;
  padding-left: 30px;
  position: relative;
}
.tel p::before {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  position: absolute;
  left: 0;
  top: 4px;
  background-image: url(/wp-content/uploads/2025/04/telefono-color.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.email p::before {
  content: "";
  display: block;
  height: 15px;
  width: 15px;
  position: absolute;
  left: 0;
  top: 4px;
  background-image: url(/wp-content/uploads/2025/04/correo-electronico-color.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- RESPONSIVE ---------- */

@media screen and (max-width: 1440px) {
  .cab-home .slides,
  .cab-home {
    height: 700px;
  }

  .cab-home .slide-content {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 1080px) {

  * br {
    display: none;
  }

  .cab-home .slides,
  .cab-home {
    height: 500px;
  }

  .cab-home .slide-content {
    padding-bottom: 40px;
  }

  .cab-home .slide-content p {
    font-size: var(--title-xs);
  }
}

@media screen and (orientation: landscape) and (max-width: 844px) {
  .cab-home .slide-content {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .cab-home .slides,
  .cab-home {
    height: 185px;
  }

  .cab-home .slide-content {
    display: none;
  }

  .cab-home .slide-content .inside-content {
    min-height: 0;
  }

  .cab-home .carousel-nav {
    bottom: 6px;
  }

  .cab-home .dots ul {
    bottom: 10px;
  }

  .cab-home .dots li,
  .cab-home .dots li::after {
    width: 10px;
    height: 10px;
}

  .page-id-41 table {
    display: block;
    overflow: scroll;
  }

  /* PROYECTOS */

  .page-id-1097 iframe {
    height: 200px !important;
  }
}
