:root {
    color-scheme: dark;
    --bg-start: #07101b;
    --bg-mid: #0b1524;
    --bg-end: #07111d;
    --surface: rgba(10, 18, 32, 0.8);
    --surface-strong: rgba(13, 24, 41, 0.94);
    --line: rgba(103, 145, 198, 0.18);
    --line-strong: rgba(120, 169, 225, 0.34);
    --text: #eef4ff;
    --muted: #9aaece;
    --accent: #2ea8ff;
    --accent-2: #8a5cff;
    --accent-soft: rgba(82, 148, 255, 0.18);
    --spot-a: rgba(46, 168, 255, 0.16);
    --spot-b: rgba(138, 92, 255, 0.14);
    --button-text: #ffffff;
    --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 18px;
}

body[data-theme="light"] {
    color-scheme: light;
    --bg-start: #eef4fb;
    --bg-mid: #f8fbff;
    --bg-end: #eef4fb;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --line: rgba(69, 103, 159, 0.12);
    --line-strong: rgba(73, 113, 170, 0.2);
    --text: #11203e;
    --muted: #5d749c;
    --accent: #1cbca4;
    --accent-2: #7fe3d3;
    --accent-soft: rgba(28, 188, 164, 0.14);
    --spot-a: rgba(28, 188, 164, 0.16);
    --spot-b: rgba(255, 164, 96, 0.14);
    --button-text: #ffffff;
    --card-shadow: 0 24px 55px rgba(55, 78, 125, 0.12);
}

body[data-theme="lovely"] {
    color-scheme: light;
    --bg-start: #fff4f8;
    --bg-mid: #fffafc;
    --bg-end: #fff3f8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(255, 252, 255, 0.98);
    --line: rgba(176, 104, 131, 0.12);
    --line-strong: rgba(191, 101, 139, 0.2);
    --text: #43263a;
    --muted: #8b5f77;
    --accent: #ff7ba5;
    --accent-2: #ffc4d7;
    --accent-soft: rgba(255, 123, 165, 0.16);
    --spot-a: rgba(255, 123, 165, 0.16);
    --spot-b: rgba(255, 196, 97, 0.14);
    --button-text: #ffffff;
    --card-shadow: 0 24px 55px rgba(188, 108, 143, 0.12);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 14%, var(--spot-a), transparent 24%),
        radial-gradient(circle at 88% 10%, var(--spot-b), transparent 22%),
        linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 44%, var(--bg-end) 100%);
    transition: background-color 220ms ease, color 220ms ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.22;
    pointer-events: none;
}

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

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

button,
.button {
    font: inherit;
}

.network-canvas,
.page-noise,
.spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.network-canvas {
    z-index: -2;
}

.page-noise {
    z-index: -1;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px);
    background-size: 180px 180px;
    mix-blend-mode: soft-light;
}

.spotlight {
    z-index: -1;
    filter: blur(100px);
    opacity: 0.35;
}

.spotlight-a {
    width: 34rem;
    height: 34rem;
    top: 6%;
    left: -10rem;
    background: var(--spot-a);
}

.spotlight-b {
    width: 32rem;
    height: 32rem;
    right: -10rem;
    bottom: 4rem;
    background: var(--spot-b);
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 18;
    opacity: 0;
    pointer-events: none;
    background: rgba(5, 11, 21, 0.42);
    backdrop-filter: blur(4px);
    transition: opacity 180ms ease;
}

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

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 24;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line-strong));
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
    color: var(--text);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, border-color 180ms ease;
}

.scroll-top:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong));
    transform: translateY(6px);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top__icon {
    width: 22px;
    height: 22px;
}

.top-nav {
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.top-nav .container-xl {
    min-height: 64px;
}

.top-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.top-nav__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(117, 143, 194, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.07);
}

.top-nav__logo {
    width: 102px;
    max-width: 42vw;
    height: auto;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.top-nav .navbar-toggler {
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
}

.top-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem var(--accent-soft);
}

.top-nav .nav-link {
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.top-nav .nav-link:hover,
.top-nav .nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-strong);
}

.top-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 18px;
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.theme-switch:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 48%, var(--line-strong));
}

.theme-switch__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.theme-switch__text {
    font-size: 0.9rem;
    font-weight: 700;
}

body[data-theme="dark"] .theme-switch__icon {
    border-radius: 50%;
    background: transparent;
    border: 2px solid #f0f4ff;
}

body[data-theme="dark"] .theme-switch__icon::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface-strong);
}

body[data-theme="light"] .theme-switch__icon {
    border-radius: 50%;
    background: #ffd75e;
    box-shadow:
        0 0 0 4px rgba(255, 215, 94, 0.22),
        0 0 18px rgba(255, 215, 94, 0.45);
}

body[data-theme="light"] .theme-switch__icon::before,
body[data-theme="light"] .theme-switch__icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 196, 60, 0.7);
}

body[data-theme="lovely"] .theme-switch__icon {
    width: 16px;
    height: 16px;
    margin-right: 2px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff7ba5, #ffc4d7);
    transform: rotate(45deg);
    box-shadow:
        0 0 0 5px rgba(255, 123, 165, 0.16),
        0 0 18px rgba(255, 123, 165, 0.28);
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 122px 0 90px;
}

.section {
    padding: 54px 0;
}

.section-tag,
.card-label,
.service-index,
.process-step {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
    background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 24px;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.hero h1 {
    margin-top: 20px;
    max-width: none;
    width: 100%;
    font-size: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.hero__lead,
.service-card p,
.process-card p,
.final-cta p,
.site-footer p,
.company-list span {
    color: var(--muted);
    line-height: 1.7;
}

.hero {
    display: block;
    padding-top: 58px;
}

.hero__copy,
.service-card,
.process-card,
.final-card,
.final-cta {
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--card-shadow);
}

.hero__copy {
    padding: clamp(28px, 4vw, 50px);
    border-radius: var(--radius-xl);
    max-width: none;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__lead {
    max-width: 72ch;
    margin: 18px 0 0;
    font-size: 1.04rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    font-weight: 800;
    border: 0;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--button-text);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 22%, transparent);
}

.button--ghost {
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
}

.button--sm {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.hero__chips li,
.stack-list li {
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
}

.hero__chips li:nth-child(1) {
    border-color: rgba(60, 201, 182, 0.34);
    background: linear-gradient(135deg, rgba(60, 201, 182, 0.14), rgba(60, 201, 182, 0.04));
    color: #d7fff8;
}

.hero__chips li:nth-child(2) {
    border-color: rgba(110, 155, 255, 0.32);
    background: linear-gradient(135deg, rgba(110, 155, 255, 0.13), rgba(110, 155, 255, 0.04));
    color: #e2ebff;
}

.hero__chips li:nth-child(3) {
    border-color: rgba(255, 159, 90, 0.32);
    background: linear-gradient(135deg, rgba(255, 159, 90, 0.13), rgba(255, 159, 90, 0.04));
    color: #fff0e4;
}

.hero__chips li:nth-child(4) {
    border-color: rgba(167, 139, 250, 0.32);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.13), rgba(167, 139, 250, 0.04));
    color: #efe6ff;
}

.hero__chips li:nth-child(5) {
    border-color: rgba(94, 234, 212, 0.28);
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(94, 234, 212, 0.04));
    color: #defff7;
}

.hero__chips li:nth-child(6) {
    border-color: rgba(148, 163, 184, 0.32);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.14), rgba(148, 163, 184, 0.04));
    color: #eef4ff;
}

.service-grid,
.process-grid,
.final-grid {
    display: grid;
    gap: 18px;
}

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

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

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

.service-card,
.process-card,
.final-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.service-card__icon,
.process-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    margin-bottom: 18px;
    animation: iconFloat 4.8s ease-in-out infinite;
}

.service-card:nth-child(2) .service-card__icon,
.service-card:nth-child(5) .service-card__icon,
.process-card:nth-child(2) .process-card__icon {
    animation-delay: -1.4s;
}

.service-card:nth-child(3) .service-card__icon,
.service-card:nth-child(6) .service-card__icon,
.process-card:nth-child(3) .process-card__icon {
    animation-delay: -2.6s;
}

.service-card__icon svg,
.process-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.service-card h3,
.process-card h3 {
    margin: 12px 0 0;
    font-size: 1.32rem;
    letter-spacing: -0.03em;
}

.service-card p:last-child,
.process-card p:last-child {
    margin: 10px 0 0;
}

.section--final {
    padding-bottom: 28px;
}

.final-cta {
    padding: clamp(28px, 4vw, 46px);
    border-radius: var(--radius-xl);
    margin-bottom: 22px;
}

.final-cta h2 {
    max-width: 13ch;
    margin-top: 18px;
    font-size: clamp(2rem, 4vw, 3.45rem);
}

.stack-list,
.company-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stack-list li.stack-list__csharp {
    color: #7cc4ff;
    border-color: rgba(59, 130, 246, 0.7);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.14));
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.14);
}

.stack-list li.stack-list__dotnet {
    color: #b6b8ff;
    border-color: rgba(99, 102, 241, 0.7);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(129, 140, 248, 0.14));
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.14);
}

.stack-list li.stack-list__aspnet {
    color: #9fc0ff;
    border-color: rgba(37, 99, 235, 0.7);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(96, 165, 250, 0.14));
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.stack-list li.stack-list__php {
    color: #ffb36c;
    border-color: rgba(249, 115, 22, 0.7);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(251, 146, 60, 0.14));
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.14);
}

.stack-list li.stack-list__js {
    color: #ffe15a;
    border-color: rgba(234, 179, 8, 0.7);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.32), rgba(250, 204, 21, 0.14));
    box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.14);
}

.stack-list li.stack-list__html {
    color: #ff8f72;
    border-color: rgba(239, 68, 68, 0.7);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(248, 113, 113, 0.14));
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.14);
}

.stack-list li.stack-list__css {
    color: #69e6ff;
    border-color: rgba(6, 182, 212, 0.7);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(34, 211, 238, 0.14));
    box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.14);
}

.stack-list li.stack-list__jquery {
    color: #8ecbff;
    border-color: rgba(2, 132, 199, 0.7);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(56, 189, 248, 0.14));
    box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.14);
}

.stack-list li.stack-list__restapi {
    color: #8ff0c5;
    border-color: rgba(5, 150, 105, 0.7);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.3), rgba(52, 211, 153, 0.14));
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.14);
}

.stack-list li.stack-list__mysql {
    color: #7fd7ff;
    border-color: rgba(14, 165, 233, 0.7);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(56, 189, 248, 0.14));
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.14);
}

.stack-list li.stack-list__sql {
    color: #9af3cb;
    border-color: rgba(16, 185, 129, 0.7);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(52, 211, 153, 0.14));
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.14);
}

.stack-list li.stack-list__postgresql {
    color: #9fbfff;
    border-color: rgba(99, 102, 241, 0.7);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(129, 140, 248, 0.14));
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.14);
}

.stack-list li.stack-list__firebird {
    color: #ff9f91;
    border-color: rgba(239, 68, 68, 0.7);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28), rgba(248, 113, 113, 0.14));
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.14);
}

.stack-list li.stack-list__laravel {
    color: #ff8d72;
    border-color: rgba(249, 115, 22, 0.7);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.28), rgba(251, 146, 60, 0.14));
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.14);
}

.stack-list li.stack-list__wordpress {
    color: #9ad8ff;
    border-color: rgba(14, 116, 144, 0.7);
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.3), rgba(34, 211, 238, 0.14));
    box-shadow: inset 0 0 0 1px rgba(14, 116, 144, 0.14);
}

.stack-list li.stack-list__filament {
    color: #ffd77a;
    border-color: rgba(245, 158, 11, 0.7);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.14));
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.14);
}

.stack-list li.stack-list__livewire {
    color: #ff9dd6;
    border-color: rgba(236, 72, 153, 0.7);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(244, 114, 182, 0.14));
    box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.14);
}

.stack-list li.stack-list__bootstrap {
    color: #cf91ff;
    border-color: rgba(168, 85, 247, 0.7);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(192, 132, 252, 0.14));
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.14);
}

body[data-theme="light"] .stack-list li,
body[data-theme="lovely"] .stack-list li {
    font-weight: 800;
}

body[data-theme="light"] .stack-list li.stack-list__csharp,
body[data-theme="lovely"] .stack-list li.stack-list__csharp {
    color: #145bcc;
    background: rgba(191, 224, 255, 0.92);
}

body[data-theme="light"] .stack-list li.stack-list__dotnet,
body[data-theme="lovely"] .stack-list li.stack-list__dotnet {
    color: #5148d8;
    background: rgba(220, 218, 255, 0.92);
}

body[data-theme="light"] .stack-list li.stack-list__aspnet,
body[data-theme="lovely"] .stack-list li.stack-list__aspnet {
    color: #2563eb;
    background: rgba(212, 228, 255, 0.92);
}

body[data-theme="light"] .stack-list li.stack-list__php,
body[data-theme="lovely"] .stack-list li.stack-list__php {
    color: #d96814;
    background: rgba(255, 228, 205, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__laravel,
body[data-theme="lovely"] .stack-list li.stack-list__laravel {
    color: #e4572e;
    background: rgba(255, 223, 214, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__js,
body[data-theme="lovely"] .stack-list li.stack-list__js {
    color: #b88900;
    background: rgba(255, 244, 194, 0.96);
}

body[data-theme="light"] .stack-list li.stack-list__jquery,
body[data-theme="lovely"] .stack-list li.stack-list__jquery {
    color: #0e7cc7;
    background: rgba(207, 237, 255, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__html,
body[data-theme="lovely"] .stack-list li.stack-list__html {
    color: #de5135;
    background: rgba(255, 221, 216, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__css,
body[data-theme="lovely"] .stack-list li.stack-list__css {
    color: #0697bd;
    background: rgba(206, 246, 255, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__restapi,
body[data-theme="lovely"] .stack-list li.stack-list__restapi {
    color: #16885d;
    background: rgba(212, 248, 229, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__mysql,
body[data-theme="lovely"] .stack-list li.stack-list__mysql {
    color: #0e8dc9;
    background: rgba(203, 239, 255, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__sql,
body[data-theme="lovely"] .stack-list li.stack-list__sql {
    color: #14915e;
    background: rgba(211, 249, 227, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__postgresql,
body[data-theme="lovely"] .stack-list li.stack-list__postgresql {
    color: #5862df;
    background: rgba(220, 223, 255, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__firebird,
body[data-theme="lovely"] .stack-list li.stack-list__firebird {
    color: #de4a4a;
    background: rgba(255, 220, 220, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__wordpress,
body[data-theme="lovely"] .stack-list li.stack-list__wordpress {
    color: #177ea1;
    background: rgba(209, 236, 242, 0.94);
}

body[data-theme="light"] .stack-list li.stack-list__filament,
body[data-theme="lovely"] .stack-list li.stack-list__filament {
    color: #cc8700;
    background: rgba(255, 239, 204, 0.96);
}

body[data-theme="light"] .stack-list li.stack-list__livewire,
body[data-theme="lovely"] .stack-list li.stack-list__livewire {
    color: #d94b9e;
    background: rgba(255, 220, 239, 0.96);
}

body[data-theme="light"] .stack-list li.stack-list__bootstrap,
body[data-theme="lovely"] .stack-list li.stack-list__bootstrap {
    color: #9447e5;
    background: rgba(239, 223, 255, 0.94);
}

body[data-theme="light"] .hero__chips li:nth-child(1),
body[data-theme="lovely"] .hero__chips li:nth-child(1) {
    color: #127e74;
    background: rgba(214, 249, 243, 0.94);
}

body[data-theme="light"] .hero__chips li:nth-child(2),
body[data-theme="lovely"] .hero__chips li:nth-child(2) {
    color: #365fcb;
    background: rgba(224, 232, 255, 0.94);
}

body[data-theme="light"] .hero__chips li:nth-child(3),
body[data-theme="lovely"] .hero__chips li:nth-child(3) {
    color: #d96d17;
    background: rgba(255, 232, 214, 0.95);
}

body[data-theme="light"] .hero__chips li:nth-child(4),
body[data-theme="lovely"] .hero__chips li:nth-child(4) {
    color: #7b4ed8;
    background: rgba(237, 229, 255, 0.94);
}

body[data-theme="light"] .hero__chips li:nth-child(5),
body[data-theme="lovely"] .hero__chips li:nth-child(5) {
    color: #148978;
    background: rgba(220, 251, 245, 0.94);
}

body[data-theme="light"] .hero__chips li:nth-child(6),
body[data-theme="lovely"] .hero__chips li:nth-child(6) {
    color: #5e728f;
    background: rgba(235, 241, 248, 0.96);
}

.company-list {
    display: grid;
    gap: 14px;
}

.company-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.company-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.company-list strong {
    text-align: right;
    font-size: 1rem;
}

.final-card--avatar {
    display: flex;
    flex-direction: column;
}

.final-avatar {
    position: relative;
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 20px 12px;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 50% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 54%);
}

.final-avatar::before {
    content: "";
    position: absolute;
    inset: auto 18% 8% 18%;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    filter: blur(14px);
}

.final-avatar img {
    position: relative;
    z-index: 1;
    width: min(78%, 220px);
    height: auto;
    transform: none;
    filter:
        drop-shadow(1px 0 0 rgba(255, 255, 255, 0.9))
        drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.9))
        drop-shadow(0 18px 30px rgba(0, 0, 0, 0.22));
}

.site-footer {
    padding: 0 0 34px;
}

.site-footer .container-xl {
    width: min(1180px, calc(100vw - 40px));
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.footer-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.footer-metric strong {
    color: var(--text);
    font-weight: 900;
    font-size: 0.84rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 540ms ease, transform 540ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes iconFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 991.98px) {
    body.menu-open {
        overflow: hidden;
    }

    .top-nav.navbar {
        flex-wrap: nowrap;
    }

    .top-nav {
        backdrop-filter: none;
    }

    .mobile-nav-backdrop {
        background: rgba(5, 11, 21, 0.58);
        backdrop-filter: none;
    }

    .top-nav .container-xl {
        min-height: 62px;
        position: relative;
    }

    .top-nav .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        margin-top: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: color-mix(in srgb, var(--surface-strong) 98%, transparent);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
        backdrop-filter: none;
        will-change: opacity, transform;
        z-index: 22;
        max-height: calc(100vh - 92px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure the collapse never leaves a "ghost" panel that can affect layout. */
    .top-nav .navbar-collapse:not(.show):not(.collapsing) {
        display: none !important;
    }

    .top-nav .navbar-collapse.collapsing {
        height: auto !important;
        transition: none !important;
    }

    .top-nav__actions {
        margin-left: 0;
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .top-nav__actions .button,
    .theme-switch {
        width: 100%;
    }

    .site-shell {
        width: min(1180px, calc(100vw - 28px));
        padding-top: 106px;
    }

    .section {
        padding: 42px 0;
    }

    .hero {
        padding-top: 42px;
    }

    .hero__copy {
        min-height: auto;
    }

    .service-grid,
    .process-grid,
    .final-grid {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        max-width: 100%;
    }

    .final-avatar {
        min-height: 260px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 767.98px) {
    .site-footer .container-xl {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-metric {
        margin-top: 6px;
    }

    .top-nav__brand {
        gap: 10px;
        align-items: center;
    }

    .top-nav__logo-wrap {
        padding: 3px 6px;
    }

    .top-nav__logo {
        width: 94px;
        max-width: 48vw;
    }

    .brand-copy {
        display: none;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .hero__copy,
    .service-card,
    .process-card,
    .final-card,
    .final-cta {
        border-radius: 22px;
    }

    .hero__copy,
    .final-cta {
        padding: 24px 20px;
    }

    .service-card,
    .process-card,
    .final-card {
        padding: 20px;
    }

    .hero__actions,
    .stack-list {
        gap: 10px;
    }

    .final-cta .hero__actions,
    .final-cta .button + .button {
        margin-top: 10px;
    }

    .button,
    .button--sm {
        width: 100%;
    }

    .hero__chips {
        gap: 8px;
    }

    .hero__chips li {
        width: auto;
        padding: 9px 12px;
        font-size: 0.92rem;
        text-align: center;
    }

    .stack-list {
        gap: 8px;
    }

    .stack-list li {
        width: auto;
        padding: 9px 12px;
        font-size: 0.95rem;
        text-align: center;
    }

    .company-list li {
        flex-direction: column;
        gap: 6px;
    }

    .company-list strong {
        text-align: left;
    }
}
