/*
Theme Name: Visa Definitiva Child
Theme URI: https://visadefinitiva.cl/
Description: Tema hijo de Divi desarrollado por Agencia Truall para Visa Definitiva.
Author: Agencia Truall
Author URI: https://truall.cl/
Template: Divi
Version: 1.0.0
Text Domain: visa-definitiva-child
*/

/* Estilos personalizados Truall / Visa Definitiva */

/* Globos flotantes Truall */

.tr_float_contact {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tr_float_btn {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tr_float_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.tr_float_btn svg {
  width: 27px;
  height: 27px;
  fill: #ffffff;
  display: block;
}

.tr_float_label {
  display: none;
}

.tr_float_whatsapp {
  background: #25D366;
  order: 1;
}

.tr_float_call {
  background: #243D67;
  order: 2;
}

/* Móvil: barra inferior 50/50 */

@media (max-width: 767px) {
  body {
    padding-bottom: 88px !important;
  }

  .tr_float_contact {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    transform: none;
    flex-direction: row;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
  }

  .tr_float_btn {
    width: auto;
    height: 52px;
    border-radius: 16px;
    box-shadow: none;
    gap: 8px;
    flex: 1;
  }

  .tr_float_btn:hover {
    transform: none;
    box-shadow: none;
  }

  .tr_float_btn svg {
    width: 22px;
    height: 22px;
  }

  .tr_float_label {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
  }

  .tr_float_call {
    order: 1;
    flex: 1;
  }

  .tr_float_whatsapp {
    order: 2;
    flex: 1;
  }
}
/* ================================
   TR FORM CARD - SOLO FORMULARIO
================================ */

.tr_hero_form_wrap {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(8, 38, 79, 0.18);
  position: relative;
  z-index: 3;
}

/* Ninja Forms dentro del wrapper */

.tr_hero_form_wrap .nf-form-content {
  max-width: 100%;
  padding: 0;
}

.tr_hero_form_wrap .nf-form-fields-required {
  display: none;
}

.tr_hero_form_wrap .nf-field-container {
  margin-bottom: 11px;
}

.tr_hero_form_wrap .nf-field-label {
  margin-bottom: 6px;
}

.tr_hero_form_wrap .nf-field-label label {
  color: #08264f;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.tr_hero_form_wrap .ninja-forms-req-symbol {
  color: #e63946;
}

/* Campos */

.tr_hero_form_wrap .nf-form-content input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
.tr_hero_form_wrap .nf-form-content textarea,
.tr_hero_form_wrap .nf-form-content select {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #d8e1ee;
  background: #f8fbff;
  color: #08264f;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: none;
}

.tr_hero_form_wrap .nf-form-content textarea {
  min-height: 92px;
  resize: vertical;
}

.tr_hero_form_wrap .nf-form-content input::placeholder,
.tr_hero_form_wrap .nf-form-content textarea::placeholder {
  color: #9aa8bb;
}

/* Focus */

.tr_hero_form_wrap .nf-form-content input:focus,
.tr_hero_form_wrap .nf-form-content textarea:focus,
.tr_hero_form_wrap .nf-form-content select:focus {
  border-color: #0b63ce;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.10);
}

/* Checkbox */

.tr_hero_form_wrap .checkbox-wrap {
  margin-top: 4px;
}

.tr_hero_form_wrap .checkbox-wrap .nf-field-element {
  width: auto;
}

.tr_hero_form_wrap .checkbox-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  accent-color: #082f63;
}

.tr_hero_form_wrap .checkbox-wrap label {
  color: #08264f;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

/* Botón */

.tr_hero_form_wrap .nf-form-content input[type="button"],
.tr_hero_form_wrap .nf-form-content input[type="submit"] {
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border: none;
  border-radius: 15px;
  background: #082f63;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tr_hero_form_wrap .nf-form-content input[type="button"]:hover,
.tr_hero_form_wrap .nf-form-content input[type="submit"]:hover {
  background: #0a3b7a;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 47, 99, 0.22);
}

/* Errores */

.tr_hero_form_wrap .nf-error-msg,
.tr_hero_form_wrap .nf-error .nf-error-msg {
  color: #e63946;
  font-size: 12px;
  line-height: 1.25;
  margin-top: 4px;
}

.tr_hero_form_wrap .nf-error input,
.tr_hero_form_wrap .nf-error textarea,
.tr_hero_form_wrap .nf-error select {
  border-color: #e63946 !important;
}

/* Responsive */

@media (max-width: 980px) {
  .tr_hero_form_wrap {
    max-width: 100%;
    margin: 24px 0 0;
    padding: 22px;
    border-radius: 24px;
  }

  .tr_hero_form_wrap .nf-form-content input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
  .tr_hero_form_wrap .nf-form-content textarea,
  .tr_hero_form_wrap .nf-form-content select {
    min-height: 46px;
    font-size: 15px;
  }

  .tr_hero_form_wrap .nf-form-content textarea {
    min-height: 96px;
  }
}
/* Hero landing */
.vd-hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding-bottom: 0 !important;
}

/* Fila principal */
.vd-hero-row {
  min-height: 660px;
  display: flex;
  align-items: stretch;
}

/* Columna izquierda como layout vertical */
.vd-hero-left {
  display: flex !important;
  flex-direction: column;
}

/* Empuja la imagen al borde inferior de la columna/hero */
.vd-hero-people {
  margin-top: 30px !important;
  margin-bottom: 0 !important;
  width: clamp(380px, 38vw, 620px);
}

.vd-hero-people .et_pb_image_wrap,
.vd-hero-people img {
  display: block;
  width: 100%;
  height: auto;
}
.vd-hero-people img {
  filter: drop-shadow(0 18px 22px rgba(8, 38, 79, 0.18));
}
@media (max-width: 980px) {
  .vd-hero {
    min-height: auto;
  }

  .vd-hero-row {
    min-height: auto;
    display: block !important;
  }

  .vd-hero-left {
    display: block !important;
  }

  .tr_hero_form_wrap {
    max-width: 100%;
    margin: 28px 0 0;
  }
}
/* ================================
   IMAGEN PEGADA ABAJO
================================ */

.vd-photo-bottom-col {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
}

.vd-photo-bottom {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.vd-photo-bottom .et_pb_image_wrap,
.vd-photo-bottom img {
  display: block;
  width: 100%;
  height: auto;
}
/* ================================
   VISA DEFINITIVA - Servicios grid
   1 card destacada + 6 cards compactas
================================ */

/* Sección general */
.vd-services-section {
  position: relative;
}

/* ================================
   Layout desktop
================================ */

@media (min-width: 981px) {
  .vd-services-layout.et_pb_row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
  }

  .vd-services-layout.et_pb_row:after {
    display: none;
  }

  .vd-services-layout .et_pb_column {
    float: none !important;
    margin-right: 0 !important;
  }

  .vd-services-featured-col {
    width: calc(30% - 14px) !important;
    flex: 0 0 calc(30% - 14px) !important;
    max-width: calc(30% - 14px) !important;
  }

  .vd-services-grid {
    width: calc(70% - 14px) !important;
    flex: 0 0 calc(70% - 14px) !important;
    max-width: calc(70% - 14px) !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .vd-services-grid .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* ================================
   Card destacada
================================ */

.vd-service-featured {
  position: relative;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  padding: 32px 30px !important;
  background: linear-gradient(145deg, #0C3158 0%, #148FC5 50%, #25C6B3 100%);
  box-shadow: 0 14px 34px rgba(12, 49, 88, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Forma decorativa sutil */
.vd-service-featured:before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.vd-service-featured:after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 55px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.vd-service-featured > * {
  position: relative;
  z-index: 2;
}

.vd-service-featured h2,
.vd-service-featured h3,
.vd-service-featured h4 {
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1.12;
}

.vd-service-featured p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 17px;
  line-height: 1.55;
}

.vd-service-featured .et_pb_button {
  background: #ffffff !important;
  color: #0C3158 !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  font-size: 16px !important;
  font-weight: 700;
  margin-top: 22px;
  box-shadow: 0 10px 24px rgba(12, 49, 88, 0.15);
}

.vd-service-featured .et_pb_button:hover {
  background: #F4FAFC !important;
  color: #0C3158 !important;
}

/* ================================
   Cards compactas
================================ */

.vd-service-mini {
  position: relative;
  height: 100%;
  min-height: 190px;
  padding: 22px 26px 52px !important;
  border: 1px solid #E3ECF3;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(12, 49, 88, 0.065);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vd-service-mini:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 198, 179, 0.45);
  box-shadow: 0 16px 38px rgba(12, 49, 88, 0.10);
}

.vd-service-mini .et_pb_main_blurb_image {
  margin-bottom: 14px;
}

.vd-service-mini .et-pb-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(37, 198, 179, 0.12);
  color: #18B9AA !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px !important;
}

.vd-service-mini .et_pb_module_header {
  padding-bottom: 10px;
  color: #0C3158 !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.vd-service-mini .et_pb_blurb_description {
  color: #536271;
  font-size: 15px;
  line-height: 1.48;
}

/* Flecha circular inferior */
.vd-service-mini:after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25C6B3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease;
}

.vd-service-mini:hover:after {
  transform: translateX(3px);
  background: #0C3158;
}

/* ================================
   Tablet
================================ */

@media (max-width: 980px) {
  .vd-services-layout .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
  }

  .vd-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .vd-services-grid .et_pb_module {
    margin-bottom: 0 !important;
  }

  .vd-service-featured {
    min-height: 340px;
    padding: 32px 28px !important;
  }

  .vd-service-mini {
    min-height: 200px;
  }
}

/* ================================
   Móvil
================================ */

@media (max-width: 767px) {
  .vd-services-grid {
    grid-template-columns: 1fr;
  }

  .vd-service-featured {
    min-height: auto;
    padding: 30px 24px !important;
    border-radius: 22px;
  }

  .vd-service-featured p {
    font-size: 16px;
    line-height: 1.5;
  }

  .vd-service-featured .et_pb_button {
    font-size: 15px !important;
    padding: 10px 16px !important;
  }

  .vd-service-mini {
    min-height: auto;
    padding: 24px 24px 58px !important;
    border-radius: 20px;
  }

  .vd-service-mini .et-pb-icon {
    width: 50px;
    height: 50px;
    font-size: 24px !important;
  }

  .vd-service-mini .et_pb_module_header {
    font-size: 20px;
  }

  .vd-service-mini .et_pb_blurb_description {
    font-size: 15px;
  }
}
/* Corrige flecha Divi en botón card destacada */
.vd-service-featured .et_pb_button {
  position: relative;
  padding-right: 18px !important;
}

.vd-service-featured .et_pb_button:after {
  display: none !important;
  content: none !important;
}

.vd-service-featured .et_pb_button:hover {
  padding-right: 18px !important;
}
/* ================================
   VISA DEFINITIVA - Proceso blurbs
================================ */

/* Fila proceso */
.vd-process-row {
  position: relative;
}

/* Línea desktop */
@media (min-width: 981px) {
  .vd-process-row:before {
    content: "";
    position: absolute;
    top: 58px;
    left: 12%;
    right: 12%;
    height: 0;
    border-top: 2px dashed rgba(37, 198, 179, 0.45);
    z-index: 1;
  }

  .vd-process-row .et_pb_column {
    position: relative;
    z-index: 2;
  }
}

/* Blurb base */
.vd-process-step {
  text-align: center;
  position: relative;
}

/* Ícono circular */
.vd-process-step .et_pb_main_blurb_image {
  margin-bottom: 18px;
}

.vd-process-step .et-pb-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;
  color: #18B9AA !important;
  box-shadow: 0 14px 34px rgba(12, 49, 88, 0.10);
  border: 8px solid rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px !important;
}

/* Número */
.vd-process-number {
  display: block;
  color: #18B9AA;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

/* Título */
.vd-process-step .et_pb_module_header {
  color: #0C3158 !important;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  padding-bottom: 10px;
}

/* Texto */
.vd-process-step .et_pb_blurb_description {
  color: #536271;
  font-size: 15px;
  line-height: 1.55;
  max-width: 230px;
  margin: 0 auto;
}

/* Punto sobre la línea */
@media (min-width: 981px) {
  .vd-process-step:before {
    content: "";
    position: absolute;
    top: 55px;
    left: 50%;
    width: 11px;
    height: 11px;
    background: #18B9AA;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
  }

  .vd-process-step .et_pb_main_blurb_image {
    position: relative;
    z-index: 4;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .vd-process-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .vd-process-row .et_pb_column {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .vd-process-row:before,
  .vd-process-step:before {
    display: none;
  }

  .vd-process-step {
    background: #ffffff;
    border: 1px solid #E3ECF3;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 10px 26px rgba(12, 49, 88, 0.055);
  }

  .vd-process-step .et-pb-icon {
    width: 76px;
    height: 76px;
    font-size: 34px !important;
    border-width: 6px;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-process-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vd-process-step {
    text-align: left;
    padding: 22px;
  }

  .vd-process-step .et_pb_blurb_content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
  }

  .vd-process-step .et_pb_main_blurb_image {
    margin: 0 !important;
    flex: 0 0 auto;
  }

  .vd-process-step .et_pb_blurb_container {
    flex: 1;
  }

  .vd-process-step .et-pb-icon {
    width: 56px;
    height: 56px;
    font-size: 26px !important;
    border-width: 4px;
  }

  .vd-process-number {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .vd-process-step .et_pb_module_header {
    font-size: 18px;
    padding-bottom: 6px;
  }

  .vd-process-step .et_pb_blurb_description {
    max-width: none;
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
  }
}
/* ================================
   VISA DEFINITIVA - CTA FINAL
================================ */

.vd-final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 46px 52px !important;
  background: linear-gradient(135deg, #0C3158 0%, #137B9D 52%, #25C6B3 100%);
  box-shadow: 0 18px 42px rgba(12, 49, 88, 0.16);
}

.vd-final-cta:before {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.11);
  pointer-events: none;
}

.vd-final-cta .et_pb_column,
.vd-final-cta .et_pb_module,
.vd-final-cta .et_pb_text_inner {
  position: relative;
  z-index: 2;
}

/* Desktop layout */
@media (min-width: 981px) {
  .vd-final-cta.et_pb_row {
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .vd-final-cta.et_pb_row:after {
    display: none;
  }

  .vd-final-cta .et_pb_column {
    float: none !important;
    margin-right: 0 !important;
  }

  .vd-final-cta .et_pb_column:first-child {
    width: 60% !important;
  }

  .vd-final-cta .et_pb_column:last-child {
    width: 40% !important;
    max-width: 440px;
  }
}

/* Eyebrow */
.vd-cta-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37,198,179,0.16);
  color: #9EF4EA !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Textos */
.vd-final-cta h2 {
  color: #ffffff !important;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}

.vd-final-cta h3 {
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.vd-final-cta p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 17px;
  line-height: 1.55;
}

/* Microcopy inferior */
.vd-final-cta .vd-cta-note {
  margin-top: 18px;
  font-size: 14px !important;
  font-weight: 700;
  color: rgba(255,255,255,0.78) !important;
}

/* Tablet */
@media (max-width: 980px) {
  .vd-final-cta {
    padding: 40px 32px !important;
  }

  .vd-final-cta .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .vd-final-cta .et_pb_column:last-child {
    margin-top: 24px;
  }

  .vd-final-cta h2 {
    font-size: 34px;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-final-cta {
    border-radius: 22px;
    padding: 32px 24px !important;
  }

  .vd-final-cta h2 {
    font-size: 30px;
  }

  .vd-final-cta h3 {
    font-size: 21px;
  }

  .vd-final-cta p {
    font-size: 16px;
  }

  .vd-final-cta .vd-cta-note {
    font-size: 13.5px !important;
    line-height: 1.45;
  }
}
/* ================================
   CTA SECTION PATTERN - CORDILLERA
================================ */

.vd-cta-pattern-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 198, 179, 0.10) 0, rgba(37, 198, 179, 0.00) 34%),
    radial-gradient(circle at 86% 78%, rgba(12, 49, 88, 0.07) 0, rgba(12, 49, 88, 0.00) 30%),
    linear-gradient(180deg, #F7FBFD 0%, #F2F8FB 100%);
}

.vd-cta-pattern-section:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  background-image: url("data:image/svg+xml,%3Csvg width='720' height='220' viewBox='0 0 720 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 160 L70 115 L115 138 L180 78 L245 150 L310 92 L380 155 L455 70 L535 145 L610 104 L720 165' fill='none' stroke='%2318B9AA' stroke-width='2' stroke-opacity='0.28'/%3E%3Cpath d='M0 185 L85 135 L145 160 L220 102 L295 175 L360 122 L430 178 L505 96 L585 166 L650 128 L720 184' fill='none' stroke='%230C3158' stroke-width='2' stroke-opacity='0.14'/%3E%3Cpath d='M0 132 L60 98 L120 118 L190 54 L260 128 L330 74 L400 132 L470 46 L550 124 L625 86 L720 136' fill='none' stroke='%2318B9AA' stroke-width='1.4' stroke-opacity='0.16'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 720px 220px;
  background-position: center bottom -18px;
}

.vd-cta-pattern-section:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 251, 253, 0.15) 0%,
    rgba(247, 251, 253, 0.00) 35%,
    rgba(247, 251, 253, 0.30) 100%
  );
}

.vd-cta-pattern-section > .et_pb_row {
  position: relative;
  z-index: 2;
}
/* ================================
   VISA DEFINITIVA - Nosotros valores
================================ */

@media (min-width: 981px) {
  .vd-about-values-grid.et_pb_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .vd-about-values-grid.et_pb_row:after {
    display: none;
  }

  .vd-about-values-grid .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .vd-about-values-grid .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .vd-about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .vd-about-values-grid .et_pb_column {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .vd-about-values-grid .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-about-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* Ocultar flecha en blurbs de Nosotros */
.vd-about-values-grid .vd-service-mini:after {
  display: none !important;
  content: none !important;
}

/* Ajustar padding al no tener flecha */
.vd-about-values-grid .vd-service-mini {
  padding-bottom: 28px !important;
}
/* Línea sutil bajo título Lena */
.vd-lena-title:after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(37, 198, 179, 0.65);
}
/* ================================
   VISA DEFINITIVA - Sucursales mapa
================================ */

/* Layout texto + mapa */
@media (min-width: 981px) {
  .vd-branches-hero-map.et_pb_row {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 46px;
    align-items: center;
  }

  .vd-branches-hero-map.et_pb_row:after {
    display: none;
  }

  .vd-branches-hero-map .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

/* Texto: solo control de ancho y bajada */
.vd-branches-heading {
  max-width: 460px;
  margin-bottom: 0 !important;
}

.vd-branches-heading p {
  color: #536271;
  font-size: 17px;
  line-height: 1.55;
}

/* Mapa visual */
.vd-branch-map {
  width: 100%;
  height: 330px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(12, 49, 88, 0.10);
  margin-bottom: 0 !important;
}

.vd-branch-map .et_pb_image_wrap {
  width: 100%;
  height: 100%;
  display: block;
}

.vd-branch-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 980px) {
  .vd-branches-heading {
    max-width: 620px;
    margin-bottom: 26px !important;
  }

  .vd-branch-map {
    height: 340px;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-branches-heading {
    margin-bottom: 22px !important;
  }

  .vd-branches-heading p {
    font-size: 16px;
  }

  .vd-branch-map {
    height: 240px;
    border-radius: 20px;
  }
}
/* ================================
   VISA DEFINITIVA - Sucursales tabs/cards
================================ */

/* Layout zonas + cards */
@media (min-width: 981px) {
  .vd-branches-layout.et_pb_row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }

  .vd-branches-layout.et_pb_row:after {
    display: none;
  }

  .vd-branches-layout .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

/* Botones de zona */
.vd-branch-zones {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.vd-branch-zone {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #E3ECF3;
  color: #0C3158;
  font-weight: 800;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(12, 49, 88, 0.05);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.vd-branch-zone.is-active,
.vd-branch-zone:hover {
  background: rgba(37, 198, 179, 0.10);
  border-color: rgba(37, 198, 179, 0.35);
  color: #0C3158;
}

/* Caja online */
.vd-branch-online {
  padding: 22px;
  border-radius: 20px;
  background: #F6FAFD;
  border: 1px solid #E3ECF3;
}

.vd-branch-online strong {
  display: block;
  color: #0C3158;
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 800;
}

.vd-branch-online span {
  display: block;
  color: #536271;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.vd-branch-online a {
  color: #18B9AA;
  font-weight: 800;
  text-decoration: none;
}

/* Paneles */
.vd-branch-panel {
  display: none;
}

.vd-branch-panel.is-active {
  display: block;
}

.vd-branch-panel h2 {
  color: #0C3158;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 22px;
}

/* Grilla */
.vd-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Card */
.vd-branch-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #E3ECF3;
  box-shadow: 0 10px 28px rgba(12, 49, 88, 0.065);
}

.vd-branch-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.vd-branch-card h3 {
  color: #0C3158;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 8px;
}

.vd-branch-area {
  color: #536271;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 4px;
}

.vd-branch-address {
  color: #536271;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Teléfonos */
.vd-branch-phones {
  list-style: none !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.vd-branch-phones li {
  position: relative;
  list-style: none !important;
  padding-left: 16px !important;
  color: #0C3158;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.vd-branch-phones li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0C3158;
}

.vd-branch-phones a {
  color: #0C3158;
  text-decoration: none;
  white-space: nowrap;
}

.vd-branch-phones a:hover {
  color: #18B9AA;
}

/* Botón mapa */
.vd-branch-actions {
  display: flex;
  margin-top: auto;
}

.vd-branch-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 14px;
  background: #25C6B3;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 198, 179, 0.18);
}

.vd-branch-actions a:hover {
  background: #18B9AA;
  color: #ffffff;
}

/* Tablet */
@media (max-width: 980px) {
  .vd-branches-layout.et_pb_row {
    display: block;
  }

  .vd-branch-zones {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
  }

  .vd-branch-zone {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    min-height: 48px;
    padding: 13px 16px;
  }

  .vd-branch-online {
    margin-bottom: 24px;
  }

  .vd-branch-grid {
    grid-template-columns: 1fr;
  }

  .vd-branch-card {
    height: auto;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-branch-panel h2 {
    font-size: 23px;
  }

  .vd-branch-card {
    padding: 20px;
    border-radius: 20px;
  }

  .vd-branch-card h3 {
    font-size: 20px;
  }

  .vd-branch-phones li {
    font-size: 14.5px;
  }

  .vd-branch-actions a {
    width: 100%;
  }
}
/* Ocultar atención online en móvil para mantener continuidad de tabs */
@media (max-width: 767px) {
  .vd-branch-online {
    display: none !important;
  }
}
/* Fade suave entre zonas */
.vd-branch-panel {
  display: none;
  opacity: 0;
}

.vd-branch-panel.is-active {
  display: block;
  animation: vdBranchFade .60s ease-out both;
}

@keyframes vdBranchFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Subir formulario sin interferir con animación Divi */
@media (min-width: 981px) {
  .tr_hero_form_wrap {
    position: relative;
    top: -62px;
  }
}

/* En tablet/móvil queda normal */
@media (max-width: 980px) {
  .tr_hero_form_wrap {
    top: 0;
  }
}
/* ================================
   VISA DEFINITIVA - Contacto vías
   Usa cards vd-service-mini con flecha
================================ */

@media (min-width: 981px) {
  .vd-contact-options-grid.et_pb_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .vd-contact-options-grid.et_pb_row:after {
    display: none;
  }

  .vd-contact-options-grid .et_pb_column {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .vd-contact-options-grid .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .vd-contact-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .vd-contact-options-grid .et_pb_column {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .vd-contact-options-grid .et_pb_module {
    margin-bottom: 0 !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .vd-contact-options-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
/* ================================
   Float flags
================================ */
.vd-flags-rotate .et_pb_image_wrap {
  display: inline-block;
  animation: vdFlagsRotate 90s linear infinite;
  transform-origin: center center;
  will-change: transform;
}

.vd-flags-rotate img {
  display: block;
}

@keyframes vdFlagsRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Respeta usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .vd-flags-rotate .et_pb_image_wrap {
    animation: none;
  }
}
/* =========================================================
   Visa Definitiva - Contadores de confianza
   Ubicación: Home, sección bajo el hero
   Uso: módulo Texto con clase/contenedor .vd-trust-stats
   ========================================================= */

.vd-trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 680px;
}

.vd-trust-stat {
  position: relative;
  padding: 18px 16px 16px;
  background: #F6FAFD;
  border: 1px solid rgba(23, 58, 99, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.vd-trust-stat::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 42px;
  height: 4px;
  background: #35E6D0;
  border-radius: 0 0 8px 8px;
}

.vd-trust-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #173A63;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.vd-trust-stat span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #5E6875;
}

/* Mobile */
@media (max-width: 767px) {
  .vd-trust-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .vd-trust-stat {
    padding: 16px 16px 15px;
  }

  .vd-trust-stat strong {
    font-size: 30px;
  }
}
/* =========================================================
   Visa Definitiva - Enlace editorial a Nosotros
   Flecha generada por CSS para evitar desalineación en Divi
   ========================================================= */

.vd-about-link {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  gap: 10px !important;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #173A63 !important;
  text-decoration: none !important;
  position: relative;
  transition: color 0.25s ease;
}

.vd-about-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 36%;
  height: 2px;
  background: #35E6D0;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.vd-about-link::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #35E6D0;
  font-size: 22px;
  line-height: 1;
  margin-left: 2px;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.vd-about-link:hover {
  color: #102E52 !important;
}

.vd-about-link:hover::before {
  width: calc(100% - 34px);
}

.vd-about-link:hover::after {
  transform: translate(4px, -1px);
}

/* Mobile */
@media (max-width: 767px) {
  .vd-about-link {
    margin-top: 20px;
    font-size: 15px;
  }

  .vd-about-link::after {
    font-size: 20px;
  }
}
/* =========================================================
   Visa Definitiva - Enlace editorial a Servicios
   Ubicación: Home, franja servicios migratorios
   ========================================================= */

.vd-services-home-link {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  gap: 10px !important;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #173A63 !important;
  text-decoration: none !important;
  position: relative;
  transition: color 0.25s ease;
}

.vd-services-home-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 36%;
  height: 2px;
  background: #35E6D0;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.vd-services-home-link::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #35E6D0;
  font-size: 22px;
  line-height: 1;
  margin-left: 2px;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.vd-services-home-link:hover {
  color: #102E52 !important;
}

.vd-services-home-link:hover::before {
  width: calc(100% - 34px);
}

.vd-services-home-link:hover::after {
  transform: translate(4px, -1px);
}

/* Mobile */
@media (max-width: 767px) {
  .vd-services-home-link {
    margin-top: 20px;
    font-size: 15px;
  }

  .vd-services-home-link::after {
    font-size: 20px;
  }
}
/* =========================================================
   Visa Definitiva - Banda dinámica "Te ayudamos en"
   Versión limpia / editorial
   Ubicación: Home, entre Servicios y CTA final
   Nota: padding de sección/fila/módulo en Divi puede quedar en 0
   ========================================================= */

/* Sección contenedora */
.vd-help-marquee-section {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  background:
    radial-gradient(circle at 18% 80%, rgba(37, 198, 179, 0.08) 0, rgba(37, 198, 179, 0.00) 34%),
    linear-gradient(180deg, #F2F8FB 0%, #F7FBFD 100%);
}

/* Fila Divi */
.vd-help-marquee-row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Módulo Código Divi */
.vd-help-marquee-module,
.vd-help-marquee-module .et_pb_code_inner {
  margin: 0 !important;
  padding: 0 !important;
}

/* Banda principal */
.vd-help-marquee {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  min-height: 58px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 58, 99, 0.10);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

/* Etiqueta fija */
.vd-help-marquee__label {
  flex: 0 0 auto;
  padding: 9px 15px;
  background: #173A63;
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

/* Contenedor del movimiento */
.vd-help-marquee__track-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

/* Degradados laterales limpios */
.vd-help-marquee__track-wrap::before,
.vd-help-marquee__track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 48px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.vd-help-marquee__track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
}

.vd-help-marquee__track-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 100%);
}

/* Track animado */
.vd-help-marquee__track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: vdHelpMarquee 54s linear infinite;
  will-change: transform;
}

/* Chips */
.vd-help-marquee__track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 13px;
  background: #FFFFFF;
  border: 1px solid rgba(23, 58, 99, 0.10);
  border-radius: 999px;
  color: #173A63;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;
}

.vd-help-marquee__track span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: #35E6D0;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* Animación continua */
@keyframes vdHelpMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .vd-help-marquee-section {
    padding-top: 26px !important;
    padding-bottom: 28px !important;
  }

  .vd-help-marquee {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
  }

  .vd-help-marquee__label {
    font-size: 13px;
    padding: 8px 13px;
  }

  .vd-help-marquee__track-wrap {
    width: 100%;
  }

  .vd-help-marquee__track {
    animation-duration: 44s;
  }

  .vd-help-marquee__track span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .vd-help-marquee__track-wrap::before,
  .vd-help-marquee__track-wrap::after {
    width: 34px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .vd-help-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}
/* =========================================================
   Visa Definitiva - Header desktop
   Theme Builder
   ========================================================= */

@media (min-width: 981px) {
  .vd-header-section {
    background: #ffffff;
    border-bottom: 1px solid rgba(23, 58, 99, 0.08);
    box-shadow: 0 8px 28px rgba(23, 58, 99, 0.035);
    z-index: 9999;
  }

  .vd-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .vd-header-logo {
    margin-bottom: 0 !important;
  }

  .vd-header-logo img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
  }

  .vd-main-menu {
    margin-bottom: 0 !important;
  }

  .vd-main-menu .et_pb_menu__wrap {
    justify-content: flex-end;
  }

  .vd-main-menu .et-menu {
    align-items: center;
    gap: 8px;
  }

  .vd-main-menu .et-menu > li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vd-main-menu .et-menu > li > a {
    padding: 10px 13px !important;
    color: #2F3A45 !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    opacity: 1 !important;
    transition: color 0.22s ease, background 0.22s ease;
  }

  .vd-main-menu .et-menu > li > a:hover {
    color: #173A63 !important;
  }

  .vd-main-menu .et-menu > li.current-menu-item > a {
    color: #173A63 !important;
  }

  /* Último item: Contacto destacado */
  .vd-main-menu .et-menu > li:last-child > a {
    margin-left: 14px;
    padding: 12px 20px !important;
    border-radius: 999px;
    background: #173A63;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(23, 58, 99, 0.16);
  }

  .vd-main-menu .et-menu > li:last-child > a:hover {
    background: #102E52;
    color: #ffffff !important;
  }

  /* Oculta subrayados/flechas raras si Divi las agrega */
  .vd-main-menu .et-menu > li:last-child > a::after {
    display: none !important;
  }
}
/* =========================================================
   Visa Definitiva - Header móvil custom simplificado
   Theme Builder
   ========================================================= */

@media (min-width: 981px) {
  .vd-mobile-header-section {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .vd-mobile-header-section {
    display: block !important;
    background: #ffffff;
    border-bottom: 1px solid rgba(23, 58, 99, 0.08);
    position: sticky;
    top: 0;
    z-index: 99998;
  }

  .vd-mobile-header-row {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .vd-mobile-header-code,
  .vd-mobile-header-code .et_pb_code_inner {
    margin: 0 !important;
    padding: 0 !important;
  }

  .vd-mobile-header {
    height: 74px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
  }

  .vd-mobile-logo,
  .vd-mobile-panel-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
  }

  .vd-mobile-logo img {
    display: block;
    width: 168px;
    max-width: 68vw;
    height: auto;
  }

  .vd-mobile-panel-logo img {
    display: block;
    width: 172px;
    height: auto;
  }

  .vd-mobile-menu-toggle {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }

  .vd-mobile-burger {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #F6FAFD;
    border: 1px solid rgba(23, 58, 99, 0.10);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .vd-mobile-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #173A63;
    border-radius: 999px;
  }

  .vd-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 49, 88, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .vd-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 390px);
    height: 100vh;
    background: #ffffff;
    z-index: 100000;
    transform: translateX(105%);
    transition: transform 0.24s ease;
    box-shadow: -18px 0 44px rgba(12, 49, 88, 0.14);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
  }

  .vd-mobile-menu-toggle:checked ~ .vd-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .vd-mobile-menu-toggle:checked ~ .vd-mobile-panel {
    transform: translateX(0);
  }

  .vd-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .vd-mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #173A63;
    background: #F6FAFD;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
  }

  .vd-mobile-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .vd-mobile-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(23, 58, 99, 0.10);
  }

  .vd-mobile-nav a {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #173A63 !important;
    text-decoration: none !important;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
  }

  .vd-mobile-nav em {
    font-style: normal;
    font-size: 28px;
    color: #173A63;
    opacity: 0.65;
    line-height: 1;
  }

  .vd-mobile-contact-cta {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #173A63 0%, #243D67 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 14px 28px rgba(23, 58, 99, 0.18);
  }

  .vd-mobile-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(53, 230, 208, 0.14);
    color: #35E6D0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex: 0 0 auto;
  }

  .vd-mobile-contact-cta strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
  }

  .vd-mobile-contact-cta small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
  }
}
/* =========================================================
   Visa Definitiva - Header visibility fallback
   ========================================================= */

.vd-mobile-header-section {
  display: none !important;
}

.vd-header-section {
  display: block !important;
}

@media (max-width: 980px) {
  .vd-header-section {
    display: none !important;
  }

  .vd-mobile-header-section {
    display: block !important;
  }
}
/* Evita salto de layout por carga del SVG del logo */
.vd-header-logo img,
.vd-mobile-logo img,
.vd-mobile-panel-logo img {
  height: auto;
  display: block;
}

@media (min-width: 981px) {
  .vd-header-logo img {
    width: 220px;
  }
}

@media (max-width: 980px) {
  .vd-mobile-logo img {
    width: 168px;
  }

  .vd-mobile-panel-logo img {
    width: 172px;
  }
}
@media (max-width: 980px) {
  .vd-mobile-header-section,
  .vd-mobile-header-section .et_pb_row,
  .vd-mobile-header-section .et_pb_column,
  .vd-mobile-header-section .et_pb_module,
  .vd-mobile-header-section .et_pb_code_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
/* =========================================================
   Visa Definitiva - Footer
   Divi Theme Builder
   ========================================================= */

.vd-footer-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(53, 230, 208, 0.08) 0, rgba(53, 230, 208, 0) 32%),
    linear-gradient(135deg, #08264F 0%, #0C3158 100%);
}

.vd-footer-title h1,
.vd-footer-title h2,
.vd-footer-title h3,
.vd-footer-title h4,
.vd-footer-title p {
  color: #35E6D0 !important;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}

.vd-footer-title:after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 12px;
  background: #35E6D0;
  border-radius: 999px;
}

.vd-footer-links,
.vd-footer-links p,
.vd-footer-links a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
  text-decoration: none !important;
}

.vd-footer-links a:hover {
  color: #35E6D0 !important;
}

.vd-footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vd-footer-bottom-text,
.vd-footer-bottom-text p {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.vd-footer-bottom-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 767px) {
  .vd-footer-section {
    padding-top: 52px !important;
    padding-bottom: 28px !important;
  }

  .vd-footer-main-row .et_pb_column {
    margin-bottom: 34px !important;
  }

  .vd-footer-title h1,
  .vd-footer-title h2,
  .vd-footer-title h3,
  .vd-footer-title h4,
  .vd-footer-title p {
    font-size: 20px;
  }

  .vd-footer-links,
  .vd-footer-links p,
  .vd-footer-links a {
    font-size: 15px;
    line-height: 1.8;
  }

  .vd-footer-bottom-row .et_pb_column {
    margin-bottom: 12px !important;
  }

  .vd-footer-bottom-text,
  .vd-footer-bottom-text p {
    font-size: 13.5px;
  }
}
/* =========================================================
   Visa Definitiva - Footer contacto
   Columna contacto con oficina y teléfono
   ========================================================= */

.vd-footer-contact-info,
.vd-footer-contact-info p,
.vd-footer-contact-info a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  text-decoration: none !important;
}

.vd-footer-contact-info p {
  margin-bottom: 16px;
}

.vd-footer-contact-info strong,
.vd-footer-contact-info b {
  color: #ffffff !important;
  font-weight: 800;
}

.vd-footer-contact-info a {
  color: #35E6D0 !important;
  font-weight: 800;
}

.vd-footer-contact-info a:hover {
  color: #ffffff !important;
}