
/* NOVAIN UNIFIED THEME CORE v1.0
   Dark is default. Remove html.theme-dark only when the saved preference is light. */
:root{
  --nv-bg:var(--nvcol-d85681a0f1,#f4f6f8);
  --nv-bg-soft:var(--nvcol-1ba460141b,#eef3f8);
  --nv-surface:var(--nvcol-f2074b6cef,#ffffff);
  --nv-surface-soft:var(--nvcol-91ca503ec1,#f5f8fb);
  --nv-surface-blue:var(--nvcol-54c972b66c,#eef6ff);
  --nv-text:var(--nvcol-4b9a93f150,#172033);
  --nv-text-2:var(--nvcol-f3878ec526,#39485d);
  --nv-muted:var(--nvcol-57eacfe461,#6d7b8e);
  --nv-border:var(--nvcol-72bf0f0476,#dfe6ee);
  --nv-border-blue:var(--nvcol-cb97f8497b,#cfe0f2);
  --nv-primary:var(--nvcol-2b580610b9,#087dff);
  --nv-primary-soft:var(--nvcol-ba9eb549cd,#eaf4ff);
  --nv-shadow:0 14px 38px rgba(40,63,89,.09);
}
html.theme-dark{
  --nv-bg:var(--nvcol-d6d355252d,#07152d);
  --nv-bg-soft:var(--nvcol-dc98fa0426,#091a37);
  --nv-surface:var(--nvcol-45bf073bcd,#0d2347);
  --nv-surface-soft:var(--nvcol-19ffaea06f,#0d284e);
  --nv-surface-blue:var(--nvcol-dca25a033e,#11345f);
  --nv-text:var(--nvcol-01b07d65f6,#ecf4ff);
  --nv-text-2:var(--nvcol-06933174b9,#d3def0);
  --nv-muted:var(--nvcol-1d8ea85788,#a8bad6);
  --nv-border:var(--nvcol-9f916ac7cf,#28436b);
  --nv-border-blue:var(--nvcol-b8b15429c5,#31517a);
  --nv-primary:var(--nvcol-2b580610b9,#087dff);
  --nv-primary-soft:var(--nvcol-e8c1e1d72d,#12345e);
  --nv-shadow:0 18px 48px rgba(0,0,0,.28);
}

html:not(.theme-dark) body{background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .site-header{
  color:var(--nv-text)!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid var(--nv-border)!important;
  box-shadow:0 5px 22px rgba(44,65,88,.06);
}
html:not(.theme-dark) .nav-links a,
html:not(.theme-dark) .products-menu summary{color:var(--nvcol-48d68d58f3,#31425a)!important}
html:not(.theme-dark) .nav-links a:hover,
html:not(.theme-dark) .nav-links a.active,
html:not(.theme-dark) .products-menu summary:hover,
html:not(.theme-dark) .products-menu summary.active{color:var(--nv-primary)!important}
html:not(.theme-dark) .products-submenu{
  color:var(--nv-text)!important;background:var(--nvcol-f2074b6cef,#ffffff)!important;border-color:var(--nv-border)!important;box-shadow:var(--nv-shadow)!important
}
html:not(.theme-dark) .products-submenu a{color:var(--nv-text-2)!important}
html:not(.theme-dark) .products-submenu a:hover{color:var(--nv-primary)!important;background:var(--nv-primary-soft)!important}
html:not(.theme-dark) .menu-toggle{color:var(--nvcol-30e77ae938,#24364d)!important}

/* Inner page hero: pale gray/blue rather than a dark banner. */
html:not(.theme-dark) .page-hero{
  color:var(--nv-text)!important;
  background:linear-gradient(135deg,var(--nvcol-a77ed86847,#eef3f7) 0%,var(--nvcol-46461f86fd,#f8fafc) 48%,var(--nvcol-ba9eb549cd,#eaf4ff) 100%)!important;
  border-bottom:1px solid var(--nv-border)!important;
}
html:not(.theme-dark) .page-hero p{color:var(--nv-muted)!important}
html:not(.theme-dark) .page-hero .eyebrow{color:var(--nv-primary)!important}

html:not(.theme-dark) .section{background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .section.alt{background:var(--nvcol-f2074b6cef,#ffffff)!important}
html:not(.theme-dark) .section.dark{background:var(--nvcol-0a99b9aa39,#edf3f8)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .section.dark .section-head p{color:var(--nv-muted)!important}
html:not(.theme-dark) .section-head p,
html:not(.theme-dark) .card p,
html:not(.theme-dark) .split p,
html:not(.theme-dark) .step p,
html:not(.theme-dark) .faq p,
html:not(.theme-dark) .project-body p,
html:not(.theme-dark) .article-body p,
html:not(.theme-dark) .price-card ul{color:var(--nv-muted)!important}

html:not(.theme-dark) .card,
html:not(.theme-dark) .form-card,
html:not(.theme-dark) .price-card{
  color:var(--nv-text)!important;background:var(--nvcol-f2074b6cef,#ffffff)!important;border-color:var(--nv-border)!important;box-shadow:var(--nv-shadow)!important
}
html:not(.theme-dark) .icon{color:var(--nv-primary)!important;background:var(--nv-primary-soft)!important}
html:not(.theme-dark) .step{color:var(--nv-text)!important;background:var(--nvcol-ce1ee17048,#f2f6fa)!important;border:1px solid var(--nvcol-6bee1aacf8,#e2e9f0)}
html:not(.theme-dark) .visual-box{background:linear-gradient(145deg,var(--nvcol-c924016efc,#edf4fa),var(--nvcol-f2074b6cef,#ffffff))!important}
html:not(.theme-dark) .tag{color:var(--nv-primary)!important;background:var(--nv-primary-soft)!important}
html:not(.theme-dark) .faq{border-color:var(--nv-border)!important}
html:not(.theme-dark) input,
html:not(.theme-dark) textarea,
html:not(.theme-dark) select{
  color:var(--nv-text)!important;background:var(--nvcol-f2074b6cef,#ffffff)!important;border-color:var(--nvcol-cb9c3fb11e,#d7e1eb)!important
}
html:not(.theme-dark) input::placeholder,
html:not(.theme-dark) textarea::placeholder{color:var(--nvcol-102e98f2f7,#8996a8)!important}

/* About page: central light surfaces. */
html:not(.theme-dark) .about-page{background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .about-page :is(.about-story-section,.about-values-section,.about-journey-section,.about-stats-section,.about-vision-section){background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .about-page :is(.about-value-card,.about-stats-card,.about-image-card,.about-copy-block,.about-timeline-item){background:var(--nvcol-f2074b6cef,#ffffff)!important;color:var(--nv-text)!important;border-color:var(--nv-border)!important;box-shadow:var(--nv-shadow)!important}
html:not(.theme-dark) .about-page :is(p,small,.about-image-caption,.about-cta-note){color:var(--nv-muted)}
html:not(.theme-dark) .about-page :is(.about-eyebrow,.about-cta-kicker){color:var(--nv-primary)!important}
html:not(.theme-dark) .about-page .about-final-cta,
html:not(.theme-dark) .about-page .about-cta-section{background:linear-gradient(135deg,var(--nvcol-1ba460141b,#eef3f8),var(--nvcol-ba9eb549cd,#eaf4ff))!important;color:var(--nv-text)!important}
html:not(.theme-dark) .about-page .about-outline-button{color:var(--nv-primary)!important;border-color:var(--nvcol-9a2f499fb5,#b8d3ef)!important;background:var(--nvcol-f2074b6cef,#ffffff)!important}

/* Contact page. */
html:not(.theme-dark) .contact-page{background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .contact-page :is(.contact-card,.contact-form-card,.contact-help-card,.contact-location-card,.contact-nearby-card,.contact-social-card,.contact-methods-card){background:var(--nvcol-f2074b6cef,#ffffff)!important;color:var(--nv-text)!important;border-color:var(--nv-border)!important;box-shadow:var(--nv-shadow)!important}
html:not(.theme-dark) .contact-page :is(.contact-section,.contact-core,.contact-lower){background:var(--nv-bg)!important;color:var(--nv-text)!important}
html:not(.theme-dark) .contact-page :is(p,small,.hours-note){color:var(--nv-muted)!important}
html:not(.theme-dark) .contact-page :is(.contact-eyebrow,.contact-heading-icon,.line-icon,.nearby-icon,.hours-icon){color:var(--nv-primary)!important}
html:not(.theme-dark) .contact-page :is(input,textarea,select){background:var(--nvcol-895bd2e6c2,#f9fbfd)!important;color:var(--nv-text)!important;border-color:var(--nv-border)!important}

/* Magazine / academy / article use shared neutral surfaces. */
html:not(.theme-dark) :is(.article-card,.article-body){color:var(--nv-text)}
html:not(.theme-dark) .article-card{background:var(--nvcol-f2074b6cef,#ffffff)!important;border-color:var(--nv-border)!important;box-shadow:var(--nv-shadow)!important}

/* Common site CTAs retain brand blue while surrounding pages stay light. */
html:not(.theme-dark) .cta{background:linear-gradient(105deg,var(--nvcol-ba9eb549cd,#eaf4ff),var(--nvcol-3eefc18ac6,#dceeff))!important;color:var(--nv-text)!important;border:1px solid var(--nvcol-7a0ccb8785,#cae0f5)}
html:not(.theme-dark) .cta p{color:var(--nv-muted)!important}
html:not(.theme-dark) .cta .btn-light{background:var(--nv-primary)!important;color:var(--nvcol-f2074b6cef,#ffffff)!important}

/* Footer deliberately remains dark in both modes. */
.novain-footer,.site-footer{color:var(--nvcol-f2074b6cef,#ffffff)}

/* Shared theme control. */
.theme-toggle{position:relative;z-index:2}
@media(max-width:650px){
  html:not(.theme-dark) .nav-links{background:var(--nvcol-f2074b6cef,#ffffff)!important;border-color:var(--nv-border)!important;box-shadow:0 16px 35px rgba(31,65,105,.12)!important}
  html:not(.theme-dark) .nav-links a{border-bottom-color:var(--nvcol-cd9bcfa89b,#edf1f5)!important}
}
