/* ═══════════════════════════════════════════════════════════════
   kuphalmft.com — Shared Stylesheet
   Design tokens · Nav · Buttons · Section classes · Components
   ═══════════════════════════════════════════════════════════════ */

/* ── 1 · RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── 2 · DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --cream:            #FAF7F2;
  --cream-dark:       #F2EDE3;
  --sage:             #7A9E8E;
  --sage-light:       #B5CEBE;
  --sage-dark:        #4A7060;
  --sage-deep:        #2E5044;
  --warm-brown:       #8B6A52;
  --warm-brown-light: #C4A882;
  --text-dark:        #2A2520;
  --text-mid:         #5C5248;
  --text-light:       #8C8078;
  --or-blue:          #3A6B8A;
  --or-blue-light:    #EBF2F7;
  --va-green:         #4A7060;
  --va-green-dark:    #2E5044;
  --va-green-light:   #EBF4EF;
  --va-green-mid:     #7A9E8E;
  --accent:           #C4845A;
  --accent-light:     #F5E8DF;
}

/* ── 3 · BASE ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: white;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── 4 · NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74,112,96,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 500;
  color: var(--sage-deep); text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo span { font-style: italic; font-weight: 300; color: var(--warm-brown); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px; font-weight: 400;
  color: var(--text-mid); text-decoration: none;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ↓'; font-size: 10px; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: white;
  border: 1px solid rgba(122,158,142,0.2);
  border-radius: 10px;
  padding: 8px 0; min-width: 220px;
  box-shadow: 0 8px 32px rgba(46,80,68,0.1);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 9px 20px;
  font-size: 13.5px; color: var(--text-mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--sage-dark); }
.dropdown-divider { height: 1px; background: rgba(122,158,142,0.15); margin: 6px 0; }

/* Nav CTA button */
.nav-cta {
  background: var(--sage-deep); color: white !important;
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: 0.02em; transition: background 0.2s !important;
  text-decoration: none;
}
.nav-cta:hover { background: var(--sage-dark) !important; color: white !important; }

/* ── 5 · MOBILE NAV TOGGLE ────────────────────────────────────── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; margin-right: -8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--sage-deep); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6 · BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  margin-top: 68px; padding: 12px 72px;
  background: white;
  border-bottom: 1px solid rgba(74,112,96,0.1);
  font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--va-green); }
.breadcrumb .sep { opacity: 0.4; }

/* ── 7 · BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 14px 30px; background: var(--sage-deep); color: white;
  border-radius: 100px; font-size: 14.5px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.01em; transition: background 0.2s;
}
.btn-primary:hover { background: var(--sage-dark); }

.btn-secondary {
  display: inline-block;
  padding: 14px 30px; background: transparent; color: var(--text-mid);
  border: 1px solid rgba(90,82,72,0.3); border-radius: 100px;
  font-size: 14.5px; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--sage-dark); color: var(--sage-dark); }

.btn-white {
  display: inline-block;
  padding: 14px 30px; background: white; color: var(--va-green-dark);
  border-radius: 100px; font-size: 14.5px; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }

.btn-white-outline {
  display: inline-block;
  padding: 14px 30px; background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 100px;
  font-size: 14.5px; font-weight: 400;
  text-decoration: none; transition: border-color 0.2s;
}
.btn-white-outline:hover { border-color: white; }

.btn-brown {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--warm-brown); color: white;
  border-radius: 100px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.2s;
}
.btn-brown:hover { background: var(--warm-brown-light); }

/* ── 8 · TYPOGRAPHY HELPERS ───────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--va-green); margin-bottom: 14px; display: block;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 300; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 18px;
}
h2 em { font-style: italic; color: var(--va-green); }

.cred-pill {
  background: white;
  border: 1px solid rgba(74,112,96,0.2);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 400; color: var(--text-mid);
  display: inline-block;
}
.trust-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sage-light); display: inline-block; }

/* ── 9 · SPECIALTY PAGE SECTION CLASSES ─────────────────────── */
.sec { padding: 80px 72px; }
.sec-white     { background: white; }
.sec-cream     { background: white; }
.sec-cream-dark { background: white; }
.sec-green-light { background: var(--va-green-light); }
.sec-green-dark  { background: var(--va-green-dark); }

.sec-inner  { max-width: 1000px; margin: 0 auto; }
.sec-narrow { max-width: 760px;  margin: 0 auto; }

/* Body text inside .sec sections */
.sec p {
  font-size: 16px; font-weight: 300;
  color: var(--text-mid); line-height: 1.8; margin-bottom: 14px;
}
.sec p:last-child { margin-bottom: 0; }
.sec p strong { font-weight: 500; color: var(--text-dark); }

/* ── 10 · INTRO QUOTE ─────────────────────────────────────────── */
.intro-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic; font-weight: 300;
  color: var(--va-green); line-height: 1.5; margin-bottom: 28px;
}

/* ── 11 · CARDS ───────────────────────────────────────────────── */
.cards-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 32px; }

.pain-card {
  background: white; border: 1px solid rgba(74,112,96,0.1);
  border-radius: 12px; padding: 18px 20px;
}
.pain-card p {
  font-size: 14px !important; font-weight: 300 !important;
  color: var(--text-mid) !important; line-height: 1.6 !important; margin: 0 !important;
}

.benefit-card {
  background: var(--cream-dark); border: 1px solid rgba(74,112,96,0.08);
  border-radius: 12px; padding: 22px 22px 20px;
}
.benefit-title { font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; display: block; }
.benefit-card p {
  font-size: 13.5px !important; font-weight: 300 !important;
  color: var(--text-mid) !important; line-height: 1.6 !important; margin: 0 !important;
}

/* ── 12 · TOPICS LIST ─────────────────────────────────────────── */
.topics-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; }
.topic-item {
  font-size: 14.5px; font-weight: 300; color: var(--text-mid);
  padding: 11px 0; border-bottom: 1px solid rgba(74,112,96,0.1);
  display: flex; align-items: center; gap: 10px;
}
.topic-item::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--va-green); flex-shrink: 0; opacity: 0.7;
}

/* ── 13 · STEPS ───────────────────────────────────────────────── */
.steps { margin-top: 32px; }
.step {
  display: flex; gap: 22px; padding: 22px 0;
  border-bottom: 1px solid rgba(74,112,96,0.1);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 300;
  color: var(--sage-light); min-width: 36px;
  line-height: 1; padding-top: 2px; flex-shrink: 0;
}
.step-title, .step-content h3 {
  font-size: 15px; font-weight: 500;
  color: var(--text-dark); margin-bottom: 5px; display: block;
}
.step-content h3 { font-family: 'DM Sans', sans-serif; }
.step p, .step-content p {
  font-size: 14px !important; font-weight: 300 !important;
  color: var(--text-mid) !important; line-height: 1.65 !important; margin: 0 !important;
}
.about-nudge {
  margin-top: 28px; padding: 18px 22px;
  background: var(--cream-dark); border: 1px solid rgba(74,112,96,0.12);
  border-radius: 12px; font-size: 14px; font-weight: 300;
  color: var(--text-mid); line-height: 1.6;
}
.about-nudge a {
  color: var(--va-green); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(74,112,96,0.3); padding-bottom: 1px;
}

/* ── 14 · INSURANCE PILLS ─────────────────────────────────────── */
.insurance-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.insurance-pill {
  background: var(--va-green-light); border: 1px solid rgba(74,112,96,0.2);
  border-radius: 100px; padding: 7px 16px;
  font-size: 13px; font-weight: 400; color: var(--va-green-dark);
}

/* ── 15 · FAQ ─────────────────────────────────────────────────── */
.faq-list { margin-top: 28px; }
.faq-item { border-bottom: 1px solid rgba(74,112,96,0.12); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid rgba(74,112,96,0.12); }
.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 500;
  color: var(--text-dark); margin-bottom: 10px; line-height: 1.3;
}
.faq-a { font-size: 14.5px; font-weight: 300; color: var(--text-mid); line-height: 1.75; margin: 0; }

/* ── 16 · CTA + CLOSING ───────────────────────────────────────── */
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; font-weight: 300; color: var(--text-light); }

.closing-inner { max-width: 680px; margin: 0 auto; text-align: center; }

/* Dark green section overrides */
.sec-green-dark .section-label { color: var(--sage-light); }
.sec-green-dark h2 { color: white; margin-bottom: 18px; }
.sec-green-dark h2 em { color: var(--sage-light); }
.sec-green-dark p {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 32px;
}
.sec-green-dark .cta-note { color: rgba(255,255,255,0.45); }

/* ── 17 · FOOTER (typography — layout set per page) ───────────── */
footer { background: var(--text-dark); color: rgba(255,255,255,0.5); }
footer p { font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.5); }
footer h4 {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a {
  font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s;
}
footer ul a:hover { color: white; }

/* Footer logo (inner pages) */
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500;
  color: rgba(255,255,255,0.8); text-decoration: none;
  letter-spacing: 0.02em; display: block; margin-bottom: 10px;
}
.footer-logo span { font-style: italic; font-weight: 300; color: var(--warm-brown-light); }
.footer-license { font-size: 11.5px; font-weight: 300; }
.footer-license p { margin-bottom: 4px; line-height: 1.6; max-width: none; }

/* ── 18 · TABLET  ≤900px ──────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 28px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column; align-items: flex-start;
    padding: 20px 28px 28px; gap: 4px;
    border-bottom: 1px solid rgba(74,112,96,0.15);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links > li > a {
    display: block; padding: 10px 0; font-size: 15px;
    border-bottom: 1px solid rgba(74,112,96,0.1);
  }
  .nav-dropdown > a::after { content: ' ↓'; }
  .dropdown-menu {
    position: static; display: block !important;
    box-shadow: none; border: none;
    background: transparent; padding: 0 0 0 12px;
  }
  .dropdown-menu a { font-size: 14px; padding: 7px 12px; color: var(--text-light); }
  .nav-cta { margin-top: 12px; display: inline-block; padding: 12px 24px; }

  .breadcrumb { padding: 12px 28px; }
  .sec { padding: 60px 28px; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
  .topics-list  { grid-template-columns: 1fr; }
}

/* ── 19 · MOBILE  ≤600px ──────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .breadcrumb { padding: 12px 20px; }
  .sec { padding: 48px 20px; }
  .cards-grid-2, .cards-grid-3 { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons a { text-align: center; }
}
