/*
 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 */
/* @import url('https://fonts.googleapis.com/css2?family=Unna:ital,wght@0,400;0,700;1,400;1,700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* VARIABLES POR DEFECTO */

:root {
  --c-negro: #000;
  --c-blanco: #FFFFFF;
  --c-texto: #383838;
  --c-primario: #d9aa40;
  --c-primario-claro: #f5dba4;
  --c-grisclaro: #EFEFEF;
  --c-gris: #f0f1f4;

  --f-primaria: 'Poppins', sans-serif;
}


/* OUTLINE */
*:focus { outline: 5px solid cyan; }


/* ESTILOS COMUNES */
a.skip-link {
  color: var(--c-negro);
}

#main {
  margin: 0;
}

.zindex0 {
  z-index:0;
}

.zindex1 {
  z-index:1;
}

body {
  font-family: var(--f-primaria);
  color: var(--c-negro);
  font-size: 1.125rem;
  line-height: 1.6875rem;
}

a {
  color: var(--c-texto);
  text-decoration: none;
}

a:hover {
  color: var(--c-primario);
}

a, a:hover {
  transition: all 0.4s ease !important;
}

.align-stretch .vce-col,
.align-stretch .vce-col-inner {
  align-items: stretch;
}

.align-stretch .vce-col-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  height: 100%;
}

.txt-center {
  text-align: center;
}

.txt-blanco {
  color: var(--c-blanco);
}

.txt-big {
  font-size: 1.15em;
}

.shadow>div {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}

.num p {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: var(--c-gris);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
}

.lista ul,
ul.lista {
  margin-left: 0;
  list-style: none;
}

.lista ul li,
ul.lista li {
  position: relative;
  padding-left: 20px;
}

.lista ul li::before,
ul.lista li::before {
  content: "";
  position: absolute;
  background-color: var(--c-primario);
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50px;
}

.lista-spark ul,
ul.lista-spark {
  margin-left: 0;
  list-style: none;
}

.lista-spark ul li,
ul.lista-spark li {
  position: relative;
  padding-left: 35px;
}

.lista-spark ul li:not(:last-child),
ul.lista-spark li:not(:last-child) {
  margin-bottom: 10px;
}

.lista-spark ul li::before,
ul.lista-spark li::before {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2025/02/spark.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  left: 0;
  top: 2px;
  width: 25px;
  height: 25px;
}

/* TÍTULOS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-primaria);
  line-height: 1.25em;
  font-weight: 500;
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.35rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1.1rem;
}

/* HOME */
.cab-home {
  margin-top: -150px;
}

.cab-home .vce-row-content {
  padding-top: 30vh;
  padding-bottom: 10vh;
  padding-right: 20px !important;
  padding-left: 20px !important;
}

.ico-cert p {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: var(--c-blanco);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
}

/* INTERNAS */
.cab-inner {
  margin-top: -150px;
}

.cab-inner .vce-row-content {
  padding-top: 20vh;
  padding-bottom: 5vh;
  padding-right: 20px !important;
  padding-left: 20px !important;
}

/* CONTACTO */
.link-contacto h2 {
  font-size: 1.65rem;
}

.mapa {
  overflow: hidden;
}

.mapa iframe {
  width: 100%;
  height: 900px;
  border-radius: 20px 0 0 20px;
  margin-bottom: -10px;
}

/* 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%;
  border-radius: 10px;
}

#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;
}

#form-contacto .datos-usuario {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#form-contacto .datos-usuario .full {
  flex: 0 0 100%;
}

#form-contacto .datos-usuario .half {
  flex: 0 0 47%;
}

#form-contacto textarea.wpcf7-form-control {
  background-color: var(--c-blanco) !important;
  margin-top: 5px;
  width: 100%;
  max-height: 100px;
  border-radius: 10px;
}

.txt-legal {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.txt-legal .tab-legal {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
}

.txt-legal .tab-legal p {
  color: var(--c-texto) !important;
  font-size: 1.2em;
  margin-bottom: 0px;
}

.txt-legal .tab-legal:hover {
  cursor: pointer;
}

.txt-legal .tab-legal .plus-icon {
  margin-top: 4px;
}

.txt-legal .tab-legal .plus-icon svg {
  transform: rotate(45deg);
  fill: var(--c-texto);
}

.txt-legal .let-peq {
  margin: 0;
  padding-left: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.txt-legal .let-peq > p {
  font-size: 0.8rem;
  line-height: 1.25em !important;
  color: var(--c-texto) !important;
}

/* HEADER */
.site-header {
  background-color: var(--c-blanco);
}

.site-header .inside-header {
  max-width: 1200px;
  position: relative;
}

.site-header .inside-header,
.site-header .site-logo {
  z-index: 5;
}

.site-header .inside-header nav {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
  padding: 0 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  max-width: 700px;
}

.site-header .inside-header #sticky-navigation {
  top: 40px !important;
  left: unset;
  right: calc((100vw - 1200px) / 2);
}

.site-header .inside-header nav a {
  font-size: 1.1rem;
  position: relative;
}

.site-header .inside-header nav a::after {
  content: "";
  position: absolute;
  background-color: var(--c-primario);
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 0;
  transition: all 0.35s ease;
}

.site-header .inside-header nav a:hover::after {
  width: 100%;
}

.site-header .inside-header .ig-menu a,
#generate-slideout-menu .ig-menu a {
  color: transparent !important;
  padding-top: 15px;
}

.site-header .inside-header .ig-menu a::after,
#generate-slideout-menu .ig-menu a::after {
  display: none !important;
}

.site-header .inside-header .ig-menu svg,
#generate-slideout-menu .ig-menu svg {
  width: 25px;
  height: 25px;
}

.site-header .inside-header .ig-menu svg path,
.site-header .inside-header .ig-menu svg circle,
#generate-slideout-menu .ig-menu svg path,
#generate-slideout-menu .ig-menu circle {
  transition: all 0.35s ease;
}

.site-header .inside-header .ig-menu a:hover svg path,
.site-header .inside-header .ig-menu svg a:hover circle,
#generate-slideout-menu .ig-menu svg a:hover path,
#generate-slideout-menu .ig-menu svg a:hover circle {
  fill: var(--c-primario);
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--c-texto);
  font-weight: 700;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a::after {
  width: 100%;
}

#generate-slideout-menu a {
  font-size: 1.1rem;
  position: relative;
}

#generate-slideout-menu a::after {
  content: "";
  position: absolute;
  background-color: var(--c-primario);
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 0;
  transition: all 0.35s ease;
}

#generate-slideout-menu li[class*="current-menu-"] > a::after {
  width: 100%;
}

.site-header .inside-header #mobile-menu-control-wrapper {
  padding: 0;
}

.site-header .inside-header .menu-toggle {
  background-color: transparent;
}

/* FOOTER */
.site-footer .tit-footer {
  font-family: var(--f-primaria);
  font-size: 1.375rem; /*22px;*/
  font-weight: 500;
  margin-bottom: 15px;
  margin-left: -30px;
}

.site-footer hr {
  background-color: var(--c-primario);
  margin: 30px auto 0;
  width: 100%;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0;
}

.site-footer .footer-widgets-container .inner-padding {
  padding: 0;
}

.footer-widget-1 {
  width: 100%;
}

.footer-widget-1 .footer-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: flex-start;
}

.footer-widget-1 .footer-col {
  width: 35%;
  border-left: 1px solid var(--c-primario);
  padding: 5px 0 5px 50px;
  height: 100%;
}

.footer-widget-1 .footer-col:first-child {
  text-align: center;
  border: none;
  padding: 0;
  width: 30%;
}

.footer-widget-1 .footer-col img {
  width: 120px;
}

.footer-widget-1 .rrss-footer {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.footer-widget-1 .rrss-footer svg {
  width: 25px;
  height: 25px;
  fill: var(--c-primario);
  transition: all 0.3s ease;
}

.footer-widget-1 .rrss-footer a:hover svg {
  fill: var(--c-texto);
}

.footer-widget-1 .footer-col .link-direccion,
.footer-widget-1 .footer-col .link-telefono,
.footer-widget-1 .footer-col .link-correo {
  position: relative;
  color: var(--c-negro);
  transition: all 0.35s ease;
}

.footer-widget-1 .footer-col .link-direccion:hover,
.footer-widget-1 .footer-col .link-telefono:hover,
.footer-widget-1 .footer-col .link-correo:hover {
  color: var(--c-primario);
}

.footer-widget-1 .footer-col .link-direccion::before {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2025/02/direccion.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  left: -30px;
  top: 5px;
  width: 20px;
  height: 20px;
}

.footer-widget-1 .footer-col .link-telefono::before {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2025/02/telefono.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  left: -30px;
  top: 5px;
  width: 20px;
  height: 20px;
}

.footer-widget-1 .footer-col .link-correo::before {
  content: "";
  position: absolute;
  background: url("/wp-content/uploads/2025/02/correo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  left: -30px;
  top: 5px;
  width: 20px;
  height: 20px;
}

/* LOGOS KIT DIGITAL */

.logos-kit-digital {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.logos-kit-digital img {
  display: block;
  max-width: 160px;
  padding: 0 20px;
}

.logos-kit-digital>img:last-child {
  max-width: 120px;
}


/* BLOG */
#pag-blog .wp-show-posts-single .wp-show-posts-inner {
  padding: 30px;
  background-color: var(--c-blanco);
  border-bottom: 3px solid var(--c-primario);
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

#pag-blog .wp-show-posts-single h2 {
  font-size: 1.5rem;
}

#pag-blog .wpsp-read-more a {
  border-radius: 200px;
  font-weight: 500;
  text-transform: uppercase;
}

#pag-blog .wpsp-load-more {
  text-align: center;
}

#pag-blog .wpsp-load-more .page-numbers {
  margin: 0 10px;
}

body.single-post {
  background: linear-gradient(180deg, var(--c-blanco), var(--c-gris));
}

body.single-post article .inside-article {
  background-color: transparent;
}

body.single-post .entry-header {
  padding: 30px;
  background-color: var(--c-blanco);
  border-left: 3px solid var(--c-primario);
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

body.single-post .entry-content {
  padding: 40px 20px;
  margin: 0;
}

body.single-post .featured-image {
  margin: 0 0 -20px !important;
  position: relative;
  z-index: 0;
}

body.single-post .featured-image img {
  width: 100%;
  object-fit: cover;
}


/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 1200px) {
  .mapa iframe {
    height: 800px;
  }
}

@media screen and (max-width: 1080px) {
  .footer-widget-1 .footer-col:first-child {
    width: 20%;
  }

  /* LOGOS KIT DIGITAL */
  .logos-kit-digital img {
      max-width: 210px;
  }

  .logos-kit-digital>img:last-child {
      max-width: 23%;
  }

  .cab-home .vce-row-content {
    padding-top: 20vh;
    padding-bottom: 5vh;
  }
  
  .cab-inner .vce-row-content {
    padding-bottom: 2vh;
  }

  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.35rem;
  }
  
  h5 {
    font-size: 1.2rem;
  }
  
  h6 {
    font-size: 1.05rem;
  }

  .link-contacto a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 991px) {
  #footer-widgets .footer-widgets-container {
    padding-bottom: 0;
  }

  .site-footer hr {
    margin-top: 15px;
  }

  .footer-widget-1 .footer-col {
    width: 50%;
  }

  .footer-widget-1 .footer-col:first-child {
    width: 100%;
    margin-bottom: 20px;
  }

  .mapa iframe {
    height: 350px;
    border-radius: 20px 20px 0 0;
  }
}

@media screen and (max-width: 780px) {
  body.single-post .featured-image img {
    height: 350px;
  }

  .cab-home .vce-row-content {
    padding-top: 250px;
    padding-bottom: 100px;
  }
  
  .cab-inner .vce-row-content {
    padding-top: 200px;
    padding-bottom: 30px;
  }

  .site-header .header-image {
    width: 90px !important;
  }

  .footer-widget-1 .footer-col {
    padding-left: 35px;
  }

  .footer-widget-1 .footer-col:nth-child(2) {
    width: 45%;
  }

  .footer-widget-1 .footer-col a {
    font-size: 1rem;
  }

  .site-footer .tit-footer {
    font-size: 1.2rem;
    margin-left: -20px;
  }
  
  .footer-widget-1 .footer-col .link-direccion::before,
  .footer-widget-1 .footer-col .link-telefono::before,
  .footer-widget-1 .footer-col .link-correo::before {
    top: 2px;
    left: -20px;
    width: 16px;
    height: 16px;
  }

  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.65rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  h5 {
    font-size: 1.15rem;
  }
}

@media screen and (max-width: 600px) {

  .footer-widget-1 .footer-row:first-child {
    flex-direction: column;
  }

  .footer-widget-1 .footer-col.col2,
  .footer-widget-1 .footer-col.col3 {
    margin-bottom: 20px;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--c-primario);
    padding-top: 20px;
  }

  .footer-widget-1 .footer-col.col3 {
    border-bottom: 1px solid var(--c-primario);
    padding-bottom: 20px;
  }

  .footer-widget-1 .footer-col:last-child {
    margin-bottom: 0;
  }

  .copyright-bar {
    font-size: 0.9rem;
    line-height: 1.3em;
  }

  /* LOGOS KIT DIGITAL */
  .logos-kit-digital {
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .logos-kit-digital img {
      max-width: 165px;
      padding: 10px 5px;
  }

  .logos-kit-digital>img:last-child {
      max-width: 40%;
  }

  body.single-post .featured-image img {
    height: 250px;
  }

  .mapa iframe {
    height: 250px;
  }
}

@media screen and (max-width: 400px) {
  #form-contacto .datos-usuario {
    flex-direction: column;
  }
  
  #form-contacto .datos-usuario .half {
    flex: 0 0 100%;
  }
}

/* CAPTCHA */
.grecaptcha-badge {
  display: none;
}