.team-section {
  padding: 110px clamp(24px, 6.5vw, 110px);
  background: linear-gradient(180deg, #f7fbff 0%, #edf6ff 100%);
}

.team-heading {
  max-width: 1420px;
  margin: 0 auto 48px;
}

.team-heading > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr);
  align-items: end;
  gap: 60px;
}

.team-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.team-heading > div > p {
  margin: 0;
  color: #587086;
  font-size: 1rem;
  line-height: 1.75;
}

.team-grid {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  overflow: hidden;
  border: 1px solid #d6e4f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 52, 101, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(6, 52, 101, .13);
}

.team-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dcecff;
}

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(2, 24, 50, .32));
  pointer-events: none;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.035);
}

.team-card-copy {
  min-height: 104px;
  padding: 20px 21px;
}

.team-card h3 {
  margin: 0;
  color: #0a2848;
  font-size: 1.05rem;
  line-height: 1.3;
}

.team-card p {
  margin: 7px 0 0;
  color: #0878e8;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .025em;
}

.contact-section {
  margin: 0 clamp(24px, 4vw, 70px) 32px;
  padding: clamp(38px, 5.5vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, .78fr);
  gap: clamp(40px, 6vw, 95px);
  align-items: center;
  overflow: hidden;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(19, 148, 255, .38), transparent 31%),
    radial-gradient(circle at 95% 100%, rgba(40, 200, 255, .18), transparent 26%),
    #05244a;
  box-shadow: 0 30px 80px rgba(4, 31, 66, .2);
}

.contact-intro h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.contact-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #bed6ed;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.contact-details article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(143, 199, 250, .17);
}

.contact-details article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(63, 190, 255, .13);
  color: #64d1ff;
  font-size: .7rem;
  font-weight: 900;
}

.contact-details article > div {
  display: grid;
  gap: 5px;
}

.contact-details small {
  color: #6fcfff;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
  width: fit-content;
  color: #f6fbff;
  font-size: .94rem;
  line-height: 1.5;
}

.contact-form-card {
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 27px;
  background: rgba(255, 255, 255, .98);
  color: #0a2949;
  box-shadow: 0 25px 70px rgba(0, 13, 33, .28);
}

.contact-form-card h3 {
  margin: 0 0 24px;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  letter-spacing: -.03em;
}

.contact-form-card form,
.contact-form-card label {
  display: grid;
}

.contact-form-card form {
  gap: 16px;
}

.contact-form-card label {
  gap: 8px;
  color: #294762;
  font-size: .78rem;
  font-weight: 800;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cdddea;
  border-radius: 11px;
  background: #f8fbfe;
  color: #0a2949;
  outline: 0;
}

.contact-form-card textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: #1685f1;
  box-shadow: 0 0 0 3px rgba(22, 133, 241, .12);
}

.contact-form-card button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #075fd8, #078cff);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(7, 95, 216, .22);
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-alert {
  display: none;
  margin: -7px 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .82rem;
  line-height: 1.5;
}

.contact-alert:target {
  display: block;
}

.contact-alert-success {
  border: 1px solid #a7ddc8;
  background: #eaf9f3;
  color: #076848;
}

.contact-alert-error {
  border: 1px solid #efb8b8;
  background: #fff0f0;
  color: #9b2525;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .team-section {
    padding: 80px 16px;
  }

  .team-heading > div {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-card {
    border-radius: 17px;
  }

  .team-card-copy {
    min-height: 94px;
    padding: 15px 13px;
  }

  .team-card h3 {
    font-size: .92rem;
  }

  .team-card p {
    font-size: .72rem;
  }

  .contact-section {
    margin: 0 14px 20px;
    padding: 36px 18px 18px;
    border-radius: 25px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
