/* GrowthAstra site-wide theme + translator chrome.
   Brand accents (--orange, --pink, --purple, --grad) are unchanged.
   Dark theme = existing look. Light theme restyles surfaces and text. */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Tools in the nav ---------- */
.ga-nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 5004;
}
.ga-site-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.ga-theme-btn,
.ga-lang-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.ga-theme-btn {
  width: 40px;
  height: 40px;
  padding: 0;
}
.ga-theme-btn .ga-theme-icon-sun { display: none; }
.ga-theme-btn .ga-theme-icon-moon { display: inline-flex; }
html[data-theme="light"] .ga-theme-btn .ga-theme-icon-sun { display: inline-flex; }
html[data-theme="light"] .ga-theme-btn .ga-theme-icon-moon { display: none; }
.ga-lang-btn {
  height: 40px;
  padding: 0 12px 0 14px;
  max-width: 180px;
}
.ga-lang-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 96px;
}
.ga-lang-caret { font-size: .65rem; opacity: .7; }
.ga-theme-btn:hover,
.ga-lang-btn:hover,
.ga-theme-btn:focus-visible,
.ga-lang-btn:focus-visible {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.3);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,106,0,.28);
}
.ga-lang { position: relative; }
.ga-lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, 86vw);
  background: #141624;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  padding: 10px;
  z-index: 6000;
}
.ga-lang-search-wrap { display: block; margin-bottom: 8px; }
.ga-lang-search {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: .85rem;
  outline: none;
}
.ga-lang-search:focus { border-color: rgba(255,106,0,.5); }
.ga-lang-list {
  max-height: min(50vh, 320px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ga-lang-opt {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.88);
  text-align: left;
  font-family: var(--font-body);
  font-size: .88rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.ga-lang-opt:hover,
.ga-lang-opt:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.ga-lang-opt.is-active {
  background: linear-gradient(135deg, rgba(255,106,0,.18), rgba(123,45,255,.18));
  color: #fff;
  font-weight: 600;
}
.ga-lang-empty { font-size: .85rem; color: rgba(255,255,255,.5); padding: 12px 8px; margin: 0; }

/* Keep tools visible on mobile (CTA/links hide; hamburger stays). */
@media (max-width: 768px) {
  .ga-nav-end { display: flex !important; gap: 8px; }
  .ga-site-tools { display: flex !important; }
  .ga-lang-current { display: none; }
  .ga-lang-btn { padding: 0 12px; width: 40px; justify-content: center; }
  .ga-lang-caret { display: none; }
}

/* Keep the widget in the DOM so it can initialise, but park it off-screen.
   display:none on the host can stop TranslateElement from building .goog-te-combo. */
.ga-gt-host,
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Hide Google Translate's default banner, tooltip and highlight so the layout does not shift. */
.goog-te-banner-frame,
.goog-te-balloon-frame,
iframe.skiptranslate,
body > .skiptranslate,
.goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
#goog-gt-tt,
.goog-tooltip,
.goog-te-gadget {
  display: none !important;
  visibility: hidden !important;
}
.goog-text-highlight,
font font {
  background: transparent !important;
  box-shadow: none !important;
}
html, body { top: 0 !important; }
.translated-ltr, .translated-rtl,
.translated-ltr body, .translated-rtl body {
  top: 0 !important;
  margin-top: 0 !important;
  position: static !important;
}

/* ---------- Light theme ---------- */
html[data-theme="light"] {
  --navy: #F3F4F8;
  --navy2: #ECEEF4;
  --navy3: #E2E5EE;
  --bg-color: #F6F7FB;
  --card-bg: #FFFFFF;
  --text-main: #14161F;
  --text-muted: #4B5160;
  --glass: rgba(20,22,31,0.05);
  --glass-border: rgba(20,22,31,0.12);
  --light: #FFFFFF;
  color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="light"] body {
  background: var(--navy);
  color: var(--text-main);
  cursor: auto;
}
html[data-theme="light"] a,
html[data-theme="light"] button,
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .hamburger,
html[data-theme="light"] .service-card,
html[data-theme="light"] .case-card,
html[data-theme="light"] .pricing-card { cursor: pointer; }
html[data-theme="light"] .cursor,
html[data-theme="light"] .cursor-follower { display: none !important; }

html[data-theme="light"] #navbar,
html[data-theme="light"] #navbar.scrolled {
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
}
@media (max-width: 768px) {
  html[data-theme="light"] #navbar {
    background: #fff !important;
  }
}
html[data-theme="light"] .logo-text { color: var(--text-main); }
html[data-theme="light"] .nav-links a { color: rgba(20,22,31,.78); }
html[data-theme="light"] .nav-links a:hover { color: var(--text-main); }
html[data-theme="light"] .hamburger span { background: var(--text-main); }
html[data-theme="light"] .ga-theme-btn,
html[data-theme="light"] .ga-lang-btn {
  background: rgba(20,22,31,.05);
  border-color: rgba(20,22,31,.12);
  color: var(--text-main);
}
html[data-theme="light"] .ga-theme-btn:hover,
html[data-theme="light"] .ga-lang-btn:hover,
html[data-theme="light"] .ga-theme-btn:focus-visible,
html[data-theme="light"] .ga-lang-btn:focus-visible {
  background: rgba(20,22,31,.08);
  border-color: rgba(255,106,0,.4);
}
html[data-theme="light"] .ga-lang-panel {
  background: #fff;
  color: var(--text-main);
  border-color: rgba(20,22,31,.12);
  box-shadow: 0 18px 50px rgba(20,22,31,.16);
}
html[data-theme="light"] .ga-lang-search {
  background: #F3F4F8;
  border-color: rgba(20,22,31,.12);
  color: var(--text-main);
}
html[data-theme="light"] .ga-lang-opt { color: rgba(20,22,31,.88); }
html[data-theme="light"] .ga-lang-opt:hover,
html[data-theme="light"] .ga-lang-opt:focus-visible { background: #F3F4F8; }
html[data-theme="light"] .ga-lang-opt.is-active { color: var(--text-main); }
html[data-theme="light"] .ga-lang-empty { color: var(--text-muted); }

html[data-theme="light"] .mobile-nav {
  background: rgba(255,255,255,.98);
}
html[data-theme="light"] .mobile-nav a { color: rgba(20,22,31,.8); }
html[data-theme="light"] .mobile-nav a:hover { color: var(--text-main); }
html[data-theme="light"] .close-mobile { color: var(--text-main); }

/* Headings and body copy on solid surfaces */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .section-h,
html[data-theme="light"] .hero-title,
html[data-theme="light"] h1.hero-title { color: var(--text-main); }
html[data-theme="light"] .hero-sub,
html[data-theme="light"] .section-sub,
html[data-theme="light"] p { color: var(--text-muted); }
html[data-theme="light"] .hero-badge { color: #5b3da8; background: rgba(123,45,255,.1); }
html[data-theme="light"] .section-tag { color: #5b3da8; }
html[data-theme="light"] .btn-outline {
  color: var(--text-main);
  border-color: rgba(20,22,31,.2);
}
html[data-theme="light"] .btn-outline:hover {
  background: rgba(20,22,31,.05);
  border-color: rgba(20,22,31,.35);
  color: var(--text-main);
}

/* Cards, forms, lists */
html[data-theme="light"] .service-card,
html[data-theme="light"] .dashboard-card,
html[data-theme="light"] .metric-item,
html[data-theme="light"] .float-card,
html[data-theme="light"] .why-center,
html[data-theme="light"] .case-card,
html[data-theme="light"] .testi-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .us-svc-card,
html[data-theme="light"] .us-ind-card,
html[data-theme="light"] .us-process-card,
html[data-theme="light"] .us-faq-item,
html[data-theme="light"] .us-city-pill,
html[data-theme="light"] .loc-card,
html[data-theme="light"] .loc-hq-stat,
html[data-theme="light"] .loc-cta-block,
html[data-theme="light"] .loc-map-wrap {
  background: var(--card-bg);
  border-color: var(--glass-border);
  color: var(--text-main);
}
html[data-theme="light"] .service-card p,
html[data-theme="light"] .testi-card p,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .footer-desc,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .us-faq-body p,
html[data-theme="light"] .us-svc-desc,
html[data-theme="light"] .loc-card-desc,
html[data-theme="light"] .loc-sec-sub,
html[data-theme="light"] .loc-hq-sub {
  color: var(--text-muted);
}
html[data-theme="light"] .footer-links a:hover { color: var(--text-main); }
html[data-theme="light"] footer {
  background: #fff;
  border-top-color: var(--glass-border);
  color: var(--text-main);
}
html[data-theme="light"] .social-link {
  background: #F3F4F8;
  border-color: var(--glass-border);
  color: var(--text-main);
}
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .us-field input,
html[data-theme="light"] .us-field select,
html[data-theme="light"] .us-field textarea {
  background: #fff;
  border-color: rgba(20,22,31,.16);
  color: var(--text-main);
}
html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder,
html[data-theme="light"] .us-field input::placeholder,
html[data-theme="light"] .us-field textarea::placeholder {
  color: #7A8190;
}
html[data-theme="light"] .form-group label,
html[data-theme="light"] .us-field label { color: var(--text-main); }
html[data-theme="light"] .pricing-card:not(.featured) .plan-btn {
  color: var(--text-main);
  border-color: rgba(20,22,31,.2);
}

html[data-theme="light"] .loc-sec-h,
html[data-theme="light"] .loc-hq-title,
html[data-theme="light"] .loc-region-name,
html[data-theme="light"] .loc-card-name,
html[data-theme="light"] .loc-ctile-name,
html[data-theme="light"] .loc-cta-block h2,
html[data-theme="light"] .us-sec-h,
html[data-theme="light"] .us-faq-q,
html[data-theme="light"] .us-svc-name,
html[data-theme="light"] .us-process-title,
html[data-theme="light"] .us-why-item h3,
html[data-theme="light"] .us-why-item h4,
html[data-theme="light"] .us-ind-name,
html[data-theme="light"] .us-city-name { color: var(--text-main); }
html[data-theme="light"] .us-section-alt,
html[data-theme="light"] .loc-section-alt { background: var(--navy2); }

/* ----- Logo: original markup is unchanged (G mark + GrowthAstra wordmark).
   Dark mode keeps the original white "Astra". Light mode uses a dark-text
   variant of the same wordmark so it stays readable on the light header. */
html[data-theme="light"] #navbar .logo-text,
html[data-theme="light"] footer .logo-text,
html[data-theme="light"] .mobile-nav .logo-text {
  color: var(--text-main) !important;
}
html[data-theme="light"] #navbar .logo-text span,
html[data-theme="light"] footer .logo-text span,
html[data-theme="light"] .mobile-nav .logo-text span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Footer (overrides inline color:#fff on links and wordmark) */
html[data-theme="light"] footer,
html[data-theme="light"] footer .footer-bottom,
html[data-theme="light"] footer .footer-desc,
html[data-theme="light"] footer .footer-copy,
html[data-theme="light"] footer .footer-links a,
html[data-theme="light"] footer h3,
html[data-theme="light"] footer h4 {
  color: var(--text-main) !important;
}
html[data-theme="light"] footer .footer-desc,
html[data-theme="light"] footer .footer-copy,
html[data-theme="light"] footer .footer-links a {
  color: var(--text-muted) !important;
}
html[data-theme="light"] footer .footer-links a:hover { color: var(--text-main) !important; }
html[data-theme="light"] footer .social-link,
html[data-theme="light"] footer .social-links a {
  color: var(--text-main) !important;
  background: #F3F4F8;
}
html[data-theme="light"] footer .footer-bottom { border-top-color: var(--glass-border) !important; }

/* Exit popup */
html[data-theme="light"] .ga-popup-card,
html[data-theme="light"] #exitPopup .ga-popup-card {
  background: #fff !important;
  border: 1px solid rgba(20,22,31,.12) !important;
  color: var(--text-main) !important;
  box-shadow: 0 18px 50px rgba(20,22,31,.16) !important;
}
html[data-theme="light"] .ga-popup-card h3,
html[data-theme="light"] .ga-pop-h { color: var(--text-main) !important; }
html[data-theme="light"] .ga-popup-card p,
html[data-theme="light"] .ga-pop-sub { color: var(--text-muted) !important; }
html[data-theme="light"] .ga-popup-card input,
html[data-theme="light"] .ga-popup-card select,
html[data-theme="light"] .ga-popup-card textarea {
  background: #F3F4F8 !important;
  border: 1px solid rgba(20,22,31,.16) !important;
  color: var(--text-main) !important;
}
html[data-theme="light"] .ga-popup-card .close-btn,
html[data-theme="light"] .close-btn {
  color: var(--text-main);
  background: rgba(20,22,31,.06);
}
html[data-theme="light"] .submit-btn { color: #fff; }

/* Generic page heroes (pricing / services / industries) already follow --navy.
   Force readable type when inline styles pinned old white copy. */
html[data-theme="light"] .hero-sub { color: var(--text-muted) !important; }
html[data-theme="light"] .hero-title { color: var(--text-main); }
html[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(20,22,31,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(20,22,31,.05) 1px,transparent 1px);
}

/* Photo heroes: keep the photograph, wash it light, use dark type and light forms. */
html[data-theme="light"] .us-hero-bg img { filter: brightness(.95) saturate(.8); }
html[data-theme="light"] .us-hero-bg::after {
  background:
    linear-gradient(to right, rgba(246,247,251,.96) 0%, rgba(246,247,251,.88) 52%, rgba(246,247,251,.72) 100%),
    linear-gradient(to top,   rgba(246,247,251,.94) 0%, transparent 55%);
}
html[data-theme="light"] .loc-slide::after {
  background: linear-gradient(to top, rgba(246,247,251,1) 0%, rgba(246,247,251,.9) 40%, rgba(246,247,251,.72) 70%, rgba(246,247,251,.55) 100%);
}
html[data-theme="light"] .us-hero,
html[data-theme="light"] .us-hero h1,
html[data-theme="light"] .us-hero h2,
html[data-theme="light"] .us-hero h3,
html[data-theme="light"] .us-hero-title,
html[data-theme="light"] .loc-page-hero,
html[data-theme="light"] .loc-page-hero h1,
html[data-theme="light"] .loc-hero-title {
  color: var(--text-main);
}
html[data-theme="light"] .us-hero-sub,
html[data-theme="light"] .us-hero p,
html[data-theme="light"] .loc-hero-sub,
html[data-theme="light"] .loc-page-hero p,
html[data-theme="light"] .us-breadcrumb,
html[data-theme="light"] .us-breadcrumb a,
html[data-theme="light"] .loc-breadcrumb,
html[data-theme="light"] .loc-breadcrumb a,
html[data-theme="light"] .loc-scroll-txt,
html[data-theme="light"] .us-stat-lbl,
html[data-theme="light"] .loc-stat-lbl {
  color: var(--text-muted);
}
html[data-theme="light"] .us-breadcrumb a:hover,
html[data-theme="light"] .loc-breadcrumb a:hover { color: var(--text-main); }
html[data-theme="light"] .us-stat,
html[data-theme="light"] .loc-stats-bar {
  background: rgba(255,255,255,.82);
  border-color: rgba(20,22,31,.12);
}
html[data-theme="light"] .us-form-card {
  background: #fff;
  border-color: rgba(20,22,31,.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(20,22,31,.08);
}
html[data-theme="light"] .us-form-title,
html[data-theme="light"] .us-form-success h3 { color: var(--text-main); }
html[data-theme="light"] .us-form-sub,
html[data-theme="light"] .us-form-note,
html[data-theme="light"] .us-field label,
html[data-theme="light"] .us-form-success p { color: var(--text-muted); }
html[data-theme="light"] .us-hero .us-field input,
html[data-theme="light"] .us-hero .us-field select,
html[data-theme="light"] .us-hero .us-field textarea {
  background: #F3F4F8;
  border-color: rgba(20,22,31,.16);
  color: var(--text-main);
}
html[data-theme="light"] .us-hero .us-field input::placeholder,
html[data-theme="light"] .us-hero .us-field textarea::placeholder { color: #7A8190; }

/* Leaflet popups */
html[data-theme="light"] .leaflet-popup-content-wrapper,
html[data-theme="light"] .leaflet-popup-tip {
  background: #fff !important;
  color: var(--text-main) !important;
}
html[data-theme="light"] .lp-name { color: var(--text-main) !important; }
html[data-theme="light"] .lp-desc { color: var(--text-muted) !important; }

/* Blog */
html[data-theme="light"] body {
  --bg: #F6F7FB;
  --card: #FFFFFF;
  --border: rgba(20,22,31,.12);
  --ink: #14161F;
  --card-soft: #F3F4F8;
  --line: rgba(20,22,31,.12);
  --line-soft: rgba(20,22,31,.08);
  --text-dim: rgba(20,22,31,.7);
  --text-faint: rgba(20,22,31,.45);
}
html[data-theme="light"] .blog-article,
html[data-theme="light"] .article-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .post-card,
html[data-theme="light"] .blog-sidebar,
html[data-theme="light"] .toc,
html[data-theme="light"] aside {
  background: var(--card-bg);
  color: var(--text-main);
  border-color: var(--glass-border);
}
html[data-theme="light"] .blog-article p,
html[data-theme="light"] .blog-article li,
html[data-theme="light"] article p,
html[data-theme="light"] article li { color: var(--text-muted); }
html[data-theme="light"] .blog-article h1,
html[data-theme="light"] .blog-article h2,
html[data-theme="light"] .blog-article h3,
html[data-theme="light"] article h1,
html[data-theme="light"] article h2,
html[data-theme="light"] article h3 { color: var(--text-main); }

html[data-theme="light"] .blog-hero,
html[data-theme="light"] .hero-banner,
html[data-theme="light"] .post-hero { color: var(--text-main); }
html[data-theme="light"] .blog-hero h1,
html[data-theme="light"] .blog-hero p,
html[data-theme="light"] .post-hero h1 { color: var(--text-main); }
html[data-theme="light"] .blog-hero::after,
html[data-theme="light"] .post-hero::after,
html[data-theme="light"] .hero-banner::after {
  background: linear-gradient(to top, rgba(246,247,251,.92), rgba(246,247,251,.7));
}

html[data-theme="light"] #loader { background: #F3F4F8; }
html[data-theme="light"] #loader p { color: rgba(20,22,31,.4) !important; }

html[data-theme="light"] .why-item:hover { background: rgba(20,22,31,.04); }
html[data-theme="light"] .faq-icon { background: rgba(20,22,31,.08); color: var(--text-main); }

/* ========== Homepage #v2: full light canvas ========== */
html[data-theme="light"] #v2 {
  --navy: #F3F4F8;
  --navy2: #FFFFFF;
  --bg: #F6F7FB;
  --line: rgba(20,22,31,.10);
  --mut: #4B5160;
  --soft: #5C5470;
  background: #F6F7FB !important;
  color: #14161F !important;
}
html[data-theme="light"] #v2 * { border-color: rgba(20,22,31,.10); }
html[data-theme="light"] #v2 h1,
html[data-theme="light"] #v2 h2,
html[data-theme="light"] #v2 h3,
html[data-theme="light"] #v2 h4,
html[data-theme="light"] #v2 summary,
html[data-theme="light"] #v2 a,
html[data-theme="light"] #v2 li,
html[data-theme="light"] #v2 .jt p,
html[data-theme="light"] section.hero h1 {
  color: #14161F;
}
html[data-theme="light"] #v2 p,
html[data-theme="light"] #v2 .lead,
html[data-theme="light"] #v2 .dim,
html[data-theme="light"] #v2 .shead p,
html[data-theme="light"] #v2 .gc p,
html[data-theme="light"] #v2 .hw p,
html[data-theme="light"] #v2 .sv p,
html[data-theme="light"] #v2 .id p,
html[data-theme="light"] #v2 .cta p,
html[data-theme="light"] #v2 details p,
html[data-theme="light"] #v2 .bg4 p,
html[data-theme="light"] section.hero p,
html[data-theme="light"] section.hero .lead {
  color: #4B5160;
}
html[data-theme="light"] #v2 label,
html[data-theme="light"] #v2 .small,
html[data-theme="light"] #v2 .eyebrow,
html[data-theme="light"] #v2 .jhd span,
html[data-theme="light"] #v2 .js p,
html[data-theme="light"] #v2 .jcap,
html[data-theme="light"] #v2 .fnote,
html[data-theme="light"] #v2 .cta .r small,
html[data-theme="light"] #v2 .stats span {
  color: #5C6370;
}
html[data-theme="light"] #v2 .ticks { color: #14161F; }
html[data-theme="light"] #v2 .gt {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="light"] #v2 .fcard,
html[data-theme="light"] #v2 .gc,
html[data-theme="light"] #v2 .jcard,
html[data-theme="light"] #v2 .js,
html[data-theme="light"] #v2 .id,
html[data-theme="light"] #v2 .sv,
html[data-theme="light"] #v2 .stats div {
  background: #fff !important;
  border: 1px solid rgba(20,22,31,.10) !important;
  box-shadow: 0 16px 40px rgba(20,22,31,.08) !important;
}
/* The homepage stylesheet also shadows #v2 form, which reads as a second
   inset white box whose edge spills past the card. Keep one surface. */
html[data-theme="light"] #v2 .fcard form,
html[data-theme="light"] #v2 form,
html[data-theme="light"] .contact-form form,
html[data-theme="light"] .ga-popup-card form,
html[data-theme="light"] .us-form-card form {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  filter: none !important;
}
html[data-theme="light"] #v2 .fcard input,
html[data-theme="light"] #v2 .fcard textarea,
html[data-theme="light"] #v2 .sel,
html[data-theme="light"] #v2 input,
html[data-theme="light"] #v2 select,
html[data-theme="light"] #v2 textarea {
  color: #14161F !important;
  background: #F3F4F8 !important;
  border-color: rgba(20,22,31,.16) !important;
}
html[data-theme="light"] #v2 input::placeholder,
html[data-theme="light"] #v2 textarea::placeholder { color: #7A8190 !important; }
html[data-theme="light"] #v2 .goals button,
html[data-theme="light"] #v2 .il button,
html[data-theme="light"] #v2 .tags span,
html[data-theme="light"] #v2 .chips a {
  color: #14161F !important;
  background: #fff !important;
  border: 1px solid rgba(20,22,31,.16) !important;
  box-shadow: none !important;
}
html[data-theme="light"] #v2 .goals button.on,
html[data-theme="light"] #v2 .il button.on {
  color: #14161F !important;
  border-color: rgba(255,106,0,.45) !important;
  background: rgba(255,106,0,.10) !important;
  box-shadow: none !important;
}
html[data-theme="light"] #v2 .btn-out { color: #14161F; border-color: rgba(20,22,31,.25); }
html[data-theme="light"] #v2 .btn-out:hover { background: rgba(255,106,0,.08); color: #14161F; }
html[data-theme="light"] #v2 .btn-g,
html[data-theme="light"] #v2 .btn-g span,
html[data-theme="light"] #v2 a.btn-g,
html[data-theme="light"] #v2 .sbar .go,
html[data-theme="light"] #v2 .cta .btn-g {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
html[data-theme="light"] #v2 .fcard .btn-g,
html[data-theme="light"] #v2 .fcard .form-submit,
html[data-theme="light"] #v2 .sbar .go,
html[data-theme="light"] #v2 .cta .btn-g,
html[data-theme="light"] .contact-form .form-submit,
html[data-theme="light"] .ga-popup-card .submit-btn,
html[data-theme="light"] .us-form-card .us-form-submit,
html[data-theme="light"] .us-form-card button[type="submit"] {
  box-shadow: 0 8px 18px -6px rgba(255,46,128,.35) !important;
}
html[data-theme="light"] #v2 .btn-out {
  box-shadow: none !important;
}
html[data-theme="light"] #v2 .cinfo a { color: #14161F; }
html[data-theme="light"] #v2 .ul { border-bottom-color: rgba(20,22,31,.25); }
html[data-theme="light"] #v2 .plat { border-top-color: rgba(20,22,31,.10); }
html[data-theme="light"] #v2 .plat .logos { color: rgba(20,22,31,.65); }
html[data-theme="light"] #v2 .band {
  background: #F0F1F6;
  border-color: rgba(20,22,31,.10);
}
html[data-theme="light"] #v2 section.s { border-bottom-color: rgba(20,22,31,.10); }
html[data-theme="light"] #v2 .cta {
  background: linear-gradient(135deg, rgba(255,106,0,.10), rgba(123,45,255,.12));
  border-color: rgba(255,46,128,.28);
}
html[data-theme="light"] #v2 .sbar {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(20,22,31,.12) !important;
  color: #14161F;
  box-shadow: 0 12px 32px rgba(20,22,31,.12) !important;
}
html[data-theme="light"] #v2 .sbar a:not(.go) {
  box-shadow: none !important;
}
html[data-theme="light"] #v2 .sbar small { color: #5C6370; }
html[data-theme="light"] #v2 .sv span { color: #E85A00; }
html[data-theme="light"] #v2 .orb { opacity: .12; }

/* Leftover dark-theme type that was still faint on light surfaces */
html[data-theme="light"] .cd-text,
html[data-theme="light"] .contact-info p,
html[data-theme="light"] .contact-detail,
html[data-theme="light"] .contact-detail a {
  color: var(--text-main) !important;
}
html[data-theme="light"] .contact-info p { color: var(--text-muted) !important; }
html[data-theme="light"] .form-group select option {
  background: #fff;
  color: var(--text-main);
}

html[data-theme="light"] .loc-ftab {
  background: #fff;
  border-color: rgba(20,22,31,.14);
  color: var(--text-main);
}
html[data-theme="light"] .loc-ftab:hover,
html[data-theme="light"] .loc-ftab.on {
  background: rgba(255,106,0,.12);
  border-color: rgba(255,106,0,.45);
  color: #C65300;
}
html[data-theme="light"] .loc-region-count,
html[data-theme="light"] .loc-hq-sub,
html[data-theme="light"] .loc-hq-slbl,
html[data-theme="light"] .loc-leg,
html[data-theme="light"] .loc-card-coming,
html[data-theme="light"] .badge-soon,
html[data-theme="light"] .loc-cta-block p {
  color: var(--text-muted);
}
html[data-theme="light"] .loc-region-head { border-bottom-color: var(--glass-border); }
html[data-theme="light"] .badge-soon {
  background: #F3F4F8;
  border-color: var(--glass-border);
}
html[data-theme="light"] .loc-card.loc-card-link:hover { box-shadow: 0 18px 52px rgba(20,22,31,.12); }

/* Inline light-on-dark leftovers (pricing cards, contact labels, section intros) */
html[data-theme="light"] .cd-text strong {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}
html[data-theme="light"] .plan-features li {
  color: var(--text-main);
  border-bottom-color: var(--glass-border);
}
html[data-theme="light"] .plan-features li.no { color: #8A909B; }
html[data-theme="light"] .pricing-card [style*="color:#fff"],
html[data-theme="light"] .pricing-card [style*="color: #fff"],
html[data-theme="light"] #pricing-matrix-extended [style*="color:#fff"],
html[data-theme="light"] #pricing-matrix-extended [style*="color: #fff"] {
  color: var(--text-main) !important;
}
html[data-theme="light"] .pricing-card [style*="color:rgba(255,255,255"],
html[data-theme="light"] .pricing-card [style*="color: rgba(255,255,255"],
html[data-theme="light"] #pricing-matrix-extended [style*="color:rgba(255,255,255"],
html[data-theme="light"] #pricing-matrix-extended [style*="color: rgba(255,255,255"],
html[data-theme="light"] #services-extended [style*="color:rgba(255,255,255"],
html[data-theme="light"] #services-extended [style*="color: rgba(255,255,255"],
html[data-theme="light"] #industries-matrix-studio [style*="color:rgba(255,255,255"],
html[data-theme="light"] #industries-matrix-studio [style*="color: rgba(255,255,255"],
html[data-theme="light"] #industries-cta [style*="color:rgba(255,255,255"],
html[data-theme="light"] #industries-cta [style*="color: rgba(255,255,255"],
html[data-theme="light"] .contact-info [style*="color:rgba(255,255,255"],
html[data-theme="light"] .contact-info [style*="color: rgba(255,255,255"] {
  color: var(--text-muted) !important;
}
html[data-theme="light"] [style*="-webkit-text-fill-color:rgba(255,255,255"],
html[data-theme="light"] [style*="-webkit-text-fill-color: rgba(255,255,255"] {
  -webkit-text-fill-color: var(--text-muted) !important;
}
