.fc-main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.fc-main-header * {
    box-sizing: border-box;
}

.fc-main-header-inner {
    width: min(1320px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    position: relative;
}

.fc-main-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 clamp(180px, 15vw, 220px);
    text-decoration: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 0 clamp(-52px, -3vw, -24px);
    overflow: visible;
}

.fc-main-logo-img {
    display: block;
    width: clamp(175px, 14vw, 210px);
    height: auto;
    max-height: 64px;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fc-main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2vw, 32px);
    flex: 1 1 auto;
    min-width: 0;
}

.fc-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.5vw, 24px);
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
}

.fc-main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #0f172a;
    text-decoration: none;
    font-size: clamp(13px, 0.76vw, 14px);
    font-weight: 850;
    line-height: 1;
    padding: 10px 0;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.fc-main-nav a:hover,
.fc-main-nav a.active {
    color: #005bb2;
}

.fc-main-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
}

.fc-social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.44),
        0 12px 26px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-social-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.54),
        0 18px 34px rgba(15, 23, 42, 0.16);
}

.fc-social-btn svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: currentColor;
}

.fc-main-header .fc-social-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0b5fce 100%) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
}

.fc-main-header .fc-social-instagram {
    background:
        radial-gradient(circle at 30% 110%, #ffdc80 0%, #fcaf45 22%, transparent 43%),
        radial-gradient(circle at 0% 0%, #405de6 0%, transparent 38%),
        linear-gradient(135deg, #833ab4 0%, #c13584 35%, #e1306c 62%, #fd1d1d 100%) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
}

.fc-main-header .fc-social-facebook svg,
.fc-main-header .fc-social-instagram svg {
    fill: #ffffff !important;
    opacity: 1 !important;
}

.fc-social-whatsapp {
    background: linear-gradient(135deg, #25d366, #18b957);
}

.fc-social-telegram {
    background: linear-gradient(135deg, #2aabee, #1689c7);
}

.fc-main-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.fc-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 clamp(18px, 1.5vw, 24px);
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(13px, 0.76vw, 14px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fc-header-btn:hover {
    transform: translateY(-1px);
}

.fc-header-btn-light {
    background: #f4f7fb;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.fc-header-btn-light:hover {
    background: #eaf1f9;
}

.fc-header-btn-primary {
    background: linear-gradient(135deg, #005bb2, #1976d2);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 91, 178, 0.24);
}

.fc-header-btn-primary:hover {
    box-shadow: 0 18px 34px rgba(0, 91, 178, 0.3);
}



.fc-header-account-btn {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1100px) {
    .fc-header-account-btn {
        max-width: none;
    }
}
.fc-mobile-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    background: rgba(244, 247, 251, 0.96);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.70),
        0 10px 24px rgba(15, 23, 42, 0.08);
}

.fc-mobile-nav-toggle span {
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: #0f172a;
    display: block;
    transition:
        transform 0.26s ease,
        opacity 0.18s ease,
        width 0.22s ease;
    transform-origin: center;
}

.fc-main-header.is-open .fc-mobile-nav-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.fc-main-header.is-open .fc-mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.fc-main-header.is-open .fc-mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 1280px) and (min-width: 1101px) {
    .fc-main-header-inner {
        width: min(1240px, calc(100% - 32px));
        min-height: 78px;
        gap: 18px;
    }

    .fc-main-logo {
        flex-basis: 178px;
        margin-left: -26px;
    }

    .fc-main-logo-img {
        width: 176px;
        max-height: 56px;
    }

    .fc-main-menu {
        gap: 18px;
    }

    .fc-main-nav {
        gap: 14px;
    }

    .fc-main-nav a {
        font-size: 13px;
    }

    .fc-social-btn {
        width: 36px;
        height: 36px;
    }

    .fc-social-btn svg {
        width: 19px;
        height: 19px;
    }

    .fc-header-btn {
        min-height: 38px;
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .fc-main-header-inner {
        width: calc(100% - 28px);
        min-height: 74px;
        gap: 12px;
    }

    .fc-main-logo {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .fc-main-logo-img {
        width: clamp(148px, 34vw, 190px);
        max-height: 56px;
    }

    .fc-mobile-nav-toggle {
        display: flex;
    }

    .fc-main-menu {
        display: none;
    }

    .fc-main-header.is-open .fc-main-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        width: min(calc(100vw - 28px), 720px);
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        padding: clamp(18px, 3vw, 28px);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
        border: 1px solid rgba(226, 232, 240, 0.92);
        max-height: calc(100vh - 96px);
        overflow: auto;
    }

    .fc-main-nav {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 7px;
        width: 100%;
    }

    .fc-main-nav a {
        justify-content: flex-start;
        width: 100%;
        min-height: clamp(48px, 7vw, 58px);
        padding: 0 clamp(16px, 3vw, 22px);
        border-radius: 19px;
        font-size: clamp(15px, 2.4vw, 18px);
        line-height: 1.1;
        font-weight: 900;
    }

    .fc-main-nav a:hover,
    .fc-main-nav a.active {
        background: #e8f2ff !important;
        color: #005bb2;
    }

    .fc-main-social {
        width: 100%;
        margin: 8px auto 6px;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(10px, 2.4vw, 16px);
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

    .fc-main-social .fc-social-btn {
        width: 100%;
        height: clamp(56px, 9vw, 70px);
        border-radius: clamp(20px, 3.4vw, 26px);
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.42),
            0 16px 34px rgba(15, 23, 42, 0.12);
    }

    .fc-main-social .fc-social-btn svg {
        width: clamp(27px, 4.4vw, 34px);
        height: clamp(27px, 4.4vw, 34px);
    }

    .fc-main-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(10px, 2.4vw, 16px);
        width: 100%;
        padding-top: 8px;
    }

    .fc-header-btn {
        width: 100%;
        min-height: clamp(50px, 8vw, 62px);
        padding: 0 14px;
        font-size: clamp(14px, 2.3vw, 17px);
        border-radius: 22px;
    }

    .fc-header-btn-primary {
        border-radius: 999px;
    }
}

@media (max-width: 480px) {
    .fc-main-header-inner {
        width: calc(100% - 22px);
        min-height: 68px;
    }

    .fc-main-logo-img {
        width: clamp(142px, 42vw, 170px);
        max-height: 50px;
    }

    .fc-mobile-nav-toggle {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        gap: 5px;
    }

    .fc-mobile-nav-toggle span {
        width: 23px;
        height: 2.4px;
    }

    .fc-main-header.is-open .fc-main-menu {
        top: calc(100% + 8px);
        width: calc(100vw - 24px);
        padding: 18px;
        border-radius: 26px;
        gap: 12px;
        max-height: calc(100vh - 86px);
    }

    .fc-main-nav {
        gap: 6px;
    }

    .fc-main-nav a {
        min-height: 48px;
        padding: 0 16px;
        font-size: 15px;
        border-radius: 17px;
    }

    .fc-main-social {
        gap: 10px;
        margin: 8px auto 6px;
    }

    .fc-main-social .fc-social-btn {
        height: 56px;
        border-radius: 20px;
    }

    .fc-main-social .fc-social-btn svg {
        width: 27px;
        height: 27px;
    }

    .fc-main-actions {
        gap: 10px;
    }

    .fc-header-btn {
        min-height: 50px;
        font-size: 14px;
        border-radius: 18px;
    }

    .fc-header-btn-primary {
        border-radius: 999px;
    }
}

@media (max-width: 380px) {
    .fc-main-header-inner {
        min-height: 64px;
    }

    .fc-main-logo-img {
        width: 138px;
        max-height: 46px;
    }

    .fc-mobile-nav-toggle {
        width: 42px;
        height: 42px;
    }

    .fc-main-header.is-open .fc-main-menu {
        padding: 16px;
        border-radius: 24px;
    }

    .fc-main-nav a {
        min-height: 45px;
        font-size: 14px;
    }

    .fc-main-social {
        gap: 9px;
    }

    .fc-main-social .fc-social-btn {
        height: 52px;
        border-radius: 18px;
    }

    .fc-main-social .fc-social-btn svg {
        width: 25px;
        height: 25px;
    }

    .fc-header-btn {
        min-height: 48px;
        font-size: 13.5px;
    }
}
