:root {
    --se-bg: #f7f8fa;
    --se-surface: #ffffff;
    --se-surface-soft: #f2f4f7;
    --se-ink: #101828;
    --se-muted: #667085;
    --se-border: #e4e7ec;
    --se-blue: #0b5fff;
    --se-blue-dark: #0647c7;
    --se-green: #12b76a;
    --se-dark: #111827;
    --se-radius: 16px;
    --se-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--se-ink);
    background: var(--se-bg);
    opacity: 1 !important;
    transition: opacity 0.25s ease-out;
}

body.page-loading {
    overflow: hidden;
}

body.nav-transitioning {
    opacity: 0 !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(11, 95, 255, 0.15);
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 248, 250, 0.92);
    backdrop-filter: blur(10px);
    transition: opacity 0.35s ease, visibility 0.35s;
}

#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 112px;
    height: auto;
    animation: loader-pulse 1.7s infinite ease-in-out;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 0.78; }
    50% { transform: scale(1.04); opacity: 1; }
}

.se-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.se-site-header {
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.se-site-header .se-shell {
    max-width: 1500px;
}

.se-header-bar {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(112px, 140px) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: clamp(10px, 1.4vw, 18px);
}

.se-brand {
    display: inline-flex;
    align-items: center;
    width: min(140px, 100%);
    min-width: 0;
}

.se-brand-logo {
    width: 126px;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

.se-main-nav {
    justify-self: center;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    min-height: 48px;
    padding: 5px;
    border: 1px solid rgba(228, 231, 236, 0.95);
    border-radius: 999px;
    background: rgba(242, 244, 247, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.se-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.se-nav-link:hover {
    color: var(--se-blue);
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.07);
    transform: translateY(-1px);
}

.se-nav-link-promo {
    color: var(--se-blue);
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.se-nav-link-promo i {
    color: var(--se-blue);
    font-size: 0.76rem;
}

.se-nav-link-promo:hover {
    color: #fff;
    background: var(--se-blue);
    box-shadow: 0 10px 24px rgba(11, 95, 255, 0.2);
}

.se-nav-link-promo:hover i {
    color: #fff;
}

.se-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.se-phone-pill {
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 12px 6px 7px;
    border: 1px solid var(--se-border);
    border-radius: 999px;
    background: #fff;
    color: var(--se-ink);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.se-phone-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(11, 95, 255, 0.08);
    color: var(--se-blue);
    font-size: 0.75rem;
}

.se-phone-copy {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.se-phone-copy strong {
    color: var(--se-ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.se-phone-copy small {
    color: var(--se-muted);
    font-size: 0.68rem;
    font-weight: 650;
}

.se-lang-switcher {
    align-items: center;
    gap: 3px;
    min-height: 46px;
    padding: 5px;
    border: 1px solid var(--se-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.se-lang-item {
    min-width: 44px;
    padding: 0 8px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    opacity: 0.58;
    font-size: 0.68rem;
    font-weight: 900;
    color: #475467;
    transition: opacity 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.se-lang-item:hover {
    opacity: 1;
    background: var(--se-surface-soft);
    transform: translateY(-1px);
}

.se-lang-item.is-active {
    opacity: 1;
    background: var(--se-blue);
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 95, 255, 0.2);
}

.se-header-cta {
    min-height: 46px;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 14px;
    white-space: nowrap;
}

.se-menu-button {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border-radius: 14px;
}

.se-section {
    padding: 5.5rem 0;
}

.se-section-tight {
    padding: 4rem 0;
}

.se-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(11, 95, 255, 0.14);
    border-radius: 999px;
    background: rgba(11, 95, 255, 0.06);
    color: var(--se-blue);
    font-size: 0.75rem;
    font-weight: 800;
}

.se-title {
    color: var(--se-ink);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: 0;
}

.se-muted {
    color: var(--se-muted);
}

.se-card {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-radius: var(--se-radius);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.se-card-elevated {
    background: var(--se-surface);
    border: 1px solid var(--se-border);
    border-radius: 20px;
    box-shadow: var(--se-shadow);
}

.se-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(11, 95, 255, 0.08);
    color: var(--se-blue);
}

.se-btn,
.liquid-glass-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    text-decoration: none !important;
    overflow: hidden;
}

.se-btn:hover,
.liquid-glass-button:hover {
    transform: translateY(-1px);
}

.se-btn:active,
.liquid-glass-button:active {
    transform: translateY(0);
}

.se-btn-primary,
.liquid-glass-button-primary {
    background: var(--se-blue);
    border-color: var(--se-blue);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(11, 95, 255, 0.2);
}

.se-btn-primary:hover,
.liquid-glass-button-primary:hover {
    background: var(--se-blue-dark);
    border-color: var(--se-blue-dark);
    box-shadow: 0 14px 30px rgba(11, 95, 255, 0.24);
}

.se-btn-secondary,
.liquid-glass-button-light {
    background: #fff;
    border-color: var(--se-border);
    color: var(--se-ink) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.se-btn-secondary:hover,
.liquid-glass-button-light:hover {
    border-color: #cfd6e1;
    box-shadow: 0 8px 22px rgba(16, 24, 40, 0.08);
}

.se-btn-dark,
.liquid-glass-button-dark {
    background: var(--se-dark);
    border-color: var(--se-dark);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.se-input,
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    border-radius: 12px !important;
}

.gradient-text {
    color: var(--se-blue);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.glass,
.liquid-glass {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(228, 231, 236, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 44px rgba(16, 24, 40, 0.08);
}

.nav-link-animated {
    position: relative;
    color: #344054;
    font-size: 0.84rem;
    font-weight: 750;
    transition: color 0.18s ease;
}

.nav-link-animated:hover {
    color: var(--se-blue);
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--se-blue);
    transition: width 0.18s ease;
}

.nav-link-animated:hover::after {
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    color: var(--se-ink) !important;
    background: #fff;
    border: 1px solid var(--se-border);
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.animate-fade-in {
    animation: fadeIn 0.35s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .se-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .se-main-nav.lg\:flex {
        display: flex !important;
    }

    #mobile-menu-open.lg\:hidden {
        display: none !important;
    }
}

@media (max-width: 1500px) and (min-width: 1181px) {
    .se-shell {
        max-width: 100%;
    }

    .se-header-bar {
        grid-template-columns: 122px minmax(0, 1fr) auto;
    }

    .se-brand-logo {
        width: 116px;
    }

    .se-nav-link {
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .se-header-cta {
        display: none !important;
    }
}

@media (max-width: 1180px) and (min-width: 1024px) {
    .se-header-bar {
        grid-template-columns: 116px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .se-brand {
        width: 116px;
    }

    .se-brand-logo {
        width: 108px;
    }

    .se-main-nav {
        gap: 2px;
        padding: 4px;
    }

    .se-nav-link {
        min-height: 36px;
        padding: 0 9px;
        font-size: 0.78rem;
    }

    .se-lang-switcher,
    .se-header-cta {
        display: none !important;
    }
}

@media (max-width: 1100px) and (min-width: 1024px) {
    .se-phone-pill {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .se-header-bar {
        min-height: 64px;
        display: flex;
        justify-content: space-between;
        gap: 14px;
    }

    .se-brand {
        width: auto;
    }

    .se-brand-logo {
        width: 116px;
        max-height: 46px;
    }
}
