/*
 * "Experienced leadership" team section — gradivuscorp.com/gradivus-corp/
 *
 * Scoped entirely under .gc-team so it cannot affect the rest of the page.
 * Uses the site's own palette (navy #013348, gold #F2A502) and inherits Futura
 * from the body, so it reads as part of the existing design rather than bolted on.
 */

.gc-team {
  background: #faf8f5;
  padding: 72px 16px 88px;
  font-family: inherit;
}

.gc-team__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.gc-team__eyebrow {
  margin: 0 0 14px;
  color: #f2a502;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gc-team__title {
  margin: 0;
  color: #013348;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.gc-team__lede {
  margin: 16px 0 0;
  max-width: 44em;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.gc-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 54px;
}

/* ---- avatar ---- */

.gc-team__photo {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid #f2a502;
  padding: 3px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gc-team__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}

/* Shown only when the <img> is absent or fails to load and removes itself. */
.gc-team__initials {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #013348;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- text ---- */

.gc-team__name {
  margin: 20px 0 0;
  color: #0b6b86;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.gc-team__bio {
  margin: 14px 0 22px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

/* Cards stretch to the tallest in the row so the contact blocks and their
   divider rules line up across columns, regardless of bio length. */
.gc-team__member {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gc-team__contact {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gc-team__contact a,
.gc-team__contact span {
  color: #4b5563;
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.15s;
  width: fit-content;
}

.gc-team__contact a:hover {
  color: #013348;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gc-team__li,
.gc-team__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.gc-team__li {
  color: #0a66c2 !important;
}

/* WhatsApp replaces the plain tel: link, so the number dials into chat */
.gc-team__wa {
  color: #1faf54 !important;
}

.gc-team__li svg,
.gc-team__wa svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* ---- responsive ---- */

@media (max-width: 900px) {
  .gc-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 32px;
  }
}

@media (max-width: 620px) {
  .gc-team {
    padding: 56px 16px 64px;
  }
  .gc-team__grid {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 40px;
  }
}
