/* ==========================================================================
   Multispeciality Clinic — Page-specific styles
   Extends the main style.css design system
   ========================================================================== */

/* ---------- Hero ---------- */
.ms-hero {
  position: relative;
  z-index: 2;
  padding: 9.5rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ms-hero__inner {
  max-width: 50rem;
}

.ms-hero__inner .overline {
  margin-bottom: 1.25rem;
}

.ms-hero__inner .section-title {
  margin-bottom: 1.5rem;
}

.ms-hero__inner .lead {
  margin-bottom: 2.25rem;
}

.ms-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

#about.section {
  padding: 4rem 0;
}

/* @media (min-width: 1024px) {
  .ms-hero {
    padding: 12rem 0 6rem;
  }
} */

/* ---------- Section Header ---------- */
.ms-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ms-section-header .section-title {
  margin-bottom: 1rem;
}

.ms-section-header .lead {
  margin: 0 auto;
}

/* ---------- Speciality Cards Grid ---------- */
.ms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

/* ---------- Speciality Card ---------- */
.ms-card {
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.ms-card__icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* Unique pastel tints for each speciality */
.ms-card__icon-wrap--obg {
  background: #fce4ec;
  color: #c62828;
}

.ms-card__icon-wrap--ortho {
  background: #e3f2fd;
  color: #1565c0;
}

.ms-card__icon-wrap--surgery {
  background: #e8f5e9;
  color: #2e7d32;
}

.ms-card__icon-wrap--medicine {
  background: #fff3e0;
  color: #e65100;
}

.ms-card__icon-wrap--ent {
  background: #ede7f6;
  color: #4527a0;
}

.ms-card__icon-wrap--derma {
  background: #fce4ec;
  color: #ad1457;
}

.ms-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: .625rem;
  color: var(--text-primary);
}

.ms-card__desc {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.ms-card__list {
  margin-top: auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px solid var(--border);
  padding-top: .875rem;
}

.ms-card__list li {
  font-size: .8rem;
  color: var(--text-secondary);
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.5;
}

.ms-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Why Us Features ---------- */
.ms-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .ms-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ms-features {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.ms-feature {
  text-align: center;
}

.ms-feature__number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .75rem;
}

.ms-feature__title {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-primary);
  margin-bottom: .5rem;
}

.ms-feature__desc {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- CTA Section ---------- */
.ms-cta-section {
  text-align: center;
}

.ms-cta-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.ms-cta-inner .section-title {
  margin-bottom: 1.25rem;
}

.ms-cta-inner .lead {
  margin: 0 auto 2rem;
}

.ms-cta-inner .ms-hero__ctas {
  justify-content: center;
}

/* ---------- Doctor Section ---------- */
#about {
  scroll-margin-top: 5rem;
}
