/* 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 {
  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: 'Oranienbaum';
  font-display: swap;
  src: url('../fonts/Oranienbaum-Regular.woff2') format('woff2');
  font-weight: 400;
  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;
  --font-second: 'Oranienbaum', serif;
  --page-bg: #fefeff;
  --text-color: var(--dark);
  --font-size: 16px;
  --container: 375px;
  --container-padding: 40px;
  --dark: #283141;
  --white: #fff;
  --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);
  font-weight: 500;
}

.main {
  flex-grow: 1;
}

.lock {
  overflow: hidden;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  width: 100%;
  font-size: 16px;
  color: var(--dark);
  letter-spacing: -0.05em;
  background-color: #efefef;
  border-radius: 100px;
  transition: background-color var(--transition);
}
@media (any-hover: hover) {
  .btn:hover {
    background-color: #f4f4f4;
  }
}
.btn--accent {
  background-color: var(--dark);
  color: var(--white);
}
@media (any-hover: hover) {
  .btn--accent:hover {
    background-color: #313d52;
  }
}

.social-container {
  overflow-x: auto;
  scrollbar-width: none;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.social__link {
  width: 75px;
  height: 75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 1px solid rgba(40, 49, 65, 0.1);
  background-color: #fefeff;
  transition: background-color var(--transition), border var(--transition);
}
.social__link svg {
  fill: var(--dark);
}
@media (any-hover: hover) {
  .social__link:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
  }
}

/* Blocks */
@media (min-width: 440px) {
  .section {
    padding-top: 80px;
  }
  .section::before {
    content: '';
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    left: 50%;
    top: 316px;
    z-index: 0;
    width: 393px;
    height: 393px;
    transform: translateX(-50%);
    background-image: url('./../img/decor.svg');
  }
}
.section__img {
  position: relative;
  z-index: 1;
  margin-inline: auto;
}
.section__img::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  bottom: -1px;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
}
@media (min-width: 440px) {
  .section__img {
    max-width: 337px;
    margin-bottom: 98px;
    clip-path: url('#mask-top');
  }
  .section__img::before {
    display: none;
  }
}
.section__img img {
  width: 100%;
}
@media (min-width: 440px) {
  .section__img img {
    clip-path: url('#mask-bottom');
  }
}
.section__mask {
  display: none;
}
@media (min-width: 440px) {
  .section__mask {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  }
}
.section__title {
  font-family: var(--font-second);
  font-weight: 400;
  font-size: 56px;
  line-height: 110%;
  letter-spacing: -0.06em;
  text-align: center;
  margin-bottom: 17px;
}
@media (max-width: 440px) {
  .section__title {
    position: relative;
    z-index: 3;
    transform: translateY(-65px);
    margin-bottom: -48px;
  }
}
.section__link {
  width: 100%;
  display: inline-block;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: -0.06em;
  text-align: center;
  color: rgba(40, 49, 65, 0.4);
  margin-bottom: 28px;
  transition: color var(--transition);
}
@media (any-hover: hover) {
  .section__link:hover {
    color: rgba(40, 49, 65, 0.3);
  }
}
.section__descr {
  max-width: 295px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 40px;
}
.section__links {
  display: flex;
  flex-direction: column;
  row-gap: 13px;
  margin-bottom: 50px;
}

.contacts {
  margin-bottom: 50px;
}

.lang {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang__icon {
  margin-right: 13px;
}
.lang__list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang__item {
  position: relative;
  font-size: 13px;
  padding-inline: 13px;
}
.lang__item::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 30px;
  background-color: rgba(9, 3, 42, 0.23);
}
.lang__btn {
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(40, 49, 65, 0.6);
  transition: color var(--transition);
}
.lang__btn.active {
  color: #000;
  pointer-events: none;
}
@media (any-hover: hover) {
  .lang__btn:not(.active):hover {
    color: rgba(40, 49, 65, 0.5);
  }
}

.footer {
  text-align: center;
}
.footer__lang {
  margin-bottom: 40px;
}
.footer__copyright {
  font-size: 13px;
  letter-spacing: -0.04em;
  color: rgba(40, 49, 65, 0.3);
  margin-bottom: 35px;
}
.footer__decor {
  margin-inline: auto;
}
@media (min-width: 440px) {
  .footer__decor {
    height: 176px;
  }
}
