/* =============================================
   ШАПКА
   ============================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-ivory);
  padding: 4px 0;
  box-shadow: 0px 2px 2px 0px #00000040;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo { display: block; flex-shrink: 0; }
.header__logo img { display: block; height: 83px; width: auto; }

.header__nav { width: 100%; }
.header__nav-list { display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap; }
.header__nav-list a { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--graphite); }
.header__nav-list a:hover { color: var(--corporate-blue); }

.header__actions { display: flex; align-items: center; gap: 90px; flex-shrink: 0; font-family: var(--font-heading); font-weight: 600; font-size: 20px; line-height: 30px; }
.header__phone { color: var(--deep-navy); white-space: nowrap; }
.header__phone:hover { color: var(--corporate-blue); }
.header__btn { width: 183px; }

.header__phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ
   ============================================ */

.mobile-nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 200;
  background: var(--warm-ivory);
  display: flex;
max-height: 100dvh;
  flex-direction: column;
  padding: 10px 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav__inner { display: flex; flex-direction: column; flex: 1; }

.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--soft-sand); }
.mobile-nav__top .header__logo img { height: 65px; }

.mobile-nav__close { width: 44px; height: 44px; position: relative; }


.mobile-nav__list { display: flex; flex-direction: column; margin-top: 35px; }
.mobile-nav__list li { border-bottom: 1px solid var(--deep-navy); }
.mobile-nav__list a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: var(--deep-navy);
}

.mobile-nav__list li:first-child a {
  padding-top: 0;
}

.mobile-nav__list li:last-child a {
  padding-bottom: 0;
  border-bottom: 0;
}


.mobile-nav__bottom {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav__phone { color: var(--graphite); margin-bottom: 10px; }
.mobile-nav__btn { height: 52px; width: 100%; }

@media (max-width: 1280px) {
  .header__actions {
    gap: 20px;
  }
}

@media (max-width: 1080px) {
  .header {
    padding: 10px 0;
    box-shadow: none;
  }

  .header__logo img {
    height: 65px;
  }

  .header__nav,
  .header__phone,
  .header__btn { display: none; }
  .header__burger { display: block; }
  .header__phone-icon { display: flex; }
  .header__actions { gap: 12px; }
}
