/* THEME CSS */
:root {
  --bs-primary: #1896b8;
  --bs-primary-rgb: 24, 150, 184;
  --bs-secondary: #105e78;
  --bs-secondary-rgb: 16, 94, 120;

  /* Colores de enlace */
  --bs-link-color: #000;
  --bs-link-hover-color: #000;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

@media only screen and (min-width: 576px) and (max-width: 1439px) {
  .container {
    max-width: 100%;
  }
} /* end media*/
@media only screen and (min-width: 576px) and (max-width: 1739px) {
  .container-xl,
  .header-pages {
    max-width: 100%;
  }
} /* end media*/

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
    margin: 0 auto;
  }
} /* end media*/
@media (min-width: 1740px) {
  .container-xl {
    max-width: 1740px;
    margin: 0 auto;
  }
} /* end media*/

@media (min-width: 1200px) and (max-width: 1919px) {
  .container-fluid {
    max-width: 100% !important;
  }
} /* end media*/

@media (min-width: 1920px) {
  .container-fluid {
    max-width: 1920px;
    margin: 0 auto;
  }
} /* end media*/

/* Archia - Thin */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-thin-webfont.woff2") format("woff2"),
    url("../fonts/archia-thin-webfont.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Archia - Light */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-light-webfont.woff2") format("woff2"),
    url("../fonts/archia-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Archia - Regular */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-regular-webfont.woff2") format("woff2"),
    url("../fonts/archia-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Archia - Medium */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-medium-webfont.woff2") format("woff2"),
    url("../fonts/archia-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Archia - Semibold */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-semibold-webfont.woff2") format("woff2"),
    url("../fonts/archia-semibold-webfont.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Archia - Bold */
@font-face {
  font-family: "Archia";
  src:
    url("../fonts/archia-bold-webfont.woff2") format("woff2"),
    url("../fonts/archia-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-size: clamp(1rem, 1.4vw + 1rem, 1.5rem);
  line-height: clamp(120%, 2vw + 100%, 110%);
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  overflow-wrap: break-word;
}

.lead {
  font-size: clamp(1rem, 1.4vw + 1rem, 1.6rem);
  line-height: 120%;
  font-weight: 300;
}
img {
  max-width: 100%;
  height: auto;
}

.text-decoration-none a {
  text-decoration: none;
}
.fw-bolder {
  font-weight: 800;
}
/* line-height solo titulares */
:is(h1, h2, h3, h4, h5, h6, [class^="display-"]) {
  font-family: "Archia", sans-serif;
  line-height: 120%;
  font-weight: 400;
}

/* Selecciona cualquier strong dentro de encabezados o clases de display */
:is(h1, h2, h3, h4, h5, h6, [class^="display-"]) strong {
  font-weight: 700;
}

/* Titulares y Clases de Titular */
h1,
.h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
h2,
.h2 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.5rem);
}

h3,
.h3 {
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.2rem);
}

h4,
.h4 {
  font-size: clamp(1.2rem, 2vw + 1rem, 2rem);
}

/* Displays (Titulares gigantes de Bootstrap) */
.display-1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 5rem);
}

.display-2 {
  font-size: clamp(1.8rem, 3.25vw + 1rem, 4.5rem);
}

.display-3 {
  font-size: clamp(1.6rem, 3.75vw + 1rem, 3.75rem);
}

.display-4 {
  font-size: clamp(1.4rem, 2.5vw + 1rem, 3.2rem);
}

.display-5 {
  font-size: clamp(1.3rem, 2.25vw + 1rem, 2.5rem);
}

.display-6 {
  font-size: clamp(1rem, 2vw + 1rem, 2rem);
}

@media (min-width: 768px) {
  .bg-100 .wp-block-cover,
  .bg-100 .wp-block-cover-image {
    min-height: 100%;
  }
} /* end media*/

/* Color Primario  */
.has-primary-color {
  color: #1896b8;
}

.has-primary-background-color {
  background-color: #1896b8;
}

/* Color secundario  */
.has-secondary-color {
  color: #105e78;
}

.has-secondary-background-color {
  background-color: #105e78;
}
.wp-block-separator {
  border-top: 2px solid #000;
  width: 45% !important;
  opacity: 1;
}

.text-primary a {
  color: #1896b8;
}
.text-primary a:hover {
  color: #000;
}
/* Estilo global para todos los botones de bloques de WordPress */
.wp-block-button__link {
  background-color: #1896b8 !important;
  color: #ffffff !important;
  border: none;
  border-radius: 0;
  transition: background-color 0.2s ease-in-out;
  line-height: 120%;
  padding: 30px;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.5vw + 1rem, 1.75rem);
}

.wp-block-button__link:hover {
  background-color: #000 !important;
  color: #ffffff !important;
  text-decoration: none;
}

.is-style-outline .wp-block-button__link {
  background-color: #fff !important;
  color: #000 !important;
  border: 2px solid #000;
  padding: 30px;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.5vw + 1rem, 1.75rem);
}
.is-style-outline .wp-block-button__link:hover {
  background-color: #000 !important;
  color: #fff !important;
}

.custom-logo-img,
.custom-logo-footer {
  width: clamp(100px, 12vw + 200px, 375px);
  height: auto; /* Mantener proporción */
}

.site-footer {
  background-color: #105e78;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ddd;
  text-decoration: underline;
}

/* .redes-footer svg {
  height: clamp(2rem, 5vw + 1rem, 5rem);
  width: clamp(2rem, 5vw + 1rem, 5rem); 
  margin: 5px;
}
.redes-footer svg:hover {
  fill:#b99584
} */

/* .widget-3 ul {
  padding-left: 0;
}
.widget-3 li {
  list-style: none;
  padding: 5px;
  margin: 0;
} */

.legales h2 {
  font-size: 22px;
  margin: 25px 0;
}
.legales h3 {
  font-size: 18px;
}
.legales p,
.legales li,
.legales {
  font-size: 16px;
  line-height: 120%;
}

/* boton nav-bar menu movil */
.navbar-toggler-icon {
  background-image: url('data:image/svg+xml,<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><g><rect x="2.2" y="9.6" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="21.8" style="fill:%23000;" width="45.7" height="6.4"/><rect x="2.2" y="34" style="fill:%23000;" width="45.7" height="6.4"/></g></svg>');
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler-icon:focus,
.btn-close:focus {
  outline: none !important;
  border: none !important;
  border-width: 0;
  box-shadow: none !important;
  border: none;
}

/* main menu */
.navbar-nav li {
  text-align: left;
  line-height: 1.2;
}

.navbar-nav li a.nav-link {
  font-size: clamp(1rem, 1vw + 1rem, 1.2rem);
  line-height: 1.2;
  font-weight: 500;
  color: #000;
  text-wrap: nowrap;
}

/* idiomas */
.navbar-nav .lang-item a.nav-link {
  color: #000;
}
.navbar-nav .lang-item a.nav-link:hover {
  color: #fff;
  background-color: #000;
}

@media (min-width: 768px) {
  /* boton item-nav  estilo boton negro */
  .link-boton a.nav-link {
    padding: 10px 25px !important;
    border-radius: 9999px;
  }
  /* boton item-nav */
  .link-boton a.nav-link:hover {
    background-color: #000;
    color: #fff;
  }
} /* end media*/

/* .navbar-nav .pll-parent-menu-item {
  width: auto;
  max-width: 45px;
} */

.dropdown-menu {
  border: none;
  padding-left: 1.5rem;
}

.navbar-nav .dropdown-menu {
  padding: 10px 25px;
}
.navbar-nav .dropdown-menu li a.nav-link {
  font-size: 1rem;
}

.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
  background-color: #fff;
}

@media only screen and (min-width: 768px) {
  .navbar-nav li {
    margin-left: 4vw;
  }
  .navbar-nav .dropdown-menu li {
    padding: 5px !important;
  }
  .navbar-nav .dropdown-menu li a.nav-link,
  .navbar-nav .dropdown-menu li.link-boton a.nav-link {
    font-size: clamp(0.9rem, 1vw + 1rem, 1rem);
    text-align: left;
    background-color: transparent;
    color: #fff;
    border-radius: 0;
  }
  .navbar-nav .dropdown-menu li a.nav-link:hover,
  .navbar-nav .dropdown-menu li.link-boton a.nav-link:hover {
    background-color: transparent;
    color: #fff;
  }

  .navbar-nav .dropdown-menu {
    background-color: #1896b8;
    padding: 5px;
  }
} /* end media */

/* bloques gutemberg */
@media (min-width: 1200px) {
  .wp-block-cover,
  .wp-block-cover-image {
    min-height: 600px;
  }
} /* end media*/

/* contact form  */

.wpcf7 {
  max-width: 100% !important;
}

.wpcf7-form
  :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
  border: 1px solid #000;
  border-radius: 0;
  background: #fff !important;
  padding: 10px 15px;
  /* font-size: 20px; */
  width: 100% !important;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background: #105e78;
  border: none;
  padding-inline: clamp(1rem, 1.4vw + 1rem, 1.7rem);
  padding-block: 1.5rem;
  border-radius: 0;
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  line-height: 1;
  color: #fff;
  font-weight: 400;
}
.wpcf7 input[type="submit"]:hover {
  background: #1896b8;
  color: #fff;
  text-decoration: underline;
}

.wpcf7 input[type="submit"]:disabled {
  background: #666;
  color: #fff;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0 !important;
  padding: 20px !important;
  background-color: #fff;
  font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #ddd;
}

.wpcf7-form ::placeholder {
  color: #6f6f6e !important;
  font-weight: normal;
  font-size: 18px;
}
.wpcf7-not-valid-tip {
  color: red !important;
  font-weight: normal;
  font-size: 15px;
  padding: 10px;
}
.wpcf7-form textarea {
  height: 240px;
}

/* Evita el foco azul feo de los navegadores */
.wpcf7-form *:focus {
  outline: none !important;
  box-shadow: none !important;
}

.wpcf7-acceptance {
  font-size: 14px;
  line-height: 1;
}
.form-privacidad {
  font-size: 13px;
  line-height: 1.2;
}

.wpcf7-acceptance a:hover,
.form-privacidad a:hover {
  text-decoration: underline;
}
.wpcf7-acceptance a:hover,
.form-privacidad a:hover,
.wpcf7-acceptance a,
.form-privacidad a {
  color: #000;
}

@media only screen and (min-width: 1024px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 26px;
  }
  .wpcf7-form ::placeholder {
    font-size: 26px;
  }
} /*  end css */

.text-white a,
.text-white p {
  color: #fff;
}
.text-white a:hover {
  text-decoration: underline;
  color: #fff;
}

/* HOME bloque incio fotos */

.wp-block-cover,
.wp-block-cover-image {
  padding: 0 !important;
}

.understrap-read-more-link {
  background-color: none;
  border-radius: 30px;
  color: #000;
  text-decoration: none;
  border: 2px solid #000;
  padding: 15px 25px;
  font-size: 20px;
  min-width: 100px;
  display: inline-block;
  text-align: center;
}
.understrap-read-more-link:hover {
  background-color: #000;
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .understrap-read-more-link {
    font-size: 29px;
    border-radius: 40px;
    min-width: 150px;
  }
} /* end css */
@media only screen and (min-width: 1200px) {
  .understrap-read-more-link {
    font-size: 36px;
    border-radius: 50px;
  }
} /* end css */

#index-wrapper article:nth-of-type(even) .row {
  flex-direction: row-reverse;
}

/* ========================================================================== */
/* PAGINATION STYLES - .nav-links */
/* ========================================================================== */
.navigation {
  padding: 1rem 0.5rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 10px 16px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #000;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.nav-links .page-numbers.current,
.nav-links span.page-numbers.current {
  background-color: #000;
  color: #fff;
  border-color: #000;
  cursor: default;
}

@media (min-width: 768px) {
  .nav-links a,
  .nav-links span {
    padding: 6px 20px;
    font-size: 1.1rem;
  }
} /* end media */

/* ========================================================================== */
/* PAGINATION ARROWS - Previous/Next */
/* ========================================================================== */

/* Ocultar el texto y mostrar flechas */
.nav-links a.prev,
.nav-links a.next {
  font-size: 0;
  width: 50px;
  height: 50px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Flecha izquierda (Previous) */
.nav-links a.prev::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H11.5a.5.5 0 0 1 .5.5z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Flecha derecha (Next) */
.nav-links a.next::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 8a.5.5 0 0 0 .5.5h7.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L12.293 7.5H4.5A.5.5 0 0 0 4 8z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.bloque-consultar a {
  text-decoration: underline;
  color: #fff;
  transition: background-size 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='6'%3E%3Cpath d='M0 0.5h40M0 2.5h40M0 4.5h40' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%; /* Lo situamos al final del texto */
  background-size: 0% 6px; /* Ancho 0 para la animación */
  padding-bottom: 4px; /* Espacio para que luzcan las líneas */
}

.bloque-consultar a:hover {
  background-size: 100% 6px; /* Al hacer hover, se extiende al 100% */
  text-decoration: underline;
}

.cky-btn-revisit-wrapper {
  background-color: #000 !important;
}
.cky-btn-customize,
.cky-btn-reject,
.cky-btn-accept,
.cky-btn-preferences {
  border-color: #000 !important;
  color: #000 !important;
  background-color: #fff !important;
}
/* video de fondo */
.video-background {
  position: relative;
  width: 100%;
  height: 100%; /* Altura de toda la pantalla */
  overflow: hidden;
  min-height: 750px;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Esto es clave para videos verticales */
  transform: translate(-50%, -50%);
  z-index: -1; /* Lo envía al fondo */
}

@media only screen and (max-width: 1200px) {
  :where(.wp-block-columns.is-layout-flex.servicio) {
    gap: 1em;
  }
} /* end media */

/* efectos bloque fijo paginas inicio y contacto */

.img-valores {
  max-width: 290px;
}

.columna-larga {
  padding: 0;
}

@media only screen and (min-width: 768px) {
  .contenedor-padre {
    display: flex; /* Para las dos columnas */
    align-items: flex-start; /* Crucial para que el sticky funcione */
    /* background-color: #105e78; */
    gap: 0; /* Elimina espacio entre columnas */
    padding: 0;
  }

  .columna-fija {
    position: sticky;
    top: 0px; /* Distancia desde el borde superior de la ventana */
    width: 50%;
    margin: 0;
  }

  .columna-larga {
    width: 50%;
    padding: 0;
    /* Aquí va el contenido extenso que genera el scroll */
  }

  .bloque-valores {
    margin-top: -120px;
  }
  .img-valores {
    max-width: none;
  }
} /* end media */

.valores_texto h3 {
  color: #fff;
  font-weight: 500;
}

.bg-icono-g {
  background-image: url("https://www.leonorgqabogada.com/wp-content/uploads/2026/04/icono-g.svg");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 70%;
}
