/* ═══════════════════════════════════════════════════
   CLINICDX — ABOUT PAGE STYLES
   Extends styles.css (loaded after it)
   ═══════════════════════════════════════════════════ */

/* ── ACTIVE NAV STATE ────────────────────────────── */
.nav-link-active {
  color: var(--brand-ink) !important;
}

.nav-link-active::after {
  width: 100% !important;
}

.mobile-nav-link-active {
  color: var(--brand-teal) !important;
}

/* ══════════════════════════════════════════════════
   ABOUT HERO
   ══════════════════════════════════════════════════ */
.about-hero {
  background: #fff;
  padding-top: calc(var(--section-pad) + 2rem);
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--brand-border);
}

.about-hero-inner {
  max-width: 760px;
}

.about-headline {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--brand-ink);
}

.about-hero-sub {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--brand-slate);
  max-width: 680px;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════
   ORIGIN SECTION
   ══════════════════════════════════════════════════ */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

.origin-text h2 {
  margin-bottom: 1.5rem;
}

.origin-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brand-slate);
  margin-bottom: 1.25rem;
}

.origin-text strong {
  color: var(--brand-ink);
  font-weight: 600;
}

.origin-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.origin-stat-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--brand-teal);
}

.origin-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-teal);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.origin-stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--brand-slate);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════
   MISSION SECTION
   ══════════════════════════════════════════════════ */
.mission-card {
  background: linear-gradient(135deg, rgba(20,184,166,0.07), rgba(15,110,140,0.05));
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(20,184,166,0.1), transparent 55%);
  pointer-events: none;
}

.mission-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(15,110,140,0.1));
  border: 1px solid rgba(20,184,166,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  margin: 0 auto 1.5rem;
  position: relative;
}

.mission-card h2 {
  margin-bottom: 1.25rem;
  position: relative;
}

.mission-statement {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--brand-slate);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
  position: relative;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  position: relative;
}

.mission-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(20,184,166,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mission-pillar strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-ink);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.mission-pillar p {
  font-size: 0.84rem;
  color: var(--brand-slate);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Photo placeholder */
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-ice) 0%, #e8f4f8 100%);
  border-bottom: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-border);
  position: relative;
  overflow: hidden;
}

.team-photo-placeholder::before {
  content: 'Photo';
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(79,100,112,0.35);
}

/* Inner circle behind the person icon */
.team-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(20,184,166,0.08), transparent 60%);
}

.team-photo-placeholder svg {
  color: rgba(79,100,112,0.25);
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 1;
}

.team-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.team-title-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--brand-mint);
  color: var(--brand-blue);
  border: 1px solid rgba(20,184,166,0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--brand-slate);
  margin-bottom: 1rem;
}

.team-bio:last-of-type {
  margin-bottom: 1.5rem;
}

.team-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.focus-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--brand-ice);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--brand-slate);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════
   VALUES SECTION
   ══════════════════════════════════════════════════ */
.values-list {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  padding: 2rem 1.75rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.value-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--brand-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-title {
  color: var(--brand-ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.value-desc {
  color: var(--brand-slate);
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤960px)
   ══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .origin-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .origin-stats-col {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .origin-stat-card {
    flex: 1;
    min-width: 200px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .mission-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
   ══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .about-hero {
    padding-top: calc(var(--section-pad-mobile) + 1.5rem);
    padding-bottom: var(--section-pad-mobile);
  }

  .mission-card {
    padding: 2.5rem 1.5rem;
  }

  .origin-stats-col {
    flex-direction: column;
  }

  .origin-stat-card {
    min-width: unset;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .team-photo-placeholder {
    aspect-ratio: 3 / 2;
  }

  .team-card-body {
    padding: 1.5rem;
  }
}
