.language-welcome { position: fixed; z-index: 80; inset: auto 12px calc(env(safe-area-inset-bottom) + 88px) 12px; box-sizing: border-box; width: auto; max-width: 420px; max-height: calc(100dvh - 120px); margin: 0 auto; padding: 18px 18px 14px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d8e2e9; border-radius: 18px; color: #102d49; background: #fff; box-shadow: 0 18px 48px #10284a33; font-family: Inter, system-ui, sans-serif; }
.language-welcome h2 { margin: 0; padding-right: 40px; font-size: 18px; line-height: 1.4; letter-spacing: -.01em; }
.language-welcome p { margin: 4px 0 12px; font-size: 13px; line-height: 1.6; color: #526776; }
.language-welcome-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.language-welcome button { display: flex; box-sizing: border-box; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; background: #f5f8fb; color: #102d49; text-align: left; font: 600 15px/1.3 Inter, system-ui, sans-serif; cursor: pointer; }
.language-welcome button:hover { border-color: #0752ed; background: #edf3ff; }
.language-welcome button:focus-visible { outline: 3px solid #0752ed; outline-offset: 2px; }
.language-welcome .language-welcome-close { position: absolute; top: 8px; right: 8px; justify-content: center; width: 44px; padding: 0; background: transparent; font-size: 24px; font-weight: 400; color: #526776; }
@media (min-width: 1024px) { .language-welcome { inset: auto 24px 24px auto; width: 380px; } }

/* Design C language menu for static pages (FAQ, service guides). Native <details> keeps it usable without JavaScript. */
.lang-menu { position: relative; flex: none; font-family: Inter, system-ui, sans-serif; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; box-sizing: border-box; padding: 0 12px; border: 1px solid #d8e2e9; border-radius: 12px; background: #fff; color: #102d49; font-size: 13px; font-weight: 650; line-height: 1; white-space: nowrap; list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { background: #e3edff; color: #0752ed; }
.lang-menu > summary:focus-visible { outline: 3px solid #0752ed; outline-offset: 3px; }
.lang-menu > summary .lang-menu-globe { color: #0752ed; }
.lang-menu[open] > summary .lang-menu-chevron { transform: rotate(180deg); }
.lang-menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; box-sizing: border-box; width: 240px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid #d8e2e9; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #10284a1f; text-align: left; }
.lang-menu-title { margin: 0; padding: 6px 10px 8px; font-size: 12px; font-weight: 650; color: #526776; }
.lang-menu-list > a, .lang-menu-list > button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: #102d49; font: 500 14px/1.4 Inter, system-ui, sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.lang-menu-list > a:hover, .lang-menu-list > button:hover { background: #f2f5f8; }
.lang-menu-list > a:focus-visible, .lang-menu-list > button:focus-visible { outline: 2px solid #0752ed; outline-offset: -2px; }
.lang-menu-list > [aria-current], .lang-menu-list > [aria-pressed="true"] { background: #e8f0ff; color: #0752ed; }
.lang-menu-short { min-width: 44px; font-weight: 700; }
.lang-menu-name { flex: 1; color: #526776; }
.lang-menu-list > [aria-current] .lang-menu-name, .lang-menu-list > [aria-pressed="true"] .lang-menu-name { color: #0752ed; }
.lang-menu-check { margin-left: auto; color: #0752ed; visibility: hidden; }
.lang-menu-list > [aria-current] .lang-menu-check, .lang-menu-list > [aria-pressed="true"] .lang-menu-check { visibility: visible; }
@media (prefers-reduced-motion: no-preference) { .lang-menu-chevron { transition: transform .15s ease; } }

/* First-visit choice uses the same row design: short label, native name, no flags. */
.language-welcome .language-welcome-heading { display: flex; align-items: center; gap: 10px; }
.language-welcome .language-welcome-heading svg { flex: none; color: #0752ed; }
.language-welcome button .lang-menu-short { min-width: 36px; color: #0752ed; }
.language-welcome button .lang-menu-name { color: #102d49; font-weight: 600; }
