:root {
  --top-header-deep: #112018;
  --top-header-ink: #17251d;
  --top-header-muted: #657168;
  --top-header-gold: #c99b3d;
  --top-header-cream: #fbf8f1;
  --top-header-border: rgba(201, 155, 61, 0.28);
}

.topbar-one {
  position: relative;
  z-index: 1031;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0c1712 0%, #1d3427 52%, #101b15 100%);
  font-family: "Manrope", Arial, sans-serif;
}

.topbar-one::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 155, 61, 0.16), transparent);
  opacity: 0.78;
}

.topbar-one .container {
  position: relative;
  z-index: 1;
}

.topbar-one__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding: 5px 0;
}

.topbar-one__info,
.topbar-one__right,
.topbar-one__links,
.topbar-one__social,
.topbar-one__info__item {
  display: flex;
  align-items: center;
}

.topbar-one__info {
  flex-wrap: wrap;
  gap: 8px 18px;
  min-width: 0;
  margin: 0;
}

.topbar-one__info__item {
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.topbar-one__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  color: #f0c76b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.topbar-one a,
.topbar-one address {
  max-width: 360px;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.topbar-one a:hover,
.topbar-one a:focus {
  color: #f0c76b;
}

.topbar-one__right {
  flex: 0 0 auto;
  gap: 10px;
}

.topbar-one__links {
  display: flex;
  gap: 6px;
}

.topbar-one__links a {
  padding: 1px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.topbar-one__links a:hover,
.topbar-one__links a:focus,
.topbar-one__links a.current {
  border-color: var(--top-header-border);
  background: rgba(255, 255, 255, 0.09);
}

.topbar-one__social {
  gap: 8px;
}

.topbar-one__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
}

.topbar-one__social a:hover,
.topbar-one__social a:focus {
  border-color: rgba(240, 199, 107, 0.66);
  background: rgba(240, 199, 107, 0.16);
}

#header {
  position: relative;
  z-index: 1030;
  font-family: "Manrope", Arial, sans-serif;
}

#header .primary-menu {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  z-index: 1030;
  margin-top: 0 !important;
  border-bottom: 1px solid rgba(23, 37, 29, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(18, 31, 24, 0.08);
}

#header .primary-menu > .container {
  position: relative;
  gap: 28px;
  min-height: 62px;
}

#header .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 170px;
  width: 170px;
  min-width: 170px;
  /* height: 50px; */
}

#header .logo img {
  display: block;
  width: 170px;
  max-width: 100%;
  height: auto;
  margin-top: 18px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  transition: max-height 0.25s ease;
}

#header .navbar-collapse {
  align-items: center;
  align-self: stretch;
  justify-content: flex-end !important;
}

#header .navbar-nav {
  align-items: center;
  gap: 8px;
  height: 100%;
}

#header .primary-menu ul.navbar-nav > li {
  align-items: center;
  height: 100%;
  font-family: "Manrope", Arial, sans-serif;
}

#header .primary-menu ul.navbar-nav > li > a:not(.btn) {
  height: auto;
  min-height: 40px;
  padding: 10px 10px;
  color: var(--top-header-ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

#header .primary-menu ul.navbar-nav > li:hover > a:not(.btn),
#header .primary-menu ul.navbar-nav > li > a.active:not(.btn),
#header .primary-menu ul.navbar-nav > li > a:focus:not(.btn) {
  color: #8a6417;
  background: rgba(201, 155, 61, 0.12);
}

#header .primary-menu ul.navbar-nav > li.dropdown:hover > a::after {
  content: none;
}

#header .primary-menu ul.navbar-nav > li.dropdown .dropdown-menu {
  min-width: 240px;
  padding: 10px;
  border: 1px solid rgba(23, 37, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(18, 31, 24, 0.16);
}

#header .primary-menu ul.navbar-nav > li.dropdown .dropdown-menu li > a:not(.btn) {
  padding: 10px 12px;
  color: var(--top-header-ink);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

#header .primary-menu ul.navbar-nav > li.dropdown .dropdown-menu li:hover > a:not(.btn),
#header .primary-menu ul.navbar-nav > li.dropdown .dropdown-menu li a.active:not(.btn) {
  margin-left: 0;
  color: #8a6417;
  background: var(--top-header-cream);
}

#header .primary-menu.sticky-on {
  position: fixed;
  top: 0;
  z-index: 1032;
  border-bottom-color: rgba(23, 37, 29, 0.1) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 18px 42px rgba(18, 31, 24, 0.13);
}

#header .primary-menu.sticky-on > .container {
  min-height: 58px;
}

#header .primary-menu.sticky-on .logo img {
  max-height: 40px;
}

#header .primary-menu.sticky-on ul.navbar-nav > li > a:not(.btn) {
  min-height: 38px;
}

#header .header-quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(117, 81, 18, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #c99b3d 0%, #9b7130 100%);
  box-shadow: 0 12px 26px rgba(155, 113, 48, 0.22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#header .header-quote-link i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

#header .header-quote-link:hover,
#header .header-quote-link:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d6aa4d 0%, #7d5a24 100%);
  box-shadow: 0 16px 32px rgba(155, 113, 48, 0.28);
  color: #fff;
}

#header .header-quote-link:hover i,
#header .header-quote-link:focus i {
  transform: translateX(3px);
}

#header .header-quote-link--desktop {
  flex: 0 0 auto;
}

#header .header-quote-nav {
  display: none !important;
}

.main-header {
  position: relative;
  z-index: 1030;
  clear: both;
  font-family: "Manrope", Arial, sans-serif;
}

.main-header__navbar {
  padding: 0;
  border-bottom: 1px solid rgba(23, 37, 29, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(18, 31, 24, 0.09);
}

.main-header__navbar > .container {
  position: relative;
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 74px;
}

.main-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 170px;
  width: 170px;
  min-width: 170px;
  height: 54px;
}

.main-header__brand img {
  display: block;
  width: 170px;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.main-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.main-header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.main-menu__list {
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu__list > li {
  position: relative;
}

.main-menu__list .nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--top-header-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-menu__list .nav-link:hover,
.main-menu__list .nav-link:focus,
.main-menu__list .dropdown.show > .nav-link {
  color: #8a6417;
  background: rgba(201, 155, 61, 0.12);
}

.main-header .dropdown-toggle::after {
  margin-left: 7px;
  color: currentColor;
}

.main-header .dropdown-menu {
  min-width: 240px;
  padding: 10px;
  border: 1px solid rgba(23, 37, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(18, 31, 24, 0.16);
}

.main-header .dropdown-item {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--top-header-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.main-header .dropdown-item:hover,
.main-header .dropdown-item:focus,
.main-header .dropdown-item.active {
  color: #8a6417;
  background: var(--top-header-cream);
}

.main-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(117, 81, 18, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #c99b3d 0%, #a67522 100%);
  box-shadow: 0 12px 26px rgba(166, 117, 34, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.main-header__btn:hover,
.main-header__btn:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d6aa4d 0%, #8f641b 100%);
  box-shadow: 0 16px 32px rgba(166, 117, 34, 0.28);
  color: #fff;
}

.main-header__quote-mobile,
.main-header .show-mobile {
  display: none;
}

.main-header__toggler {
  position: relative;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(23, 37, 29, 0.12);
  border-radius: 50%;
  background: var(--top-header-cream);
}

.main-header__toggler span {
  position: absolute;
  left: 11px;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--top-header-ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, width 0.2s ease;
}

.main-header__toggler span:nth-child(1) {
  top: 13px;
}

.main-header__toggler span:nth-child(2) {
  top: 21px;
  width: 18px;
}

.main-header__toggler span:nth-child(3) {
  top: 29px;
}

.main-header__toggler.show span:nth-child(1),
.main-header__toggler[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.main-header__toggler.show span:nth-child(2),
.main-header__toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.main-header__toggler.show span:nth-child(3),
.main-header__toggler[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (min-width: 1200px) {
  .main-header .navbar-collapse {
    display: flex !important;
  }

  .main-header .dropdown-menu {
    top: calc(100% + 8px);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .main-header .dropdown:hover > .dropdown-menu,
  .main-header .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 1199.98px) {
  .topbar-one address {
    max-width: 260px;
  }

  #header .primary-menu > .container {
    gap: 14px;
  }

  #header .primary-menu ul.navbar-nav > li > a:not(.btn) {
    padding: 10px 8px;
    font-size: 12.5px;
  }

  #header .header-quote-link--desktop {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .main-header__inner {
    min-height: 66px;
    gap: 16px;
  }

  .main-header__brand {
    flex-basis: 150px;
    width: 150px;
    min-width: 150px;
    height: 48px;
  }

  .main-header__brand img {
    width: 150px;
    max-height: 42px;
  }

  .main-header__right {
    flex: 0 0 auto;
  }

  .main-header__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: 12px;
    z-index: 1034;
    max-height: calc(100vh - 150px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(23, 37, 29, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 58px rgba(18, 31, 24, 0.16);
  }

  .main-menu__list {
    align-items: stretch;
    gap: 4px;
  }

  .main-menu__list .nav-link {
    justify-content: space-between;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
    text-align: left;
    white-space: normal;
  }

  .main-header .dropdown-menu {
    position: static !important;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 6px;
    border: 0;
    background: var(--top-header-cream);
    box-shadow: none;
    transform: none !important;
  }

  .main-header__btn--desktop {
    display: none;
  }

  .main-header__quote-mobile,
  .main-header .show-mobile {
    display: block;
  }

  .main-header__quote-mobile {
    padding: 8px 0 2px;
  }

  .main-header__quote-mobile .main-header__btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .topbar-one__inner {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .topbar-one__info,
  .topbar-one__right {
    justify-content: center;
    width: 100%;
  }

  #header .primary-menu > .container,
  #header .primary-menu.sticky-on > .container {
    min-height: 62px;
    padding-right: 16px;
    padding-left: 16px;
  }

  #header .logo {
    flex-basis: 150px;
    width: 150px;
    min-width: 150px;
    height: 46px;
  }

  #header .logo img,
  #header .primary-menu.sticky-on .logo img {
    width: 150px;
    height: auto;
    max-height: 40px;
  }

  #header .navbar-toggler {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(23, 37, 29, 0.12);
    border-radius: 50%;
    background: var(--top-header-cream);
  }

  #header .navbar-toggler span {
    left: 11px;
    width: 22px;
    background: var(--top-header-ink);
  }

  #header .navbar-toggler span:nth-child(1) {
    top: 13px;
  }

  #header .navbar-toggler span:nth-child(2) {
    top: 21px;
    width: 18px;
  }

  #header .navbar-toggler span:nth-child(3) {
    top: 29px;
  }

  #header .navbar-toggler:hover span {
    width: 22px;
  }

  #header .navbar-toggler:hover span:nth-child(2) {
    width: 18px;
  }

  #header .navbar-toggler.show span:nth-child(1) {
    top: 13px;
    left: 12px;
  }

  #header .navbar-toggler.show span:nth-child(3) {
    top: 29px;
    left: 12px;
  }

  #header .navbar-collapse {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: 12px;
    max-height: calc(100vh - 150px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(23, 37, 29, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 58px rgba(18, 31, 24, 0.16);
  }

  #header .header-quote-link--desktop {
    display: none;
  }

  #header .navbar-nav {
    align-items: stretch;
    gap: 4px;
  }

  #header .header-quote-nav {
    display: block !important;
    width: 100%;
    padding-top: 6px;
  }

  #header .header-quote-nav .header-quote-link {
    width: 100%;
    min-height: 46px;
  }

  #header .primary-menu ul.navbar-nav > li {
    display: block;
    width: 100%;
  }

  #header .primary-menu ul.navbar-nav > li > a:not(.btn),
  #header .primary-menu.sticky-on ul.navbar-nav > li > a:not(.btn) {
    justify-content: space-between;
    height: auto;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

  #header .primary-menu ul.navbar-nav > li.dropdown .dropdown-menu {
    min-width: auto;
    margin-top: 4px;
    padding: 6px;
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .topbar-one__info {
    gap: 8px;
  }

  .topbar-one__info__item {
    justify-content: center;
    width: 100%;
    display: none;
    font-size: 12px;
  }

  .topbar-one a,
  .topbar-one address {
    max-width: calc(100vw - 82px);
    white-space: normal;
  }

  .topbar-one__right {
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar-one__links a {
    padding: 5px 9px;
    font-size: 12px;
  }

  .topbar-one__social a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  #header .primary-menu > .container,
  #header .primary-menu.sticky-on > .container {
    min-height: 58px;
  }

  #header .logo {
    flex-basis: 132px;
    width: 132px;
    min-width: 132px;
    height: 42px;
  }

  #header .logo img,
  #header .primary-menu.sticky-on .logo img {
    width: 132px;
    height: auto;
    max-height: 66px;
  }

  .main-header__inner {
    min-height: 60px;
    gap: 12px;
  }

  .main-header__brand {
    flex-basis: 132px;
    width: 132px;
    min-width: 132px;
    height: 42px;
  }

  .main-header__brand img {
    width: 132px;
    max-height: 36px;
  }

  .main-header__nav {
    right: 10px;
    left: 10px;
    max-height: calc(100vh - 128px);
    padding: 10px;
  }
}
