/* === Desktop Language Selector (header) === */
.bc-header__lang {
    position: relative;
}

.bc-header__lang-button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 0;
    transition: background-color 0.3s ease;
}

.bc-header__lang-globe {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-header__lang-name {
    font: 600 16px/1 'Outfit', sans-serif;
    color: #fcfcfd;
}

.bc-header__lang-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bc-header__lang-button.active .bc-header__lang-arrow {
    transform: rotate(180deg);
}

.bc-header__lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #424242;
    border-radius: 8px;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bc-header__lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bc-header__lang-option {
    display: block;
    padding: 10px 16px;
    color: #ffffff;
    text-decoration: none;
    font: 400 14px/1.2 'Outfit', sans-serif;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.bc-header__lang-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bc-header__lang-option.active {
    color: #88C4BC;
    font-weight: 600;
}

.bc-header__lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.bc-header__lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* === Mobile Language Selector (offcanvas) === */
.bc-offcanvas__lang {
    position: relative;
}

.bc-offcanvas__lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: 100%;
    justify-content: flex-start;
}

.bc-offcanvas__lang-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bc-offcanvas__lang-button.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.bc-offcanvas__lang-globe {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-offcanvas__lang-name {
    font: 400 16px/1.2 'Outfit', sans-serif;
}

.bc-offcanvas__lang-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.bc-offcanvas__lang-button.active .bc-offcanvas__lang-arrow {
    transform: rotate(180deg);
}

.bc-offcanvas__lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.bc-offcanvas__lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bc-offcanvas__lang-option {
    display: block;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font: 400 14px/1.2 'Outfit', sans-serif;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.bc-offcanvas__lang-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bc-offcanvas__lang-option.active {
    color: #88C4BC;
    font-weight: 600;
}

.bc-offcanvas__lang-option:first-child {
    border-radius: 8px 8px 0 0;
}

.bc-offcanvas__lang-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* === In-page language switcher (hero CTA area) === */
.fn-mobile-lang {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.fn-mobile-lang button {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(136, 196, 188, 0.3);
    border-radius: 8px;
    color: #666;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.fn-mobile-lang button.active {
    background: rgba(136, 196, 188, 0.12);
    border-color: #88C4BC;
    color: #88C4BC;
    font-weight: 600;
}
.fn-mobile-lang button:hover {
    border-color: #88C4BC;
    color: #88C4BC;
}

/* Hide desktop lang in mobile, show mobile lang in offcanvas */
@media (max-width: 1106px) {
    .bc-header__lang { display: none; }
}
