/* TAXONE 2.6.0 — single visual identity on all OS, light/dark/browser modes.
 * Scoped to TaxOne premium pages and widgets; never overrides wp-admin. */
@supports selector(:has(*)) {
  html:has(body.txdk-premium-active) { color-scheme: only light !important; }
}
body.txdk-premium-active { color-scheme: only light !important; background:#F8F6F0 !important; color:#0E1A33 !important; }
body.txdk-premium-active :is(.elementor, .elementor-location-single, .elementor-page) { color-scheme: light; }
/* Force exactly one palette, regardless of OS dark mode or Elementor site-kit colors. */
body.txdk-premium-active .txdk,.txdk { color-scheme:only light; }
/* The palette comes from TaxOne > Ajustes through the global CSS variables.
   Never override those variables here: custom Elementor/brand colors must work. */
/* Keep the HTML section colors that each widget declares in its own stylesheet.
   Do not override a user's Elementor color controls or TaxOne > Ajustes. */
.txdk.tx-section{color:var(--tx-ink)}
.txdk.tx-section:is(.tx-compare,.tx-diagnostic,.tx-contact),.txdk.tx-footer,.txdk.tx-hero{color:#fff}
.txdk :is(input, textarea, select, button) { color-scheme:light; }
.txdk .tx-dash :is(input,button) {color-scheme:dark;}
.txdk .tx-contact-form :is(input,select,textarea),.txdk .tx-picker-button,.txdk .tx-vat-value {color:#0E1A33;background-color:#fff; -webkit-text-fill-color:#0E1A33;}
.txdk .tx-hero-title{ opacity:1!important; }

.txdk .tx-contact-form label{color:#041029;}
/* Logo and header remain legible in user-agent and theme forced-dark schemes. */
.txdk .tx-header-main { background:rgba(248,246,240,.94);color:#07183B; }
.txdk .tx-menu a,.txdk .tx-brand-type,.txdk .tx-menu-toggle{color:var(--tx-navy);}
.txdk .tx-topbar{background:#041029;color:#CFD6E6;}
.txdk .tx-faq-item summary{color:var(--tx-navy);}
.txdk :focus-visible{outline:2px solid #B7965B;outline-offset:3px;}
/* Mobile: preserve cinematic hierarchy, touch targets, soft shadow, readable simulator. */
@media(max-width:767px) {
 .txdk.tx-section {padding-block:clamp(64px,11vw,82px);}
 .txdk .tx-container { padding-inline:clamp(20px,5vw,28px);}
 .txdk .tx-section-heading {margin-bottom:30px;}
 .txdk .tx-section-heading h2 {font-size:clamp(36px,8.4vw,44px);line-height:1.08;}
 .txdk.tx-hero {padding-top:clamp(54px,9vw,80px);}
 .txdk .tx-hero-title {font-size:clamp(42px,10.8vw,66px);line-height:1.05;letter-spacing:-.025em;}
 .txdk .tx-hero-grid{gap:clamp(36px,9vw,56px);}
 .txdk .tx-hero-description{font-size:17px;line-height:1.65;}
 .txdk .tx-dash {padding:clamp(18px,5vw,26px);border-radius:22px;}
 .txdk .tx-dash .tx-simulator :is(input){min-height:50px;font-size:16px;}
 .txdk .tx-slips{margin-top:68px;}
 .txdk .tx-slips-head{align-items:flex-start;}
 .txdk .tx-slips-head b{font-size:clamp(23px,6vw,32px);line-height:1.12;}
 .txdk .tx-docs{position:relative;}
 .txdk .tx-doc{box-shadow:0 22px 40px -17px rgba(0,0,0,.85);}
 .txdk .tx-service-card{box-shadow:0 15px 38px -30px rgba(7,24,59,.35);border-radius:22px;}
 .txdk .tx-service-card:active {transform:translateY(-3px);border-color:#B7965B;}
 .txdk .tx-menu a,.txdk button,.txdk .tx-btn{min-height:44px;}
 .txdk .tx-tool-card {padding:clamp(22px,5vw,34px);}
 .txdk .tx-contact-form{padding:clamp(22px,5vw,34px);}
 .txdk.tx-floating-whatsapp{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));}
}
@media(max-width:420px){
 .txdk .tx-docs{gap:12px;}
 .txdk .tx-doc{padding:16px 12px;font-size:14px;}
 .txdk .tx-header-logo-image{max-width:180px;}
 .txdk .tx-service-grid {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
 .txdk .tx-reveal,.txdk .tx-doc {opacity:1!important;transform:none!important;}
}
