/* USA AUTO theme system v1 — professional light/dark mode and aligned footer. */
:root{
  color-scheme:dark;
  --theme-gold:#d9a83f;
  --theme-gold-strong:#f7c654;
  --theme-green:#1db95a;
  --theme-radius:20px;
}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}

/* Theme controls */
.desktop-header-actions{position:relative;z-index:2;display:flex;align-items:center;gap:12px}
.theme-toggle{
  --toggle-bg:rgba(255,255,255,.055);
  --toggle-border:rgba(247,198,84,.28);
  --toggle-text:#f4f6f9;
  position:relative;
  display:inline-flex;
  min-width:48px;
  height:48px;
  padding:0 13px;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid var(--toggle-border);
  border-radius:14px;
  color:var(--toggle-text);
  background:var(--toggle-bg);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 24px rgba(0,0,0,.16);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .2s ease,color .25s ease;
}
.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(247,198,84,.52);background:rgba(247,198,84,.09)}
.theme-toggle:active{transform:translateY(0)}
.theme-toggle:focus-visible{outline:3px solid rgba(247,198,84,.85);outline-offset:3px}
.theme-toggle-icons{position:relative;width:22px;height:22px;display:block;flex:0 0 22px}
.theme-toggle-icon{position:absolute;inset:0;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:opacity .28s ease,transform .38s cubic-bezier(.22,.8,.24,1)}
.theme-icon-sun{color:#f7c654}
.theme-icon-moon{color:#dbe7ff}
html[data-theme="dark"] .theme-icon-sun{opacity:1;transform:rotate(0deg) scale(1)}
html[data-theme="dark"] .theme-icon-moon{opacity:0;transform:rotate(-24deg) scale(.72)}
html[data-theme="light"] .theme-icon-sun{opacity:0;transform:rotate(24deg) scale(.72)}
html[data-theme="light"] .theme-icon-moon{opacity:1;transform:rotate(0deg) scale(1)}
.theme-toggle-label{font-size:12px;font-weight:900;letter-spacing:.02em;white-space:nowrap}
.theme-toggle-mobile{display:none}

/* Smooth theme change only after interaction, never during initial paint. */
html.theme-transitioning *,html.theme-transitioning *::before,html.theme-transitioning *::after{
  transition-property:background-color,border-color,color,box-shadow,fill,stroke!important;
  transition-duration:.36s!important;
  transition-timing-function:ease!important;
}

/* Footer — clean, aligned, branded */
.footer-ads-ready{padding:42px 24px 20px!important}
.footer-ads-grid{
  grid-template-columns:minmax(330px,1.15fr) minmax(220px,.72fr) minmax(250px,.83fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}
.footer-brand-card,.footer-column{
  min-height:168px;
  padding:22px!important;
  border-radius:20px!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.footer-brand-card{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:18px!important}
.footer-logo-mark{
  width:86px!important;
  height:70px!important;
  flex:0 0 86px!important;
  padding:8px!important;
  border-radius:18px!important;
  overflow:hidden;
}
.footer-brand-logo{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(206,147,29,.18))}
.footer-business{gap:5px!important;line-height:1.18}
.footer-business strong{font-size:23px!important;letter-spacing:.035em!important}
.footer-business span{font-size:14px!important;line-height:1.35}
.footer-business small{font-size:12px!important;line-height:1.45}
.footer-column-title{margin:0 0 14px!important;font-size:15px!important;letter-spacing:.02em}
.footer-business-links,.footer-legal{gap:9px!important}
.footer-business-links a{min-height:51px;padding:9px 12px!important;border-radius:12px!important;align-content:center}
.footer-business-links a b{font-size:14px!important}
.footer-legal{grid-template-columns:1fr 1fr;column-gap:16px!important}
.footer-legal a,.footer-legal button{min-height:30px;display:flex;align-items:center;padding:5px 0 5px 15px!important;font-size:12px!important}
.footer-legal a::before,.footer-legal button::before{top:50%!important;transform:translateY(-50%)}
.footer-bottom{align-items:center;min-height:44px;padding-top:15px!important}

/* LIGHT THEME — main page */
html[data-theme="light"] body{
  background:linear-gradient(180deg,#f4f6f9 0%,#e9edf3 100%)!important;
  color:#171b22!important;
}
html[data-theme="light"] body::before{background:radial-gradient(circle at 12% 0%,rgba(201,144,28,.08),transparent 28%)!important}
html[data-theme="light"] .site{background:#eef2f6!important}
html[data-theme="light"] .premium-section,
html[data-theme="light"] .extra-section,
html[data-theme="light"] .reviews-section,
html[data-theme="light"] .faq-section,
html[data-theme="light"] .contact-section,
html[data-theme="light"] .lead-section,
html[data-theme="light"] .stats-strip,
html[data-theme="light"] .mobile-only-section{
  background:linear-gradient(180deg,#f4f6f9,#e9edf3)!important;
  border-color:rgba(26,33,44,.08)!important;
}
html[data-theme="light"] .premium-section-panel,
html[data-theme="light"] .contact-box,
html[data-theme="light"] .lead-panel{
  color:#171b22!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(243,246,250,.99))!important;
  border-color:rgba(188,132,18,.24)!important;
  box-shadow:0 25px 70px rgba(48,59,75,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
}
html[data-theme="light"] .premium-section-panel::before,
html[data-theme="light"] .contact-box::before,
html[data-theme="light"] .lead-panel::before{
  background:linear-gradient(115deg,rgba(220,162,45,.10),transparent 34%),radial-gradient(circle at 86% 15%,rgba(220,162,45,.09),transparent 22%)!important;
}
html[data-theme="light"] .premium-section-panel::after,
html[data-theme="light"] .contact-box::after{border-color:rgba(193,137,28,.13)!important;box-shadow:0 0 0 30px rgba(208,151,36,.018),0 0 0 60px rgba(208,151,36,.012)!important}
html[data-theme="light"] .premium-section-panel h2,
html[data-theme="light"] .contact-box h2,
html[data-theme="light"] .lead-copy h2,
html[data-theme="light"] .extra-head h2,
html[data-theme="light"] .faq-head h2{
  background:none!important;
  color:#141820!important;
  -webkit-text-fill-color:#141820!important;
}
html[data-theme="light"] .premium-section-panel p,
html[data-theme="light"] .extra-head p,
html[data-theme="light"] .faq-head p,
html[data-theme="light"] .contact-box p,
html[data-theme="light"] .lead-intro,
html[data-theme="light"] .mobile-info-card p,
html[data-theme="light"] .mobile-process-step span,
html[data-theme="light"] .extra-card p,
html[data-theme="light"] .review-card p,
html[data-theme="light"] .faq-item p{color:#5c6675!important}
html[data-theme="light"] .mobile-info-card,
html[data-theme="light"] .mobile-process-step,
html[data-theme="light"] .mobile-benefit,
html[data-theme="light"] .extra-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .lead-form,
html[data-theme="light"] .lead-step,
html[data-theme="light"] .contact-actions{
  color:#171b22!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(242,245,249,.96))!important;
  border-color:rgba(31,39,50,.10)!important;
  box-shadow:0 14px 38px rgba(45,56,72,.08),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .mobile-info-card h3,
html[data-theme="light"] .extra-card h3,
html[data-theme="light"] .mobile-process-step strong,
html[data-theme="light"] .review-card strong,
html[data-theme="light"] .faq-item summary,
html[data-theme="light"] .lead-form-head strong,
html[data-theme="light"] .contact-actions-title{color:#171b22!important}
html[data-theme="light"] .mobile-benefit span{color:#343c49!important}
html[data-theme="light"] .lead-form input,
html[data-theme="light"] .lead-form select,
html[data-theme="light"] .lead-form textarea{
  color:#171b22!important;
  background:#fff!important;
  border-color:rgba(30,39,51,.15)!important;
  box-shadow:inset 0 1px 2px rgba(30,39,51,.035)!important;
}
html[data-theme="light"] .lead-form input::placeholder,
html[data-theme="light"] .lead-form textarea::placeholder{color:#8b94a1!important}
html[data-theme="light"] .lead-field label,
html[data-theme="light"] .lead-note,
html[data-theme="light"] .lead-consent,
html[data-theme="light"] .contact-note{color:#687382!important}
html[data-theme="light"] .contact-phone{
  color:#171b22!important;
  background:#fff!important;
  border-color:rgba(193,137,28,.34)!important;
}
html[data-theme="light"] .footer-ads-ready{
  background:linear-gradient(180deg,#f4f6f9,#e8edf3)!important;
  border-top-color:rgba(189,132,19,.20)!important;
}
html[data-theme="light"] .footer-brand-card,
html[data-theme="light"] .footer-column{
  background:rgba(255,255,255,.76)!important;
  border-color:rgba(31,39,50,.10)!important;
  box-shadow:0 14px 34px rgba(42,53,69,.07)!important;
}
html[data-theme="light"] .footer-logo-mark{background:rgba(220,162,45,.08)!important;border-color:rgba(193,137,28,.25)!important}
html[data-theme="light"] .footer-business strong{color:#b97806!important}
html[data-theme="light"] .footer-business span,
html[data-theme="light"] .footer-column-title{color:#1a1f27!important}
html[data-theme="light"] .footer-business small,
html[data-theme="light"] .footer-business-links a span{color:#6c7684!important}
html[data-theme="light"] .footer-business-links a{color:#252b34!important;background:#f7f9fb!important;border:1px solid rgba(31,39,50,.07)}
html[data-theme="light"] .footer-business-links a:hover{background:#fff6df!important;color:#9a6500!important}
html[data-theme="light"] .footer-legal a,
html[data-theme="light"] .footer-legal button{color:#5e6875!important}
html[data-theme="light"] .footer-legal a:hover,
html[data-theme="light"] .footer-legal button:hover{color:#9a6500!important}
html[data-theme="light"] .footer-bottom{color:#6c7684!important;border-top-color:rgba(31,39,50,.10)!important}
html[data-theme="light"] .cookie-banner{background:linear-gradient(180deg,transparent,rgba(58,67,81,.20))!important}
html[data-theme="light"] .cookie-card{
  background:rgba(255,255,255,.98)!important;
  border-color:rgba(193,137,28,.28)!important;
  box-shadow:0 24px 70px rgba(43,53,68,.20),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .cookie-copy strong{color:#171b22!important}
html[data-theme="light"] .cookie-copy p{color:#5f6977!important}
html[data-theme="light"] .cookie-reject{color:#343b45!important;background:#f1f4f7!important;border-color:rgba(31,39,50,.13)!important}
html[data-theme="light"] .mobile-menu{
  background:rgba(255,255,255,.98)!important;
  border-color:rgba(193,137,28,.24)!important;
  box-shadow:0 24px 70px rgba(43,53,68,.22)!important;
}
html[data-theme="light"] .mobile-menu a{color:#1c222b!important;background:rgba(31,39,50,.035)!important}
html[data-theme="light"] .mobile-menu a:active,
html[data-theme="light"] .mobile-menu a:focus-visible{background:rgba(220,162,45,.12)!important}

/* Legal pages in light mode */
html[data-theme="light"] body:has(.legal-shell){background:linear-gradient(180deg,#f4f6f9,#e8edf3)!important;color:#171b22!important}
html[data-theme="light"] .legal-top{background:rgba(255,255,255,.82)!important;border-color:rgba(31,39,50,.10)!important;box-shadow:0 12px 34px rgba(43,53,68,.07)}
html[data-theme="light"] .legal-brand-copy strong{color:#b97806!important}
html[data-theme="light"] .legal-brand-copy small{color:#687382!important}
html[data-theme="light"] .legal-brand-mark{background:rgba(220,162,45,.08)!important;border-color:rgba(193,137,28,.23)!important}
html[data-theme="light"] .legal-back{color:#26303a!important;background:#f8fafc!important;border-color:rgba(31,39,50,.12)!important}
html[data-theme="light"] .legal-card{background:linear-gradient(145deg,#fff,#f1f4f8)!important;border-color:rgba(193,137,28,.24)!important;box-shadow:0 30px 80px rgba(43,53,68,.13),inset 0 1px 0 #fff!important}
html[data-theme="light"] .legal-card::before{background:linear-gradient(120deg,rgba(220,162,45,.09),transparent 30%),radial-gradient(circle at 92% 5%,rgba(220,162,45,.08),transparent 21%)!important}
html[data-theme="light"] .legal-hero{border-color:rgba(31,39,50,.10)!important}
html[data-theme="light"] .legal-card h1{background:none!important;color:#141820!important;-webkit-text-fill-color:#141820!important}
html[data-theme="light"] .legal-card h2,
html[data-theme="light"] .legal-contact strong,
html[data-theme="light"] .legal-help strong{color:#171b22!important}
html[data-theme="light"] .legal-card p,
html[data-theme="light"] .legal-card li{color:#596473!important}
html[data-theme="light"] .legal-contact,
html[data-theme="light"] .legal-help{background:rgba(255,255,255,.70)!important;border-color:rgba(31,39,50,.10)!important}
html[data-theme="light"] .legal-button.secondary{color:#20262f!important;background:#fff!important;border-color:rgba(193,137,28,.26)!important}

/* Legal top controls */
.legal-top-actions{display:flex;align-items:center;gap:9px}
.legal-top .theme-toggle{height:42px;min-width:42px;padding:0 10px;border-radius:12px}
.legal-brand-mark img{display:block;width:42px;height:28px;object-fit:contain}

@media(max-width:900px){
  .footer-ads-grid{grid-template-columns:1fr!important;gap:12px!important}
  .footer-brand-card,.footer-column{min-height:0;padding:18px!important}
  .footer-brand-card{justify-content:flex-start!important}
  .footer-legal{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
  .theme-toggle-mobile{
    display:inline-flex!important;
    position:fixed!important;
    top:env(safe-area-inset-top)!important;
    right:max(68px,18vw)!important;
    z-index:507!important;
    width:54px!important;
    min-width:54px!important;
    height:var(--approved-mobile-header-height)!important;
    min-height:58px!important;
    padding:0!important;
    border:0!important;
    border-left:1px solid rgba(247,198,84,.16)!important;
    border-radius:0!important;
    background:#020304!important;
    box-shadow:none!important;
  }
  html[data-theme="light"] .theme-toggle-mobile{background:#fff!important;color:#242b34!important;border-left-color:rgba(31,39,50,.10)!important}
  .theme-toggle-mobile .theme-toggle-label{display:none}
  .desktop-header-actions .theme-toggle{display:none}
  .footer-logo-mark{width:76px!important;height:62px!important;flex-basis:76px!important}
}
@media(max-width:560px){
  .footer-brand-card{align-items:center!important;text-align:left}
  .footer-legal{grid-template-columns:1fr!important}
  .footer-bottom{line-height:1.45}
  .legal-top-actions{gap:6px}
  .legal-top .theme-toggle{width:42px;padding:0}
  .legal-top .theme-toggle-label{display:none}
}
/* Final control refinements */
.theme-toggle-mobile{pointer-events:auto!important}
html[data-theme="light"] .theme-toggle-mobile{background:#020304!important;color:#f4f6f9!important;border-left-color:rgba(247,198,84,.16)!important}
html[data-theme="light"] .legal-top .theme-toggle{
  --toggle-bg:#fff;
  --toggle-border:rgba(31,39,50,.14);
  --toggle-text:#20262f;
  box-shadow:0 8px 20px rgba(43,53,68,.08);
}
html[data-theme="light"] body.legal-page{background:linear-gradient(180deg,#f4f6f9,#e8edf3)!important;color:#171b22!important}

/* LIGHT THEME CONTRAST PASS v2
   WCAG-oriented text hierarchy for every light surface. */
html[data-theme="light"]{
  --light-ink:#17202b;
  --light-ink-2:#2f3a48;
  --light-muted:#526071;
  --light-muted-2:#667384;
  --light-gold:#754900;
  --light-gold-strong:#8b5700;
  --light-gold-bg:#fff4d8;
  --light-gold-border:rgba(164,105,0,.32);
  --light-green:#147a42;
  --light-line:rgba(29,39,52,.13);
}

/* Section eyebrow / kicker labels, including “ЯК МИ ПРАЦЮЄМО”. */
html[data-theme="light"] .premium-section-panel .mobile-section-head>span,
html[data-theme="light"] .premium-section-panel .extra-head>span,
html[data-theme="light"] .premium-section-panel .faq-head>span,
html[data-theme="light"] .contact-box.premium-section-panel .contact-label,
html[data-theme="light"] .lead-kicker,
html[data-theme="light"] .legal-eyebrow{
  color:var(--light-gold)!important;
  background:var(--light-gold-bg)!important;
  border-color:var(--light-gold-border)!important;
  text-shadow:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html[data-theme="light"] .premium-section-panel .mobile-section-head>span::before,
html[data-theme="light"] .premium-section-panel .extra-head>span::before,
html[data-theme="light"] .premium-section-panel .faq-head>span::before,
html[data-theme="light"] .contact-box.premium-section-panel .contact-label::before,
html[data-theme="light"] .lead-kicker::before,
html[data-theme="light"] .legal-eyebrow::before{
  background:#16864a!important;
  box-shadow:0 0 0 3px rgba(22,134,74,.12)!important;
}

/* Main headings and supporting copy. */
html[data-theme="light"] .premium-section-panel h2,
html[data-theme="light"] .contact-box h2,
html[data-theme="light"] .lead-copy h2,
html[data-theme="light"] .extra-head h2,
html[data-theme="light"] .faq-head h2{
  color:var(--light-ink)!important;
  -webkit-text-fill-color:var(--light-ink)!important;
  background:none!important;
  text-shadow:none!important;
}
html[data-theme="light"] .premium-section-panel p,
html[data-theme="light"] .extra-head p,
html[data-theme="light"] .faq-head p,
html[data-theme="light"] .contact-box p,
html[data-theme="light"] .lead-intro,
html[data-theme="light"] .mobile-info-card p,
html[data-theme="light"] .mobile-process-step span,
html[data-theme="light"] .extra-card p,
html[data-theme="light"] .review-card p,
html[data-theme="light"] .faq-item p{
  color:var(--light-muted)!important;
}

/* Cards and process details. */
html[data-theme="light"] .mobile-info-card h3,
html[data-theme="light"] .extra-card h3,
html[data-theme="light"] .mobile-process-step strong,
html[data-theme="light"] .review-card strong,
html[data-theme="light"] .faq-item summary,
html[data-theme="light"] .contact-actions-title,
html[data-theme="light"] .lead-step strong,
html[data-theme="light"] .lead-form-head strong{
  color:var(--light-ink)!important;
  -webkit-text-fill-color:var(--light-ink)!important;
}
html[data-theme="light"] .lead-step small,
html[data-theme="light"] .lead-form-head small,
html[data-theme="light"] .lead-note,
html[data-theme="light"] .contact-note{
  color:var(--light-muted-2)!important;
}
html[data-theme="light"] .mobile-benefit b,
html[data-theme="light"] .stars{
  color:var(--light-gold-strong)!important;
  text-shadow:none!important;
}
html[data-theme="light"] .mobile-benefit span{
  color:var(--light-ink-2)!important;
}
html[data-theme="light"] .mobile-info-icon,
html[data-theme="light"] .extra-icon,
html[data-theme="light"] .lead-form-icon{
  color:var(--light-gold-strong)!important;
  background:#fff6df!important;
  border-color:rgba(164,105,0,.25)!important;
  box-shadow:0 9px 22px rgba(109,79,20,.08)!important;
}
html[data-theme="light"] .faq-item summary::after{
  color:var(--light-gold-strong)!important;
}

/* Consultation block. */
html[data-theme="light"] .contact-location{
  color:var(--light-ink)!important;
  background:#f8fafc!important;
  border-color:var(--light-line)!important;
}
html[data-theme="light"] .contact-location svg{
  color:var(--light-gold-strong)!important;
  stroke:currentColor!important;
}
html[data-theme="light"] .contact-location strong{
  color:var(--light-ink)!important;
}
html[data-theme="light"] .contact-location small{
  color:var(--light-muted)!important;
}
html[data-theme="light"] .contact-meta span{
  color:var(--light-ink-2)!important;
  background:#f7f9fc!important;
  border-color:var(--light-line)!important;
}
html[data-theme="light"] .contact-meta span::before{
  background:#16864a!important;
  box-shadow:none!important;
}
html[data-theme="light"] .contact-box.premium-section-panel .contact-actions a{
  color:var(--light-ink)!important;
  background:#fff!important;
  border-color:rgba(29,39,52,.14)!important;
  box-shadow:0 10px 25px rgba(45,56,72,.08)!important;
}
html[data-theme="light"] .contact-box.premium-section-panel .contact-actions a::after{
  color:var(--light-gold-strong)!important;
}
html[data-theme="light"] .contact-box.premium-section-panel .contact-actions .contact-wa{
  color:#fff!important;
  background:linear-gradient(135deg,#25c968,#168c47)!important;
  border-color:rgba(13,112,57,.25)!important;
  box-shadow:0 14px 30px rgba(24,145,75,.20)!important;
}
html[data-theme="light"] .contact-box.premium-section-panel .contact-actions .contact-wa::after{
  color:#fff!important;
}
html[data-theme="light"] .contact-box.premium-section-panel .contact-actions .contact-wa .btn-icon{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

/* Lead / free calculation section. */
html[data-theme="light"] .lead-time{
  color:#465364!important;
  background:#eef2f6!important;
  border-color:rgba(29,39,52,.13)!important;
}
html[data-theme="light"] .lead-step{
  color:var(--light-ink)!important;
  background:#fff!important;
  border-color:var(--light-line)!important;
  box-shadow:0 10px 25px rgba(45,56,72,.07),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .lead-step-number{
  color:#251800!important;
  background:linear-gradient(145deg,#ffe39a,#e2a52b)!important;
}
html[data-theme="light"] .lead-trust,
html[data-theme="light"] .lead-trust span{
  color:#3d4a5a!important;
}
html[data-theme="light"] .lead-trust svg{
  stroke:var(--light-gold-strong)!important;
}
html[data-theme="light"] .lead-form{
  color:var(--light-ink)!important;
  background:linear-gradient(180deg,#fff,#f5f7fa)!important;
  border-color:rgba(164,105,0,.22)!important;
  box-shadow:0 25px 60px rgba(45,56,72,.12),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .lead-form-head{
  border-bottom-color:var(--light-line)!important;
}
html[data-theme="light"] .lead-field,
html[data-theme="light"] .lead-label{
  color:var(--light-ink-2)!important;
}
html[data-theme="light"] .lead-label svg{
  stroke:var(--light-gold-strong)!important;
}
html[data-theme="light"] .lead-label b{
  color:var(--light-gold-strong)!important;
}
html[data-theme="light"] .lead-form input,
html[data-theme="light"] .lead-form select,
html[data-theme="light"] .lead-form textarea{
  color:var(--light-ink)!important;
  background:#fff!important;
  border-color:rgba(29,39,52,.17)!important;
  color-scheme:light!important;
}
html[data-theme="light"] .lead-form input:hover,
html[data-theme="light"] .lead-form select:hover,
html[data-theme="light"] .lead-form textarea:hover{
  border-color:rgba(117,73,0,.38)!important;
}
html[data-theme="light"] .lead-form input:focus,
html[data-theme="light"] .lead-form select:focus,
html[data-theme="light"] .lead-form textarea:focus{
  color:var(--light-ink)!important;
  background:#fff!important;
  border-color:#b1770b!important;
  box-shadow:0 0 0 3px rgba(177,119,11,.13)!important;
}
html[data-theme="light"] .lead-form input::placeholder,
html[data-theme="light"] .lead-form textarea::placeholder{
  color:#778392!important;
}
html[data-theme="light"] .lead-consent{
  color:#526071!important;
}
html[data-theme="light"] .lead-consent a{
  color:#704500!important;
  text-decoration-color:rgba(112,69,0,.35)!important;
}
html[data-theme="light"] .lead-error{
  color:#a32626!important;
}

/* Footer and cookie details that otherwise remain too pale. */
html[data-theme="light"] .footer-business-links a b{
  color:var(--light-ink)!important;
}
html[data-theme="light"] .footer-legal a::before,
html[data-theme="light"] .footer-legal button::before{
  color:var(--light-gold-strong)!important;
}
html[data-theme="light"] .cookie-copy a{
  color:#704500!important;
  text-decoration-color:rgba(112,69,0,.35)!important;
}

/* Legal pages: labels, metadata and contact values. */
html[data-theme="light"] .legal-eyebrow{
  color:var(--light-gold)!important;
}
html[data-theme="light"] .legal-meta,
html[data-theme="light"] .legal-contact span,
html[data-theme="light"] .thankyou-card>p{
  color:var(--light-muted)!important;
}
html[data-theme="light"] .legal-card a:not(.legal-button){
  color:#704500!important;
}
html[data-theme="light"] .legal-help-icon{
  color:var(--light-gold-strong)!important;
  background:#fff6df!important;
  border-color:rgba(164,105,0,.24)!important;
}

/* Mobile menu remains fully legible in light mode. */
html[data-theme="light"] .mobile-menu a{
  color:var(--light-ink)!important;
}
html[data-theme="light"] .mobile-menu .mobile-menu-cta{
  color:#fff!important;
  background:linear-gradient(135deg,#25c968,#168c47)!important;
}
html[data-theme="light"] .mobile-menu .mobile-menu-call{
  color:var(--light-ink)!important;
  background:#f5f7fa!important;
}
