﻿/* Light mode for the pages that have their own stylesheet: policy, terms, 404, contact, estimate (build) and discuss.
   Dark stays exactly as it was. Light uses the same soft base (#ebe8e2) as the service and detail pages. */
.nf, .contact-page, #builder-main { isolation: isolate; }
/* the "Close" link used to sit left of the Menu button; the theme toggle now sits between them, so it moves over */
.builder-close { right: calc(4vw + 156px + 56px); }
@media (max-width: 768px) { .builder-close { right: calc(4vw + 140px + 48px); } }
@media (max-width: 480px) { .builder-close { right: calc(4vw + 140px + 44px); } }

html[data-theme="light"] body:has(.policy-container, .nf, .contact-page, #builder-main) { background-color: #ebe8e2; color: #141414; }
html[data-theme="light"] :is(body, html):has(#builder-main) { background-color: #ebe8e2; }
html[data-theme="light"] body:has(.policy-container, .nf, .contact-page) :is(.faq-section, .cl, .footer-section, #footer-container) { background: #ebe8e2; background-color: #ebe8e2; }

/* ---- Privacy and Terms ---- */
html[data-theme="light"] body:has(.policy-container), html[data-theme="light"]:has(.policy-container) { background-color: #ebe8e2; color: #2a2a2e; }
html[data-theme="light"] .legal-bar { background: rgba(235, 232, 226, 0.92); }
html[data-theme="light"] :where(.policy-container) :is(h1, h2, strong) { color: #141414; }
html[data-theme="light"] :where(.policy-container) h1 span { color: #A64A00; }
html[data-theme="light"] .policy-container :is(a, .last-updated) { color: #A64A00; }
html[data-theme="light"] .policy-container .last-updated { color: #5a5a60; }
html[data-theme="light"] .policy-container a:hover { color: #141414; }
html[data-theme="light"] :where(.policy-container) hr { border-bottom-color: rgba(0, 0, 0, 0.14); }
html[data-theme="light"] .accept-btn { background: #141414; color: #fff; }
html[data-theme="light"] .accept-btn:hover { background: #B04F00; color: #fff; }
html[data-theme="light"] .bg-glow { background: radial-gradient(circle, rgba(196, 90, 0, 0.08) 0%, transparent 70%); }

/* quick answers block (policy and terms) */
.policy-faq { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.policy-container .policy-faq h3 { font-family: 'League Spartan', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin: 1.6rem 0 0.5rem; }
.policy-container .policy-faq p { margin-bottom: 0.5rem; }
html[data-theme="light"] .policy-faq { border-top-color: rgba(0, 0, 0, 0.14); }
html[data-theme="light"] .policy-container .policy-faq h3 { color: #141414; }

/* ---- 404 ---- */
html[data-theme="light"] .nf { background: radial-gradient(55% 50% at 85% 10%, rgba(196, 90, 0, 0.14), rgba(196, 90, 0, 0) 70%), #ebe8e2; }
html[data-theme="light"] .nf-ghost { -webkit-text-stroke-color: rgba(196, 90, 0, 0.3); }
html[data-theme="light"] .nf-eyebrow { color: #5a5a60; }
html[data-theme="light"] .nf-title { color: #141414; }
html[data-theme="light"] .nf-title em, html[data-theme="light"] .nf-help a { color: #A64A00; }
html[data-theme="light"] .nf-text { color: #3a3a40; }
html[data-theme="light"] .nf-help { color: #5a5a60; }
html[data-theme="light"] .nf-btn { border-color: rgba(0, 0, 0, 0.3); color: #141414; }
html[data-theme="light"] .nf-btn:hover, html[data-theme="light"] .nf-btn:focus-visible { border-color: #A64A00; color: #A64A00; }
html[data-theme="light"] .nf-btn--primary { background: #B04F00; border-color: #B04F00; color: #fff; box-shadow: none; }
html[data-theme="light"] .nf-btn--primary:hover, html[data-theme="light"] .nf-btn--primary:focus-visible { background: #141414; border-color: #141414; color: #fff; }

/* ---- Contact (the page is built on variables, so most of it follows) ---- */
html[data-theme="light"] .contact-page {
    --c-bg: #ebe8e2; --c-surface: rgba(255, 255, 255, 0.6); --c-surface-hover: rgba(255, 255, 255, 0.85);
    --c-border: rgba(0, 0, 0, 0.12); --c-border-strong: rgba(0, 0, 0, 0.24);
    --c-text: #141414; --c-muted: #55555b; --c-faint: #707078; --c-accent: #A64A00; --c-error: #c62828; --c-ok: #1b7a3a;
    color: #141414;
}
html[data-theme="light"] .contact-page::before { background: radial-gradient(ellipse 60% 45% at 50% 40%, rgba(235, 232, 226, 0.85) 0%, rgba(235, 232, 226, 0.35) 60%, rgba(235, 232, 226, 0) 100%); }
html[data-theme="light"] .map-block { fill: rgba(0, 0, 0, 0.03); }
html[data-theme="light"] .map-street { stroke: rgba(0, 0, 0, 0.09); }
html[data-theme="light"] .map-road { stroke: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .map-road-core { stroke: rgba(235, 232, 226, 0.9); }
html[data-theme="light"] .map-label { fill: rgba(0, 0, 0, 0.35); }
html[data-theme="light"] .contact-title { color: #141414; }
html[data-theme="light"] .contact-subtitle { color: #3a3a40; }
html[data-theme="light"] .contact-tabs { background: rgba(255, 255, 255, 0.55); }
html[data-theme="light"] .tab-indicator { background: #B04F00; box-shadow: none; }
html[data-theme="light"] .contact-tab { color: #2a2a2e; }
html[data-theme="light"] .contact-tab:hover { color: #141414; }
html[data-theme="light"] .contact-tab.is-active { color: #fff; }
html[data-theme="light"] .info-value, html[data-theme="light"] .info-value a, html[data-theme="light"] .social-item { color: #141414; }
html[data-theme="light"] .info-value .info-sub-link { color: #A64A00; }
html[data-theme="light"] .info-value a:hover, html[data-theme="light"] .social-item:hover { color: #A64A00; }
html[data-theme="light"] .field-label, html[data-theme="light"] .consent { color: #2a2a2e; }
html[data-theme="light"] .field input, html[data-theme="light"] .field textarea { color: #141414; }
html[data-theme="light"] .consent-box::after { border-color: #fff; }
html[data-theme="light"] .send-btn { background: #B04F00; color: #fff; box-shadow: none; }
html[data-theme="light"] .send-btn svg { stroke: #fff; }
html[data-theme="light"] .send-btn:hover { background: #141414; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); }
html[data-theme="light"] .contact-page .breadcrumb a, html[data-theme="light"] .contact-page .breadcrumb { color: #55555b; }
@media (hover: none) and (pointer: coarse) { html[data-theme="light"] .contact-tabs { background: rgba(255, 255, 255, 0.9); } }

/* ---- Estimate (build) and Discuss: one question at a time ---- */
html[data-theme="light"] :is(.step-title, .choice-label, .sum-price, .sum-item strong) { color: #141414; }
html[data-theme="light"] .step-number, html[data-theme="light"] .builder-close, html[data-theme="light"] .accent-italic, html[data-theme="light"] .choice-price { color: #A64A00; }
html[data-theme="light"] .builder-close:hover { color: #141414; }
html[data-theme="light"] .step-desc, html[data-theme="light"] .sum-disclaimer, html[data-theme="light"] .sum-note, html[data-theme="light"] .sum-left .sum-price small { color: #4a4a50; }
html[data-theme="light"] .choice-subtext, html[data-theme="light"] .press-enter-hint, html[data-theme="light"] .sum-left .est-badge { color: #55555b; }
html[data-theme="light"] .input-line { color: #141414; border-bottom-color: rgba(0, 0, 0, 0.35); }
html[data-theme="light"] .input-line:focus { border-bottom-color: #A64A00; }
html[data-theme="light"] .input-line::placeholder { color: rgba(0, 0, 0, 0.38); }
html[data-theme="light"] input.input-line[type="date"] { color-scheme: light; }
html[data-theme="light"] .btn-next { background: #141414; color: #fff; }
html[data-theme="light"] .btn-next:hover { background: #B04F00; color: #fff; }
html[data-theme="light"] .btn-ghost { color: #141414 !important; border-color: rgba(0, 0, 0, 0.35) !important; }
html[data-theme="light"] .btn-ghost:hover { border-color: #A64A00 !important; color: #A64A00 !important; }
html[data-theme="light"] .choice-card { border-color: rgba(0, 0, 0, 0.18); background: rgba(255, 255, 255, 0.4); }
html[data-theme="light"] .choice-card::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent); }
html[data-theme="light"] .choice-card:hover { border-color: rgba(0, 0, 0, 0.45); background: rgba(255, 255, 255, 0.7); }
html[data-theme="light"] .choice-card.selected { border-color: #C45A00; background: rgba(196, 90, 0, 0.1); box-shadow: 0 0 0 3px rgba(196, 90, 0, 0.18); }
html[data-theme="light"] .summary-box, html[data-theme="light"] .summary-top, html[data-theme="light"] .sum-delivery { border-color: rgba(0, 0, 0, 0.14); }
html[data-theme="light"] .summary-box { background: rgba(255, 255, 255, 0.45); }
html[data-theme="light"] .sum-item { color: #2a2a2e; border-bottom-color: rgba(0, 0, 0, 0.1); }
html[data-theme="light"] .sum-tier { color: #A64A00; border-color: rgba(166, 74, 0, 0.45); }
html[data-theme="light"] .progress-fill { background: #141414; }

/* shared small text on the soft light base (4.5:1) */
html[data-theme="light"] .site-breadcrumb__sep { color: #A64A00; }
html[data-theme="light"] .faq-q__num { color: #A64A00; }
html[data-theme="light"] :is(.faq-intro a, .faq-a a) { color: #A64A00; }
html[data-theme="light"] .col-header, html[data-theme="light"] .footer-brand__tag { color: #55555b; }
html[data-theme="light"] .policy-container a.accept-btn { color: #fff; }

/* contact: short "before you write" note under the form */
.contact-note { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 0 5vw clamp(48px, 9vh, 90px); }
.contact-note h2 { margin: 0 0 1rem; font: 500 1.3rem 'Inter', sans-serif; color: var(--c-text); }
.contact-note p { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.7; color: var(--c-muted); }
.contact-note a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="light"] .contact-note p { color: #3a3a40; }
