/*
 * Shared header styles: one look on every page.
 * The Framer-exported pages define the reference header (logo, four links,
 * language switch, "Contact UTS" pill). The CMS template pages (contact,
 * privacy, legal) are aligned to the same metrics here, and the language
 * switch below is used by both.
 */

/* Same display face the Framer header uses for the "Contact UTS" button. */
@font-face {
    font-family: "UTS Inter Display";
    src: url("/static/uts_mirror/assets/bHYNJqzTyl2lqvmMiRRS6Y16Es.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "UTS Inter Display";
    src: url("/static/uts_mirror/assets/Zwfz6xbVe5pmcWRJRgBDHnMkOkI.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Inter as served on the Framer pages (Latin + Cyrillic), so header links have identical metrics. */
@font-face {
    font-family: "UTS Header Inter";
    src: url("/static/uts_mirror/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "UTS Header Inter";
    src: url("/static/uts_mirror/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------------------------------------------------------------- language switch */

.uts-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.uts-lang-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.62);
    font-family: "Inter", "UTS Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease;
}

.uts-lang-switch__link:hover {
    color: #ffffff;
}

.uts-lang-switch__link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #cffe25;
}

.uts-lang-switch--menu {
    margin-top: 18px;
}

/* ---------------------------------------------------------------- CMS template header */

.site-header {
    padding: 0;
}

.site-header__inner {
    position: relative;
    width: auto;
    max-width: none;
    height: 100px;
    margin: 0;
    padding: 0 80px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 40px;
}

.site-brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.site-brand__text {
    font-size: 20px;
}

/* Links are centred on the page, like the Framer header, not between logo and actions. */
.site-nav--desktop {
    position: absolute;
    inset: 0;
    align-items: center;
    pointer-events: none;
}

.site-nav__list {
    gap: 40px;
    pointer-events: auto;
}

.site-nav__link {
    min-height: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-family: "UTS Header Inter", "Inter", "UTS Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 24px;
}

.site-nav__link:hover,
.site-nav__item.is-active > .site-nav__link {
    color: #cffe25;
}

.site-header__actions {
    gap: 24px;
}

.site-header__cta.button {
    min-height: 45px;
    height: 45px;
    padding: 0 24px;
    border: 0;
    border-radius: 50px;
    background: #ffffff;
    box-shadow: none;
    color: #010104;
    font-family: "UTS Inter Display", "Inter Display", "UTS Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Mobile header (site.css switches the drawer on below 1190px). */
@media (max-width: 1189.98px) {
    .site-header {
        padding-top: 0;
    }

    .site-header__inner {
        grid-template-columns: auto auto;
    }

    .site-header__cta {
        display: none;
    }

    .site-nav-toggle {
        display: grid;
        justify-self: end;
    }

    /* Matches the Framer mobile header: logo at 28px, dots 25px from the edge, centred at 48px. */
    .site-header__inner {
        height: 96px;
        padding: 0 25px 0 28px;
    }

    .site-brand {
        gap: 12px;
    }

    .site-brand__mark {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 12px;
    }

    .site-brand__text {
        font-size: 18px;
    }

    .site-nav-toggle {
        grid-template-columns: repeat(2, 8px);
        grid-auto-rows: 8px;
        gap: 6px;
        align-content: center;
        justify-content: end;
        width: 44px;
        height: 44px;
    }

    .site-header__actions .uts-lang-switch {
        display: none;
    }

    .site-nav--desktop {
        display: none;
    }
}


/* ---------------------------------------------------------------- mobile menu
 * Copied from the Framer export so the CMS template pages show the identical
 * menu. Keep in sync with the export's .uts-menu-* rules.
 */
.uts-menu-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(1,1,4,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);display:flex;align-items:flex-start;justify-content:flex-end;padding:24px;opacity:0;pointer-events:none;transition:opacity .32s ease}
.uts-menu-overlay.is-open{opacity:1;pointer-events:auto}
.uts-menu-panel{width:min(560px,100%);background:#0c0c0f;border:1px solid rgba(255,255,255,.08);border-radius:24px;box-shadow:0 24px 80px rgba(0,0,0,.45);padding:24px 24px 20px;display:grid;gap:18px;opacity:0;transform:translateY(-10px) scale(.985);transition:opacity .35s cubic-bezier(.22,1,.36,1),transform .35s cubic-bezier(.22,1,.36,1)}
.uts-menu-overlay.is-open .uts-menu-panel{opacity:1;transform:translateY(0) scale(1)}
.uts-menu-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.uts-menu-kicker{color:#cffe25;font-family:"Inter Display","Inter",sans-serif;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.uts-menu-title{color:#fff;font-family:"Inter Display","Inter",sans-serif;font-size:24px;font-weight:700;letter-spacing:-.04em;line-height:1.05}
.uts-menu-close{appearance:none;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#fff;cursor:pointer;font:600 12px/1 "Inter",sans-serif;padding:9px 12px}
.uts-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.uts-menu-link{display:flex;align-items:center;min-height:56px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid transparent;color:#fff;font:600 14px/1.35 "Inter",sans-serif;text-decoration:none;transition:border-color .2s ease,background .2s ease,color .2s ease}
.uts-menu-link:hover,.uts-menu-link[aria-current="page"]{border-color:rgba(207,254,37,.28);background:rgba(255,255,255,.06);color:#cffe25}
.uts-menu-meta{display:grid;gap:8px;padding-top:4px;border-top:1px solid rgba(255,255,255,.08)}
.uts-menu-header,.uts-menu-link,.uts-menu-meta{opacity:0;transform:translateY(12px);transition:opacity .42s cubic-bezier(.22,1,.36,1),transform .42s cubic-bezier(.22,1,.36,1)}
.uts-menu-overlay.is-open .uts-menu-header,.uts-menu-overlay.is-open .uts-menu-link,.uts-menu-overlay.is-open .uts-menu-meta{opacity:1;transform:none}
.uts-menu-overlay.is-open .uts-menu-header{transition-delay:.03s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(1){transition-delay:.06s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(2){transition-delay:.1s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(3){transition-delay:.14s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(4){transition-delay:.18s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(5){transition-delay:.22s}
.uts-menu-overlay.is-open .uts-menu-link:nth-child(6){transition-delay:.26s}
.uts-menu-overlay.is-open .uts-menu-meta{transition-delay:.3s}
.uts-menu-copy{color:rgba(255,255,255,.68);font:400 14px/1.55 "Inter",sans-serif}
.uts-menu-contact{color:#fff;font:600 16px/1.35 "Inter",sans-serif;text-decoration:none}
.uts-menu-contact:hover{color:#cffe25}
@media (max-width: 809.98px) {
    .uts-menu-overlay { padding: 16px; }
    .uts-menu-panel { padding: 20px 18px; }
    .uts-menu-grid { grid-template-columns: 1fr; }
}
