.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
}

.header__inner {
    display: grid;
    grid-template-columns: 285px 1fr 250px;
    gap: 28px;
    align-items: center;
    min-height: 185px;
    padding-block: 16px;
}

.header__logo {
    display: block;
}

.header__logo img {
    width: 285px;
}

.header__nav .menu {
    display: flex;
    gap: clamp(18px, 2.4vw, 34px);
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header__nav a {
    position: relative;
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header__nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--teal);
    content: "";
    opacity: 0;
    transform: scaleX(0.2);
    transition: 0.2s ease;
}

.header__nav a:hover::after,
.header__nav .current-menu-item a::after {
    opacity: 1;
    transform: scaleX(1);
}

.header__contacts {
    display: grid;
    gap: 7px;
    justify-items: center;
}

.header__contacts .btn {
    width: 100%;
    margin-bottom: 2px;
}

.contact-line {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    font-size: 0.93rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-line__icon {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    color: var(--teal);
}

.ui-icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.messenger-list,
.social-list {
    display: flex;
    gap: 11px;
    align-items: center;
}

.header__contacts .messenger-list {
    justify-content: center;
    margin-top: 5px;
}

.messenger,
.social {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.messenger:hover,
.messenger:focus-visible,
.social:hover,
.social:focus-visible {
    filter: brightness(1.06);
    box-shadow: 0 7px 16px rgba(31, 37, 51, 0.2);
    transform: translateY(-3px) scale(1.04);
}

.brand-icon {
    display: block;
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.brand-icon--telegram {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

.brand-icon--viber {
    width: 21px;
    height: 21px;
}

.brand-icon--facebook {
    width: 11px;
    height: 20px;
}

.messenger--telegram {
    background: #0088cc;
}

.messenger--viber {
    background: rgb(115, 96, 242);
}

.messenger--whatsapp {
    background: #2cb742;
}

.social--facebook {
    background: #1262ae;
}

.social--instagram {
    background: linear-gradient(135deg, #7643d8, #ff3269, #ff9a22);
}

.social--youtube {
    background: #df1515;
}

.mobile-menu-toggle {
    display: none;
}
