/* Music City Ketamine — Design System */
/* Fonts: Cormorant Garamond (display) + DM Sans (body) */

:root {
  --bg: #0C181D;
  --bg2: #101F25;
  --bg3: #14262E;
  --teal: #4AABB8;
  --teal-lt: #78C9D2;
  --green: #7BBF5E;
  --gold: #D4A64A;
  --t1: #EDE9E3;
  --t2: #D5D0C8;
  --t3: #A09890;
  --t4: #6A6460;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --wrap: 1140px;
  --narrow: 780px;
  --radius: 10px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--t2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--t1);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: .6rem; }
h4 { font-size: 1.1rem; margin-bottom: .4rem; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-lt); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 1.5rem; }

.sec { padding: 5rem 0; }
.sec-alt { background: var(--bg2); }

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 24, 29, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 171, 184, .08);
}

.nav-logo img { height: 38px; width: auto; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--t1);
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
}
.logo-text em {
  font-style: normal;
  color: var(--teal);
}
.nav-logo:hover .logo-text { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--t3);
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--t1); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--bg) !important;
  padding: .55rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  font-size: .8rem !important;
  letter-spacing: .04em !important;
  transition: background .2s, transform .15s !important;
}

.nav-cta:hover {
  background: var(--teal-lt) !important;
  transform: translateY(-1px) !important;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--t2); margin: 5px 0; transition: .3s; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(74, 171, 184, .06);
}

.page-hero h1 { margin-bottom: .8rem; }

.page-hero .subtitle {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--t3);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 1rem 2rem;
  font-size: .75rem;
  color: var(--t4);
  border-bottom: 1px solid rgba(74, 171, 184, .04);
}

.breadcrumb a { color: var(--t4); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 .4rem; }

/* ─── CONDITION NAV ─── */
.condition-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem 2rem;
  background: var(--bg2);
  border-bottom: 1px solid rgba(74, 171, 184, .06);
}

.condition-nav a {
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--t4);
  padding: .4rem .9rem;
  border: 1px solid rgba(74, 171, 184, .1);
  border-radius: 50px;
  transition: all .2s;
}

.condition-nav a:hover { border-color: var(--teal); color: var(--teal); }

.condition-nav a.active {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}

/* ─── IS THIS YOU ─── */
.is-this-you { background: var(--bg2); }

.is-this-you ul {
  list-style: none;
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.is-this-you li {
  padding: .8rem 0 .8rem 2rem;
  position: relative;
  color: var(--t2);
  font-size: .95rem;
  border-bottom: 1px solid rgba(74, 171, 184, .05);
}

.is-this-you li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .6;
}

/* ─── MECHANISM / HOW KETAMINE HELPS ─── */
.mechanism h2 { color: var(--teal-lt); }

.mechanism-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: .95rem;
  line-height: 1.85;
}

.mechanism-content p { margin-bottom: 1.2rem; }

.mechanism-highlight {
  background: var(--bg3);
  border-left: 3px solid var(--teal);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--t1);
}

/* ─── EVIDENCE / STAT CARDS ─── */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid rgba(74, 171, 184, .08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.stat-card:hover {
  border-color: rgba(74, 171, 184, .2);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-label {
  font-size: .9rem;
  color: var(--t2);
  margin-bottom: .6rem;
  line-height: 1.4;
}

.stat-source {
  font-size: .65rem;
  color: var(--t4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg2);
  border: 1px solid rgba(74, 171, 184, .06);
  border-radius: var(--radius);
  padding: 2rem;
}

.review-card .stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .8rem;
  letter-spacing: .1em;
}

.review-card blockquote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--t1);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.review-card .reviewer {
  font-size: .75rem;
  color: var(--t4);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 2rem auto 0; }

.faq-item {
  border-bottom: 1px solid rgba(74, 171, 184, .06);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--t1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--teal);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open h3::after { content: '−'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: .9rem;
  color: var(--t3);
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 5rem 2rem;
}

.cta-section h2 { margin-bottom: .6rem; }

.cta-section p {
  color: var(--t3);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: .95rem;
}

.btn {
  display: inline-block;
  padding: .85rem 2.4rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--teal-lt);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  margin-left: .8rem;
}

.btn-secondary:hover {
  background: rgba(74, 171, 184, .08);
  color: var(--teal-lt);
}

.cta-phone {
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--t4);
}

.cta-phone a { color: var(--t3); }

/* ─── CRISIS BANNER (suicidal-ideation page) ─── */
.crisis-banner {
  background: linear-gradient(135deg, #2D1B1B 0%, #1A2830 100%);
  border: 1px solid rgba(212, 166, 74, .25);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.crisis-banner h3 { color: var(--gold); font-family: var(--sans); font-weight: 500; margin-bottom: .8rem; }
.crisis-banner p { font-size: .9rem; color: var(--t2); margin-bottom: .4rem; }
.crisis-banner a { color: var(--gold); font-weight: 500; }

/* ─── FOOTER ─── */
.foot {
  padding: 3.5rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(74, 171, 184, .06);
  background: var(--bg2);
}

.foot-logo { margin: 0 auto 1.2rem; display: block; text-align: center; font-size: 1.2rem; }
.foot-logo-link { text-decoration: none; }

.foot-addr {
  font-size: .78rem;
  color: var(--t4);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.2rem;
  margin-bottom: .8rem;
}

.foot-links a {
  font-size: .72rem;
  color: var(--t3);
  letter-spacing: .03em;
}

.foot-links a:hover { color: var(--teal); }

.foot-legal {
  margin-top: 2rem;
  font-size: .65rem;
  color: var(--t4);
  line-height: 1.7;
}

/* ─── COMPARISON TABLE (how-it-works) ─── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: .85rem;
}

.compare-table th {
  background: var(--bg3);
  color: var(--t1);
  font-family: var(--sans);
  font-weight: 500;
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid rgba(74, 171, 184, .15);
}

.compare-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(74, 171, 184, .05);
  color: var(--t2);
  vertical-align: top;
}

.compare-table tr:hover td { background: rgba(74, 171, 184, .02); }

.compare-table .check { color: var(--green); }
.compare-table .partial { color: var(--gold); }
.compare-table .no { color: var(--t4); }

/* ─── PROTOCOL STEPS (how-it-works) ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  background: var(--bg2);
  border: 1px solid rgba(74, 171, 184, .08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--teal);
  opacity: .3;
  line-height: 1;
  margin-bottom: .6rem;
}

.step h3 { font-size: 1.1rem; }

.step p { font-size: .88rem; color: var(--t3); margin-top: .5rem; }

/* ─── GEO PAGE SPECIFICS ─── */
.geo-highlight {
  background: var(--bg3);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.geo-highlight .drive-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.geo-highlight .drive-info h3 { font-family: var(--sans); font-size: .95rem; color: var(--teal); margin-bottom: .3rem; }
.geo-highlight .drive-info p { font-size: .85rem; color: var(--t3); }

.condition-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.condition-link {
  display: block;
  background: var(--bg2);
  border: 1px solid rgba(74, 171, 184, .06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--t2);
  font-size: .85rem;
  transition: all .2s;
}

.condition-link:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

/* ─── PRICING TABLE ─── */
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 171, 184, .06);
  font-size: .9rem;
}

.pricing-row .duration { color: var(--t2); }
.pricing-row .price { color: var(--teal); font-weight: 500; font-size: 1.1rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 24, 29, .98);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(74, 171, 184, .08);
  }
  .nav-toggle { display: block; }
  .page-hero { padding: 4rem 1.5rem 3rem; }
  .sec { padding: 3.5rem 0; }
  .evidence-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .condition-nav { gap: .35rem; padding: 1rem 1rem; }
  .condition-nav a { font-size: .65rem; padding: .3rem .7rem; }
  .geo-highlight { flex-direction: column; text-align: center; }
  .btn-secondary { margin-left: 0; margin-top: .6rem; }
}

@media (max-width: 480px) {
  .nav { padding: 1rem 1.2rem; }
  .page-hero { padding: 3rem 1.2rem 2rem; }
  .wrap, .wrap-narrow { padding: 0 1rem; }
  .stat-number { font-size: 2.2rem; }
}

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
