/* TaxOne 2.6.1 — safeguards ONLY premium widget surfaces.
   The reference HTML's color hierarchy survives Elementor, theme and OS color-scheme
   overrides, while the Hero Elementor controls still work through CSS variables.
   This file never modifies WordPress admin or other pages. */
body .txdk.tx-hero,
body .elementor .txdk.tx-hero {
  background-color:var(--tx-hero-base,#041029) !important;
  background-image:
    radial-gradient(700px circle at var(--tx-mx,72%) var(--tx-my,18%),rgba(183,150,91,.24),transparent 55%),
    radial-gradient(900px 500px at 0% 100%,rgba(12,35,82,.95),transparent) !important;
  background-repeat:no-repeat !important;
  color:#fff !important;
  color-scheme:only light;
}
body .txdk.tx-hero .tx-hero-title {
  color:var(--tx-hero-heading-color,#fff) !important;opacity:1 !important;visibility:visible !important;
  text-shadow:none !important;
}
body .txdk.tx-hero .tx-hero-title span, body .txdk.tx-hero .tx-tag { color:var(--tx-hero-gold,#E4D3AE) !important; }
body .txdk.tx-hero .tx-hero-description { color:var(--tx-hero-description-color,#B9C3DC) !important;opacity:1 !important; }
body .txdk.tx-hero .tx-trust { color:#B9C3DC !important; }
body .txdk.tx-hero .tx-slips-head b { color:#fff !important; }
body .txdk.tx-hero .tx-btn-outline { color:#fff !important;background:transparent !important; }
/* Some Elementor site kits and themes force white input backgrounds while the text stays white. */
body .txdk.tx-hero .tx-dash .tx-simulator :is(input.tx-sales,input.tx-purchases) {
  display:block; box-sizing:border-box; width:100%; min-height:48px;
  background-color:rgba(255,255,255,.07) !important; background-image:none !important;
  border:1px solid rgba(255,255,255,.24) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  opacity:1 !important; font:600 17px/1.5 var(--tx-sans,'Manrope',sans-serif) !important;
  border-radius:12px !important; padding:12px 14px !important;
  appearance:none; -webkit-appearance:none;
}
body .txdk.tx-hero .tx-dash .tx-simulator :is(input.tx-sales,input.tx-purchases):focus-visible {
  outline:2px solid var(--tx-gold,#B7965B) !important; outline-offset:2px;
}
body .txdk.tx-hero .tx-dash .tx-simulator label { color:#B9C3DC !important;font-size:13px; }
body .txdk.tx-hero .tx-dash {background-color:var(--tx-navy,#07183B) !important;color:#fff !important;}
body .txdk.tx-hero .tx-sim-result b { color:#fff !important; }
/* Alternating full-bleed section backgrounds are not controlled by the OS theme. */
body .txdk.tx-compare,body .txdk.tx-diagnostic,body .txdk.tx-contact {background-color:#041029 !important;color:#fff !important;}
body .txdk.tx-stats {background-color:#07183B !important;color:#fff !important;}
body .txdk.tx-services,body .txdk.tx-tools,body .txdk.tx-testimonials {background-color:var(--tx-paper,#FFFDF8) !important;color:var(--tx-ink,#0E1A33) !important;}
body .txdk.tx-pains,body .txdk.tx-tabs,body .txdk.tx-process,body .txdk.tx-about,body .txdk.tx-faq-section {background-color:var(--tx-bg,#F8F6F0) !important;color:var(--tx-ink,#0E1A33) !important;}
body .txdk.tx-footer {background-color:#02081A !important;}
body .txdk.tx-section,body .txdk.tx-hero {width:100vw;max-width:none;margin-inline:calc(50% - 50vw);}
body .txdk .tx-container {max-width:1200px;margin-inline:auto;}
@media(max-width:767px){
 body .txdk.tx-hero .tx-hero-copy{min-width:0;}
 body .txdk.tx-hero .tx-hero-title{font-size:clamp(40px,10vw,64px);line-height:1.08;}
 body .txdk.tx-hero .tx-dash{min-width:0;}
}
@media(prefers-reduced-motion:reduce){
 body .txdk.tx-hero .tx-hero-title,body .txdk.tx-hero .tx-hero-description{opacity:1!important;visibility:visible!important;}
}


/* TaxOne 2.23.6 — estabilización de escritorio.
 * Cambios exclusivos de pantallas grandes; el diseño móvil permanece intacto.
 * No se modifican las dimensiones ni colores configurados en Elementor.
 */
@media (min-width:1025px) {
  /* 100vw incluye el ancho de la barra de desplazamiento en Chromium de escritorio.
   * Mantener los fondos full-bleed, pero recortar solo el sobrante horizontal.
   * `clip` no crea contenedor de scroll, a diferencia de overflow:hidden.
   */
  body.txdk-premium-active {overflow-x:clip;}
  /* Reservar espacio bajo la barra fija en los saltos de navegación por ancla. */
  body.txdk-premium-active .txdk[id],
  body.txdk-premium-active .txdk [id^="tx-"] {scroll-margin-top:100px;}
  /* Mantener legibles las tres columnas y tarjetas sin cortes o desbordes. */
  body.txdk-premium-active .txdk :is(.tx-hero-grid,.tx-hero-copy,.tx-hero-panel-wrap,.tx-help-grid,.tx-help-card,.tx-process-steps,.tx-process-step) {min-width:0;}
  body.txdk-premium-active .txdk :is(.tx-help-card,.tx-process-step,.tx-service-card) {overflow-wrap:break-word;}
  /* La animación infinita del panel compuesto recalculaba frames aun sin interacción.
   * Se conservan sus perspectivas y efectos de hover, y la animación de documentos. */
  body.txdk-premium-active .txdk .tx-dash,
  body.txdk-premium-active .txdk .tx-floating-chip {animation:none;}
  body.txdk-premium-active .txdk .tx-hero .tx-doc:not(:hover) {will-change:auto;}
  /* Evita partir palabras a mitad en los pasos ovalados de cinco columnas. */
  body.txdk-premium-active .txdk.tx-process .tx-process-step {
    padding-left:clamp(10px,1.1vw,16px);padding-right:clamp(10px,1.1vw,16px);
  }
  body.txdk-premium-active .txdk.tx-process .tx-process-top {
    margin-left:calc(-1 * clamp(10px,1.1vw,16px));
    margin-right:calc(-1 * clamp(10px,1.1vw,16px));
  }
  body.txdk-premium-active .txdk.tx-process .tx-process-step h3 {
    font-size:clamp(16px,1.25vw,20px);overflow-wrap:normal;
  }
}
@media (min-width:1181px) and (max-width:1450px) {
  /* Menú completo: evitar que el CTA invada el logo en portátiles. */
  body.txdk-premium-active .tx-header-widget .tx-menu {gap:clamp(10px,1.2vw,18px);font-size:.86rem;}
  body.txdk-premium-active .tx-header-widget .tx-header-cta {padding:12px 16px;font-size:.85rem;}
  body.txdk-premium-active .tx-header-widget .tx-header-logo-image {max-width:196px;}
}
