/* ════════════════════════════════════════
   TEAMS PAGE
   ════════════════════════════════════════ */

/* ── WHAT MAKES US SPECIAL ── */
.teams-special {
  background: #fff;
  padding: 80px 120px;
  display: flex;
  justify-content: center;
}
.teams-special__inner {
  max-width: 1280px; width: 100%;
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.teams-special__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.teams-special__title {
  font-size: 30px;
  font-weight: 700;
  color: #0b1795;
  line-height: 1.25;
  margin-top: 4px;
}
.teams-special__subtitle {
  font-size: 14.5px;
  color: #52525b;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 8px;
}
.teams-special__photo-wrap {
  position: relative;
  width: 100%;
  margin-top: 4px;
}
.teams-special__photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: brightness(0.55);
}
.teams-special__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.teams-special__badge-label {
  font-size: 11px;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.teams-special__badge-num {
  font-size: 28px;
  font-weight: 800;
  color: #0b1795;
  line-height: 1.1;
}

/* STAT GRID */
.teams-special__right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
}
.teams-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.teams-stat-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 3px solid #0b1795;
}
.teams-stat-box__num {
  font-size: 40px;
  font-weight: 800;
  color: #0b1795;
  line-height: 1;
}
.teams-stat-box__label {
  font-size: 13px;
  font-weight: 600;
  color: #71717a;
}

/* ── LEADERSHIP SECTION ── */
.teams-leadership {
  background: #f8f9fb;
  padding: 80px 0;
  display: flex;
  justify-content: center;
}
.teams-leadership__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.teams-leadership__title {
  font-size: 30px;
  font-weight: 700;
  color: #0b1795;
  margin-top: 4px;
}
.teams-leadership__subtitle {
  font-size: 14.5px;
  color: #52525b;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* TEAM CARDS GRID */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 8px;
}

.team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 8px 24px rgba(11,23,149,0.1); }

.team-card__img-wrap { position: relative; }
.team-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Badge in top right */
.team-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
}
.team-card__badge--leadership { background: #0b1795; }
.team-card__badge--technology { background: #6366f1; }
.team-card__badge--operations { background: #0891b2; }
.team-card__badge--product { background: #7c3aed; }
.team-card__badge--client { background: #b45309; }
.team-card__badge--engineering { background: #0f766e; }

.team-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f3f4f6;
}
.team-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.team-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.team-card__link-icon {
  width: 28px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-card__role {
  font-size: 13px;
  font-weight: 700;
  color: #0b1795;
  margin-top: 2px;
}
.team-card__desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
  margin-top: 6px;
  border-top: 1px solid #f3f4f6;
  padding-top: 10px;
}

/* Join CTA */
.teams-join {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
}
.teams-join__text {
  font-size: 14px;
  font-weight: 600;
  color: #52525b;
}
.teams-join__btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 2px solid #0b1795;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0b1795;
  background: #fff;
  text-decoration: none;
  transition: filter 0.2s;
}

@media (max-width: 1100px) {
  .teams-special { padding-inline: 48px; }
  .teams-leadership__inner { padding-inline: 48px; }
}
@media (max-width: 900px) {
  .teams-special__inner { flex-direction: column; }
  .teams-special__right { padding-top: 0; }
  .teams-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .teams-grid { grid-template-columns: 1fr; }
  .teams-stat-grid { grid-template-columns: 1fr 1fr; }
}
