/* 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;
}

@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  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;
}
:root {
  --font-main: 'Manrope', sans-serif;
  --page-bg: var(--dark);
  --text-color: var(--white);
  --font-size: 16px;
  --line-height: 140%;
  --container: 375px;
  --container-padding: 35px;
  --dark: #2c2421;
  --dark--second: #181818;
  --white: #fff;
  --white-10: rgba(255, 255, 255, 0.1);
  --white-40: rgba(255, 255, 255, 0.4);
  --light: #f9f1e6;
  --light-10: rgba(249, 241, 230, 0.1);
  --light-40: rgba(249, 241, 230, 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: 50px;
  height: 50px;
  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: rgba(0, 0, 0, 0.05);
  transition: opacity 0.4s ease;
}
.icon-doted.is-active::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  z-index: 1;
  opacity: 1;
}

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

/* 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 {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px 28px;
  margin-top: 10px;
}
.sub-menu__item:not(:last-child) {
  border-bottom: 1px solid var(--light-10);
}
.sub-menu__link {
  display: inline-flex;
  align-items: center;
  height: 60px;
  color: var(--light);
  padding-block: 18px;
  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 {
  position: relative;
}
.section__img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
}
.section__img::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  bottom: -2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #2c2421 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, #2c2421 100%);
}
.section__logo {
  margin-bottom: 65px;
}
@media (max-width: 1024px) {
  .section__logo {
    margin-bottom: 65px;
  }
}
.section__inner {
  position: relative;
  z-index: 2;
  padding-top: 740px;
}
@media (max-width: 1440px) {
  .section__inner {
    padding-top: 500px;
  }
}
@media (max-width: 1024px) {
  .section__inner {
    padding-top: 800px;
  }
}
@media (max-width: 900px) {
  .section__inner {
    padding-top: 640px;
  }
}
@media (max-width: 768px) {
  .section__inner {
    padding-top: 600px;
  }
}
@media (max-width: 430px) {
  .section__inner {
    padding-top: 400px;
  }
}
@media (max-width: 414px) {
  .section__inner {
    padding-top: 390px;
  }
}
@media (max-width: 412px) {
  .section__inner {
    padding-top: 387px;
  }
}
@media (max-width: 390px) {
  .section__inner {
    padding-top: 370px;
  }
}
@media (max-width: 375px) {
  .section__inner {
    padding-top: 360px;
  }
}
@media (max-width: 360px) {
  .section__inner {
    padding-top: 345px;
  }
}
@media (min-width: 1921px) {
  .section__inner {
    padding-top: 950px;
  }
}
@media (min-width: 2561px) {
  .section__inner {
    padding-top: 1400px;
  }
}
.section__title {
  font-weight: 700;
  font-size: 39px;
  line-height: 110%;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -0.08em;
}
.section__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 575.98px) {
  .section__text {
    margin-bottom: 36px;
  }
}
.section__subtitle {
  font-size: 18px;
  line-height: 130%;
}
.section__descr {
  color: var(--light-40);
}
.section__links {
  display: flex;
  flex-direction: column;
  margin-bottom: 70px;
}
.section__links li {
  margin-top: 10px;
}
.section__links a {
  width: 100%;
}

.collaboration {
  position: relative;
  z-index: 2;
}
.collaboration__title {
  font-size: 32px;
  line-height: 110%;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}
.collaboration__descr {
  color: var(--light-40);
  margin-bottom: 44px;
}
.collaboration__links {
  margin-bottom: 66px;
}
.collaboration__item-link {
  padding-block: 4px;
  border-bottom: 1px solid var(--white-10);
}
.collaboration__item-link:first-child {
  border-top: 1px solid var(--white-10);
}

.author__inner {
  background-color: var(--dark--second);
  padding: 32px;
}
.author__title {
  font-size: 18px;
  line-height: 130%;
  margin-bottom: 18px;
}
.author__descr {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white-40);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 40px;
}
.author__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.author__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.author__link svg {
  transition: transform 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .author__link:hover svg {
    transform: translateX(5px);
  }
}

.lang {
  padding: 80px 0 40px;
}
.lang__list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang__item {
  position: relative;
}
.lang__item:not(:last-child) {
  padding-right: 24px;
}
.lang__item:not(:last-child)::after {
  content: '';
  display: block;
  position: absolute;
  width: 3px;
  height: 3px;
  top: 50%;
  right: 12px;
  background-color: var(--white);
  border-radius: 100%;
  transform: translateY(-50%);
}
.lang__btn {
  color: var(--white);
  opacity: 0.5;
  transition: opacity var(--transition);
}
.lang__btn.active {
  opacity: 1;
  cursor: auto;
}
@media (any-hover: hover) {
  .lang__btn:hover {
    opacity: 0.6;
  }
}

.footer {
  font-size: 14px;
  text-align: center;
}
.footer__top {
  border-bottom: 1px dashed var(--white-10);
}
@media (max-width: 575.98px) {
  .footer__top {
    margin-inline: 30px;
  }
}
.footer__copyright {
  color: var(--white-40);
  line-height: 143%;
  padding: 40px 0 50px;
}
