.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(16, 24, 40, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
}

.language-switcher button {
    min-width: 38px;
    height: 32px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #394150;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    transition: background .2s ease, color .2s ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
    background: #f0475b;
    color: #fff;
}

.mobile-nav .language-switcher {
    margin: 0 0 22px;
}

html.i18n-awaiting-choice,
html.i18n-awaiting-choice body {
    min-height: 100%;
    background: #f7f8fb;
}

html.i18n-awaiting-choice body > *:not(.language-gate) {
    visibility: hidden;
}

body.i18n-gate-open {
    overflow: hidden;
}

.language-gate {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: visible;
    overflow: auto;
    padding: 28px;
    background:
        radial-gradient(circle at 10% 15%, rgba(242, 106, 61, .16), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(38, 190, 145, .15), transparent 32%),
        rgba(247, 248, 251, .68);
    -webkit-backdrop-filter: blur(12.8px) saturate(.82);
    backdrop-filter: blur(12.8px) saturate(.82);
}

.language-gate-card {
    width: min(610px, 100%);
    padding: 52px;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 32px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 90px rgba(16, 24, 40, .14);
    text-align: center;
}

.language-gate-logo {
    width: min(190px, 55%);
    height: auto;
    margin-bottom: 34px;
}

.language-gate-eyebrow {
    margin: 0 0 12px;
    color: #f0475b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.language-gate h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    white-space: nowrap;
}

.language-gate-title-fr {
    margin: 10px 0 0;
    color: #f0475b;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}

.language-gate-copy {
    max-width: 460px;
    margin: 20px auto 32px;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.language-gate-copy p {
    margin: 0;
}

.language-gate-copy-fr {
    color: #f0475b;
}

.language-gate-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.language-gate-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 14px 18px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    color: #101828;
    font-size: 17px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.language-gate-choice:hover,
.language-gate-choice:focus-visible {
    border-color: #f26a3d;
    outline: none;
    box-shadow: 0 12px 28px rgba(242, 106, 61, .16);
    transform: translateY(-2px);
}

.language-gate-choice span:last-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #f26a3d;
    color: #fff;
    font-size: 13px;
}

@media (max-width: 1199px) {
    .header-elements > .language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 575px) {
    .language-gate { padding: 16px; }
    .language-gate-card { padding: 38px 22px; border-radius: 24px; }
    .language-gate-logo { margin-bottom: 26px; }
    .language-gate h1 { font-size: 22px; }
    .language-gate-title-fr { font-size: 20px; }
    .language-gate-actions { grid-template-columns: 1fr; }
}
