/* =========================================================
   CONFIGURACIÓN GENERAL DE CONTACTO
   ========================================================= */

/* Oculta los botones antiguos de WhatsApp de WordPress */
#wa,
.nta-whatsapp-popup,
.wa__button,
.nta-wa-gdpr,
.scroll-to-top {
  display: none !important;
}


/* =========================================================
   ENLACES TELEFÓNICOS SIMPLES
   ========================================================= */

.contact-phone-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.contact-phone-link:hover,
.contact-phone-link:focus-visible {
  color: #66b533;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   CALL CENTER DEL ENCABEZADO
   ========================================================= */

.contact-call-center {
  display: inline-block;
  width: auto;
  padding: 8px 14px;

  background-color: #ffffff;
  border: 1px solid rgba(0, 48, 141, 0.12);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 48, 141, 0.1);

  cursor: pointer;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-call-center .icon-box-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-call-center .icon-wrapper {
  flex: 0 0 auto;
  margin: 0 !important;
}

.contact-call-center .icon-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;

  text-align: left;
}

.contact-call-center .icon-box-title {
  margin: 0 !important;

  color: #15213a;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-availability,
.contact-call-center .contact-availability {
  display: block;
  margin: 0;

  color: #5e697b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.contact-call-center .contact-availability::before,
.contact-call-center .content::before {
  display: none !important;
  content: none !important;
}

.contact-call-center .content,
.contact-call-center .content p {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-call-center .content a {
  display: block;

  color: #00308d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.contact-call-center:hover,
.contact-call-center:focus-visible {
  background-color: #f5faef;
  border-color: #66b533;
  box-shadow: 0 7px 18px rgba(0, 48, 141, 0.14);

  outline: none;
  transform: translateY(-1px);
}


/* =========================================================
   BOTONES PARA REALIZAR LLAMADAS
   ========================================================= */

.contact-call-button {
  display: inline-flex !important;
  width: fit-content;
  padding: 9px 14px;

  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #ffffff !important;
  background-color: #00308d;
  border: 1.5px solid #00308d;
  border-radius: 999px;
  box-shadow: none;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.contact-call-button:hover,
.contact-call-button:focus-visible {
  color: #ffffff !important;
  background-color: #66b533;
  border-color: #66b533;
  box-shadow: none;

  outline: none;
  transform: translateY(-2px);
}

.contact-call-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* Borde blanco para botones ubicados en el footer */
footer .contact-call-button,
#footer .contact-call-button,
.tm-footer .contact-call-button {
  border-color: #ffffff;
}

footer .contact-call-button:hover,
footer .contact-call-button:focus-visible,
#footer .contact-call-button:hover,
#footer .contact-call-button:focus-visible,
.tm-footer .contact-call-button:hover,
.tm-footer .contact-call-button:focus-visible {
  border-color: #ffffff;
}


/* =========================================================
   TARJETA ¿AYUDA?
   ========================================================= */

.contact-help-card {
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  transform: none !important;
}

.contact-help-card:hover,
.contact-help-card:focus-visible {
  box-shadow: none !important;
  outline: none;
  transform: none !important;
}

.elementor-element.e-con:has(> .elementor-widget .contact-help-card) {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Contenedor principal centrado */
.contact-help-card .icon-box-wrapper {
  display: flex;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  flex-direction: column;
  align-items: center !important;
  justify-content: center;

  text-align: center !important;
}

/* Contenedor del icono */
.contact-help-card .icon-wrapper {
  position: relative;
  z-index: 2;

  display: block !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;

  background: transparent !important;
  box-shadow: none !important;

  transition: transform 180ms ease;
}

/* Círculo del teléfono */
.contact-help-card .icon-wrapper .icon {
  display: flex !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  margin: 0 auto !important;

  align-items: center;
  justify-content: center;

  font-size: 24px !important;
}

.contact-help-card .icon-wrapper .icon i {
  font-size: 24px !important;
}

/* Contenedor de los textos */
.contact-help-card .icon-text {
  position: relative;
  z-index: 2;

  width: 100% !important;
  margin: 8px auto 0 !important;
  padding: 0 !important;

  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;

  transition: transform 180ms ease;
}

/* Texto ¿Ayuda? */
.contact-help-card .content,
.contact-help-card .content p {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;

  text-align: center !important;
}

.contact-help-card .content p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;

  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* Texto Póngase en contacto con nosotros */
.contact-help-card .icon-box-title,
.contact-help-card .icon-box-title a {
  max-width: 170px;
  margin: 0 auto !important;

  font-size: 16px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

/* Elimina cuadros y decoraciones creadas por el tema */
.contact-help-card .icon-text::before,
.contact-help-card .icon-text::after,
.contact-help-card .icon-box-wrapper::before,
.contact-help-card .icon-box-wrapper::after {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

/* Eleva únicamente el icono y los textos */
.contact-help-card:hover .icon-wrapper,
.contact-help-card:focus-visible .icon-wrapper,
.contact-help-card:hover .icon-text,
.contact-help-card:focus-visible .icon-text {
  transform: translateY(-4px);
}


/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================= */

.innova-whatsapp-button {
  position: fixed;
  z-index: 99999;
  right: 28px;
  bottom: 64px;

  display: inline-flex;
  width: 60px;
  height: 60px;
  padding: 0;

  align-items: center;
  justify-content: center;

  color: #ffffff !important;
  background-color: #25d366;
  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);

  cursor: pointer;
  overflow: visible;
  text-decoration: none !important;

  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

/* Oculta WhatsApp cuando el footer está visible */
.innova-whatsapp-button--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
}

/* El botón flotante no interfiere con la navegación móvil abierta. */
body.mobile-menu-lock .innova-whatsapp-button {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(16px) scale(0.94) !important;
}

.innova-whatsapp-button img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
}

.innova-whatsapp-button:hover,
.innova-whatsapp-button:focus-visible {
  color: #ffffff !important;
  background-color: #1eaf54;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.27);

  outline: none;
  transform: translateY(-2px);
}

/* Etiqueta que aparece al pasar el mouse */
.innova-whatsapp-button .whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);

  display: block;
  width: auto;
  height: auto;
  padding: 9px 14px;
  overflow: visible;

  color: #193b42;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);

  font-family: "Barlow", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);

  transition:
    opacity 200ms ease,
    visibility 200ms ease,
    transform 200ms ease;
}

.innova-whatsapp-button:hover .whatsapp-label,
.innova-whatsapp-button:focus-visible .whatsapp-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* =========================================================
   FORMULARIO DE CONTACTO
   ========================================================= */

.wpcf7 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  font-family: inherit;
}

.wpcf7 .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-bottom: 24px;
}

.wpcf7 .form-group {
  width: 100%;
  margin-bottom: 24px;
}

/* Aviso y aceptación: un único bloque, sin franjas ni columnas enfrentadas. */
#innova-contact-form .form-group--privacy {
  display: flex;
  width: 100%;
  margin-bottom: 24px;
  flex-direction: column;
  gap: 14px;
}

#innova-contact-form .privacy-notice-box {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #5b5b5b;
  background: transparent;
  border: 0;
  line-height: 1.65;
  text-align: left;
}

#innova-contact-form .wpcf7-acceptance,
#innova-contact-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  width: 100%;
  margin: 0;
}

#innova-contact-form .wpcf7-acceptance label {
  display: grid;
  width: 100%;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #263248;
  font-weight: 400;
  text-align: left;
}

#innova-contact-form .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

#innova-contact-form .wpcf7-list-item-label {
  min-width: 0;
  line-height: 1.55;
}

.wpcf7 .half-width {
  width: 100%;
  min-width: 0;
}

.wpcf7 label {
  display: block;
  width: 100%;
  margin: 0;
  color: #163d34;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.wpcf7 .wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 10px;
}

/* Todos los campos con las mismas dimensiones */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 20px !important;

  color: #263248 !important;
  background: #ffffff !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 13px !important;
  box-shadow: none !important;

  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;

  box-sizing: border-box !important;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease !important;
}

/* Misma altura para nombre, correo, celular y servicio */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
  height: 64px !important;
  min-height: 64px !important;
}

/* Selector con flecha personalizada */
.wpcf7 select.innova-service-select,
.wpcf7 select[name="your-service"] {
  position: relative !important;
  z-index: 5 !important;

  display: block !important;
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;

  padding: 0 58px 0 20px !important;

  color: #263248 !important;
  background-color: #ffffff !important;

  /* Flecha SVG personalizada */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23073b95' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;

  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 18px 18px !important;

  border: 1px solid #dfe3e8 !important;
  border-radius: 13px !important;

  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Oculta solamente la copia defectuosa de WordPress */
.wpcf7
  select[name="your-service"]
  + .nice-select {
  display: none !important;
}

/* Área del mensaje */
.wpcf7 textarea {
  min-height: 170px !important;
  padding: 18px 20px !important;
  resize: vertical !important;
}

/* Texto inicial gris */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #a4a8ae !important;
  opacity: 1 !important;
}

/* Focus uniforme */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  background: #ffffff !important;
  border-color: #66b533 !important;
  box-shadow: 0 0 0 4px rgba(103, 191, 50, 0.13) !important;
  outline: none !important;
}

/* Selector inválido */
.wpcf7 select:invalid {
  color: #a4a8ae !important;
}

.wpcf7 select option {
  color: #263248 !important;
  background: #ffffff !important;
}

/* Campo antispam invisible */
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Mensaje posterior al envío */
.contact-form-status {
  display: flex;
  width: 100%;
  margin-top: 22px;
  padding: 20px 22px;

  flex-direction: column;
  gap: 8px;

  border: 1px solid transparent;
  border-radius: 14px;

  font-size: 15px;
  line-height: 1.55;
  box-sizing: border-box;
}

.contact-form-status[hidden] {
  display: none !important;
}

.contact-form-status strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.contact-form-status span {
  display: block;
}

.contact-form-status--success {
  color: #174828;
  background: #effbea;
  border-color: #a8da8c;
  border-left: 4px solid #66b533;
}

.contact-form-status--success strong {
  color: #236b29;
}

.contact-form-status--error {
  color: #762525;
  background: #fff3f3;
  border-color: #efb5b5;
  border-left: 4px solid #d63b3b;
}

.contact-form-status--error strong {
  color: #a52121;
}

.contact-form-status a {
  color: #00308d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-status a:hover {
  color: #66b533;
}

.contact-status-alternative {
  margin-top: 3px;
}

.btn-modern.is-loading {
  cursor: wait !important;
  opacity: 0.75 !important;
}


/* Evita respuestas antiguas de Contact Form 7 */
#innova-contact-form .wpcf7-response-output,
#innova-contact-form .screen-reader-response {
  display: none !important;
}
/* Elimina cargadores heredados de Contact Form 7 */
.wpcf7-spinner,
#innova-contact-form .wpcf7-spinner,
#innova-contact-form .ajax-loader {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* =========================================================
   FORMULARIO RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
  .wpcf7 {
    max-width: none;
  }

  .wpcf7 .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .wpcf7 .form-group {
    margin-bottom: 20px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 select {
    height: 58px !important;
    min-height: 58px !important;
  }

  .wpcf7 textarea {
    min-height: 150px !important;
  }
}


/* =========================================================
   DISEÑO RESPONSIVO
   ========================================================= */

@media (max-width: 767px) {
  .contact-availability,
  .contact-call-center .contact-availability {
    white-space: normal;
  }

  .contact-call-center {
    padding: 7px 11px;
  }

  .contact-call-button {
    padding: 9px 12px;
    font-size: 13px;
  }

  .contact-help-card .icon-wrapper .icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }

  .innova-whatsapp-button {
    right: 16px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }

  .innova-whatsapp-button img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  /* En celular se muestra solamente el icono */
  .innova-whatsapp-button .whatsapp-label {
    display: none;
  }
}


/* =========================================================
   ACCESIBILIDAD: REDUCIR ANIMACIONES
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-call-center,
  .contact-call-button,
  .contact-help-card .icon-wrapper,
  .contact-help-card .icon-text,
  .innova-whatsapp-button,
  .innova-whatsapp-button .whatsapp-label {
    transition: none;
  }
}

/* =========================================================
   PÁGINA DE CONTACTO — INFORMACIÓN Y OFICINAS
   ========================================================= */

/* El título queda como primer elemento, sin la etiqueta Contáctanos. */
.elementor-1231 [data-id="81b3bd8"] .title-wrapper {
  margin: 0 0 30px !important;
}

.elementor-1231 [data-id="81b3bd8"] .title {
  margin: 0 !important;
  color: #00308d !important;
  font-size: clamp(38px, 4.2vw, 64px) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

/* =========================================================
   INFORMACIÓN DE CONTACTO
   ========================================================= */

.contact-details {
  display: flex !important;
  width: 100% !important;
  margin-top: 24px !important;
  padding: 0 !important;

  flex-direction: column !important;
  gap: 18px !important;

  background: transparent !important;
}

/* Encabezado */
.contact-details-heading {
  margin-bottom: 2px;
}

.contact-details-heading h2,
.contact-details-heading p {
  margin: 0;
}

.contact-details-heading h2 {
  color: #00308d;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-details-heading p {
  margin-top: 7px;
  color: #687387;
  font-size: 15px;
  line-height: 1.55;
}


/* =========================================================
   PANEL ÚNICO DE OFICINAS
   ========================================================= */

.contact-office-grid {
  display: flex;
  width: 100%;
  padding: 8px 22px;

  flex-direction: column;
  gap: 0;

  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(7, 59, 149, 0.06);

  box-sizing: border-box;
}

/* Cada ciudad es una fila, no otro card */
.contact-office-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 105px;
  padding: 20px 0;

  grid-template-columns: 105px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;

  background: transparent;
  border: 0;
  border-bottom: 1px solid #e6eaf1;
  border-radius: 0;
  box-shadow: none;

  box-sizing: border-box;
}

.contact-office-card:last-child {
  border-bottom: 0;
}

/* Nombre de ciudad */
.contact-office-city {
  display: flex;
  min-height: 38px;
  align-items: center;

  color: #00308d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

/* Punto identificador */
.contact-office-city::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;

  background: #66b533;
  border: 3px solid #e7f6de;
  border-radius: 50%;

  box-sizing: content-box;
}

/* Dirección */
.contact-office-card p {
  margin: 0;
  color: #687387;
  font-size: 14px;
  line-height: 1.55;
}

/* =========================================================
   TELÉFONOS DE LAS OFICINAS
   ========================================================= */

.contact-office-phones {
  display: flex;
  margin: 0;

  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}

/* Teléfonos como texto, sin recuadros */
.contact-office-phones a {
  display: inline;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;

  color: #00308d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;

  transition:
    color 160ms ease,
    transform 160ms ease;
}

/* Elimina el segundo icono generado por CSS */
.contact-office-phones a::before {
  display: none !important;
  content: none !important;
}

/* Conserva y ordena el SVG agregado por JavaScript */
.contact-office-phones .contact-call-icon {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  flex: 0 0 17px !important;
}

/* Hover */
.contact-office-phones a:hover,
.contact-office-phones a:focus-visible {
  color: #66b533 !important;
  outline: none !important;
  transform: translateY(-1px);
}



/* =========================================================
   CORREO
   ========================================================= */

.contact-email-card {
  display: flex;
  width: 100%;
  padding: 16px 20px;

  align-items: center;
  justify-content: space-between;
  gap: 18px;

  color: #00308d !important;
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 15px;

  text-decoration: none !important;
  box-sizing: border-box;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-email-card:hover,
.contact-email-card:focus-visible {
  border-color: rgba(103, 191, 50, 0.7);
  box-shadow: 0 9px 22px rgba(7, 59, 149, 0.07);
  outline: none;
}

.contact-email-card span {
  color: #687387;
  font-size: 14px;
}

.contact-email-card strong {
  color: #00308d;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}


/* =========================================================
   INFORMACIÓN IMPORTANTE
   ========================================================= */

.contact-advisory {
  position: relative;
  padding: 18px 20px 18px 52px;

  color: #445168;
  background: #f5f7fc;
  border: 1px solid #dce3ef;
  border-radius: 15px;
}

/* Icono informativo */
.contact-advisory::before {
  content: "i";
  position: absolute;
  top: 19px;
  left: 18px;

  display: flex;
  width: 22px;
  height: 22px;

  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: #00308d;
  border-radius: 50%;

  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}

.contact-advisory h3,
.contact-advisory p {
  margin: 0;
}

.contact-advisory h3 {
  color: #00308d;
  font-size: 16px;
  font-weight: 700;
}

.contact-advisory p {
  margin-top: 6px;
  color: #687387;
  font-size: 13px;
  line-height: 1.55;
}

.contact-advisory p strong {
  color: #344054;
}

/* =========================================================
   PANEL DE PREGUNTAS FRECUENTES
   ========================================================= */

.contact-faq-link {
  display: flex !important;
  width: 100% !important;
  min-height: 94px !important;
  padding: 18px 20px !important;

  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;

  color: #00308d !important;
  background: #ffffff !important;
  border: 1px solid #dce3ef !important;
  border-left: 4px solid #66b533 !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(7, 59, 149, 0.05) !important;

  text-decoration: none !important;
  box-sizing: border-box !important;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease !important;
}

/* Bloque de título y descripción */
.contact-faq-link span:first-child {
  display: flex !important;
  min-width: 0 !important;

  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;

  color: #687387 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

/* Título visible */
.contact-faq-link strong {
  display: block !important;
  margin: 0 !important;

  color: #00308d !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* Botón de flecha */
.contact-faq-link span:last-child {
  display: flex !important;
  width: 40px !important;
  height: 40px !important;

  flex: 0 0 40px !important;
  align-items: center !important;
  justify-content: center !important;

  color: #00308d !important;
  background: #eef3ff !important;
  border-radius: 50% !important;

  font-size: 22px !important;

  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease !important;
}

/* Hover del panel */
.contact-faq-link:hover,
.contact-faq-link:focus-visible {
  color: #00308d !important;
  background: #f9fbff !important;
  border-color: #c9d6e8 !important;
  border-left-color: #66b533 !important;
  box-shadow: 0 12px 26px rgba(7, 59, 149, 0.08) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.contact-faq-link:hover span:last-child,
.contact-faq-link:focus-visible span:last-child {
  color: #ffffff !important;
  background: #66b533 !important;
  transform: translateX(3px) !important;
}


/* =========================================================
   ALINEAR IMAGEN Y FORMULARIO DESDE ARRIBA
   ========================================================= */

/* Las dos columnas comienzan a la misma altura */
.elementor-1231 [data-id="35818f5"] > .e-con-inner {
  align-items: flex-start !important;
}

/* Columna izquierda */
.elementor-1231 [data-id="7fc1b14"] {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;

  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

/* El título fue eliminado, así que ocultamos su espacio */
.elementor-1231 [data-id="81b3bd8"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Imagen */
.elementor-1231 [data-id="19bc11c"] {
  width: 100% !important;
  min-height: 350px !important;
  margin: 0 !important;
  padding: 0 !important;

  align-self: flex-start !important;

  background-position: center !important;
  background-size: cover !important;
  border-radius: 20px !important;
}

/* Card del formulario */
.elementor-1231 [data-id="4d1229f"] {
  margin: 0 !important;
  align-self: flex-start !important;
}


/* =========================================================
   MAPA DE CONTACTO
   ========================================================= */

/* Reduce el espacio entre contacto y mapa */
.elementor-1231 [data-id="35818f5"] {
  min-height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 28px !important;
}

/* Mapa alineado con los cards superiores */
.elementor-1231 [data-id="239416c"] {
  width: 100% !important;
  min-height: auto !important;
  margin: 0 !important;

  /* Sin 5% adicional en los costados */
  padding: 18px 0 60px !important;

  background: #f5f7fc !important;
}

/* Utiliza el mismo ancho que la sección superior */
.elementor-1231 [data-id="239416c"] > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* El card del mapa ocupa todo el ancho disponible */
.elementor-1231 [data-id="9cb730f"] {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* =========================================================
   CONTACTO EN CELULAR — FORMULARIO CENTRADO Y ANCHO ÚTIL
   ========================================================= */

@media (max-width: 767px) {
  body.page-id-1231,
  body.page-id-1231 #wrapper,
  body.page-id-1231 .main-content,
  body.page-id-1231 .main-content-section-wrapper,
  body.page-id-1231 .main-content-area,
  body.page-id-1231 .elementor-1231 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
  }

  body.page-id-1231 .main-content-section-wrapper > .container,
  body.page-id-1231 .tm-blog-sidebar-row,
  body.page-id-1231 .main-content-area {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.page-id-1231 .tm-page-title-elementor,
  body.page-id-1231 .page-title-wrapper,
  body.page-id-1231 [data-id="76ac9d4"],
  body.page-id-1231 [data-id="76ac9d4"] > .e-con-inner,
  body.page-id-1231 [data-id="308a3c5"] {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 132px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.page-id-1231 .tm-page-title-elementor .title {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
  }

  .elementor-1231 [data-id="35818f5"] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 16px 48px !important;
  }

  .elementor-1231 [data-id="35818f5"] > .e-con-inner {
    display: flex !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
  }

  .elementor-1231 [data-id="7fc1b14"],
  .elementor-1231 [data-id="4d1229f"],
  .elementor-1231 [data-id="2bd0066"],
  .elementor-1231 [data-id="2bd0066"] > .elementor-widget-container,
  .elementor-1231 .tm-contact-form-7-wrapper,
  .elementor-1231 .tm-contact-form,
  .elementor-1231 .wpcf7,
  .elementor-1231 #innova-contact-form {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    align-self: stretch !important;
  }

  .elementor-1231 [data-id="4d1229f"] {
    padding: 22px 16px !important;
    background: #fbf7f2 !important;
    border: 1px solid rgba(0, 48, 141, 0.11) !important;
    border-radius: 20px !important;
  }

  .elementor-1231 #innova-contact-form .form-row {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .elementor-1231 #innova-contact-form .half-width,
  .elementor-1231 #innova-contact-form .form-group,
  .elementor-1231 #innova-contact-form label,
  .elementor-1231 #innova-contact-form .wpcf7-form-control-wrap,
  .elementor-1231 #innova-contact-form input:not([type="checkbox"]):not([type="submit"]),
  .elementor-1231 #innova-contact-form select,
  .elementor-1231 #innova-contact-form textarea {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .elementor-1231 #innova-contact-form input:not([type="checkbox"]):not([type="submit"]),
  .elementor-1231 #innova-contact-form select {
    height: 58px !important;
  }

  .elementor-1231 #innova-contact-form textarea {
    min-height: 150px !important;
  }

  .elementor-1231 #innova-contact-form .privacy-notice-box,
  .elementor-1231 #innova-contact-form .wpcf7-acceptance,
  .elementor-1231 #innova-contact-form .wpcf7-list-item,
  .elementor-1231 #innova-contact-form .wpcf7-list-item label {
    width: 100% !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .elementor-1231 #innova-contact-form .btn-modern,
  .elementor-1231 .contact-map-directions {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .elementor-1231 [data-id="19bc11c"] {
    min-height: 320px !important;
  }

  .elementor-1231 .contact-office-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .elementor-1231 .contact-office-phones {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .elementor-1231 .contact-office-phones a {
    width: 100% !important;
    min-height: 50px !important;
  }

  body.page-id-1231 .innova-whatsapp-button {
    right: 12px !important;
    bottom: 12px !important;
    width: 50px !important;
    height: 50px !important;
  }
}

.elementor-1231 [data-id="239416c"] > .e-con-inner {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Card completo */
.elementor-1231 [data-id="9cb730f"] {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  background: #ffffff !important;
  border: 1px solid #dce3ef !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(7, 59, 149, 0.08) !important;

  overflow: hidden !important;
}

/* Encabezado */
.contact-map-header {
  display: flex;
  width: 100%;
  min-height: 112px;
  padding: 22px 26px;

  align-items: center;
  justify-content: space-between;
  gap: 24px;

  background: #ffffff;
  border-bottom: 1px solid #e3e8f0;

  box-sizing: border-box;
}

/* Título, dirección e icono */
.contact-map-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.contact-map-icon {
  display: flex;
  width: 48px;
  height: 48px;

  flex: 0 0 48px;
  align-items: center;
  justify-content: center;

  color: #00308d;
  background: #eef3ff;
  border-radius: 14px;
}

.contact-map-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

.contact-map-heading h2,
.contact-map-heading p {
  margin: 0;
}

.contact-map-heading h2 {
  color: #00308d;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-map-heading p {
  max-width: 680px;
  margin-top: 5px;

  color: #687387;
  font-size: 14px;
  line-height: 1.5;
}

/* Botón Cómo llegar */
.contact-map-directions {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 17px;

  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #ffffff !important;
  background: #00308d;
  border: 1px solid #00308d;
  border-radius: 11px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;

  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.contact-map-directions span {
  font-size: 19px;
  transition: transform 160ms ease;
}

.contact-map-directions:hover,
.contact-map-directions:focus-visible {
  color: #00308d !important;
  background: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.contact-map-directions:hover span,
.contact-map-directions:focus-visible span {
  transform: translateX(3px);
}

/* Contenedor del mapa */
.elementor-1231
  [data-id="9cb730f"]
  .elementor-custom-embed {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

/* Mapa */
.elementor-1231
  [data-id="9cb730f"]
  iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;

  border: 0 !important;
  filter: saturate(0.88) contrast(0.96);
}

/* =========================================================
   MAPA RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {
  .elementor-1231 [data-id="239416c"] {
    padding: 46px 18px !important;
  }

  .elementor-1231 [data-id="9cb730f"] {
    border-radius: 17px !important;
  }

  .contact-map-header {
    min-height: auto;
    padding: 20px;

    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .contact-map-heading {
    align-items: flex-start;
  }

  .contact-map-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 12px;
  }

  .contact-map-heading h2 {
    font-size: 19px;
  }

  .contact-map-heading p {
    font-size: 13px;
  }

  .contact-map-directions {
    width: 100%;
  }

  .elementor-1231
    [data-id="9cb730f"]
    .elementor-custom-embed {
    height: 330px;
  }
}


/* Teléfonos de cada oficina */
.contact-office-phones {
  display: flex;
  min-width: 210px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.contact-office-phones .contact-call-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;

  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #00308d !important;
  background: #ffffff !important;
  border: 1px solid #cbd7ea !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 14px rgba(7, 59, 149, 0.06);

  font-weight: 700;
  text-decoration: none !important;

  transition:
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.contact-office-phones .contact-call-button:hover,
.contact-office-phones .contact-call-button:focus-visible {
  color: #55ad2a !important;
  background: #ffffff !important;
  border-color: #66b533 !important;
  box-shadow: 0 8px 18px rgba(7, 59, 149, 0.1);
  transform: translateY(-1px);
}

.contact-office-phones .contact-call-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .contact-office-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .contact-office-phones {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 120px;
  }
}

@media (max-width: 767px) {
  .contact-office-grid {
    padding: 6px 17px;
  }

  .contact-office-card {
    display: flex;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .contact-office-card p {
    margin: 0 0 7px;
  }

  .contact-office-phones {
    width: 100%;
    padding-left: 0;
    justify-content: flex-start;
  }

  .contact-office-phones a {
    flex: 1 1 145px;
  }

  .contact-email-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contact-advisory {
    padding: 52px 17px 17px;
  }

  .contact-advisory::before {
    top: 17px;
    left: 17px;
  }
}






.contact-faq-link {
  display: flex;
  width: 100%;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff !important;
  background: #00308d;
  border: 1px solid #00308d;
  border-radius: 15px;
  text-decoration: none !important;
  box-sizing: border-box;
}

.contact-faq-link span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  line-height: 1.45;
}

.contact-faq-link strong {
  font-size: 16px;
}

.contact-faq-link span:last-child {
  font-size: 24px;
  transition: transform 160ms ease;
}

.contact-faq-link:hover span:last-child,
.contact-faq-link:focus-visible span:last-child {
  transform: translateX(4px);
}

/* Estado real del botón: gris hasta aceptar privacidad. */
#innova-contact-form .btn-modern {
  display: block !important;
  width: 100% !important;
  min-height: 64px !important;
  margin-top: 10px !important;
  padding: 14px 24px !important;
  color: #fff !important;
  background: #66b533 !important;
  border: 1px solid #66b533 !important;
  border-radius: 13px !important;
  font: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

#innova-contact-form .btn-modern:disabled,
#innova-contact-form .btn-modern[disabled],
#innova-contact-form .btn-modern[aria-disabled="true"] {
  color: #fff !important;
  background: #a7adb5 !important;
  border-color: #a7adb5 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

#innova-contact-form .btn-modern:not(:disabled):hover {
  color: #66b533 !important;
  background: #fff !important;
  border-color: #66b533 !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 1024px) {
  .contact-office-grid {
    grid-template-columns: 1fr;
  }

  .contact-office-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .elementor-1231 [data-id="81b3bd8"] .title {
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  .contact-details-heading h2 {
    font-size: 23px;
  }

  .contact-email-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .contact-office-phones {
    width: 100%;
    padding-left: 0;
    align-items: center;
  }

  .contact-office-phones a {
    width: auto;
    min-width: 0;
  }

  .contact-faq-link {
    min-height: auto !important;
    padding: 17px !important;
  }
}

/* Tamaño del título principal de Contacto. */
.page-id-1231 .tm-page-title-elementor .title {
  font-size: clamp(36px, 4.5vw, 64px) !important;
}

@media (max-width: 767px) {
  /* Barra azul completa */
  body.page-id-1231 .tm-page-title-elementor {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 125px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #00308d !important;
    overflow: visible !important;
  }

  body.page-id-1231 .page-title-wrapper,
  body.page-id-1231 .elementor-2375,
  body.page-id-1231 [data-id="76ac9d4"],
  body.page-id-1231 [data-id="76ac9d4"] > .e-con-inner,
  body.page-id-1231 [data-id="308a3c5"],
  body.page-id-1231 [data-id="ade8520"] {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.page-id-1231 .tm-page-title-elementor .title {
    margin: 0 !important;
    padding: 0 18px !important;
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  /* Quitar fondo beige del formulario */
  .elementor-1231 [data-id="4d1229f"] {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .elementor-1231 [data-id="2bd0066"],
  .elementor-1231 .tm-contact-form-7-wrapper,
  .elementor-1231 #innova-contact-form {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
  }
}

/* =========================================================
   CONTACTO MÓVIL — ESPACIO Y PRESENTACIÓN FINAL
   ========================================================= */

@media (max-width: 767px) {
  body.page-id-1231 [data-id="35818f5"] {
    width: 100% !important;
    padding: 30px 18px 54px !important;
    box-sizing: border-box !important;
    background: #f5f7fc !important;
  }

  body.page-id-1231 [data-id="35818f5"] > .e-con-inner {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 26px !important;
  }

  body.page-id-1231 [data-id="4d1229f"] {
    width: 100% !important;
    margin: 0 !important;
    padding: 26px 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 48, 141, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(0, 48, 141, 0.07) !important;
  }

  body.page-id-1231 #innova-contact-form {
    width: 100% !important;
    margin: 0 !important;
  }

  body.page-id-1231 #innova-contact-form .form-row {
    display: grid !important;
    width: 100% !important;
    margin: 0 0 19px !important;
    grid-template-columns: 1fr !important;
    gap: 19px !important;
  }

  body.page-id-1231 #innova-contact-form .form-group {
    width: 100% !important;
    margin: 0 0 19px !important;
  }

  body.page-id-1231 #innova-contact-form .form-group--privacy {
    margin-bottom: 22px !important;
    gap: 14px !important;
  }

  body.page-id-1231 #innova-contact-form .privacy-notice-box,
  body.page-id-1231 #innova-contact-form .wpcf7-acceptance,
  body.page-id-1231 #innova-contact-form .wpcf7-list-item,
  body.page-id-1231 #innova-contact-form .wpcf7-list-item label {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  body.page-id-1231 #innova-contact-form label,
  body.page-id-1231 #innova-contact-form input:not([type="checkbox"]):not([type="submit"]),
  body.page-id-1231 #innova-contact-form select,
  body.page-id-1231 #innova-contact-form textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  body.page-id-1231 #innova-contact-form input:not([type="checkbox"]):not([type="submit"]),
  body.page-id-1231 #innova-contact-form select {
    min-height: 58px !important;
    padding: 0 16px !important;
  }

  body.page-id-1231 #innova-contact-form textarea {
    min-height: 150px !important;
    padding: 16px !important;
  }
}
