.d-none {
  display: none;
}

header {
  position: sticky;
  top: 0;
  padding: 24px 18px;
  background: #ffffff;
  z-index: 49;
}

.header__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: none;
  gap: 22px;
  align-items: center;
}

.nav__item {
  position: relative;
}
.dropdown {
  background: #ffffff;
  left: 0;
  transform: translateX(-40%);
  display: flex;
  gap: 8px;
  position: absolute;
  border-radius: 20px;
  padding-block: 8px;
  width: 205px;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s;
}

.nav__item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.dropdown__item {
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 120%;
  color: #000000;
  font-weight: 400;
  padding: 12px;
}

.dropdown__item:not(:last-child) {
  border-bottom: 1px solid #dbdbdb;
}

.nav__link {
  cursor: pointer;
  color: #000000;
  min-width: 60px;
  font-size: 15px;
  font-weight: 400;
}
.nav__link--wide {
  min-width: 70px;
}
.nav__link--wider {
  min-width: 90px;
}
.nav__link-with-dropdown {
  cursor: default;
}
.nav__link:hover {
  font-weight: bold;
}

.burger__button {
  display: flex;
}

.right__side {
  display: none;
  flex-direction: row;
  gap: 32px;
}
.contacts__wrapper {
  display: flex;
  flex-direction: row;
  gap: 12px;
  height: fit-content s;
}

.contact__block {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.contact__block img {
  width: 24px;
  height: auto;
}
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  font-size: 15px;
  line-height: 19px;
}
.contact a {
  font-weight: 700;
  transition: all 0.3s ease;
}
.contact a:hover {
  color: rgb(221, 60, 60);
}
.contact span {
  font-weight: 500;
}
.request__button {
  display: none;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 15px;
  font-weight: 500;
  color: #ffffff;
  background: #f90000;
  border-radius: 20px;
}

#overlay {
  position: fixed;
  display: none;
  inset: 0;
  background: #000000;
  opacity: 0.5;
  z-index: 999;
}

#overlay.active {
  display: block;
}

.hidden {
  display: none !important;
}

#burger {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
  right: -100%;
  top: 0;
  height: 100%;
  width: 53%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: right 0.3s ease;
}

#burger.active {
  right: 0;
}

.nav__wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
#logo-mobile {
  width: 124px;
}

.nav--mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}

.nav__dropdown--mobile {
  display: flex;
  flex-direction: column;
}

button[id$="Btn"],
a[id$="Btn"] {
  color: #000000;
  width: 100%;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

ul[id$="Dropdown"] {
  overflow: hidden;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

img[id$="Icon"] {
  transition: all 0.3s;
}

.nav__dropdownlist--mobile {
  width: 100%;
  text-align: start;
  font-size: 14px;
  line-height: 120%;
  font-weight: 400;
  color: #0f0f0fa3;
  padding: 8px 0;
}

.nav__dropdownlist--mobile a {
  color: inherit;
}

.right__side--mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts__wrapper--mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: fit-content;
}

.contact__wrapper--mobile {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #f90000;
}

.contact__wrapper--mobile img {
  width: 24px;
  height: auto;
}

.contact--mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact--mobile a {
  font-size: 12px;
  line-height: 125%;
  font-weight: 700;
}

.contact--mobile p {
  font-size: 12px;
  line-height: 125%;
  font-weight: 700;
}

.request__button--mobile {
  padding: 8px 24px;
  font-size: 14px;
  line-height: 125%;
  font-weight: 500;
  color: #ffffff;
  background: #f90000;
  border-radius: 16px;
}

.rotate-180 {
  transform: rotate(180deg);
}

.header__fixed-questions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  position: fixed;
  bottom: 18px;
  right: 18px;
  background-color: #f90000;
  border-radius: 999px;
  z-index: 5;
}

@media (min-width: 768px) {
  header {
    padding-block: 32px;
  }
}

@media (min-width: 1440px) {
  .nav {
    display: flex;
  }
  .burger__button {
    display: none;
  }
  .right__side {
    display: flex;
  }
  .request__button {
    display: block;
  }
  .header__fixed-questions {
    display: none;
  }
}
