/* ============================================================
     DESIGN TOKENS
  ============================================================ */
html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    overflow-x: hidden;
    -ms-overflow-style: none;
}

:root {
    --ink-900: #241f63;
    --ink-700: #4f4a82;
    --red-600: #e31e24;
    --red-400: #f1656a;
    --red-300: #f49396;
    --red-200: #f8bec0;
    --red-100: #fce2e3;
    --bg: #f8f8fc;
    --white: #ffffff;

    --border-soft: rgba(36, 31, 99, 0.1);
    --border-softer: rgba(36, 31, 99, 0.07);
    --shadow-sm: 0 4px 16px rgba(36, 31, 99, 0.06);
    --shadow-md: 0 12px 40px rgba(36, 31, 99, 0.09);
    --shadow-lg: 0 24px 70px rgba(36, 31, 99, 0.12);

    --gradient-brand: linear-gradient(135deg,
            #f8f8fc 0%,
            #fce2e3 48%,
            #d9d6f0 100%);
    --gradient-soft: linear-gradient(135deg,
            #ffffff 0%,
            #f8f8fc 45%,
            #fce2e3 100%);
    --gradient-accent: linear-gradient(135deg, #e31e24 0%, #241f63 100%);
    --gradient-glow: radial-gradient(circle,
            rgba(227, 30, 36, 0.2) 0%,
            rgba(36, 31, 99, 0.1) 45%,
            rgba(248, 248, 252, 0) 75%);

    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
    --r-pill: 999px;

    --font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;

    --container: 1320px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.35s;
    --dur-med: 0.6s;
    --dur-slow: 0.9s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink-700);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: var(--red-400);
    color: var(--ink-900);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red-600);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--red-600);
    border-radius: 2px;
}

section {
    position: relative;
}

.section-pad {
    padding: 120px 0;
}

@media (max-width: 900px) {
    .section-pad {
        padding: 80px 0;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink-900);
    color: #fff;
    padding: 14px 22px;
    border-radius: 0 0 10px 0;
    z-index: 999;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2.5px solid var(--red-600);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 28px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    transition:
        transform var(--dur-fast) var(--ease),
        box-shadow var(--dur-fast) var(--ease),
        background var(--dur-fast) var(--ease);
    white-space: nowrap;
}

.btn svg {
    transition: transform var(--dur-fast) var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--ink-900);
    color: #fff;
    box-shadow: 0 10px 30px rgba(36, 31, 99, 0.25);
}

.btn-primary:hover {
    background: #160f42;
    box-shadow: 0 14px 36px rgba(36, 31, 99, 0.32);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.35);
}

.btn-accent:hover {
    box-shadow: 0 14px 38px rgba(227, 30, 36, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-900);
    border-color: var(--border-soft);
}

.btn-ghost:hover {
    background: rgba(36, 31, 99, 0.05);
}

.btn-light {
    background: #fff;
    color: var(--ink-900);
}

.btn-light:hover {
    background: var(--red-100);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 14px;
}

.magnetic {
    will-change: transform;
}

/* ============================================================
     REVEAL / MOTION
  ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}

.reveal-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.stagger>* {
    transition-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
     NAV — full-width bar, gradient-to-transparent → solid on scroll
  ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition:
        background 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        backdrop-filter 0.4s var(--ease),
        padding 0.4s var(--ease);
    padding: 18px 0;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(36, 31, 99, 0.12);
    padding: 10px 0;
}

.nav-inner {
    /* FIX: was "margin: -45px auto" — a negative top/bottom margin
       that pulled the entire bar upward and clipped it against the
       viewport edge on every screen size. */
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ---------- Logo ---------- */
.nav-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo {
    /* FIX: was "height: 135px" — this is the BASE rule that applies
       at every width including desktop, so the logo was rendering
       nearly 3x taller than the 18px-padding nav bar could contain
       it. 44px is the correct resting height for an 18px-padding
       fixed nav; it scales down further on scroll and on mobile
       via the media queries below. */
    height: 44px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
    transition:
        height var(--dur-fast) var(--ease),
        filter 0.4s var(--ease);
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
}

.nav-logos {
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
    transition:
        height var(--dur-fast) var(--ease),
        filter 0.4s var(--ease);
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
}

.nav.scrolled .nav-logo {
    /* FIX: was commented out, leaving the 135px base rule active
       even after scrolling into the compact 10px-padding state. */
    height: 36px;
    filter: none;
}

.nav-logo--mobile-menu {
    height: 34px;
    max-width: 170px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--ink-900);
    font-size: 16px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: none;
    background: var(--gradient-accent);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

/* ---------- Links ---------- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links a {
    position: relative;
    padding: 9px 14px;
    font-weight: 800;
    white-space: nowrap;
    border-radius: var(--r-pill);
    transition: color var(--dur-fast) var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    background: var(--red-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease);
}

.nav-links a:hover {
    color: #2320e4 !important;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav.scrolled .nav-links a {
    color: var(--ink-700);
}

.nav.scrolled .nav-links a:hover {
    color: var(--ink-900);
}

/* ---------- CTA / burger ---------- */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.4s var(--ease),
        border-color 0.4s var(--ease);
}

.burger span,
.burger span::before,
.burger span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #241f63;
    position: relative;
    transition: 0.3s var(--ease);
}

.burger span::before {
    position: absolute;
    top: -6px;
}

.burger span::after {
    position: absolute;
    top: 6px;
}

.nav.scrolled .burger {
    border-color: var(--border-soft);
    background: #f4c2c6;
}

.nav.scrolled .burger span,
.nav.scrolled .burger span::before,
.nav.scrolled .burger span::after {
    background: var(--ink-900);
}

/* ---------- Mobile menu overlay (unchanged) ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--gradient-soft);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 40px;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-links a {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink-900);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-softer);
}

.mobile-menu-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .nav-links a {
        padding: 9px 10px;
        font-size: 13.5px;
    }
}

@media (max-width: 920px) {
    .nav-inner {
        /* FIX: was "padding: 47px 16px" — 47px of top/bottom padding
           inflated the whole bar to ~110px tall on every phone and
           tablet. Nav vertical rhythm now comes only from .nav's own
           padding, same pattern as desktop. */
        padding: 0 16px;
    }

    .nav {
        padding: 14px 0;
    }

    .nav.scrolled {
        padding: 8px 0;
    }

    .nav-logo {
        /* FIX: removed "margin-top: 2%" (arbitrary vertical nudge
           that only existed to compensate for the padding bug above)
           and set a real mobile-appropriate height. */
        height: 38px;
        max-width: 140px;
    }

    .nav.scrolled .nav-logo {
        height: 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta .btn-text {
        display: none;
    }

    .nav-cta .btn {
        padding: 10px;
    }

    .burger {
        display: flex;
    }
}

@media (max-width: 380px) {
    .nav-logo {
        height: 32px;
        max-width: 120px;
    }

    .nav.scrolled .nav-logo {
        height: 28px;
    }
}

/* ============================================================
        HERO
    ============================================================ */
.hero {
    position: relative;
    padding: 130px 0 30px;
    background: var(--hero-bg, #FDF4F1);
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 640px;
    height: 640px;
    top: -220px;
    left: -220px;
    background: radial-gradient(circle at 35% 35%, rgba(227, 30, 36, 0.14), rgba(227, 30, 36, 0) 70%);
}

.hero-blob-2 {
    width: 420px;
    height: 420px;
    bottom: -180px;
    left: -80px;
    background: radial-gradient(circle at 50% 50%, rgba(227, 30, 36, 0.10), rgba(227, 30, 36, 0) 72%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.85fr 1.5fr;
    gap: 48px;
    align-items: center;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(227, 30, 36, 0.25);
    background: #fff;
    color: var(--red-600);
    font-weight: 700;
    font-size: 13.5px;
}

.hero-title {
    margin-top: 22px;
    font-size: clamp(2.6rem, 5vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--ink-900);
    max-width: 560px;
}

.accent-gradient {
    background: linear-gradient(90deg, var(--red-600), #F27C8D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-700);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(36, 31, 99, 0.18);
    background: #fff;
    font-weight: 700;
    color: var(--ink-900);
    transition: 0.3s var(--ease);
}

.btn-outline:hover {
    border-color: var(--red-600);
    color: var(--red-600);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(36, 31, 99, 0.15);
}

.hero-trust div {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 21px;
    color: var(--ink-900);
}

.hero-trust span {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12.5px;
    color: var(--ink-700);
    margin-top: 2px;
}

/* --- Visual / photo stage --- */
.hero-visual {
    position: relative;
    perspective: 1400px;
    align-self: center;
    min-width: 0;
    margin-right: clamp(-90px, -9vw, -30px);
    margin-left: clamp(-10px, -2vw, 0px);
}

.stage3d {
    position: relative;
    width: 108%;
    transform-style: preserve-3d;
    transform: rotateX(var(--ry, 4deg)) rotateY(var(--rx, -6deg));
    transition: transform 0.5s var(--ease);
    will-change: transform;
}

.hero-photo {
    position: relative;
    width: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
    transform: translateZ(30px);
}

.hero-photo-img {
    display: block;
    width: 100%;
    min-width: 560px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(36, 31, 99, 0.22));
}

/* --- Floating UI tags (icon + two-line text) --- */
.badge-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 18px 12px 12px;
    box-shadow: var(--shadow-md);
    transform: translateZ(var(--tz, 80px));
    animation: floaty 6s ease-in-out infinite;
    max-width: 220px;
}

.badge-ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: none;
    color: #fff;
}

.ico-purple {
    background: #7C6CF0;
}

.ico-red {
    background: var(--red-600);
}

.ico-orange {
    background: #F0A857;
}

.ico-blue {
    background: #4C8DF0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.badge-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-900);
}

.badge-text small {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-700);
}

.badge-1 {
    top: 2%;
    left: 20%;
    animation-delay: 0.2s;
    --tz: 90px;
}

.badge-2 {
    top: 6%;
    right: -6%;
    animation-delay: 0.9s;
    --tz: 100px;
}

.badge-3 {
    top: 56%;
    left: 8%;
    animation-delay: 1.4s;
    --tz: 70px;
}

.badge-4 {
    bottom: 4%;
    right: -4%;
    animation-delay: 0.6s;
    --tz: 85px;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateZ(var(--tz, 80px)) translateY(0);
    }

    50% {
        transform: translateZ(var(--tz, 80px)) translateY(-12px);
    }
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 340px;
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        perspective: none;
    }

    .stage3d {
        width: 100%;
        transform: none;
    }

    .hero-photo {
        width: 100%;
    }

    .hero-photo-img {
        min-width: 0;
    }

    .badge-chip {
        max-width: 168px;
        padding: 9px 14px 9px 9px;
        gap: 9px;
    }

    .badge-ico {
        width: 30px;
        height: 30px;
    }

    .badge-text strong {
        font-size: 12px;
    }

    .badge-text small {
        font-size: 10px;
    }

    .badge-1 {
        left: -2%;
        top: -4%;
    }

    .badge-2 {
        right: -2%;
        top: 4%;
    }

    .badge-3 {
        left: -3%;
        top: 48%;
    }

    .badge-4 {
        right: -2%;
        bottom: 2%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage3d {
        transform: none;
    }

    .badge-chip {
        animation: none;
    }
}

/* ---- Phone-specific: replace floating badges with a static grid,
       kill decorative animation cost, trim blob paint cost ---- */
@media (max-width: 640px) {
    .hero-blob-1 {
        width: 380px;
        height: 380px;
        top: -140px;
        left: -140px;
    }

    .hero-blob-2 {
        display: none;
    }

    .hero-visual {
        min-height: 0;
    }

    .stage3d {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        transform: none;
    }

    .hero-photo {
        grid-column: 1 / -1;
        transform: none;
        border-radius: var(--r-lg, 16px);
    }

    .hero-photo-img {
        min-width: 0;
        width: 100%;
    }

    .badge-chip {
        position: static;
        transform: none !important;
        animation: none;
        max-width: none;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
    }

    .badge-text strong {
        font-size: 11.5px;
    }

    .badge-text small {
        font-size: 9.5px;
    }
}

/* =========================================
   TRUST STRIP
========================================= */

.trust-strip {
    padding: 56px 0;
    background: var(--white);
    border-top: 1px solid var(--border-softer);
    border-bottom: 1px solid var(--border-softer);
}

.trust-card {
    position: relative;
    background: var(--gradient-soft);
    border: 1px solid var(--border-softer);
    border-radius: var(--r-xl);
    padding: 34px 66px;
    box-shadow: var(--shadow-sm);
}

.trust-label {
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-700);
    margin-bottom: 24px;
}

.trust-track-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: default;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    user-select: none;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    white-space: nowrap;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-pill);
    padding: 12px 22px 12px 14px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}

.trust-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-soft);
}

.trust-logo .t-ico {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--red-100);
    color: var(--red-600);
    display: grid;
    place-items: center;
    flex: none;
}

.trust-logo b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14.5px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.trust-logo span {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-700);
}

.trust-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    color: var(--ink-900);
    transition:
        background 0.25s var(--ease),
        color 0.25s var(--ease),
        border-color 0.25s var(--ease),
        transform 0.25s var(--ease);
    z-index: 5;
}

.trust-nav:hover {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
    transform: translateY(-50%) scale(1.05);
}

.trust-prev {
    left: 14px;
}

.trust-next {
    right: 14px;
}

@media (prefers-reduced-motion: reduce) {
    .trust-track {
        transform: none !important;
    }

    .trust-logo {
        transition: none;
    }
}

@media (max-width: 640px) {
    .trust-strip {
        padding: 40px 0;
    }

    .trust-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .trust-label {
        font-size: 12.5px;
        margin-bottom: 20px;
    }

    .trust-nav {
        display: none;
    }

    .trust-track {
        gap: 10px;
    }

    .trust-logo {
        padding: 10px 17px 10px 11px;
    }

    .trust-logo .t-ico {
        width: 27px;
        height: 27px;
    }

    .trust-logo b {
        font-size: 13px;
    }

    .trust-logo span {
        font-size: 9px;
    }
}

/* ============================================================
     ABOUT
  ============================================================ */
.about-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.about-blob-a {
    width: 280px;
    height: 280px;
    top: -100px;
    left: -110px;
    background: radial-gradient(circle at 30% 30%,
            var(--red-200),
            transparent 70%);
}

.about-blob-b {
    width: 440px;
    height: 440px;
    bottom: -220px;
    left: -180px;
    background: radial-gradient(circle at 30% 30%, #ddd6fe, transparent 70%);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
    position: relative;
}

.about-visual {
    position: relative;
}

.about-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    background: linear-gradient(135deg, var(--ink-900), #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-num-label {
    margin-top: 14px;
    font-weight: 600;
    color: var(--ink-700);
}

.about-media-wrap {
    position: relative;
    margin-top: 36px;
}

.about-dotgrid {
    position: absolute;
    width: 96px;
    height: 96px;
    background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
    background-size: 16px 16px;
    z-index: 1;
    pointer-events: none;
}

.about-dotgrid-tl {
    top: -140px;
    left: -60px;
    color: var(--border-softer, #e2e2f0);
}

.about-dotgrid-tr {
    top: -26px;
    right: -26px;
    color: #a5b4fc;
    border: 1.5px dashed #c7d2fe;
    border-radius: var(--r-lg);
    padding: 10px;
    background-color: var(--white);
}

.about-media {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    aspect-ratio: 16/10;
    background: var(--red-200);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-copy h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.12;
    margin-bottom: 18px;
}

.about-copy h2 .accent {
    background: linear-gradient(135deg, #6366f1, #4338ca);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-divider {
    display: block;
    width: 90px;
    height: 3px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, #4338ca, var(--red-300, #fb7185));
    margin-bottom: 22px;
}

.about-copy p {
    text-align: justify;
    font-size: 17px;
    color: var(--ink-700);
    margin-bottom: 18px;
}

.about-features {
    margin-top: 60px;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 24px;
}

.about-feature+.about-feature {
    border-left: 1px solid var(--border-softer, #e5e7f5);
}

.about-feature:first-child {
    padding-left: 0;
}

.about-feature:last-child {
    padding-right: 0;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon--indigo {
    background: #e0e7ff;
    color: #4338ca;
}

.about-feature-icon--pink {
    background: #ffe4e6;
    color: #e11d48;
}

.about-feature h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--ink-900);
}

.about-feature p {

    font-size: 13.5px;
    color: var(--ink-700);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-dotgrid-tl {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
    }

    .about-feature {
        padding: 0 12px;
    }

    .about-feature:nth-child(odd) {
        padding-left: 0;
    }

    .about-feature:nth-child(1),
    .about-feature:nth-child(2) {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-softer, #e5e7f5);
    }
}

@media (max-width: 560px) {
    .about-features {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .about-feature {
        padding: 0 !important;
        border: none !important;
    }

    .about-feature+.about-feature {
        margin-top: 20px;
        padding-top: 20px !important;
        border-top: 1px solid var(--border-softer, #e5e7f5) !important;
    }

    .about-dotgrid-tr {
        width: 64px;
        height: 64px;
        top: -16px;
        right: -12px;
    }
}

/* ============================================================
   SERVICES BENTO — COMPLETE STYLESHEET (FINAL)
   Fix summary:
   - .svc-card: added box-sizing:border-box (prevents padding
     from causing edge/overflow misalignment across breakpoints)
   - .svc-card.big: switched from flex + margin-left:auto to
     CSS Grid (1fr + fixed image column). Flex could leave dead
     space between text/image or let the image drift depending
     on card width; grid guarantees no gap beyond the explicit
     `gap` value and no drift, at every breakpoint.
   - .svc-body: min-width:0 so grid lets text wrap instead of
     overflowing its column
   - .svc-illustration: sized by its own grid track + justify-
     self:end, instead of width% + margin-left:auto
   - Responsive blocks rewritten to match the grid approach
============================================================ */

.section-head {
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    line-height: 1.1;
}

.section-head p {
    margin-top: 16px;
    font-size: 17px;
    color: var(--ink-700);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.grad-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.head-dots {
    display: flex;
    gap: 6px;
    margin-top: 18px;
}

.head-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-600);
    opacity: .35;
}

.head-dots span:nth-child(2) {
    background: var(--ink-900);
    opacity: .35;
}

.head-dots span:nth-child(3) {
    background: var(--red-600);
    opacity: .55;
}

.head-dots span:nth-child(4) {
    background: var(--ink-900);
    opacity: .55;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* FIX: box-sizing:border-box added — padding is now guaranteed
   to be included in the card's width, preventing edge-misalignment. */
.svc-card {
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 32px;
    position: relative;
    overflow: visible;
    box-shadow: 0 16px 40px -30px rgba(20, 10, 70, .45);
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
    grid-column: span 2;
    isolation: isolate;
}

/* FIX: grid replaces flex + justify-content/margin-left:auto.
   col 1 (1fr) = text, always takes remaining space.
   col 2 (minmax) = illustration, flush to the card's right edge,
   with a fixed `gap` between the two — no dead space possible. */
.svc-card.big {
    display: grid;
    grid-template-columns: 1fr minmax(120px, 220px);
    align-items: center;
    gap: 24px;
    padding: 36px;
    min-height: 260px;
    box-sizing: border-box;
}

/* FIX: min-width:0 lets text wrap inside its grid column instead
   of forcing the column to overflow; max-width capped for readability. */
.svc-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1000px) {
    .svc-card:nth-child(1) {
        grid-column: span 2;
    }

    .svc-card:nth-child(2) {
        grid-column: span 2;
    }

    .svc-card:nth-child(3) {
        grid-column: span 1;
    }

    .svc-card:nth-child(4) {
        grid-column: span 1;
    }

    /* CHANGED: was span 1 — widened so row 2 (03+04+05) still
       fills all 4 columns now that 06 moves up to full-width */
    .svc-card:nth-child(5) {
        grid-column: span 2;
    }

    /* CHANGED: was span 1 — 06 is now a "big" card like 01/02,
       so it needs the same 2-column width to avoid text crushing */
    .svc-card:nth-child(6) {
        grid-column: span 2;
    }

    .svc-card:nth-child(7) {
        grid-column: span 2;
    }
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--dur-fast) var(--ease);
    z-index: 0;
    pointer-events: none;
}

.svc-card:hover::before {
    opacity: .05;
}

.svc-card.featured {
    padding-left: 42px;
}

.svc-card.featured::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    background: linear-gradient(180deg, var(--ink-900), var(--red-600));
    z-index: 2;
}

.card-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    top: 8%;
    right: 4%;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.card-glow.small {
    width: 160px;
    height: 160px;
    top: -20px;
    right: -20px;
}

.svc-card:hover .card-glow {
    opacity: .8;
    transform: scale(1.1);
}

.accent-ink .card-glow {
    background: radial-gradient(circle, rgba(36, 31, 99, .32), transparent 70%);
}

.accent-red .card-glow {
    background: radial-gradient(circle, rgba(227, 30, 36, .30), transparent 70%);
}

.accent-ink-soft .card-glow {
    background: radial-gradient(circle, rgba(58, 51, 153, .30), transparent 70%);
}

.accent-red-soft .card-glow {
    background: radial-gradient(circle, rgba(255, 77, 82, .28), transparent 70%);
}

.svc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.svc-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    transition: color var(--dur-fast) var(--ease);
}

.accent-ink .svc-num {
    color: rgba(36, 31, 99, .55);
}

.accent-red .svc-num {
    color: rgba(227, 30, 36, .55);
}

.accent-ink-soft .svc-num {
    color: rgba(58, 51, 153, .55);
}

.accent-red-soft .svc-num {
    color: rgba(255, 77, 82, .55);
}

.svc-card:hover .svc-num {
    opacity: 1;
}

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .25);
    transition: transform var(--dur-fast) var(--ease);
    position: relative;
    z-index: 1;
}

.svc-card:hover .svc-icon {
    transform: translateY(-3px) scale(1.06) rotate(-3deg);
}

.tile-red {
    background: linear-gradient(145deg, #E1EAFE, #cddcfd);
}

.tile-ink {
    background: linear-gradient(145deg, #8b7cf0, #4c3cc7);
}

.tile-red-soft {
    background: linear-gradient(145deg, #E9DFFC, #ddceff);
}

.tile-ink-soft {
    background: linear-gradient(145deg, #E1D8FC, #d3c4fb);
}

.tile-ink-green {
    background: linear-gradient(145deg, #3466d3, #165fa3);
}

.tile-ink-yellow {
    background: linear-gradient(145deg, #FFEADB, #ffdcc2);
}

.tile-pink-solid {
    background: linear-gradient(145deg, #ff8aa8, #ff4d7a);
}

.tile-pink-light {
    background: linear-gradient(145deg, #ffe3ec, #ffd0dd);
}

.svc-card h3 {
    font-size: 20px;
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.svc-card p {

    margin-top: 10px;
    font-size: 14.5px;
    color: var(--ink-700);
    position: relative;
    z-index: 1;
}

.svc-arrow {
    margin-top: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid;
    display: grid;
    place-items: center;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.svc-arrow::before {
    content: "";
    position: absolute;
    inset: -8px;
}

.accent-ink .svc-arrow {
    color: var(--ink-900);
    border-color: rgba(36, 31, 99, .4);
}

.accent-ink-soft .svc-arrow {
    color: #3a3399;
    border-color: rgba(58, 51, 153, .4);
}

.svc-card:hover .svc-arrow {
    transform: rotate(45deg);
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
}

.svc-arrow:focus-visible {
    outline: 2px solid var(--red-600);
    outline-offset: 2px;
}

/* FIX: illustration is now sized by its own grid column
   (set on .svc-card.big) + justify-self:end, instead of
   width:44% + flex-shrink + margin-left:auto. This guarantees
   it sits flush to the card's right edge with no drift. */
.svc-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    justify-self: end;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
}

.art-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(36, 31, 99, .18));
    transition: transform var(--dur-fast) var(--ease);
    animation: svcFloat 5.5s ease-in-out infinite;
}

.svc-card:hover .art-img {
    transform: scale(1.04);
}

@keyframes svcFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-img {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .svc-card:hover .svc-icon,
    .svc-card:hover .art-img,
    .svc-card:hover .card-glow {
        transform: none;
    }
}

/* Tablet: keep the two-column grid, tighten the image track so
   narrow single-span cards (03–06) don't crush the text column. */
@media (max-width: 999px) {
    .svc-card.big {
        grid-template-columns: 1fr minmax(100px, 160px);
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .svc-card,
    .svc-card:nth-child(n) {
        grid-column: span 2 !important;
    }
}

/* Mobile: stack image above text — single grid column,
   no auto-margins, no flex drift. */
@media (max-width: 700px) {
    .svc-card.big {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .svc-illustration {
        width: 100%;
        max-width: 180px;
        justify-self: center;
        margin-bottom: 8px;
        opacity: .95;
    }

    .svc-body {
        max-width: none;
    }

    .card-glow {
        width: 180px;
        height: 180px;
    }

    .svc-card.featured {
        padding-left: 26px;
    }
}

@media (max-width: 560px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .svc-card {
        padding: 26px;
    }

    .svc-card.big {
        min-height: unset;
    }
}

/* ============================================================
   SERVICES — REFERENCE MATCH OVERRIDES
============================================================ */

#services .section-head .eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#services .section-head .eyebrow::before,
#services .section-head .eyebrow::after {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--red-600, #E31E24);
}

.section-head.center .head-dots {
    justify-content: center;
}

#servicesGrid .svc-card:nth-child(1) .svc-num,
#servicesGrid .svc-card:nth-child(3) .svc-num,
#servicesGrid .svc-card:nth-child(6) .svc-num {
    color: #4c3cc7;
    opacity: 1;
}

#servicesGrid .svc-card:nth-child(2) .svc-num,
#servicesGrid .svc-card:nth-child(5) .svc-num {
    color: #ff4d7a;
    opacity: 1;
}

#servicesGrid .svc-card:nth-child(4) .svc-num {
    color: #2070f9;
    opacity: 1;
}

#servicesGrid .svc-card:nth-child(7) .svc-num {
    color: #165fa3;
    opacity: 1;
}

#servicesGrid .svc-card:nth-child(8) .svc-num {
    color: #ff8a3d;
    opacity: 1;
}

/* ============================================================
   REDESIGN: cards 03–06 (single-span, ~285px wide) can't fit
   text beside a real illustration — any image column wide
   enough to read crushes the text; any narrower and the image
   is pointless. So instead of competing for horizontal space,
   the illustration becomes a faded decorative accent sitting
   BEHIND the text in the card's bottom-right corner. Text gets
   the full card width. The arrow is pinned to the bottom via
   margin-top:auto so all four cards in the row line up evenly
   regardless of how long each description is.
============================================================ */
.svc-card.big.compact {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 300px;
    overflow: hidden;
    /* clips the illustration's corner bleed cleanly */
    border-radius: var(--r-lg);
}

.svc-card.big.compact .svc-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
    /* text always renders above the illustration */
    max-width: none;
    /* text now uses the card's full width */
}

.svc-card.big.compact .svc-arrow {
    margin-top: auto;
    /* pins arrow to the card's bottom edge, */
    margin-bottom: 0;
    /* so all 4 cards align regardless of copy length */
}

.svc-card.big.compact .svc-illustration {
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 130px;
    max-width: 130px;
    z-index: 1;
    /* sits behind the text */
    opacity: 0.85;
    pointer-events: none;
    /* fades the illustration into the card so it reads as a subtle
       accent, not a sticker slapped in the corner */
    mask-image: linear-gradient(135deg, transparent 0%, transparent 18%, black 58%);
    -webkit-mask-image: linear-gradient(135deg, transparent 0%, transparent 18%, black 58%);
}

@media (max-width: 999px) {
    .svc-card.big.compact {
        min-height: 260px;
    }

    .svc-card.big.compact .svc-illustration {
        width: 100px;
        max-width: 100px;
    }
}

@media (max-width: 700px) {

    /* on mobile these fall back to the standard stacked .big
       behavior already defined for 01/02/07 — no compact override needed */
    .svc-card.big.compact {
        min-height: 0;
        overflow: visible;
    }

    .svc-card.big.compact .svc-body {
        height: auto;
    }

    .svc-card.big.compact .svc-arrow {
        margin-top: 20px;
    }

    .svc-card.big.compact .svc-illustration {
        position: static;
        width: 100%;
        max-width: 180px;
        opacity: 0.95;
        mask-image: none;
        -webkit-mask-image: none;
        margin-bottom: 8px;
        justify-self: center;
    }
}

/* ============================================================
     TECH HONEYCOMB
  ============================================================ */
.tech-wrap {
    position: relative;
    overflow-x: auto;
}

.tech-hive {
    --hex-w: 168px;
    --hex-h: calc(var(--hex-w) * 0.866);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    min-width: max-content;
    margin: 0 auto;
    padding: 30px;
}

.tech-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tech-col+.tech-col {
    margin-left: calc(var(--hex-w) * -0.28);
}

.tech-col--offset {
    margin-top: calc((var(--hex-h) / 2) + 11px);
}

.tech-hex {
    width: var(--hex-w);
    height: var(--hex-h);
    background: #fff;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    animation: floaty 7s ease-in-out infinite;
}

.tech-col:nth-child(1) .tech-hex:nth-child(2),
.tech-col:nth-child(4) .tech-hex:nth-child(2) {
    animation-delay: 0.4s;
}

.tech-col:nth-child(2) .tech-hex:nth-child(3),
.tech-col:nth-child(5) .tech-hex:nth-child(3) {
    animation-delay: 0.9s;
}

.tech-hex:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.tech-hex img,
.tech-hex-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    color: var(--ink-700);
}

.tech-hex span:last-child {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-700);
    max-width: 70%;
    text-align: center;
    line-height: 1.2;
}

.tech-center {
    flex-shrink: 0;
    width: 210px;
    height: 210px;
    margin: 0 42px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    padding: 14px;
    box-shadow: 0 20px 50px rgba(36, 31, 99, 0.25);
    position: relative;
    z-index: 3;
}

@keyframes floaty {

    0%,
    100% {
        transform: translate3d(var(--px, 0px), var(--py, 0px), var(--tz, 40px)) translateY(0);
    }

    50% {
        transform: translate3d(var(--px, 0px), var(--py, 0px), var(--tz, 40px)) translateY(-14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-hex {
        animation: none;
    }
}

@media (max-width: 1100px) {
    .tech-hive {
        --hex-w: 140px;
        gap: 44px;
    }

    .tech-center {
        width: 180px;
        height: 180px;
        margin: 0 30px;
        font-size: 17px;
    }
}

@media (max-width: 900px) {
    .tech-hive {
        --hex-w: 110px;
        gap: 26px;
    }

    .tech-center {
        width: 150px;
        height: 150px;
        margin: 0 20px;
        font-size: 15px;
    }

    .tech-hex img,
    .tech-hex-icon {
        width: 36px;
        height: 36px;
    }

    .tech-hex span:last-child {
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    .tech-hive {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        min-width: 0;
        padding: 0;
    }

    .tech-col,
    .tech-col--offset {
        display: contents;
    }

    .tech-center {
        order: -1;
        width: 85%;
        height: 135px;
        margin: 13px 0 30px;
    }
}

@media (max-width: 420px) {
    .tech-hive {
        --hex-w: 92px;
        gap: 14px;
    }

    .tech-hex img,
    .tech-hex-icon {
        width: 30px;
        height: 30px;
    }

    .tech-hex span:last-child {
        font-size: 10px;
    }
}

/* ============================================================
   STATS
============================================================ */
.stats-band {
    --red-050: #fdeef0;
    --violet-500: #6c63d1;
    --violet-300: #b9b3f0;
    position: relative;
    background: linear-gradient(180deg, #f4f2fa 0%, #eef0f8 55%, #eceef7 100%);
    padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
    overflow: hidden;
    isolation: isolate;
}

.stats-bg-decor {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.55;
}

.bg-blob--rose {
    width: 620px;
    height: 620px;
    top: -280px;
    right: -120px;
    background: radial-gradient(circle at 35% 35%,
            rgba(227, 30, 36, 0.3),
            rgba(227, 30, 36, 0) 70%);
    animation: driftA 22s ease-in-out infinite;
}

.bg-blob--violet {
    width: 460px;
    height: 460px;
    bottom: -220px;
    left: -140px;
    background: radial-gradient(circle at 60% 40%,
            rgba(108, 99, 209, 0.2),
            rgba(108, 99, 209, 0) 70%);
    animation: driftB 26s ease-in-out infinite;
}

@keyframes driftA {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-24px, 30px) scale(1.06);
    }
}

@keyframes driftB {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.bg-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(28, 34, 80, 0.05) 1px,
            transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse 700px 500px at 100% 0%,
            #000 0%,
            transparent 70%);
}

.stats-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    margin-bottom: clamp(40px, 6vw, 68px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #eee1e3;
    box-shadow: 0 6px 20px rgba(28, 34, 80, 0.06);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink-900);
    margin: 0 0 22px;
}

.badge svg {
    flex: none;
    color: var(--red-300);
}

.stats-head h2 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    color: var(--ink-900);
    max-width: 15ch;
}

.stats-head h2 .accent {
    color: var(--red-300);
}

.stats-head p.lead {
    text-align: justify;
    margin: 0;
    max-width: 46ch;
    color: var(--ink-700, #4a4f74);
    font-size: clamp(15px, 1.4vw, 16.5px);
    line-height: 1.7;
}

.stats-illustration {
    position: relative;
    height: clamp(220px, 26vw, 300px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.illo-panel {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px -20px rgba(28, 34, 80, 0.18);
}

.illo-panel--back {
    width: 78%;
    height: 92%;
    right: 6%;
    top: 2%;
    transform: rotate(-4deg);
    opacity: 0.7;
}

.illo-panel--front {
    width: 92%;
    height: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 22px 0;
    animation: floatPanel 6s ease-in-out infinite;
}

@keyframes floatPanel {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.illo-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.illo-line-path {
    fill: none;
    stroke: var(--red-300);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0.7, 0.3, 1);
}

.stats-band.is-visible .illo-line-path {
    stroke-dashoffset: 0;
}

.illo-dot {
    fill: var(--red-300);
    opacity: 0;
    transform-origin: 280px 20px;
    transition:
        opacity 0.3s ease 1.2s,
        transform 0.4s ease 1.2s;
}

.stats-band.is-visible .illo-dot {
    opacity: 1;
}

.illo-bars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: clamp(8px, 1.6vw, 16px);
    height: 78%;
    width: 100%;
    justify-content: center;
}

.illo-bars span {
    display: block;
    width: clamp(20px, 3.6vw, 34px);
    height: 6px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, var(--violet-300), var(--violet-500));
    transition: height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--d) * 90ms);
}

.illo-bars span:nth-child(1) {
    background: linear-gradient(180deg, #ffc3c6, var(--red-200));
}

.illo-bars span:nth-child(2) {
    background: linear-gradient(180deg, #ffb0b4, var(--red-300));
}

.stats-band.is-visible .illo-bars span {
    height: var(--h);
}

.illo-cube {
    position: absolute;
    width: 46px;
    height: 46px;
    left: -10px;
    bottom: 34%;
    background: linear-gradient(145deg,
            rgba(227, 30, 36, 0.85),
            rgba(227, 30, 36, 0.35));
    border-radius: 8px;
    transform: rotate(45deg);
    box-shadow: 0 14px 26px -10px rgba(227, 30, 36, 0.55);
    animation: cubeSpin 7s ease-in-out infinite;
}

@keyframes cubeSpin {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(52deg) translateY(-10px);
    }
}

.illo-cube--tiny {
    width: 16px;
    height: 16px;
    right: 2%;
    top: 8%;
    left: auto;
    bottom: auto;
    background: linear-gradient(145deg, var(--violet-300), var(--violet-500));
    box-shadow: 0 10px 18px -8px rgba(108, 99, 209, 0.5);
    animation-duration: 5s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.stat-card {
    position: relative;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 30px 18px 26px;
    border: 1px solid #f0eef5;
    box-shadow: 0 10px 30px -18px rgba(28, 34, 80, 0.16);
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -50% auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(28, 34, 80, 0.05), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card--accent {
    background: linear-gradient(165deg, #fdeef0, #fce3e6 60%, #fbdadd);
    border-color: #f7d6da;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(165deg, #fff, rgba(var(--accent-rgb), 0.12) 70%);
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: 0 22px 42px -18px rgba(var(--accent-rgb), 0.45);
}

.stat-card:hover::after {
    opacity: 1;
    background: radial-gradient(circle,
            rgba(var(--accent-rgb), 0.18),
            transparent 70%);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 34, 80, 0.06);
    color: var(--ink-900);
    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card--accent .stat-icon {
    background: rgba(227, 30, 36, 0.12);
    color: var(--red-300);
}

.stat-card:hover .stat-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 22px -8px rgba(var(--accent-rgb), 0.7);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    color: var(--ink-900);
    line-height: 1;
    letter-spacing: -0.01em;
}

.stat-rule {
    display: block;
    width: 26px;
    height: 3px;
    margin: 12px auto 12px;
    border-radius: 3px;
    background: rgba(28, 34, 80, 0.18);
    transform: scaleX(0);
    transform-origin: center;
    transition:
        transform 0.5s cubic-bezier(0.3, 0.9, 0.3, 1) 0.1s,
        background 0.4s ease,
        width 0.4s ease;
}

.stats-band.is-visible .stat-rule {
    transform: scaleX(1);
}

.stat-card:hover .stat-rule {
    background: var(--accent);
    width: 36px;
}

.stat-label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700, #4a4f74);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.stats-band.is-visible .reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .bg-blob,
    .illo-panel--front,
    .illo-cube {
        animation: none !important;
    }

    .reveal {
        transition: opacity 0.3s ease;
        transform: none !important;
    }

    .illo-line-path,
    .illo-dot,
    .illo-bars span,
    .stat-rule,
    .stat-card,
    .stat-icon {
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1080px) {
    .stats-top {
        grid-template-columns: 1fr;
    }

    .stats-illustration {
        order: -1;
        max-width: 420px;
        margin: 0 auto 8px;
        height: clamp(180px, 40vw, 240px);
    }

    .stats-head h2,
    .stats-head p.lead {
        max-width: none;
    }
}

@media (max-width: 860px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .stats-band {
        padding: 48px 0 44px;
    }

    .stats-illustration {
        display: none;
    }

    .stats-top {
        margin-bottom: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stat-card {
        padding: 24px 12px 20px;
        border-radius: 16px;
    }

    .stat-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .badge {
        font-size: 11px;
        padding: 7px 12px;
    }
}

/* ============================================================
     WHY CHOOSE US
  ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 30px;
    transition:
        transform var(--dur-fast) var(--ease),
        box-shadow var(--dur-fast) var(--ease);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-card:nth-child(2) {
    margin-top: 34px;
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--red-100);
    color: var(--red-600);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14.5px;
    color: var(--ink-700);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card:nth-child(2),
    .why-card:nth-child(5) {
        margin-top: 0;
    }
}

/* ============================================================
   PROCESS
============================================================ */
.process-band {
    position: relative;
    background: var(--white);
    border-top: 1px solid var(--border-softer);
    border-bottom: 1px solid var(--border-softer);
    overflow: hidden;
    margin-bottom: 20px !important;
}

.process-bg-decor {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.process-blob {
    position: absolute;
    width: 520px;
    height: 520px;
    top: -240px;
    right: -160px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%,
            rgba(227, 30, 36, 0.12),
            transparent 70%);
}

.process-dotgrid {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 70px;
    height: 130px;
    background-image: radial-gradient(rgba(28, 34, 80, 0.18) 1.6px,
            transparent 1.6px);
    background-size: 14px 14px;
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.process-head-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    align-items: start;
    gap: 24px;
    margin-bottom: clamp(68px, 6vw, 76px);
    margin-top: clamp(48px, 6vw, 76px);
}

.process-head {
    padding-left: 96px;
}

.process-head .eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red-600);
    margin: 0 0 14px;
}

.process-head .eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--red-600);
    display: inline-block;
}

.process-head h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-size: clamp(2.1rem, 4.4vw, 3.1rem);
    color: var(--ink-900);
}

.process-head h2 .accent {
    color: var(--red-600);
}

.process-head p.lead {
    margin: 0;
    max-width: 40ch;
    color: var(--ink-700);
    font-size: clamp(15px, 1.4vw, 16.5px);
    line-height: 1.7;
}

.process-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 40px -20px rgba(28, 34, 80, 0.22);
    border-radius: var(--r-pill);
    padding: 10px 20px 10px 10px;
    margin-top: 4px;
}

.process-badge .badge-icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, 0.1);
    color: #e31e24;
}

.process-badge .badge-icon svg {
    width: 24px;
    height: 24px;
}

.process-badge p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-700);
}

.process-desktop {
    position: relative;
}

.stepper-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    height: 78px;
}

.stepper-wave {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 0;
}

.stepper-wave .wave-path {
    fill: none;
    stroke: url(#stepGrad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: waveFill var(--cycle, 8s) var(--ease) infinite;
}

.stepper-wave .end-dot {
    fill: #fff;
    stroke: var(--ink-700);
    stroke-width: 2;
    opacity: 0.5;
}

.stepper-wave .chevron {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

@keyframes waveFill {
    0% {
        stroke-dashoffset: 1;
        opacity: 1;
    }

    78% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    92% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    100% {
        stroke-dashoffset: 1;
        opacity: 0;
    }
}

.step-node {
    position: relative;
    z-index: 1;
    justify-self: center;
}

.step-dot-wrap {
    position: relative;
    width: 56px;
    height: 56px;
}

.step-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: 0.3s var(--ease);
    animation: dotArrive var(--cycle, 8s) var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * var(--step-gap, 1.2s));
}

@keyframes dotArrive {
    0% {
        transform: scale(1);
    }

    4% {
        transform: scale(1.14);
    }

    14% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.step-dot-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
    transform: scale(1);
    animation: dotPing var(--cycle, 8s) var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * var(--step-gap, 1.2s));
    pointer-events: none;
    z-index: 0;
}

@keyframes dotPing {
    0% {
        opacity: .35;
        transform: scale(1);
    }

    14% {
        opacity: 0;
        transform: scale(1.6);
    }

    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

.step-node:hover .step-dot {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08);
    animation-play-state: paused;
}

.connector-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: 32px;
}

.connector {
    justify-self: center;
    position: relative;
    width: 1px;
    height: 100%;
    background: var(--border-soft);
}

.connector::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 5%;
}

.process-card {
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: 16px;
    padding: 26px 16px 22px;
    text-align: center;
    box-shadow: 0 10px 26px -20px rgba(28, 34, 80, 0.2);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
    border-bottom: 3px solid var(--accent);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px -18px rgba(var(--accent-rgb), 0.35);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.process-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink-900);
}

.process-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink-700);
}

.process-mobile {
    display: none;
}

.process-mobile .m-track {
    position: relative;
}

.process-mobile .m-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 27px;
    width: 1px;
    background: var(--border-soft);
}

.process-mobile .m-track::after {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #e31e24, #4f46e5);
    border-radius: var(--r-pill);
    transform: scaleY(0);
    transform-origin: top center;
    animation: waveFillVertical var(--cycle, 8s) var(--ease) infinite;
}

@keyframes waveFillVertical {
    0% {
        transform: scaleY(0);
        opacity: 1;
    }

    78% {
        transform: scaleY(1);
        opacity: 1;
    }

    92% {
        transform: scaleY(1);
        opacity: 0;
    }

    100% {
        transform: scaleY(0);
        opacity: 0;
    }
}

.m-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 0;
}

.m-step .step-dot-wrap {
    width: 56px;
    height: 56px;
    flex: none;
}

.m-step-body {
    min-width: 0;
    padding-top: 4px;
}

.m-step-body .m-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
}

.m-step-body .m-icon svg {
    width: 18px;
    height: 18px;
}

.m-step-body h3 {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 800;
}

.m-step-body p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-700);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s ease,
        transform 0.7s var(--ease);
    transition-delay: calc(var(--rd, 0) * 90ms);
}

.process-band.is-visible .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .wave-path,
    .step-dot,
    .step-dot-ping,
    .m-track::after {
        animation: none !important;
    }

    .wave-path {
        stroke-dashoffset: 0;
    }

    .m-track::after {
        transform: scaleY(1);
    }

    .reveal {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
}

@media (max-width: 1080px) {
    .process-head {
        padding-left: 0;
    }

    .process-head-row {
        grid-template-columns: 1fr;
    }

    .process-dotgrid {
        display: none;
    }

    .process-badge {
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .process-desktop {
        display: none;
    }

    .process-mobile {
        display: block;
    }
}

@media (max-width: 520px) {
    .process-head h2 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .process-badge {
        flex-direction: row;
        padding: 10px;
        border-radius: 20px;
    }

    .m-step .step-dot-wrap,
    .m-step .step-dot {
        width: 46px;
        height: 46px;
    }

    .m-step .step-dot {
        font-size: 13px;
    }

    .process-mobile .m-track::before,
    .process-mobile .m-track::after {
        left: 22px;
    }

    .m-step {
        gap: 14px;
        padding: 12px 0;
    }
}

/* ============================================================
     PORTFOLIO — always-readable, color-coded redesign
  ============================================================ */
.eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-600);
    margin-right: 8px;
    box-shadow: 0 0 0 4px var(--red-100);
}

.hl {
    color: var(--red-600);
}

.filters {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 44px;
}

.filter-btn {
    position: relative;
    padding: 10px 2px 16px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--ink-700);
    transition: color 0.3s var(--ease);
}

.filter-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--red-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.filter-btn:hover {
    color: var(--ink-900);
}

.filter-btn.active {
    color: var(--ink-900);
}

.filter-btn.active::after {
    transform: scaleX(1);
}

.p-card {
    --accent: var(--red-600);
}

.p-card[data-cat="Websites"] {
    --accent: #2563eb;
}

.p-card[data-cat="E-Commerce"] {
    --accent: #d97706;
}

.p-card[data-cat="ERP"] {
    --accent: #7c3aed;
}

.p-card[data-cat="Mobile Apps"] {
    --accent: #db2777;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: p-count;
}

@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.p-card {
    counter-increment: p-count;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border-softer);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        border-color 0.4s var(--ease),
        opacity 0.3s var(--ease);
}

.p-card.hide {
    display: none;
}

.p-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.p-frame {
    position: relative;
    padding: 14px 14px 0;
}

.p-media {
    aspect-ratio: 16/11;
    border-radius: 14px;
    overflow: hidden;
    background: var(--red-100);
}

.p-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.p-card:hover .p-media img {
    transform: scale(1.05);
}

.p-index {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.p-index::before {
    content: counter(p-count, decimal-leading-zero);
}

.p-body {
    padding: 20px 22px 22px;
}

.p-cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, #fff);
    padding: 5px 12px;
    border-radius: var(--r-pill);
}

.p-body h3 {
    margin-top: 12px;
    font-size: 19px;
    color: var(--ink-900);
}

.p-body p {

    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-700);
}

.p-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-softer);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.p-tech-preview {
    font-size: 12px;
    color: var(--ink-700);
    opacity: 0.75;
}

.p-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.p-view svg {
    transition: transform 0.3s var(--ease);
}

.p-card:hover .p-view svg {
    transform: translate(2px, -2px);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 22px;
    }
}

/* ---------------- Modal ---------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 30, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 12px 24px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: var(--r-xl);
    max-width: 920px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: var(--shadow-lg);
}

.modal-media {
    position: relative;
    min-height: 320px;
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.modal-media-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    color: var(--red-600);
    background: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--r-pill);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    border: none;
    box-shadow: var(--shadow-sm);
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-body h2 {
    font-size: 26px;
    color: var(--ink-900);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 22px;
}

.modal-grid h4 {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red-600);
    margin-bottom: 6px;
}

.modal-grid p {
    text-align: justify;
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.55;
}

.modal-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tech-chip {
    background: var(--red-100);
    color: var(--ink-900);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
}

.modal-actions {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .modal {
        grid-template-columns: 1fr;
        max-height: 92vh;
    }

    .modal-media {
        min-height: 220px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
     COURSES
  ============================================================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.course-card {
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--border-softer);
    padding: 26px;
    transition: 0.35s var(--ease);
    position: relative;
}

.course-card:hover {
    border-color: var(--red-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.course-tag {
    display: inline-block;
    background: var(--red-100);
    color: var(--ink-900);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}

.course-card h3 {
    font-size: 18px;
}

.course-card p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-700);
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.courses-cta {
    margin-top: 44px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================
   TESTIMONIALS — SINGLE CARD CINEMATIC SLIDER
============================================================ */

.testi-band {
    background: #fff;
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.testi-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.testi-head h2 {
    color: var(--ink-900);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.testi-head .hl {
    color: var(--red-600);
}

.testi-track-wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 20px 50px;
}

.testi-track {
    --testi-gap: 20px;
    display: flex;
    gap: var(--testi-gap);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.testi-card {
    flex: 0 0 calc(100% - 20px);
    width: calc(100% - 20px);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: 22px;
    padding: 32px 30px;
    position: relative;
    opacity: 1;
    transform: scale(1);
    filter: none;
    box-shadow: 0 25px 60px -30px rgba(20, 15, 60, 0.25);
}

.testi-card:nth-child(3n + 2) {
    transform: scale(1);
    opacity: 1;
    filter: none;
    background: #fff;
    box-shadow: 0 25px 60px -30px rgba(20, 15, 60, 0.25);
    border-color: var(--border-softer);
    z-index: 1;
}

.testi-bezel {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    margin-bottom: 18px;
    opacity: 1;
}

.testi-bezel i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-soft);
}

.testi-bezel i:first-child {
    background: var(--red-600);
}

.testi-badge {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: var(--red-600);
    box-shadow: var(--shadow-lg);
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}

.testi-badge-a {
    top: -14px;
    right: -12px;
}

.testi-badge-b {
    bottom: 22px;
    left: -16px;
    color: #16a34a;
}

.stars {
    color: var(--red-600);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testi-card p.quote {
    color: var(--ink-900);
    font-size: 15px;
    line-height: 1.75;
    max-width: 680px;
    margin-bottom: 0;
}

.testi-who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
}

.testi-who b {
    display: block;
    color: var(--ink-900);
    font-size: 14px;
}

.testi-who span {
    font-size: 12px;
}

/* ============================================================
     INSIGHTS — bento cards matching reference design
  ============================================================ */
.ins-section {
    position: relative;
    background: #f6f6fc;
    overflow: hidden;
}

.ins-blob {
    position: absolute;
    top: -60px;
    right: 4%;
    width: 300px;
    height: 300px;
    border-radius: 64px;
    background: linear-gradient(135deg, #c4b5fd, #f0abfc 55%, #fbcfe8);
    opacity: 0.55;
    transform: rotate(20deg);
    filter: blur(1px);
    pointer-events: none;
}

.ins-blob::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbcfe8, transparent 70%);
    filter: blur(6px);
}

.ins-dots {
    position: absolute;
    top: 40px;
    right: 2%;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(rgba(99, 91, 179, 0.25) 1.5px,
            transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
}

.ins-lines {
    position: absolute;
    top: 0;
    right: 8%;
    width: 340px;
    height: 220px;
    background:
        linear-gradient(135deg,
            transparent 49.5%,
            rgba(120, 110, 190, 0.18) 50%,
            transparent 50.5%),
        linear-gradient(45deg,
            transparent 49.5%,
            rgba(120, 110, 190, 0.18) 50%,
            transparent 50.5%);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 60% 20%,
            #000,
            transparent 75%);
    mask-image: radial-gradient(ellipse 60% 60% at 60% 20%,
            #000,
            transparent 75%);
    pointer-events: none;
}

.eyebrow-dot {
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--ink-900);
    margin-right: 8px;
    vertical-align: middle;
}

.section-head .hl {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ins-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ins-card {
    --tone: var(--red-600);
    --tone-soft: var(--red-100);
    position: relative;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: 18px;
    padding: 28px 26px 26px;
    overflow: hidden;
    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        border-color 0.45s var(--ease);
}

.ins-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 56px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--tone);
    transition: width 0.4s var(--ease);
}

.ins-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 48px -26px rgba(30, 20, 80, 0.22);
    border-color: var(--tone);
}

.ins-card:hover::before {
    width: calc(100% - 48px);
}

.ins-card[data-tone="purple"] {
    --tone: #7c3aed;
    --tone-soft: #ede9fe;
    background: linear-gradient(180deg, #faf9ff, #fff);
}

.ins-card[data-tone="orange"] {
    --tone: #ea580c;
    --tone-soft: #ffedd5;
    background: linear-gradient(180deg, #fff9f4, #fff);
}

.ins-card[data-tone="blue"] {
    --tone: #2563eb;
    --tone-soft: #dbeafe;
    background: linear-gradient(180deg, #f5f9ff, #fff);
}

.ins-card[data-tone="green"] {
    --tone: #059669;
    --tone-soft: #d1fae5;
    background: linear-gradient(180deg, #f4fdf8, #fff);
}

.ins-card[data-tone="indigo"] {
    --tone: #4f46e5;
    --tone-soft: #e0e7ff;
    background: linear-gradient(180deg, #f8f8ff, #fff);
}

.ins-card[data-tone="red"] {
    --tone: #dc2626;
    --tone-soft: #fee2e2;
    background: linear-gradient(180deg, #fff6f5, #fff);
}

.ins-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,
            var(--tone),
            color-mix(in srgb, var(--tone) 65%, #000 0%));
    box-shadow: 0 10px 18px -8px var(--tone);
    transition:
        transform 0.4s var(--ease),
        border-radius 0.4s var(--ease);
}

.ins-card:hover .ins-icon {
    transform: rotate(-6deg) scale(1.08);
    border-radius: 30% 70% 65% 35% / 40% 40% 60% 60%;
}

.ins-cat {
    margin-top: 18px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--tone);
}

.ins-card h3 {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--ink-900);
    position: relative;
    z-index: 1;
}

.ins-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-700);
    position: relative;
    z-index: 1;
}

.ins-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tone);
    position: relative;
    z-index: 1;
}

.ins-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--tone);
    color: var(--tone);
    display: grid;
    place-items: center;
    transition: 0.35s var(--ease);
}

.ins-link:hover .ins-arrow {
    background: var(--tone);
    color: #fff;
    transform: rotate(45deg);
}

.ins-watermark {
    position: absolute;
    right: -18px;
    bottom: -18px;
    color: var(--tone);
    opacity: 0.08;
    transform: rotate(-6deg);
    transition:
        opacity 0.4s var(--ease),
        transform 0.5s var(--ease);
    pointer-events: none;
}

.ins-watermark-bars {
    right: 10px;
    bottom: 0;
}

.ins-card:hover .ins-watermark {
    opacity: 0.15;
    transform: rotate(0deg) scale(1.05);
}

.ins-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 46px;
}

.ins-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border-soft);
    padding: 12px 12px 12px 22px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink-900);
    box-shadow: var(--shadow-sm);
    transition: 0.35s var(--ease);
}

.ins-more .ins-arrow {
    border-color: var(--border-soft);
    color: var(--ink-900);
}

.ins-more:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.ins-more:hover .ins-arrow {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: #fff;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .ins-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ins-blob,
    .ins-dots,
    .ins-lines {
        display: none;
    }
}

@media (max-width: 560px) {
    .ins-grid {
        grid-template-columns: 1fr;
    }

    .ins-card {
        padding: 24px 22px 22px;
    }
}

.testi-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.testi-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-soft);
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.testi-dots button:hover {
    transform: scale(1.15);
}

.testi-dots button.active {
    background: var(--red-600);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .testi-band {
        padding: 75px 0 70px;
    }

    .testi-head {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .testi-track-wrap {
        padding: 25px 15px 45px;
    }

    .testi-card,
    .testi-card:nth-child(3n + 2) {
        flex: 0 0 100%;
        width: 100%;
        transform: none;
        opacity: 1;
        filter: none;
        box-shadow: 0 20px 45px -25px rgba(20, 15, 60, 0.25);
    }

    .testi-card {
        padding: 27px 23px;
    }

    .testi-badge-a {
        right: 5px;
    }

    .testi-badge-b {
        left: 5px;
    }
}

/* ============================================================
     CTA
  ============================================================ */
.cta-band {
    padding: 110px 0;
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-inner p {
    margin-top: 18px;
    font-size: 17px;
    color: var(--ink-700);
}

.cta-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: var(--gradient-glow);
    bottom: -380px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================================
     CONTACT — redesigned to match reference (purple/indigo accent)
  ============================================================ */
.contact-section {
    position: relative;
    padding: 100px 0 0;
}

.contact-panel-wrap {
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.contact-panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(20, 17, 66, 0.14);
    border: 1px solid var(--border-softer, #e5e7f5);
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    overflow: hidden;
}

.contact-info {
    position: relative;
    padding: 50px 44px;
    background: linear-gradient(160deg, #fdf1ee 0%, #f7f0fb 55%, #f3f1fc 100%);
    color: var(--ink-900);
    overflow: hidden;
}

.contact-waves {
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 320px;
    height: 220px;
    opacity: 0.9;
    animation: waveDrift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waveDrift {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.contact-info .eyebrow {
    color: #7c3aed;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info .eyebrow .dash {
    width: 16px;
    height: 2px;
    background: #7c3aed;
    display: inline-block;
}

.contact-info h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    line-height: 1.15;
    color: var(--ink-900);
    margin-top: 10px;
    margin-bottom: 14px;
    font-weight: 800;
}

.contact-info h2 .hl {
    color: #7c3aed;
}

.contact-lede {
    font-size: 14.5px;
    color: var(--ink-700);
    margin-bottom: 34px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s var(--ease);
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: none;
    transition: transform 0.35s var(--ease);
}

.contact-item:hover .contact-icon {
    transform: scale(1.08) rotate(-4deg);
}

.tone-purple {
    background: #ece7fc;
    color: #7c3aed;
}

.tone-orange {
    background: #fde3d8;
    color: #ea580c;
}

.tone-blue {
    background: #e0e9fc;
    color: #2563eb;
}

.contact-info .contact-item h3 {
    font-size: 14.5px;
    color: var(--ink-900);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-info .contact-item p,
.contact-info .contact-item a {
    font-size: 13.5px;
    color: var(--ink-700);
    line-height: 1.5;
}

.contact-info .contact-item a:hover {
    color: #7c3aed;
}

.contact-form-side {
    padding: 50px 46px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.field-input {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.field-input-area .field-icon {
    top: 10px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px 13px 50px;
    border-radius: 12px;
    border: 1.5px solid var(--border-soft);
    background: #fff;
    font-family: inherit;
    /* 16px prevents iOS Safari auto-zoom on focus */
    font-size: 16px;
    color: var(--ink-900);
    transition: 0.25s var(--ease);
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23625f7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

.field input:focus~.field-icon,
.field textarea:focus~.field-icon {
    color: #7c3aed;
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.field-error {
    color: #c0433a;
    font-size: 12.5px;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 6px;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
    border-color: #c0433a;
}

.field.invalid .field-error {
    display: flex;
}

.contact-submit {
    background: linear-gradient(90deg, #6d28d9, #7c3aed 55%, #8b5cf6);
    border: none;
    border-radius: 14px;
    padding: 17px;
    font-weight: 700;
    font-size: 15px;
    background-size: 200% 100%;
    background-position: 0% 0%;
    transition:
        background-position 0.5s var(--ease),
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
    box-shadow: 0 16px 30px -14px rgba(109, 40, 217, 0.55);
}

.contact-submit:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -14px rgba(109, 40, 217, 0.65);
}

.trust-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 150px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
}

.trust-item b {
    display: block;
    font-size: 13px;
    color: var(--ink-900);
}

.trust-item span {
    font-size: 12px;
    color: var(--ink-700);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 10px;
}

.form-success.show {
    display: block;
}

.check-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ece7fc;
    color: #7c3aed;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}

.contact-map-full {
    position: relative;
    width: 100%;
    height: clamp(320px, 40vw, 460px);
    overflow: hidden;
    margin-top: 70px;
    background: var(--ink-900);
}

.contact-map-full iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05) saturate(1.1) brightness(0.96);
}

.contact-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom,
            var(--ink-900) 0%,
            rgba(20, 17, 66, 0) 22%,
            rgba(20, 17, 66, 0) 78%,
            var(--ink-900) 100%);
    opacity: 0.55;
}

.contact-map-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 13px;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.contact-map-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c3aed;
    flex: none;
}

@media (max-width: 1080px) {

    .contact-info,
    .contact-form-side {
        padding: 38px 32px;
    }
}

@media (max-width: 900px) {
    .contact-section {
        padding-top: 70px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-side {
        padding: 34px 28px;
    }

    .contact-map-full {
        height: 300px;
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .contact-section {
        padding-top: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-side {
        padding: 28px 22px;
    }

    .trust-row {
        flex-direction: column;
        gap: 16px;
    }

    .contact-map-full {
        height: 240px;
    }

    .contact-map-tag {
        left: 14px;
        bottom: 14px;
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ============================================================
     FOOTER — dark indigo/violet, integrated CTA panel
  ============================================================ */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #12102c 0%, #171242 55%, #1d1450 100%);
    color: rgba(224, 220, 250, 0.72);
    padding: 64px 0 28px;
    isolation: isolate;
}

.footer-bg-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 60%;
    height: 100%;
    margin-left: auto;
}

.footer-bg-decor svg {
    width: 100%;
    height: 100%;
}

.footer-inner {
    position: relative;
    z-index: 1;
}

/* ---- top grid ---- */
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.95fr 0.85fr 1.35fr;
    gap: 32px;
    padding-bottom: 46px;
}

.footer-logo-link {
    display: inline-flex;
}

.footer-tagline {
    margin-top: 18px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(224, 220, 250, 0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    /* max-width: 260px; */
    color: rgba(224, 220, 250, 0.65);
}

.footer-hr {
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 3px;
    margin: 22px 0 20px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: rgba(224, 220, 250, 0.8);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.socials a:hover,
.socials a:focus-visible {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* ---- nav columns ---- */
.footer-col h4 {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.footer-col ul {
    margin-top: 18px;
}

.footer-col li {
    margin-bottom: 13px;
    font-size: 14px;
}

.footer-col a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(224, 220, 250, 0.68);
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.footer-col a .chev {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    flex: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #fff;
}

.footer-col a:hover .chev,
.footer-col a:focus-visible .chev {
    opacity: 1;
    transform: translateX(0);
}

/* ---- CTA panel ---- */
.footer-cta-panel {
    position: relative;
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta-icon {
    display: none;
}

.footer-cta-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(224, 220, 250, 0.55);
}

.footer-cta-heading {
    margin-top: 10px;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    color: #fff;
}

.footer-cta-heading .hl {
    background: linear-gradient(90deg, #fb7185, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-cta-heading .dot {
    color: #f472b6;
    -webkit-text-fill-color: #f472b6;
}

.footer-cta-sub {
    margin-top: 12px;
    font-size: 14.5px;
    color: rgba(224, 220, 250, 0.65);
}

.footer-cta-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-cta-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(224, 220, 250, 0.75);
    width: fit-content;
    transition: color 0.3s var(--ease);
}

.footer-cta-contact a svg {
    color: #a78bfa;
    flex: none;
}

.footer-cta-contact a:hover,
.footer-cta-contact a:focus-visible {
    color: #fff;
}

.footer-cta-btn {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 14px 24px;
    border-radius: var(--r-pill);
    box-shadow: 0 14px 28px -12px rgba(99, 102, 241, 0.55);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.footer-cta-btn:hover,
.footer-cta-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -12px rgba(139, 92, 246, 0.6);
}

.footer-cta-btn svg {
    transition: transform 0.3s var(--ease);
}

.footer-cta-btn:hover svg {
    transform: translateX(3px);
}

.footer-watermark {
    position: absolute;
    left: 330px;
    bottom: 54px;

    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;

    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);

    z-index: 0;
    pointer-events: none;
    user-select: none;

    background:
        linear-gradient(105deg,
            transparent 0%,
            transparent 43%,
            rgba(255, 255, 255, 0.05) 46%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0.05) 54%,
            transparent 57%,
            transparent 100%);

    background-size: 300% 100%;
    background-position: 150% 0;

    -webkit-background-clip: text;
    background-clip: text;

    animation: unitechLight 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes unitechLight {

    0% {
        background-position: 150% 0;
    }

    50% {
        background-position: -50% 0;
    }

    100% {
        background-position: -50% 0;
    }
}

/* ---- bottom bar ---- */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 26px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(224, 220, 250, 0.55);
}

.footer-bottom-tags {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-bottom-tags i {
    font-style: normal;
    margin: 0 4px;
    color: rgba(224, 220, 250, 0.35);
}

.tag-line {
    display: inline-block;
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

/* ---- reduced motion / accessibility ---- */
@media (prefers-reduced-motion: reduce) {

    .footer-cta-btn,
    .socials a {
        transition: none;
    }
}

.footer-col a:focus-visible,
.socials a:focus-visible,
.footer-cta-btn:focus-visible,
.footer-cta-contact a:focus-visible {
    outline: 2px solid #f472b6;
    outline-offset: 3px;
}

/* ---- responsive ---- */
@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 40px;
    }

    .footer-cta-panel {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer-watermark {
        display: none;
    }
}

@media (max-width: 720px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   MOBILE-ONLY FOOTER LAYOUT
   Everything below this line only changes layout at <=767px.
   Desktop styles above are untouched — no JS, no toggling.
   Each nav column's link list becomes a static, wrapped,
   dot-separated line (matches the reference), the same
   treatment for Quick Links, Our Services and More Links.
  ============================================================ */
@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: 1fr;
        row-gap: 28px;
        padding-bottom: 8px;
    }

    .footer-bg-decor {
        opacity: 0.45;
    }

    .footer-brand {
        padding-bottom: 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        margin-bottom: 4px;
    }

    .footer-col h4 {
        padding-bottom: 10px;
    }

    .footer-col ul {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 14px;
    }

    .footer-col li {
        margin-bottom: 6px;
        display: inline-flex;
        align-items: center;
    }

    .footer-col li:not(:last-child)::after {
        content: "•";
        margin: 0 10px;
        color: rgba(224, 220, 250, 0.35);
    }

    /* the hover-reveal chevron doesn't read well inline on a
       wrapped, dot-separated line — hide it on mobile only */
    .footer-col a .chev {
        display: none;
    }

    /* CTA panel becomes its own card, matching the reference */
    .footer-cta-panel {
        grid-column: auto;
        margin-top: 6px;
        padding: 26px 22px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 22px;
        background: linear-gradient(150deg, rgba(79, 70, 229, 0.32), rgba(139, 92, 246, 0.16));
    }

    .footer-cta-icon {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        margin-bottom: 14px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
    }
}

#main {
    scroll-margin-top: 110px;
}

/* ==============================
   CREATIVE CURSOR POINTER
============================== */

/* Custom cursor glow effect */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-glow.active {
    opacity: 1;
}

/* Soft background glow */
.cursor-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(227, 30, 36, 0.10) 0%,
            rgba(227, 30, 36, 0.04) 45%,
            transparent 70%);
    filter: blur(2px);
}

/* Center dot */
.cursor-glow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 0 8px rgba(227, 30, 36, 0.6);
}

/* Hover / click states */
.cursor-glow.hovering {
    width: 140px;
    height: 140px;
}

.cursor-glow.clicking::after {
    width: 10px;
    height: 10px;
}

/* Disable on touch devices */
@media (hover: none),
(pointer: coarse) {
    .cursor-glow {
        display: none;
    }
}

/* ============================================================
   CASE STUDY PAGE — project-details.php  (v2)
   ============================================================ */

:root {
    --cs-purple: #7c3aed;
    --cs-purple-soft: #ece7fc;
    --cs-orange: #ea580c;
    --cs-orange-soft: #fde3d8;
    --cs-blue: #2563eb;
    --cs-blue-soft: #e0e9fc;
    --cs-green: #059669;
    --cs-green-soft: #d1fae5;
    --cs-pink: #db2777;
    --cs-pink-soft: #fce7f3;
}

.cs-hero {
    padding: 150px 0 50px;
    background: var(--gradient-brand);
    position: relative;
    overflow: hidden;
}

.cs-hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: var(--gradient-glow);
    top: -300px;
    right: -220px;
    pointer-events: none;
}

.cs-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.cs-hero h1 {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    line-height: 1.1;
    max-width: 15ch;
}

.cs-hero-lede {
    margin-top: 16px;
    font-size: 16px;
    color: var(--ink-700);
    line-height: 1.65;
}

.cs-squiggle {
    margin-top: 18px;
    color: var(--cs-purple);
    opacity: 0.55;
}

.cs-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.cs-hero-stat {
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.cs-hero-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cs-hero-stat .cs-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cs-hero-stat:nth-child(1) .cs-stat-icon {
    background: linear-gradient(135deg, var(--cs-purple), #5b21b6);
}

.cs-hero-stat:nth-child(2) .cs-stat-icon {
    background: linear-gradient(135deg, var(--cs-orange), #c2410c);
}

.cs-hero-stat:nth-child(3) .cs-stat-icon {
    background: linear-gradient(135deg, var(--cs-green), #047857);
}

.cs-hero-stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    color: var(--ink-900);
}

.cs-hero-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--ink-700);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .cs-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .cs-hero-stats {
        grid-template-columns: 1fr;
    }
}

.cs-shell {
    padding: 0 0 90px;
}

.cs-radio {
    opacity: 0;
    pointer-events: none;
}

.cs-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    align-items: start;
}

.cs-rail {
    background: var(--bg);
    border-right: 1px solid var(--border-softer);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: stretch;
}

.cs-rail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cs-purple);
    padding: 6px 4px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border-softer);
}

.cs-rail-back svg {
    transition: transform var(--dur-fast) var(--ease);
}

.cs-rail-back:hover svg {
    transform: translateX(-3px);
}

.cs-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.cs-tab .cs-idx {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    background: var(--border-softer);
    color: var(--ink-700);
    transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.cs-tab .cs-meta {
    min-width: 0;
    flex: 1;
}

.cs-tab .cs-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cs-tab .cs-cat {
    display: block;
    font-size: 11.5px;
    color: var(--ink-700);
    margin-top: 2px;
}

.cs-tab .cs-tab-arrow {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-purple);
    background: #fff;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.cs-tab:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.cs-panel {
    display: none;
}

#cs-tab-1:checked~.cs-inner label[for="cs-tab-1"],
#cs-tab-2:checked~.cs-inner label[for="cs-tab-2"],
#cs-tab-3:checked~.cs-inner label[for="cs-tab-3"],
#cs-tab-4:checked~.cs-inner label[for="cs-tab-4"],
#cs-tab-5:checked~.cs-inner label[for="cs-tab-5"],
#cs-tab-6:checked~.cs-inner label[for="cs-tab-6"],
#cs-tab-7:checked~.cs-inner label[for="cs-tab-7"],
#cs-tab-8:checked~.cs-inner label[for="cs-tab-8"] {
    background: var(--cs-purple-soft);
    border-color: rgba(124, 58, 237, 0.25);
}

#cs-tab-1:checked~.cs-inner label[for="cs-tab-1"] .cs-idx,
#cs-tab-2:checked~.cs-inner label[for="cs-tab-2"] .cs-idx,
#cs-tab-3:checked~.cs-inner label[for="cs-tab-3"] .cs-idx,
#cs-tab-4:checked~.cs-inner label[for="cs-tab-4"] .cs-idx,
#cs-tab-5:checked~.cs-inner label[for="cs-tab-5"] .cs-idx,
#cs-tab-6:checked~.cs-inner label[for="cs-tab-6"] .cs-idx,
#cs-tab-7:checked~.cs-inner label[for="cs-tab-7"] .cs-idx,
#cs-tab-8:checked~.cs-inner label[for="cs-tab-8"] .cs-idx {
    background: var(--cs-purple);
    color: #fff;
}

#cs-tab-1:checked~.cs-inner label[for="cs-tab-1"] .cs-tab-arrow,
#cs-tab-2:checked~.cs-inner label[for="cs-tab-2"] .cs-tab-arrow,
#cs-tab-3:checked~.cs-inner label[for="cs-tab-3"] .cs-tab-arrow,
#cs-tab-4:checked~.cs-inner label[for="cs-tab-4"] .cs-tab-arrow,
#cs-tab-5:checked~.cs-inner label[for="cs-tab-5"] .cs-tab-arrow,
#cs-tab-6:checked~.cs-inner label[for="cs-tab-6"] .cs-tab-arrow,
#cs-tab-7:checked~.cs-inner label[for="cs-tab-7"] .cs-tab-arrow,
#cs-tab-8:checked~.cs-inner label[for="cs-tab-8"] .cs-tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

#cs-tab-1:checked~.cs-inner .cs-panels #cs-panel-1,
#cs-tab-2:checked~.cs-inner .cs-panels #cs-panel-2,
#cs-tab-3:checked~.cs-inner .cs-panels #cs-panel-3,
#cs-tab-4:checked~.cs-inner .cs-panels #cs-panel-4,
#cs-tab-5:checked~.cs-inner .cs-panels #cs-panel-5,
#cs-tab-6:checked~.cs-inner .cs-panels #cs-panel-6,
#cs-tab-7:checked~.cs-inner .cs-panels #cs-panel-7,
#cs-tab-8:checked~.cs-inner .cs-panels #cs-panel-8 {
    display: block;
    animation: csPanelIn .5s var(--ease);
}

@keyframes csPanelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-panel {
        animation: none !important;
    }
}

.cs-rail-widget {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 20px 18px;
}

.cs-rail-widget-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cs-purple-soft);
    color: var(--cs-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cs-rail-widget h4 {
    font-size: 14.5px;
    margin-bottom: 6px;
}

.cs-rail-widget p {
    font-size: 12.5px;
    color: var(--ink-700);
    line-height: 1.5;
    margin-bottom: 14px;
}

.cs-rail-widget .btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, var(--cs-purple), #4f46e5);
    color: #fff;
    font-size: 13px;
    padding: 12px 16px;
    box-shadow: 0 10px 22px -12px rgba(124, 58, 237, 0.55);
}

.cs-panels {
    padding: clamp(24px, 4vw, 44px);
}

.cs-panel-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--border-softer);
}

.cs-panel-head h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    margin-top: 8px;
}

.cs-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--accent-soft, var(--cs-purple-soft));
    color: var(--accent, var(--cs-purple));
}

.cs-panel[data-cat="Websites"] {
    --accent: var(--cs-blue);
    --accent-soft: var(--cs-blue-soft);
}

.cs-panel[data-cat="E-Commerce"] {
    --accent: var(--cs-orange);
    --accent-soft: var(--cs-orange-soft);
}

.cs-panel[data-cat="ERP"] {
    --accent: var(--cs-purple);
    --accent-soft: var(--cs-purple-soft);
}

.cs-panel[data-cat="Mobile Apps"] {
    --accent: var(--cs-pink);
    --accent-soft: var(--cs-pink-soft);
}

.cs-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    border: 1px solid var(--border-softer);
}

.cs-frame-media {
    aspect-ratio: 16 / 9.2;
    width: 100%;
    background: linear-gradient(135deg, var(--cs-purple-soft), var(--bg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-frame-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.cs-frame-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ink-700);
}

.cs-frame-fallback .cs-initials {
    width: 60px;
    height: 60px;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink-900);
}

.cs-frame-fallback span:last-child {
    font-size: 12.5px;
    font-weight: 600;
}

.cs-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 8px;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.cs-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-right: 1px solid var(--border-softer);
}

.cs-meta-item:last-child {
    border-right: none;
}

.cs-meta-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--cs-purple-soft);
    color: var(--cs-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-meta-item .k {
    font-size: 11px;
    color: var(--ink-700);
    opacity: 0.8;
    margin-bottom: 4px;
}

.cs-meta-item .v {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-900);
}

.cs-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

@media (max-width: 700px) {
    .cs-meta-row {
        flex-direction: column;
    }

    .cs-meta-item {
        border-right: none;
        border-bottom: 1px solid var(--border-softer);
    }

    .cs-meta-item:last-child {
        border-bottom: none;
    }
}

.cs-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0 6px;
}

.cs-story-card {
    background: var(--bg);
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.cs-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.cs-story-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
}

.cs-story-card:nth-child(1) .cs-story-icon {
    background: linear-gradient(135deg, var(--cs-purple), #5b21b6);
}

.cs-story-card:nth-child(2) .cs-story-icon {
    background: linear-gradient(135deg, var(--cs-orange), #c2410c);
}

.cs-story-card:nth-child(3) .cs-story-icon {
    background: linear-gradient(135deg, var(--cs-green), #047857);
}

.cs-story-card h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-700);
    font-family: var(--font-body);
    font-weight: 800;
    margin-bottom: 8px;
}

.cs-story-card p {
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.6;
}

.cs-note {
    margin-top: 20px;
    font-size: 12.5px;
    color: var(--ink-700);
    opacity: 0.75;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.cs-note svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 1px;
    color: var(--cs-purple);
    opacity: 0.8;
}

@media (max-width: 960px) {
    .cs-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .cs-inner {
        grid-template-columns: 1fr;
    }

    .cs-rail-back {
        display: none;
    }

    .cs-rail {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-softer);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cs-rail::-webkit-scrollbar {
        display: none;
    }

    .cs-tab {
        flex: none;
    }

    .cs-tab .cs-cat,
    .cs-tab .cs-tab-arrow {
        display: none;
    }

    .cs-rail-widget {
        display: none;
    }
}

.cs-explore {
    margin-top: 48px;
}

.cs-explore-head {
    text-align: center;
    margin-bottom: 26px;
}

.cs-explore-head h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink-900);
}

.cs-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cs-explore-card {
    background: #fff;
    border: 1px solid var(--border-softer);
    border-radius: var(--r-lg);
    padding: 24px 22px;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.cs-explore-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.cs-explore-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cs-explore-card[data-tone="purple"] .cs-explore-icon {
    background: var(--cs-purple-soft);
    color: var(--cs-purple);
}

.cs-explore-card[data-tone="orange"] .cs-explore-icon {
    background: var(--cs-orange-soft);
    color: var(--cs-orange);
}

.cs-explore-card[data-tone="green"] .cs-explore-icon {
    background: var(--cs-green-soft);
    color: var(--cs-green);
}

.cs-explore-card[data-tone="blue"] .cs-explore-icon {
    background: var(--cs-blue-soft);
    color: var(--cs-blue);
}

.cs-explore-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.cs-explore-card p {
    font-size: 13px;
    color: var(--ink-700);
    line-height: 1.55;
    margin-bottom: 16px;
}

.cs-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-900);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.cs-explore-card[data-tone="purple"] .cs-explore-link {
    color: var(--cs-purple);
}

.cs-explore-card[data-tone="orange"] .cs-explore-link {
    color: var(--cs-orange);
}

.cs-explore-card[data-tone="green"] .cs-explore-link {
    color: var(--cs-green);
}

.cs-explore-card[data-tone="blue"] .cs-explore-link {
    color: var(--cs-blue);
}

.cs-explore-link svg {
    transition: transform var(--dur-fast) var(--ease);
}

.cs-explore-link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .cs-explore-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .cs-explore-grid {
        grid-template-columns: 1fr;
    }
}

.cs-cta {
    margin-top: 56px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #1c1440 0%, #2c1a63 45%, #3d2a86 100%);
    border-radius: var(--r-xl);
    padding: clamp(30px, 5vw, 48px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.cs-cta h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    max-width: 26ch;
}

.cs-cta p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 8px;
    font-size: 14.5px;
}

.cs-cta .btn-light {
    flex: none;
}

@media (max-width: 640px) {
    .cs-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cs-cta .btn-light {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   GLOBAL SAFETY NET — prevents horizontal overflow at any width
   (Galaxy Fold 280px and below, and as insurance elsewhere)
   ============================================================ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    min-width: 0;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   MOBILE PERFECTION LAYER
   Fluid type with safe floors, section-by-section tightening,
   performance trims, touch targets, landscape phones.
   Appended last so cascade order gives it priority at these
   widths without needing !important anywhere.
   ============================================================ */

@media (max-width: 900px) {
    .container {
        padding: 0 22px;
    }

    .trust-card {
        padding: 26px 18px;
    }

    .about-grid {
        gap: 26px;
    }

    .stats-grid {
        gap: 14px;
    }

    .ins-card {
        padding: 22px 20px 20px;
    }
}

@media (max-width: 640px) {
    .nav-cta .btn.btn-primary {
        padding: 10px 14px;
    }

    .eyebrow-pill {
        max-width: 100%;
        white-space: normal;
        line-height: 1.4;
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .hero-title {
        /* FIX: was clamp(2.6rem, 5vw, 4.1rem) — the 2.6rem floor
           never shrank, which is what clipped "Bardoli" to "Bardol"
           and "better" to "bett" on the Galaxy Fold in testing. */
        font-size: clamp(1.9rem, 8vw, 3rem);
        line-height: 1.14;
        max-width: 100%;
    }

    .hero-sub {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 13px 20px;
        font-size: 14px;
    }

    .hero-trust {
        row-gap: 14px;
        column-gap: 16px;
        flex-wrap: wrap;
    }

    .hero-trust div {
        font-size: 18px;
    }

    .trust-divider {
        display: none;
    }

    .trust-logo {
        padding: 9px 15px 9px 10px;
    }

    .trust-logo b {
        font-size: 13px;
    }

    .about-copy h2 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .about-copy p {
        font-size: 15px;
    }

    .about-media-wrap {
        margin-top: 24px;
    }

    .section-head h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .svc-card {
        padding: 22px;
    }

    .tech-center {
        width: 78%;
        height: 120px;
        font-size: 13px;
    }

    .stats-head h2 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .process-head h2 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .p-body h3 {
        font-size: 17px;
    }

    .filters {
        gap: 18px;
    }

    .testi-head h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .testi-card {
        padding: 24px 20px;
    }

    .quote {
        font-size: 14px;
    }

    .ins-card h3 {
        font-size: 16.5px;
    }

    .cta-inner h2 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .contact-info h2 {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
    }

    .footer-cta h2 {
        font-size: clamp(1.3rem, 7vw, 1.7rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 110px 0 24px;
    }

    .hero-title {
        font-size: clamp(1.7rem, 8.5vw, 2.4rem);
    }

    .hero-sub {
        font-size: 14.5px;
    }

    .hero-trust {
        gap: 10px 18px;
    }

    .hero-trust div {
        font-size: 16px;
    }

    .hero-trust span {
        font-size: 11px;
    }

    .stage3d {
        gap: 8px;
    }

    .badge-chip {
        padding: 8px 10px;
    }

    .about-features {
        padding: 18px;
    }

    .about-feature h4 {
        font-size: 14px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 20px 10px 16px;
    }

    .why-card {
        padding: 22px;
    }

    .m-step-body h3 {
        font-size: 15px;
    }

    .p-body {
        padding: 16px 18px 18px;
    }

    .contact-form-side,
    .contact-info {
        padding: 24px 18px;
    }

    .form-row {
        gap: 12px;
    }

    .footer-cols {
        gap: 22px;
    }

    .footer-cta {
        padding: 26px 20px;
    }
}

/* Ultra-narrow: Galaxy Fold outer screen (280px) and similar */
@media (max-width: 380px) {
    .container {
        padding: 0 14px;
    }

    .eyebrow-pill {
        font-size: 11px;
        padding: 7px 12px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 2rem);
        letter-spacing: -0.02em;
    }

    .hero-sub {
        font-size: 13.5px;
    }

    .hero-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
        gap: 6px;
    }

    .hero-trust {
        gap: 8px 14px;
    }

    .hero-trust div {
        font-size: 15px;
    }

    .section-head h2 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    .about-copy h2 {
        font-size: clamp(1.35rem, 8vw, 1.7rem);
    }

    .stats-head h2,
    .process-head h2 {
        font-size: clamp(1.35rem, 8vw, 1.7rem);
    }

    .testi-head h2 {
        font-size: clamp(1.3rem, 8vw, 1.6rem);
    }

    .cta-inner h2 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    .contact-info h2 {
        font-size: clamp(1.3rem, 8vw, 1.6rem);
    }
}

@media (max-width: 340px) {
    .hero-title {
        font-size: clamp(1.35rem, 9.5vw, 1.8rem);
    }

    .eyebrow-pill {
        font-size: 10.5px;
        line-height: 1.35;
    }

    .hero-trust {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .badge-text strong {
        font-size: 10.5px;
    }

    .badge-text small {
        font-size: 9px;
    }
}

/* ---- Performance: motion/paint cost trimmed on mobile ---- */
@media (max-width: 900px) {

    .hero-blob-2,
    .about-blob-b,
    .bg-blob--violet,
    .process-blob,
    .ins-blob {
        display: none;
    }

    .hero-blob-1,
    .about-blob-a,
    .bg-blob--rose {
        filter: none;
        opacity: 0.5;
    }

    /* .trust-track-wrap {
        content-visibility: auto;
        contain-intrinsic-size: 1px 90px;
    } */

    .tech-hex {
        animation: none;
    }

    .cursor-glow {
        display: none !important;
    }
}

@media (max-width: 640px) {

    .svc-card,
    .why-card,
    .process-card,
    .ins-card,
    .p-card,
    .stat-card,
    .cs-explore-card {
        transition: none;
    }

    .svc-card:hover,
    .why-card:hover,
    .process-card:hover,
    .ins-card:hover,
    .p-card:hover,
    .stat-card:hover {
        transform: none;
    }

    .art-img {
        animation: none;
    }
}

/* ---- Touch targets: 44px minimum tappable area ---- */
@media (max-width: 900px) {
    .filter-btn {
        padding: 12px 4px 18px;
    }

    .testi-dots button {
        position: relative;
    }

    .testi-dots button::before {
        content: "";
        position: absolute;
        inset: -14px;
    }

    .modal-close {
        width: 44px;
        height: 44px;
    }

    .socials a {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-track {
        transform: none !important;
    }

    .tech-hex,
    .art-img,
    .badge-chip,
    .illo-cube,
    .bg-blob--rose,
    .contact-waves,
    .footer-cta-waves {
        animation: none !important;
    }
}

/* ---- Landscape phones: short viewport height ---- */
@media (max-width: 900px) and (max-height: 420px) and (orientation: landscape) {
    .hero {
        padding: 90px 0 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-links {
        margin-top: 24px;
        gap: 0;
    }

    .mobile-menu-links a {
        padding: 8px 0;
    }
}



/* =========================================================
       TRUSTED CLIENTS
    ========================================================= */

.trusted-section {
    background: #fff;
    padding-top: 86px;
    /* padding-bottom: 86px; */
}

.trusted-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 30px;
}

.trusted-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 12px 0 8px;
    letter-spacing: -.04em;
}

.trusted-head p {
    margin: 0;
    color: var(--body);
    font-size: 15px;
}

.trusted-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 8px 0 12px;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.trusted-marquee:hover .trusted-track {
    animation-play-state: paused;
}

.trusted-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 16px;
    animation: trustedScroll 26s linear infinite;
    will-change: transform;
}

.trusted-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.trusted-logo {
    width: 190px;
    height: 72px;
    border: 1px solid #e6e9f1;
    border-radius: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 18px;
    color: #667085;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .055em;
    filter: grayscale(1);
    opacity: .78;
    white-space: nowrap;
    transition: all .3s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 5px 18px rgba(24, 35, 80, .035);
}

.trusted-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    color: #11162f;
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 14px 30px rgba(24, 35, 80, .10);
    border-color: #d9def0;
}

@keyframes trustedScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 8px));
    }
}

/* back to top button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    /* background: #FBE9EB; */
background: #EEAECA;
    background: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
    
    color: #08007e;

    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 9999;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        right: 18px;
        bottom: 18px;
    }
}