/* =========================================
   COLORADO MED SPA BROKER — Shared Stylesheet
   coloradomedspabroker.com
   ========================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0f2137;
  --navy-mid:  #1a3550;
  --gold:      #c9a84c;
  --gold-light:#e8c97a;
  --gold-pale: #f5eed8;
  --offwhite:  #f8f6f2;
  --white:     #ffffff;
  --text:      #1e1e1e;
  --muted:     #5a6474;
  --border:    #e2ddd6;
  --radius:    4px;
  --radius-card: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---- Layout ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8%;
}

section { padding: 80px 0; }
section.tight { padding: 60px 0; }
section.slim  { padding: 48px 0; }

.section-white    { background: var(--white); }
.section-offwhite { background: var(--offwhite); }
.section-navy     { background: var(--navy); }
.section-gold     { background: var(--gold); }

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  height: 36px;
  width: auto;
  filter: brightness(10);
}

.footer-brand .nav-logo {
  height: 40px;
  margin-bottom: 14px;
  filter: brightness(10);
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

.nav-title {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-mid); }

.btn-lg { padding: 17px 36px; font-size: 0.88rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 8%;
}

.hero-content .label { color: var(--gold); }

.hero-content h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--navy-mid);
  padding: 28px 0;
  border-bottom: 3px solid var(--gold);
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 6px;
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,33,55,0.12);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }

/* ---- Two-column ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 14px; }

/* ---- Gold CTA Band ---- */
.cta-band {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 { color: var(--navy); margin-bottom: 12px; }
.cta-band p  { color: var(--navy); opacity: 0.8; max-width: 580px; margin: 0 auto 28px; }

/* ---- Testimonials ---- */
.testimonials {
  background: var(--navy);
  padding: 64px 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
}

.testi-card {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.testi-card blockquote {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testi-card cite {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Process Steps ---- */
.steps { margin-top: 48px; }

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  margin-bottom: 36px;
  align-items: start;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.step-body h3 { margin-bottom: 8px; }

/* ---- FAQ ---- */
.faq { margin-top: 48px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ---- Buyer Factors ---- */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.factor-item {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.factor-item h4 { margin-bottom: 6px; font-size: 1rem; }

/* ---- About Bio ---- */
.bio-img {
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 420px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 12px 40px rgba(15,33,55,0.15);
}

.credentials {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.credential-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Valuation Tool ---- */
.val-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.val-intro {
  background: var(--navy);
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.val-intro-text h3 { color: var(--gold); margin-bottom: 4px; }
.val-intro-text p  { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.9rem; }

.val-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.val-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 36px;
}

/* Progress */
.val-progress {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}

.val-step-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid var(--border);
  transition: all 0.2s;
}

.val-step-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.val-step-tab.done {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* Step panes */
.val-pane { display: none; }
.val-pane.active { display: block; }

.val-pane h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Form fields */
.field-group {
  margin-bottom: 20px;
}

.field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--offwhite);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--offwhite);
  user-select: none;
}

.radio-opt:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

/* Hide the default radio input completely */
.radio-opt input[type="radio"] {
  display: none;
}

/* Custom radio circle */
.radio-opt .radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.radio-opt .radio-circle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: none;
}

.radio-opt.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.radio-opt.selected .radio-circle {
  border-color: var(--gold);
  background: #fff;
}

.radio-opt.selected .radio-circle::after {
  display: block;
}

.radio-opt span {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}

/* Nav buttons */
.val-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Results */
.val-results {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-top: 0;
  overflow: hidden;
}

.results-header {
  background: var(--navy);
  padding: 32px 36px;
  text-align: center;
}

.results-header .label { color: var(--gold); text-align: center; justify-content: center; }
.results-header h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }

.val-range {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.1;
  margin: 12px 0;
}

.results-body { padding: 32px 36px; }

.results-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.meta-item {
  background: var(--offwhite);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
}

.meta-item .meta-val {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.meta-item .meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.results-context {
  background: var(--gold-pale);
  border: 1px solid #ddd1a0;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.results-context p { color: var(--text); font-size: 0.92rem; margin: 0; }

.disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 0;
  font-style: italic;
}

/* Lead capture after results */
.lead-capture {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  padding: 32px 36px;
}

.lead-capture h3 { margin-bottom: 8px; }

/* Contact callout block */
.contact-callout {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.contact-callout-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
}

.contact-callout-icon {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}

.contact-callout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-callout-value {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-callout-value:hover { color: var(--gold); }

.contact-callout-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .contact-callout {
    flex-direction: column;
  }
  .contact-callout-divider {
    width: 100%;
    height: 1px;
  }
  .contact-callout-item {
    padding: 18px 20px;
    width: 100%;
  }
}

/* ---- Page Hero (interior) ---- */
.page-hero {
  background: var(--navy);
  padding: 64px 0;
  border-bottom: 3px solid var(--gold);
}

.page-hero .label { color: var(--gold); }
.page-hero h1 { color: #fff; margin-top: 8px; }
.page-hero p  { color: rgba(255,255,255,0.72); max-width: 560px; margin-top: 12px; }

/* ---- Footer ---- */
.site-footer {
  background: #070f1a;
  padding: 48px 0 28px;
  border-top: 2px solid var(--gold);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 8%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 8% 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cards-grid     { grid-template-columns: 1fr 1fr; }
  .two-col        { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .factors-grid   { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .results-meta   { grid-template-columns: 1fr 1fr; }
  .lead-fields    { grid-template-columns: 1fr; }
  .field-row      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards-grid     { grid-template-columns: 1fr; }
  .stats-inner    { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
  .hero-btns      { flex-direction: column; }
  .val-form       { padding: 24px 20px; }
  .results-body   { padding: 24px 20px; }
  .lead-capture   { padding: 24px 20px; }
  .results-header { padding: 28px 20px; }
  .results-meta   { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
}
