.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.site-header *,
.site-footer * {
    box-sizing: border-box;
}

body.site-chrome-page {
    display: block !important;
    min-height: 100vh;
    text-align: left;
}

body.site-chrome-page .thank-you-container {
    margin: 56px auto;
}

body.site-chrome-legal-page {
    margin: 0;
    background: #f8fafc;
    color: #334155;
    font: 14px/1.75 'Sora', sans-serif;
}

body.site-chrome-legal-page > hr,
body.site-chrome-legal-page > h1,
body.site-chrome-legal-page > h2,
body.site-chrome-legal-page > p,
body.site-chrome-legal-page > ul {
    width: min(100% - 32px, 900px);
    margin-right: auto;
    margin-left: auto;
}

body.site-chrome-legal-page > hr {
    margin-top: 30px;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

body.site-chrome-legal-page > h1 {
    margin-top: 36px;
    color: #0f172a;
    font-size: clamp(24px, 4vw, 36px);
}

body.site-chrome-legal-page > h2 {
    margin-top: 28px;
    color: #111827;
    font-size: 20px;
}

body.site-chrome-legal-page > ul {
    padding-left: 24px;
}

.site-header a,
.site-footer a {
    text-decoration: none;
}

.site-header-inner,
.site-footer-inner {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
}

.site-topbar {
    color: #cbd5e1;
    background: #090f1d;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    font: 500 12px/1.5 'Sora', sans-serif;
}

.site-topbar .site-header-inner,
.site-topbar-contact,
.site-topbar-social {
    display: flex;
    align-items: center;
}

.site-topbar .site-header-inner {
    min-height: 38px;
    justify-content: space-between;
    gap: 12px 24px;
}

.site-topbar-contact,
.site-topbar-social {
    flex-wrap: wrap;
    gap: 8px 22px;
}

.site-topbar a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.site-topbar a:hover {
    color: #c084fc;
}

.site-topbar-icon {
    margin-right: 6px;
    color: #c084fc;
}

.site-navbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-brand img {
    display: block;
    width: 112px;
    max-height: 54px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.5vw, 22px);
    color: #334155;
    font: 600 12px/1.4 'Sora', sans-serif;
}

.site-nav a {
    padding: 8px 0;
    color: inherit;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #7e22ce;
}

.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown > a::after {
    content: "⌄";
    margin-left: 5px;
    color: #94a3b8;
}

.site-subnav {
    position: absolute;
    top: 100%;
    left: -14px;
    z-index: 10;
    display: none;
    width: 245px;
    padding: 8px;
    border: 1px solid #ede9fe;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.site-nav-dropdown:hover .site-subnav,
.site-nav-dropdown:focus-within .site-subnav {
    display: block;
}

.site-nav .site-subnav a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.site-nav .site-subnav a:hover {
    background: #faf5ff;
}

.site-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
}

.site-header-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}

.site-client-link {
    border: 1px solid #e9d5ff;
    background: #faf5ff;
    color: #6b21a8;
}

.site-quote-link,
.site-mobile-quote {
    background: linear-gradient(110deg, #7e22ce, #db2777);
    box-shadow: 0 8px 22px rgba(126, 34, 206, 0.2);
    color: #ffffff;
}

.site-header-actions a:hover {
    transform: translateY(-1px);
}

.site-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

.site-menu-toggle svg {
    width: 22px;
    height: 22px;
}

.site-mobile-menu {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.site-mobile-menu.is-open {
    display: grid;
}

.site-mobile-menu a {
    padding: 10px 4px;
    color: #334155;
    font: 600 14px/1.4 'Sora', sans-serif;
}

.site-mobile-menu a:hover {
    color: #7e22ce;
}

.site-mobile-menu .site-mobile-quote {
    margin-top: 8px;
    padding: 12px;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
}

.site-footer {
    padding: 64px 0 24px;
    border-top: 1px solid #1e293b;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(126, 34, 206, 0.18), transparent 38%),
        #090f1d;
    color: #cbd5e1;
    font-family: 'Sora', sans-serif;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.1fr 1.25fr 1.1fr;
    gap: 28px;
    padding-bottom: 38px;
    border-bottom: 1px solid #1e293b;
}

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

.site-footer-brand img {
    width: 48px;
    height: 44px;
    object-fit: contain;
}

.site-footer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}

.site-footer-brand span {
    display: block;
    margin-top: 4px;
    color: #c084fc;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer-about {
    margin: 16px 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.site-footer-social {
    display: flex;
    gap: 9px;
}

.site-footer-social a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #111827;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
}

.site-footer-social a:hover {
    background: #7e22ce;
    color: #ffffff;
}

.site-footer h2 {
    margin: 3px 0 16px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li,
.site-footer p,
.site-footer address {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    line-height: 1.75;
}

.site-footer a {
    color: inherit;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #d8b4fe;
}

.site-footer-contact {
    display: grid;
    gap: 11px;
}

.site-footer-quote {
    display: inline-flex;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 10px;
    color: #e9d5ff !important;
    font-size: 11px;
    font-weight: 700;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    color: #64748b;
    font-size: 10px;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

@media (max-width: 1150px) {
    .site-nav {
        gap: 12px;
        font-size: 11px;
    }

    .site-brand img {
        width: 96px;
    }

    .site-header-actions a {
        padding: 8px 11px;
        font-size: 10px;
    }
}

@media (max-width: 991.98px) {
    .site-nav,
    .site-header-actions {
        display: none;
    }

    .site-menu-toggle {
        display: inline-flex;
    }

    .site-navbar {
        min-height: 68px;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .site-header-inner,
    .site-footer-inner {
        width: min(100% - 28px, 1280px);
    }

    .site-topbar .site-header-inner {
        align-items: flex-start;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-topbar-contact {
        gap: 6px 12px;
    }

    .site-topbar-social {
        justify-content: flex-end;
    }

    .site-topbar-social #topbar_map_link {
        display: none;
    }

    .site-footer {
        padding-top: 48px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .site-footer-contact-column {
        grid-column: 1 / -1;
    }

    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-footer * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
