/* ============================================================
   SERVICES PAGE — Tabs, Stages, Deliverables
   Append to the end of style.css
   ============================================================ */

/* ---- Free Offer Box (services hero) ---- */
.free-offer {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  max-width: 640px;
}
.free-offer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.free-offer strong {
  color: var(--text-bright);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ---- Track Tabs ---- */
.track-tabs {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.track-tab {
  flex: 1;
  min-width: 160px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-align: center;
  white-space: nowrap;
}

.track-tab:hover {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.03);
}

.track-tab.active {
  color: var(--cyan);
  background: var(--bg-deep);
  border-color: var(--border-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.08);
}

@media (max-width: 700px) {
  .track-tabs {
    flex-direction: column;
  }
  .track-tab {
    min-width: auto;
  }
}

/* ---- Track Content (show/hide) ---- */
.track-content {
  display: none;
}

.track-content.active {
  display: block;
  animation: fadeSlideUp 0.4s var(--ease-out) both;
}

/* ---- Track Intro ---- */
.track-intro {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.track-intro h2 {
  margin-bottom: 0.75rem;
}

.track-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.7;
}

/* ---- Service Stage Cards ---- */
.service-stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.service-stage:hover {
  border-color: var(--border-cyan);
}

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.stage-header h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

.stage-meta .price {
  color: var(--cyan);
  font-weight: 500;
  background: var(--cyan-glow);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
}

.stage-body {
  padding: 1.75rem 2rem;
}

.stage-body > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 740px;
}

/* ---- Deliverables Grid ---- */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.deliverable-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  line-height: 1.5;
}

.deliverable-item::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.8rem;
}

/* ---- Stage Who ---- */
.stage-who {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

.stage-who strong {
  color: var(--text-secondary);
}

/* ---- Frameworks Table (services page uses same class) ---- */
/* Already defined as .framework-table in main CSS */
