.services-section {
  position: relative;
  min-height: auto;
  padding-bottom: clamp(48px, 4.5vw, 76px);
  overflow: hidden;
  background: transparent;
  color: var(--color-text);
}

.services-section__overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.services-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: clamp(36px, 4vw, 72px);
  min-height: auto;
  align-items: start;
  padding-top: clamp(72px, 7vw, 112px);
  padding-bottom: 24px;
}

.services-section__intro {
  width: min(420px, 100%);
  align-self: start;
  padding-top: 0;
  transform: none;
}

.services-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.services-section__eyebrow span {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}

.services-section__title {
  margin: 0;
  color: #f4f7f2;
  font-family: var(--font-ui, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(50px, 4.2vw, 76px);
  font-weight: 720;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow:
    0 8px 30px rgba(0, 0, 0, 0.62),
    0 0 18px rgba(255, 255, 255, 0.045);
  text-transform: uppercase;
}

.services-section__lead {
  max-width: 390px;
  margin: 32px 0 0;
  color: rgba(244, 247, 242, 0.74);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

.services-section__cta {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 0 20px 0 24px;
  border: 1px solid rgba(140, 255, 26, 0.54);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(8, 20, 12, 0.74), rgba(2, 8, 5, 0.62));
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(140, 255, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f4f7f2;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    background 250ms var(--ease-out);
}

.services-section__cta:hover {
  border-color: rgba(140, 255, 26, 0.82);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(140, 255, 26, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.services-section__cta-arrow {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--color-accent);
}

.services-section__cta-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.services-section__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.services-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 32px 24px 26px;
  border: 1px solid rgba(140, 255, 26, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(4, 12, 7, 0.28), rgba(0, 3, 2, 0.14));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(4px);
  color: var(--color-text);
  cursor: default;
  text-decoration: none;
  transition:
    transform 320ms var(--ease-out),
    border-color 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out),
    background 320ms var(--ease-out);
}

.services-card::before {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  content: "";
  opacity: 0.85;
  pointer-events: none;
}

.services-card__content {
  display: flex;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
}

.services-card__title {
  font-family: var(--font-ui, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: flex-start;
  justify-content: center;
  margin: 34px 0 0;
  color: #f4f7f2;
  font-size: clamp(22px, 1.25vw, 26px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-align: center;
  white-space: normal;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.services-card__text {
  min-height: 112px;
  margin: 14px 0 28px;
  color: rgba(244, 247, 242, 0.7);
  font-family: var(--font-ui, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.62;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.68);
}

.services-card__action {
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 0 12px 0 14px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(140, 255, 26, 0.46);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(6, 16, 10, 0.46), rgba(1, 5, 3, 0.28));
  color: var(--color-accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.045em;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(140, 255, 26, 0.045),
    0 10px 26px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(140, 255, 26, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(140, 255, 26, 0.24);
  text-transform: uppercase;
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background 220ms var(--ease-out),
    color 220ms var(--ease-out);
}

.services-card__arrow {
  width: 15px;
  height: 15px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  transition: transform 220ms var(--ease-out);
}

.services-card__arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.services-card:hover {
  border-color: rgba(140, 255, 26, 0.36);
  background:
    linear-gradient(180deg, rgba(8, 20, 12, 0.36), rgba(0, 5, 3, 0.18));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(140, 255, 26, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.services-card__action:hover {
  border-color: rgba(140, 255, 26, 0.74);
  background:
    linear-gradient(180deg, rgba(12, 28, 16, 0.58), rgba(3, 10, 6, 0.38));
  box-shadow:
    0 0 0 1px rgba(140, 255, 26, 0.1),
    0 14px 34px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(140, 255, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.services-card__action:hover .services-card__arrow {
  transform: translateX(2px);
}

.services-card__action:focus-visible {
  outline: 2px solid rgba(140, 255, 26, 0.74);
  outline-offset: 4px;
}

body.service-modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 240ms var(--ease-out),
    visibility 240ms var(--ease-out);
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(140, 255, 26, 0.08), transparent 34%),
    rgba(0, 3, 2, 0.82);
  backdrop-filter: blur(10px);
}

.service-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  max-height: min(82vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(140, 255, 26, 0.26);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 14, 10, 0.94), rgba(1, 4, 3, 0.96));
  color: var(--color-text);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.72),
    0 0 44px rgba(140, 255, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(14px) scale(0.98);
  transition: transform 240ms var(--ease-out);
}

.service-modal__dialog:focus {
  outline: none;
}

.service-modal.is-open .service-modal__dialog {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(140, 255, 26, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(140, 255, 26, 0.14), transparent 34%),
    rgba(3, 10, 6, 0.72);
  color: #f4f7f2;
  cursor: pointer;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(140, 255, 26, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    background 220ms var(--ease-out);
}

.service-modal__close-line {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px rgba(140, 255, 26, 0.32);
}

.service-modal__close-line:first-child {
  transform: rotate(45deg);
}

.service-modal__close-line:last-child {
  transform: rotate(-45deg);
}

.service-modal__close:hover {
  border-color: rgba(140, 255, 26, 0.62);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.5),
    0 0 26px rgba(140, 255, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px) rotate(4deg);
}

.service-modal__close:focus-visible {
  outline: 2px solid rgba(140, 255, 26, 0.76);
  outline-offset: 4px;
}

.service-modal__content {
  max-height: min(82vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(64px, 6vw, 78px) clamp(36px, 5vw, 64px) clamp(28px, 4vw, 54px) clamp(28px, 4vw, 54px);
  scrollbar-color: rgba(140, 255, 26, 0.46) rgba(0, 3, 2, 0.42);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.service-modal__content::-webkit-scrollbar {
  width: 8px;
}

.service-modal__content::-webkit-scrollbar-track {
  margin-block: 18px;
  border-radius: 999px;
  background: rgba(0, 3, 2, 0.42);
}

.service-modal__content::-webkit-scrollbar-thumb {
  border: 2px solid rgba(0, 3, 2, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(140, 255, 26, 0.58), rgba(61, 165, 0, 0.48));
}

.service-modal__content::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(170, 255, 58, 0.74), rgba(82, 205, 0, 0.62));
}

.service-modal__eyebrow {
  margin: 0 0 16px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.service-modal__title {
  max-width: 720px;
  margin: 0;
  color: #f4f7f2;
  font-family: var(--font-ui, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.52);
}

.service-modal__lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(244, 247, 242, 0.78);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.service-modal__content p:not(.service-modal__eyebrow):not(.service-modal__lead):not(.service-modal__result) {
  max-width: 760px;
  color: rgba(244, 247, 242, 0.7);
  font-size: 16px;
  line-height: 1.72;
}

.service-modal__list-block {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(140, 255, 26, 0.18);
  border-radius: 22px;
  background: rgba(140, 255, 26, 0.035);
}

.service-modal__list-block h3 {
  margin: 0 0 18px;
  color: #f4f7f2;
  font-size: 18px;
}

.service-modal__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-modal__list li {
  position: relative;
  padding-left: 18px;
  color: rgba(244, 247, 242, 0.76);
  font-size: 15px;
  line-height: 1.45;
}

.service-modal__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(140, 255, 26, 0.45);
}

.service-modal__result {
  margin-top: 30px;
  color: #f4f7f2;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.team-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 112px) 0 clamp(96px, 9vw, 150px);
  background: transparent;
  color: var(--color-text);
  isolation: isolate;
}

.team-section::before {
  display: none;
  position: absolute;
  inset: 0;
  background: none;
  content: "";
  pointer-events: none;
}

.team-section__inner {
  position: relative;
  z-index: 1;
  width: var(--container-width);
  margin: 0 auto;
}

.team-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.team-section__copy {
  display: grid;
  gap: 0;
  max-width: 760px;
}

.team-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.team-section__eyebrow span {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}

.team-section__title {
  margin: 0;
  color: #f4f7f2;
  font-family: var(--font-ui, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: clamp(46px, 4.2vw, 68px);
  font-weight: 740;
  letter-spacing: 0.005em;
  line-height: 0.96;
  text-shadow:
    0 12px 38px rgba(0, 0, 0, 0.64),
    0 0 22px rgba(255, 255, 255, 0.045);
  text-transform: uppercase;
}

.team-section__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(244, 247, 242, 0.74);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
}

.team-section__accent {
  margin: 16px 0 0;
  color: #f4f7f2;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.48;
}

.team-section__signal {
  display: flex;
  width: min(100%, 360px);
  min-height: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(140, 255, 26, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(140, 255, 26, 0.09), transparent 36%),
    linear-gradient(180deg, rgba(6, 14, 10, 0.54), rgba(1, 5, 3, 0.32));
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  text-align: center;
}

.team-section__signal span,
.team-section__signal strong {
  display: block;
  color: rgba(244, 247, 242, 0.66);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-section__signal strong {
  color: var(--color-accent);
  text-shadow: 0 0 16px rgba(140, 255, 26, 0.24);
}

.team-section__signal-line {
  display: block;
  line-height: 1.1;
  transition:
    transform 250ms ease,
    text-shadow 250ms ease,
    filter 250ms ease,
    opacity 250ms ease;
  will-change: transform, filter;
}

.team-section__signal .team-section__signal-line--green {
  color: #7cff00;
  text-shadow: 0 0 14px rgba(124, 255, 0, 0.18);
}

.team-section__signal .team-section__signal-line--cyan {
  color: #23dfff;
  text-shadow: 0 0 14px rgba(35, 223, 255, 0.16);
}

.team-section__signal .team-section__signal-line--purple {
  color: #b65cff;
  text-shadow: 0 0 14px rgba(182, 92, 255, 0.18);
}

.team-section__signal-line--green {
  animation-delay: 0s;
}

.team-section__signal-line--cyan {
  animation-delay: 180ms;
}

.team-section__signal-line--purple {
  animation-delay: 360ms;
}

@keyframes teamSignalPulse {
  0%,
  100% {
    filter: brightness(1);
    text-shadow: 0 0 10px currentColor;
  }

  50% {
    filter: brightness(1.12);
    text-shadow: 0 0 18px currentColor;
  }
}

@media (hover: hover) and (pointer: fine) {
  .team-section__signal:hover .team-section__signal-line {
    animation-duration: 1.8s;
    animation-iteration-count: infinite;
    animation-name: teamSignalPulse;
    animation-timing-function: ease-in-out;
    opacity: 0.82;
  }

  .team-section__signal .team-section__signal-line:hover {
    filter: brightness(1.18);
    opacity: 1;
    transform: translateY(-1px);
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(48px, 5vw, 72px);
}

.team-card {
  --team-accent: #7cff00;
  --team-accent-soft: rgba(124, 255, 0, 0.14);
  position: relative;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--team-accent) 28%, transparent);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 22%, var(--team-accent-soft), transparent 34%),
    linear-gradient(180deg, rgba(7, 15, 11, 0.62), rgba(1, 4, 3, 0.48));
  box-shadow:
    0 28px 82px rgba(0, 0, 0, 0.42),
    0 0 34px color-mix(in srgb, var(--team-accent) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(6px);
  transition:
    transform 320ms var(--ease-out),
    border-color 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out),
    background 320ms var(--ease-out);
}

.team-card--jex1k {
  --team-accent: #7cff00;
  --team-accent-soft: rgba(124, 255, 0, 0.14);
}

.team-card--lex1k {
  --team-accent: #23dfff;
  --team-accent-soft: rgba(35, 223, 255, 0.14);
}

.team-card--rilaine {
  --team-accent: #b65cff;
  --team-accent-soft: rgba(182, 92, 255, 0.14);
}

.team-card::before {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--team-accent), transparent);
  content: "";
  opacity: 0.9;
  pointer-events: none;
}

.team-card:hover {
  border-color: color-mix(in srgb, var(--team-accent) 48%, transparent);
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--team-accent) 18%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(9, 19, 13, 0.68), rgba(1, 5, 3, 0.54));
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.5),
    0 0 44px color-mix(in srgb, var(--team-accent) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transform: translateY(-4px);
}

.team-card__media {
  position: absolute;
  inset: 34px 28px auto;
  z-index: 1;
  display: flex;
  height: 330px;
  min-height: 0;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.team-card__media::after {
  position: absolute;
  right: -28px;
  bottom: -48px;
  left: -28px;
  z-index: 2;
  height: 170px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(2, 5, 4, 0.94) 72%);
  content: "";
  pointer-events: none;
}

.team-card__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 360px);
  height: 100%;
  max-height: 330px;
  object-fit: contain;
  object-position: center top;
  filter:
    drop-shadow(0 0 30px color-mix(in srgb, var(--team-accent) 24%, transparent))
    drop-shadow(0 30px 38px rgba(0, 0, 0, 0.52));
  transition: transform 320ms var(--ease-out), filter 320ms var(--ease-out);
}

.team-card:hover .team-card__media img {
  filter:
    drop-shadow(0 0 30px color-mix(in srgb, var(--team-accent) 38%, transparent))
    drop-shadow(0 30px 40px rgba(0, 0, 0, 0.54));
  transform: translateY(-4px) scale(1.02);
}

.team-card--rilaine .team-card__media img {
  transform: translateY(-8px) scale(0.98);
}

.team-card--rilaine:hover .team-card__media img {
  transform: translateY(-12px) scale(1);
}

.team-card__content {
  position: relative;
  z-index: 3;
  display: grid;
  flex: 1;
  grid-template-rows: auto auto minmax(104px, auto) auto;
  align-content: start;
  min-height: 0;
  padding-top: 260px;
}

.team-card__role {
  margin: 0 0 6px;
  color: var(--team-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 14px color-mix(in srgb, var(--team-accent) 26%, transparent);
}

.team-card__name {
  position: relative;
  width: 100%;
  height: 56px;
  margin: 0;
  line-height: 0.9;
}

.team-card__name-svg {
  display: block;
  width: min(100%, 220px);
  height: 56px;
  overflow: visible;
}

.team-card__name-svg--wide {
  width: min(100%, 270px);
}

.team-card__name-svg text {
  fill: #fff;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1px;
  font-family: var(--font-display, "Arial Black", Impact, system-ui, sans-serif);
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -3px;
  paint-order: stroke fill;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.team-card__name::after {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: var(--team-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--team-accent) 60%, transparent);
  content: "";
}

.team-card__text {
  max-width: 92%;
  margin: 40px 0 0;
  min-height: 104px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.team-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--team-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--team-accent) 8%, transparent);
  color: rgba(244, 247, 242, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1;
}

.team-card__tag-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  color: var(--team-accent);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--team-accent) 70%, transparent));
}

.team-card__tag-dot circle {
  fill: currentColor;
}

.team-value {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.9fr);
  gap: 28px;
  align-items: center;
  min-height: 132px;
  margin-top: clamp(36px, 4vw, 56px);
  overflow: hidden;
  padding: 22px 28px;
  border: 1px solid rgba(124, 255, 0, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 50%, rgba(124, 255, 0, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(2, 6, 4, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(7px);
}

.team-value__main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.team-value__icon,
.team-value__item-icon {
  display: block;
  flex: 0 0 auto;
  color: #7cff00;
}

.team-value__icon--puzzle {
  width: 92px;
  height: 92px;
  filter:
    drop-shadow(0 0 12px rgba(124, 255, 0, 0.18))
    drop-shadow(0 18px 26px rgba(0, 0, 0, 0.36));
}

.team-value__copy {
  display: grid;
  gap: 6px;
}

.team-value__copy strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.team-value__copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
}

.team-value__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.team-value__item {
  position: relative;
  display: grid;
  min-height: 88px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 8px 22px;
  text-align: center;
  transition:
    background 250ms ease,
    transform 250ms ease;
}

.team-value__item + .team-value__item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.team-value__item-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px rgba(124, 255, 0, 0.22));
  transition: filter 250ms ease;
}

.team-value__item strong {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.team-value__item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.25;
}

.team-value__item:hover {
  background: rgba(124, 255, 0, 0.035);
  transform: translateY(-1px);
}

.team-value__item:hover .team-value__item-icon {
  filter:
    drop-shadow(0 0 16px rgba(124, 255, 0, 0.32))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26));
}

@media (max-width: 1200px) and (min-width: 769px) {
  .services-section__inner {
    grid-template-columns: 1fr;
  }

  .services-section__intro {
    width: min(100%, 520px);
  }

  .services-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 56px;
  }
}
