:root {
  --green: #0e3524;
  --gold: #f0a629;
  --red: #b63a2b;
  --cream: #fff6e6;
  --white: #fffdf8;
  --ink: #1f1712;
  --muted: #806852;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(15, 34, 24, .18);
  --container: min(1190px, calc(100% - 56px));
}

.top-promo {
  position: sticky;
  top: 0;
  z-index: 10000;
  display: grid;
  min-height: 37px;
  place-items: center;
  padding: 10px 16px;
  background: var(--gold);
  color: #261606;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 37px;
  z-index: 9999;
  background: rgba(14, 53, 36, .94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 69px;
}


.top-promo,
.site-header,
body > #wrapper > .top-promo,
body > #wrapper > .site-header {
  isolation: isolate;
}

body .site-header:first-child,
body :not(.top-promo) + .site-header,
body > #wrapper > .site-header:first-child,
body > #wrapper > :not(.top-promo) + .site-header {
  top: 0;
}

.admin-bar body .site-header:first-child,
.admin-bar body :not(.top-promo) + .site-header,
.admin-bar body > #wrapper > .site-header:first-child,
.admin-bar body > #wrapper > :not(.top-promo) + .site-header {
  top: 32px;
}

.nav-wrap {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.menu-toggle,
.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.menu-toggle {
  display: none;
}

.menu-toggle:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: rgba(240, 166, 41, .13);
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .18));
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-name,
.footer-brand strong {
  font-family: "Noto Serif", "Lora", serif;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-name {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 253, 248, .85);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transition: right .25s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #231306;
  box-shadow: 0 14px 34px rgba(240, 166, 41, .25);
}

.btn-primary:hover {
  background: #ffb947;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  background: rgba(13, 31, 23, .68);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-drawer {
  width: min(360px, 88vw);
  height: 100%;
  padding: 24px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform .28s ease;
}

.mobile-panel.is-open .mobile-drawer {
  transform: translateX(0);
}

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

.drawer-nav {
  display: grid;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.drawer-nav a {
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.drawer-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 253, 248, .75);
  line-height: 1.7;
}

.site-footer {
  padding: 72px 0 34px;
  background: var(--green);
  color: var(--white);
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(0, .7fr));
  gap: 46px;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong {
  color: var(--white);
  font-size: 24px;
}

.footer-brand p,
.footer-note,
.footer-bottom {
  color: rgba(255, 253, 248, .76);
  line-height: 1.7;
}

.footer-hotline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-hotline a,
.footer-pill {
  min-height: 38px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-hotline a {
  background: var(--gold);
  color: #1f1308;
  text-decoration: none;
}

.footer-pill {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-col h3 {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 253, 248, .76);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  width: var(--container);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: grid;
    flex: 0 0 44px;
    align-self: center;
    justify-self: start;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    margin: 0;
    padding: 0;
    line-height: 1;
    transform: none;
  }

  .main-nav {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .brand,
  .brand-text {
    min-width: 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-name {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  .nav-actions {
    min-width: 44px;
    justify-content: flex-end;
  }

  .nav-actions .icon-btn {
    flex: 0 0 44px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1190px);
  }

  .top-promo {
    display: block;
    font-size: 11px;
    min-height: 0;
    padding: 10px 16px;
    line-height: 1.35;
  }

  .site-header {
    top: 34px;
  }

  .admin-bar .site-header {
    top: 80px;
  }

  .nav-wrap {
    min-height: 86px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .brand {
    justify-content: flex-start;
    gap: 6px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-kicker {
    display: none;
  }

  .brand-name {
    font-size: 22px;
  }

  .nav-actions .btn {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom,
  .footer-hotline {
    display: grid;
  }

  .footer-hotline a,
  .footer-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .nav-wrap {
    width: calc(100% - 20px);
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .menu-toggle,
  .icon-btn,
  .nav-actions .icon-btn {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 18px;
  }
}
