/*
 Theme Name: Truall Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Tema hijo para Divi 4.27.6
 Author: Agencia Truall
 Author URI: https://truall.com/
 Template: Divi
 Version: 1.0.0
 Requires at least: 5.0
 Tested up to: 6.5
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: divi-child
*/

/* 
Agregue aquí sus estilos personalizados.
Este archivo carga después del style.css del tema padre Divi.
*/
/* =========================================================
   Blurbs servicios móvil
   Evita corte de contenido en cards
   ========================================================= */

@media (max-width: 767px) {

  .tru-feature-blurb {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 42px 24px 44px !important;
    display: block !important;
  }

  .tru-feature-blurb .et_pb_blurb_content,
  .tru-feature-blurb .et_pb_blurb_container,
  .tru-feature-blurb .et_pb_blurb_description,
  .tru-feature-blurb .et_pb_blurb_description p {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .tru-feature-blurb .et_pb_main_blurb_image {
    margin-bottom: 24px !important;
  }

  .tru-feature-blurb .et_pb_module_header {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
  }

  .tru-feature-blurb .et_pb_blurb_description,
  .tru-feature-blurb .et_pb_blurb_description p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.58 !important;
  }
}
/* Ajuste fino desktop cards beneficios */
@media (min-width: 981px) {
  .tru-feature-blurb {
    min-height: 290px;
  }
}
/* Estilos tipográficos personalizados Truall */

body,
.et_pb_text,
.et_pb_text_inner,
.et_pb_blurb_description,
input,
textarea,
select,
button {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6,
.et_pb_module_header {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1,
.et_pb_text h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.85rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2,
.et_pb_text h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.06;
}

h3,
.et_pb_text h3,
.et_pb_blurb h3,
.et_pb_module_header {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
}

h4,
.et_pb_text h4 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

h5,
.et_pb_text h5,
h6,
.et_pb_text h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p,
.et_pb_text p {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.65;
  font-weight: 400;
}

#top-menu li a,
.et-menu li a,
.et_mobile_menu li a {
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.et_pb_button,
button,
input[type="submit"] {
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2 !important;
}

input,
textarea,
select {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.widgettitle,
.et_pb_widget h2,
.et_pb_widget h3,
.et_pb_widget h4 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.tr_display,
.tr_display h1,
.et_pb_text.tr_display h1 {
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.tr_lead,
.et_pb_text.tr_lead p {
  font-size: clamp(1.08rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: #555555;
}

.tr_stat,
.tr_number,
.et_pb_number_counter .percent-value {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  color: #0b1020;
}

@media (max-width: 767px) {
  h1,
  .et_pb_text h1 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
  }

  h2,
  .et_pb_text h2 {
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.08;
  }

  h3,
  .et_pb_text h3,
  .et_pb_module_header {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  }

  body,
  p,
  .et_pb_text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .tr_display,
  .tr_display h1,
  .et_pb_text.tr_display h1 {
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }
}
/* Ajuste de anchura global Truall */

.container,
.et_pb_row,
.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  width: 90%;
  max-width: 1280px;
}
/* Estilos móviles personalizados Truall */
@media (max-width: 767px) {

  .et_pb_section .et_pb_row,
  .et_pb_row {
    width: calc(100% - 64px) !important;
    max-width: 100% !important;
  }

}
/* Igualar altura de blurbs Truall */
@media (min-width: 981px) {

  .tr_equal_blurbs {
    display: flex;
    align-items: stretch;
  }

  .tr_equal_blurbs .et_pb_column {
    display: flex;
  }

  .tr_equal_blurbs .tru-feature-blurb {
    width: 100%;
    height: 100%;
    flex: 1;
  }

}
/* Línea vertical entre columnas Truall */
@media (min-width: 981px) {

  .tr_col_divider {
    position: relative;
    padding-left: 56px;
  }

  .tr_col_divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
  }

}
/* Línea bajo título CTA Truall */
.tr_cta_title_line {
  width: 180px;
  height: 2px;
  background: #9FE3E6;
  margin-top: 28px;
  margin-bottom: 42px;
  border-radius: 999px;
}
/* Línea bajo título Card mapa Truall */
.tr_mapa_title_line {
  width: 180px;
  height: 2px;
  background: #9FE3E6;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 999px;
}

@media (max-width: 767px) {
  .tr_cta_title_line {
    width: 120px;
    margin-top: 24px;
    margin-bottom: 34px;
  }
}
/* Formulario diagnóstico Rescate Contable */
.tr_rescate_form {
  background: #ffffff;
  border: 1px solid rgba(45, 63, 95, 0.08);
  border-radius: 32px;
  padding: 42px;
  box-shadow: 0 24px 70px rgba(18, 32, 55, 0.10);
}

.tr_rescate_form .nf-form-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.tr_rescate_form .nf-before-form-content,
.tr_rescate_form .nf-form-fields-required {
  display: none !important;
}

.tr_rescate_form .nf-field-container {
  margin-bottom: 16px !important;
}

.tr_rescate_form .nf-field-label {
  margin-bottom: 6px !important;
}

.tr_rescate_form .nf-field-label label {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #2d3f5f !important;
  letter-spacing: -0.01em;
}

.tr_rescate_form input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
.tr_rescate_form select,
.tr_rescate_form textarea {
  width: 100% !important;
  max-width: 100% !important;
  background: #f7f8fa !important;
  border: 1px solid rgba(45, 63, 95, 0.14) !important;
  border-radius: 15px !important;
  padding: 0 17px !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  color: #2d3f5f !important;
  box-shadow: none !important;
  outline: none !important;
}

.tr_rescate_form input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
.tr_rescate_form select {
  height: 54px !important;
}

.tr_rescate_form textarea {
  min-height: 120px !important;
  padding-top: 16px !important;
  resize: vertical;
}

.tr_rescate_form input::placeholder,
.tr_rescate_form textarea::placeholder {
  color: rgba(45, 63, 95, 0.42) !important;
}

.tr_rescate_form input:focus,
.tr_rescate_form select:focus,
.tr_rescate_form textarea:focus {
  background: #ffffff !important;
  border-color: #9FE3E6 !important;
  box-shadow: 0 0 0 4px rgba(159, 227, 230, 0.22) !important;
}

/* Checkbox */
.tr_rescate_form .checkbox-container .field-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
}

.tr_rescate_form input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #2d3f5f;
}

.tr_rescate_form .checkbox-container label {
  font-size: 0.92rem !important;
  color: #555555 !important;
  line-height: 1.4 !important;
}

/* Botón */
.tr_rescate_form input[type="button"],
.tr_rescate_form input[type="submit"] {
  width: 100% !important;
  height: 58px !important;
  border: none !important;
  border-radius: 15px !important;
  background: #2d3f5f !important;
  color: #ffffff !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(45, 63, 95, 0.18);
  transition: all 0.22s ease;
}

.tr_rescate_form input[type="button"]:hover,
.tr_rescate_form input[type="submit"]:hover {
  background: #22324d !important;
  transform: translateY(-1px);
}

/* Errores sin agrandar el formulario */
.tr_rescate_form .nf-after-field {
  display: none !important;
}

.tr_rescate_form .nf-error .ninja-forms-field {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.08) !important;
}

/* Mensaje general de error */
.tr_rescate_form .nf-error-msg.nf-error-field-errors {
  margin-top: 12px !important;
  padding: 11px 14px !important;
  border-radius: 13px !important;
  background: rgba(197, 48, 48, 0.08) !important;
  color: #c53030 !important;
  font-size: 0.86rem !important;
  line-height: 1.35 !important;
}

/* Confirmación */
.tr_rescate_form .nf-response-msg {
  background: #f7f8fa;
  border: 1px solid rgba(45, 63, 95, 0.10);
  border-radius: 22px;
  padding: 24px;
  color: #2d3f5f;
  font-size: 1rem;
  line-height: 1.55;
}

/* Móvil */
@media (max-width: 767px) {
  .tr_rescate_form {
    border-radius: 26px;
    padding: 28px 22px;
  }

  .tr_rescate_form .nf-field-container {
    margin-bottom: 14px !important;
  }

  .tr_rescate_form input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
  .tr_rescate_form select {
    height: 52px !important;
  }

  .tr_rescate_form textarea {
    min-height: 110px !important;
  }
}
/* Ajuste compacto formulario diagnóstico */
.tr_rescate_form .nf-field-container {
  margin-bottom: 13px !important;
}

.tr_rescate_form textarea {
  min-height: 92px !important;
  height: 92px !important;
}

.tr_rescate_form input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
.tr_rescate_form select {
  height: 50px !important;
}

.tr_rescate_form .nf-field-label {
  margin-bottom: 4px !important;
}

.tr_rescate_form .nf-field-label label {
  font-size: 0.82rem !important;
}

/* Checkbox más fino */
.tr_rescate_form .checkbox-container .field-wrap {
  align-items: flex-start !important;
}

.tr_rescate_form input[type="checkbox"] {
  margin-top: 2px !important;
  flex: 0 0 18px;
}

/* Botón más premium */
.tr_rescate_form input[type="button"],
.tr_rescate_form input[type="submit"] {
  height: 56px !important;
  border-radius: 16px !important;
}
/* Rescate Contable - columnas formulario Ninja */
@media (min-width: 768px) {

  .tr_rescate_form nf-fields-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
  }

  .tr_rescate_form nf-field {
    display: block !important;
    grid-column: 1 / -1;
  }

  /* 1 Nombre / 2 RUT / 3 Email / 4 Teléfono */
  .tr_rescate_form nf-field:nth-of-type(1),
  .tr_rescate_form nf-field:nth-of-type(2),
  .tr_rescate_form nf-field:nth-of-type(3),
  .tr_rescate_form nf-field:nth-of-type(4) {
    grid-column: span 1;
  }

  .tr_rescate_form .nf-field-container {
    margin-bottom: 0 !important;
  }
}
/* Ocultar mensaje general de error Ninja Forms */
.tr_rescate_form .nf-error-field-errors {
  display: none !important;
}
/* Marcar campos con error */
.tr_rescate_form .nf-error .ninja-forms-field {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.08) !important;
}
/* Marcar todos los campos Ninja con error */
.tr_rescate_form .nf-error input:not([type="button"]):not([type="submit"]),
.tr_rescate_form .nf-error select,
.tr_rescate_form .nf-error textarea {
  border-color: #c53030 !important;
  box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.08) !important;
}

/* Checkbox con error */
.tr_rescate_form .nf-error input[type="checkbox"] {
  outline: 2px solid #c53030 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* Mantener oculto el mensaje general inferior */
.tr_rescate_form .nf-error-field-errors {
  display: none !important;
}
/* Diagnóstico - beneficios inline */
.tr_diag_features_inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 38px;
  max-width: 680px;
}

.tr_diag_feature_inline {
  text-align: center;
}

.tr_diag_feature_icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(159, 227, 230, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tr_diag_feature_icon .et-pb-icon {
  font-family: ETmodules !important;
  color: #2f9fa3 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

.tr_diag_fa_icon {
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  color: #2f9fa3 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  display: inline-block;
}

.tr_diag_feature_inline h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0b1f3d;
  letter-spacing: -0.02em;
}

.tr_diag_feature_inline p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4f5f73;
}

/* Móvil */
@media (max-width: 767px) {
  .tr_diag_features_inline {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
  }

  .tr_diag_feature_icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .tr_diag_feature_icon .et-pb-icon,
  .tr_diag_fa_icon {
    font-size: 24px !important;
  }

  .tr_diag_feature_inline h4 {
    font-size: 0.86rem;
  }

  .tr_diag_feature_inline p {
    font-size: 0.78rem;
    line-height: 1.35;
  }
}
/* Diagnóstico - nota de confianza */
.tr_diag_note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 680px;
  margin-top: 34px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(45, 63, 95, 0.045);
  color: #2d3f5f;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.tr_diag_note_icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #9FE3E6;
  color: #2d3f5f;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 767px) {
  .tr_diag_note {
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.86rem;
  }
}
/* =========================================================
   Header Rescate Contable - CTA Diagnóstico + Menú móvil
   ========================================================= */

/* CTA Diagnóstico en menú desktop */
#top-menu .tr_menu_diagnostico > a,
.et-menu .tr_menu_diagnostico > a {
  background: #2d3f5f;
  color: #ffffff !important;
  padding: 13px 20px !important;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 12px 28px rgba(45, 63, 95, 0.18);
  transition: all 0.22s ease;
}

#top-menu .tr_menu_diagnostico > a:hover,
.et-menu .tr_menu_diagnostico > a:hover {
  background: #22324d;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

#top-menu .tr_menu_diagnostico,
.et-menu .tr_menu_diagnostico {
  display: inline-flex;
  align-items: center;
}

/* Menú móvil deslizante */
@media (max-width: 980px) {

  body.tr_mobile_menu_open {
    overflow: hidden;
  }

  .et_mobile_menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 86vw !important;
    max-width: 390px !important;
    height: 100vh !important;
    padding: 92px 28px 32px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 28px 0 0 28px;
    box-shadow: -22px 0 70px rgba(18, 32, 55, 0.18);
    transform: translateX(110%) !important;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.34s ease, opacity 0.24s ease, visibility 0.24s ease;
    overflow-y: auto;
    z-index: 99999;
  }

  .mobile_nav.opened .et_mobile_menu {
    transform: translateX(0) !important;
    opacity: 1;
    visibility: visible;
  }

  .et_mobile_menu li {
    padding: 0 !important;
    margin: 0 0 8px !important;
  }

  .et_mobile_menu li a {
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(45, 63, 95, 0.08) !important;
    color: #2d3f5f !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.25;
  }

  .et_mobile_menu li a:hover {
    background: transparent !important;
    color: #2f9fa3 !important;
    opacity: 1 !important;
  }

  /* CTA Diagnóstico destacado en móvil */
  .et_mobile_menu .tr_menu_diagnostico {
    margin-top: 18px !important;
  }

  .et_mobile_menu .tr_menu_diagnostico > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 20px !important;
    background: #2d3f5f !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border-bottom: none !important;
    font-weight: 800 !important;
    box-shadow: 0 16px 34px rgba(45, 63, 95, 0.20);
  }

  .et_mobile_menu .tr_menu_diagnostico > a:hover {
    background: #22324d !important;
    color: #ffffff !important;
  }

  /* Hamburguesa / cerrar */
  .mobile_menu_bar {
    z-index: 100000;
  }

  .mobile_menu_bar:before {
    color: #2d3f5f !important;
    font-size: 34px;
  }

  .mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
  }

  /* Overlay de cierre */
  .tr_mobile_menu_overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    z-index: 99998;
  }

  body.tr_mobile_menu_open .tr_mobile_menu_overlay {
    opacity: 1;
    visibility: visible;
  }
}
/* =========================================================
   Header Rescate Contable - CTA Diagnóstico + Menú móvil
   ========================================================= */

/* CTA Diagnóstico en menú desktop */
#top-menu .tr_menu_diagnostico > a,
.et-menu .tr_menu_diagnostico > a {
  background: #2d3f5f;
  color: #ffffff !important;
  padding: 13px 20px !important;
  border-radius: 999px;
  font-weight: 700 !important;
  box-shadow: 0 12px 28px rgba(45, 63, 95, 0.18);
  transition: all 0.22s ease;
}

#top-menu .tr_menu_diagnostico > a:hover,
.et-menu .tr_menu_diagnostico > a:hover {
  background: #22324d;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

#top-menu .tr_menu_diagnostico,
.et-menu .tr_menu_diagnostico {
  display: inline-flex;
  align-items: center;
}

/* Item activo menú desktop */
#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a,
.et-menu li.current-menu-item > a,
.et-menu li.current_page_item > a {
  color: #2f9fa3 !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}

/* CTA Diagnóstico activo desktop */
#top-menu .tr_menu_diagnostico.current-menu-item > a,
#top-menu .tr_menu_diagnostico.current_page_item > a,
.et-menu .tr_menu_diagnostico.current-menu-item > a,
.et-menu .tr_menu_diagnostico.current_page_item > a {
  background: #9FE3E6 !important;
  color: #2d3f5f !important;
  box-shadow: 0 12px 28px rgba(159, 227, 230, 0.32);
}

/* Menú móvil deslizante Rescate Contable */
@media (max-width: 980px) {

  body.tr_mobile_menu_open {
    overflow: hidden;
  }

  /* Burger móvil */
  .mobile_menu_bar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(45, 63, 95, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: all 0.22s ease;
  }

  .mobile_menu_bar:hover {
    background: rgba(45, 63, 95, 0.10);
  }

  .mobile_menu_bar:before {
    color: #2d3f5f !important;
    font-size: 32px !important;
    line-height: 1 !important;
  }

  .mobile_nav.opened .mobile_menu_bar {
    background: #2d3f5f;
  }

  .mobile_nav.opened .mobile_menu_bar:before {
    color: #ffffff !important;
    content: "\4d";
  }

  /* Panel móvil */
  .et_mobile_menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 86vw !important;
    max-width: 390px !important;
    height: 100vh !important;
    padding: 92px 28px 32px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 28px 0 0 28px;
    box-shadow: -22px 0 70px rgba(18, 32, 55, 0.18);
    transform: translateX(110%) !important;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.34s ease, opacity 0.24s ease, visibility 0.24s ease;
    overflow-y: auto;
    z-index: 99999;
  }

  .mobile_nav.opened .et_mobile_menu {
    transform: translateX(0) !important;
    opacity: 1;
    visibility: visible;
  }

  .et_mobile_menu li {
    padding: 0 !important;
    margin: 0 0 8px !important;
  }

  .et_mobile_menu li a {
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(45, 63, 95, 0.08) !important;
    color: #2d3f5f !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.25;
  }

  .et_mobile_menu li a:hover {
    background: transparent !important;
    color: #2f9fa3 !important;
    opacity: 1 !important;
  }

  /* Item activo menú móvil */
  .et_mobile_menu li.current-menu-item > a,
  .et_mobile_menu li.current_page_item > a {
    color: #2f9fa3 !important;
    font-weight: 800 !important;
    background: rgba(159, 227, 230, 0.12) !important;
    border-radius: 14px;
    padding-left: 14px !important;
    padding-right: 14px !important;
    border-bottom: none !important;
  }

  /* CTA Diagnóstico destacado en móvil */
  .et_mobile_menu .tr_menu_diagnostico {
    margin-top: 18px !important;
  }

  .et_mobile_menu .tr_menu_diagnostico > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 20px !important;
    background: #2d3f5f !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border-bottom: none !important;
    font-weight: 800 !important;
    box-shadow: 0 16px 34px rgba(45, 63, 95, 0.20);
  }

  .et_mobile_menu .tr_menu_diagnostico > a:hover {
    background: #22324d !important;
    color: #ffffff !important;
  }

  .et_mobile_menu .tr_menu_diagnostico.current-menu-item > a,
  .et_mobile_menu .tr_menu_diagnostico.current_page_item > a {
    background: #9FE3E6 !important;
    color: #2d3f5f !important;
  }

  body.tr_mobile_menu_open .tr_mobile_menu_overlay {
    opacity: 1;
    visibility: visible;
  }
}
/* Overlay móvil transparente Rescate Contable */
@media (max-width: 980px) {
  .tr_mobile_menu_overlay,
  body.tr_mobile_menu_open .tr_mobile_menu_overlay {
    background: transparent !important;
  }
}
/* Burger móvil Rescate Contable - icono personalizado */
@media (max-width: 980px) {

  .mobile_menu_bar {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(45, 63, 95, 0.06);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }

  .mobile_menu_bar:before {
    content: "" !important;
    width: 22px;
    height: 2px;
    background: #2d3f5f;
    border-radius: 999px;
    box-shadow:
      0 -7px 0 #2d3f5f,
      0 7px 0 #2d3f5f;
    transition: all 0.22s ease;
  }

  .mobile_nav.opened .mobile_menu_bar {
    background: #2d3f5f;
  }

  .mobile_nav.opened .mobile_menu_bar:before {
    width: 22px;
    height: 2px;
    background: #ffffff;
    box-shadow: none;
    transform: rotate(45deg);
  }

  .mobile_nav.opened .mobile_menu_bar:after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transform: rotate(-45deg);
  }
}
/* Contacto - esferas rápidas */
.tr_contact_spheres_inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
  max-width: 620px;
}

.tr_contact_sphere_inline {
  display: block;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
}

.tr_contact_sphere_icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: rgba(159, 227, 230, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.tr_contact_fa_icon {
  font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  color: #2f9fa3 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  display: inline-block;
}

.tr_contact_sphere_inline h4 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0b1f3d;
  letter-spacing: -0.02em;
}

.tr_contact_sphere_inline:hover .tr_contact_sphere_icon {
  background: #9FE3E6;
  transform: translateY(-2px);
}

.tr_contact_sphere_inline:hover h4 {
  color: #2f9fa3;
}

/* Móvil */
@media (max-width: 767px) {
  .tr_contact_spheres_inline {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  .tr_contact_sphere_icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .tr_contact_fa_icon {
    font-size: 21px !important;
  }

  .tr_contact_sphere_inline h4 {
    font-size: 0.78rem;
    line-height: 1.25;
  }
}
/* Home hero full height Truall */
.tr_home_hero_full {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.tr_home_hero_full .et_pb_row {
  width: 100%;
  display: flex;
  align-items: center;
}
/* Tablet */
@media (max-width: 980px) {
  .tr_home_hero_full {
    min-height: calc(100vh - 80px);
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .tr_home_hero_full .et_pb_row {
    display: block;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .tr_home_hero_full {
    min-height: auto;
    padding-top: 44px !important;
    padding-bottom: 50px !important;
  }
}
.tr_footer_title_line {
  width: 64px;
  height: 2px;
  margin: 12px 0 22px;
  border-radius: 999px;
  background: rgba(47, 159, 163, 0.24);
}