/* ============================================================
   FRESH AIR PILATES — Compare Page (compare.css)
   ============================================================ */

.compare-hero {
  background: var(--sage);
  padding: 5rem 0;
  text-align: center;
}

.compare-hero h1 { color: #fff; }
.compare-hero p   { color: rgba(255,255,255,0.75); max-width: 520px; margin: 1rem auto 0; }
.compare-hero .badge { color: rgba(255,255,255,0.65); }
.compare-hero .badge::before { background: rgba(255,255,255,0.5); }

/* Scroll wrapper for mobile */
.comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4rem;
  border-radius: 4px;
  border: 1px solid var(--stone-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

/* Header */
.comparison-table thead th {
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
  vertical-align: bottom;
  border-bottom: 2px solid var(--stone);
  background: var(--cream);
}

.comparison-table thead th:first-child { text-align: left; }

.col-fap {
  background: var(--text-dark) !important;
}

.col-feature { width: 28%; text-align: left !important; }

.th-studio-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.col-fap .th-studio-name { color: var(--cream); }

.th-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300;
  color: var(--text-dark); line-height: 1;
  margin-bottom: 0.2rem;
}

.th-price small { font-size: 0.9rem; }
.col-fap .th-price { color: var(--gold); }

.th-sub {
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-light); margin-bottom: 1rem;
}

.col-fap .th-sub { color: rgba(255,255,255,0.4); }

.th-cta { margin-top: 0.5rem; }

/* Body rows */
.comparison-table tbody td {
  padding: 0.9rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(196,185,176,0.18);
  font-size: 0.86rem;
  background: var(--cream);
  color: var(--text-mid);
}

.comparison-table tbody td:first-child {
  text-align: left;
  background: var(--warm-white);
}

.col-fap-data {
  background: rgba(122,158,126,0.06) !important;
  font-weight: 500;
  color: var(--text-dark) !important;
}

/* Category rows */
.row-category td {
  background: var(--text-dark) !important;
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500 !important;
  padding: 0.7rem 1.5rem !important;
  text-align: left !important;
}

.feature-name {
  color: var(--text-dark) !important;
  font-weight: 400;
}

/* Indicators */
.yes     { color: var(--sage); font-weight: 600; }
.no      { color: var(--stone); font-weight: 400; font-size: 1.1rem; }
.partial { color: var(--gold);  font-size: 0.8rem; font-weight: 500; }
.note    { font-size: 0.78rem; color: var(--text-light); font-weight: 300; }

/* Hover row highlight */
.comparison-table tbody tr:not(.row-category):hover td {
  background: var(--sage-pale);
}
.comparison-table tbody tr:not(.row-category):hover td:first-child {
  background: var(--sage-pale);
}
.comparison-table tbody tr:not(.row-category):hover .col-fap-data {
  background: rgba(122,158,126,0.12) !important;
}

/* Footer */
.comparison-table tfoot td {
  font-size: 0.76rem;
  color: var(--text-light);
  text-align: center;
  padding: 1.25rem;
  background: var(--warm-white);
  border-top: 1px solid var(--stone-light);
}

.compare-cta {
  padding: 4rem 2rem;
  background: var(--sage-pale);
  border-radius: 8px;
}

.compare-cta h2 { margin-bottom: 0.75rem; }
.compare-cta p  { color: var(--text-mid); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .comparison-table { min-width: 620px; }
  .comparison-table thead th { padding: 1.25rem 0.75rem 1rem; }
  .comparison-table tbody td { padding: 0.7rem 0.75rem; font-size: 0.78rem; }
  .th-price { font-size: 1.2rem; }
  .th-studio-name { font-size: 1rem; }
  .col-feature { width: 22%; }
  .compare-cta { padding: 2.5rem 1.5rem; }
  .compare-cta h2 { font-size: 1.6rem; }
}
