body.mobile-nav-open {
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 5, 5, .52);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

body.mobile-nav-open::after {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.home-nav.solid {
  background: var(--b850);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 2px 24px rgba(45, 10, 10, .35);
  backdrop-filter: blur(12px);
}

.nav-in {
  position: relative;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(260px, auto) 1fr auto;
  align-items: center;
  column-gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
}

.nav-emblem {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  filter: drop-shadow(0 5px 12px rgba(30, 8, 8, .25));
}

.nav-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav-txt {
  display: flex;
  flex-direction: column;
  gap: 7px;
  line-height: normal;
}

.nav-name {
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.08;
}

.nav-sub {
  color: rgba(255, 255, 255, .6);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.15;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-self: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer-head,
.nav-link-icon,
.nav-auth-item {
  display: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .74);
  font-size: 1rem;
  font-weight: 800;
  padding: 9px 0 14px;
  transition: color .18s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: #ffd65c;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.btn-nv-ghost,
.btn-nv-solid {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.btn-nv-ghost {
  background: rgba(33, 8, 8, .18);
  border: 1.5px solid rgba(255, 255, 255, .32);
  color: rgba(255, 255, 255, .92);
}

.btn-nv-solid {
  background: var(--white);
  color: var(--b800);
}

.btn-nv-solid:hover,
.btn-nv-ghost:hover {
  transform: translateY(-1px);
}

.btn-nv-solid:active,
.btn-nv-ghost:active {
  transform: translateY(0);
}

.nav-ham {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.nav-ham:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

.nav-ham:active {
  transform: translateY(0);
}

footer {
  padding: 56px 24px 28px;
  background: #650d12;
  color: rgba(255, 255, 255, .66);
}

.ft-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(300px, 1.35fr) minmax(140px, .62fr) minmax(140px, .62fr) minmax(280px, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.ft-grid > div {
  min-width: 0;
}

.ft-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ft-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, .08);
}

.ft-name {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
}

.ft-sub {
  margin-bottom: 18px;
  color: var(--b300);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: 1.7px;
  line-height: 1.45;
  text-transform: uppercase;
}

.ft-desc {
  margin: 0 0 20px;
  max-width: 430px;
  color: rgba(255, 255, 255, .64);
  font-size: .86rem;
  line-height: 1.75;
}

.ft-socials {
  display: flex;
  gap: 10px;
}

.ft-soc {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .72);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.ft-soc:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  color: var(--white);
  transform: translateY(-1px);
}

.ft-col-h {
  margin: 7px 0 18px;
  color: rgba(255, 255, 255, .9);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: 1.7px;
  line-height: 1.3;
  text-transform: uppercase;
}

.ft-links {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.ft-links a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .64);
  font-size: .86rem;
  line-height: 1.45;
  transition: color .18s ease, transform .18s ease;
}

.ft-links a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.ft-links i {
  width: 18px;
  min-width: 18px;
  margin-top: .22em;
  display: inline-flex;
  justify-content: center;
  color: var(--b300);
  font-size: .82rem;
  line-height: 1;
}

.ft-links .fa-chevron-right {
  width: 12px;
  min-width: 12px;
  margin-top: .42em;
  font-size: .68rem;
}

.ft-btm {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 22px;
  font-size: .72rem;
}

.ft-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, .62);
}

.ft-note {
  opacity: .72;
  text-align: right;
}

@media (max-width: 1280px) {
  .nav-in {
    grid-template-columns: minmax(240px, auto) 1fr;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(74vw, 430px);
    min-width: 310px;
    height: 100vh;
    padding: 58px 34px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    background: linear-gradient(180deg, #5b0d12 0%, #300608 100%);
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px 0 0 24px;
    box-shadow: -30px 0 70px rgba(0, 0, 0, .36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .42s cubic-bezier(.22, .61, .36, 1), opacity .26s ease, visibility .26s ease;
  }

  .nav-ham {
    display: flex;
  }

  .home-nav.is-open .nav-logo,
  .home-nav.is-open .nav-right {
    opacity: 0;
    pointer-events: none;
  }

  .home-nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
  }

  .nav-drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 900;
  }

  .nav-drawer-logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
  }

  .nav-drawer-close {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
  }

  .nav-link-icon {
    width: 38px;
    display: inline-flex;
    color: rgba(255, 255, 255, .82);
    font-size: 1.4rem;
  }

  .nav-links a {
    width: 100%;
    gap: 22px;
    min-height: 64px;
    padding: 16px 20px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.24rem;
  }

  .nav-links a::after {
    display: none;
  }

  .home-nav.is-open .nav-links a:hover,
  .home-nav.is-open .nav-links a.active {
    background: rgba(255, 255, 255, .09);
  }
}

@media (max-width: 1024px) {
  .ft-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 34px 42px;
  }
}

@media (max-width: 768px) {
  .nav-in {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 1.2rem;
  }

  .nav-emblem {
    width: 58px;
    height: 58px;
  }

  .nav-name {
    font-size: 1.08rem;
  }

  .nav-sub {
    font-size: .6rem;
  }

  .btn-nv-ghost,
  .btn-nv-solid {
    display: none;
  }

  .nav-auth-item {
    display: list-item;
  }

  footer {
    padding: 44px 18px 24px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }

  .ft-col-h {
    margin-bottom: 14px;
  }

  .ft-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-note {
    text-align: left;
  }

  .ft-btm {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .nav-links {
    width: min(82vw, 310px);
    min-width: 0;
    padding: 42px 24px 22px;
    border-radius: 18px 0 0 18px;
  }

  .nav-txt {
    display: none;
  }
}
