:root {
    --bg-dark: #010204;
    --bg-darker: #000103;
    --belt-bg: linear-gradient(140deg, #05070e, #080912 65%, #040507 100%);
    --accent: #ff7a18;
    --accent-alt: #ffb347;
    --text-light: #f5f5f5;
    --muted: #a7abc1;
    --card: rgba(255, 255, 255, 0.04);
    --hero-belt-gap: clamp(2.5rem, 5vw, 4rem);
    /* HEADER OVERLAY FIX */
    --header-overlay-offset: clamp(3.5rem, 6vw, 5rem);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    position: relative;
}

main {
    position: relative;
    z-index: 2;
    background: var(--belt-bg);
}

.neural-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: lighten;
}

.neural-canvas-static {
    opacity: 0.45;
    background: radial-gradient(circle at 25% 25%, rgba(255, 122, 24, 0.12), transparent 55%),
        radial-gradient(circle at 70% 35%, rgba(255, 179, 71, 0.08), transparent 60%),
        #010204;
    overflow: hidden;
}

.neural-canvas-static::before,
.neural-canvas-static::after {
    content: '';
    position: absolute;
    inset: -25%;
    background: conic-gradient(rgba(255, 122, 24, 0.18), rgba(255, 179, 71, 0.04), rgba(255, 122, 24, 0.18));
    opacity: 0.25;
    filter: blur(80px);
    animation: neuralDrift 32s linear infinite;
}

.neural-canvas-static::after {
    animation-duration: 48s;
    animation-direction: reverse;
    opacity: 0.18;
    mix-blend-mode: screen;
}

.neural-canvas-dynamic {
    opacity: 0.8;
    background: transparent;
}

a {
    color: var(--text-light);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}

.brand-type {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.navbar-brand img {
    max-height: 36px;
}

.navbar-brand {
    transition: opacity 0.3s ease;
}

body.loader-active .navbar-brand {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* HEADER OVERLAY FIX */
body.loader-active .site-header {
    z-index: 900;
}

body.logo-arriving .navbar-brand {
    opacity: 1;
}

.brand-text-logo {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    overflow: hidden;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(4px);
    will-change: clip-path, opacity, transform;
    transition: clip-path 0.9s ease, opacity 0.4s ease, transform 0.4s ease;
}

.brand-text-logo img {
    display: block;
    height: 18px;
}

.brand-text-logo.revealed {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
}

.brand-text-logo.no-motion {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: none;
    transition: none;
}

.site-header {
    background: transparent;
    /* HEADER OVERLAY FIX */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    pointer-events: none;
    /*padding: 0.6rem 0;*/
    transition: backdrop-filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar {
    position: relative;
    overflow: hidden;
    background: rgba(2, 4, 8, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    margin-inline: clamp(0.4rem, 2vw, 1.25rem);
    margin-top: 0.4rem;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
    transition: margin 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
    --header-shine-duration: 14s;
    --shine-len: 50%;
    --shine-thick: 2px;
    --shine-opacity: 0.65;
    /* HEADER OVERLAY FIX */
    pointer-events: auto;
}

/* HEADER SHINE: seamless corner transition */
.navbar::before,
.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.8), transparent);
    background-repeat: no-repeat;
    background-size: var(--shine-len) var(--shine-thick);
    background-position: 0 0;
    opacity: var(--shine-opacity);
    pointer-events: none;
    z-index: 0;
    transform-origin: 0 0;
}

.navbar::before {
    animation: headerTopLine var(--header-shine-duration) linear infinite;
}

.navbar::after {
    animation: headerBottomLine var(--header-shine-duration) linear infinite;
    opacity: 0;
}

.navbar>.container {
    position: relative;
    z-index: 1;
}

.site-header.is-scrolled .navbar {
    margin-inline: clamp(0.4rem, 2vw, 1.25rem);
    margin-top: 0.4rem;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(2, 4, 8, 0.94);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.navbar .nav-link {
    position: relative;
    color: var(--muted);
    font-weight: 600;
    padding: 0.7rem 1rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.35rem;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
    opacity: 0.9;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--text-light);
}

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

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 122, 24, 0.35);
}

.header-meta,
.nav-meta {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-alt));
    box-shadow: 0 0 12px rgba(255, 122, 24, 0.6);
    margin-right: 0.45rem;
    display: inline-flex;
    animation: pulse 2.8s ease-in-out infinite;
}

.nav-meta {
    display: inline-block;
    padding: 0.5rem 0;
}

.btn-gradient {
    background: linear-gradient(120deg, var(--accent), var(--accent-alt));
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient.btn-sm {
    padding: 0.55rem 1.4rem;
}

.btn-gradient:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 122, 24, 0.45);
}

@keyframes headerTopLine {
    0% {
        transform: translate(0, 0);
        opacity: var(--shine-opacity);
    }

    45% {
        transform: translate(calc(100% - var(--shine-len)), 0);
        opacity: var(--shine-opacity);
    }

    46%,
    99% {
        transform: translate(calc(100% - var(--shine-len)), 0);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0;
    }
}

@keyframes headerBottomLine {

    0%,
    49% {
        transform: translate(calc(100% - var(--shine-len)), calc(100% - var(--shine-thick)));
        opacity: 0;
    }

    50% {
        transform: translate(calc(100% - var(--shine-len)), calc(100% - var(--shine-thick)));
        opacity: var(--shine-opacity);
    }

    95% {
        transform: translate(0, calc(100% - var(--shine-thick)));
        opacity: var(--shine-opacity);
    }

    96%,
    99% {
        transform: translate(0, calc(100% - var(--shine-thick)));
        opacity: 0;
    }

    100% {
        transform: translate(calc(100% - var(--shine-len)), calc(100% - var(--shine-thick)));
        opacity: 0;
    }
}

.hero {
    /* HEADER OVERLAY FIX */
    padding: calc(6rem + var(--header-overlay-offset)) 0 var(--hero-belt-gap);
    background: radial-gradient(circle at top right, rgba(255, 122, 24, 0.18), transparent 45%),
        radial-gradient(circle at 20% 20%, rgba(255, 179, 71, 0.15), transparent 55%),
        linear-gradient(145deg, #010204, #050914);
    position: relative;
}

.hero-video {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 122, 24, 0.32), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 179, 71, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(1, 2, 4, 0.85));
    filter: blur(24px);
    opacity: 0.78;
    animation: glow 10s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-shapes span {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32% 68% 45% 55% / 50% 30% 70% 50%;
    box-shadow: 0 0 35px rgba(255, 122, 24, 0.35);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    animation: float 10s ease-in-out infinite;
}

.floating-shapes span:nth-child(1) {
    top: 10%;
    left: 5%;
}

.floating-shapes span:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: 2s;
}

.floating-shapes span:nth-child(3) {
    top: 20%;
    right: 15%;
    animation-delay: 4s;
}

.floating-shapes span:nth-child(4) {
    bottom: 10%;
    right: 5%;
    animation-delay: 6s;
}


.neon-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.35), transparent 60%);
    filter: blur(10px);
    z-index: 0;
}

.orb-left {
    top: -60px;
    left: -80px;
}

.orb-right {
    bottom: -80px;
    right: -120px;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 122, 24, 0.16), transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(255, 179, 71, 0.12), transparent 60%),
        linear-gradient(145deg, #020204, #050301 55%, #0b0500);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    z-index: 999;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    color: var(--text-light);
}

.page-loader::before {
    content: '';
    position: absolute;
    inset: -30% -15%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 122, 24, 0.3), transparent 55%),
        radial-gradient(circle at 75% 40%, rgba(255, 179, 71, 0.22), transparent 60%);
    filter: blur(70px);
    opacity: 0.5;
    animation: loaderAurora 18s ease-in-out infinite alternate;
    z-index: 1;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 35%, rgba(255, 122, 24, 0.08), transparent 60%);
    z-index: 2;
    overflow: hidden;
    transition: opacity 0.32s ease;
}

.loader-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 122, 24, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 122, 24, 0.06) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.12;
}

.loader-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 80%, rgba(255, 122, 24, 0.12), transparent 55%);
    mix-blend-mode: screen;
}

.loader-core {
    position: relative;
    z-index: 3;
    width: min(480px, 92vw);
    padding: clamp(2.2rem, 4vw, 3rem);
    border-radius: 36px;
    /* background: radial-gradient(circle at 50% 20%, rgba(255, 122, 24, 0.15), rgba(5, 3, 2, 0.95)); */
    /* border: 1px solid rgba(255, 122, 24, 0.28); */
    /* box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), inset 0 0 35px rgba(0, 0, 0, 0.65); *(
    /* backdrop-filter: blur(18px); */
    text-align: center;
    animation: loaderCoreReveal 0.8s ease forwards;
    transition: transform 0.32s ease;
}

.loader-core::before {
    content: '';
    position: absolute;
    inset: 1px;
    /* border-radius: 34px; */
    /* border: 1px solid transparent; */
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 122, 24, 0.45)) border-box; */
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.loader-logo-shell {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: #0b0f14;
    /* LOADER REFINE */
    /*border: 1px solid rgba(255, 255, 255, 0.12); */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    /* LOADER REFINE */
    overflow: visible;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.loader-logo-shell img {
    position: relative;
    z-index: 3;
    filter: none;
    /* LOADER REFINE */
    animation: none;
    /* LOADER REFINE */
}

.page-loader.flight-active .loader-core {
    opacity: 0.65;
    filter: blur(1px);
}

.loader-flight-clone {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    will-change: transform, opacity;
    box-shadow: 0 0 30px rgba(255, 122, 24, 0.4), 0 0 70px rgba(255, 122, 24, 0.2);
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ring-outer {
    inset: -18px;
    /*border: 1px solid rgba(255, 255, 255, 0.16);*/
    /* LOADER REFINE */
    box-shadow: none;
    /* LOADER REFINE */
    animation: none;
    /* LOADER REFINE */
}

.page-loader.fading .loader-core {
    opacity: 1;
    transform: scale(0.985);
}

.page-loader.fading .loader-overlay {
    opacity: 1;
}

.ring-inner {
    inset: 8px;
    /*border: 1px solid rgba(255, 255, 255, 0.08);*/
    /* LOADER REFINE */
    box-shadow: none;
    /* LOADER REFINE */
    opacity: 1;
    /* LOADER REFINE */
}

.loader-orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe1b9, #ff9830);
    /* LOADER REFINE */
    border: 1px solid rgba(255, 255, 255, 0.45);
    /* LOADER REFINE */
    box-shadow: 0 0 8px rgba(255, 160, 70, 0.35);
    /* LOADER REFINE */
    animation: loaderOrbitDot 4.5s linear infinite;
    will-change: transform;
    /* LOADER REFINE */
    z-index: 2;
}


.hero-visual {
    height: 100%;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-webgl-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    margin-bottom: 1.75rem;
    border-radius: 20px;
    overflow: hidden;
}

.hero-webgl-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/sm2care_logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% auto;
    pointer-events: none;
    z-index: 1;
}

#heroWebgl {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

#heroWebgl.is-interacting {
    cursor: grabbing;
}

.hero-panel-content ul li {
    color: var(--muted);
}

.blueprint-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.blueprint-item:last-child {
    border-bottom: none;
}

.blueprint-item p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.typed-highlight {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-alt);
    margin-top: 1rem;
    display: block;
    min-height: 48px;
    line-height: 1.2;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ripple:hover::after {
    opacity: 1;
}

.ripple span {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    background: rgba(255, 122, 24, 0.35);
    animation: ripple 0.6s linear;
}

.hero .badge {
    background: rgba(255, 122, 24, 0.15);
    color: var(--accent-alt);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 32px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-meta div {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease;
}

.hero-meta div:hover {
    border-color: rgba(255, 122, 24, 0.4);
}

.hero-meta small {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--accent);
}

.hero-meta p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.typed-inline {
    color: var(--accent);
    font-weight: 600;
}

.noise-layer {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"%3E%3Crect width="200" height="200" fill="%23010103"/%3E%3Cpath d="M0 0h200v200H0z" fill="none" opacity="0.05" stroke="%23fff" stroke-width="1"/%3E%3C/svg%3E');
    opacity: 0.4;
    mix-blend-mode: screen;
}

.hero-ticker {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
}

.ticker-track {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    animation: ticker 22s linear infinite;
}

.ticker-item {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--muted);
    padding: 0.75rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    min-height: 120px;
}

.stat-chip span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-alt);
}

.glass-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.hero-panel ul {
    list-style: none;
    padding-left: 0;
}

.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2.2s ease-in-out infinite;
}

.orbitron-label {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--accent-alt);
}

.service-card,
.blog-card,
.metric-card,
.side-card,
.impact-card,
.contact-form,
.contact-info {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.7rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card ul,
.side-card ul,
.case-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.service-card ul li,
.side-card ul li,
.case-card ul li {
    color: var(--muted);
    font-size: 0.9rem;
}

.neon-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.05));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.neon-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.6);
    box-shadow: 0 20px 60px rgba(255, 122, 24, 0.25);
}

.neon-card-static {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 122, 24, 0.08));
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.neon-card-static:hover {
    border-color: rgba(255, 122, 24, 0.55);
    box-shadow: 0 18px 50px rgba(255, 122, 24, 0.2);
}

.chronos-signature {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.logo-chip {
    position: relative;
    padding: 1rem 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 18px;
    min-width: 220px;
    overflow: hidden;
    isolation: isolate;
}

.logo-chip .logo-image {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
}

.logo-chip .logo-meta {
    position: relative;
    z-index: 1;
}

.case-hero-logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.case-hero-logo {
    width: 260px;
    max-width: 100%;
    display: inline-block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

.case-hero-logo.partner {
    width: 140px;
    opacity: 0.95;
}

.case-hero-logo-caption {
    letter-spacing: 0.08em;
    font-weight: 600;
}

.logo-chip .logo-flare {
    position: absolute;
    width: 220px;
    height: 220px;
    inset: auto auto -40% -25%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 24, 0.35), transparent 65%);
    opacity: 0.9;
    filter: blur(10px);
    z-index: 0;
    animation: glow 9s ease-in-out infinite;
}

.logo-chip .logo-flare.alt {
    background: radial-gradient(circle at 70% 40%, rgba(120, 195, 255, 0.4), transparent 65%);
}

.chronos-brand-lab {
    position: relative;
}

.chronos-brand-lab .floating-shapes span {
    opacity: 0.35;
}

.brand-shell {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.brand-shell::before {
    content: '';
    position: absolute;
    inset: 10% -20% 20% -30%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 24, 0.14), transparent 50%);
    filter: blur(40px);
    z-index: -1;
}

.brand-shell::after {
    content: '';
    position: absolute;
    inset: -40% -10% auto 10%;
    height: 70%;
    background: radial-gradient(circle at 70% 40%, rgba(120, 195, 255, 0.16), transparent 55%);
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: -1;
}

.brand-panel {
    position: relative;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 122, 24, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    isolation: isolate;
}

.brand-panel::after {
    content: '';
    position: absolute;
    inset: 30% -15% auto 25%;
    height: 50%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.15), transparent 60%);
    filter: blur(50px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.brand-panel-head {
    position: relative;
    z-index: 1;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--text-light);
}

.brand-chip.subtle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.brand-info-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.brand-info-card {
    position: relative;
    padding: 1.1rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 122, 24, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(255, 122, 24, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.brand-info-card::after {
    content: '';
    position: absolute;
    inset: auto auto -10% -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 24, 0.2), transparent 55%);
    filter: blur(30px);
    opacity: 0.45;
    pointer-events: none;
}

.logo-sculpture {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1rem;
}

.logo-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.38), transparent 55%);
    filter: blur(90px);
    opacity: 0.8;
    z-index: -1;
    animation: glow 14s ease-in-out infinite;
}

.logo-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    width: min(420px, 100%);
    align-items: stretch;
}

.logo-card {
    position: relative;
    padding: 1.4rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 122, 24, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(150px, 18vw, 190px);
}

.logo-card::after {
    content: '';
    position: absolute;
    inset: auto auto -15% -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 122, 24, 0.24), transparent 55%);
    filter: blur(32px);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

.logo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.35);
    box-shadow: 0 28px 70px rgba(255, 122, 24, 0.18);
}

.logo-card img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.logo-card.primary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 122, 24, 0.12));
}

.logo-card.secondary {
    background: linear-gradient(145deg, rgba(120, 195, 255, 0.16), rgba(12, 16, 30, 0.8));
}

.logo-card.chronos {
    animation: float 10s ease-in-out infinite;
    transform-origin: center;
}

.logo-card.chronos img {
    max-width: 170px;
}

.logo-card.partner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 122, 24, 0.08));
    border-color: rgba(255, 122, 24, 0.3);
}

.logo-card.partner img {
    max-width: 220px;
    opacity: 0.95;
}

.logo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: var(--text-light);
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.logo-marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    white-space: nowrap;
    padding: 0.8rem 1.4rem;
    animation: marquee 18s linear infinite;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: var(--muted);
}

.section-flow {
    position: relative;
    overflow: hidden;
}

.section-flow::before {
    content: '';
    position: absolute;
    inset: -25% -20% auto 10%;
    height: 60%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 122, 24, 0.12), transparent 55%);
    filter: blur(70px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.section-flow::after {
    content: '';
    position: absolute;
    inset: auto 5% -30% 25%;
    height: 55%;
    background: radial-gradient(circle at 60% 50%, rgba(120, 195, 255, 0.12), transparent 55%);
    filter: blur(70px);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.section-flow .container {
    position: relative;
    z-index: 1;
}

.section-animated {
    opacity: 1;
    transform: none;
}

.has-js .section-animated {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    transition-delay: var(--section-delay, 0s);
}

.has-js .section-animated.in-view {
    opacity: 1;
    transform: translateY(0);
}

.case-snapshot {
    position: relative;
    overflow: hidden;
}

.case-snapshot::before {
    content: '';
    position: absolute;
    inset: -20% -30% 40% auto;
    background: radial-gradient(circle at 40% 40%, rgba(255, 122, 24, 0.12), transparent 55%);
    filter: blur(70px);
    opacity: 0.9;
    pointer-events: none;
}

.snapshot-grid {
    position: relative;
    z-index: 1;
}

.snapshot-card {
    position: relative;
    padding: 1.7rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 122, 24, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    isolation: isolate;
}

.snapshot-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.snapshot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.45);
    box-shadow: 0 28px 70px rgba(255, 122, 24, 0.2);
}

.snapshot-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    z-index: 1;
}

.snapshot-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 122, 24, 0.08);
    display: inline-block;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.challenge-pill {
    padding: 1rem;
    border-radius: 18px;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 122, 24, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-pill .pill-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.challenge-card {
    background: linear-gradient(145deg, rgba(5, 5, 7, 0.92), rgba(20, 8, 2, 0.88));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.challenge-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.case-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.7rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(130deg, rgba(5, 5, 7, 0.95), rgba(20, 8, 2, 0.9));
    background-size: 180% 180%;
    text-align: left;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background-position 0.8s ease;
}

.case-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 22px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.18), transparent 55%),
        radial-gradient(circle at 75% 65%, rgba(255, 179, 71, 0.22), transparent 45%);
    opacity: 0.5;
    transition: opacity 0.35s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.case-card::after {
    content: '';
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 60%);
    opacity: 0;
    filter: blur(55px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    z-index: -1;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.6);
    box-shadow: 0 24px 70px rgba(255, 122, 24, 0.28), 0 0 30px rgba(0, 0, 0, 0.65);
    background-position: 60% 20%;
}

.case-card:hover::before {
    opacity: 0.9;
}

.case-card:hover::after {
    opacity: 0.6;
    transform: scale(1.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.service-tag {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--muted);
}

.service-index {
    font-family: 'Orbitron', 'Inter', sans-serif;
    color: var(--accent);
    font-size: 0.85rem;
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-alt);
    margin-right: 0.5rem;
}

.service-spectrum-card {
    padding: 2.4rem;
    border-radius: 32px;
    /*background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.08));*/
    position: relative;
    min-height: clamp(420px, 70vh, 620px);
    overflow: hidden;
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease, filter 0.45s ease;
    opacity: 0.75;
    filter: blur(6px) saturate(0.9);
    pointer-events: none;
    will-change: transform, opacity, filter;
    isolation: isolate;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.04);
}

.service-spectrum-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
}

.card-transition-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.35s ease, transform 0.6s ease;
    background: radial-gradient(circle at 50% 40%, rgba(255, 167, 94, 0.35), transparent 55%);
}

.card-transition-layer::before,
.card-transition-layer::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    opacity: 0.15;
    transform: scaleX(0.4);
}

.card-transition-layer::before {
    top: 32%;
}

.card-transition-layer::after {
    bottom: 28%;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.pill-chip {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

/*
.service-spectrum {
    background: radial-gradient(circle at 10% 20%, rgba(255, 197, 122, 0.05), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(255, 122, 24, 0.08), transparent 40%);
}
*/

.spectrum-shell {
    position: relative;
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}

.spectrum-stage {
    position: sticky;
    top: 120px;
    flex: 0 0 38%;
    border-radius: 40px;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(160deg, rgba(5, 5, 7, 0.95), rgba(20, 8, 2, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    min-height: 70vh;
    isolation: isolate;
}

.stage-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.3), transparent 65%);
    filter: blur(80px);
    opacity: 0.7;
    z-index: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.stage-content {
    position: relative;
    z-index: 2;
}

.stage-tag {
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-alt);
}

.stage-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.stage-description {
    font-size: 1rem;
}

.stage-progress {
    display: flex;
    gap: 0.35rem;
    align-items: baseline;
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.2em;
}

.stage-count {
    font-size: 2.9rem;
    color: var(--accent);
}

.stage-total {
    font-size: 0.95rem;
    color: var(--muted);
}

.stage-pulse .stage-glow {
    transform: scale(1.1);
    opacity: 1;
}

.spectrum-stack {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

.service-spectrum-card.is-active {
    transform: scale(1.015) translateY(-6px);
    border-color: rgba(255, 122, 24, 0.85);
    box-shadow: 0 40px 70px rgba(255, 122, 24, 0.3);
    opacity: 1;
    pointer-events: auto;
    filter: none;
    z-index: 5;
}

.service-spectrum-card.is-active::after {
    border-color: rgba(255, 255, 255, 0.18);
}

.service-spectrum-card:not(.is-active) {
    pointer-events: none;
}

.service-spectrum-card.is-animating {
    opacity: 0.8;
    filter: blur(6px) saturate(1);
}

.service-spectrum-card.is-animating .card-transition-layer {
    opacity: 1;
    transform: scale(1.05);
}

.service-spectrum-card.is-animating .card-transition-layer::before,
.service-spectrum-card.is-animating .card-transition-layer::after {
    animation: stageSweep 0.6s ease;
}

.detail-block {
    background: rgba(1, 2, 4, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    padding: 1.25rem;
    height: 100%;
}

.detail-block ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.detail-block ul li {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.1rem;
}

.detail-block ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-alt);
    position: absolute;
    left: 0;
    top: 0.45rem;
}

.service-cta .btn-sm {
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.text-muted {
    color: var(--muted) !important;
}

.section-heading .eyebrow,
.page-hero .eyebrow,
.case-detail .eyebrow,
.partners-highlight .eyebrow,
.service-card .eyebrow,
.brand-info-card .eyebrow,
.brand-panel-head .eyebrow,
.about-card .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: var(--accent-alt);
    font-family: 'Orbitron', 'Inter', sans-serif;
}

.split-text .split-word {
    display: inline-block;
}

.split-text .split-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ripple:hover::after {
    opacity: 1;
}

.ripple span {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    background: rgba(255, 122, 24, 0.4);
    animation: ripple 0.6s linear;
}

.partner-belt {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.2rem 0;
    background: var(--belt-bg);
    overflow: hidden;
    position: relative;
    z-index: 3;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.45);
    will-change: transform;
}

.partner-belt::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -5%;
    right: -5%;
    height: 40px;
    background: linear-gradient(180deg, rgba(1, 2, 4, 0) 0%, rgba(1, 2, 4, 0.9) 90%);
    pointer-events: none;
    z-index: -1;
}

.belt-track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
    will-change: transform;
}

.belt-sequence {
    display: flex;
    gap: 4rem;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.9rem 0;
}

.belt-sequence span {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: 'Orbitron', 'Inter', sans-serif;
    color: var(--muted);
}

.partners-highlight {
    background: radial-gradient(circle at 18% 25%, rgba(255, 122, 24, 0.15), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(255, 179, 71, 0.12), transparent 65%),
        var(--belt-bg);
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-top: -2.5rem;
    padding-top: clamp(2rem, 4vw, 3.2rem);
}

.partners-highlight::before,
.partners-highlight::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.12), transparent 65%);
    filter: blur(18px);
    opacity: 0.4;
    pointer-events: none;
}

.partners-highlight::before {
    top: -160px;
    right: -120px;
}

.partners-highlight::after {
    bottom: -180px;
    left: -90px;
    opacity: 0.25;
}

.partner-slider {
    padding: clamp(1.5rem, 3vw, 2.6rem);
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(11, 13, 21, 0.95), rgba(6, 7, 13, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(22px);
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.partner-slider.is-dragging {
    cursor: grabbing;
}

.partner-track {
    display: flex;
    width: max-content;
    gap: clamp(2.8rem, 5vw, 4rem);
    will-change: transform;
}

.partner-loop {
    display: flex;
    gap: clamp(1.8rem, 3vw, 2.4rem);
    padding-right: clamp(2rem, 4vw, 4rem);
}

.partner-card {
    position: relative;
    isolation: isolate;
    width: clamp(170px, 16vw, 200px);
    height: 120px;
    border-radius: 26px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    filter: saturate(1.05);
    border: 1px solid rgba(255, 122, 24, 0.25);
    box-shadow: 0 0 18px rgba(255, 122, 24, 0.25), 0 18px 50px rgba(5, 6, 9, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 60%),
        radial-gradient(circle at 10% 15%, rgba(255, 122, 24, 0.18), transparent 55%),
        radial-gradient(circle at 90% 85%, rgba(5, 7, 18, 0.12), transparent 60%);
    opacity: 0.85;
}

.partner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.65), transparent 55%);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.partner-card img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    filter: none;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 35px rgba(255, 122, 24, 0.45), 0 28px 70px rgba(5, 6, 9, 0.35);
    border-color: var(--accent);
}

.partner-card:hover::after {
    opacity: 0.6;
}

.partner-card:hover img,
.partner-card:focus-visible img {
    opacity: 1;
    transform: scale(1.02);
}

.partner-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.partner-slider::before,
.partner-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.partner-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5) !important;
}

.partner-hint i {
    color: var(--accent);
    font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
    .belt-track {
        animation: none;
        transform: none !important;
    }

    .partner-track {
        animation: none;
    }
}

.about-card,
.step-card,
.strength-card,
.blueprint-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(130deg, rgba(5, 5, 7, 0.95), rgba(20, 8, 2, 0.9));
    background-size: 180% 180%;
    text-align: left;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background-position 0.8s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.blueprint-card {
    display: block;
    position: relative;
    overflow: visible;
    padding: 1.4rem 1.5rem 1.4rem 4.8rem;
    border-bottom: none;
    margin-bottom: 0;
}

.blueprint-card.ripple {
    overflow: visible;
}

.blueprint-card .blueprint-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.blueprint-card .icon-circle {
    margin: 0;
    box-shadow: 0 0 0 0 rgba(255, 122, 24, 0.45);
    animation: pulse 2.2s ease-in-out infinite;
}

.blueprint-card .blueprint-copy {
    margin: 0;
}


.step-card {
    padding: 1.8rem;
}

.strength-card {
    padding: 2rem;
}

.about-card::before,
.step-card::before,
.strength-card::before,
.blueprint-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.18), transparent 55%), radial-gradient(circle at 75% 65%, rgba(255, 179, 71, 0.22), transparent 45%);
    opacity: 0.5;
    transition: opacity 0.35s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.about-card::after,
.step-card::after,
.strength-card::after,
.blueprint-card::after {
    content: '';
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 60%);
    opacity: 0;
    filter: blur(45px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    z-index: -1;
}

.about-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.about-card:hover,
.step-card:hover,
.strength-card:hover,
.blueprint-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.6);
    box-shadow: 0 24px 70px rgba(255, 122, 24, 0.28), 0 0 30px rgba(0, 0, 0, 0.65);
    background-position: 60% 20%;
}

.about-card:hover::before,
.step-card:hover::before,
.strength-card:hover::before,
.blueprint-card:hover::before {
    opacity: 0.9;
}

.about-card:hover::after,
.step-card:hover::after,
.strength-card:hover::after,
.blueprint-card:hover::after {
    opacity: 0.6;
    transform: scale(1.1);
}

.workflow {
    position: relative;
}


.step-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.step-number {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.strength-card {
    padding: 2rem;
}

.strength-card h5 {
    color: var(--accent-alt);
}

.testimonials .carousel-item {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.testimonial-card {
    padding: 2.5rem;
}

.testimonial-card p {
    font-size: 1.2rem;
    color: var(--muted);
}

.faq-section .accordion-button {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--accent);
    box-shadow: none;
}

.faq-section .accordion-body {
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
}

.case-preview {
    background: var(--belt-bg);
}

.experience-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.12));
    border-radius: 32px;
    margin: 0 1rem;
    border: 1px solid rgba(255, 122, 24, 0.15);
}

.experience-pill {
    background: rgba(1, 2, 4, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 1.5rem;
    height: 100%;
}

.pill-tag {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent-alt);
    margin-bottom: 0.5rem;
}

.stack-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.01);
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 18s linear infinite;
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.stack-item {
    padding: 0.5rem 0;
}

.case-card .badge {
    background: rgba(255, 122, 24, 0.15);
    color: var(--accent-alt);
    border-radius: 999px;
    font-weight: 500;
}

.case-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.case-kpi {
    display: flex;
    gap: 1rem;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-alt);
}

:root {
    /* se già esiste, puoi togliere questa riga */
    --accent: #ff7a18;
}

/* SHELL: dark, con glow arancione morbido */
.final-cta-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: clamp(2.75rem, 5vw, 4.75rem);
    border-radius: 40px 40px 0 0;

    /* Dark gradient + subtle orange glow */
    background:
        radial-gradient(900px 360px at 50% 0%,
            rgba(255, 122, 24, 0.16),
            rgba(255, 122, 24, 0.06) 38%,
            rgba(10, 12, 18, 0.0) 70%),
        linear-gradient(180deg, #0a0c12 0%, #07090e 60%, #05060a 100%);

    border: 1px solid rgba(255, 255, 255, 0.08);

    /* Premium depth */
    box-shadow:
        0 -22px 70px rgba(0, 0, 0, 0.55),
        0 28px 90px rgba(0, 0, 0, 0.35);

    color: rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

/* decorative line */
.final-cta-shell::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 122, 24, 0),
            rgba(255, 122, 24, 0.55),
            rgba(255, 122, 24, 0));
    opacity: 0.9;
}

/* subtle noise / texture (optional but nice) */
.final-cta-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.06), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.35;
}

/* inner block spacing */
.final-cta {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

/* Eyebrow: leggibile ma non urlata */
.final-cta-shell .eyebrow {
    display: inline-block;
    letter-spacing: .16em;
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: .65rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

/* Headline accent: arancio controllato */
.final-cta-accent {
    color: var(--accent);
    text-shadow: 0 0 18px rgba(255, 122, 24, 0.28);
}

/* Lead */
.final-cta-lead {
    color: rgba(255, 255, 255, 0.70);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Override del tuo .text-muted solo qui */
.final-cta-shell .text-muted {
    color: rgba(255, 255, 255, 0.70) !important;
}

/* SECONDARY button: non "outline-light" bianco, ma glass */
.final-cta-shell .final-cta-secondary {
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.final-cta-shell .final-cta-secondary:hover {
    border-color: rgba(255, 122, 24, 0.55);
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 122, 24, 0.10);
    box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.08);
}

/* PRIMARY: aggiungo glow “neon” pulito senza esagerare */
.final-cta-shell .final-cta-primary {
    box-shadow:
        0 0 0 1px rgba(255, 122, 24, 0.22),
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(255, 122, 24, 0.22);
}

.final-cta-shell .final-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 122, 24, 0.35),
        0 14px 34px rgba(0, 0, 0, 0.55),
        0 0 44px rgba(255, 122, 24, 0.28);
}

/* Mobile: border radius più coerente */
@media (max-width: 576px) {
    .final-cta-shell {
        border-radius: 28px 28px 0 0;
        padding: 2.25rem 1.25rem;
    }
}


.about-flash,
.workflow,
.strengths,
#servizi,
.case-preview,
.testimonials,
.faq-section,
.site-footer {
    background: var(--belt-bg);
}

.final-cta-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-top: 1rem;
}

.final-cta-copy p {
    max-width: 720px;
    margin: 1rem auto 0;
}

.site-footer {
    background: #000103;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.footer-logo {
    max-width: 160px;
    height: auto;
}

.footer-links li+li {
    margin-top: 0.4rem;
}

.footer-links a,
.site-footer a {
    color: var(--muted);
}

.footer-links a:hover {
    color: #fff;
}

.inner-page .page-hero {
    padding: 4rem 0 2rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 1rem;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 28px;
    margin: 0 1rem;
    padding: 3rem 2rem;
}

.chi-siamo-page .page-hero {
    padding: clamp(4rem, 8vw, 6rem) 0 3rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.chi-siamo-page .page-hero::before {
    content: '';
    position: absolute;
    inset: 8% 10% auto;
    height: 72%;
    background: radial-gradient(circle at 18% 30%, rgba(255, 122, 24, 0.28), transparent 35%),
        radial-gradient(circle at 80% 38%, rgba(255, 179, 71, 0.22), transparent 40%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    filter: blur(28px);
    opacity: 0.65;
    pointer-events: none;
}

.chi-siamo-page .page-hero::after {
    content: '';
    position: absolute;
    inset: 10% 4% auto;
    height: 70%;
    border-radius: 32px;
    background: radial-gradient(circle at 20% 30%, rgba(255, 122, 24, 0.12), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255, 179, 71, 0.08), transparent 45%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    filter: blur(22px);
    opacity: 0.9;
    pointer-events: none;
}

.chi-siamo-page .page-hero .container {
    position: relative;
    z-index: 2;
    margin-top: var(--header-overlay-offset);
}

[data-page="contatti"] .page-hero h1 {
    margin-top: var(--header-overlay-offset);
}

.case-page .page-hero h1 {
    margin-top: var(--header-overlay-offset);
}

.chi-siamo-page .hero-meta {
    color: var(--muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
}

.label-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.label-chip.soft {
    border-color: rgba(255, 122, 24, 0.42);
    background: rgba(255, 122, 24, 0.08);
    color: #fff;
}

.hero-dash {
    color: var(--muted);
}

.hero-pills .pill {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn {
    padding: 0.85rem 1.4rem;
}

.hero-actions .btn-outline-light.subtle {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-note .tiny-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-alt));
    box-shadow: 0 0 14px rgba(255, 122, 24, 0.6);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.12);
    border: 1px solid rgba(255, 122, 24, 0.3);
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.chi-siamo-page .hero-sheet {
    position: relative;
    overflow: hidden;
}



.chi-siamo-page .section-contrast {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01) 55%, transparent 100%);
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.75rem);
    overflow: hidden;
}

.chi-siamo-page .section-contrast::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 240px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 24, 0.5), transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

.chi-siamo-page .tech-sheet {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.tech-sheet-row {
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-sheet-row:first-of-type {
    border-top: 0;
}

.tech-sheet .label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.02em;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
    border-color: rgba(255, 122, 24, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.chi-siamo-page .page-hero .alt-bg {
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.chi-siamo-page .metrics-band {
    padding: 0 0 1.5rem;
    margin-top: -0.75rem;
}

.chi-siamo-page .metrics-band .metric-card {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
        linear-gradient(120deg, rgba(255, 122, 24, 0.12), rgba(255, 179, 71, 0.06));
}

.chi-siamo-page .metrics-band .metric-card.highlight {
    border-color: rgba(255, 122, 24, 0.4);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.metric-kicker {
    display: inline-flex;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.25rem 0 0.4rem;
}

.metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent);
    font-size: 0.9rem;
}

.work-steps .step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.work-steps .step:last-child {
    border-bottom: 0;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Orbitron', 'Inter', sans-serif;
}

.chi-siamo-page .work-steps {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.chi-siamo-page .work-steps .step {
    padding: 1rem 0;
    align-items: flex-start;
}

.chi-siamo-page .work-steps .tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-right: 0.35rem;
}

.chi-siamo-page .work-steps .step-number {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    aspect-ratio: 1;
    line-height: 1;
    border: 1px solid rgba(255, 122, 24, 0.45);
    background: rgba(255, 122, 24, 0.08);
    font-size: 1rem;
}

.metric-card {
    text-align: center;
}

.chi-siamo-page .metric-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chi-siamo-page .metric-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 122, 24, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.chi-siamo-page .tech-list {
    margin-top: 0.5rem;
}

.chi-siamo-page .tech-item {
    padding: 1rem 1.25rem;
    border-left: 3px solid rgba(255, 122, 24, 0.5);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.chi-siamo-page .tech-item strong {
    display: block;
    margin-bottom: 0.35rem;
}

.chi-siamo-page .tech-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.08), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.chi-siamo-page .tech-item:hover::after {
    opacity: 0.12;
}

.info-list {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.info-list.stacked {
    display: grid;
    gap: 0.8rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 122, 24, 0.06));
}

.dot-list {
    list-style: none;
    padding-left: 0;
}

.dot-list li {
    position: relative;
    padding-left: 1.4rem;
}

.dot-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--accent), var(--accent-alt));
    position: absolute;
    left: 0;
    top: 0.45rem;
}

.case-detail {
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background: var(--card);
}

.blog-card .badge {
    background: rgba(255, 122, 24, 0.1);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.contact-info ul li {
    margin-bottom: 0.8rem;
}

.form-control,
.form-select,
textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 14px;
}

.form-control::placeholder,
textarea::placeholder {
    color: var(--muted);
    opacity: 0.85;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 122, 24, 0.4);
}

.form-check-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.deliverables-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.75rem;
}

.deliverables-list li {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.chi-siamo-page .values-list li {
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.chi-siamo-page .values-list strong {
    color: #fff;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}


.legal p {
    color: var(--muted);
    line-height: 1.8;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 999px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@keyframes stageSweep {
    0% {
        transform: scaleX(0.3) translateX(-30%);
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: scaleX(1.1) translateX(30%);
        opacity: 0;
    }
}

/* MOBILE OPT: lite mode overrides for heavy effects */
html.mobile-lite .mobile-lite-visual {
    animation: none;
    filter: none;
    opacity: 0.45;
}

html.mobile-lite .hero-video {
    filter: none;
    animation: none;
    opacity: 0.45;
}

html.mobile-lite .floating-shapes span {
    animation: none;
    box-shadow: none;
}

html.mobile-lite .floating-shapes {
    display: none;
}

html.mobile-lite .neon-orb {
    filter: none;
    opacity: 0.3;
}

html.mobile-lite .noise-layer {
    mix-blend-mode: normal;
    opacity: 0.2;
}

html.mobile-lite .neural-canvas {
    mix-blend-mode: normal;
    opacity: 0.2;
}

html.mobile-lite .neural-canvas-static::before,
html.mobile-lite .neural-canvas-static::after {
    animation: none;
    filter: none;
    opacity: 0.18;
}

html.mobile-lite .navbar {
    backdrop-filter: none;
}

html.mobile-lite .navbar::before,
html.mobile-lite .navbar::after {
    animation: none;
    opacity: 0.2;
}

html.mobile-lite .glass-card,
html.mobile-lite .partner-slider,
html.mobile-lite .partner-card {
    backdrop-filter: none;
}

/* MOBILE OPT: ferma animazioni decorative,
   MA NON quelle inside .always-animate (partners + belt) */
html.mobile-lite .status-dot,
html.mobile-lite .pulse,
html.mobile-lite .logo-card.chronos,
html.mobile-lite .logo-chip .logo-flare,
html.mobile-lite .loader-logo-shell img,
html.mobile-lite .ring-outer,
html.mobile-lite .loader-orbit-dot,
html.mobile-lite :not(.always-animate) .ticker-track,
html.mobile-lite :not(.always-animate) .logo-marquee-track,
html.mobile-lite :not(.always-animate) .belt-track,
html.mobile-lite :not(.always-animate) .marquee-track {
    animation: none;
}

html.mobile-lite .about-card::before,
html.mobile-lite .step-card::before,
html.mobile-lite .strength-card::before,
html.mobile-lite .blueprint-card::before,
html.mobile-lite .loader-overlay::after {
    mix-blend-mode: normal;
}

html.mobile-lite .about-card::after,
html.mobile-lite .step-card::after,
html.mobile-lite .strength-card::after,
html.mobile-lite .blueprint-card::after,
html.mobile-lite .brand-shell::before,
html.mobile-lite .brand-shell::after,
html.mobile-lite .brand-panel::after,
html.mobile-lite .section-flow::before,
html.mobile-lite .partners-highlight::before,
html.mobile-lite .partners-highlight::after {
    filter: none;
    opacity: 0.25;
}

/* MOBILE FIX: enable partner animations */
html.mobile-lite .partners-highlight .logo-marquee-track {
    animation: marquee 8s linear infinite;
}

html.mobile-lite .partner-belt .belt-track {
    animation: marquee 60s linear infinite;
}

/* MOBILE FIX: enable loader + header animations */
html.mobile-lite .site-header .navbar::before {
    animation: headerTopLine var(--header-shine-duration) linear infinite;
    opacity: var(--shine-opacity);
}

html.mobile-lite .site-header .navbar::after {
    animation: headerBottomLine var(--header-shine-duration) linear infinite;
    opacity: 0;
}

html.mobile-lite .site-header .status-dot {
    animation: pulse 2.8s ease-in-out infinite;
}

html.mobile-lite .page-loader .loader-logo-shell img {
    animation: none;
    /* LOADER REFINE */
}

html.mobile-lite .page-loader .ring-outer {
    animation: none;
    /* LOADER REFINE */
}

html.mobile-lite .page-loader .loader-orbit-dot {
    animation: loaderOrbitDot 4.5s linear infinite;
}

@media (max-width: 992px) {
    .navbar {
        border-radius: 24px;
    }

    .spectrum-shell {
        flex-direction: column;
    }

    .spectrum-stage {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .spectrum-stack {
        width: 100%;
        gap: 1.75rem;
    }

    .service-spectrum-card {
        position: relative;
        top: auto;
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
        margin-bottom: 0;
        visibility: visible;
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    }
}

@media (max-width: 768px) {
    :root {
        /* HEADER OVERLAY FIX */
        --header-overlay-offset: 3.25rem;
    }

    .hero {
        /* HEADER OVERLAY FIX */
        padding-top: calc(4rem + var(--header-overlay-offset));
    }

    .hero .badge {
        width: 100%;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
        padding: 0.4rem 0.8rem;
        white-space: normal;
    }

    .hero-webgl-wrapper {
        height: 220px;
        margin-bottom: 1rem;
    }

    .chi-siamo-page .hero-actions .btn,
    .chi-siamo-page .hero-note {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .chi-siamo-page .hero-note {
        order: 3;
    }

    .chi-siamo-page .metrics-band {
        margin-top: 0;
    }

    .final-cta {
        margin: 0;
    }

    .case-detail {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .final-cta {
        padding: 3rem 0 0;
    }

    .final-cta-shell {
        padding: 2rem;
        border-radius: 32px 32px 0 0;
    }

    .pill-group {
        flex-direction: column;
    }

    .stage-progress {
        justify-content: flex-start;
    }

    .service-spectrum-card {
        padding: 1.75rem;
    }
}

@keyframes loaderAurora {
    from {
        transform: translate3d(-5%, -5%, 0) rotate(0deg);
    }

    to {
        transform: translate3d(5%, 5%, 0) rotate(6deg);
    }
}

@keyframes loaderCoreReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderLogoGlow {
    0% {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 179, 71, 0.9));
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 122, 24, 0.7));
    }
}

@keyframes loaderRingPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.96);
    }
}

@keyframes loaderOrbitDot {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(86px);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(86px);
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.6;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 24, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 122, 24, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 24, 0);
    }
}

@keyframes glow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0);
    }

    50% {
        transform: translate(20px, -40px) rotate(8deg);
    }

    100% {
        transform: translate(0, 0) rotate(0);
    }
}

@keyframes neuralDrift {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Footer - dark mode */
.site-footer.footer-dark {
    --footer-bg: #05070e;
    --footer-border: rgba(255, 255, 255, 0.08);
    --footer-fg: #e6ecf8;
    --footer-muted: #8da0c2;
    --footer-link: #cfd8f3;
    --footer-link-hover: var(--accent);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 122, 24, 0.05), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(0, 198, 255, 0.05), transparent 28%),
        var(--footer-bg);
    color: var(--footer-fg);
    position: relative;
    overflow: hidden;
}

.site-footer.footer-dark::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(122, 180, 255, 0.35), transparent);
}

.site-footer.footer-dark .container {
    position: relative;
    z-index: 1;
}

.site-footer.footer-dark .border-secondary {
    border-color: var(--footer-border) !important;
}

.site-footer.footer-dark .text-secondary {
    color: var(--footer-muted) !important;
}

.site-footer.footer-dark .footer-links a,
.site-footer.footer-dark a.link-light {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer.footer-dark .footer-links a:hover,
.site-footer.footer-dark a.link-light:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
    text-decoration-color: rgba(255, 122, 24, 0.45);
}

.site-footer.footer-dark h6 {
    letter-spacing: 0.04em;
}

.site-footer.footer-dark .badge {
    background: linear-gradient(135deg, rgba(122, 180, 255, 0.25), rgba(0, 204, 255, 0.18));
    border: 1px solid rgba(138, 181, 255, 0.35);
}

.site-footer.footer-dark .footer-logo {
    filter: drop-shadow(0 0 18px rgba(122, 180, 255, 0.3));
}

.site-footer.footer-dark .border-top {
    box-shadow: inset 0 1px 0 var(--footer-border);
}

.site-footer.footer-dark .separator-dot {
    color: var(--footer-border);
}



/* =========================
   MOBILE LITE – GPU SAFE
   ========================= */

@media (max-width: 768px) {

    /* 1) Blend modes: spesso causa flicker su iOS */
    .noise-layer,
    .neural-canvas,
    .neural-canvas * {
        mix-blend-mode: normal !important;
    }

    /* 2) Backdrop-filter: costoso in scroll */
    .navbar,
    .glass-card,
    .partner-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 3) Blur giganteschi: riduci o rimuovi */
    .neural-canvas-static::before,
    .neural-canvas-static::after {
        filter: none !important;
        animation: none !important;
        opacity: 0.18 !important;
        /* mantiene “mood” */
    }

    /* 4) Decorazioni animate: stop */
    .floating-shapes span {
        animation: none !important;
    }

    /* 5) Orb: togli blur live (o riduci) */
    .neon-orb {
        filter: none !important;
        opacity: 0.22;
    }
}



/* iOS Safari anti-flicker (compositing stabilizer) */
@supports (-webkit-touch-callout: none) {

    .noise-layer,
    .neon-orb,
    .floating-shapes,
    .neural-canvas,
    .neural-canvas-static {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
}


/* default: animazioni decorative in pausa */
.decor-anim .floating-shapes span,
.decor-anim .neural-canvas-static::before,
.decor-anim .neural-canvas-static::after {
    animation-play-state: paused !important;
}

/* quando hero visibile: running */
.decor-anim.is-active .floating-shapes span,
.decor-anim.is-active .neural-canvas-static::before,
.decor-anim.is-active .neural-canvas-static::after {
    animation-play-state: running !important;
}