/* language switcher — carpet-build/patch-i18n.js */
html.cx-i18n-pending body { opacity: 0 !important; }
body { transition: opacity .25s ease; }
cx-lang { position: relative; display: inline-flex; z-index: 60; font-family: Gilroy, sans-serif; }
.cx-lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 9999px; border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 28%, transparent); background: transparent; color: inherit; font: 600 13px/1 Gilroy, sans-serif;
  letter-spacing: .06em; cursor: pointer; transition: background-color .3s, border-color .3s; }
.cx-lang__btn:hover { border-color: currentColor; }
.cx-lang__btn i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
cx-lang.is-open .cx-lang__btn i { transform: translateY(1px) rotate(-135deg); }
.cx-lang__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; margin: 0; padding: 6px; list-style: none; border-radius: 18px;
  background: #fff; color: #0C0C0C; box-shadow: 0 24px 60px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity .25s, transform .25s; }
cx-lang.is-open .cx-lang__menu { opacity: 1; pointer-events: auto; transform: none; }
.cx-lang__menu button { width: 100%; border: 0; background: none; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #0C0C0C; font: 500 15px/1 Gilroy, sans-serif; text-decoration: none; }
.cx-lang__menu button b { width: 24px; font-weight: 600; font-size: 12px; letter-spacing: .06em; color: rgba(12, 12, 12, .45); }
.cx-lang__menu button:hover { background: #F1F1F1; }
.cx-lang__menu button[aria-current] { background: #DFF4F7; }
.cx-lang__menu button[aria-current] b { color: #0C0C0C; }
/* desktop nav: between the menu and the phone pill */
nav.fixed[data-v-d9263a22] > ul { margin-left: auto; }
nav.fixed[data-v-d9263a22] > cx-lang { order: 2; margin-left: auto; margin-right: -14px; }
nav.fixed[data-v-d9263a22] > p { order: 3; }
/* mobile top strip: left side, opposite the burger */
div.md\:hidden.justify-between.p-5 > cx-lang { order: -1; color: #fff; } /* strip sits over the hero video (burger is white too) */
div.md\:hidden.justify-between.p-5:has(+ div.opacity-100) > cx-lang { color: #0C0C0C; } /* menu panel open */
div.md\:hidden.justify-between.p-5 > cx-lang .cx-lang__btn { height: 34px; padding: 0 10px; }
div.md\:hidden.justify-between.p-5 > cx-lang .cx-lang__menu { left: 0; right: auto; }
/* home: floating top-right over the video */
cx-lang.cx-lang--float { position: fixed; top: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 40px); color: #fff; }
cx-lang.cx-lang--float .cx-lang__btn { background: rgba(14, 14, 15, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .28); }
/* longer words in UA/RU/ES must never overflow the screen */
html:not([data-cx-lang="en"]) :is(h1, h2, h3) { overflow-wrap: break-word; }
