:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --sea: #0f766e;
    --sea-deep: #115e59;
    --sand: #fff8ef;
    --sun: #f59e0b;
    --card: #ffffff;
    --line: #dbe4ea;
    --danger: #b91c1c;
    --success: #0a7a54;
    --bg: radial-gradient(circle at 10% 10%, #fff6dd 0%, #f6fbff 45%, #eff6ff 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
    --btn-bg: rgb(74, 190, 232);
    --btn-bg-hover: rgb(62, 176, 218);
    --btn-text: #000000;
    --btn-border: rgb(45, 136, 149);
}

@keyframes bgDrift {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 60%;
    }
    100% {
        background-position: 0 0;
    }
}

@keyframes panelFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -12px, 0) scale(1.04);
    }
}

@keyframes glowSweep {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

@keyframes mobileCardPulse {
    0%,
    100% {
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
    }
    50% {
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
    }
}

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

@keyframes menuTogglePulse {
    0%,
    100% {
        transform: scaleX(1);
        opacity: 0.88;
    }
    50% {
        transform: scaleX(1.18);
        opacity: 1;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: clamp(0.95rem, 0.92rem + 0.22vw, 1.05rem);
    background: var(--bg);
    background-size: 180% 180%;
    animation: bgDrift 22s ease infinite;
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

body.page-fade-init {
    opacity: 0;
}

body.page-fade-ready {
    transition: opacity 0.4s ease;
}

body.page-fade-in {
    opacity: 1;
}

body.page-fade-out {
    opacity: 0;
}

h1,
h2,
h3,
h4 {
    font-family: "Syne", "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

h1 {
    font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.2rem);
    line-height: 1.12;
}

h2 {
    font-size: clamp(1.4rem, 1.08rem + 1.85vw, 2.35rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.1rem, 0.98rem + 1.05vw, 1.55rem);
    line-height: 1.26;
}

p {
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    padding-top: clamp(0.75rem, 1vw, 1.1rem);
    flex: 1;
    width: 100%;
    overflow-x: clip;
}

.page.compact-top {
    padding-top: clamp(0.9rem, 1.2vw, 1.3rem);
}

.shell {
    width: min(94%, 100vw);
    max-width: 70rem;
    margin: 0 auto;
}

.narrow {
    width: min(42.5rem, 94%);
}

.section {
    padding: 2.2rem 0;
}

.section-tint {
    background: linear-gradient(145deg, rgba(255, 243, 222, 0.75), rgba(235, 250, 247, 0.7));
    border-top: 1px solid rgba(17, 24, 39, 0.05);
    border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

.section-head {
    margin-bottom: 1.25rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--sea);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    z-index: 100;
    isolation: isolate;
    will-change: backdrop-filter;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.625rem;
    gap: 0.9rem;
    position: relative;
    z-index: 102;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    color: var(--ink);
}

.brand-logo {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.13);
}

.brand-text {
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.customer-header .main-nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.customer-header .main-nav > a,
.customer-header .main-nav > form > .btn {
    padding: 0.48rem 0.62rem;
    min-block-size: 2.75rem;
    font-size: 0.93rem;
}

.customer-header .main-nav > form {
    margin-left: 0.4rem;
}

.customer-header .brand-text {
    font-size: 1.05rem;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 101;
}

.nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.main-nav > a,
.main-nav > form > .btn {
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 600;
    transition: all 0.2s ease;
    min-block-size: 3rem;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.main-nav > .nav-dropdown > .nav-dropdown-trigger {
    padding: 0.55rem 0.55rem 0.55rem 0.75rem;
    border-radius: 999px;
    color: var(--ink-soft);
    font-weight: 600;
    transition: all 0.2s ease;
    min-block-size: 3rem;
}

.nav-dropdown-toggle {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink-soft);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-dropdown-toggle svg {
    width: 1.15rem;
    height: 1.15rem;
}

.nav-dropdown.open .nav-dropdown-toggle {
    transform: rotate(180deg);
}

.nav-dropdown-toggle:hover {
    color: var(--ink);
    background: rgba(15, 118, 110, 0.1);
}

.main-nav > .nav-dropdown > .nav-dropdown-trigger:hover {
    color: var(--ink);
    background: rgba(15, 118, 110, 0.1);
}

.main-nav > .nav-dropdown.active > .nav-dropdown-trigger {
    color: var(--ink);
    background: rgba(15, 118, 110, 0.1);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 14rem;
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 120;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    color: var(--ink-soft);
    font-weight: 600;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    color: var(--ink);
    background: rgba(15, 118, 110, 0.1);
}

@media (max-width: 64rem) {
    .nav-dropdown-menu {
        position: static;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0.25rem 0 0.4rem 0.9rem;
        min-width: 0;
        opacity: 0;
        transform: none;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.18s ease, max-height 0.24s ease;
    }
    .nav-dropdown-menu a {
        padding: 0.55rem 0.75rem;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        pointer-events: auto;
        max-height: 18rem;
    }
}

.main-nav > a.active,
.main-nav > a:hover,
.main-nav > form > .btn:hover {
    color: var(--ink);
    background: rgba(15, 118, 110, 0.1);
}

.main-nav > form {
    margin: 0;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.35rem;
    cursor: pointer;
    min-width: 3rem;
    min-height: 3rem;
}

.menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    margin: 0.3125rem 0;
    border-radius: 0.3125rem;
    background: var(--ink);
}

.menu-toggle.is-open span {
    animation: menuTogglePulse 1.08s ease-in-out infinite;
}

.menu-toggle.is-open span:nth-child(2) {
    animation-delay: 0.08s;
}

.menu-toggle.is-open span:nth-child(3) {
    animation-delay: 0.16s;
}

.hero {
    padding: 2.4rem 0 1.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.2rem;
    align-items: stretch;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero-copy {
    max-width: 64ch;
    font-size: 1.05rem;
}

.hero-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-panel {
    background: linear-gradient(170deg, #0f766e 0%, #134e4a 55%, #0f172a 100%);
    color: white;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    animation: panelFloat 7s ease-in-out infinite;
}

.hero-panel ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.hero-panel li {
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.9);
}

.home-page {
    position: relative;
    overflow-x: clip;
}

.home-hero {
    position: relative;
    padding: 2.5rem 0 1.8rem;
    overflow-x: clip;
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.home-hero::before {
    width: 21.25rem;
    height: 21.25rem;
    top: -8.125rem;
    right: -6.875rem;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.26), rgba(14, 165, 233, 0));
}

.home-hero::after {
    width: 17.5rem;
    height: 17.5rem;
    bottom: -7.5rem;
    left: -5rem;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0));
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 1.2rem;
    align-items: center;
}

.home-hero-copy h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    line-height: 1.04;
    max-width: 17ch;
}

.home-hero-copy .hero-copy {
    max-width: 62ch;
    margin-top: 0.7rem;
}

.home-kpi-row {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.home-kpi {
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(6px);
    padding: 0.7rem 0.78rem;
}

.home-kpi h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.home-kpi p {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-hero-showcase {
    position: relative;
    min-height: 21.25rem;
    display: grid;
    place-items: center;
}

.home-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: orbFloat 8s ease-in-out infinite;
}

.home-orb-one {
    width: 11.875rem;
    height: 11.875rem;
    top: 8%;
    right: 8%;
    background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.75), rgba(15, 118, 110, 0.12));
}

.home-orb-two {
    width: 10.625rem;
    height: 10.625rem;
    bottom: 2%;
    left: 4%;
    animation-delay: -2.2s;
    background: radial-gradient(circle at 35% 35%, rgba(14, 165, 233, 0.75), rgba(14, 165, 233, 0.1));
}

.home-console {
    position: relative;
    width: min(100%, 26.875rem);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(17, 94, 89, 0.9));
    color: #e2fef8;
    padding: 1rem;
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.27);
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
}

.home-console::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.home-console-head {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #99f6e4;
}

.home-console-item {
    margin-top: 0.62rem;
    border: 1px solid rgba(153, 246, 228, 0.2);
    border-radius: 12px;
    padding: 0.62rem 0.65rem;
    background: rgba(15, 23, 42, 0.33);
}

.home-console-item span {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(204, 251, 241, 0.8);
}

.home-console-item strong {
    display: block;
    margin-top: 0.14rem;
    font-size: 0.95rem;
    color: #f8fafc;
}

.home-console-foot {
    margin-top: 0.72rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fef9c3;
}

.home-strip {
    margin: 0.5rem 0 0.3rem;
}

.home-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-strip-item {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    padding: 0.9rem 0.85rem;
    box-shadow: var(--shadow);
}

.home-strip-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0f766e;
    font-weight: 700;
}

.home-strip-item h3 {
    margin: 0.3rem 0 0.28rem;
    font-size: 1.02rem;
}

.home-strip-item p {
    font-size: 0.88rem;
    line-height: 1.45;
}

.home-headline {
    max-width: 70ch;
}

.home-headline p {
    line-height: 1.5;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 0.95rem;
}

.home-service-card {
    position: relative;
    border: 1px solid #d7e2ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.home-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 0.1875rem;
    background: linear-gradient(90deg, #14b8a6, #0284c7, #14b8a6);
    background-size: 200% 100%;
    animation: glowSweep 7s linear infinite;
}

.home-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.14);
    border-color: rgba(14, 116, 144, 0.34);
}

.home-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-weight: 700;
    color: #0f5f82;
    background: rgba(14, 165, 233, 0.16);
}

.home-service-card h3 {
    margin: 0.6rem 0 0.3rem;
}

.home-service-card p {
    line-height: 1.45;
}

.home-price {
    margin-top: 0.74rem;
    color: #0f766e;
    font-weight: 800;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-step {
    border: 1px solid #dbe4ea;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.9rem;
}

.home-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    min-width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    color: #155e75;
    font-weight: 800;
    background: rgba(34, 211, 238, 0.18);
}

.home-step h3 {
    margin-top: 0.55rem;
}

.home-step p {
    line-height: 1.44;
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-review-card {
    border: 1px solid #dbe4ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.home-review-head {
    display: flex;
    align-items: center;
    gap: 0.58rem;
    margin-bottom: 0.56rem;
}

.home-review-avatar {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #d1e2e8;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-review-avatar-fallback {
    font-weight: 800;
    color: #0f766e;
    background: linear-gradient(145deg, #dff4ef 0%, #e6f7ff 100%);
}

.home-review-card .meta {
    margin: 0;
    font-weight: 700;
    color: #334155;
}

.home-review-card .quote {
    color: #0f172a;
    line-height: 1.55;
    margin-top: 0.2rem;
}

.home-cta-card {
    border-radius: 20px;
    border: 1px solid rgba(15, 118, 110, 0.3);
    background: linear-gradient(145deg, #0f172a 0%, #115e59 65%, #0f766e 100%);
    color: #f0fdfa;
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.28);
}

.home-cta-card p,
.home-cta-card h2 {
    color: #f0fdfa;
}

.home-cta-actions {
    display: grid;
    gap: 0.55rem;
    min-width: 11.875rem;
}

.home-cta-card .btn-line {
    border-color: var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.56rem 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-block-size: 3rem;
    min-inline-size: 3rem;
}

.btn-solid {
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-text);
}

.btn-line {
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-text);
}

.nav-auth-btn {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border-color: var(--btn-border) !important;
}

.nav-auth-btn:hover {
    background: var(--btn-bg-hover) !important;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-solid:hover,
.btn-line:hover {
    background: var(--btn-bg-hover);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.btn:active,
.card:active,
.home-service-card:active,
.home-review-card:active,
.home-step:active,
.home-strip-item:active {
    transform: scale(0.98);
    filter: brightness(0.98);
}

.main-nav > a:active,
.admin-nav a:active {
    background: rgba(15, 118, 110, 0.16);
}

.btn.full {
    width: 100%;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 118, 110, 0.24);
}

.card.large {
    padding: 1.2rem;
}

.section-card {
    margin-bottom: 1.1rem;
}

.review .quote {
    color: var(--ink);
    line-height: 1.5;
}

.review .meta,
.meta,
.small {
    margin-top: 0.45rem;
    font-size: 0.85rem;
    color: #64748b;
}

.review-admin-text {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.5;
    color: #1f2937;
}

.price {
    margin-top: 0.85rem;
    color: var(--sea-deep);
    font-weight: 700;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--sea-deep);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.services-page {
    background: linear-gradient(180deg, #f1f6fb 0%, #f8fbfd 34%, #ffffff 100%);
}

.services-hero {
    padding: 1rem 0 0.75rem;
}

.services-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(196, 214, 228, 0.7);
    background:
        linear-gradient(120deg, rgba(13, 27, 55, 0.86) 0%, rgba(20, 39, 71, 0.82) 38%, rgba(13, 35, 70, 0.8) 100%),
        radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 56%),
        radial-gradient(circle at 8% 78%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 48%);
    padding: 2.3rem 2.1rem;
    box-shadow: 0 24px 38px rgba(15, 23, 42, 0.2);
}

.services-hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}

.services-hero-panel > * {
    position: relative;
    z-index: 1;
}

.services-hero-kicker {
    color: rgba(191, 219, 254, 0.95);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 0.76rem;
    margin-bottom: 0.48rem;
}

.services-hero-panel h1 {
    color: #f8fafc;
    margin: 0;
    max-width: 54.375rem;
    font-size: clamp(2rem, 4.7vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.services-hero-panel p {
    margin-top: 0.75rem;
    color: rgba(226, 232, 240, 0.95);
    max-width: 49rem;
    font-size: clamp(1rem, 1.85vw, 1.72rem);
    line-height: 1.42;
}

.services-hero-line {
    display: block;
    width: min(52rem, 92%);
    height: 2px;
    margin: 1.08rem 0 1rem;
    background: linear-gradient(90deg, rgba(248, 113, 113, 0.95) 0%, rgba(239, 68, 68, 0.85) 55%, rgba(239, 68, 68, 0.1) 100%);
}

.services-hero-btn {
    min-width: 12rem;
    color: #e2e8f0;
    border-color: rgba(191, 219, 254, 0.55);
    background: rgba(15, 23, 42, 0.28);
}

.services-hero-btn:hover {
    border-color: rgba(255, 255, 255, 0.82);
    color: #ffffff;
}

.services-list-section {
    padding-top: 0.9rem;
}

.services-headline {
    margin-bottom: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.services-card {
    border-radius: 16px;
    border: 1px solid #d6e3ec;
    background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
}

.services-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}

.services-tag {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    color: #0f4c81;
    font-weight: 700;
    text-transform: uppercase;
}

.services-card h3 {
    margin: 0.18rem 0 0.35rem;
}

.services-desc {
    margin: 0;
}

.services-card-action {
    margin-top: 0.82rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.careers-head {
    text-align: center;
    max-width: 61.25rem;
    margin-left: auto;
    margin-right: auto;
}

.career-list {
    display: grid;
    gap: 1rem;
}

.career-list-polished {
    gap: 1.2rem;
}

.career-card {
    background: #fff;
}

.careers-showcase {
    background: linear-gradient(180deg, #eef5fb 0%, #f8fbfd 72%, #ffffff 100%);
}

.careers-head h1 {
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    letter-spacing: -0.02em;
}

.careers-head p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.career-card-polished {
    border-radius: 18px;
    border: 1px solid #d7e5ee;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    padding: 1.12rem;
}

.career-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.career-role {
    margin-bottom: 0.5rem;
    color: #0f3d73;
}

.career-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
    margin-bottom: 0.46rem;
}

.career-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    background: #ebf5ff;
    border: 1px solid #d4e7f8;
    color: #0f4c81;
    font-size: 0.79rem;
    font-weight: 700;
}

.career-location {
    color: #0d9488;
    font-weight: 700;
    margin-bottom: 0.56rem;
}

.career-meta-grid-polished {
    margin: 0.2rem 0 0.65rem;
}

.career-detail {
    margin: 0.45rem 0 0.24rem;
}

.career-detail-text {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
    color: #1f2937;
}

.career-card-action {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    min-width: 14rem;
}

.career-apply-btn {
    min-width: 12.2rem;
    min-height: 2.95rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d9ad1 0%, #0f5e9f 100%);
    border-color: rgba(10, 66, 124, 0.45);
    box-shadow: 0 14px 24px rgba(13, 103, 170, 0.25);
}

.career-apply-link {
    font-weight: 700;
    color: #0f5e9f;
    font-size: 0.86rem;
    text-decoration: none;
}

.career-apply-link:hover {
    text-decoration: underline;
}

.career-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.career-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem 0.8rem;
    margin-bottom: 0.65rem;
}

.career-meta-grid p,
.career-card p {
    line-height: 1.45;
}

.case-admin-form textarea {
    min-height: 11.5rem;
}

.case-admin-grid {
    display: grid;
    gap: 0.9rem;
}

.case-admin-card {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.case-admin-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d7e4ec;
    background: #f8fbff;
    aspect-ratio: 4 / 3;
}

.case-admin-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-admin-body {
    display: grid;
    gap: 0.5rem;
}

.case-admin-body h4 {
    margin: 0;
}

.case-admin-text {
    margin: 0;
    color: #334155;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.case-admin-comments {
    border-top: 1px solid #dde7ef;
    padding-top: 0.6rem;
    margin-top: 0.2rem;
    display: grid;
    gap: 0.5rem;
}

.case-admin-comments h5 {
    margin: 0;
    font-size: 0.92rem;
}

.case-admin-comment-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: start;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem;
    background: #f8fbff;
}

.case-admin-comment-meta {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
}

.case-admin-comment-text {
    margin: 0.22rem 0 0;
    color: #1f2937;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.case-public-page {
    background: linear-gradient(180deg, #f3f6fb 0%, #f7f9fc 45%, #ffffff 100%);
}

.case-public-hero {
    padding-bottom: 0.4rem;
}

.case-public-head {
    text-align: center;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.case-public-list-wrap {
    padding-top: 0.25rem;
}

.case-public-item {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.72fr);
    gap: 1rem;
    align-items: start;
    border-radius: 20px;
    border: 1px solid #dae3ec;
    background: linear-gradient(180deg, #f9fbfd 0%, #f1f4f8 100%);
    padding: 1.5rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.1rem;
}

.case-public-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-radial-gradient(circle at -5% 42%, rgba(255, 255, 255, 0.75) 0 3px, rgba(255, 255, 255, 0) 3px 18px);
    opacity: 0.35;
    pointer-events: none;
}

.case-public-content,
.case-public-media {
    position: relative;
    z-index: 1;
}

.case-public-content h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3.1vw, 2.95rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.case-public-byline {
    margin: 0.75rem 0 0.12rem;
    font-size: 1.02rem;
    color: #1f2937;
}

.case-public-date {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
}

.case-public-divider {
    width: min(100%, 42rem);
    height: 2px;
    margin: 0.8rem 0 0.9rem;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.92) 0%, rgba(239, 68, 68, 0.06) 100%);
}

.case-public-content h3 {
    margin-bottom: 0.45rem;
    color: #ef4444;
    font-size: 1.04rem;
}

.case-public-text {
    margin: 0;
    color: #374151;
    line-height: 1.52;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.case-public-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d8e4ed;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.case-public-media img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
    display: block;
}

.case-public-list-item .case-public-text {
    margin-top: 0.6rem;
}

.case-public-list-foot {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #0f4c81;
    font-weight: 700;
}

.case-public-read-btn {
    margin-top: 0.7rem;
}

.case-detail-title {
    margin: 0;
    font-size: clamp(1.65rem, 3.4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.case-detail-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.case-detail-count {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f4c81;
}

.case-comment-section {
    margin-top: 0.8rem;
}

.case-comment-form {
    margin-top: 0.7rem;
}

.case-comment-list {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.6rem;
}

.case-comment-item {
    border-radius: 12px;
}

.case-comment-meta {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 700;
}

.case-comment-text {
    margin: 0.36rem 0 0;
    color: #1f2937;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.case-detail-back {
    margin-top: 0.75rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0.8rem 0;
}

.map-frame {
    width: 100%;
    height: 20rem;
    border: 0;
    border-radius: var(--radius-sm);
    margin-top: 0.6rem;
    box-shadow: var(--shadow);
}

.profile .avatar {
    width: 3.625rem;
    height: 3.625rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dceef2;
    color: var(--sea);
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.profile .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-page-grid {
    align-items: start;
}

.profile-card {
    display: grid;
    gap: 0.75rem;
}

.profile-avatar-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.profile-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #cfd9e2;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-fallback {
    color: #0f766e;
    font-weight: 800;
    font-size: 1.55rem;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.form-grid > .btn {
    grid-column: span 2;
    justify-self: flex-start;
}

.form-grid .span-2 {
    grid-column: span 2;
}

.inline-code {
    display: inline-block;
    border: 1px solid #d6e1ea;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    background: #f8fbff;
    font-size: 0.84rem;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.exam-builder-form {
    display: grid;
    gap: 1rem;
}

.exam-builder-parts {
    display: grid;
    gap: 0.9rem;
}

.exam-part {
    border: 1px solid #dce5ed;
    border-radius: 12px;
    padding: 0.85rem;
    background: #f8fbff;
}

.exam-part-head,
.exam-question-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.exam-questions {
    display: grid;
    gap: 0.7rem;
}

.exam-question {
    border: 1px dashed #cfdbe7;
    border-radius: 10px;
    padding: 0.7rem;
    background: #ffffff;
}

.mcq-options-editor {
    display: grid;
    gap: 0.45rem;
}

.mcq-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.mcq-option-row {
    display: grid;
}

.mcq-option-input {
    width: 100%;
}

.exam-question.mcq-enhanced .mcq-options-fallback {
    display: none;
}

.exam-answer-card {
    margin-bottom: 0.6rem;
}

.exam-option-list {
    margin: 0.4rem 0;
    padding-left: 1.1rem;
}

.exam-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.exam-option input {
    width: auto;
    margin: 0;
}

.exam-candidate-question {
    border-top: 1px solid #e4eaf1;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.94rem;
    min-width: 0;
}

input,
select,
textarea {
    border: 1px solid #cfd9e2;
    border-radius: var(--radius-sm);
    padding: 0.66rem 0.72rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.career-apply-form {
    min-width: 0;
}

.career-apply-form label,
.career-apply-form .span-2 {
    min-width: 0;
}

.career-apply-form input,
.career-apply-form select,
.career-apply-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.career-position-select {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(15, 118, 110, 0.2);
    border-color: var(--sea);
}

.error {
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
}

.alert {
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.alert.success {
    background: rgba(16, 185, 129, 0.14);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.24);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 0.95rem 1rem;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--sea-deep);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 43.75rem;
}

th,
td {
    padding: 0.72rem;
    border-bottom: 1px solid #e5ebf0;
    text-align: left;
    vertical-align: top;
}

th {
    font-family: "Space Grotesk", sans-serif;
    color: #1e293b;
    background: #f7fbff;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.offer-preview {
    max-width: 57.5rem;
    margin: 0 auto;
    border: 1px solid #d8e3ea;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 1.15rem 1.3rem;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.offer-logo {
    width: 10.625rem;
    height: auto;
}

.offer-contact {
    text-align: right;
}

.offer-contact p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 700;
}

.offer-divider {
    height: 0.125rem;
    margin: 0.9rem 0 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2ac8bc, #0f766e);
}

.offer-body {
    display: grid;
    gap: 0.6rem;
}

.offer-body p {
    color: #1f2937;
    line-height: 1.56;
}

.offer-body h3 {
    margin: 0.45rem 0 0.15rem;
    font-size: 1.02rem;
}

.offer-body ul {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.28rem;
}

.offer-body li {
    color: #1f2937;
    line-height: 1.45;
}

.offer-date {
    text-align: right;
    color: #0f172a;
    font-weight: 700;
}

.inline-form,
.upload-inline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.customer-inline-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: center;
}

.customer-mini {
    display: flex;
    align-items: center;
    gap: 0.62rem;
}

.customer-mini-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #c7dce4;
    background: #eff5f9;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.customer-mini-avatar-fallback {
    color: #0f766e;
    font-weight: 800;
    background: linear-gradient(145deg, #dff4ef 0%, #e6f7ff 100%);
}

.customer-mini-meta {
    display: grid;
    gap: 0.08rem;
}

.customer-mini-meta strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.customer-mini-meta span {
    font-size: 0.83rem;
    color: #64748b;
}

.status {
    display: inline-block;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    text-transform: uppercase;
}

.status-assigned {
    background: rgba(245, 158, 11, 0.18);
    color: #9a6700;
}

.status-in_progress {
    background: rgba(14, 165, 233, 0.18);
    color: #0369a1;
}

.status-completed {
    background: rgba(16, 185, 129, 0.2);
    color: #047857;
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.footer-shell {
    min-height: 4.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.86rem;
    flex-wrap: wrap;
    padding: 0.7rem 0;
}

.footer-meta {
    display: grid;
    gap: 0.15rem;
    margin: 0;
}

.footer-meta p {
    margin: 0;
    color: rgba(15, 23, 42, 0.78);
}

.footer-social {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social a {
    text-decoration: none;
    color: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 190, 232, 0.6);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
}

.admin-layout {
    display: grid;
    grid-template-columns: 19.25rem 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background:
        radial-gradient(circle at 16% 8%, rgba(45, 212, 191, 0.2), transparent 45%),
        linear-gradient(176deg, #0c1427 0%, #0a2f33 54%, #0b273b 100%);
    color: #d3f7f2;
    padding: 1rem 0.82rem 1rem 0.95rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: inset -1px 0 0 rgba(148, 163, 184, 0.18), 16px 0 32px rgba(2, 6, 23, 0.14);
}

.admin-brand {
    margin-bottom: 0;
    color: #ecfeff;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.5rem 0.62rem;
}

.admin-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.admin-sidebar-subtitle {
    margin: 0;
    padding: 0 0.16rem;
    font-size: 0.72rem;
    color: #b2ebe2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 700;
}

.admin-brand .brand-logo {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
}

.admin-brand .brand-text {
    color: #ecfeff;
}

.admin-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0.55rem;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    line-height: 1;
}

.admin-menu-toggle span {
    display: block;
    width: 1.28rem;
    height: 0.14rem;
    border-radius: 999px;
    background: #d7fcf7;
    margin: 0;
}

.admin-menu-toggle.is-open span {
    animation: menuTogglePulse 1.08s ease-in-out infinite;
}

.admin-menu-toggle.is-open span:nth-child(2) {
    animation-delay: 0.08s;
}

.admin-menu-toggle.is-open span:nth-child(3) {
    animation-delay: 0.16s;
}

.admin-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.74rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.34rem;
}

.admin-sidebar-menu::-webkit-scrollbar {
    width: 0.42rem;
}

.admin-sidebar-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.42);
}

.admin-nav-group {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.46rem;
}

.admin-nav-label {
    margin: 0 0 0.42rem;
    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #a7dcd5;
    font-weight: 700;
}

.admin-nav {
    display: grid;
    gap: 0.24rem;
}

.admin-nav a {
    padding: 0.5rem 0.62rem;
    border-radius: 9px;
    color: #d9fbf7;
    font-weight: 600;
    font-size: 0.86rem;
    border: 1px solid transparent;
    background: rgba(2, 6, 23, 0.18);
    transition: all 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(59, 130, 246, 0.2));
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateX(1px);
}

.admin-logout {
    margin-top: auto;
    padding-top: 0.3rem;
}

.admin-logout .btn {
    border-color: rgba(226, 232, 240, 0.42);
    color: #e6fffb;
    background: rgba(15, 23, 42, 0.4);
}

.admin-main {
    padding: 1.35rem;
}

.avatar-mini {
    width: 2.625rem;
    height: 2.625rem;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.chat-admin-layout {
    display: grid;
    grid-template-columns: 18.125rem 1fr;
    gap: 1rem;
    align-items: start;
}

.thread-list {
    position: sticky;
    top: 1rem;
}

.thread-list-body {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.thread-item {
    display: grid;
    gap: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.65rem 0.7rem;
    background: #fff;
    transition: all 0.2s ease;
}

.thread-item span,
.thread-item small {
    color: #64748b;
    font-size: 0.85rem;
}

.thread-item.active,
.thread-item:hover {
    border-color: rgba(15, 118, 110, 0.45);
    background: rgba(15, 118, 110, 0.08);
}

.thread-item.disabled {
    pointer-events: none;
    color: #94a3b8;
}

.chat-card {
    display: grid;
    gap: 0.8rem;
}

.chat-history {
    display: grid;
    gap: 0.72rem;
    max-height: 56vh;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.chat-row {
    display: flex;
}

.chat-row.self {
    justify-content: flex-end;
}

.chat-row.admin,
.chat-row.customer {
    justify-content: flex-start;
}

.chat-bubble {
    width: min(100%, 38.75rem);
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0.68rem 0.78rem;
}

.chat-row.self .chat-bubble {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.3);
}

.chat-meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 0.3rem;
}

.chat-time {
    margin-top: 0.45rem;
    font-size: 0.76rem;
    color: #64748b;
}

.chat-attachment {
    display: inline-flex;
    margin-top: 0.45rem;
    padding: 0.24rem 0.52rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f5f82;
    background: rgba(14, 165, 233, 0.14);
}

.chat-form {
    display: grid;
    gap: 0.6rem;
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}

.chat-form-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chat-form-row input[type=\"file\"] {
    flex: 1;
}

.customer-chat-shell {
    width: min(96%, 72rem);
}

.customer-chat-window {
    border: 1px solid #d7e0e8;
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    background: #e9eef1;
    height: calc(100dvh - 10rem);
    max-height: 50rem;
    min-height: 34rem;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}

.customer-chat-head {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 0.78rem 0.95rem;
    border-bottom: 1px solid #d6dee6;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.customer-chat-head h1 {
    margin: 0;
    font-size: 1.12rem;
    color: #0f172a;
}

.customer-chat-head p {
    margin-top: 0.1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.customer-chat-secure {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #166534;
    background: rgba(34, 197, 94, 0.13);
    border: 1px solid rgba(22, 163, 74, 0.22);
    border-radius: 999px;
    padding: 0.28rem 0.56rem;
    white-space: nowrap;
}

.customer-chat-secure svg {
    width: 0.86rem;
    height: 0.86rem;
    fill: currentColor;
}

.customer-chat-stream {
    min-height: 0;
    overflow-y: auto;
    padding: 0.92rem 0.92rem 1rem;
    display: grid;
    align-content: start;
    gap: 0.62rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.06), rgba(15, 118, 110, 0) 44%),
        radial-gradient(circle at 88% 82%, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0) 42%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0.24) 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px),
        #e6edf1;
}

.customer-chat-empty {
    display: flex;
    justify-content: flex-start;
}

.customer-chat-row {
    display: flex;
}

.customer-chat-row-self {
    justify-content: flex-end;
}

.customer-chat-row-admin {
    justify-content: flex-start;
}

.customer-chat-bubble {
    max-width: min(37.5rem, 80%);
    border-radius: 12px;
    padding: 0.55rem 0.68rem 0.48rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.customer-chat-bubble-admin {
    background: #ffffff;
    border: 1px solid #d8e1ea;
    border-top-left-radius: 5px;
}

.customer-chat-bubble-admin::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #ffffff;
}

.customer-chat-bubble-self {
    background: #22c55e;
    border: 1px solid #16a34a;
    border-top-right-radius: 5px;
}

.customer-chat-bubble-self::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #22c55e;
}

.customer-chat-meta {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f766e;
}

.customer-chat-bubble-self .customer-chat-meta {
    color: rgba(255, 255, 255, 0.95);
}

.customer-chat-text {
    margin: 0;
    line-height: 1.42;
    white-space: pre-wrap;
    font-size: 0.91rem;
    color: #0f172a;
}

.customer-chat-bubble-self .customer-chat-text {
    color: #ffffff;
}

.customer-chat-attachment {
    display: inline-flex;
    margin-top: 0.42rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 700;
    color: #0f5f82;
    background: rgba(14, 165, 233, 0.14);
}

.customer-chat-bubble-self .customer-chat-attachment {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.2);
}

.customer-chat-time {
    margin: 0.34rem 0 0;
    text-align: right;
    font-size: 0.69rem;
    color: #64748b;
}

.customer-chat-bubble-self .customer-chat-time {
    color: rgba(236, 253, 245, 0.94);
}

.customer-chat-compose {
    position: sticky;
    bottom: 0;
    z-index: 4;
    border-top: 1px solid #d6dee6;
    background: #f7fafc;
    padding: 0.58rem 0.72rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 0.5rem;
}

.customer-chat-clip {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 1px solid #d0d9e2;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #526170;
    cursor: pointer;
}

.customer-chat-clip input {
    display: none;
}

.customer-chat-clip svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.customer-chat-input {
    resize: none;
    min-height: 2.3rem;
    max-height: 9.4rem;
    border: 1px solid #d0d9e2;
    border-radius: 18px;
    padding: 0.52rem 0.74rem;
    font: inherit;
    line-height: 1.36;
    background: #ffffff;
}

.customer-chat-send {
    width: 2.3rem;
    height: 2.3rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f766e, #0d5f58);
    color: #ffffff;
    cursor: pointer;
}

.customer-chat-send svg {
    width: 0.98rem;
    height: 0.98rem;
    fill: currentColor;
}

.support-page {
    display: grid;
    gap: 0.5rem;
}

.support-dashboard {
    border: 1px solid #d9e2ea;
    border-radius: 14px;
    background: #e9edef;
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.09);
    height: calc(100vh - 2.3rem);
    min-height: 36rem;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.support-topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #f0f2f5;
    border-bottom: 1px solid #d7dee6;
    padding: 0.78rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.support-topbar h1 {
    margin: 0;
    font-size: 1.12rem;
    color: #0f172a;
}

.support-topbar p {
    margin-top: 0.12rem;
    font-size: 0.81rem;
    color: #64748b;
}

.support-workspace {
    position: relative;
    min-height: 0;
    height: 100%;
}

.support-chat-pane {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    transition: margin-right 0.22s ease;
}

.support-dashboard.task-open .support-chat-pane {
    margin-right: 23rem;
}

.support-chat-stream {
    min-height: 0;
    overflow-y: auto;
    padding: 1rem;
    display: grid;
    align-content: start;
    gap: 0.6rem;
    background:
        linear-gradient(180deg, rgba(244, 247, 248, 0.95) 0%, rgba(236, 243, 245, 0.95) 100%),
        radial-gradient(circle at 10% 12%, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0));
}

.support-empty {
    background: #ffffff;
    border: 1px solid #d5dde6;
    border-radius: 10px;
    padding: 0.8rem;
    color: #64748b;
}

.support-msg {
    display: flex;
}

.support-msg-admin {
    justify-content: flex-start;
}

.support-msg-employee {
    justify-content: flex-end;
}

.support-bubble {
    max-width: min(34rem, 88%);
    border-radius: 10px;
    padding: 0.55rem 0.62rem 0.5rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08);
}

.support-bubble-admin {
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-top-left-radius: 4px;
}

.support-bubble-admin::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid #ffffff;
}

.support-bubble-employee {
    background: #dcf8c6;
    border: 1px solid #bfe4a4;
    border-top-right-radius: 4px;
}

.support-bubble-employee::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #dcf8c6;
}

.support-sender {
    margin: 0 0 0.18rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1e3a8a;
}

.support-message-text {
    margin: 0;
    color: #0f172a;
    line-height: 1.42;
    white-space: pre-wrap;
    font-size: 0.9rem;
}

.support-message-foot {
    margin-top: 0.28rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.48rem;
    align-items: center;
}

.support-time {
    font-size: 0.69rem;
    color: #4b5563;
}

.support-delete-btn {
    border: 0;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 700;
    color: #9f1239;
    background: rgba(251, 113, 133, 0.16);
    padding: 0.16rem 0.48rem;
    cursor: pointer;
}

.support-inputbar {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 0.5rem;
    padding: 0.6rem 0.72rem;
    border-top: 1px solid #d7dee6;
    background: #f0f2f5;
}

.support-clip-btn {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 1px solid #d0d7df;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.02rem;
    color: #52616f;
}

.support-clip-btn input {
    display: none;
}

.support-inputbar textarea {
    resize: none;
    min-height: 2.3rem;
    max-height: 9rem;
    border: 1px solid #d0d7df;
    border-radius: 18px;
    padding: 0.52rem 0.72rem;
    font: inherit;
    background: #ffffff;
    line-height: 1.36;
}

.support-send-btn {
    width: 2.3rem;
    height: 2.3rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #0f766e, #0f5d56);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.support-send-btn svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.support-task-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 23rem;
    background: #ffffff;
    border-left: 1px solid #d9e2ea;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    z-index: 5;
    display: grid;
    grid-template-rows: auto 1fr;
}

.support-dashboard.task-open .support-task-panel {
    transform: translateX(0);
}

.support-task-head {
    padding: 0.72rem 0.74rem;
    border-bottom: 1px solid #d9e2ea;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.support-task-head h3 {
    margin: 0;
    font-size: 0.95rem;
}

.support-task-close {
    border: 1px solid #d5dde6;
    background: #ffffff;
    color: #475569;
    border-radius: 8px;
    width: 1.95rem;
    height: 1.95rem;
    font-size: 1rem;
    cursor: pointer;
}

.support-task-form {
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem;
    display: grid;
    gap: 0.64rem;
}

.support-task-form label {
    display: grid;
    gap: 0.28rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.support-task-form input[type=\"text\"],
.support-task-form textarea {
    border: 1px solid #d0d7df;
    border-radius: 10px;
    font: inherit;
    padding: 0.52rem 0.62rem;
}

.support-upload-btn {
    border: 1px dashed #90a3b8;
    border-radius: 10px;
    padding: 0.6rem;
    font-size: 0.82rem;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
}

.support-upload-btn input {
    display: none;
}

.support-task-box {
    border: 1px solid #d7defa;
    background: #f7f8ff;
    border-radius: 10px;
    padding: 0.45rem 0.52rem;
    margin: 0.3rem 0;
}

.support-task-title {
    margin: 0;
    color: #312e81;
    font-weight: 800;
    font-size: 0.86rem;
}

.support-task-desc {
    margin-top: 0.18rem;
    color: #4b5563;
    font-size: 0.82rem;
    line-height: 1.38;
}

.support-task-assignees {
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.support-assignee {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.16rem 0.44rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #e6f4ea;
    color: #166534;
}

.support-assignee-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    max-height: 11rem;
    overflow-y: auto;
    border: 1px solid #d0d7df;
    border-radius: 10px;
    padding: 0.5rem;
    background: #fbfcfd;
}

.support-assignee-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.81rem;
    color: #334155;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.54s ease, transform 0.54s ease;
}

.card.reveal.is-visible,
.home-service-card.reveal.is-visible,
.home-review-card.reveal.is-visible,
.home-step.reveal.is-visible {
    animation: cardFadeUp 0.46s ease both;
}

body.employee-surface {
    background: #eef0f4;
    animation: none;
}

.employee-ui {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 17rem 1fr;
    background: #eef0f4;
}

.employee-menu-toggle {
    display: none;
}

.employee-nav-backdrop {
    display: none;
}

.employee-sidebar {
    background: linear-gradient(180deg, #f7f8fa 0%, #f2f3f6 100%);
    border-right: 1px solid #dbe0e7;
    padding: 1rem;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.employee-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.employee-brand-name {
    color: #0f172a;
    margin: 0;
    font-weight: 700;
}

.employee-brand small {
    color: #6b7280;
    font-weight: 600;
}

.employee-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    border: 1px solid #d9dfe8;
    border-radius: 0.75rem;
    padding: 0.6rem;
}

.employee-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(145deg, #7c8cff, #5fb8ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    flex-shrink: 0;
}

.employee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-user strong {
    display: block;
    font-size: 0.89rem;
    color: #0f172a;
}

.employee-user small {
    color: #6b7280;
    font-size: 0.76rem;
}

.employee-nav-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7c8798;
}

.employee-nav {
    display: grid;
    gap: 0.3rem;
}

.employee-nav a {
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.55rem 0.62rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.2s ease;
}

.employee-nav a:hover {
    background: #eceffd;
    color: #4f46e5;
}

.employee-nav a.active {
    background: #ecebfd;
    color: #4f46e5;
    border-color: #d9d7ff;
}

.employee-upgrade {
    margin-top: 0.45rem;
    border-radius: 0.85rem;
    padding: 0.9rem 0.85rem;
    background: linear-gradient(130deg, #7473ff 0%, #56a4ff 100%);
    color: #f8fbff;
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
}

.employee-upgrade p {
    color: #ffffff;
    margin: 0 0 0.2rem;
    font-weight: 700;
}

.employee-upgrade small {
    display: block;
    color: rgba(246, 250, 255, 0.92);
    font-size: 0.77rem;
    line-height: 1.4;
    margin-bottom: 0.58rem;
}

.employee-upgrade button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    height: 2.2rem;
    font-weight: 700;
    color: #4338ca;
    background: #ffffff;
    cursor: pointer;
}

.employee-logout {
    margin-top: auto;
}

.employee-logout button {
    width: 100%;
    border: 1px solid #f0b3b3;
    border-radius: 0.7rem;
    background: #fff6f6;
    color: #b42318;
    font-weight: 700;
    height: 2.5rem;
    cursor: pointer;
}

.employee-main {
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.employee-header {
    background: #f3f4f7;
    border: 1px solid #dce1e9;
    border-radius: 0.7rem;
    padding: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.employee-header h1 {
    margin: 0;
    font-size: clamp(1.35rem, 1.14rem + 1vw, 1.75rem);
}

.employee-header p {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: #6b7280;
}

.employee-search {
    min-width: 17rem;
}

.employee-search input {
    width: 100%;
    border: 1px solid #d8dee7;
    background: #ffffff;
    border-radius: 0.6rem;
    height: 2.35rem;
    padding: 0 0.75rem;
    font: inherit;
}

.employee-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.employee-kpi-card {
    background: #ffffff;
    border: 1px solid #dce2ea;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.employee-kpi-card h3 {
    margin: 0;
    font-size: 0.88rem;
}

.employee-kpi-card strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 2rem;
    line-height: 1;
}

.employee-kpi-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.employee-kpi-link:hover,
.employee-kpi-link:focus-visible {
    text-decoration: underline;
}

.employee-kpi-card p {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #7a8699;
}

.public-announcement {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 9999;
}

.public-announcement.is-open {
    opacity: 1;
    pointer-events: auto;
}

.public-announcement-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 18, 0.56);
    backdrop-filter: blur(6px);
}

.public-announcement-card {
    position: relative;
    width: min(560px, 100%);
    padding: 1.25rem 1.25rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background:
            radial-gradient(120% 120% at 20% 10%, rgba(2, 74, 52, 0.92) 0%, rgba(7, 19, 15, 0.96) 55%, rgba(7, 12, 18, 0.98) 100%),
            linear-gradient(140deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0));
    color: #f6f3ea;
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.55);
    transform: translateY(18px) scale(0.98);
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.public-announcement.is-open .public-announcement-card {
    transform: translateY(0) scale(1);
}

.public-announcement-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
    color: #f6f3ea;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.public-announcement-close:hover {
    background: rgba(0, 0, 0, 0.35);
}

.public-announcement-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-right: 2.25rem;
}

.public-announcement-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.public-announcement-moon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 25%, rgba(255, 232, 160, 1) 0%, rgba(212, 175, 55, 1) 65%, rgba(120, 85, 12, 1) 100%);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.14);
}

.public-announcement-brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.public-announcement-eyebrow {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: rgba(246, 243, 234, 0.7);
}

.public-announcement-card h3 {
    margin: 0.9rem 0 0.55rem;
    font-size: 1.6rem;
    line-height: 1.15;
}

.public-announcement-message {
    margin: 0;
    color: rgba(246, 243, 234, 0.88);
    font-size: 0.98rem;
    line-height: 1.55;
    white-space: pre-line;
}

.public-announcement-dismiss {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(246, 243, 234, 0.82);
}

.public-announcement-dismiss input {
    width: 1.05rem;
    height: 1.05rem;
}

.public-announcement-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

@media (max-width: 520px) {
    .public-announcement-card {
        padding: 1.1rem 1.05rem 1rem;
    }
    .public-announcement-card h3 {
        font-size: 1.35rem;
    }
}

.service-points {
    border: 1px solid #dce2ea;
    border-radius: 0.85rem;
    padding: 0.85rem;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.92), #ffffff);
}

.service-points-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.service-points-sub {
    margin: 0.35rem 0 0.75rem;
    color: #6b7686;
    font-size: 0.9rem;
}

.service-points-list {
    display: grid;
    gap: 0.55rem;
}

.service-point-row {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(8, 33, 66, 0.12);
    background: rgba(255, 255, 255, 0.85);
}

.service-point-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
}

.service-point-remove {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(8, 33, 66, 0.15);
    background: rgba(8, 33, 66, 0.04);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.service-point-remove:hover {
    background: rgba(8, 33, 66, 0.08);
}

.employee-kpi-card .up {
    color: #12a150;
    font-weight: 700;
}

.employee-kpi-card .down {
    color: #c53030;
    font-weight: 700;
}

.employee-analytics {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
    gap: 0.75rem;
}

.employee-panel {
    background: #ffffff;
    border: 1px solid #dce2ea;
    border-radius: 0.75rem;
    padding: 0.82rem;
}

.employee-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
}

.employee-panel-head h3 {
    margin: 0;
    font-size: 0.96rem;
}

.employee-panel-head p {
    margin-top: 0.18rem;
    font-size: 0.79rem;
    color: #7f8898;
}

.employee-panel-head button,
.employee-table-controls button {
    border: 1px solid #d6dce6;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    border-radius: 0.55rem;
    padding: 0.4rem 0.52rem;
    cursor: pointer;
}

.employee-hours-main strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-top: 0.64rem;
}

.employee-hours-main p {
    margin-top: 0.22rem;
    font-size: 0.82rem;
}

.employee-line-chart {
    margin-top: 0.72rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.62rem;
    padding: 0.68rem;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
}

.employee-mid-line {
    position: absolute;
    left: 0.68rem;
    right: 0.68rem;
    top: 50%;
    border-top: 1px dashed #4f46e5;
    opacity: 0.5;
}

.employee-line-bars {
    height: 9.25rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    align-items: end;
}

.employee-line-bars span {
    border-radius: 0.32rem 0.32rem 0 0;
    background: linear-gradient(180deg, rgba(87, 88, 229, 0.9) 0%, rgba(87, 88, 229, 0.3) 100%);
    height: var(--h);
}

.employee-line-labels {
    margin-top: 0.33rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.employee-line-labels small {
    text-align: center;
    color: #8a94a7;
    font-size: 0.75rem;
}

.employee-month-meta {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.employee-month-meta small {
    display: block;
    color: #7c8798;
    font-size: 0.78rem;
}

.employee-month-meta strong {
    display: block;
    font-size: 1.45rem;
    margin-top: 0.2rem;
}

.employee-month-bars {
    margin-top: 0.86rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    align-items: end;
}

.employee-month-item {
    border: 1px solid #e1e6ee;
    border-radius: 0.62rem;
    padding: 0.6rem 0.44rem 0.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.32rem;
    align-items: end;
    justify-items: center;
    min-height: 8.8rem;
}

.employee-month-item .work,
.employee-month-item .overtime {
    width: 100%;
    border-radius: 0.3rem 0.3rem 0 0;
    height: var(--h);
}

.employee-month-item .work {
    background: #5758e5;
}

.employee-month-item .overtime {
    background: #4ab7d6;
}

.employee-month-item small {
    grid-column: span 2;
    margin-top: 0.24rem;
    color: #8a94a7;
    font-size: 0.74rem;
    text-align: center;
}

.employee-team .table-wrap {
    margin-top: 0.7rem;
    border: 1px solid #dce2ea;
    border-radius: 0.65rem;
    background: #ffffff;
}

.employee-table-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.employee-team th,
.employee-team td {
    font-size: 0.84rem;
    padding: 0.6rem;
}

.employee-team td {
    color: #334155;
}

.employee-dept-tag {
    display: inline-flex;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: #e8f7ef;
    color: #177245;
    font-size: 0.74rem;
    font-weight: 700;
}

.employee-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.employee-status-full {
    background: #eef2ff;
    color: #4338ca;
}

.employee-status-remote {
    background: #fff7ed;
    color: #9a3412;
}

@media (max-width: 64rem) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-hero-panel {
        padding: 1.5rem 1.15rem;
    }

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

    .home-hero-grid,
    .home-cta-card {
        grid-template-columns: 1fr;
    }

    .home-cta-actions {
        min-width: 0;
        width: 100%;
    }

    .home-cta-actions .btn {
        width: 100%;
    }

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

    .home-strip-grid,
    .home-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    }

    .case-admin-card,
    .case-public-item {
        grid-template-columns: 1fr;
    }

    .case-public-media {
        order: -1;
    }

    .case-admin-comment-row {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .split-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .career-meta-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        height: auto;
        position: sticky;
        top: 0;
        z-index: 190;
        border-right: 0;
        border-bottom: 1px solid rgba(236, 254, 255, 0.14);
        padding: 0.72rem 0.78rem;
        overflow: visible;
    }

    .admin-sidebar-subtitle {
        display: none;
    }

    .admin-sidebar-top {
        min-height: 3rem;
        width: 100%;
    }

    .admin-sidebar-top .admin-brand {
        margin-bottom: 0;
        flex: 1 1 auto;
        min-width: 0;
    }

    .admin-brand .brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        flex: 0 0 auto;
        background: rgba(236, 254, 255, 0.18);
        border-color: rgba(236, 254, 255, 0.45);
    }

    .admin-sidebar-menu {
        position: absolute;
        left: 0.55rem;
        right: 0.55rem;
        top: calc(100% - 0.1rem);
        background: linear-gradient(170deg, #0f172a 0%, #0b3a36 100%);
        border: 1px solid rgba(236, 254, 255, 0.18);
        border-radius: 0.85rem;
        box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.34);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-0.35rem) scale(0.985);
        transform-origin: top;
        transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.2s ease;
        margin-top: 0;
        padding: 0;
    }

    .admin-sidebar-menu.open {
        max-height: min(70dvh, 32rem);
        opacity: 1;
        overflow-y: auto;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        padding: 0.4rem;
    }

    .admin-nav-group {
        border-radius: 10px;
        padding: 0.4rem;
    }

    .admin-main {
        padding: 1rem 0.8rem;
    }

    .admin-main .stat-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .admin-main .stat-card {
        min-height: 0;
        padding: 0.85rem;
    }

    .admin-main .stat-card h3 {
        font-size: 1.75rem;
    }

    .admin-main .card,
    .admin-main .form-card {
        padding: 0.9rem;
    }

    .admin-main .action-row {
        flex-wrap: wrap;
    }

    .employee-ui {
        display: block;
        min-height: 100dvh;
    }

    .employee-menu-toggle {
        position: fixed;
        top: 0.85rem;
        left: 0.85rem;
        width: 3rem;
        height: 3rem;
        border-radius: 12px;
        border: 1px solid #d8dfe7;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.28rem;
        z-index: 240;
    }

    .employee-menu-toggle span {
        width: 1.2rem;
        height: 0.13rem;
        border-radius: 999px;
        background: #334155;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .employee-ui.employee-nav-open .employee-menu-toggle span:nth-child(1) {
        transform: translateY(0.41rem) rotate(45deg);
    }

    .employee-ui.employee-nav-open .employee-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .employee-ui.employee-nav-open .employee-menu-toggle span:nth-child(3) {
        transform: translateY(-0.41rem) rotate(-45deg);
    }

    .employee-nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.44);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 220;
        display: block;
    }

    .employee-ui.employee-nav-open .employee-nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .employee-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(86vw, 18rem);
        z-index: 230;
        gap: 0.72rem;
        overflow-y: auto;
        box-shadow: 18px 0 34px rgba(15, 23, 42, 0.24);
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .employee-ui.employee-nav-open .employee-sidebar {
        transform: translateX(0);
    }

    .employee-nav {
        grid-template-columns: 1fr;
    }

    .employee-upgrade {
        display: none;
    }

    .employee-main {
        padding: 4.5rem 0.86rem 0.86rem;
    }

    .employee-kpis,
    .employee-analytics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-team .table-wrap {
        overflow-x: auto;
    }

    .employee-team table {
        min-width: 38rem;
    }

    .support-dashboard {
        height: calc(100vh - 1.7rem);
        min-height: 32rem;
    }

    .support-dashboard.task-open .support-chat-pane {
        margin-right: 20rem;
    }

    .support-task-panel {
        width: 20rem;
    }

    .footer-shell {
        justify-content: center;
        text-align: center;
    }

    .chat-admin-layout {
        grid-template-columns: 1fr;
    }

    .thread-list {
        position: relative;
        top: auto;
    }

    .customer-chat-window {
        height: calc(100dvh - 8.9rem);
        max-height: none;
        min-height: 30rem;
    }

    .customer-chat-bubble {
        max-width: 86%;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.9rem;
        height: 2.9rem;
        padding: 0.3rem;
        border-radius: 14px;
        background: rgba(15, 23, 42, 0.58);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.12);
        gap: 0.24rem;
    }

    .menu-toggle span {
        display: block;
        width: 1.45rem;
        height: 0.16rem;
        margin: 0.18rem 0;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .menu-toggle.is-open span {
        animation: menuTogglePulse 1.08s ease-in-out infinite;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        width: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 0.75rem;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        display: flex;
        max-height: min(75dvh, calc(100dvh - 5.25rem));
        overflow-y: auto;
        opacity: 1;
        transform-origin: top center;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        visibility: visible;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        z-index: 220;
    }

    .js-nav-enabled .main-nav {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        pointer-events: none;
        visibility: hidden;
    }

    .js-nav-enabled .main-nav.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        visibility: visible;
    }

    .main-nav > a,
    .main-nav > form > .btn {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        min-height: 3rem;
        padding-left: 0.85rem;
    }

    .main-nav > form {
        width: 100%;
    }

    .main-nav > form > .btn {
        border-radius: 12px;
    }
}

@media (max-width: 51.25rem) {
    .site-header .shell.nav-shell {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-header {
        z-index: 160;
    }

    .shell {
        width: min(94%, 100vw);
    }

    .admin-sidebar {
        padding: 0.75rem 0.65rem;
        position: sticky;
        top: 0;
        z-index: 190;
    }

    .admin-sidebar-top {
        min-height: 3rem;
    }

    .admin-menu-toggle {
        min-width: 3rem;
        min-height: 3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 180;
    }

    .admin-sidebar-menu {
        left: 0.4rem;
        right: 0.4rem;
        top: calc(100% - 0.06rem);
        margin-top: 0;
    }

    .admin-nav a {
        min-height: 3rem;
        display: flex;
        align-items: center;
    }

    .admin-main {
        padding: 1rem 0.75rem;
    }

    .admin-main .stat-card {
        min-height: 0;
    }

    .employee-header {
        flex-direction: column;
        align-items: stretch;
    }

    .employee-search {
        min-width: 0;
    }

    .employee-menu-toggle {
        top: 0.68rem;
        left: 0.68rem;
        width: 2.8rem;
        height: 2.8rem;
        border-radius: 10px;
    }

    .employee-sidebar {
        width: min(90vw, 17.5rem);
        padding: 0.86rem 0.8rem;
    }

    .employee-main {
        padding: 4.1rem 0.72rem 0.72rem;
    }

    .employee-brand {
        gap: 0.55rem;
    }

    .employee-user {
        padding: 0.5rem;
    }

    .employee-user strong {
        font-size: 0.84rem;
    }

    .employee-user small {
        font-size: 0.72rem;
    }

    .employee-nav a {
        min-height: 2.6rem;
        display: flex;
        align-items: center;
    }

    .employee-header {
        border-radius: 0.62rem;
        padding: 0.7rem;
    }

    .employee-header h1 {
        font-size: 1.25rem;
    }

    .employee-header p {
        font-size: 0.81rem;
    }

    .employee-panel,
    .employee-kpi-card {
        border-radius: 0.68rem;
        padding: 0.7rem;
    }

    .employee-kpi-card strong {
        font-size: 1.65rem;
        margin-top: 0.44rem;
    }

    .employee-hours-main strong {
        font-size: 1.68rem;
    }

    .employee-line-bars {
        height: 7.8rem;
    }

    .employee-month-meta strong {
        font-size: 1.2rem;
    }

    .employee-team .table-wrap {
        border: 0;
        background: transparent;
    }

    .employee-team table {
        min-width: 0;
        width: 100%;
    }

    .employee-team thead {
        display: none;
    }

    .employee-team tbody {
        display: grid;
        gap: 0.55rem;
    }

    .employee-team tbody tr {
        display: block;
        background: #ffffff;
        border: 1px solid #dce2ea;
        border-radius: 0.66rem;
        padding: 0.38rem 0.52rem;
        box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
    }

    .employee-team tbody tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.62rem;
        border-bottom: 1px dashed #e2e8f0;
        padding: 0.44rem 0;
        text-align: right;
        font-size: 0.82rem;
        word-break: break-word;
    }

    .employee-team tbody tr td:last-child {
        border-bottom: 0;
    }

    .employee-team tbody tr td::before {
        content: attr(data-label);
        font-size: 0.76rem;
        font-weight: 700;
        color: #64748b;
        text-align: left;
        flex: 0 0 42%;
    }

    .employee-team tbody tr td[colspan] {
        display: block;
        border-bottom: 0;
        padding: 0.45rem 0.1rem;
        text-align: left;
        color: #64748b;
    }

    .employee-team tbody tr td[colspan]::before {
        content: none;
    }

    .employee-kpis,
    .employee-analytics,
    .employee-month-meta {
        grid-template-columns: 1fr;
    }

    .employee-month-bars {
        gap: 0.42rem;
    }

    .employee-month-item {
        min-height: 8rem;
    }

    .employee-table-controls {
        width: 100%;
    }

    .employee-table-controls button {
        flex: 1 1 100%;
    }

    .support-assignee-grid {
        grid-template-columns: 1fr;
    }

    .support-dashboard {
        height: calc(100dvh - 1.2rem);
        min-height: 0;
    }

    .support-topbar {
        padding: 0.62rem 0.68rem;
    }

    .support-topbar h1 {
        font-size: 1rem;
    }

    .support-topbar p {
        font-size: 0.75rem;
    }

    .support-task-toggle {
        padding: 0.38rem 0.52rem;
        font-size: 0.77rem;
    }

    .support-dashboard.task-open .support-chat-pane {
        margin-right: 0;
    }

    .support-chat-stream {
        padding: 0.75rem 0.55rem;
    }

    .support-bubble {
        max-width: 92%;
    }

    .support-task-panel {
        width: 100%;
        top: auto;
        bottom: 0;
        height: min(80dvh, 33rem);
        border-left: 0;
        border-top: 1px solid #d9e2ea;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        transform: translateY(102%);
    }

    .support-dashboard.task-open .support-task-panel {
        transform: translateY(0);
    }

    .admin-main .section-head h1,
    .page .section-head h1 {
        line-height: 1.15;
    }

    .admin-main .section-head,
    .page .section-head {
        margin-bottom: 0.85rem;
    }

    .admin-main .table-wrap,
    .page .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-main table,
    .page table {
        min-width: 34rem;
    }

    .section {
        padding: 1.45rem 0;
    }

    .section-head {
        margin-bottom: 0.95rem;
    }

    p {
        line-height: 1.6;
    }

    .card,
    .form-card,
    .home-service-card,
    .home-review-card,
    .home-strip-item,
    .home-step {
        padding: 0.9rem;
    }

    .card p,
    .form-card p,
    .section-head p,
    .meta,
    .small {
        overflow-wrap: anywhere;
    }

    .hero-actions,
    .home-cta-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .home-cta-actions .btn {
        width: 100%;
    }

    .map-frame {
        height: 15.625rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.9rem;
        height: 2.9rem;
        padding: 0;
        border-radius: 14px;
        background: url("/images/mobile-menu-icon.png") center / contain no-repeat,
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 255, 0.92));
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
    }

    .menu-toggle span {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.45rem);
        left: 0;
        right: 0;
        width: auto;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 0.75rem;
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        display: flex;
        max-height: min(75dvh, calc(100dvh - 5.25rem));
        overflow-y: auto;
        opacity: 1;
        transform-origin: top center;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        visibility: visible;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        z-index: 220;
    }

    .js-nav-enabled .main-nav {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        pointer-events: none;
        visibility: hidden;
    }

    .js-nav-enabled .main-nav.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        visibility: visible;
    }

    .main-nav.open > a,
    .main-nav.open > form {
        animation: navItemIn 0.25s ease both;
    }

    .main-nav.open > *:nth-child(1) {
        animation-delay: 0.02s;
    }

    .main-nav.open > *:nth-child(2) {
        animation-delay: 0.04s;
    }

    .main-nav.open > *:nth-child(3) {
        animation-delay: 0.06s;
    }

    .main-nav.open > *:nth-child(4) {
        animation-delay: 0.08s;
    }

    .main-nav.open > *:nth-child(5) {
        animation-delay: 0.1s;
    }

    .main-nav.open > *:nth-child(6) {
        animation-delay: 0.12s;
    }

    .main-nav.open > *:nth-child(7) {
        animation-delay: 0.14s;
    }

    .main-nav.open > *:nth-child(8) {
        animation-delay: 0.16s;
    }

    .main-nav.open > *:nth-child(9) {
        animation-delay: 0.18s;
    }

    .main-nav.open > *:nth-child(10) {
        animation-delay: 0.2s;
    }

    .main-nav > a,
    .main-nav > form > .btn {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        min-height: 3rem;
        padding-left: 0.85rem;
    }

    .main-nav > form {
        width: 100%;
    }

    .main-nav > form > .btn {
        border-radius: 12px;
    }

    .form-grid,
    .inline-form,
    .upload-inline {
        grid-template-columns: 1fr;
    }

    .customer-mini {
        align-items: flex-start;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .form-grid .span-2 {
        grid-column: span 1;
    }

    .form-grid > .btn {
        grid-column: span 1;
        width: 100%;
    }

    .footer-shell {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.8rem 0;
    }

    .card-grid.three,
    .team-grid,
    .contact-cards,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        grid-template-columns: 1fr;
        gap: 0.42rem;
    }

    .admin-nav a {
        text-align: center;
        font-size: 0.9rem;
    }

    .chat-history {
        max-height: 52vh;
    }

    .chat-bubble {
        width: min(100%, 88vw);
    }

    .career-card-main {
        grid-template-columns: 1fr;
    }

    .career-card-action {
        justify-items: stretch;
        min-width: 0;
    }

    .career-apply-btn {
        width: 100%;
    }

    .chat-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-form-row .btn {
        width: 100%;
    }

    .customer-chat-shell {
        width: min(98%, 100vw);
    }

    .customer-chat-window {
        border-radius: 14px;
        height: calc(100dvh - 8rem);
        min-height: 28rem;
    }

    .customer-chat-head {
        padding: 0.64rem 0.68rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-chat-head h1 {
        font-size: 1rem;
    }

    .customer-chat-secure {
        font-size: 0.72rem;
    }

    .customer-chat-stream {
        padding: 0.75rem 0.55rem 0.82rem;
    }

    .customer-chat-bubble {
        max-width: 92%;
    }

    .customer-chat-compose {
        padding: 0.5rem 0.54rem;
    }

    .home-kpi-row,
    .home-strip-grid,
    .home-process-grid,
    .home-reviews-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.3rem;
        gap: 0.72rem;
        -webkit-overflow-scrolling: touch;
    }

    .home-kpi-row::-webkit-scrollbar,
    .home-strip-grid::-webkit-scrollbar,
    .home-process-grid::-webkit-scrollbar,
    .home-reviews-grid::-webkit-scrollbar {
        height: 0.375rem;
    }

    .home-kpi-row::-webkit-scrollbar-thumb,
    .home-strip-grid::-webkit-scrollbar-thumb,
    .home-process-grid::-webkit-scrollbar-thumb,
    .home-reviews-grid::-webkit-scrollbar-thumb {
        background: rgba(15, 118, 110, 0.3);
        border-radius: 999px;
    }

    .home-kpi-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.6rem;
    }

    .home-kpi {
        min-width: 8.875rem;
        scroll-snap-align: start;
    }

    .home-strip-item,
    .home-step,
    .home-review-card {
        min-width: min(84vw, 20rem);
        scroll-snap-align: start;
        animation: mobileCardPulse 6.2s ease-in-out infinite;
    }

    .home-step {
        min-width: min(84vw, 17.5rem);
    }

    .home-service-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    }

    .home-console {
        width: 100%;
    }

    .home-hero-showcase {
        min-height: 18.75rem;
    }

    .home-orb {
        animation-duration: 16s;
        opacity: 0.64;
    }

    .table-wrap {
        border-radius: 12px;
        border: 1px solid #dbe4ea;
        padding: 0.1rem;
        background: #fff;
    }

    .offer-preview {
        padding: 0.95rem;
    }

    .offer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-contact {
        text-align: left;
    }

    .offer-logo {
        width: 9.0625rem;
    }
}

@media (max-width: 35rem) {
    .site-header .shell.nav-shell {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .shell {
        width: 100%;
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .section {
        padding: 1.25rem 0;
    }

    .page {
        padding-top: 0.85rem;
    }

    .page.compact-top {
        padding-top: 1rem;
    }

    .main-nav {
        top: calc(100% + 0.35rem);
        max-height: min(78dvh, calc(100dvh - 4.8rem));
        border-radius: 16px;
    }

    .brand-logo {
        width: 2rem;
        height: 2rem;
        border-radius: 9px;
    }

    .brand-text {
        font-size: 0.97rem;
        letter-spacing: -0.03em;
    }

    .admin-brand .brand-text {
        font-size: 0.92rem;
    }

    .admin-sidebar {
        padding: 0.62rem 0.5rem;
    }

    .admin-sidebar-menu {
        left: 0.3rem;
        right: 0.3rem;
    }

    .admin-main {
        padding: 0.85rem 0.5rem;
    }

    .admin-main .section-head h1 {
        font-size: clamp(1.45rem, 1.2rem + 1.2vw, 1.8rem);
    }

    .profile-avatar {
        width: 4.25rem;
        height: 4.25rem;
    }

    .admin-main table,
    .page table {
        min-width: 30rem;
    }

    .admin-main .stat-grid {
        gap: 0.55rem;
    }

    .admin-main .stat-card {
        min-height: 0;
        padding: 0.75rem;
    }

    .admin-main .stat-card h3 {
        font-size: 1.55rem;
    }

    .home-hero {
        padding-top: 1.6rem;
    }

    .home-hero-copy h1 {
        font-size: clamp(1.65rem, 1.25rem + 2.4vw, 2.1rem);
        line-height: 1.08;
    }

    .home-kpi-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        scroll-snap-type: none;
        gap: 0.5rem;
    }

    .home-kpi {
        min-width: 0;
        padding: 0.6rem 0.5rem;
    }

    .home-kpi h3 {
        font-size: 1.45rem;
    }

    .home-kpi p {
        font-size: 0.74rem;
        letter-spacing: 0.045em;
    }

    .home-console {
        padding: 0.82rem;
        border-radius: 16px;
    }

    .home-console-item strong {
        font-size: 0.9rem;
    }

    .home-hero-showcase {
        min-height: 16.25rem;
    }

    .home-strip-item,
    .home-step,
    .home-service-card,
    .home-review-card,
    .card,
    .form-card {
        border-radius: 12px;
    }

    .home-strip-item,
    .home-service-card,
    .home-step,
    .home-review-card {
        min-width: 86vw;
    }

    .stat-grid,
    .home-service-grid {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        scroll-snap-type: none;
    }

    .stat-card,
    .home-service-card {
        min-height: 10.625rem;
    }

    .home-service-card {
        min-width: 0;
        animation-duration: 7.2s;
    }

    .home-orb {
        animation-duration: 20s;
        opacity: 0.5;
    }

    .map-frame {
        height: 13.75rem;
    }

    .admin-main {
        padding: 0.85rem 0.5rem;
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-main .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-main .action-row .btn {
        width: 100%;
    }
}

@media (max-width: 64rem) {
    body.employee-nav-open {
        overflow: hidden;
    }
}

@keyframes v2MeshShift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-2%, -1.5%, 0) scale(1.04);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes v2TickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

.home-v2 {
    --v2-bg: #121212;
    --v2-panel: rgba(20, 23, 31, 0.74);
    --v2-panel-soft: rgba(255, 255, 255, 0.08);
    --v2-line: rgba(0, 229, 255, 0.22);
    --v2-accent: #00e5ff;
    --v2-accent-soft: rgba(0, 229, 255, 0.16);
    background: #121212;
    color: #e5eef4;
}

.home-v2 .section {
    padding: 2.7rem 0;
}

.home-v2 p {
    color: rgba(226, 235, 242, 0.84);
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
    letter-spacing: -0.025em;
}

.home-v2 .eyebrow {
    color: #76f3ff;
}

.home-v2 .btn-solid {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-border);
}

.home-v2 .btn-line {
    border-color: var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
}

.home-v2 .btn:hover {
    box-shadow: 0 12px 28px rgba(0, 229, 255, 0.2);
}

.home-v2 .magnet,
.home-v2 .v2-bento-card,
.home-v2 .v2-why-card,
.home-v2 .v2-review-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.home-v2 .magnet:active,
.home-v2 .v2-bento-card:active,
.home-v2 .v2-why-card:active,
.home-v2 .v2-review-card:active {
    transform: scale(0.98);
}

.v2-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.v2-hero::before,
.v2-hero::after {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;
    animation: v2MeshShift 28s ease-in-out infinite;
}

.v2-hero::before {
    background:
        radial-gradient(circle at 18% 32%, rgba(0, 229, 255, 0.25) 0%, rgba(0, 229, 255, 0) 48%),
        radial-gradient(circle at 82% 24%, rgba(52, 147, 255, 0.26) 0%, rgba(52, 147, 255, 0) 50%),
        radial-gradient(circle at 52% 78%, rgba(11, 124, 139, 0.3) 0%, rgba(11, 124, 139, 0) 45%);
}

.v2-hero::after {
    background:
        linear-gradient(140deg, rgba(18, 18, 18, 0.74) 0%, rgba(18, 18, 18, 0.5) 100%),
        radial-gradient(circle at 70% 50%, rgba(0, 229, 255, 0.18), rgba(0, 229, 255, 0));
    animation-duration: 34s;
}

.v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1rem;
    align-items: stretch;
}

.v2-hero-glass {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(148deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.v2-hero-glass h1 {
    font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.65rem);
    line-height: 1.05;
    max-width: 18ch;
}

.v2-subhead {
    margin-top: 0.78rem;
    max-width: 60ch;
    font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.12rem);
}

.v2-hero-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.v2-kpis {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.62rem;
}

.v2-kpi {
    border-radius: 0.92rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(7, 12, 18, 0.58);
    padding: 0.78rem;
}

.v2-kpi h3 {
    margin: 0;
    color: #d8faff;
    font-size: clamp(1.25rem, 1rem + 1.1vw, 1.85rem);
}

.v2-kpi p {
    margin-top: 0.22rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(180, 228, 235, 0.86);
}

.v2-command-panel {
    border-radius: 1.2rem;
    border: 1px solid var(--v2-line);
    background: linear-gradient(160deg, rgba(5, 12, 18, 0.92) 0%, rgba(10, 35, 49, 0.88) 100%);
    padding: 1.3rem;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.24);
}

.v2-command-panel h3 {
    margin-top: 0.45rem;
    color: #dffbff;
    font-size: clamp(1.2rem, 1.04rem + 0.75vw, 1.55rem);
}

.v2-panel-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8beeff;
    font-weight: 700;
}

.v2-command-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.5rem;
}

.v2-command-list div {
    border-radius: 0.82rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    background: rgba(7, 16, 24, 0.68);
    padding: 0.65rem 0.72rem;
}

.v2-command-list span {
    display: block;
    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(122, 230, 242, 0.86);
}

.v2-command-list strong {
    display: block;
    margin-top: 0.2rem;
    color: #ecfeff;
    line-height: 1.45;
    font-size: 0.92rem;
}

.v2-ticker-wrap {
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    background: rgba(5, 11, 16, 0.92);
    overflow: hidden;
    white-space: nowrap;
}

.v2-ticker-track {
    width: max-content;
    display: inline-flex;
    gap: 2rem;
    padding: 0.78rem 0;
    animation: v2TickerMove 34s linear infinite;
}

.v2-ticker-track span {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(164, 240, 250, 0.9);
    font-weight: 600;
}

.v2-section-head {
    max-width: 66ch;
    margin-bottom: 1rem;
}

.v2-section-head h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.55vw, 2.45rem);
}

.v2-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.v2-why-card {
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 1rem;
    background: linear-gradient(150deg, rgba(13, 19, 26, 0.9), rgba(10, 28, 40, 0.75));
    padding: 1rem;
}

.v2-why-card h3 {
    color: #d9f8ff;
    margin-bottom: 0.4rem;
}

.v2-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.78rem;
}

.v2-bento-card {
    grid-column: span 4;
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background: linear-gradient(160deg, rgba(14, 20, 27, 0.92), rgba(8, 23, 33, 0.84));
    padding: 1rem;
    overflow: hidden;
    min-height: 12.4rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.v2-bento-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(13rem circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.95), rgba(0, 229, 255, 0.02) 48%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.26s ease;
    pointer-events: none;
}

.v2-bento-card:hover::after {
    opacity: 1;
}

.v2-bento-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.v2-bento-wide {
    grid-column: span 8;
}

.v2-bento-tall {
    grid-row: span 2;
    min-height: 16.6rem;
}

.v2-bento-tag {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.34);
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8befff;
    font-weight: 700;
}

.v2-bento-card h3 {
    margin-top: 0.62rem;
    color: #e7fdff;
}

.v2-bento-price {
    margin-top: 0.55rem;
    color: #9bf5ff;
    font-weight: 700;
}

.v2-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.v2-review-card {
    border-radius: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    background: linear-gradient(145deg, rgba(14, 20, 28, 0.92), rgba(11, 28, 39, 0.78));
    padding: 0.95rem;
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.v2-review-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 190, 232, 0.18), rgba(74, 190, 232, 0) 55%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 52%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.v2-review-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(74, 190, 232, 0) 0%, rgba(74, 190, 232, 0.18) 45%, rgba(74, 190, 232, 0) 70%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.v2-review-card:hover::before {
    opacity: 1;
}

.v2-review-card:hover::after {
    opacity: 1;
    animation: reviewShine 1.05s ease both;
}

@keyframes reviewShine {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

.v2-review-card > * {
    position: relative;
    z-index: 1;
}

.v2-review-head {
    display: flex;
    align-items: center;
    gap: 0.54rem;
    margin-bottom: 0.52rem;
}

.v2-review-head strong {
    color: #d7f8ff;
}

.v2-review-avatar {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.24);
    display: grid;
    place-items: center;
}

.v2-review-avatar-fallback {
    background: rgba(0, 229, 255, 0.2);
    color: #c6f9ff;
    font-weight: 700;
}

.review-video-wrap {
    display: grid;
    gap: 0.65rem;
}

.review-stars {
    display: inline-flex;
    gap: 0.18rem;
    margin: 0 0 0.55rem 0;
    align-items: center;
}

.review-star {
    font-size: 1.05rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    text-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.review-stars[data-stars="1"] .review-star:nth-child(-n+1),
.review-stars[data-stars="2"] .review-star:nth-child(-n+2),
.review-stars[data-stars="3"] .review-star:nth-child(-n+3),
.review-stars[data-stars="4"] .review-star:nth-child(-n+4),
.review-stars[data-stars="5"] .review-star:nth-child(-n+5) {
    color: #ffd56a;
    filter: drop-shadow(0 10px 18px rgba(245, 158, 11, 0.2));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.star-input {
    direction: rtl;
    display: inline-flex;
    gap: 0.2rem;
    user-select: none;
}

.star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-input label {
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.25);
    transition: transform 0.16s ease, color 0.16s ease, filter 0.16s ease;
    filter: drop-shadow(0 8px 18px rgba(2, 6, 23, 0.08));
}

.star-input label:hover,
.star-input label:hover ~ label {
    color: #fbbf24;
    transform: translateY(-1px) scale(1.04);
}

.star-input input:checked ~ label {
    color: #f59e0b;
}

.star-input input:focus-visible + label {
    outline: 2px solid rgba(74, 190, 232, 0.65);
    outline-offset: 4px;
    border-radius: 6px;
}

.review-video-thumb {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 0.95rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.review-video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.22s ease, filter 0.22s ease;
}

.review-video-thumb:hover img {
    transform: scale(1.06);
    filter: contrast(1.03);
}

.review-video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(155deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.55));
}

.review-video-play::before {
    content: "";
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.review-video-play::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0.55rem solid transparent;
    border-bottom: 0.55rem solid transparent;
    border-left: 0.85rem solid rgba(255, 255, 255, 0.9);
    transform: translateX(0.12rem);
}

.yt-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    padding: 1.2rem;
}

.yt-modal.open {
    display: grid;
    place-items: center;
}

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(3px);
}

.yt-modal-card {
    position: relative;
    width: min(58rem, 92vw);
    border-radius: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: linear-gradient(155deg, rgba(12, 20, 27, 0.96), rgba(11, 31, 44, 0.92));
    padding: 0.9rem;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.yt-modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
    cursor: pointer;
}

.yt-modal-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.85rem;
    overflow: hidden;
}

.yt-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

body.yt-modal-open {
    overflow: hidden;
}

.products-hero,
.clients-hero {
    padding-bottom: 0.25rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.product-card {
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 12.5rem 1fr;
    min-height: 11.5rem;
    transform: translate3d(0, 0, 0);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(15, 23, 42, 0.12);
}

.product-media {
    background: linear-gradient(145deg, rgba(74, 190, 232, 0.18), rgba(245, 158, 11, 0.08));
    position: relative;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.product-media-fallback span {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(74, 190, 232, 0.22);
    border: 1px solid rgba(45, 136, 149, 0.35);
    color: #0b0f14;
    font-weight: 800;
    font-size: 1.6rem;
}

.product-body {
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.product-body h3 {
    margin: 0;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-visit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
    font-weight: 800;
    color: #0b0f14;
}

.product-visit::after {
    content: "→";
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.product-card:hover .product-visit::after {
    transform: translateX(4px);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.35rem;
}

.client-marquee {
    border-radius: 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: radial-gradient(circle at 10% 10%, rgba(74, 190, 232, 0.16), rgba(74, 190, 232, 0) 45%),
        radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 55%),
        rgba(255, 255, 255, 0.9);
    padding: 0.8rem 0;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.client-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: clientScroll 28s linear infinite;
    will-change: transform;
}

.client-row {
    display: flex;
    gap: 0.85rem;
    padding: 0 1.2rem 0 0.9rem;
    align-items: center;
}

.client-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transform: translate3d(0, 0, 0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.client-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
}

.client-pill img {
    width: 2.1rem;
    height: 2.1rem;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 0.2rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.client-pill span {
    font-weight: 700;
    color: #0f172a;
}

@keyframes clientScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Public clients page (non-duplicated grid) */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background:
        radial-gradient(circle at 16% 18%, rgba(74, 190, 232, 0.14), rgba(74, 190, 232, 0) 52%),
        radial-gradient(circle at 78% 74%, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 55%),
        rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.client-card {
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    padding: 0.95rem 0.95rem 0.9rem;
    display: grid;
    gap: 0.7rem;
    align-content: center;
    justify-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-height: 8.75rem;
    text-align: center;
}

.client-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 30% 25%, rgba(74, 190, 232, 0.18), rgba(74, 190, 232, 0) 58%),
        radial-gradient(circle at 78% 72%, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0) 55%);
    opacity: 0.75;
    pointer-events: none;
}

.client-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(74, 190, 232, 0) 0%, rgba(74, 190, 232, 0.22) 45%, rgba(74, 190, 232, 0) 72%);
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.client-card > * {
    position: relative;
    z-index: 1;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.12);
}

.client-card:hover::after {
    opacity: 1;
    animation: reviewShine 1.1s ease both;
}

.client-logo {
    width: 100%;
    height: 5.25rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.75rem;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) contrast(1.06);
    opacity: 0.9;
    transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.client-card:hover .client-logo img {
    filter: none;
    opacity: 1;
    transform: scale(1.02);
}

.client-name {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    font-size: 0.98rem;
}

@media (max-width: 64rem) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card {
        grid-template-columns: 1fr;
    }
    .product-media {
        height: 10.5rem;
    }
    .client-track {
        animation-duration: 38s;
    }
    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.75rem;
    }
}

@media (max-width: 35rem) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0;
        border-radius: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .client-card {
        grid-template-columns: 4.6rem 1fr;
        grid-auto-flow: column;
        align-items: center;
        justify-items: start;
        gap: 0.85rem;
        padding: 0.85rem;
        min-height: 0;
        text-align: left;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .client-card::before {
        opacity: 0.55;
    }

    .client-card::after {
        display: none;
    }

    .client-logo {
        height: 4.25rem;
        border-radius: 14px;
        padding: 0.55rem;
    }

    .client-name {
        font-size: 1.02rem;
        line-height: 1.2;
    }
}

@media (max-width: 78rem) and (min-width: 64.01rem) {
    .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 76rem) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-track {
        animation: none;
        transform: none;
    }
    .client-card,
    .product-card {
        transition: none;
    }
}

.v2-final-card {
    border-radius: 1.2rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: linear-gradient(155deg, rgba(12, 20, 27, 0.94), rgba(11, 31, 44, 0.84));
    padding: 1.25rem;
}

.v2-founder-quote {
    margin-top: 0.75rem;
    color: #c9f8ff;
}

[data-reveal-seq] .reveal-item {
    opacity: 0;
    transform: translateY(18px);
}

[data-reveal-seq].is-visible .reveal-item {
    animation: v2CardEnter 0.62s ease both;
    animation-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 64rem) {
    .v2-hero-grid {
        grid-template-columns: 1fr;
    }

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

    .v2-bento-card,
    .v2-bento-wide,
    .v2-bento-tall {
        grid-column: span 1;
        grid-row: auto;
        min-height: 11.6rem;
    }

    .v2-why-grid,
    .v2-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 35rem) {
    .home-v2 .section {
        padding: 2.2rem 0;
    }

    .v2-hero-glass,
    .v2-command-panel,
    .v2-final-card {
        padding: 0.95rem;
    }

    .v2-hero-glass h1 {
        font-size: clamp(1.58rem, 1.25rem + 1.95vw, 2.15rem);
    }

    .v2-kpis,
    .v2-bento-grid,
    .v2-why-grid,
    .v2-review-grid {
        grid-template-columns: 1fr;
    }

    .v2-kpi,
    .v2-bento-card,
    .v2-why-card,
    .v2-review-card {
        min-height: 0;
    }

    .v2-ticker-track {
        animation-duration: 40s;
    }
}

.services-v2 {
    background: #121212;
    color: #e5eef4;
}

.services-v2 .section {
    padding: 2.65rem 0;
}

.services-v2 p {
    color: rgba(226, 235, 242, 0.84);
}

.services-v2 .eyebrow {
    color: #76f3ff;
}

.services-v2 .btn-solid {
    background: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-border);
}

.services-v2 .btn-line {
    border-color: var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
}

.services-v2-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.services-v2-hero::before,
.services-v2-hero::after {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: -1;
    animation: v2MeshShift 30s ease-in-out infinite;
}

.services-v2-hero::before {
    background:
        radial-gradient(circle at 22% 36%, rgba(0, 229, 255, 0.24), rgba(0, 229, 255, 0) 52%),
        radial-gradient(circle at 80% 24%, rgba(66, 153, 255, 0.23), rgba(66, 153, 255, 0) 50%),
        radial-gradient(circle at 50% 82%, rgba(6, 124, 139, 0.28), rgba(6, 124, 139, 0) 46%);
}

.services-v2-hero::after {
    background:
        linear-gradient(150deg, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.5)),
        radial-gradient(circle at 68% 52%, rgba(0, 229, 255, 0.15), rgba(0, 229, 255, 0));
}

.services-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 1rem;
    align-items: stretch;
}

.services-v2-glass {
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(148deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.4rem;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.services-v2-glass h1 {
    font-size: clamp(1.82rem, 1.2rem + 2.5vw, 3.4rem);
    line-height: 1.06;
    max-width: 18ch;
}

.services-v2-subhead {
    margin-top: 0.75rem;
    max-width: 60ch;
}

.services-v2-actions {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.services-v2-panel {
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: linear-gradient(160deg, rgba(5, 12, 18, 0.93), rgba(10, 35, 49, 0.86));
    padding: 1.2rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.services-v2-panel-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8beeff;
    font-weight: 700;
}

.services-v2-panel h3 {
    margin-top: 0.4rem;
    color: #dffbff;
}

.services-v2-kpi-row {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
}

.services-v2-kpi {
    border-radius: 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(7, 12, 18, 0.6);
    padding: 0.74rem;
}

.services-v2-kpi h3 {
    margin: 0;
    color: #d8faff;
    font-size: clamp(1.24rem, 0.98rem + 1.1vw, 1.8rem);
}

.services-v2-kpi p {
    margin-top: 0.2rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(180, 228, 235, 0.86);
}

.services-v2-ticker-wrap {
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    background: rgba(5, 11, 16, 0.92);
    overflow: hidden;
    white-space: nowrap;
}

.services-v2-ticker-track {
    width: max-content;
    display: inline-flex;
    gap: 2rem;
    padding: 0.78rem 0;
    animation: v2TickerMove 34s linear infinite;
}

.services-v2-ticker-track span {
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(164, 240, 250, 0.9);
    font-weight: 600;
}

.services-v2-head {
    max-width: 66ch;
    margin-bottom: 1rem;
}

.services-v2-head h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
}

.services-v2-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.78rem;
}

.services-v2-card {
    grid-column: span 4;
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background: linear-gradient(160deg, rgba(14, 20, 27, 0.92), rgba(8, 23, 33, 0.84));
    padding: 1rem;
    overflow: hidden;
    min-height: 12.2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.services-v2-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(13rem circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.95), rgba(0, 229, 255, 0.02) 48%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.26s ease;
    pointer-events: none;
}

.services-v2-card:hover::after {
    opacity: 1;
}

.services-v2-card-wide {
    grid-column: span 8;
}

.services-v2-card-tall {
    grid-row: span 2;
    min-height: 16.4rem;
}

.services-v2-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.services-v2-tag {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.34);
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8befff;
    font-weight: 700;
}

.services-v2-label {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(180, 228, 235, 0.86);
}

.services-v2-card h3 {
    margin-top: 0.64rem;
    color: #e7fdff;
}

.services-v2-price {
    margin-top: 0.55rem;
    color: #9bf5ff;
    font-weight: 700;
}

.services-v2-points {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.services-v2-point {
    border-radius: 0.85rem;
    border: 1px solid rgba(155, 245, 255, 0.22);
    background: rgba(4, 22, 29, 0.35);
    padding: 0.5rem 0.6rem;
    color: rgba(231, 253, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.25;
}

.services-v2-card .btn {
    margin-top: 0.75rem;
}

@media (max-width: 64rem) {
    .services-v2-hero-grid {
        grid-template-columns: 1fr;
    }

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

    .services-v2-card,
    .services-v2-card-wide,
    .services-v2-card-tall {
        grid-column: span 1;
        grid-row: auto;
        min-height: 11.4rem;
    }
}

@media (max-width: 35rem) {
    .services-v2 .section {
        padding: 2.15rem 0;
    }

    .services-v2-glass,
    .services-v2-panel,
    .services-v2-card {
        padding: 0.9rem;
    }

    .services-v2-glass h1 {
        font-size: clamp(1.55rem, 1.25rem + 1.85vw, 2.1rem);
    }

    .services-v2-kpi-row,
    .services-v2-grid {
        grid-template-columns: 1fr;
    }

    .services-v2-ticker-track {
        animation-duration: 40s;
    }
}

@keyframes aboutMeshDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-1.8%, -1.2%, 0) scale(1.03);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.about-v2-page {
    background: #121212;
    color: #e6edf2;
}

.about-v2-page .section {
    padding: 2.7rem 0;
}

.about-v2-page p {
    color: rgba(226, 235, 242, 0.86);
    text-align: left;
    direction: ltr;
    line-height: 1.62;
    overflow-wrap: break-word;
    word-break: normal;
}

.about-v2-page .eyebrow {
    color: #1ef2b5;
}

.about-v2-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-v2-hero::before,
.about-v2-hero::after {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: -1;
    animation: aboutMeshDrift 32s ease-in-out infinite;
}

.about-v2-hero::before {
    background:
        radial-gradient(circle at 18% 28%, rgba(0, 229, 255, 0.24), rgba(0, 229, 255, 0) 52%),
        radial-gradient(circle at 78% 22%, rgba(30, 242, 181, 0.2), rgba(30, 242, 181, 0) 54%),
        radial-gradient(circle at 54% 74%, rgba(35, 115, 199, 0.24), rgba(35, 115, 199, 0) 47%);
}

.about-v2-hero::after {
    background: linear-gradient(152deg, rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.5));
}

.about-v2-hero-panel {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(148deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    text-align: left;
    direction: ltr;
}

.about-v2-hero-panel h1 {
    font-size: clamp(1.9rem, 1.2rem + 2.7vw, 3.55rem);
    line-height: 1.06;
    max-width: 18ch;
}

.about-v2-hero-copy {
    margin-top: 0.75rem;
    max-width: 100%;
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.13rem);
    white-space: pre-line;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.about-v2-mission-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 100%;
}

.about-v2-mission-card {
    border-radius: 16px;
    border: 1px solid rgba(30, 242, 181, 0.22);
    background: linear-gradient(152deg, rgba(11, 20, 28, 0.9), rgba(10, 33, 42, 0.78));
    padding: 1rem;
    text-align: left;
    direction: ltr;
}

.about-v2-mission-card p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.about-v2-mission-card h3 {
    margin-bottom: 0.4rem;
    color: #d9fcf3;
}

.about-v2-head {
    margin-bottom: 1rem;
}

.about-v2-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.about-v2-team-card {
    --team-rx: 0deg;
    --team-ry: 0deg;
    --team-tx: 0px;
    --team-ty: 0px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    background: linear-gradient(160deg, rgba(14, 20, 27, 0.94), rgba(8, 23, 33, 0.84));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    padding: 0.72rem;
    perspective: 960px;
    transform-style: preserve-3d;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.about-v2-team-card:hover {
    border-color: rgba(30, 242, 181, 0.42);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
}

.about-v2-team-media {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 16rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(14, 24, 32, 0.92), rgba(8, 30, 40, 0.8));
    transform: rotateX(var(--team-rx)) rotateY(var(--team-ry));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-v2-team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translate3d(var(--team-tx), var(--team-ty), 0) scale(1);
    transition: transform 0.2s ease;
}

.about-v2-team-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: clamp(2.3rem, 1.4rem + 1.8vw, 3rem);
    font-weight: 800;
    color: #b8fff0;
    background: radial-gradient(circle at 32% 28%, rgba(0, 229, 255, 0.2), rgba(0, 229, 255, 0) 56%);
}

.about-v2-team-content {
    margin-top: 0.72rem;
    display: grid;
    gap: 0.28rem;
}

.about-v2-team-content h3 {
    margin: 0;
    color: #e9fdff;
    font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.25rem);
}

.about-v2-team-role {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7ef7d2;
    font-weight: 700;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.about-v2-team-card:hover .about-v2-team-role {
    color: #1ef2b5;
    text-shadow: 0 0 10px rgba(30, 242, 181, 0.56);
}

.about-v2-team-card:hover .about-v2-team-content h3,
.about-v2-team-card:focus-within .about-v2-team-content h3,
.about-v2-team-card:active .about-v2-team-content h3,
.about-v2-team-card:hover .about-v2-team-role,
.about-v2-team-card:focus-within .about-v2-team-role,
.about-v2-team-card:active .about-v2-team-role {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.45);
}

.about-v2-team-content p {
    line-height: 1.45;
    font-size: 0.9rem;
}

.about-v2-think {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-v2-think::before,
.about-v2-think::after {
    content: "";
    position: absolute;
    inset: -24%;
    z-index: -1;
    animation: aboutMeshDrift 34s ease-in-out infinite;
}

.about-v2-think::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(30, 242, 181, 0.2), rgba(30, 242, 181, 0) 52%),
        radial-gradient(circle at 80% 30%, rgba(0, 229, 255, 0.18), rgba(0, 229, 255, 0) 52%),
        radial-gradient(circle at 52% 86%, rgba(29, 78, 216, 0.22), rgba(29, 78, 216, 0) 44%);
}

.about-v2-think::after {
    background: linear-gradient(150deg, rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.48));
}

.about-v2-think-panel {
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: linear-gradient(155deg, rgba(12, 20, 27, 0.94), rgba(11, 31, 44, 0.82));
    padding: 1.3rem;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.28);
    max-width: 64rem;
}

.about-v2-think-panel h2 {
    margin-bottom: 0.45rem;
    color: #e7fcff;
    font-size: clamp(1.55rem, 1.1rem + 1.55vw, 2.5rem);
}

@media (max-width: 64rem) {
    .about-v2-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-v2-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 51.25rem) {
    .about-v2-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 35rem) {
    .about-v2-page .section {
        padding: 2.15rem 0;
    }

    .about-v2-hero-panel,
    .about-v2-mission-card,
    .about-v2-team-card,
    .about-v2-think-panel {
        padding: 0.86rem;
    }

    .about-v2-team-grid {
        grid-template-columns: 1fr;
    }
}

@media (pointer: coarse) {
    .btn {
        padding: 0.75rem 1.25rem;
        min-height: 3rem;
        min-width: 3rem;
    }

    input,
    select,
    textarea {
        padding: 0.75rem 1.25rem;
        min-height: 3rem;
    }

    .menu-toggle,
    .main-nav > a,
    .main-nav > form > .btn,
    .admin-nav a {
        min-width: 3rem;
        min-height: 3rem;
    }

    .v2-ticker-track {
        animation-duration: 42s;
    }

    .services-v2-ticker-track {
        animation-duration: 42s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
