@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-serif-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-serif-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-serif-700-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;
}

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

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/pt-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/pt-sans-400-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;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-sans-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/pt-sans-700-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 {
  color-scheme: dark;
  --bg: #0e0c0b;
  --surface: #181513;
  --line: #302a26;
  --text: #f3eee8;
  --muted: #b3a99f;
  --faint: #8f857c;
  --accent: #c98b5e;
  --accent-hover: #dba47c;
  --on-accent: #150e09;
  --selection: rgba(201, 139, 94, 0.34);
  --sans: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "PT Serif", Georgia, "Times New Roman", serif;
  --display-stretch: normal;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 54px;
  line-height: 1.08;
}

.top .brand__name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.top .brand__sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav,
.lang,
.top__call {
  font-weight: 400;
}

a.btn {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.compare-list {
  max-width: 520px;
}

.hero__panel::after {
  background: linear-gradient(to top, rgba(14, 12, 11, 0.5), rgba(14, 12, 11, 0));
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 2px solid var(--bg);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--faint);
}

@media (max-width: 1279px) {
  h1 {
    font-size: 48px;
  }
}

@media (max-width: 1099px) {
  h1 {
    font-size: 42px;
  }
}

@media (max-width: 759px) {
  h1 {
    font-size: 31px;
    line-height: 1.1;
  }

  .top .brand__name {
    font-size: 18px;
  }

  .top .brand__sub {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0.28em;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 27px;
  }

  .top .brand__name {
    letter-spacing: 0.06em;
  }

  .top .brand__sub {
    letter-spacing: 0.2em;
  }

  .top__end {
    gap: 4px;
  }

  .lang a {
    padding: 8px 4px;
  }
}

.picker--works .picker__media img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--surface);
}

@media (max-width: 759px) {
  .picker,
  .picker--services,
  .picker--services .picker__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .picker--services .picker__media {
    margin-inline: auto;
  }
}
