@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-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: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/oswald-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;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 35px;
  background: #fff;
}
.top-nav-left {
  display: flex;
  gap: 22px;
  align-items: baseline;
}
.top-nav-left a {
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
}
.top-nav-left .arrow {
  width: 16px;
  height: 16px;
  margin-left: 3px;
  display: inline-block;
  vertical-align: middle;
}

.nav-dropdown { position: static; }
.nav-dropdown > a { cursor: pointer; padding-bottom: 20px; margin-bottom: -20px; }
.nav-dropdown:hover > a { color: #8e8e8e; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;

  margin-left: -32px;
  min-width: 340px;
  background: #fff;
  padding: 26px 0 30px;
  white-space: nowrap;
  z-index: 200;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 100%);
  background: rgba(0, 0, 0, 0.22);
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.nav-dropdown:hover::after { opacity: 1; visibility: visible; }

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block;
  padding: 12px 32px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #000;
  text-decoration: none;
}
.nav-dropdown-menu a:hover { color: #8e8e8e; }
.top-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.top-nav-center a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.top-nav-center img {
  height: 32px;
  width: auto;
}
.top-nav-right {
  display: flex;
  gap: 22px;
  align-items: baseline;
}
.top-nav-right a {
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
}

.nav-cta-mobile {
  display: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  flex-shrink: 0;
}
.mobile-menu-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  cursor: pointer;
}
.mobile-menu-close svg { width: 24px; height: 24px; display: block; }

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 24px 0 44px;
}
.mobile-menu-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  line-height: 1.1;
  padding: 19px 30px;
}
.mobile-menu-links > a:not(.mobile-menu-cta)::after {
  content: '';
  flex-shrink: 0;
  margin-left: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #000;
  border-top: 1.5px solid #000;
  transform: rotate(45deg);
}
.mobile-menu-links > a:active { background: #f4f4f4; }
.mobile-menu-links a.mobile-menu-cta {
  justify-content: center;
  margin: 28px 30px 4px;
  padding: 18px 24px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1;
}
.mobile-menu-links a.mobile-menu-cta:active { background: #1a1a1a; }

.sub-nav {
  background: #f5f5f7;
  padding: 16px 30px;
  text-align: center;
}
.sub-nav a {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #333;
  text-decoration: none;
}
.sub-nav a:hover {
  color: #000;
}
.sub-nav .dot {
  color: #aaa;
  margin: 0 10px;
  font-size: 7px;
  vertical-align: middle;
}

.sub-nav-wrap { position: relative; }
.sub-nav-arrow { display: none; }

.divider-line {
  width: 100%;
  height: 1px;
  background: #ddd;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 40px;
  border-top: 1px solid #ddd;
}
.footer-links {
  display: flex;
  gap: 25px;
}
.footer-links a {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
}
.footer-links a:hover {
  opacity: 0.6;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-social a {
  color: #000;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 0.5;
}
.footer-brand {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
}

.copyright {
  text-align: center;
  padding: 15px 40px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #666;
  background: #f5f5f7;
}

.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 300;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #000;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  transition: opacity .35s ease, transform .35s ease, background .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: #1a1a1a; }
.scroll-top.is-visible:hover { transform: translateY(-4px); }
.scroll-top svg { width: 20px; height: 20px; display: block; }

@media (min-width: 901px) {
  .mobile-menu { display: none; }
}

@media (max-width: 900px) {
  .top-nav { padding: 14px 20px; }
  .nav-toggle { display: flex; }
  .top-nav-left,
  .top-nav-right { display: none; }
  .nav-cta-mobile { display: inline-block; }
  .sub-nav {
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 20px;
  }
  .sub-nav::-webkit-scrollbar { display: none; }
  .sub-nav { scrollbar-width: none; }
  .sub-nav a { font-size: 10px; }
  .sub-nav .dot { margin: 0 8px; }
  .sub-nav-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    width: 46px;
    padding: 0;
    border: 0;
    cursor: pointer;
    color: #000;
  }
  .sub-nav-arrow svg { width: 16px; height: 16px; }
  .sub-nav-arrow[hidden] { display: none; }
  .sub-nav-arrow.prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 12px;
    background: linear-gradient(to right, #f5f5f7 50%, rgba(245, 245, 247, 0));
  }
  .sub-nav-arrow.next {
    right: 0;
    justify-content: flex-end;
    padding-right: 12px;
    background: linear-gradient(to left, #f5f5f7 50%, rgba(245, 245, 247, 0));
  }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 25px 10px; }
  .scroll-top { right: 18px; bottom: 18px; width: 44px; height: 44px; }
}
