/* V5 theme: explicit contrast pairs, original gold accents and photography. */
html{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--muted:#b9c2ce;--line:#414b59;--foreground:#f2f5f9;--background:#202733}
.manager-card{flex-wrap:wrap}.manager-email{flex-basis:100%;color:inherit;text-decoration:underline;text-underline-offset:4px}
.header-inner{gap:12px}.header-contact{gap:12px}.phone-dropdown{min-width:240px;width:260px}
@media(min-width:1051px) and (max-width:1250px){.desktop-nav{display:none!important}.menu-button{display:block!important}.mobile-nav{display:flex!important;background:#fff;flex-direction:column;padding:20px}}
@media(max-width:760px){.header-inner{gap:8px}.header-inner .brand{min-width:0;flex-shrink:1}.header-inner .brand img{max-width:min(180px,45vw)}.menu-button{margin-left:0!important;flex-shrink:0}.manager-card>a{overflow-wrap:anywhere}.header-inner theme-switch{margin-left:auto}.header .header-inner{flex-wrap:wrap;padding-block:12px}}
html[data-theme=dark] body{background:#141a23;color:#f2f5f9}
html[data-theme=dark] :is(.site-header,.header){background:#1b222ef5;border-color:#414b59}
html[data-theme=dark] :is(.hero){background:linear-gradient(135deg,#161e29,#202936)}
html[data-theme=dark] :is(.gallery-section,.tasks-section){background:#141a23}
html[data-theme=dark] :is(.calculator-card,.request-form-wrap,.form-success,.transport-modal,.quote-dialog,.aside-box,.service-card,.process-grid article,.mobile-nav,.phone-dropdown,.phone-dropdown:before,.suggestions,.suggestions button,.card){background:#202733!important;color:#f2f5f9;border-color:#414b59}
html[data-theme=dark] :is(.field input,.field select,.field textarea){color:#f2f5f9;background:#151c26;border-color:#596475}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#aeb9c8;opacity:1}
html[data-theme=dark] :is(.desktop-nav a,.phone-toggle,.mobile-phones-toggle,.menu-button,.field>span,.hero-lead,.hero-facts,.eyebrow,.service-card p,.document-body p,.document-body li,.calc-note,.consent,.calc-result p,.result-meta,.transport-modal>p){color:#c3ccd8}
html[data-theme=dark] :is(h1 em,.service-index,.process-grid article>span){color:#b8c1cf}
html[data-theme=dark] :is(.calc-tabs,.mobile-phone-list a,.task-icon,.calc-error,.quote-dialog [data-slot=dialog-close],.transport-modal-close,.slider-controls button){background:#303b4b;color:#f2f5f9}
html[data-theme=dark] .calc-tabs button{color:#c3ccd8}
html[data-theme=dark] .calc-tabs button.active{background:#47566a;color:#fff}
html[data-theme=dark] :is(.suggestions button:hover,.phone-dropdown a:hover){background:#354357!important}
html[data-theme=dark] .calc-result{background:#3b351d;color:#fff2b5}
html[data-theme=dark] :is(.button-yellow,.icon-tile,.manager-avatar,.request-contact-icon,.slider-order-button){color:#24272c}
html[data-theme=dark] .button-dark{background:#ffd31a;color:#24272c}
html[data-theme=dark] .header-calc-button{background-image:none}
html[data-theme=dark] :is(.task-tag,.check-list svg,.hero-facts svg,.form-success svg){color:#ffd31a}
html[data-theme=dark] :is(.service-card:hover,.service-card:focus-visible,.service-card:active,.process-grid article:hover,.process-grid article:active){background:#ffd31a!important;color:#24272c}
html[data-theme=dark] :is(.service-card:hover,.service-card:focus-visible,.service-card:active,.process-grid article:hover,.process-grid article:active) :is(p,span){color:#34383e}
html[data-theme=dark] .slider-dots button.active{background:#ffd31a}
html[data-theme=dark] .form-error{color:#ffb5b5}
html[data-theme=dark] :is(.footer-lead,.footer-links a,.footer-bottom){color:#b6beca}
html[data-theme=dark] .card::after{color:#2c3543}
html[data-theme=dark] .card p{color:#c3ccd8}
html[data-theme=dark] .card :is(.code,.button-primary){color:#24272c}
html[data-theme=dark] .card .button-secondary{background:#303b4b;color:#fff;border-color:#aeb9c8}
html[data-theme=dark] :is(a,button):focus-visible{outline:2px solid #ffd31a;outline-offset:4px}
html[data-theme=dark] :is(.brand,.header .header-inner>a:first-child){background:#f7f8fa;border-radius:8px;padding:5px 8px}
html[data-theme=dark] .desktop-nav a{color:#c3ccd8}
html[data-theme=dark] .header-contact>.button-dark{background:#ffd31a;color:#24272c}
