/* Sky Accounting - team page (1440px Figma match) */

/* Hero */
.team-hero {
  position: relative;
  padding: 213px 0 88px;
  background: radial-gradient(720px 303px at 50% -43px, #b5eeff 0%, #b5eeff 30%, rgba(181, 238, 255, .82) 50%, rgba(181, 238, 255, .62) 65%, rgba(181, 238, 255, .42) 78%, rgba(181, 238, 255, .2) 88%, rgba(181, 238, 255, 0) 96%), radial-gradient(360px 340px at 50% -43px, rgba(181, 238, 255, 0) 0%, rgba(181, 238, 255, .34) 50%, rgba(181, 238, 255, .26) 75%, rgba(181, 238, 255, .24) 85%, rgba(181, 238, 255, 0) 90%);
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 540px 506px;
  gap: 89px;
  align-items: start;
}

.team-hero h1 {
  margin: 68px 0 40px;
  font-family: Inter, Arial, sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 56px;
}

.team-hero h1 span { color: var(--cyan); }

.team-hero-copy > p {
  width: 540px;
  max-width: 100%;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 24px;
}

.team-hero-media { position: relative; width: 506px; }

.team-hero-media > img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.team-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 19, 33, .14);
}

.team-badge-media {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--cyan);
  border-radius: 10px;
  background: var(--ice);
}

.team-badge-media svg { width: 22px; height: 22px; }

.team-badge strong {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.team-badge small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-soft);
}

.team-badge-experience { top: 35px; left: -97px; }
.team-badge-clients { bottom: 68px; right: -153px; }

/* Developers */
 .team-developers {
   position: relative;
   isolation: isolate;
   margin: 0;
   padding: 80px 82px 79px;
   border-radius: 38px;
   background: #cdf3fe;
   overflow: hidden;
 }

 .team-developers::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background-image: radial-gradient(circle, #b2e5f8 2px, transparent 2.6px);
   background-size: 11px 12px;
   -webkit-mask-image: linear-gradient(to bottom, transparent 34%, #000 78%);
   mask-image: linear-gradient(to bottom, transparent 34%, #000 78%);
   pointer-events: none;
 }

.team-section-title {
  margin: 0 0 46px;
  font-family: Inter, Arial, sans-serif;
  font-size: 38.5px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  text-align: center;
}

.team-developers-intro {
  width: 600px;
  max-width: 100%;
  margin: 0 auto 40px;
  margin-left: 217.5px;
  margin-right: auto;
  color: var(--ink);
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.developer-card {
  display: flex;
  flex-direction: column;
  height: 346px;
  padding: 44px 30px 0 25px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(8, 19, 33, .05);
  transition: transform .35s var(--ease), background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

@media (min-width: 1101px) {
  .developer-grid .developer-card:nth-of-type(1) { padding-right: 51px; }
  .developer-grid .developer-card:nth-of-type(3) { padding-right: 22px; }
}

.developer-card-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1.5px solid var(--cyan);
  border-radius: 13px;
}

.developer-card-icon img { width: auto; height: auto; }
.developer-card:hover,
.developer-card:focus-visible {
  background: #0b111f;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 19, 33, .22);
}

.developer-card:hover .developer-card-icon,
.developer-card:focus-visible .developer-card-icon {
  background: rgba(0, 195, 255, .1);
}

.developer-card p {
  margin: 74px 0 0;
  font-size: 20px;
  line-height: 24px;
}


.team-developers-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 81px;
}

.team-developers-actions .button { border-radius: 2px; }

.team-developers-actions .button-outline {
  background: transparent;
  border-color: #093e5b;
  color: #093e5b;
}

@media (hover: hover) and (pointer: fine) {
  .team-developers-actions .button-outline:hover {
    background: #093e5b;
    border-color: #093e5b;
    color: #fff;
  }
}

/* Experts */
.team-experts {
  position: relative;
  padding: 85px 0 90.2px;
  overflow: hidden;
}

.team-experts .container { position: relative; z-index: 1; }

.team-experts .team-section-title { margin-bottom: 41px; }

.team-experts-intro {
  width: 684px;
  max-width: 100%;
  margin: 0 auto 74px;
  margin-left: 259.5px;
  margin-right: auto;
  color: var(--ink);
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 740px;
  max-width: 100%;
  gap: 40px;
  margin: 0 auto 72px;
  margin-left: 210px;
  margin-right: auto;
}

.expert-card {
  height: 371px;
  padding: 36px 32px 0;
  border-radius: 10px;
  background: #eef5ff;
  box-shadow: 0 14px 35px rgba(8, 19, 33, .06);
  transition: transform .35s var(--ease), box-shadow .35s ease, background-color .35s ease;
}

.expert-card h3 {
  margin: 0 0 52px;
  font-family: Inter, Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 33px;
  color: var(--ink);
}

.expert-card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 19px;
  width: 281px;
  max-width: 100%;
}
.expert-card:hover,
.expert-card:focus-visible {
  background: #e2f1ff;
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(0, 195, 255, .14);
}

.team-experts-actions {
  margin: 0 0 0 459px;
}

.team-experts-actions .button { border-radius: 2px; }

.team-cloud {
  position: absolute;
  z-index: 0;
  right: -160px;
  bottom: -210px;
  width: 900px;
  height: auto;
  max-width: none;
  opacity: .1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .team-hero { padding-top: 90px; }
  .team-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .team-hero h1 { margin-top: 0; }
  .team-hero-copy { text-align: center; }
  .team-hero-copy > p { margin-inline: auto; }
  .team-hero-media { width: 100%; max-width: 640px; margin: 0 auto; }
  .team-badge-experience { left: -18px; }
  .team-badge-clients { right: -18px; }
  .team-developers { padding: 70px 40px 66px; }
  .team-developers-intro { width: 100%; margin-left: auto; }
}

@media (max-width: 900px) {
  .developer-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    margin-inline: auto;
    gap: 20px;
  }
  .expert-grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: auto;
    gap: 24px;
  }
  .team-experts-intro { margin-left: auto; }
  .team-experts-actions { margin: 0; text-align: center; }
  .team-cloud {
    left: auto;
    top: auto;
    right: -80px;
    bottom: -90px;
    width: 540px;
    height: auto;
    clip-path: none;
  }
}

@media (max-width: 650px) {
   .team-hero { padding-top: 72px; }
   .team-hero-grid { grid-template-columns: minmax(0, 1fr); }
   .team-hero-copy { width: 100%; max-width: 100%; }
   .team-hero h1 { font-size: 32px; line-height: 40px; margin-bottom: 24px; }
   .team-hero-copy > p { width: 100%; max-width: 100%; font-size: 15px; line-height: 22px; }
   .team-hero-media { width: 100%; max-width: 100%; }
   .team-hero-media > img { width: 100%; max-width: 100%; }
   .team-cloud { width: 100%; max-width: 100%; right: 0; left: auto; }
  .team-section-title { font-size: 28px; margin-bottom: 26px; }
  .team-developers { padding: 58px 24px 56px; }
  .team-developers-intro { margin-bottom: 32px; font-size: 15px; }
  .developer-card { padding: 28px; }
  .developer-card p { margin-top: 28px; font-size: 15px; line-height: 22px; }
  .team-developers-actions { margin-top: 44px; }
  .team-experts { padding: 84px 0 100px; }
  .team-experts-intro { margin-bottom: 44px; font-size: 15px; line-height: 22px; }
  .expert-grid { margin-bottom: 52px; }
  .expert-card { padding: 32px 28px 38px; }
  .expert-card h3 { font-size: 19px; line-height: 26px; margin-bottom: 22px; }
}

@media (max-width: 480px) {
  .team-hero-media > img { border-radius: 18px; }
  .team-badge {
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border-radius: 13px;
  }
  .team-badge-media { width: 38px; height: 38px; border-radius: 10px; }
  .team-badge-media svg { width: 20px; height: 20px; }
  .team-badge strong { font-size: 14px; }
  .team-badge small { font-size: 11px; }
  .team-badge-experience { top: 10px; left: -8px; }
  .team-badge-clients { bottom: 10px; right: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .developer-card:hover,
  .developer-card:focus-visible,
  .expert-card:hover,
  .expert-card:focus-visible {
    transform: none;
  }
}
