/* AlfaTech 5.8 — unified visual language, scoped to existing templates. */
:root{--at58-ink:#142b40;--at58-muted:#4b6175;--at58-border:#d8e4ee;--at58-soft:#f4f8fc;--at58-blue:#0877d1;--at58-radius:12px;--at58-shadow:0 8px 28px rgba(8,35,59,.055)}
/* Typographic rhythm */
:is(.section,.at-contacts-section,.at-v4-account-body) h2{letter-spacing:-.025em;line-height:1.2}
:is(.section,.at-v4-account-body) p{line-height:1.65}
:is(.section,.at-v4-account-body) .eyebrow{letter-spacing:.11em}
:is(.page-hero,.at-brand-hero,.at-rental-hero,.at-v4-account-heading) .breadcrumbs{margin-bottom:20px}
:is(.page-hero,.at-brand-hero,.at-rental-hero) h1{letter-spacing:-.035em;line-height:1.12}
.section.alt{background:#f5f8fc}
/* Shared card surfaces, without changing media sizing or grid layout */
:is(.at-editorial-card,.work-item,.steps>div,.at-kb-card,.at-auto-brand,.at-brand-card,.at-fleet-card,.at-office,.at-company-step,.at-v4-woo-card,.at-v4-request-panel,.at-quote-panel,.at-contact-form-panel,.at-rental-detail-info,.at-kb-aside,.at-kb-article,.at-v4-account-aside){border-radius:var(--at58-radius);border-color:var(--at58-border);box-shadow:var(--at58-shadow)}
:is(.at-editorial-card,.work-item,.at-kb-card,.at-auto-brand,.at-brand-card,.at-fleet-card,.at-company-step){transition:border-color .18s,box-shadow .18s,transform .18s}
:is(.at-editorial-card,.work-item,.at-kb-card,.at-auto-brand,.at-brand-card,.at-fleet-card,.at-company-step):hover{border-color:#a8cde8;box-shadow:0 12px 30px rgba(8,35,59,.09)}
:is(.at-kb-card,.at-brand-card,.at-fleet-card,.at-auto-brand){min-width:0;overflow-wrap:anywhere}
:is(.at-kb-card,.at-brand-card,.at-fleet-card) img{max-width:100%;object-fit:contain}
/* Buttons and focus are consistent on both background styles */
:is(.section,.at-v4-account-body,.at-v4-account-heading) .button{min-height:43px;border-radius:8px;line-height:1.3;text-align:center}
:is(.section,.at-v4-account-body) .text-link{color:#0567b0;font-weight:750;text-underline-offset:3px}
:is(.section,.at-v4-account-body) .text-link:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #67b9fa;outline-offset:2px}
/* Explicit light surface controls, avoiding white labels on white backgrounds */
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main,.at-kb-search,.at-brand-tools) :is(.at-lead-form,.at-quote-form) label{color:var(--at58-ink)!important;opacity:1}
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main,.at-kb-search,.at-brand-tools) :is(input:not([type=checkbox]):not([type=hidden]):not([type=file]),select,textarea){background:#fff!important;color:#132a40!important;border:1px solid #a9bbca!important;border-radius:8px;min-height:44px}
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main) :is(input,textarea)::placeholder{color:#586d80!important;opacity:1}
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main) .at-consent{color:#324b60!important}
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main) .at-consent a{color:#075fa6!important;text-decoration:underline}
:is(.at-quote-panel,.at-contact-form-panel,.at-pd-request,.at-v4-woo-card,.at-v4-account-main) :is(.at-file-field small,.at-required,label small){color:#4d6578!important}
/* Dark lead panels retain legible light labels and controls */
:is(.cta-box,.request-box) .at-lead-form label{color:#f0f7ff!important;opacity:1}
:is(.cta-box,.request-box) .at-lead-form :is(input:not([type=checkbox]):not([type=hidden]):not([type=file]),select,textarea){background:#fff!important;color:#152c41!important;border:1px solid #aebfcf!important;border-radius:8px;min-height:44px}
:is(.cta-box,.request-box) .at-lead-form :is(input,textarea)::placeholder{color:#526a7c!important;opacity:1}
:is(.cta-box,.request-box) .at-consent :is(span,small){color:#e7f2fc!important}
:is(.cta-box,.request-box) .at-consent a{color:#9ddaff!important;text-decoration:underline}
:is(.cta-box,.request-box) .at-file-field small{color:#d0e5f5!important}
.at-lead-form .at-consent input[type=checkbox]{width:18px;height:18px;min-width:18px;accent-color:#0877d1}
.at-lead-form .button{min-height:46px}
/* Specific sections */
.at-kb-search input,.at-brand-tools input{background:white;color:var(--at58-ink);border:1px solid #a9bbca;border-radius:8px;min-height:44px}
.at-kb-filters a{border-radius:999px;min-height:36px;display:inline-flex;align-items:center}
.at-kb-article-body{color:#20394c;line-height:1.8;max-width:100%;overflow-wrap:anywhere}
.at-kb-article-body :is(h2,h3){color:#0f2d44;line-height:1.25}
.at-kb-article-body :is(img,table){max-width:100%;height:auto}
.at-kb-article-body table{display:block;overflow-x:auto}
.at-auto-brand-copy small,.at-kb-card-meta{color:var(--at58-muted)}
.at-auto-brand .at-brand-logo img{object-fit:contain}
.at-office-phone{overflow-wrap:anywhere}
.at-rental-detail-img img{max-width:100%;height:auto;object-fit:contain}
.at-v4-account-body{background:#f5f8fc}
.at-v4-woo-card :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content){min-width:0}
.at-v4-woo-card :is(.woocommerce-MyAccount-content,.woocommerce-MyAccount-content p){color:var(--at58-ink)}
.at-v4-woo-card .woocommerce-MyAccount-navigation a{line-height:1.35}
/* Responsive consistency */
@media(max-width:760px){.section{padding-top:48px;padding-bottom:48px}.section-heading{gap:12px;align-items:start;flex-wrap:wrap}.section-heading h2,.section h2{font-size:clamp(24px,6.5vw,31px)}.page-hero-inner{padding-top:38px;padding-bottom:40px}.at-brand-hero .container{padding-top:35px;padding-bottom:35px}.at-quote-panel,.at-contact-form-panel,.at-v4-woo-card,.at-v4-request-panel{min-width:0}.at-fields{grid-template-columns:minmax(0,1fr)!important}.at-lead-form :is(input,textarea,select){max-width:100%}}
@media(prefers-reduced-motion:reduce){:is(.at-editorial-card,.work-item,.at-kb-card,.at-auto-brand,.at-brand-card,.at-fleet-card,.at-company-step){transition:none}}

/* AlfaTech 5.9 — accessibility and resilient media. */
.screen-reader-text:focus{position:fixed;top:12px;left:12px;z-index:999999;background:#fff;color:#102338;border:2px solid #0877d1;border-radius:8px;padding:12px 16px;box-shadow:0 8px 22px #0003}
#content:focus{outline:none}
:where(.at-kb-article-body,.entry-content,.at-pd-section) a:not(.button){text-underline-offset:3px}
:where(.at-kb-article-body,.entry-content,.at-pd-section) a:not(.button):focus-visible{outline:3px solid #0877d1;outline-offset:3px}
:where(.at-kb-article-body,.entry-content,.at-pd-section) :is(img,video,iframe){max-width:100%}
:where(.at-kb-article-body,.entry-content,.at-pd-section) :is(pre,table){max-width:100%;overflow-x:auto}
.at-pd-lightbox[hidden]{display:none!important}
.at-pd-lightbox:focus-within{outline:none}
.at-v44-header .menu-toggle[aria-expanded=true]{background:#153b56;border-radius:8px}
@media(max-width:1050px){body.nav-open .site-header{z-index:300}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
