/* Team Page */
.team-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.team-stats-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.team-stat-item  { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; }
.team-stat-num   { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; }
.team-stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.team-stat-divider { height: 1px; background: var(--border); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }

.team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.25s;
}
.team-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card:hover::before { opacity: 1; }

.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}

.team-info h3   { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.team-role      { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.team-info p    { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.team-tags      { display: flex; gap: 6px; flex-wrap: wrap; }

/* Certs */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert-badge {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}
.cert-badge:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cert-badge span  { font-size: 28px; display: block; margin-bottom: 8px; }
.cert-badge p     { color: var(--text2); font-size: 12px; font-weight: 600; line-height: 1.3; }

@media (max-width: 768px) { .team-intro-grid { grid-template-columns: 1fr; gap: 36px; } .team-grid { grid-template-columns: 1fr; } .cert-grid { grid-template-columns: repeat(2, 1fr); } .team-card { flex-direction: column; } }

/* Team photo */
.team-photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
  align-self: start;
}

.team-photo-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Team coming section */
.team-coming {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-coming h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.team-coming p {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
