/* ============================================
   LS Consultancy Services — MBBS state pages
   Scoped styles for mbbs-<state>.html only.
   Built on the tokens in style.css; adds no
   new colours of its own.
   ============================================ */

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  background: linear-gradient(165deg, #1e3a5f 0%, #264d7a 55%, #1a3352 100%);
  margin-top: var(--nav-height);
  color: #fff;
  padding: 72px 0 64px;
  overflow: hidden;
}

.ms-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.22) 0%, rgba(46, 196, 182, 0) 70%);
  pointer-events: none;
}

.ms-hero .container { position: relative; z-index: 1; }

.ms-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}

.ms-crumbs a { color: rgba(255, 255, 255, 0.85); }
.ms-crumbs a:hover { color: var(--tertiary); }
.ms-crumbs span[aria-current] { color: #fff; font-weight: 500; }

.ms-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 12px;
}

.ms-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  max-width: 20ch;
  margin-bottom: 14px;
}

.ms-lede {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin-bottom: 30px;
}

.ms-hero-actions,
.ms-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------- Stat bar ---------- */
.ms-statbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ms-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px 0;
}

.ms-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 18px;
  border-left: 1px solid var(--border-light);
  text-align: center;
}

.ms-stat:first-child { border-left: none; }

.ms-stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.ms-stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Shared section furniture ---------- */
.ms-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.ms-intro,
.ms-colleges,
.ms-faq { background: var(--bg-light); }

.ms-route,
.ms-help { background: var(--bg-white); }

.ms-intro,
.ms-route,
.ms-colleges,
.ms-help,
.ms-faq { padding: var(--space-3xl) 0; }

.ms-route h2,
.ms-colleges h2,
.ms-help h2,
.ms-faq h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
  max-width: 26ch;
}

.ms-section-sub,
.ms-route-blurb {
  color: var(--text-body);
  max-width: 70ch;
  margin-bottom: 28px;
}

.ms-prose p {
  font-size: 1.02rem;
  color: var(--text-body);
  margin-bottom: 16px;
  max-width: 74ch;
}

.ms-prose p strong { color: var(--text-dark); }

.about-disclaimer {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-top: 26px;
  max-width: 74ch;
}

/* ---------- Counselling route ---------- */
.ms-route-table td { vertical-align: top; }
.ms-route-table td:first-child { white-space: nowrap; color: var(--text-dark); }

.ms-watch {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  max-width: 82ch;
}

.ms-watch-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-white);
  padding: 6px 10px;
  border-radius: var(--radius-full);
}

.ms-watch p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 2px 0 0;
}

/* ---------- Filters ---------- */
.mc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.mc-chip {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 9px 18px;
  transition: all 0.18s ease;
}

.mc-chip span {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mc-chip:hover { border-color: var(--primary); color: var(--primary); }

.mc-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mc-chip.active span { color: rgba(255, 255, 255, 0.75); }

/* ---------- College cards ---------- */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.mc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mc-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
}

.mc-card[hidden] { display: none; }

.mc-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mc-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-full);
}

.mc-badge-govt { background: var(--tertiary-light); color: var(--tertiary-dark); }
.mc-badge-private { background: var(--primary-light); color: var(--primary); }
.mc-badge-deemed { background: var(--accent-light); color: var(--accent-dark); }
.mc-badge-nirf { background: #fff6e5; color: #a86b12; }

.mc-name {
  font-size: 1.04rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.mc-city {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mc-city svg { width: 14px; height: 14px; flex-shrink: 0; }

.mc-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.mc-facts dt {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.mc-facts dd {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.mc-lines { flex-grow: 1; margin-bottom: 18px; }

.mc-line {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 8px;
}

.mc-line-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.mc-cta {
  width: 100%;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: background 0.18s ease, color 0.18s ease;
}

.mc-cta:hover { background: var(--primary); color: #fff; }

.mc-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* ---------- What LS does ---------- */
.ms-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.ms-help-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  border-top: 3px solid var(--tertiary);
}

.ms-help-card h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.ms-help-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}

/* ---------- FAQ ---------- */
.ms-faq-list { max-width: 82ch; }

/* ---------- Closing CTA ---------- */
.ms-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #264d7a 100%);
  color: #fff;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.ms-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  max-width: 24ch;
  margin: 0 auto 14px;
}

.ms-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 64ch;
  margin: 0 auto 28px;
}

.ms-cta-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ms-stat-row { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .ms-stat:nth-child(3) { border-left: none; }
}

@media (max-width: 640px) {
  .ms-hero { padding: 52px 0 48px; }
  .ms-hero h1 { max-width: none; }
  .ms-hero-actions .btn,
  .ms-cta-actions .btn { width: 100%; justify-content: center; }
  .mc-grid { grid-template-columns: 1fr; }
  .ms-watch { flex-direction: column; gap: 10px; }
  .ms-stat-value { font-size: 1.15rem; }
}
