/* ===================================================
   NEUROMET WELLNESS — DESIGN REFRESH v2
   Sitewide CSS override layer. One file, all pages.
   Do not edit existing CSS files.
   =================================================== */

:root {
  --nm-bg:           #EEF2F2;
  --nm-white:        #FFFFFF;
  --nm-teal-deep:    #143036;
  --nm-teal-footer:  #102A30;
  --nm-teal-primary: #1E454C;
  --nm-teal-italic:  #2A555B;
  --nm-heading:      #143036;
  --nm-body:         #43615F;
  --nm-body-muted:   #5E7A7F;
  --nm-body-ondark:  #B9CFD0;
  --nm-accent:       #9FC4CE;
  --nm-accent-dark:  #7FB0AE;
  --nm-border-hair:  #E6ECEC;
  --nm-border:       #DDE6E6;
  --nm-border-btn:   #C0C9C4;
  --nm-font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --nm-font-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;
  --nm-font-mono:    'IBM Plex Mono', 'Courier New', monospace;
  --nm-container:    1180px;
  --nm-section-pad:  104px;
  --nm-shadow-btn:   0 10px 24px -12px rgba(30,69,76,.7);
  --nm-shadow-card:  0 26px 50px -34px rgba(20,48,54,.5);
  --nm-shadow-badge: 0 24px 50px -28px rgba(20,48,54,.45);
  --nm-radius-card:  16px;
  --nm-radius-btn:   999px;
  --nm-radius-icon:  10px;
}

/* ======================
   GLOBAL RESETS
   ====================== */
body {
  background-color: var(--nm-bg);
  font-family: var(--nm-font-body);
  color: var(--nm-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nm-font-display);
  color: var(--nm-heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--nm-font-body);
  color: var(--nm-body);
  line-height: 1.62;
}

a { color: var(--nm-teal-primary); }
html { scroll-behavior: smooth; }

/* ======================
   NAVIGATION
   ====================== */
header {
  background: rgba(238,242,242,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nm-border-hair);
}

header a, .nav-links a {
  font-family: var(--nm-font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--nm-body);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--nm-teal-primary);
}

/* Ensure white bg on open mobile nav stays legible */
@media (max-width: 1200px) {
  .nav-links {
    background-color: var(--nm-white);
  }
}

/* ======================
   HOMEPAGE HERO
   ====================== */
.hero-title {
  font-family: var(--nm-font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--nm-heading);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--nm-teal-italic);
  display: block;
}

.hero-subtitle {
  font-family: var(--nm-font-body);
  font-size: 18px;
  color: var(--nm-body);
}

.hero-authority {
  font-family: var(--nm-font-body);
  color: var(--nm-teal-primary);
}

/* ======================
   SECTION TITLES (inner pages H1 + all H2s)
   ====================== */
.section-title {
  font-family: var(--nm-font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--nm-heading);
}

h2 {
  color: var(--nm-heading);
}

/* Dark-background section heading overrides */
[style*="background:#1F4E4E"] h2,
[style*="background: #1F4E4E"] h2,
[style*="background-color:#1F4E4E"] h2,
[style*="background:#143036"] h2,
section[class*="benefits"] h2 {
  color: var(--nm-bg);
}

/* ======================
   SECTIONS
   ====================== */
.section {
  background: var(--nm-bg);
}

.bg-light {
  background: var(--nm-white);
}

/* ======================
   CARDS — service, blog, suite, feature
   ====================== */
.service-card {
  border-radius: var(--nm-radius-card);
  border: 1px solid var(--nm-border-hair);
  background: var(--nm-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nm-shadow-card);
  border-color: var(--nm-accent);
}

.service-card h3 {
  font-family: var(--nm-font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--nm-heading);
}

.blog-card {
  border-radius: var(--nm-radius-card);
  border: 1px solid var(--nm-border-hair);
  background: var(--nm-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nm-shadow-card);
}

.blog-title {
  font-family: var(--nm-font-display);
  color: var(--nm-heading);
  font-size: 1.2rem;
}

.suite-card {
  border-radius: var(--nm-radius-card);
  border: 1px solid var(--nm-border-hair);
  background: var(--nm-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.suite-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nm-shadow-card);
  border-color: var(--nm-accent);
}

.suite-card-title {
  font-family: var(--nm-font-display);
  color: var(--nm-heading);
}

.feature-box h4 {
  font-family: var(--nm-font-display);
  color: var(--nm-heading);
}

/* ======================
   BUTTONS
   ====================== */
.btn-primary {
  background: var(--nm-teal-primary);
  color: var(--nm-bg) !important;
  border-radius: var(--nm-radius-btn);
  font-family: var(--nm-font-body);
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: var(--nm-shadow-btn);
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--nm-teal-primary);
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: var(--nm-shadow-btn);
}

.btn-secondary {
  background: #FAFCFC;
  color: var(--nm-teal-primary) !important;
  border: 1.5px solid var(--nm-border-btn);
  border-radius: var(--nm-radius-btn);
  font-family: var(--nm-font-body);
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--nm-white);
  border-color: var(--nm-teal-primary);
  transform: none;
  box-shadow: none;
}

/* Hero overlay slide buttons (white bg variant) */
.hero-overlay-content .btn-primary {
  background: var(--nm-bg);
  color: var(--nm-teal-deep) !important;
  box-shadow: none;
}

.hero-overlay-content .btn-secondary {
  border-color: rgba(255,255,255,.4);
  color: #fff !important;
  background: transparent;
}

/* ======================
   FORMS (booking, contact)
   ====================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  font-family: var(--nm-font-body);
  font-size: 15px;
  color: var(--nm-body);
  background: var(--nm-white);
  border: 1px solid var(--nm-border);
  border-radius: 10px;
  padding: 12px 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: var(--nm-teal-primary);
  box-shadow: 0 0 0 3px rgba(30,69,76,.08);
}

label {
  font-family: var(--nm-font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nm-body);
}

/* ======================
   BLOG SINGLE POSTS
   ====================== */
.post-content p,
.blog-content p,
article p {
  font-size: 17px;
  line-height: 1.76;
}

.post-content h2, .blog-content h2 {
  font-size: 28px;
  margin-top: 2em;
}

.post-content h3, .blog-content h3 {
  font-size: 22px;
  font-weight: 600;
}

/* ======================
   SERVICE DETAIL PAGES (NCV, EMG, EEG, Psychology)
   ====================== */
.faq-item {
  border-bottom: 1px solid var(--nm-border-hair);
  padding: 20px 0;
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--nm-heading);
  cursor: pointer;
}

.faq-item p {
  color: var(--nm-body-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ======================
   REPORTS PAGE
   ====================== */
.report-item,
.report-card,
.report-row {
  border-radius: 12px;
  border: 1px solid var(--nm-border-hair);
  background: var(--nm-white);
  font-family: var(--nm-font-body);
}

.report-item:hover,
.report-card:hover {
  border-color: var(--nm-accent);
}

/* ======================
   TABLES
   ====================== */
table {
  font-family: var(--nm-font-body);
  font-size: 15px;
}

th {
  background: var(--nm-teal-deep);
  color: var(--nm-bg);
  font-weight: 600;
}

td {
  border-bottom: 1px solid var(--nm-border-hair);
  color: var(--nm-body);
}

tr:hover td {
  background: rgba(159,196,206,.06);
}

/* ======================
   FOOTER
   ====================== */
footer {
  background: var(--nm-teal-footer);
  color: var(--nm-body-ondark);
  font-family: var(--nm-font-body);
}

footer h3,
footer h4 {
  font-family: var(--nm-font-display);
  color: var(--nm-bg);
  font-weight: 500;
}

footer a,
.footer-links a {
  color: var(--nm-body-ondark);
  font-size: 14px;
}

footer a:hover,
.footer-links a:hover {
  color: var(--nm-accent);
}

footer p {
  color: var(--nm-body-ondark);
}

/* ======================
   TRUST BAR — dark bg, force light text
   ====================== */
.trust-bar {
  background: var(--nm-teal-deep);
  color: #fff;
}

.trust-item h3 {
  font-family: var(--nm-font-display);
  color: #fff;
}

.trust-item p {
  color: rgba(255,255,255,.82);
  font-family: var(--nm-font-body);
}

.trust-item i,
.trust-item svg {
  color: rgba(255,255,255,.9);
}

/* ======================
   HERO OVERLAY (slide captions with dark blur bg)
   ====================== */
.hero-overlay-content p,
.hero-overlay-content .hero-subtitle,
.hero-overlay-content .hero-authority {
  color: rgba(255,255,255,.9);
}

.hero-overlay-content h1,
.hero-overlay-content .hero-title {
  color: #fff;
}

/* ======================
   VALUE PROP BANNER (dark gradient bg)
   ====================== */
.value-prop-banner p,
.value-prop-banner h4 {
  color: rgba(255,255,255,.92);
}

/* ======================
   SLIDE BG OVERLAY CONTENT (generic dark overlay containers)
   ====================== */
[style*="background:rgba(0,0,0"] p,
[style*="background: rgba(0,0,0"] p,
[style*="background-color:rgba(0,0,0"] p,
[style*="background:rgba(0, 0, 0"] p {
  color: rgba(255,255,255,.88);
}

/* ======================
   TEAM MEMBER QUALIFICATIONS
   ====================== */
.nm-quals {
  color: #555 !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  margin-bottom: 1rem !important;
}

/* ======================
   CONTACT INFO CARD
   ====================== */
.contact-info-card {
  background: var(--nm-white);
  border: 1px solid var(--nm-border-hair);
}

.contact-icon {
  background-color: rgba(159,196,206,.15);
  color: var(--nm-teal-primary);
}

/* ======================
   VALUE PROP BANNER
   ====================== */
.value-prop-banner {
  background: linear-gradient(135deg, var(--nm-teal-deep), var(--nm-teal-primary));
  border-radius: var(--nm-radius-card);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
  :root { --nm-section-pad: 60px; }

  .hero-title {
    font-size: clamp(30px, 8vw, 44px);
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .btn-primary,
  .btn-secondary {
    padding: 14px 22px;
    font-size: 14.5px;
  }
}
