html,
body {
  font-family: "Montserrat", serif;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
}

.header {
  padding: 0;
}

.robotics-page {
  width: 100%;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.robotics {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 10px 70px 10px;
  overflow: hidden;
  background-color: #02050a;
}

/* Фон всей секции */

.robotics__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.robotics__bg {
  position: absolute;
  top: 11px;
  left: -10px;
  inset: 0;
  display: block;
  width: 76%;
  height: 86%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.robotics__header,
.robotics__content,
.robotics__cards {
  position: relative;
  z-index: 2;
}

/* Шапка */

.robotics__header {
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
}

.robotics__logo {
  width: 172px;
  height: 20px;
}

.robotics__logo-main {
  text-transform: uppercase;
}

.robotics__logo-accent {
  color: #00b4ff;
}

.robotics__nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.robotics__nav-link {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -2%;
  text-decoration: none;
}

.ntr__nav-link {
  width: 138px;
  height: auto;
}

/* Заголовок */

.robotics__content {
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding-top: clamp(90px, 12vh, 140px);
}

.robotics__heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.robotics__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -4%;
}

.robotics__subtitle {
  color: #ffffff;
  font-size: clamp(22px, 2.3vw, 38px);
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -4%;
}

/* Карточки */

.robotics__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: auto auto 0;
  padding-top: 80px;
}

.robotics__card {
  position: relative;
  box-sizing: border-box;
  min-height: 320px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(128, 153, 201, 0.32);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(30, 50, 87, 0.58),
    rgba(3, 8, 17, 0.85)
  );
  box-shadow: inset 0 0 35px rgba(100, 125, 181, 0.08);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(14px);
}

.robotics__card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -65px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.44;
  filter: blur(72px);
  pointer-events: none;
}

.robotics__card-icon,
.robotics__card-title,
.robotics__card-description {
  position: relative;
  z-index: 1;
}

.robotics__card-icon {
  margin-bottom: 23px;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

.robotics__card-title {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 600;
  line-height: 1.12;
}

.robotics__card-description {
  margin: 24px 0 0;
  color: #ffffff;
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 100%;
}

/* Цвета карточек */

.robotics__card--green .robotics__card-icon,
.robotics__card--green .robotics__card-title {
  color: #58ffc4;
}

.robotics__card--green::after {
  background-color: #00d7a3;
}

.robotics__card--yellow .robotics__card-icon,
.robotics__card--yellow .robotics__card-title {
  color: #ffe88c;
}

.robotics__card--yellow::after {
  background-color: #ffd54a;
}

.robotics__card--purple .robotics__card-icon,
.robotics__card--purple .robotics__card-title {
  color: #d99bff;
}

.robotics__card--purple::after {
  background-color: #b35cff;
}

.robotics__card--blue .robotics__card-icon,
.robotics__card--blue .robotics__card-title {
  color: #00c8ff;
}

.robotics__card--blue::after {
  background-color: #087bff;
}

.robotics__icon {
  margin-left: -17px;
}

/* Секция Process Check */
.process-check {
  padding: 110px 10px 110px 10px;
}

.process-check__container {
  max-width: 847px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.process-check__title {
  text-align: center;
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -2%;
  color: #031d3b;
}

.process-check__button {
  width: 200px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 8px;
  background-color: #00b4ff;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .robotics__bg {
    width: 100%;
    height: 100%;
  }
  .robotics {
    padding-inline: 30px;
  }

  .robotics__content {
    padding-top: 110px;
  }

  .robotics__heading {
    width: 53%;
  }

  .robotics__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .robotics__card {
    border-radius: 9px;
  }

  .robotics__card-title {
    font-size: 26px;
  }

  .robotics__card-description {
    font-size: 18px;
  }

  .robotics__card-title br,
  .robotics__card-description br {
    display: none;
  }
}

@media (max-width: 680px) {
  .robotics {
    min-height: 100svh;
    padding: 24px 20px 30px;
  }

  .robotics__background::after {
    background: rgba(0, 0, 0, 0.48);
  }

  .robotics__header {
    padding: 40px 0;
  }

  .robotics__bg {
    object-position: 32% center;
  }

  .robotics__logo {
    font-size: 17px;
  }

  .robotics__nav {
    gap: 18px;
  }

  .robotics__nav-link {
    font-size: 14px;
  }

  .robotics__content {
    justify-content: flex-start;
    padding-top: 160px;
  }

  .robotics__heading {
    width: 100%;
  }

  .robotics__title {
    font-size: clamp(38px, 12vw, 56px);
    letter-spacing: -1px;
  }

  .robotics__subtitle {
    font-size: 23px;
  }

  .robotics__cards {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding-top: 100px;
  }

  .robotics__card {
    min-height: 220px;
    border-radius: 9px;
  }
}

@media (max-width: 460px) {
  .robotics__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .ntr__nav-link {
    margin-left: -10px;
  }
}
