/* Cortex Psychiatry - light concept theme
   Added 2026-10-11 as a reversible visual layer on top of styles.css. */

html[data-theme="light"]{
  --bg:#f7fbfd;
  --bg2:#ffffff;
  --panel:#ffffff;
  --panel2:#f0f7fa;
  --panel3:#e8f2f7;
  --text:#18384d;
  --muted:#60798b;
  --soft:#8194a2;
  --line:rgba(34,83,108,.13);
  --line2:rgba(21,169,185,.28);
  --cyan:#10b8c4;
  --teal:#0b9ca9;
  --blue:#176fc1;
  --blue2:#135895;
  --shadow:0 24px 70px rgba(30,75,100,.10);
}

html[data-theme="light"],html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] body:before{opacity:.018}

/* Header */
html[data-theme="light"] .site-header,html[data-theme="light"] .site-header.scrolled{
  background:rgba(255,255,255,.91)!important;
  border-bottom-color:rgba(34,83,108,.11)!important;
  box-shadow:0 8px 30px rgba(35,74,96,.08)!important;
}
html[data-theme="light"] .brand b{color:#18384d}
html[data-theme="light"] .brand small{color:#71899a}
html[data-theme="light"] .site-nav a{color:#526f82}
html[data-theme="light"] .site-nav a:hover,html[data-theme="light"] .site-nav a.active{color:#153b56}
html[data-theme="light"] .menu-toggle i{background:#173b55}
html[data-theme="light"] .header-phone{
  background:#eef8fa;
  color:#146575;
  border-color:rgba(15,157,171,.25);
}
html[data-theme="light"] .header-phone:hover{background:#e4f5f7;border-color:rgba(15,157,171,.42)}

/* Hero */
html[data-theme="light"] .home-hero{
  background:
    radial-gradient(circle at 80% 32%,rgba(87,210,220,.24) 0,rgba(223,246,249,.62) 28%,rgba(246,251,253,.92) 59%,#f7fbfd 100%);
}
html[data-theme="light"] .page-hero{
  background:
    radial-gradient(circle at 82% 28%,rgba(95,208,221,.23) 0,rgba(225,246,250,.62) 28%,rgba(247,251,253,.96) 62%,#f7fbfd 100%);
}
html[data-theme="light"] .grid-glow{opacity:.22;background-image:linear-gradient(rgba(21,138,161,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(21,138,161,.10) 1px,transparent 1px)}
html[data-theme="light"] .home-hero h1 span,html[data-theme="light"] .page-hero h1 span,html[data-theme="light"] .section-title h2 span,html[data-theme="light"] .split-banner h2 span,html[data-theme="light"] .partner-banner h2 span,html[data-theme="light"] .about-copy h2 span,html[data-theme="light"] .structure-dark h2 span{
  background:linear-gradient(90deg,#078f9d 0,#13aab7 38%,#176fc1 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
html[data-theme="light"] .hero-lead,html[data-theme="light"] .lead{color:#5e788a}
html[data-theme="light"] .hero-signals span{color:#647f90}
html[data-theme="light"] .hero-signals b{color:#099aa8}
html[data-theme="light"] .stage-label{color:#5f879b}
html[data-theme="light"] .halo{border-color:rgba(16,164,179,.20)}
html[data-theme="light"] .cortex-stage img,html[data-theme="light"] .page-orbit img{filter:drop-shadow(0 28px 48px rgba(18,127,166,.18))}

/* Buttons and links */
html[data-theme="light"] .btn{background:linear-gradient(115deg,#176fc1,#12aeba);box-shadow:0 12px 30px rgba(23,111,193,.18)}
html[data-theme="light"] .btn.ghost{background:#fff;color:#245066;border-color:rgba(18,159,176,.28);box-shadow:0 8px 24px rgba(32,84,110,.06)}
html[data-theme="light"] .btn.ghost:hover{background:#f1fafb}
html[data-theme="light"] .kicker,html[data-theme="light"] .text-link,html[data-theme="light"] .condition-link{color:#078e9d}

/* General cards and feature panels */
html[data-theme="light"] .glass-card,html[data-theme="light"] .service-card,html[data-theme="light"] .detail-card,html[data-theme="light"] .condition-card,html[data-theme="light"] .fact-card,html[data-theme="light"] .safe-box,html[data-theme="light"] .op-card,html[data-theme="light"] .op-card.host,html[data-theme="light"] .structure-dark,html[data-theme="light"] .econ-wrap aside,html[data-theme="light"] .founder-card,html[data-theme="light"] .contact-card,html[data-theme="light"] .contact-card.clinic,html[data-theme="light"] .visual-service,html[data-theme="light"] .credential-grid article,html[data-theme="light"] .connect-choice,html[data-theme="light"] .connect-choice.clinic-choice,html[data-theme="light"] .booking-panel,html[data-theme="light"] .request-form-wrap,html[data-theme="light"] .clinic-contact-card,html[data-theme="light"] .clinic-form-panel,html[data-theme="light"] .confirmation-card,html[data-theme="light"] .home-faq,html[data-theme="light"] .whole-person-card,html[data-theme="light"] .experience-panel,html[data-theme="light"] .who-help-card,html[data-theme="light"] .practice-contact-section,html[data-theme="light"] .practice-contact-details article{
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--shadow);
}
html[data-theme="light"] .accent-card,html[data-theme="light"] .partner-banner,html[data-theme="light"] .clinic-callout,html[data-theme="light"] .partner-cta,html[data-theme="light"] .physician-spotlight{
  background:radial-gradient(circle at 90% 20%,rgba(55,193,207,.13),transparent 36%),linear-gradient(145deg,#ffffff,#f3fafc);
  border-color:var(--line2);
  box-shadow:var(--shadow);
}
html[data-theme="light"] .service-card:hover,html[data-theme="light"] .credential-grid article:hover,html[data-theme="light"] a.condition-card:hover,html[data-theme="light"] .connect-choice:hover{
  background:#fbfeff;
  box-shadow:0 26px 70px rgba(30,75,100,.13);
}
html[data-theme="light"] .split-banner,html[data-theme="light"] .clinical-note{background:#f0f7fa}
html[data-theme="light"] .appointment-section{background:linear-gradient(180deg,#f4fafc,#eef7fa)}
html[data-theme="light"] .connect-page{background:radial-gradient(circle at 80% 0,rgba(23,111,193,.07),transparent 30%),var(--bg)}

/* Text tuned for light surfaces */
html[data-theme="light"] .path-card>b,html[data-theme="light"] .booking-steps strong,html[data-theme="light"] .clinic-contact-card a,html[data-theme="light"] .confirmation-details b,html[data-theme="light"] .practice-contact-details strong,html[data-theme="light"] .practice-contact-details a,html[data-theme="light"] .practice-address strong{color:#21475e}
html[data-theme="light"] .location-pill,html[data-theme="light"] .inline-location{color:#315c70;background:#eff9fa}
html[data-theme="light"] .whole-person-section .section-intro,html[data-theme="light"] .who-we-help .section-intro,html[data-theme="light"] .whole-person-card p,html[data-theme="light"] .whole-person-about-copy p,html[data-theme="light"] .experience-panel p{color:#60798b}
html[data-theme="light"] .experience-note{color:#7b91a0!important}
html[data-theme="light"] .practice-address{color:#61798b!important}
html[data-theme="light"] .footer-contact .footer-phone,html[data-theme="light"] .practice-phone,html[data-theme="light"] .clinic-contact-card small a{color:#087f8d}

/* Forms */
html[data-theme="light"] .cortex-form label{color:#31546a}
html[data-theme="light"] .cortex-form label>span small{color:#7e93a1}
html[data-theme="light"] .cortex-form input,html[data-theme="light"] .cortex-form select,html[data-theme="light"] .cortex-form textarea{
  background:#fff;
  color:#18384d;
  border-color:rgba(49,91,112,.18);
}
html[data-theme="light"] .cortex-form input::placeholder,html[data-theme="light"] .cortex-form textarea::placeholder{color:#91a1ad}
html[data-theme="light"] .cortex-form input:focus,html[data-theme="light"] .cortex-form select:focus,html[data-theme="light"] .cortex-form textarea:focus{background:#fff;border-color:rgba(12,159,176,.52)}
html[data-theme="light"] .consent-check{color:#647e8f!important}
html[data-theme="light"] .booking-steps b,html[data-theme="light"] .check-list li:before{color:#0c98a6}
html[data-theme="light"] .check-list li{color:#506d7f}
html[data-theme="light"] .emergency-note{background:#fff8ec;border-color:rgba(191,124,25,.20)}
html[data-theme="light"] .emergency-note b{color:#9a5f0e}
html[data-theme="light"] .emergency-note p{color:#756b5d!important}
html[data-theme="light"] .form-success{background:#edf9f5}html[data-theme="light"] .form-success b{color:#226451}html[data-theme="light"] .form-success p{color:#587a70}
html[data-theme="light"] .form-error{background:#fff2f2}html[data-theme="light"] .form-error b{color:#8c3434}html[data-theme="light"] .form-error p{color:#8e6262}html[data-theme="light"] .form-error a{color:#8c3434}

/* Practice/contact */
html[data-theme="light"] .practice-map{background:#eef6f8}
html[data-theme="light"] .practice-map .map-link{background:#fff}
html[data-theme="light"] .practice-map iframe{filter:saturate(.82) contrast(1.01)}

/* About/portrait */
html[data-theme="light"] .logo-panel{background:radial-gradient(circle at 50% 45%,#e4f7fa 0,#f3fafc 46%,#ffffff 82%)}
html[data-theme="light"] .portrait-frame{background:#eef7fa;box-shadow:0 28px 70px rgba(30,75,100,.12)}
html[data-theme="light"] .portrait-frame:after{background:linear-gradient(180deg,transparent 63%,rgba(247,251,253,.12) 72%,rgba(247,251,253,.82) 100%)}

/* Economics/table */
html[data-theme="light"] .econ-row.head{background:#eaf4f8;color:#23485f}
html[data-theme="light"] .pill-row span{background:#f3f8fa;color:#557084}

/* Confirmation details */
html[data-theme="light"] .confirmation-details>div{background:#f6fafc;border-color:var(--line)}
html[data-theme="light"] .confirmation-details a{color:#176fc1}

/* Footer */
html[data-theme="light"] .site-footer{background:#edf5f8;border-top-color:var(--line)}
html[data-theme="light"] .footer-brand p,html[data-theme="light"] .footer-links a,html[data-theme="light"] .footer-contact address,html[data-theme="light"] .footer-bottom{color:#637b8c}
html[data-theme="light"] .footer-links b{color:#264b62}

/* Mobile navigation */
@media(max-width:860px){
  html[data-theme="light"] .site-header{background:rgba(255,255,255,.97)!important}
  html[data-theme="light"] .site-nav{background:rgba(248,252,253,.985);box-shadow:-30px 0 80px rgba(35,74,96,.12)}
  html[data-theme="light"] .site-nav a{color:#365c72}
  html[data-theme="light"] .site-nav a:hover,html[data-theme="light"] .site-nav a.active{color:#153b56}
}


/* Readability refinements for the light theme */
html[data-theme="light"] .founder-bio strong{color:#315d74;font-weight:650}
html[data-theme="light"] .credential-grid b{color:#2a536a}
html[data-theme="light"] .credential-grid small{color:#60798b}
html[data-theme="light"] .credential-grid span{color:#078e9d}
html[data-theme="light"] .legal-content strong{color:#315d74}
html[data-theme="light"] .theme-toggle{background:#f3f9fb;border-color:rgba(34,83,108,.15);color:#21475e;box-shadow:0 8px 24px rgba(30,75,100,.07)}
html[data-theme="light"] .theme-toggle:hover{background:#eaf5f8;border-color:rgba(15,157,171,.32)}
html[data-theme="light"] .mobile-theme-control{border-top-color:rgba(34,83,108,.13);color:#526f82}


/* 2026-10-11 contrast and mobile-menu refinements */
html[data-theme="light"] .partner-page .value-copy,
html[data-theme="light"] .partner-page .op-card ul,
html[data-theme="light"] .partner-page .structure-dark p,
html[data-theme="light"] .partner-page .econ-wrap ul,
html[data-theme="light"] .partner-page .partner-cta p{color:#526f82}
html[data-theme="light"] .partner-page .pill-row span{color:#456579;background:#f1f7fa}
html[data-theme="light"] .partner-page .structure-flow span{color:#456579}
html[data-theme="light"] .partner-page .structure-flow i{color:#4f7387}
html[data-theme="light"] .econ-row{color:#526f82}
html[data-theme="light"] .econ-row b{color:#385b70}
html[data-theme="light"] .econ-row.head,
html[data-theme="light"] .econ-row.head b{color:#244a61}
html[data-theme="light"] .econ-row.total{color:#3f6275;background:rgba(18,174,188,.08)}
html[data-theme="light"] .econ-row.total b{color:#078f9d}
@media(max-width:860px){
  html[data-theme="light"] .site-nav{
    background:#f7fbfd!important;
    border-top-color:rgba(34,83,108,.13);
    box-shadow:0 22px 55px rgba(35,74,96,.14);
  }
  html[data-theme="light"] .site-nav a{color:#21475e;border-bottom-color:rgba(34,83,108,.10)}
  html[data-theme="light"] .site-nav a:hover,
  html[data-theme="light"] .site-nav a.active{color:#0d334c}
  html[data-theme="light"] .mobile-theme-control{color:#3f6275}
}

/* Header quick links in light mode */
html[data-theme="light"] .header-quicklinks{border-left-color:rgba(34,83,108,.13)}
html[data-theme="light"] .header-quicklink{
  background:#f3f9fb;border-color:rgba(34,83,108,.14);color:#1d6475;
  box-shadow:0 7px 20px rgba(30,75,100,.06)
}
html[data-theme="light"] .header-quicklink:hover,
html[data-theme="light"] .header-quicklink:focus-visible{
  background:#eaf5f8;border-color:rgba(15,157,171,.33);box-shadow:0 10px 25px rgba(30,75,100,.10)
}
html[data-theme="light"] .header-quicklink::after{
  background:#fff;color:#21475e;border-color:rgba(34,83,108,.14);box-shadow:0 10px 28px rgba(30,75,100,.13)
}


/* 2026-10-11 light matched About panels */
html[data-theme="light"] .feature-panel{
  background:
    radial-gradient(circle at 94% 8%,rgba(47,198,211,.10),transparent 34%),
    linear-gradient(145deg,#ffffff,#f7fbfd);
  border-color:rgba(34,83,108,.14);
  box-shadow:0 22px 60px rgba(30,75,100,.10);
}
html[data-theme="light"] .feature-panel:before{
  background:radial-gradient(circle at 88% 10%,rgba(40,221,227,.08),transparent 36%);
}
html[data-theme="light"] .feature-panel .kicker{color:#078e9d}
html[data-theme="light"] .feature-panel h2{color:#173b55}
html[data-theme="light"] .feature-panel p{color:#60798b}
html[data-theme="light"] .feature-panel .experience-note{
  color:#7b91a0!important;
  border-top-color:rgba(34,83,108,.12);
}
html[data-theme="light"] .feature-panel-icon{
  background:#f2f7f9;
  border-color:rgba(34,83,108,.14);
  box-shadow:0 10px 28px rgba(30,75,100,.10);
}
html[data-theme="light"] .header-quicklink{
  background:#f5fafc;
}
html[data-theme="light"] .header-focus-icon--flag{
  filter:none;
}
html[data-theme="light"] .header-focus-icon--meditation{
  filter:none;
}
