/* Base */
html {
  box-sizing: border-box;
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  min-height: 100%;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  outline: transparent;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

button {
  padding: 0;
  background: none;
  cursor: pointer;
  outline: transparent;
}

address,
cite {
  font-style: normal;
}

legend {
  display: table;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
}
legend + * {
  clear: both;
}

fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Nohemi';
  font-display: swap;
  src: url('../fonts/Nohemi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
:root {
  --font-main: 'Manrope', sans-serif;
  --font-second: 'Nohemi', sans-serif;
  --page-bg: var(--dark);
  --text-color: var(--white);
  --font-size: 18px;
  --line-height: 130%;
  --container: 375px;
  --container-padding: 35px;
  --dark: #070d10;
  --dark-8: rgba(7, 13, 16, 0.08);
  --white: #fff;
  --white-4: rgba(255, 255, 255, 0.04);
  --white-7: rgba(255, 255, 255, 0.07);
  --white-9: rgba(255, 255, 255, 0.09);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-40: rgba(255, 255, 255, 0.4);
  --transition: 0.2s ease;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.no-scroll {
  overflow-y: hidden !important;
}

.container {
  margin-inline: auto;
  padding-inline: var(--container-padding);
  max-width: var(--container);
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  background-color: var(--page-bg);
  color: var(--text-color);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.main {
  flex-grow: 1;
}

.lock {
  overflow: hidden;
}

.icon-doted {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border-radius: 100%;
}
.icon-doted svg {
  z-index: 2;
  fill: currentColor;
}
.icon-doted::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  z-index: 1;
  opacity: 0;
  background-color: var(--dark-8);
  transition: opacity 0.4s ease;
}
.icon-doted.is-active::before {
  opacity: 1;
}

.title {
  font-family: var(--font-second);
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  color: var(--white);
  letter-spacing: -0.04em;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white-40);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  width: 100%;
  font-size: 18px;
  color: var(--dark);
  letter-spacing: -0.05em;
}
.btn svg {
  transition: transform 0.3s ease-in-out;
}
.btn--primary {
  color: var(--dark);
  background-color: var(--white);
  padding: 12px 4px 12px 36px;
  border-radius: 100px;
}
@media (any-hover: hover) {
  .btn--primary:hover .icon-doted::before {
    opacity: 1;
  }
}
.btn--second {
  height: 75px;
  color: var(--white);
}
@media (any-hover: hover) {
  .btn--second:hover svg {
    transform: translateX(5px);
  }
}

.social-container {
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: 35px;
}
@media only screen and (min-width: 361px) and (max-width: 534px) {
  .social-container {
    padding-left: calc(26px + (100vw - 360px) * 0.54);
  }
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.social__item:last-child {
  padding-right: 35px;
}
@media only screen and (min-width: 361px) and (max-width: 534px) {
  .social__item:last-child {
    padding-right: calc(26px + (100vw - 360px) * 0.54);
  }
}
.social__link {
  width: 67px;
  height: 67px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  color: var(--white);
  background-color: var(--white-7);
  transition: background-color var(--transition);
}
.social__link svg {
  fill: currentColor;
}
@media (any-hover: hover) {
  .social__link:hover {
    background-color: var(--white-9);
  }
}

/* Blocks */
.sub-menu {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.sub-menu.is-open {
  opacity: 1;
  max-height: 400px;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.sub-menu__list {
  --borderWidth: 1px;
  --borderGradient: linear-gradient(
    -42deg,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0.3) 100%
  );
  --borderGradient2: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.3) 100%
  );
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 24px 35px;
  margin-top: 16px;
  border-radius: 32px;
}
.sub-menu__list::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: var(--borderWidth);
  background-image: var(--borderGradient);
  border-radius: inherit;
  mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
}
.sub-menu__list::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: var(--borderWidth);
  background-image: var(--borderGradient2);
  border-radius: inherit;
  mask: conic-gradient(#000 0 0) content-box exclude, conic-gradient(#000 0 0);
}
.sub-menu__item:not(:first-child) {
  padding-top: 8px;
}
.sub-menu__item:not(:last-child) {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--white-10);
}
.sub-menu__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 60px;
  color: var(--white);
  cursor: pointer;
}
.sub-menu__link svg {
  fill: currentColor;
}
.sub-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.section {
  margin-bottom: 80px;
  overflow: hidden;
}
.section__img {
  position: relative;
  margin-bottom: 43px;
}
@media (max-width: 575.98px) {
  .section__img {
    transform: translateY(-110px);
    margin-bottom: -67px;
  }
}
.section__img::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  bottom: -1px;
  height: 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #070d10 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, #070d10 100%);
}
@media (min-width: 1440px) {
  .section__img::before {
    height: 80%;
  }
}
@media (min-width: 431px) {
  .section__img img {
    width: 100%;
  }
}
.section__title {
  margin-bottom: 20px;
}
.section__descr {
  margin-bottom: 40px;
}
.section__subtitle {
  font-size: 18px;
  line-height: 130%;
}
.section__links {
  display: flex;
  flex-direction: column;
}
.section__links > li:not(:first-child) {
  margin-top: 16px;
}
.section__links a {
  width: 100%;
}

.collaboration {
  margin-bottom: 78px;
}
.collaboration__title {
  margin-bottom: 20px;
}
.collaboration__descr {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: 30px;
}
.collaboration__links-item a {
  border: 1px solid var(--white-10);
  border-radius: 100px;
  height: 65px;
  padding: 20px 36px;
}

.contacts {
  margin-bottom: 80px;
}

.footer {
  font-size: 14px;
  text-align: center;
}
.footer__copyright {
  color: var(--white-40);
  line-height: 143%;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 575.98px) {
  .footer__copyright {
    max-width: 305px;
    margin-inline: auto;
  }
}
