.gs-contact-topbar {
    background: #fff;
    color: #222;
}

.gs-contact-topbar > div > .row {
    align-items: center;
    flex-wrap: nowrap;
}

.gs-contact-topbar .gs-contact-column {
    flex: 1 1 auto;
    min-width: 0;
}

.gs-contact-topbar .header-languages-layout1 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 24px;
}

.gs-contact-topbar .header-languages-layout1 a {
    color: #4daae9;
}

.gs-contact-topbar .header-languages-layout1 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rt-tophead-contact.gs-tophead-contact {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1.35fr;
    align-items: center;
    width: 100%;
    font-family: inherit;
    line-height: 1.3;
}

.gs-tophead-contact .gs-contact-socials,
.gs-tophead-contact .gs-contact-item,
.gs-tophead-contact .gs-contact-messengers,
.gs-tophead-contact .gs-contact-title {
    display: flex;
    align-items: center;
}

.gs-tophead-contact .gs-contact-socials {
    gap: 18px;
    padding-right: 24px;
}

.gs-tophead-contact .gs-contact-socials a {
    color: #4daae9;
    font-size: 24px;
}

.gs-tophead-contact .gs-contact-item {
    gap: 14px;
    min-width: 0;
    margin: 10px 0;
    padding: 0 20px;
    border-left: 1px solid #e9e9e9;
}

.gs-tophead-contact .gs-contact-online {
    padding-right: 0;
}

.gs-tophead-contact .gs-contact-copy {
    min-width: 0;
}

.gs-tophead-contact .gs-contact-number {
    display: inline-block;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.gs-tophead-contact .gs-contact-caption {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

.gs-tophead-contact .gs-contact-dot {
    margin: 0 3px;
    color: #4daae9;
}

.gs-tophead-contact .gs-contact-call-icon {
    color: #4daae9;
    font-size: 34px;
}

.gs-tophead-contact .gs-contact-call-icon i {
    transform: scaleX(-1);
}

.gs-tophead-contact .gs-contact-socials a,
.gs-tophead-contact .gs-contact-call-icon,
.gs-tophead-contact .gs-contact-messengers a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.gs-tophead-contact .gs-contact-socials a:hover,
.gs-tophead-contact .gs-contact-call-icon:hover,
.gs-tophead-contact .gs-contact-messengers a:hover {
    transform: scale(1.3);
}

.gs-tophead-contact .gs-contact-messengers {
    flex-shrink: 0;
    gap: 12px;
    font-size: 30px;
    line-height: 1;
}

.gs-tophead-contact .gs-contact-viber {
    color: #8f5db7;
}

.gs-tophead-contact .gs-contact-telegram {
    color: #4daae9;
}

.gs-tophead-contact .gs-contact-title {
    flex-wrap: wrap;
    gap: 4px 10px;
}

.gs-tophead-contact .gs-contact-badge {
    padding: 2px 8px;
    border: 1px solid #c6b1da;
    border-radius: 5px;
    color: #8f5db7;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.gs-tophead-contact a:focus-visible {
    outline: 2px solid #4daae9;
    outline-offset: 4px;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .gs-tophead-contact .gs-contact-item { gap: 8px; padding-left: 10px; padding-right: 10px; }
    .gs-tophead-contact .gs-contact-socials { gap: 12px; padding-right: 12px; }
    .gs-tophead-contact .gs-contact-messengers { gap: 8px; font-size: 24px; }
    .gs-tophead-contact .gs-contact-number { font-size: 15px; }
    .gs-tophead-contact .gs-contact-caption { font-size: 11px; }
    .gs-tophead-contact .gs-contact-call-icon { font-size: 28px; }
}

@media (max-width: 1023.98px) {
    .gs-contact-topbar > .container,
    .gs-contact-topbar > .container-fluid {
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .gs-contact-topbar > div > .row {
        flex-wrap: wrap;
        margin-right: 0;
        margin-left: 0;
    }

    .gs-contact-topbar .gs-contact-column {
        flex: 0 0 100%;
        width: 100%;
    }

    .rt-tophead-contact.gs-tophead-contact {
        grid-template-columns: minmax(0, 1fr);
        line-height: 1.2;
        overflow: hidden;
    }

    .gs-tophead-contact .gs-contact-item {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        margin: 0;
        padding: 6px max(12px, calc((100% - 320px) / 2));
        border-left: 0;
        border-bottom: 1px solid #ededed;
    }

    .gs-tophead-contact .gs-contact-online {
        border-bottom: 0;
    }

    .gs-tophead-contact .gs-contact-free {
        order: 0;
    }

    .gs-tophead-contact .gs-contact-item:not(.gs-contact-free) {
        order: 1;
    }

    .gs-tophead-contact .gs-contact-call-icon {
        flex: 0 0 58px;
        text-align: center;
        font-size: 28px;
    }

    .gs-tophead-contact .gs-contact-messengers {
        justify-content: center;
        gap: 10px;
        font-size: 24px;
    }

    .gs-tophead-contact .gs-contact-copy {
        flex: 1;
    }

    .gs-tophead-contact .gs-contact-number {
        font-size: 17px;
    }

    .gs-tophead-contact .gs-contact-caption {
        margin-top: 2px;
        font-size: 12px;
    }

    .gs-tophead-contact .gs-contact-socials {
        order: 2;
        justify-content: center;
        gap: 24px;
        padding: 5px 12px;
        border-top: 1px solid #ededed;
    }

    .gs-tophead-contact .gs-contact-socials a {
        font-size: 22px;
    }

    .gs-contact-topbar .header-languages-layout1 {
        margin-left: auto;
        padding-left: 0;
    }
}

@media (max-width: 479px) {
    .gs-tophead-contact .gs-contact-item { gap: 10px; padding-top: 4px; padding-bottom: 4px; }
    .gs-tophead-contact .gs-contact-call-icon { font-size: 26px; }
    .gs-tophead-contact .gs-contact-number { font-size: 16px; }
    .gs-tophead-contact .gs-contact-caption { font-size: 11px; }
    .gs-tophead-contact .gs-contact-badge { font-size: 10px; padding: 2px 6px; }
}
