:root {
    --bg: #e9eef6;
    --surface: rgba(255, 255, 255, 0.58);
    --surface-soft: rgba(255, 255, 255, 0.42);
    --text: #0f172a;
    --muted: #4b5567;
    --border: rgba(255, 255, 255, 0.5);
    --shadow: 0 30px 55px -30px rgba(15, 23, 42, 0.45);
    --radius-xl: 1.25rem;
    --radius-lg: 0.9rem;
    --spacing: 1rem;
    --accent: #0f766e;
    --accent-soft: #d7f2ef;
    --purple-a: #522778;
    --purple-b: #942e87;
    --grad-accent: linear-gradient(120deg, var(--purple-a), var(--purple-b));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(1050px 620px at 8% -14%, rgba(148, 46, 135, 0.2), transparent 58%),
    radial-gradient(960px 580px at 92% 18%, rgba(15, 118, 110, 0.16), transparent 50%),
    linear-gradient(180deg, #eff3fb 0%, #e8eef7 42%, #ecf1f8 100%),
    var(--bg);
    font-family: "Manrope", sans-serif;
}

.skip-link {
    display: none !important;
}

.skip-link:focus-visible {
    display: none !important;
    outline: none;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(56px);
}

body::before {
    width: 360px;
    height: 360px;
    left: -120px;
    top: 14vh;
    background: rgba(82, 39, 120, 0.16);
}

body::after {
    width: 320px;
    height: 320px;
    right: -120px;
    top: 36vh;
    background: rgba(15, 118, 110, 0.14);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.02em;
}

main {
    min-height: 60vh;
}

.texture::before {
    content: none;
}

.glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(248, 251, 255, 0.58);
    backdrop-filter: blur(18px) saturate(1.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 36px -28px rgba(15, 23, 42, 0.7);
}

body[data-page="home"] .site-header-wrap,
body.header-overlay .site-header-wrap {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.42), rgba(2, 6, 23, 0.08));
    backdrop-filter: blur(10px) saturate(1.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

body[data-page="home"] .site-header-wrap .topbar,
body.header-overlay .site-header-wrap .topbar {
    border-bottom-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.56), rgba(15, 23, 42, 0.44));
}

body[data-page="home"] .site-header-wrap .nav-link,
body.header-overlay .site-header-wrap .nav-link {
    color: rgba(248, 250, 252, 0.95);
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.4);
}

body[data-page="home"] .site-header-wrap .nav-link::after,
body.header-overlay .site-header-wrap .nav-link::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(192, 132, 252, 0.95));
}

body[data-page="home"] .site-header-wrap .icon-btn,
body.header-overlay .site-header-wrap .icon-btn {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 10px 22px -16px rgba(2, 6, 23, 0.68);
}

body[data-page="home"] .site-header-wrap .btn-primary,
body.header-overlay .site-header-wrap .btn-primary {
    background: linear-gradient(140deg, rgba(82, 39, 120, 0.95), rgba(148, 46, 135, 0.92));
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 12px 24px -16px rgba(82, 39, 120, 0.74);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body[data-page="home"] .site-header-wrap .btn-primary:hover,
body.header-overlay .site-header-wrap .btn-primary:hover {
    background: linear-gradient(140deg, rgba(92, 45, 132, 0.96), rgba(164, 52, 148, 0.94));
}

body[data-page="home"] .site-header-wrap #menu-toggle,
body.header-overlay .site-header-wrap #menu-toggle {
    border-color: rgba(255, 255, 255, 0.45);
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .site-header-wrap #mobile-nav,
body.header-overlay .site-header-wrap #mobile-nav {
    border-top-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.74));
}

body[data-page="home"] .site-header-wrap #mobile-nav a,
body.header-overlay .site-header-wrap #mobile-nav a {
    color: rgba(248, 250, 252, 0.94);
}

.site-header-wrap #menu-toggle {
    display: none;
    min-width: 42px;
    min-height: 42px;
    border-radius: 0.8rem;
    align-items: center;
    justify-content: center;
}

.site-header-wrap #menu-toggle i {
    font-size: 1rem;
}

.desktop-menu,
.desktop-menu-root {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-menu-root,
.desktop-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu-item {
    position: relative;
}

.desktop-parent-btn {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-weight: 600;
}

.desktop-parent-btn i {
    font-size: 0.72rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.desktop-menu-item.is-open > .desktop-parent-btn i,
.desktop-menu-item:hover > .desktop-parent-btn i {
    transform: rotate(180deg);
}

.desktop-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(180deg, rgba(9, 14, 33, 0.9), rgba(11, 17, 37, 0.84)),
    radial-gradient(260px 130px at 18% 10%, rgba(148, 46, 135, 0.16), transparent 70%);
    backdrop-filter: blur(14px) saturate(1.28);
    box-shadow: 0 20px 34px -24px rgba(2, 6, 23, 0.92);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 70;
}

.desktop-menu-item:hover > .desktop-submenu,
.desktop-menu-item:focus-within > .desktop-submenu,
.desktop-menu-item.is-open > .desktop-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-submenu .desktop-menu-item {
    width: 100%;
}

.desktop-submenu-link,
.desktop-submenu .desktop-parent-btn {
    display: inline-flex;
    align-items: center;
    width: 100%;
    color: rgba(241, 245, 249, 0.96);
    text-decoration: none;
    padding: 0.6rem 0.72rem;
    border-radius: 0.6rem;
    justify-content: space-between;
}

.desktop-submenu-link:hover,
.desktop-submenu .desktop-parent-btn:hover {
    background: rgba(148, 46, 135, 0.24);
}

.desktop-submenu .desktop-submenu {
    top: -0.2rem;
    left: calc(100% + 8px);
}

.desktop-submenu .desktop-menu-item.submenu-open-left > .desktop-submenu {
    left: auto;
    right: calc(100% + 8px);
}

.desktop-menu-root > .desktop-menu-item.submenu-align-right > .desktop-submenu {
    left: auto;
    right: 0;
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.74), rgba(30, 41, 59, 0.7));
    backdrop-filter: blur(10px) saturate(1.2);
}

body.header-condensed .site-header-wrap .topbar {
    display: none !important;
}

@media (max-width: 767.98px) {
    body[data-page="service-category"] .site-header-wrap .landing-header-actions,
    body[data-page="service-category"] .site-header-wrap .btn-primary.text-sm,
    body[data-page="service-category"] .site-header-wrap .hero-call-quick {
        display: none !important;
    }
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(241, 245, 249, 0.92);
    font-size: 0.8rem;
    font-weight: 600;
}

.topbar-link i {
    font-size: 0.86rem;
    color: #cbd5e1;
}

.topbar-link--location {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(140deg, rgba(82, 39, 120, 0.7), rgba(148, 46, 135, 0.62));
    padding: 0.26rem 0.66rem;
}

.topbar-link--location i {
    color: #ffffff;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 248, 255, 0.62));
    backdrop-filter: blur(8px) saturate(1.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px -14px rgba(15, 23, 42, 0.45);
}

.icon-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 12px 24px -14px rgba(15, 23, 42, 0.55);
}

.icon-btn--topbar {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
}

.icon-btn--topbar:hover {
    background: rgba(255, 255, 255, 0.16);
}

.icon-btn--location-mobile {
    background: linear-gradient(140deg, rgba(82, 39, 120, 0.95), rgba(148, 46, 135, 0.9));
    border-color: rgba(255, 255, 255, 0.48);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 24px -18px rgba(82, 39, 120, 0.92);
}

.icon-btn--location-mobile:hover {
    filter: brightness(1.06);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(241, 245, 249, 0.95);
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.26rem 0.48rem 0.26rem 0.3rem;
    min-height: 32px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px) saturate(1.2);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-pill img {
    width: 19px;
    height: 19px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px -8px rgba(2, 6, 23, 0.9);
}

.lang-pill:hover {
    transform: translateY(-1px);
    background: rgba(148, 46, 135, 0.22);
}

.lang-pill.is-active {
    background: linear-gradient(140deg, rgba(82, 39, 120, 0.95), rgba(148, 46, 135, 0.9));
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 18px -14px rgba(82, 39, 120, 0.9);
}

.mobile-language-wrap {
    margin-top: 0.45rem;
    padding-top: 0.42rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.lang-switch--mobile {
    width: 100%;
    gap: 0.5rem;
}

.lang-switch--mobile .lang-pill {
    flex: 1;
    justify-content: center;
    min-height: 40px;
    font-size: 0.8rem;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: #0f172a;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.card-premium {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(246, 249, 255, 0.5));
    backdrop-filter: blur(14px) saturate(1.28);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
    opacity: 0.8;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
    border-radius: 999px;
    padding: 0.72rem 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    backdrop-filter: blur(10px) saturate(1.2);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(140deg, rgba(82, 39, 120, 0.95), rgba(148, 46, 135, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 26px -14px rgba(82, 39, 120, 0.9);
}

.btn-secondary {
    color: #0b4f49;
    background: linear-gradient(180deg, rgba(220, 246, 241, 0.94), rgba(198, 239, 233, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.58);
}

.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
    transform: translateY(-1px) scale(1.01);
}

.tag {
    background: rgba(255, 255, 255, 0.56);
    color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 0.24rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(82, 39, 120, 0.28);
    outline-offset: 2px;
}
