/* Sticky header — появляется при скролле ниже первого экрана.
   Логотип слева, телефон справа (подчёркнутый, кликабельный). */

.sticky-header {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #141211;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .35s;
  pointer-events: none;
}

.sticky-header.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s linear 0s;
}

.sticky-header__container {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 1441px) { .sticky-header__container { max-width: 1200px; } }

.sticky-header__logo { display: inline-flex; align-items: center; line-height: 0; }
.sticky-header__logo img {
  height: 42px;
  width: auto;
  max-width: 240px;
  display: block;
  opacity: .92;
  transition: opacity .2s;
}
.sticky-header__logo:hover img { opacity: 1; }

.sticky-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'TTMedium', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.75);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: opacity .2s, text-decoration-color .2s;
}
.sticky-header__phone:hover { opacity: .9; text-decoration-color: #fff; }
.sticky-header__phone-icon { display: inline-flex; }
.sticky-header__phone-icon svg { display: block; }

@media (max-width: 991.98px) {
  .sticky-header__container { height: 48px; padding: 0 14px; gap: 10px; }
  .sticky-header__logo img { height: 38px; max-width: 180px; }
  .sticky-header__phone { font-size: 16px; }
  .sticky-header__phone-icon svg { width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  .sticky-header__container { padding: 0 10px; }
  .sticky-header__logo img { height: 32px; max-width: 140px; }
  .sticky-header__phone { font-size: 15px; gap: 6px; }
  .sticky-header__phone-icon svg { width: 18px; height: 18px; }
}
