/* ═══════════════════════════════════════
   Rocky Mountain CWC — Style System
   ═══════════════════════════════════════ */

:root {
  /* Palette: warm earth + mountain slate */
  --stone: #2c2c2c;
  --slate: #3d4a52;
  --sage: #5a7a6b;
  --sage-light: #7a9e8d;
  --sand: #f5f0ea;
  --sand-dark: #e8e0d6;
  --cream: #faf8f5;
  --white: #ffffff;
  --warm: #c4956a;
  --warm-light: #e8d5c0;
  --muted: #7a7a7a;
  --border: #e0dbd4;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Spacing */
  --section-pad: 5rem 1.5rem;
  --container: 1080px;
  --radius: 6px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--slate); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── Type Scale ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; color: var(--slate); }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}
.btn-warm {
  background: var(--warm);
  color: var(--white);
}
.btn-warm:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-block { display: block; width: 100%; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--slate);
  font-weight: 600;
}
.nav-brand span { color: var(--sage); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius) !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--slate) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  margin: 5px 0;
  transition: 0.3s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(170deg, var(--sand) 0%, var(--cream) 60%);
  text-align: center;
}
.hero h1 {
  margin-bottom: 1rem;
  color: var(--slate);
}
.hero h1 em {
  font-style: italic;
  color: var(--sage);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}
.hero-details {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-details strong { color: var(--slate); }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   INSURANCE STRIP
   ═══════════════════════════════════════ */
.insurance-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.insurance-strip h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.insurance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.insurance-logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   SECTIONS — GENERAL
   ═══════════════════════════════════════ */
.section { padding: var(--section-pad); }
.section-alt { background: var(--white); }
.section-sand { background: var(--sand); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}
.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* ═══════════════════════════════════════
   SPECIALTIES GRID
   ═══════════════════════════════════════ */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.specialty-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.specialty-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-2px);
}
.specialty-card h3 {
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.specialty-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ═══════════════════════════════════════
   TREATMENT NAVIGATION FEATURE
   ═══════════════════════════════════════ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-text h2 { margin-bottom: 1rem; }
.feature-text p { color: var(--muted); font-size: 1rem; }
.feature-highlight {
  background: var(--sand);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
}
.feature-highlight p { margin-bottom: 0; font-size: 0.95rem; color: var(--slate); }

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-photo {
  width: 280px;
  height: 340px;
  background: var(--sand-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--muted); }
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.credential {
  background: var(--sand);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}

/* ═══════════════════════════════════════
   LOGISTICS / DETAILS
   ═══════════════════════════════════════ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.detail-card {
  text-align: center;
  padding: 2rem;
}
.detail-card h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.detail-card p {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 0;
}
.detail-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--slate);
  margin-bottom: 0.25rem;
}
.detail-card .price-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   BLOG
   ═══════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-2px);
}
.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--slate); }
.blog-card h3 a:hover { color: var(--sage); }
.blog-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }

/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner {
  background: var(--slate);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: var(--warm-light); font-size: 1.05rem; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--stone);
  color: var(--warm-light);
  padding: 3rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm);
  margin-bottom: 1rem;
}
.footer p, .footer a {
  font-size: 0.9rem;
  color: var(--warm-light);
  line-height: 1.8;
}
.footer a:hover { color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-detail {
  margin-bottom: 1.5rem;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 0.25rem;
}
.contact-detail p {
  color: var(--slate);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════
   SPECIALTIES PAGE — EXPANDED
   ═══════════════════════════════════════ */
.specialty-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.specialty-section:last-child { border-bottom: none; }
.specialty-section h3 {
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 1rem;
}
.specialty-section p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 800px;
}

/* ═══════════════════════════════════════
   PAGE HEADERS
   ═══════════════════════════════════════ */
.page-header {
  background: var(--sand);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--muted); font-size: 1.05rem; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 0.75rem; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: 200px; height: 240px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.5rem; }
}
