/* ============================================================
   HOMEPAGE CSS — Technovators Premium Redesign
   Layers on top of styles.css and testimonials-footer.css.
   Philosophy: corporate, calm, restrained. Premium trust, not flash.
   ============================================================ */

/* ------------------------------------------------------------------
   0. PREMIUM TOKENS (scoped to homepage via load order)
   ------------------------------------------------------------------ */
:root {
    /* Logo lime — single brand accent used everywhere */
    --primary: #66ff33;
    --accent:  #66ff33;  /* unify — no secondary blue on homepage */
    --primary-soft: #8aff5f;
    --primary-deep: #4fd11f;
    --primary-tint-5:  rgba(102, 255, 51, 0.05);
    --primary-tint-8:  rgba(102, 255, 51, 0.08);
    --primary-tint-14: rgba(102, 255, 51, 0.14);
    --primary-tint-22: rgba(102, 255, 51, 0.22);
    --primary-tint-30: rgba(102, 255, 51, 0.32);
    --primary-glow:    rgba(102, 255, 51, 0.20);

    /* Surfaces */
    --bg-dark: #0B0F14;
    --bg-panel-alt: #0F141B;
    --bg-card: rgba(255, 255, 255, 0.018);
    --bg-card-hover: rgba(255, 255, 255, 0.032);

    /* Borders */
    --border-hairline: rgba(255, 255, 255, 0.06);
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-accent: rgba(102, 255, 51, 0.30);

    /* Shadows — layered, not glowy */
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.30);
    --shadow-card-hover: 0 1px 2px rgba(0, 0, 0, 0.45), 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-cta: 0 4px 14px rgba(102, 255, 51, 0.22);

    /* Rhythm */
    --section-pad-y: clamp(72px, 9vw, 120px);
    --trust-strip-offset: 38px;
}

/* Compact procurement shortcut for formal buyers */
.procurement-quick-path {
    padding: clamp(22px, 3vw, 34px) 0 0;
    background: var(--bg-dark);
}

.procurement-quick-path-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 36px);
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid rgba(102, 255, 51, 0.16);
    border-left: 3px solid rgba(102, 255, 51, 0.72);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(102, 255, 51, 0.07), transparent 34%), rgba(9, 15, 9, 0.72);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.procurement-quick-path-content h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.18rem, 2vw, 1.65rem);
    color: var(--text-main);
}

.procurement-quick-path-content p {
    margin: 0;
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.6;
}

.procurement-quick-path-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 820px) {
    .procurement-quick-path-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .procurement-quick-path-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .procurement-quick-path-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

body {
    background-color: var(--bg-dark);
}

/* Kill residual glows from base stylesheet */
body .text-primary,
body .section-title,
body .section-title::after,
body .nav-links a:hover {
    text-shadow: none;
    box-shadow: none;
}

body .text-primary {
    color: var(--primary);
}

/* Legacy hero canvas */
#hero-bg { display: none; }
.loader-text { display: none; }

/* Performance: tell the browser it can skip rendering work for off-screen
   sections. The hero is excluded so the Spline scene is never deprioritised
   while it's the only thing on screen. */
main > section:not(.hero):not(.proof-bar) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

/* ------------------------------------------------------------------
   1. TOP TRUST STRIP
   ------------------------------------------------------------------ */
.trust-strip {
    background: rgba(8, 12, 17, 0.94);
    border-bottom: 1px solid var(--border-hairline);
    padding: 6px 0;
    min-height: var(--trust-strip-offset);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    will-change: transform, opacity;
    transition:
        transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease;
}

.trust-strip.hidden {
    transform: translateY(calc(-100% - 4px));
    opacity: 0;
    pointer-events: none;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.trust-strip-left,
.trust-strip-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.trust-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.trust-strip-item svg { color: var(--primary); flex-shrink: 0; }
.trust-strip-item strong { color: var(--text-main); font-weight: 600; }

.trust-strip-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.14);
}

.trust-strip-link { color: var(--text-muted); transition: color 0.2s; }
.trust-strip-link:hover { color: var(--text-main); }

.trust-strip-whatsapp { color: #25D366; font-weight: 600; transition: opacity 0.2s; }
.trust-strip-whatsapp:hover { opacity: 0.85; }

@media (max-width: 640px) {
    .trust-strip-inner { justify-content: center; text-align: center; }
    .trust-strip-left { display: none; }
    .trust-strip-right { gap: 12px; }
}

/* Mobile navbar position under trust strip — desktop styles consolidated
   in section 17 (HEADER). */
@media (max-width: 900px) {
    .navbar.has-trust-strip {
        top: var(--trust-strip-offset) !important;
        padding: 8px 20px !important;
    }
    .navbar.has-trust-strip:not(.scrolled) {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .navbar.has-trust-strip.scrolled {
        top: 8px !important;
        padding: 10px 16px !important;
    }
}

/* ------------------------------------------------------------------
   2. HERO — premium, restrained
   ------------------------------------------------------------------ */
.hero-home {
    min-height: 88vh;
    height: auto;
    padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px);
    display: flex;
    align-items: center;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 18% 12%, rgba(102, 255, 51, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 82% 88%, rgba(102, 255, 51, 0.04) 0%, transparent 55%),
        var(--bg-dark);
    overflow: hidden;
}

/* Subtle vignette — credibility without noise */
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.hero-content-centered {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding-top: 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 28px;
}

.hero-home .hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5.4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-home .text-primary {
    color: var(--primary);
    text-shadow: none;
}

.hero-home .hero-subtitle {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    max-width: 680px;
    margin: 0 auto 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-home .hero-subtitle + .hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 720px;
    margin-top: 8px;
    margin-bottom: 36px;
}

.hero-home .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ------------------------------------------------------------------
   3. BUTTONS — corporate, no neon
   ------------------------------------------------------------------ */
.btn-primary-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--primary);
    color: #07120B;
    border: 1px solid var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-cta);
}

.btn-primary-solid:hover {
    background: var(--primary-soft);
    border-color: var(--primary-soft);
    color: #07120B;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 255, 51, 0.32);
}

.btn-primary-solid::before { display: none; }

.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: transparent;
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-whatsapp-outline:hover {
    background: rgba(37, 211, 102, 0.08);
    border-color: #25D366;
    color: #25D366;
    transform: translateY(-1px);
}

.btn-whatsapp-outline::before { display: none; }

/* Generic outline btn refinement on homepage */
.cta-banner .btn-outline,
.case-studies-cta .btn-outline {
    padding: 13px 26px;
    border-width: 1px;
    border-radius: 6px;
    border-color: var(--border-soft);
    color: var(--text-main);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    box-shadow: none;
}
.cta-banner .btn-outline::before,
.case-studies-cta .btn-outline::before {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}
.cta-banner .btn-outline:hover,
.case-studies-cta .btn-outline:hover {
    color: var(--text-main);
    border-color: var(--primary-tint-30);
    box-shadow: none;
}

/* ------------------------------------------------------------------
   4. PROOF BAR
   ------------------------------------------------------------------ */
.proof-bar {
    padding: 44px 0;
    background: var(--bg-panel-alt);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.proof-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
}

.proof-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    stroke-width: 1.8;
}

.proof-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.proof-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

@media (max-width: 900px) {
    .proof-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
    .proof-bar-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ------------------------------------------------------------------
   5. SECTIONS & HEADERS — rhythm and restraint
   ------------------------------------------------------------------ */
.services,
.featured-solutions,
.how-we-work {
    padding: var(--section-pad-y) 0;
    min-height: auto;
    background: var(--bg-dark);
    display: block;
}

.who-we-help,
.why-choose-us,
.case-studies-preview {
    padding: var(--section-pad-y) 0;
    background: var(--bg-panel-alt);
}

.services > .container,
.featured-solutions > .container,
.who-we-help > .container,
.why-choose-us > .container,
.how-we-work > .container,
.case-studies-preview > .container {
    display: block;
    width: 100%;
}

.services-header,
.section-header-centered {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

body .section-title {
    font-family: var(--font-head);
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text-main);
}

body .services-header .section-title::after,
body .who-we-help .section-title::after,
body .featured-solutions .section-title::after,
body .why-choose-us .section-title::after,
body .how-we-work .section-title::after,
body .case-studies-preview .section-title::after,
body .cta-banner .section-title::after,
body .partner-logos-section .section-title::after,
body .section-header-centered .section-title::after {
    display: none;
}

body .section-subtitle {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* ------------------------------------------------------------------
   6. SERVICE / CARD SYSTEM — premium base
   ------------------------------------------------------------------ */
.services-grid,
.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.service-card {
    position: relative;
    text-align: left;
    align-items: flex-start;
    padding: 36px 32px 32px;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%);
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 32%);
    opacity: 0.8;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
    background:
        linear-gradient(180deg, rgba(102, 255, 51, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
}

.service-card .card-glow { display: none; }

.service-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 10px;
    margin-bottom: 22px;
    color: var(--primary);
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.service-card-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }

.service-card:hover .service-card-icon {
    background: var(--primary-tint-14);
    border-color: var(--border-accent);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 10px;
}

.service-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 22px;
}

.card-link {
    font-family: var(--font-head);
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: auto;
    padding-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.service-card:hover .card-link { gap: 8px; }

@media (max-width: 900px) {
    .services-grid, .core-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------------------------------------------------------------
   7. WHO WE HELP
   ------------------------------------------------------------------ */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    background: var(--bg-card);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem;
    color: var(--text-main);
    letter-spacing: -0.005em;
}

.audience-item svg {
    color: var(--primary);
    flex-shrink: 0;
    width: 20px; height: 20px;
    stroke-width: 1.6;
}

.audience-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   8. FEATURED SOLUTIONS (if used)
   ------------------------------------------------------------------ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card {
    padding: 28px;
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    background: var(--bg-card);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.solution-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.solution-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 700;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   9. WHY CHOOSE US
   ------------------------------------------------------------------ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    padding: 30px;
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.why-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 10px;
    margin-bottom: 18px;
    color: var(--primary);
}
.why-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }

.why-card h4 {
    font-family: var(--font-head);
    font-size: 1.02rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   10. HOW WE WORK — process steps
   ------------------------------------------------------------------ */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 940px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 20px 24px;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #07120B;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 50%;
    margin: 0 auto 18px;
    box-shadow: 0 4px 14px rgba(102, 255, 51, 0.25);
}

.step-card h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.step-connector {
    width: 64px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-tint-30), transparent);
    margin-top: 42px;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .steps-grid { flex-direction: column; align-items: center; gap: 8px; }
    .step-connector { width: 1px; height: 32px; margin-top: 0; background: linear-gradient(to bottom, transparent, var(--primary-tint-30), transparent); }
}

/* ------------------------------------------------------------------
   11. CASE STUDIES PREVIEW
   ------------------------------------------------------------------ */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    padding: 30px;
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.case-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 16px;
}

.case-card h4 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.case-studies-cta {
    text-align: center;
    margin-top: 42px;
}

@media (max-width: 900px) {
    .case-study-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------------------------------------------------------------
   12. PARTNER LOGOS
   ------------------------------------------------------------------ */
.partner-logos-section {
    padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
    background: var(--bg-dark);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.partner-label {
    text-align: center;
    font-family: var(--font-head);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.partner-logos-section .logo-slider-container {
    margin-top: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    height: 72px;
    mask-image: none;
    -webkit-mask-image: none;
}

.partner-logos-section .logo-track {
    align-items: center;
    gap: 42px;
}

.partner-logos-section .partner-logo-item {
    --logo-width: 96px;
    --logo-height: 36px;
    width: 120px;
    height: 48px;
    flex: 0 0 120px;
    display: grid;
    place-items: center;
    line-height: 0;
    overflow: visible;
}

.partner-logos-section .partner-logo-image,
.partner-logos-section .partner-logo-wordmark {
    filter: grayscale(1) brightness(1.2);
    opacity: 0.72;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logos-section .partner-logo-image {
    display: block;
    width: var(--logo-width) !important;
    height: var(--logo-height) !important;
    max-width: var(--logo-width) !important;
    max-height: var(--logo-height) !important;
    object-fit: contain;
    object-position: center center;
    margin: auto;
}

.partner-logos-section .partner-logo-image--icon {
    width: var(--logo-width);
    height: var(--logo-height);
}

.partner-logos-section .partner-logo-image--wordmark {
    width: var(--logo-width);
    height: var(--logo-height);
    transform: scale(1.9);
    transform-origin: center;
}

.partner-logos-section .partner-logo-microsoft {
    width: var(--logo-width);
    height: var(--logo-height);
    transform: scale(1.45);
}

.partner-logos-section .partner-logo-image--ubiquiti {
    width: var(--logo-width);
    height: var(--logo-height);
}

.partner-logos-section .partner-logo-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--logo-height);
    width: var(--logo-width);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
}

.partner-logos-section .partner-logo-item--samsung .partner-logo-image--wordmark,
.partner-logos-section .partner-logo-item--acer .partner-logo-image--wordmark,
.partner-logos-section .partner-logo-item--lenovo .partner-logo-image--wordmark {
    transform: scale(2.25);
}

.partner-logos-section .partner-logo-item--lenovo {
    margin-right: 18px;
}

.partner-logos-section .partner-logo-item--microsoft {
    margin-left: 18px;
}

.partner-logos-section .partner-logo-item--dlink {
    width: 92px;
    flex-basis: 92px;
}

.partner-logos-section .partner-logo-item--dlink .partner-logo-image--wordmark {
    transform: scale(1.65);
}

.partner-logos-section .partner-logo-item:hover .partner-logo-image,
.partner-logos-section .partner-logo-item:hover .partner-logo-wordmark {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

@media (max-width: 768px) {
    .partner-logos-section .logo-slider-container {
        height: 60px;
    }

    .partner-logos-section .logo-track {
        gap: 24px;
    }

    .partner-logos-section .partner-logo-item {
        --logo-width: 76px;
        --logo-height: 30px;
        width: 96px;
        height: 36px;
        flex-basis: 96px;
    }

    .partner-logos-section .partner-logo-image--icon {
        width: var(--logo-width);
        height: var(--logo-height);
    }

    .partner-logos-section .partner-logo-image--wordmark,
    .partner-logos-section .partner-logo-microsoft,
    .partner-logos-section .partner-logo-wordmark {
        height: var(--logo-height) !important;
        width: var(--logo-width) !important;
        max-height: var(--logo-height) !important;
        max-width: var(--logo-width) !important;
    }

    .partner-logos-section .partner-logo-wordmark {
        font-size: 0.84rem;
    }

    .partner-logos-section .partner-logo-image--wordmark {
        transform: scale(1.75);
    }

    .partner-logos-section .partner-logo-microsoft {
        transform: scale(1.35);
    }

    .partner-logos-section .partner-logo-item--samsung .partner-logo-image--wordmark,
    .partner-logos-section .partner-logo-item--acer .partner-logo-image--wordmark,
    .partner-logos-section .partner-logo-item--lenovo .partner-logo-image--wordmark {
        transform: scale(2.05);
    }

    .partner-logos-section .partner-logo-item--lenovo {
        margin-right: 10px;
    }

    .partner-logos-section .partner-logo-item--microsoft {
        margin-left: 10px;
    }

    .partner-logos-section .partner-logo-item--dlink {
        width: 78px;
        flex-basis: 78px;
    }

    .partner-logos-section .partner-logo-item--dlink .partner-logo-image--wordmark {
        transform: scale(1.5);
    }

}

/* ------------------------------------------------------------------
   13. CTA BANNERS
   ------------------------------------------------------------------ */
.cta-banner {
    padding: clamp(72px, 9vw, 112px) 0;
    background:
        radial-gradient(ellipse 60% 70% at 50% 50%, rgba(102, 255, 51, 0.05) 0%, transparent 60%),
        var(--bg-panel-alt);
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-tint-30), transparent);
    opacity: 0.7;
}

.cta-banner-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-main);
}

.cta-banner-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------ */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li { margin-bottom: 8px; }

.footer-nav a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--primary); }

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

/* ------------------------------------------------------------------
   15. MODAL
   ------------------------------------------------------------------ */
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btn {
    text-align: center;
    border-radius: 6px;
}

/* ==================================================================
   PREMIUM STRUCTURAL UPGRADES
   (asymmetric hero, section eyebrows, indexed cards, process blocks)
   ================================================================== */

/* ------------------------------------------------------------------
   P1. SECTION EYEBROW (uppercase accent label above H2)
   ------------------------------------------------------------------ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 18px;
    padding: 0;
    position: relative;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-tint-30));
    flex-shrink: 0;
}
.section-eyebrow::after {
    background: linear-gradient(to left, transparent, var(--primary-tint-30));
}

/* ------------------------------------------------------------------
   P2. HERO — centered, calm, procurement-friendly
   ------------------------------------------------------------------ */
.hero-centered-v2 {
    padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px);
}

.hero-centered-v2 .hero-content-centered {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero-centered-v2 .hero-title {
    font-size: clamp(2.4rem, 5.4vw, 3.8rem);
    line-height: 1.06;
    letter-spacing: -0.028em;
    margin-bottom: 24px;
}

.hero-centered-v2 .hero-subtitle {
    max-width: 680px;
    margin: 0 auto 36px;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-centered-v2 .hero-cta {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-meta-line {
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid var(--border-hairline);
    max-width: 420px;
    text-align: center;
}

/* ------------------------------------------------------------------
   P2c. HERO WITH SPLINE 3D BACKGROUND
   Full-viewport scene, GPU-promoted, gradient fade into next section.
   No mask-image (too expensive) — fade handled by overlay gradient.
   ------------------------------------------------------------------ */
.hero-with-spline {
    background: var(--bg-dark);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh !important;
    /* Paint isolation — prevents Spline repaints from triggering layout elsewhere */
    contain: paint;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the legacy pseudo-layers on this page */
.hero-with-spline::before,
.hero-with-spline::after {
    display: none !important;
}

/* 1. Spline scene layer — full bleed, GPU-promoted, NON-INTERACTIVE
   pointer-events: none is critical — the scene won't re-render on every
   mousemove, which is the #1 source of lag with Spline scenes */
.hero-spline {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Compositor layer — repaints don't invalidate the rest of the page */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    contain: strict;
}

.hero-spline spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    pointer-events: none;
    transform: translateZ(0);
}

/* Force the internal Spline canvas to fill its parent (in some viewer builds
   the canvas may render at fixed pixel size) */
.hero-spline spline-viewer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Hide the "Built with Spline" watermark. Remove this rule if your Spline
   account requires the badge under its license. */
.hero-spline spline-viewer::part(logo) { display: none; }

.hero-spline-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background:
        radial-gradient(circle at 18% 22%, rgba(102, 255, 51, 0.16) 0%, rgba(102, 255, 51, 0.02) 28%, transparent 52%),
        radial-gradient(circle at 80% 20%, rgba(75, 160, 255, 0.12) 0%, rgba(75, 160, 255, 0.02) 24%, transparent 48%),
        radial-gradient(circle at 60% 65%, rgba(102, 255, 51, 0.08) 0%, transparent 34%),
        linear-gradient(135deg, rgba(8, 12, 18, 0.98) 0%, rgba(10, 15, 20, 0.92) 48%, rgba(6, 10, 16, 1) 100%);
}

/* 2. Dark tint — single linear gradient only (no radial) for readability.
   pointer-events: none so the 3D scene still receives cursor movement. */
.hero-spline-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(11, 15, 20, 0.20) 0%,
        rgba(11, 15, 20, 0.35) 45%,
        rgba(11, 15, 20, 0.55) 75%,
        rgba(11, 15, 20, 0.80) 100%
    );
}

/* 3. Bottom fade — dissolves hero into the next section (proof-bar uses --bg-panel-alt) */
.hero-spline-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bg-dark) 65%,
        var(--bg-dark) 100%
    );
}

/* 4. Content above all background layers */
.hero-with-spline .container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: clamp(140px, 16vh, 200px);
    padding-bottom: clamp(80px, 10vh, 120px);
}

/* Stronger text shadow for legibility over the animated 3D scene */
.hero-with-spline .hero-title {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.hero-with-spline .hero-subtitle {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* Respect reduced-motion — drop Spline, restore original radial-glow hero */
@media (prefers-reduced-motion: reduce) {
    .hero-spline,
    .hero-spline-tint,
    .hero-spline-fade { display: none; }
    .hero-with-spline {
        padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px) !important;
        min-height: 88vh !important;
        background:
            radial-gradient(ellipse 80% 60% at 18% 12%, rgba(102, 255, 51, 0.08) 0%, transparent 55%),
            radial-gradient(ellipse 60% 60% at 82% 88%, rgba(102, 255, 51, 0.04) 0%, transparent 55%),
            var(--bg-dark);
    }
}

/* Mobile — drop the 3D scene entirely. A 3-5MB scene on cellular kills perf. */
@media (max-width: 900px) {
    .hero-spline,
    .hero-spline-tint,
    .hero-spline-fade { display: none; }
    .hero-with-spline {
        padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px) !important;
        min-height: 88vh !important;
        background:
            radial-gradient(ellipse 80% 60% at 18% 12%, rgba(102, 255, 51, 0.08) 0%, transparent 55%),
            radial-gradient(ellipse 60% 60% at 82% 88%, rgba(102, 255, 51, 0.04) 0%, transparent 55%),
            var(--bg-dark);
    }
    .hero-with-spline .container {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ------------------------------------------------------------------
   P2b. SECTION JOIN ACCENTS — homepage only (not inner service pages)
   ------------------------------------------------------------------ */
main:not(.ws-page) .services + .services,
main:not(.ws-page) .who-we-help + .cta-banner,
main:not(.ws-page) .why-choose-us + .how-we-work,
main:not(.ws-page) .how-we-work + .case-studies-preview {
    position: relative;
}
main:not(.ws-page) .services + .services::before,
main:not(.ws-page) .who-we-help + .cta-banner::before,
main:not(.ws-page) .why-choose-us + .how-we-work::before,
main:not(.ws-page) .how-we-work + .case-studies-preview::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: min(220px, 40%);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-tint-30), transparent);
    pointer-events: none;
}

/* ------------------------------------------------------------------
   P3. INDEXED CARDS — large muted numeral behind service title
   ------------------------------------------------------------------ */
.indexed-grid .service-card {
    padding-top: 54px;
    position: relative;
}

.indexed-grid .service-card .card-index {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    transition: -webkit-text-stroke-color 0.25s ease, color 0.25s ease;
    pointer-events: none;
    user-select: none;
}

.indexed-grid .service-card:hover .card-index {
    -webkit-text-stroke-color: var(--primary-tint-30);
    color: var(--primary-tint-8);
}

.indexed-grid .service-card-icon {
    margin-top: 4px;
}

/* ------------------------------------------------------------------
   P4. PROCESS STEPS — premium connected block
   ------------------------------------------------------------------ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, transparent 100%);
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-tint-30) 20%, var(--primary-tint-30) 80%, transparent);
}

.process-step {
    padding: 36px 32px 34px;
    position: relative;
    border-right: 1px solid var(--border-hairline);
    transition: background 0.25s ease;
}
.process-step:last-child { border-right: none; }

.process-step:hover {
    background: rgba(102, 255, 51, 0.025);
}

.process-step-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 22px;
}

.process-step-num {
    font-family: var(--font-head);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-tint-30);
    background: linear-gradient(180deg, var(--primary) 0%, rgba(102, 255, 51, 0.0) 120%);
    -webkit-background-clip: text;
    background-clip: text;
}

.process-step-tag {
    font-family: var(--font-head);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid var(--border-hairline);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.process-step h4 {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr; }
    .process-step {
        border-right: none;
        border-bottom: 1px solid var(--border-hairline);
    }
    .process-step:last-child { border-bottom: none; }
}

/* Hide legacy steps block if it's still in the DOM anywhere */
.steps-grid { display: none; }

/* ==================================================================
   P5. BENTO SERVICES — Core Services differentiated from other grids
   ================================================================== */
.bento-services .bento-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.006) 100%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    cursor: pointer;
    color: inherit;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(102, 255, 51, 0.22), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
    background:
        linear-gradient(180deg, rgba(102, 255, 51, 0.05) 0%, rgba(255, 255, 255, 0.006) 100%);
}
.bento-card:hover::before { opacity: 1; }

/* Flagship (large) */
.bento-card-lg {
    grid-row: 1 / span 2;
    padding: 40px;
}
.bento-card-lg::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--primary-tint-14) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bento-card-sm { padding: 28px; }

.bento-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bento-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 10px;
    color: var(--primary);
}

.bento-card-badge {
    font-family: var(--font-head);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 999px;
    padding: 4px 10px;
}

.bento-card h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0 0 12px;
}
.bento-card-lg h3 { font-size: 1.55rem; line-height: 1.15; }

.bento-card p {
    position: relative;
    z-index: 1;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 20px;
}
.bento-card-lg p { font-size: 1rem; margin-bottom: 24px; }

.bento-card-features {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.bento-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
}
.bento-card-features li span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-tint-14);
    border: 1px solid var(--primary-tint-30);
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
}
.bento-card-features li span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.bento-card-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.bento-card-link {
    font-family: var(--font-head);
    font-size: 0.74rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: gap 0.2s ease;
}
.bento-card:hover .bento-card-link { gap: 10px; }

@media (max-width: 900px) {
    .bento-services .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }
    .bento-card-lg { grid-row: auto; padding: 30px; }
    .bento-card-features { grid-template-columns: 1fr; }
}

/* ==================================================================
   P6. WHY CHOOSE — horizontal row list with big numerals
   ================================================================== */
.why-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
    overflow: hidden;
    background: var(--border-hairline);
}

.why-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: start;
    gap: 20px;
    padding: 28px 28px;
    background: var(--bg-panel-alt);
    transition: background 0.25s ease;
}

.why-row:hover {
    background:
        linear-gradient(180deg, rgba(102, 255, 51, 0.035) 0%, transparent 100%),
        var(--bg-panel-alt);
}

.why-row-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-tint-30);
    min-width: 56px;
    padding-top: 4px;
}

.why-row-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-row-body h4 {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 6px;
    padding-top: 4px;
}

.why-row-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

.why-row:hover .why-row-num {
    -webkit-text-stroke-color: var(--primary);
    color: var(--primary-tint-8);
}

@media (max-width: 820px) {
    .why-rows { grid-template-columns: 1fr; }
    .why-row { padding: 22px 20px; gap: 16px; }
    .why-row-num { font-size: 1.8rem; min-width: 44px; }
}

/* Hide legacy why-grid if it's still in the DOM */
.why-grid { display: none; }

/* ==================================================================
   P7. CASE STUDIES V2 — visual accent + meta + footer
   ================================================================== */
.case-study-grid-v2 .case-card-v2 {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.case-study-grid-v2 .case-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary) 30%, var(--primary) 70%, transparent);
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.case-study-grid-v2 .case-card-v2:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card-hover);
}
.case-study-grid-v2 .case-card-v2:hover::before { opacity: 1; }

.case-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 12px;
}

.case-card-v2 .case-tag {
    margin: 0;
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    background: var(--primary-tint-8);
    border: 1px solid var(--primary-tint-30);
    border-radius: 999px;
    padding: 4px 11px;
}

.case-meta {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.case-card-visual {
    margin: 0 24px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background:
        radial-gradient(ellipse 80% 70% at 50% 30%, var(--primary-tint-8) 0%, transparent 60%),
        rgba(255, 255, 255, 0.012);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}
.case-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(102, 255, 51, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 255, 51, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}
.case-card-visual svg,
.case-card-visual span { position: relative; z-index: 1; }

.case-visual-label {
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.case-card-v2 h4 {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 22px 24px 10px;
}

.case-card-v2 p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 24px 22px;
    flex: 1;
}

.case-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-hairline);
    background: rgba(255, 255, 255, 0.012);
    font-family: var(--font-head);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--text-main);
}

.case-footer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 255, 51, 0.14);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .case-study-grid-v2 { grid-template-columns: 1fr; }
}

/* ==================================================================
   P8. EDITORIAL REFINEMENT LAYER (2026-04)
   Breaks the repeated card-grid rhythm. Adds hero proof line,
   positioning lede, editorial headers, why-choose editorial split,
   audience prose, and section modifiers.
   ================================================================== */

/* ---- Hero: collapsed proof line (replaces full Proof Bar) ---- */
.hero-proof-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-hairline);
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-proof-token {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    font-family: var(--font-head);
    font-weight: 600;
}

.hero-proof-token svg {
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.9;
}

.hero-proof-token strong {
    color: var(--text-main);
    font-weight: 700;
}

.hero-proof-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-soft);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .hero-proof-line {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        text-align: left;
    }
    .hero-proof-dot { display: none; }
}

/* ---- Positioning Statement — editorial lede ---- */
.positioning {
    padding: clamp(96px, 12vw, 140px) 0;
    background:
        linear-gradient(180deg, var(--bg-dark) 0%, #0A0E13 50%, var(--bg-dark) 100%);
    position: relative;
    margin-top: -1px;
}

.positioning::before,
.positioning::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-hairline) 20%, var(--border-hairline) 80%, transparent);
}
.positioning::before,
.positioning::after { display: none; }

.positioning-inner {
    max-width: 860px;
    margin: 0 auto;
    padding-left: 28px;
    position: relative;
}

.positioning-rule {
    position: absolute;
    top: 8px;
    left: 0;
    width: 3px;
    height: calc(100% - 52px);
    min-height: 64px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-tint-30) 40%, transparent 100%);
    border-radius: 2px;
}

.positioning-lede {
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 26px;
}

.positioning-caption {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 640px) {
    .positioning-inner { padding-left: 20px; }
    .positioning-lede { font-size: 1.2rem; }
}

/* ---- Section modifiers ---- */
.section--editorial .services-header,
.section--editorial .section-header-centered {
    text-align: left;
    max-width: 820px;
    margin-left: 0;
    margin-right: 0;
}

.section--editorial .section-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 640px;
}

.section-header-editorial {
    text-align: left;
    max-width: 820px;
    margin: 0 0 56px;
    position: relative;
    padding-top: 18px;
}

.section-header-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header-editorial .section-eyebrow {
    margin-bottom: 14px;
}

.section-title--display {
    font-size: clamp(2rem, 3.8vw, 3rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
}

.section-lede {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 640px;
    margin: 18px 0 0;
}

/* Full-bleed — breaks the container width */
.section--fullbleed {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background: #070A0F;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.section--fullbleed > .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Why Choose — editorial two-column (replaces why-rows chrome) ---- */
.why-choose-us.section--editorial .why-rows { display: none; }

.why-editorial {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.6fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.why-editorial-head {
    position: sticky;
    top: 100px;
    padding-top: 18px;
}

.why-editorial-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.why-editorial-head .section-eyebrow {
    margin-bottom: 14px;
}

.why-editorial-head .section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
    line-height: 1.15 !important;
}

.why-editorial-lede {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 18px 0 0;
    max-width: 380px;
}

.why-editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: whyed;
}

.why-editorial-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 26px 0;
    border-bottom: 1px solid var(--border-hairline);
}

.why-editorial-item:first-child { padding-top: 0; }
.why-editorial-item:last-child { border-bottom: none; padding-bottom: 0; }

.why-editorial-num {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary);
    padding-top: 2px;
}

.why-editorial-item h4 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0 0 8px;
}

.why-editorial-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    max-width: 600px;
}

@media (max-width: 900px) {
    .why-editorial {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-editorial-head {
        position: static;
    }
    .why-editorial-item {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }
}

/* ---- Who We Work With — prose variant ---- */
.who-we-help--prose .audience-grid { display: none; }

.audience-prose {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 1.9vw, 1.55rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.005em;
    color: var(--text-main);
    max-width: 960px;
    margin: 0;
}

.audience-term {
    position: relative;
    color: var(--text-main);
    white-space: nowrap;
    background-image: linear-gradient(to top, var(--primary-tint-22) 0%, var(--primary-tint-22) 22%, transparent 22%);
    padding: 0 2px;
}

@media (max-width: 640px) {
    .audience-term { white-space: normal; }
    .audience-prose { font-size: 1.1rem; }
}

/* ---- How We Work — tighten editorial header rhythm ---- */
.how-we-work.section--editorial .process-grid {
    margin-top: 0;
}

/* ---- Case Studies — editorial header when used with full-bleed ---- */
.case-studies-preview.section--fullbleed.section--editorial {
    padding: clamp(88px, 10vw, 120px) 0;
    background: #070A0F;
}

.case-studies-preview.section--editorial .case-studies-cta {
    text-align: left;
    margin-top: 48px;
}

/* ---- Override: hide legacy section headers overshadowing editorial ---- */
.section--editorial .section-header-centered {
    text-align: left;
    max-width: 820px;
    margin: 0 0 56px;
    position: relative;
    padding-top: 18px;
}

.section--editorial .section-header-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section--editorial .section-header-centered .section-subtitle {
    margin: 14px 0 0;
    max-width: 640px;
}

/* ------------------------------------------------------------------
   16. MOTION — respectful defaults
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .why-card,
    .case-card,
    .audience-item,
    .solution-card,
    .btn-primary-solid,
    .btn-whatsapp-outline {
        transition: none !important;
    }
    .service-card:hover,
    .why-card:hover,
    .case-card:hover,
    .audience-item:hover,
    .solution-card:hover {
        transform: none !important;
    }
}

/* ------------------------------------------------------------------
   17. HEADER — two distinct states with smoothest possible transition
   - Unscrolled: full-width transparent, wordmark logo, spread layout
   - Scrolled:   compact lime pill, circle logo, content-hugging
   ------------------------------------------------------------------ */
.navbar.has-trust-strip {
    top: var(--trust-strip-offset);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding: 14px 0;
    transform: none;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.navbar.has-trust-strip.scrolled {
    top: 14px;
}

@media (min-width: 901px) {
    /* === BASE TRANSITION TUNING ===
       Apply transition to navbar AND container so visual + layout
       hand-off as one motion. Padding/width are length-based and
       interpolate cleanly; visual properties (color, blur, shadow)
       compose on top via the same easing window. */
    .navbar.has-trust-strip {
        --header-morph-ease: cubic-bezier(0.22, 1, 0.36, 1);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        transform-origin: center top;
        will-change: top, padding, max-width, width, background-color, border-color, box-shadow, backdrop-filter, transform;
        transition:
            top 0.52s var(--header-morph-ease),
            width 0.52s var(--header-morph-ease),
            max-width 0.52s var(--header-morph-ease),
            padding 0.52s var(--header-morph-ease),
            transform 0.52s var(--header-morph-ease),
            background-color 0.34s ease,
            border-color 0.34s ease,
            box-shadow 0.34s ease,
            backdrop-filter 0.34s ease,
            -webkit-backdrop-filter 0.34s ease,
            border-radius 0.52s var(--header-morph-ease) !important;
    }

    .navbar.has-trust-strip > .container {
        transition:
            grid-template-columns 0.52s var(--header-morph-ease),
            column-gap 0.52s var(--header-morph-ease),
            padding 0.52s var(--header-morph-ease),
            max-width 0.52s var(--header-morph-ease) !important;
    }

    .navbar.has-trust-strip .logo {
        position: relative;
        display: flex;
        align-items: center;
        height: 38px;
        width: 182px;
        overflow: hidden;
        transition:
            width 0.52s var(--header-morph-ease),
            transform 0.52s var(--header-morph-ease);
    }

    .navbar.has-trust-strip .logo img {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        transition:
            opacity 0.24s ease,
            transform 0.52s var(--header-morph-ease);
    }

    .navbar.has-trust-strip .nav-links,
    .navbar.has-trust-strip .nav-links a,
    .navbar.has-trust-strip .btn {
        transition:
            opacity 0.24s ease,
            transform 0.52s var(--header-morph-ease),
            letter-spacing 0.32s ease,
            font-size 0.32s ease,
            padding 0.52s var(--header-morph-ease),
            min-width 0.52s var(--header-morph-ease);
    }

    /* === UNSCROLLED: full-width transparent header, wordmark logo === */
    .navbar.has-trust-strip:not(.scrolled) {
        top: var(--trust-strip-offset) !important;
        left: 50% !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 0 !important;
        transform: translateX(-50%) !important;
        border-color: transparent !important;
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: blur(0px) !important;
        -webkit-backdrop-filter: blur(0px) !important;
        box-shadow: none !important;
    }

    .navbar.has-trust-strip:not(.scrolled) > .container {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        align-items: center !important;
        column-gap: clamp(22px, 2.2vw, 36px) !important;
        width: 100% !important;
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 28px !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .logo,
    .navbar.has-trust-strip:not(.scrolled) .nav-links,
    .navbar.has-trust-strip:not(.scrolled) .btn {
        justify-self: auto !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .nav-links {
        justify-content: center !important;
        gap: clamp(18px, 1.8vw, 28px) !important;
        flex-wrap: nowrap !important;
        min-width: 0 !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .nav-links a {
        font-size: 0.82rem !important;
        letter-spacing: 0.02em !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .logo-main {
        display: block !important;
        height: 22px !important;
        width: auto !important;
        opacity: 1 !important;
        transform: translateY(-50%) scale(1) !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .logo-circle {
        display: block !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-50%) scale(0.72) !important;
    }

    .navbar.has-trust-strip:not(.scrolled) .btn {
        min-width: 174px !important;
        padding: 8px 22px !important;
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.06em !important;
        border-radius: 999px !important;
        flex-shrink: 0 !important;
        text-align: center !important;
    }

    /* === SCROLLED: compact content-hugging lime pill, circle logo === */
    .navbar.has-trust-strip.scrolled {
        top: 24px !important;
        left: 50% !important;
        right: auto !important;
        width: min(calc(100vw - 90px), 1190px) !important;
        max-width: min(calc(100vw - 90px), 1190px) !important;
        padding: 5px 0 !important;
        transform: translateX(-50%) !important;
        border-color: rgba(102, 255, 51, 0.32) !important;
        border-radius: 999px !important;
        background: rgba(9, 15, 9, 0.32) !important;
        backdrop-filter: blur(36px) saturate(195%) !important;
        -webkit-backdrop-filter: blur(36px) saturate(195%) !important;
        overflow: hidden !important;
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.28),
            0 0 22px rgba(102, 255, 51, 0.14) !important;
    }

    .navbar.has-trust-strip.scrolled > .container {
        display: grid !important;
        grid-template-columns: 36px minmax(0, 1fr) auto !important;
        align-items: center !important;
        column-gap: clamp(15px, 1.35vw, 20px) !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .navbar.has-trust-strip.scrolled .logo {
        width: 36px !important;
    }

    .navbar.has-trust-strip.scrolled .logo,
    .navbar.has-trust-strip.scrolled .nav-links,
    .navbar.has-trust-strip.scrolled .btn {
        justify-self: auto !important;
    }

    .navbar.has-trust-strip.scrolled .logo {
        justify-self: start !important;
    }

    .navbar.has-trust-strip.scrolled .logo-main {
        display: block !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-50%) scale(0.84) !important;
    }

    .navbar.has-trust-strip.scrolled .logo-circle {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        opacity: 1 !important;
        transform: translateY(-50%) scale(1) !important;
    }

    .navbar.has-trust-strip.scrolled .nav-links {
        justify-self: center !important;
        justify-content: center !important;
        gap: clamp(14px, 1.1vw, 17px) !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    .navbar.has-trust-strip.scrolled .nav-links a {
        font-size: 0.74rem !important;
        letter-spacing: 0.015em !important;
    }

    .navbar.has-trust-strip.scrolled .btn {
        justify-self: end !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 8px clamp(18px, 1.8vw, 24px) !important;
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.06em !important;
        white-space: nowrap !important;
        border-radius: 999px !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        overflow: hidden !important;
        isolation: isolate !important;
    }
}

/* React Bits Dock-inspired proximity hover for the desktop header menu. */
@media (min-width: 901px) {
    .navbar.has-trust-strip .nav-links {
        align-items: center !important;
        isolation: isolate;
    }

    .navbar.has-trust-strip .nav-links li {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
    }

    .navbar.has-trust-strip .nav-links a {
        --dock-scale: 1;
        --dock-lift: 0;
        --dock-opacity: 1;
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 2px;
        transform: translateY(calc(var(--dock-lift) * 1px)) scale(var(--dock-scale)) !important;
        transform-origin: center bottom;
        opacity: var(--dock-opacity);
        will-change: transform, opacity;
        transition:
            color 0.18s ease,
            opacity 0.18s ease,
            text-shadow 0.18s ease,
            transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1.25) !important;
        z-index: 1;
    }

    .navbar.has-trust-strip .nav-links a::before {
        content: none !important;
        display: none !important;
        position: absolute;
        inset: 4px -9px;
        z-index: -1;
        border: 0;
        border-radius: 10px;
        background: rgba(7, 14, 9, 0);
        box-shadow: none;
        opacity: 0 !important;
        transform: scale(0.82);
        transition:
            opacity 0.2s ease,
            transform 0.24s cubic-bezier(0.2, 0.9, 0.2, 1.25),
            background 0.2s ease;
    }

    .navbar.has-trust-strip .nav-links.nav-dock-active a:not(:hover):not(:focus-visible):not(.active) {
        color: rgba(164, 176, 190, 0.68) !important;
    }

    .navbar.has-trust-strip .nav-links a:hover,
    .navbar.has-trust-strip .nav-links a:focus-visible,
    .navbar.has-trust-strip .nav-links a.active {
        color: var(--primary) !important;
        text-shadow: none !important;
    }

    .navbar.has-trust-strip .nav-links a:hover::before,
    .navbar.has-trust-strip .nav-links a:focus-visible::before {
        content: none !important;
        display: none !important;
        opacity: 0 !important;
        transform: scale(0.82);
        background: transparent;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar.has-trust-strip .nav-links a {
        transform: none !important;
        transition: color 0.18s ease, text-shadow 0.18s ease !important;
    }
}

/* ------------------------------------------------------------------
   17. HERO VIDEO
   Lightweight decorative motion for the homepage hero.
   ------------------------------------------------------------------ */
.hero-with-spline {
    background: var(--bg-dark);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh !important;
    contain: paint;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-with-spline::before,
.hero-with-spline::after {
    display: none !important;
}

.hero-spline-shell {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: auto;
    background:
        radial-gradient(circle at 18% 22%, rgba(102, 255, 51, 0.14) 0%, rgba(102, 255, 51, 0.02) 30%, transparent 58%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.06) 0%, transparent 32%),
        linear-gradient(135deg, rgba(5, 8, 12, 0.98) 0%, rgba(8, 12, 18, 0.96) 42%, rgba(4, 7, 10, 1) 100%);
}

.hero-spline-fallback,
.hero-spline-stage,
.hero-spline-tint,
.hero-spline-fade {
    position: absolute;
    inset: 0;
}

.hero-spline-fallback {
    z-index: 0;
    background:
        radial-gradient(circle at 20% 74%, rgba(102, 255, 51, 0.12) 0%, rgba(102, 255, 51, 0.03) 24%, transparent 48%),
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.06) 0%, transparent 26%),
        linear-gradient(180deg, rgba(3, 6, 9, 0.92) 0%, rgba(7, 11, 16, 0.84) 48%, rgba(6, 10, 15, 1) 100%);
    transition: opacity 0.6s ease;
}

.hero-spline-stage {
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1s ease;
}

.hero-spline-stage spline-viewer,
.hero-spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.hero-spline-stage spline-viewer {
    background: transparent;
}

.hero-spline-shell.is-ready .hero-spline-stage {
    opacity: 1;
    transform: scale(1);
}

.hero-spline-shell.is-ready .hero-spline-fallback {
    opacity: 0.18;
}

.hero-spline-tint {
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(2, 4, 6, 0.28) 0%,
        rgba(4, 7, 10, 0.32) 22%,
        rgba(7, 10, 14, 0.48) 56%,
        rgba(8, 12, 18, 0.8) 100%
    );
}

.hero-spline-fade {
    top: auto;
    height: 42%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bg-dark) 65%,
        var(--bg-dark) 100%
    );
}

.hero-with-spline .container {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-top: clamp(140px, 16vh, 200px);
    padding-bottom: clamp(80px, 10vh, 120px);
}

.hero-with-spline .hero-content-centered {
    pointer-events: none;
}

.hero-with-spline .hero-cta a,
.hero-with-spline .hero-cta button {
    pointer-events: auto;
}

.hero-with-spline .hero-title {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-with-spline .hero-subtitle {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .hero-spline-shell { display: none; }
    .hero-with-spline {
        padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px) !important;
        min-height: 88vh !important;
        background:
            radial-gradient(ellipse 80% 60% at 18% 12%, rgba(102, 255, 51, 0.08) 0%, transparent 55%),
            radial-gradient(ellipse 60% 60% at 82% 88%, rgba(102, 255, 51, 0.04) 0%, transparent 55%),
            var(--bg-dark);
    }
}

@media (max-width: 900px) {
    .hero-spline-shell { display: none; }
    .hero-with-spline {
        padding: clamp(140px, 16vh, 200px) 0 clamp(80px, 10vh, 120px) !important;
        min-height: 88vh !important;
        background:
            radial-gradient(ellipse 80% 60% at 18% 12%, rgba(102, 255, 51, 0.08) 0%, transparent 55%),
            radial-gradient(ellipse 60% 60% at 82% 88%, rgba(102, 255, 51, 0.04) 0%, transparent 55%),
            var(--bg-dark);
    }

    .hero-with-spline .container {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* ------------------------------------------------------------------
   18. HERO SHAPEGRID
   React Bits ShapeGrid canvas adapted for the static homepage hero.
   ------------------------------------------------------------------ */
.hero-with-shapegrid {
    background: var(--bg-dark);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 100vh !important;
    height: 100svh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    contain: paint;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-with-shapegrid::before,
.hero-with-shapegrid::after {
    display: none !important;
}

.hero-shapegrid-shell {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: auto;
    background: #05090d;
}

.hero-shapegrid-fallback,
.hero-shapegrid-stage,
.hero-shapegrid-tint,
.hero-shapegrid-fade {
    position: absolute;
    inset: 0;
}

.hero-shapegrid-fallback {
    z-index: 0;
    background: #05090d;
    transition: opacity 0.6s ease;
}

.hero-shapegrid-stage {
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1s ease;
}

.shapegrid-canvas {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hero-shapegrid-canvas {
    opacity: 0.8;
    pointer-events: auto;
}

.hero-shapegrid-shell.is-ready .hero-shapegrid-stage {
    opacity: 1;
    transform: scale(1);
}

.hero-shapegrid-shell.is-ready .hero-shapegrid-fallback {
    opacity: 0;
}

.hero-shapegrid-tint {
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 42%, rgba(102, 255, 51, 0.12), transparent 44%),
        rgba(2, 5, 7, 0.08);
}

.hero-shapegrid-fade {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    top: auto;
    height: clamp(120px, 18vh, 190px);
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(5, 9, 13, 0) 0%,
        rgba(5, 9, 13, 0.68) 62%,
        var(--bg-dark) 100%
    );
}

.hero-with-shapegrid .container {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-top: clamp(140px, 16vh, 200px);
    padding-bottom: clamp(80px, 10vh, 120px);
    pointer-events: none;
}

.hero-with-shapegrid .hero-content-centered {
    pointer-events: none;
}

.hero-with-shapegrid .hero-cta {
    pointer-events: auto;
}

.hero-with-shapegrid .hero-cta a,
.hero-with-shapegrid .hero-cta button {
    pointer-events: auto;
}

.hero-with-shapegrid .hero-title {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-with-shapegrid .hero-subtitle {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero-title-mobile-break {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-shapegrid-canvas {
        opacity: 0.62;
    }

    .hero-with-shapegrid {
        min-height: 100svh !important;
    }
}

@media (max-width: 900px) {
    .hero-with-shapegrid {
        height: auto !important;
        min-height: 100svh !important;
    }

    .hero-with-shapegrid .container {
        padding-top: clamp(130px, 15vh, 180px);
        padding-bottom: clamp(70px, 10vh, 110px);
    }

    .hero-shapegrid-canvas {
        opacity: 0.68;
    }
}

@media (max-width: 640px) {
    .hero-title-mobile-break {
        display: inline;
    }

    .hero-with-shapegrid .hero-title {
        font-size: clamp(1.95rem, 9vw, 2.25rem);
        line-height: 1.08;
        max-width: 100%;
        white-space: normal;
    }

    .hero-with-shapegrid .hero-content-centered {
        max-width: calc(100vw - 32px);
    }

    .hero-with-shapegrid .hero-subtitle,
    .hero-with-shapegrid .hero-meta-line {
        max-width: min(100%, 326px);
        overflow-wrap: break-word;
    }

    .hero-with-shapegrid .hero-cta {
        width: min(100%, 280px);
        margin-left: auto;
        margin-right: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-with-shapegrid .hero-cta a,
    .hero-with-shapegrid .hero-cta button {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        padding-left: 16px;
        padding-right: 16px;
    }
}
