:root {
    --blur: 12px;
    --topbar-h: 38px;

    --nav-h: 80px;
    --brand-logo-h: 56px;
    --footer-logo-h: 44px;

    --nav-bg: rgba(10, 15, 25, .40);
    --nav-bg-solid: rgba(10, 15, 25, .92);
    --line: rgba(255, 255, 255, .14);
    --line-strong: rgba(255, 255, 255, .18);
    --shadow: 0 18px 60px rgba(2, 6, 23, .22);
    --soft-line: rgba(15, 23, 42, .10);
    --soft-bg: #f8fafc;
    --accent: #1a73e8;

    --scroll-offset: calc(var(--topbar-h) + var(--nav-h) + 6px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset);
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

section[id] {
    scroll-margin-top: var(--scroll-offset);
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5.25rem !important;
        padding-bottom: 5.25rem !important;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.topbar {
    height: var(--topbar-h);
    background: rgba(10, 15, 25, .72);
    backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--line);
}

.topbar__row {
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topbar__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .90);
    text-decoration: none;
    font-size: 13px;
}

.topbar__item span {
    white-space: nowrap;
}

.topbar__icon {
    color: rgba(255, 255, 255, .90);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
}

.topbar__icon:hover {
    background: rgba(255, 255, 255, .08);
}

.topbar__sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .20);
}

.nav-main {
    height: var(--nav-h);
    background: var(--nav-bg);
    transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
    border-top: 1px solid rgba(255, 255, 255, .08);
    position: relative;
    backdrop-filter: blur(var(--blur));
}

.nav-main.nav-solid {
    background: var(--nav-bg-solid);
    box-shadow: var(--shadow);
}

.nav-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line-strong);
    pointer-events: none;
}

.navbar .nav-link,
.navbar .navbar-brand {
    text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}

.btn-pill {
    border-radius: 999px;
}

.brand-logo {
    width: auto;
    height: var(--brand-logo-h);
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 1px 14px rgba(0, 0, 0, .45));
}

footer .brand-logo {
    height: var(--footer-logo-h);
    width: auto;
    object-fit: contain;
    filter: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .container {
    height: 100%;
}

.navbar .container,
.navbar .navbar-brand,
.navbar .navbar-collapse {
    align-items: center;
}

.main {
    padding-top: calc(var(--topbar-h) + var(--nav-h));
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0f19;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.06) brightness(.82);
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .15), rgba(0, 0, 0, .84));
}

.hero__glow {
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 80%;
    background: radial-gradient(closest-side, rgba(26, 115, 232, .28), transparent 70%);
    filter: blur(22px);
    opacity: .9;
}

.hero__content {
    position: relative;
    padding: 64px 0 64px;
}

.hero__pill {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
}

.hero__title {
    max-width: 18ch;
    letter-spacing: -0.02em;
}

.hero__lead {
    max-width: 62ch;
    opacity: .92;
}

.trust-chip {
    padding: .35rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .92);
}

.tracking-wide {
    letter-spacing: .14em;
}

.section-soft {
    background:
        radial-gradient(1000px 500px at 10% 0%, rgba(26, 115, 232, .08), transparent 60%),
        radial-gradient(900px 450px at 90% 10%, rgba(123, 167, 255, .08), transparent 60%),
        var(--soft-bg);
}

.section-divider {
    padding: 0;
}

.divider-line {
    height: 1px;
    background: var(--soft-line);
    margin: 0;
}

.card-premium {
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
}

.service-media {
    position: relative;
}

.service-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    background: #eef2f7;
}

.service-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 25, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(10px);
}

.service-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 60px rgba(2, 6, 23, .14);
    border-color: rgba(26, 115, 232, .22);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    text-decoration: none;
}

.service-link i {
    transition: transform .15s ease;
}

.service-link:hover i {
    transform: translateX(2px);
}

.mini-feature {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
}

.mini-feature i {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, .12);
    color: #0b57d0;
    flex: 0 0 auto;
}

.stat-card {
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
    height: 100%;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.quote-card {
    border-radius: 1rem;
    background: linear-gradient(135deg, #1a73e8, #0b57d0);
    color: #fff;
    padding: 1.25rem;
    box-shadow: 0 16px 50px rgba(11, 87, 208, .22);
}

.cta-card {
    border-radius: 1rem;
    background: rgba(10, 15, 25, .92);
    color: #fff;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 60px rgba(2, 6, 23, .22);
}

.about-box {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    border-color: rgba(15, 23, 42, .10) !important;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 60px rgba(2, 6, 23, .10);
    border-color: rgba(26, 115, 232, .20) !important;
}

.about-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, .12);
    color: #0b57d0;
}

.form-premium .form-control {
    border-radius: 14px;
    border-color: rgba(15, 23, 42, .14);
    padding: .75rem .9rem;
}

.form-premium .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(26, 115, 232, .18);
    border-color: rgba(26, 115, 232, .35);
}

.collapse-premium {
    transition: height .35s ease;
}

.mobile-contact {
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding-top: .75rem;
    display: grid;
    gap: .6rem;
}

.mobile-contact__item {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .90);
    text-decoration: none;
    padding: .65rem .75rem;
    border-radius: .9rem;
    background: rgba(255, 255, 255, .06);
}

.mobile-contact__icons {
    display: flex;
    gap: .5rem;
}

.mobile-contact__icon {
    width: 42px;
    height: 42px;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .90);
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
}

@media (max-width: 991.98px) {
    :root {
        --nav-h: 72px;
        --brand-logo-h: 40px;
        --footer-logo-h: 38px;
        --scroll-offset: calc(var(--topbar-h) + var(--nav-h) + 8px);
    }

    .topbar__right {
        display: none;
    }

    .topbar__sep {
        display: none;
    }

    .topbar__item span {
        display: none;
    }

    #navCollapse {
        background: rgba(10, 15, 25, .92);
        border-radius: 1rem;
        margin-top: .75rem;
        padding: .85rem;
        box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
        border: 1px solid rgba(255, 255, 255, .10);
    }

    .navbar .nav-link {
        padding: .75rem .8rem;
        border-radius: .95rem;
    }

    .navbar .nav-link:hover {
        background: rgba(255, 255, 255, .08);
    }
}