/* Social icons: the brand glyph itself, grey by default, its brand colour on hover. */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
}

.social-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    background: none;
    color: #9aa1ad;
    font-size: 1.5rem;
    line-height: 1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.social-links__item i {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-links__item:hover i,
.social-links__item:focus-visible i {
    transform: scale(1.2);
}

.social-links__item:focus-visible {
    outline: 2px solid #14161a;
    outline-offset: 3px;
    border-radius: 4px;
}

.social-links__item--instagram:hover,
.social-links__item--instagram:focus-visible {
    color: #dc2743;                 /* fallback */
}
.social-links__item--instagram:hover i,
.social-links__item--instagram:focus-visible i {
    background-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links__item--telegram:hover,
.social-links__item--telegram:focus-visible {
    color: #229ed9;
}

.social-links__item--whatsapp:hover,
.social-links__item--whatsapp:focus-visible {
    color: #25d366;
}

/* Placeholder (no URL set yet): not a real link. */
.social-links__item.is-placeholder {
    cursor: default;
}

/* Header: sits between the navigation and the phone number.
   Compact on narrow desktops (the menu must never wrap), roomy from 1200px. */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        white-space: nowrap;
    }
    .social-links--header {
        gap: 0.3rem;
        margin-left: 0.5rem;
        margin-right: 0.25rem;
    }
    .social-links--header .social-links__item {
        padding: 0.1rem;
        font-size: 1.05rem;
    }
}
@media (min-width: 1200px) {
    .social-links--header {
        gap: 0.45rem;
        margin-left: 1.5rem;
        margin-right: 0.75rem;
    }
    .social-links--header .social-links__item {
        padding: 0.15rem;
        font-size: 1.2rem;
    }
}

/* Inside the mobile menu */
.social-links--offcanvas {
    justify-content: center;
    margin-top: 1.5rem;
}

/* Header logo: larger */
.navbar-brand img {
    height: 3.1rem;
}
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 2.4rem;
    }
}

/* Mobile menu: logo instead of the "Menu" title, items centred */
.offcanvas-header--brand {
    position: relative;
    justify-content: center;
}
.offcanvas-header--brand .btn-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    margin: 0;
    transform: translateY(-50%);
}
.offcanvas-brand img {
    display: block;
    height: 2.8rem;
    width: auto;
}
@media (max-width: 991.98px) {
    #offcanvas-navbar .offcanvas-body {
        text-align: center;
    }
    #offcanvas-navbar .navbar-nav {
        align-items: center;
    }
    #offcanvas-navbar .dropdown-menu {
        text-align: center;
    }
}
