@charset "utf-8";
.header {
  width: 100%;
  height: 72px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background: #fafafa;
  padding-block: 8px 10px;
}

.header__inner {
  width: 97%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__wrapper {
  display: none;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

@media screen and (min-width: 1000px) {
  .header__wrapper {
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .header__wrapper {
    display: flex;
    gap: 100px;
  }
}

@media screen and (min-width: 1366px) {
  .header__wrapper {
    gap: 165px;
  }
}

.header__list {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media screen and (min-width: 1200px) {
  .header__list {
    gap: 28px;
  }
}

.header__item p {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(20 / 14);
}

.header__button-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 58px;
}

.header__contact-button {
  color: var(--color-white);
}

.header__contact-button p {
  white-space: nowrap;
  color: var(--color-white);
  padding: 13px 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(20 / 14);
  border: 1px solid #b9a679;
  background: #b9a679;
  transition: color 0.3s ease, background 0.3s ease;
  border-radius: 5px;
}

.header__contact-button:hover p {
  color: #b9a679;
  background: var(--color-white);
}

.header__contact-button p::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 11px;
  background: url(../images/mail-icon.svg) no-repeat center center/contain;
  transition: background 0.3s ease;
}

.header__contact-button:hover p::before {
  background: url(../images/mail-icon-g.svg) no-repeat center center/contain;
}

.header__open-button {
  position: fixed;
  top: 13px;
  right: 20px;
  z-index: 300;
  width: 46px;
  height: 46px;
  background: #505050;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.header__open-button.is-open .header__open-bar:nth-of-type(1) {
  transform: rotate(45deg) translate(4px, 3px);
}

.header__open-button.is-open .header__open-bar:nth-of-type(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__open-button.is-open .header__open-bar:nth-of-type(3) {
  transform: rotate(-45deg) translate(4px, -3px);
}

.header__open-bar {
  width: 16px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 3px;
  position: relative;
}

.header__drawer {
  position: fixed;
  overflow-y: scroll;
  z-index: 250;
  top: 0;
  right: 0;
  padding: 152px 15px;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background: var(--color-white);
  text-align: center;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.8s ease;
}

.header__drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.8s ease;
}

.header__drawer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

.header__drawer-item p {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: calc(80 / 1000 * 1em);
  line-height: calc(20 / 14);
}
