@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --silver-0: #f5f6f6;
  --silver-1: #e6e7e8;
  --silver-2: #d0d3d5;
  --silver-3: #afb4b8;
  --silver-4: #7c8388;
  --graphite: #25282a;
  --black: #080909;
  --white: #ffffff;
  --line: rgba(8, 9, 9, 0.18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--silver-1);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--black);
  background: var(--silver-1);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.44), transparent 36%),
    linear-gradient(180deg, var(--silver-0), var(--silver-2));
}

::selection {
  color: var(--white);
  background: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-top: 6px solid var(--black);
  border-bottom: 1px solid rgba(8, 9, 9, 0.24);
  background: rgba(238, 239, 239, 0.94);
  backdrop-filter: blur(18px) saturate(0.7);
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 52px;
}

.logo {
  display: flex;
  width: 260px;
  align-items: center;
  transition: opacity 180ms ease;
}

.logo:active {
  opacity: 0.62;
}

.logo-image {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(1.5) brightness(0.72);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 4vw, 62px);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  transition: opacity 180ms ease;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu a:active {
  opacity: 0.56;
}

.hero {
  min-height: clamp(620px, calc(100svh - 110px), 760px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.82) 0%, rgba(213, 216, 218, 0.95) 52%, rgba(170, 175, 179, 0.92) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero::before {
  content: "ТЕХНОПРОЦЕСС";
  position: absolute;
  z-index: -2;
  top: 48%;
  left: 50%;
  width: max-content;
  max-width: none;
  color: var(--black);
  font-size: clamp(92px, 13.5vw, 220px);
  line-height: 0.74;
  font-weight: 800;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(232, 234, 235, 0.96) 0 28%, transparent 47% 76%, rgba(222, 224, 225, 0.72) 100%),
    repeating-linear-gradient(90deg, transparent 0 123px, rgba(8, 9, 9, 0.065) 123px 124px);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  right: 8%;
  bottom: 0;
  width: clamp(330px, 38vw, 560px);
  height: 93%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(201, 204, 206, 0.98));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}

.hero-visual--aziz img {
  transform: scale(0.87);
  transform-origin: center bottom;
}

.hero-grid {
  min-height: inherit;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: end;
  padding: 80px 0 72px;
}

.hero-grid > div {
  padding: 28px 30px 30px 0;
  background: linear-gradient(90deg, rgba(232, 234, 235, 0.98), rgba(232, 234, 235, 0.8) 78%, transparent);
}

.eyebrow,
.label,
.footer-label {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before,
.label::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 750;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--black);
  border-radius: 2px;
  color: var(--black);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  transition: color 220ms ease, background-color 220ms ease, transform 150ms var(--ease-out);
}

.btn.light,
.btn.dark {
  color: var(--white);
  background: var(--black);
}

.btn:hover {
  color: var(--white);
  background: var(--black);
}

.btn.light:hover,
.btn.dark:hover {
  color: var(--black);
  background: var(--silver-0);
}

.btn:active {
  transform: scale(0.97);
}

.page-main {
  min-height: calc(100svh - var(--header-height));
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(236, 238, 239, 0.8);
}

.section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.page-main > .section:first-child {
  padding-top: 86px;
}

.section.soft {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.82), rgba(197, 201, 204, 0.9)),
    var(--silver-2);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 58px;
}

.section-head h1,
h2 {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.02;
  font-weight: 730;
}

.section-copy {
  margin: 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.68;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--black);
  background: var(--black);
}

.card {
  min-height: 300px;
  position: relative;
  display: flex;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: var(--black);
  transition: color 240ms ease, background-color 240ms ease;
}

.card:last-child {
  border-right: 0;
}

.card::before {
  content: "0" counter(service);
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
}

.cards {
  counter-reset: service;
}

.card {
  counter-increment: service;
}

.card > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3,
.person-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.12;
  font-weight: 700;
}

.card p {
  margin: 92px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
  transition: color 240ms ease;
}

.card:hover {
  color: var(--black);
  background: var(--silver-2);
}

.card:hover p {
  color: var(--graphite);
}

.card:active {
  background: var(--silver-3);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.photo {
  overflow: hidden;
  background: var(--silver-3);
}

.split .photo {
  min-height: 500px;
  border: 1px solid rgba(8, 9, 9, 0.28);
}

.split .photo img {
  min-height: 500px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: transform 700ms var(--ease-out), filter 300ms ease;
}

.split .photo:hover img {
  transform: scale(1.025);
  filter: grayscale(0.75) contrast(1.03);
}

.statement {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.38;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.metric {
  min-height: 210px;
  padding: 30px 34px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 44px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.8;
  font-weight: 740;
}

.metric span {
  display: block;
  max-width: 300px;
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.55;
}

.team-hero {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.9), rgba(204, 207, 209, 0.94)),
    var(--silver-2);
}

.team-hero-inner {
  min-height: 590px;
  position: relative;
}

.team-kicker {
  position: absolute;
  z-index: 5;
  top: 54px;
  left: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
}

.team-kicker::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 16px;
  background: var(--black);
}

.team-word {
  position: absolute;
  z-index: 1;
  top: 188px;
  left: 50%;
  width: max-content;
  margin: 0;
  font-size: clamp(128px, 14.4vw, 224px);
  line-height: 0.72;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.team-hero-people {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 0;
  left: 23%;
  height: 520px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0;
  pointer-events: none;
}

.team-hero-person {
  height: 100%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.team-hero-person img {
  width: 100%;
  height: 92%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
}

.team-hero-person--aziz {
  z-index: 2;
}

.team-hero-person--sergey {
  z-index: 3;
}

.team-hero-person--sergey img {
  height: 78%;
  object-fit: cover;
  object-position: center top;
}

.team-hero-person--marat {
  z-index: 2;
}

.team-intro {
  color: var(--white);
  background: var(--black);
}

.team-intro-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-intro p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

.team-section {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.84), rgba(199, 203, 206, 0.94)),
    var(--silver-2);
}

.team-section .wrap {
  width: min(1240px, calc(100% - 64px));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px 34px;
}

.person-card {
  min-width: 0;
  position: relative;
}

.portrait {
  width: 100%;
  aspect-ratio: 312 / 420;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 9, 0.18);
  background: var(--silver-2);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.04);
  transition: transform 480ms var(--ease-out), filter 260ms ease;
}

.person-card:hover .portrait img {
  transform: scale(1.025);
  filter: grayscale(0.1) contrast(1.02);
}

.person-card > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0 0;
  border-top: 1px solid var(--black);
}

.person-card h3 {
  font-size: 18px;
}

.person-card p {
  max-width: 138px;
  margin: 1px 0 0;
  color: var(--graphite);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-layout h1 {
  margin-top: 14px;
  font-size: clamp(54px, 7.5vw, 108px);
  line-height: 0.9;
}

.contact-layout > div:first-child .section-copy {
  margin-top: 28px;
}

.smart-links {
  display: grid;
  gap: 12px;
}

.smart-link {
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--black);
  color: var(--white);
  background: var(--black);
  transition: color 240ms ease, background-color 240ms ease, transform 160ms var(--ease-out);
}

.smart-link:nth-child(2) {
  color: var(--black);
  background: var(--silver-0);
}

.smart-link:hover {
  color: var(--black);
  background: var(--silver-2);
}

.smart-link:active {
  transform: scale(0.985);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.smart-link strong {
  max-width: 360px;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.08;
}

.smart-link small {
  font-size: 12px;
}

.contact-card {
  padding: 34px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.legal-layout {
  width: min(940px, calc(100% - 64px));
}

.legal-layout > h1 {
  max-width: 930px;
  margin-top: 16px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}

.legal-meta {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.6;
}

.legal-card {
  margin-top: 56px;
  padding: 48px 0 0;
  border-top: 2px solid var(--black);
}

.legal-card h2 {
  margin: 48px 0 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.75;
}

.legal-card a {
  border-bottom: 1px solid currentColor;
}

.legal-card ul {
  padding-left: 24px;
}

.footer {
  padding: 66px 0 70px;
  color: var(--white);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.footer-label {
  color: rgba(255, 255, 255, 0.54);
}

.footer-mail {
  display: inline-block;
  margin-top: 20px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-mail:hover {
  color: var(--silver-3);
}

.footer-brand {
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  justify-items: start;
  gap: 0;
}

.footer-links .footer-label {
  margin-bottom: 20px;
}

.footer-links a {
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
  transition: color 180ms ease, padding-left 220ms var(--ease-out);
}

.footer-links a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-links a:hover {
  padding-left: 8px;
  color: var(--white);
}

@media (hover: none), (pointer: coarse) {
  .card:hover {
    color: var(--white);
    background: var(--black);
  }

  .card:hover p {
    color: rgba(255, 255, 255, 0.68);
  }

  .split .photo:hover img,
  .person-card:hover .portrait img {
    transform: none;
    filter: grayscale(1) contrast(1.04);
  }
}

@media (max-width: 980px) {
  .wrap,
  .team-section .wrap,
  .legal-layout {
    width: min(100% - 40px, 760px);
  }

  .hero::before {
    font-size: clamp(84px, 15vw, 140px);
  }

  .hero-visual {
    right: -2%;
    width: 48vw;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 58%) 1fr;
  }

  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout > * {
    min-width: 0;
  }

  .section-head,
  .split,
  .contact-layout {
    gap: 38px;
  }

  .cards,
  .metrics {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .card:last-child {
    border-bottom: 0;
  }

  .card p {
    max-width: 560px;
    margin-top: 52px;
  }

  .metric {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .metric strong {
    margin-bottom: 24px;
  }

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

  .team-hero {
    min-height: 540px;
  }

  .team-hero-inner {
    min-height: 540px;
  }

  .team-word {
    top: 190px;
    font-size: 15vw;
  }

  .team-hero-people {
    right: -3%;
    left: 10%;
    height: 470px;
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 116px;
  }

  .topbar {
    border-top-width: 4px;
  }

  .nav {
    grid-template-columns: 1fr;
    grid-template-rows: 58px 42px;
    gap: 0;
  }

  .logo {
    width: 190px;
    margin: 0 auto;
  }

  .menu {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(8, 9, 9, 0.14);
    font-size: 10px;
  }

  .menu a {
    min-height: 42px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::before {
    top: 27%;
    font-size: 22vw;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(232, 234, 235, 0.42) 0 42%, rgba(218, 221, 222, 0.98) 72%),
      repeating-linear-gradient(90deg, transparent 0 71px, rgba(8, 9, 9, 0.06) 71px 72px);
  }

  .hero-visual {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: min(84vw, 430px);
    height: 55%;
    margin: 0 auto;
    transform: none;
  }

  .hero-visual--aziz img {
    transform: scale(0.84);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 335px 0 36px;
  }

  .hero-grid > div {
    padding: 24px 0 0;
    background: linear-gradient(180deg, transparent, rgba(218, 221, 222, 0.98) 18%);
  }

  h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .lead {
    font-size: 14px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    min-width: 0;
    padding: 0 14px;
    font-size: 9px;
  }

  .section,
  .page-main > .section:first-child {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h1,
  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section-copy {
    font-size: 15px;
  }

  .split .photo,
  .split .photo img {
    min-height: 360px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .team-hero,
  .team-hero-inner {
    min-height: 500px;
  }

  .team-kicker {
    top: 34px;
    right: 0;
    font-size: 9px;
  }

  .team-word {
    top: 156px;
    font-size: 20vw;
  }

  .team-hero-people {
    right: 0;
    bottom: 0;
    left: 0;
    height: 410px;
  }

  .team-hero-person {
    margin: 0;
  }

  .team-hero-person img {
    height: 86%;
  }

  .team-hero-person--sergey img {
    height: 70%;
  }

  .team-intro-inner {
    min-height: 0;
    padding: 24px 0;
  }

  .team-intro p {
    font-size: 12px;
    text-align: left;
  }

  .portrait {
    max-height: none;
  }

  .contact-layout h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .smart-link {
    min-height: 176px;
    padding: 24px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .footer {
    padding: 52px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-mail {
    font-size: clamp(22px, 7vw, 34px);
  }
}

@media (max-width: 420px) {
  .wrap,
  .team-section .wrap,
  .legal-layout {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 660px;
  }

  .hero-grid {
    padding-top: 315px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .card,
  .metric,
  .contact-card {
    padding-right: 22px;
    padding-left: 22px;
  }

  .person-card > div:last-child {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .person-card p {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
