/* =============================================================================
   KMVLN — Homepage 2026 v2 (Bento + animated stats)
   Owner: Specialist A. Class prefix: kmv-*
   Loads conditionally on $pageContext === 'home' only.
   Uses tokens from theme-2026.css. DO NOT redefine token values here.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. Local gradients (per CONTRACT_v2.md §3) — exposed as CSS variables so
      Specialist C may reference the same names if loaded together.
   --------------------------------------------------------------------------- */
:root {
    --grad-hero: linear-gradient(135deg, #1a2b5f 0%, #2563eb 60%, #2e7d32 100%);
    --grad-warm: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    --grad-cool: linear-gradient(135deg, #0ea5e9 0%, #1a2b5f 100%);
    --grad-mesh:
        radial-gradient(800px 400px at 10% 10%, rgba(46, 125, 50, .10), transparent 60%),
        radial-gradient(700px 400px at 90% 30%, rgba(37, 99, 235, .10), transparent 60%),
        radial-gradient(900px 500px at 50% 90%, rgba(217, 119, 6, .08), transparent 60%);
    --kmv-text-grad: linear-gradient(135deg, #1a2b5f 0%, #2563eb 50%, #2e7d32 100%);
}

/* ---------------------------------------------------------------------------
   2. Page-scoped container override — keep hero content inside viewport.
   --------------------------------------------------------------------------- */
.page-index .hero,
.page-index .container,
.page-index section { overflow: visible; }

.kmv-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* ---------------------------------------------------------------------------
   3. Hero (kmv-hero)
   --------------------------------------------------------------------------- */
.kmv-hero {
    position: relative;
    padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--border);
}
.kmv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.kmv-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}
.kmv-hero__badge {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    box-shadow: var(--shadow-1);
}
.kmv-hero__badge i { color: var(--accent-3); }

.kmv-hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5.6vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text);
    overflow-wrap: break-word;
    word-break: normal;
}
.kmv-hero__title-grad {
    color: var(--accent-2);
    display: inline-block;
    position: relative;
}
.kmv-hero__title-grad::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 6px;
    background: var(--accent-2);
    opacity: 0.18;
    border-radius: 3px;
    z-index: -1;
}

.kmv-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 760px;
    margin: 0 auto;
}

.kmv-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 8px;
}
.kmv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
    line-height: 1;
}
.kmv-btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(26, 43, 95, .22);
}
.kmv-btn--primary:hover { transform: translateY(-2px); background: #0f1d3f; box-shadow: 0 10px 24px rgba(26, 43, 95, .32); color: #fff; }
.kmv-btn--ghost {
    background: rgba(255, 255, 255, .8);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.kmv-btn--ghost:hover { background: #fff; transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.kmv-btn--lg { padding: 16px 30px; font-size: 1.04rem; }

/* Rotating chip */
.kmv-hero__chip {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin-top: 6px;
    background: rgba(15, 23, 42, .04);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: .92rem;
    color: var(--text-soft);
}
.kmv-hero__chip-label { font-weight: 600; color: var(--text-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.kmv-hero__chip-rotator {
    display: inline-block;
    min-width: 156px;
    text-align: left;
    font-weight: 700;
    color: var(--accent);
    transition: opacity var(--t-base), transform var(--t-base);
}
.kmv-hero__chip-rotator.is-out { opacity: 0; transform: translateY(-6px); }

/* Hero stats pills */
.kmv-hero__stats {
    margin-top: clamp(18px, 3vw, 32px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
}
.kmv-stat-pill {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--shadow-1);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.kmv-stat-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.kmv-stat-pill__icon {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 10px;
}
.kmv-stat-pill:nth-child(2) .kmv-stat-pill__icon { background: var(--accent-2); }
.kmv-stat-pill:nth-child(3) .kmv-stat-pill__icon { background: var(--accent-3); }
.kmv-stat-pill:nth-child(4) .kmv-stat-pill__icon { background: var(--accent); }
.kmv-stat-pill__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1;
    color: var(--text);
    letter-spacing: -0.01em;
    display: flex; align-items: baseline; justify-content: center;
    gap: 1px;
}
.kmv-stat-pill__suffix { color: var(--accent-2); font-weight: 800; }
.kmv-stat-pill__label {
    margin-top: 6px;
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.3;
}

/* ---------------------------------------------------------------------------
   4. Section common
   --------------------------------------------------------------------------- */
.kmv-section {
    padding: clamp(56px, 8vw, 96px) 0;
    position: relative;
}
.kmv-section--alt { background: var(--bg-subtle); }
.kmv-section--dark { background: linear-gradient(180deg, #0b1430 0%, #0f1d3f 100%); color: #e2e8f0; }
.kmv-section--dark .kmv-section-title,
.kmv-section--dark .kmv-section-desc { color: #fff; }
.kmv-section--dark .kmv-section-desc { color: rgba(255, 255, 255, .75); }

.kmv-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(32px, 5vw, 56px);
}
.kmv-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(26, 43, 95, .08);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.kmv-section--dark .kmv-eyebrow { background: rgba(255, 255, 255, .1); color: #fff; }
.kmv-section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.65rem, 3.4vw, 2.6rem);
    line-height: 1.18;
    margin: 14px 0 10px;
    color: var(--text);
    letter-spacing: -0.015em;
}
.kmv-section-title__grad {
    color: var(--accent-2);
}
.kmv-section--dark .kmv-section-title__grad { color: #4ade80; }
.kmv-section-desc {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--text-soft);
    margin: 0;
}

/* ---------------------------------------------------------------------------
   5. Bento services grid
   --------------------------------------------------------------------------- */
.kmv-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
}
.kmv-bento__card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    isolation: isolate;
}
.kmv-bento__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 43, 95, .04), rgba(46, 125, 50, .04));
    opacity: 0;
    transition: opacity var(--t-base);
    z-index: -1;
}
.kmv-bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--accent); }
.kmv-bento__card:hover::before { opacity: 1; }

.kmv-bento__icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(26, 43, 95, .12), rgba(46, 125, 50, .12));
    color: var(--accent);
    font-size: 1.1rem;
}
.kmv-bento__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.3;
    color: var(--text);
    margin: 0;
}
.kmv-bento__desc {
    font-size: .92rem;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
}
.kmv-bento__features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .86rem;
    color: var(--text-muted);
}
.kmv-bento__features li {
    display: flex; align-items: flex-start; gap: 8px;
}
.kmv-bento__features i {
    color: var(--accent-2);
    font-size: .85rem;
    margin-top: 2px;
}
.kmv-bento__link {
    margin-top: auto;
    color: var(--accent);
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex; align-items: center; gap: 6px;
}

/* Feature card — spans 2x2 with chart */
.kmv-bento__card--feature {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    padding: 32px;
}
.kmv-bento__card--feature::before { background: rgba(255, 255, 255, .04); opacity: 1; }
.kmv-bento__card--feature:hover { box-shadow: 0 18px 40px rgba(26, 43, 95, .35); border-color: var(--accent); background: #0f1d3f; }
.kmv-bento__card--feature .kmv-bento__icon {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}
.kmv-bento__card--feature .kmv-bento__title { color: #fff; font-size: 1.5rem; }
.kmv-bento__card--feature .kmv-bento__desc { color: rgba(255, 255, 255, .82); }
.kmv-feature__chart {
    flex: 1;
    min-height: 180px;
    display: flex; align-items: stretch; justify-content: stretch;
    margin-top: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .06);
    padding: 14px;
}
.kmv-feature__chart canvas { width: 100% !important; height: 100% !important; }
.kmv-feature__legend {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
}
.kmv-feature__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.kmv-feature__legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #2e7d32;
}

/* Color variants for bento cards */
.kmv-bento__card--accent .kmv-bento__icon { color: var(--accent); }
.kmv-bento__card--gold .kmv-bento__icon {
    background: linear-gradient(135deg, rgba(217, 119, 6, .15), rgba(180, 83, 9, .12));
    color: var(--accent-3);
}
.kmv-bento__card--green .kmv-bento__icon {
    background: linear-gradient(135deg, rgba(46, 125, 50, .15), rgba(46, 125, 50, .08));
    color: var(--accent-2);
}
.kmv-bento__card--blue .kmv-bento__icon {
    background: linear-gradient(135deg, rgba(14, 165, 233, .15), rgba(37, 99, 235, .12));
    color: #0ea5e9;
}

/* ---------------------------------------------------------------------------
   6. Why KMVLN — alternating image/text rows
   --------------------------------------------------------------------------- */
.kmv-why {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 5vw, 56px);
}
.kmv-why__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
}
.kmv-why__row--reverse .kmv-why__media { order: 2; }
.kmv-why__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-2);
}
.kmv-why__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.kmv-why__row:hover .kmv-why__media img { transform: scale(1.04); }
.kmv-why__body {
    position: relative;
    padding-left: 22px;
}
.kmv-why__body::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 4px;
    height: calc(100% - 12px);
    border-radius: 4px;
    background: var(--accent);
}
.kmv-why__row[data-stripe="green"] .kmv-why__body::before { background: var(--accent-2); }
.kmv-why__row[data-stripe="gold"] .kmv-why__body::before { background: var(--accent-3); }
.kmv-why__row[data-stripe="blue"] .kmv-why__body::before { background: #0ea5e9; }

.kmv-why__icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(26, 43, 95, .08);
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.kmv-why__row[data-stripe="green"] .kmv-why__icon { background: rgba(46, 125, 50, .1); color: var(--accent-2); }
.kmv-why__row[data-stripe="gold"] .kmv-why__icon { background: rgba(217, 119, 6, .12); color: var(--accent-3); }
.kmv-why__row[data-stripe="blue"] .kmv-why__icon { background: rgba(14, 165, 233, .12); color: #0ea5e9; }

.kmv-why__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.25;
    color: var(--text);
    margin: 0 0 8px;
}
.kmv-why__desc {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin: 0;
}

/* ---------------------------------------------------------------------------
   7. Industries grid (8 tiles, alternating row stagger on desktop)
   --------------------------------------------------------------------------- */
.kmv-industries {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.kmv-industries__tile {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    color: #fff;
    transition: transform var(--t-base), background var(--t-base), border-color var(--t-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.kmv-industries__tile:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .25);
}
.kmv-industries__icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-pill);
    background: rgba(46, 125, 50, 0.22);
    color: #4ade80;
    font-size: 1.3rem;
    border: 1px solid rgba(74, 222, 128, .25);
}
.kmv-industries__tile:nth-child(4n+2) .kmv-industries__icon { background: rgba(217, 119, 6, 0.22); color: #fbbf24; border-color: rgba(251, 191, 36, .25); }
.kmv-industries__tile:nth-child(4n+3) .kmv-industries__icon { background: rgba(37, 99, 235, 0.22); color: #60a5fa; border-color: rgba(96, 165, 250, .25); }
.kmv-industries__tile:nth-child(4n+4) .kmv-industries__icon { background: rgba(255, 255, 255, 0.10); color: #fff; border-color: rgba(255, 255, 255, .15); }
.kmv-industries__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.kmv-industries__desc {
    font-size: .82rem;
    color: rgba(255, 255, 255, .72);
    margin: 0;
    line-height: 1.45;
}

/* Desktop only: stagger second row by 8px */
@media (min-width: 1024px) {
    .kmv-industries__tile:nth-child(n+5) {
        margin-top: 8px;
    }
}

/* ---------------------------------------------------------------------------
   8. Client logo carousel restyle (kmv-clients wrapper)
   --------------------------------------------------------------------------- */
.kmv-clients {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.kmv-clients__label {
    text-align: center;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0 0 24px;
}
.kmv-clients .clients-track {
    display: flex;
    gap: 48px;
    align-items: center;
    animation: kmv-marquee 36s linear infinite;
    width: max-content;
}
.kmv-clients .client-item {
    flex: 0 0 auto;
    height: 60px;
    display: flex; align-items: center; justify-content: center;
    opacity: .65;
    filter: grayscale(.4);
    transition: opacity var(--t-base), filter var(--t-base);
}
.kmv-clients .client-item:hover { opacity: 1; filter: grayscale(0); }
.kmv-clients .client-item img { max-height: 48px; max-width: 140px; object-fit: contain; }
.kmv-clients .client-fallback {
    font-weight: 700;
    color: var(--text-soft);
    font-size: .9rem;
    padding: 0 12px;
}

@keyframes kmv-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------------
   9. Insights section (notifications + blog as 2-col glass)
   --------------------------------------------------------------------------- */
.kmv-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
}
.kmv-insights__col {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow-2);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.kmv-insights__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.kmv-insights__head h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin: 0;
    display: inline-flex; align-items: center; gap: 8px;
}
.kmv-insights__head h3 i { color: var(--accent-3); }
.kmv-insights__head a {
    font-size: .82rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
}
.kmv-insights__head a:hover { color: var(--accent-2); }
.kmv-insights__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kmv-insights__item {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--t-base), transform var(--t-base);
}
.kmv-insights__item:hover { border-color: var(--accent); transform: translateX(4px); }
.kmv-insights__source {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: .68rem;
    font-weight: 700;
    background: rgba(26, 43, 95, .1);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.kmv-insights__title {
    font-size: .96rem;
    line-height: 1.4;
    color: var(--text);
    margin: 0 0 4px;
    font-weight: 600;
}
.kmv-insights__meta {
    font-size: .78rem;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
}

/* ---------------------------------------------------------------------------
   10. CTA banner with embedded form
   --------------------------------------------------------------------------- */
.kmv-cta {
    position: relative;
    padding: clamp(56px, 8vw, 96px) 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--accent);
    color: #fff;
}
.kmv-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}
.kmv-cta::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--accent-2);
    opacity: .12;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}
.kmv-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.kmv-cta__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.18;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -0.015em;
}
.kmv-cta__desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 20px;
}
.kmv-cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.kmv-cta__buttons .kmv-btn--ghost {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.kmv-cta__buttons .kmv-btn--ghost:hover { background: #fff; color: var(--accent); }

.kmv-cta__form {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.kmv-cta__form-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 8px;
}
.kmv-cta__form-title i { color: #fbbf24; }
.kmv-cta__field {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .92);
    color: var(--text);
    font: inherit;
    margin-bottom: 10px;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.kmv-cta__field:focus {
    outline: none;
    border-color: var(--accent-3);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, .25);
}
.kmv-cta__form button {
    width: 100%;
    margin-top: 4px;
    background: #fff;
    color: var(--accent);
    border: none;
    padding: 13px 18px;
    border-radius: var(--radius-pill);
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.kmv-cta__form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
}
.kmv-cta__form-note {
    font-size: .78rem;
    color: rgba(255, 255, 255, .7);
    margin: 10px 0 0;
    text-align: center;
}

/* ---------------------------------------------------------------------------
   11. Reveal-on-scroll
   --------------------------------------------------------------------------- */
.kmv-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
.kmv-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------------------------
   12. Responsive — mobile-first scaling
   --------------------------------------------------------------------------- */

/* Tablet (768–1023) */
@media (max-width: 1023px) {
    .kmv-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kmv-bento__card--feature { grid-column: span 2; grid-row: span 1; min-height: 360px; }
    .kmv-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kmv-cta__inner { grid-template-columns: 1fr; }
}

/* Mobile (480–767) */
@media (max-width: 767px) {
    .kmv-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kmv-bento { grid-template-columns: 1fr; }
    .kmv-bento__card--feature { grid-column: span 1; min-height: 320px; padding: 24px; }
    .kmv-bento__card--feature .kmv-bento__title { font-size: 1.3rem; }
    .kmv-why__row, .kmv-why__row--reverse {
        grid-template-columns: 1fr;
    }
    .kmv-why__row--reverse .kmv-why__media { order: 0; }
    .kmv-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kmv-insights { grid-template-columns: 1fr; }
}

/* Small mobile (<480) */
@media (max-width: 479px) {
    .kmv-hero { padding: 56px 0 40px; }
    .kmv-hero__title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    .kmv-hero__ctas { flex-direction: column; align-items: stretch; }
    .kmv-btn { justify-content: center; }
    .kmv-stat-pill { padding: 14px 10px; }
    .kmv-stat-pill__num { font-size: 1.5rem; }
    .kmv-bento__card { padding: 20px; }
    .kmv-bento__card--feature { padding: 22px; }
    .kmv-cta__form { padding: 18px; }
    .kmv-industries { grid-template-columns: 1fr 1fr; gap: 12px; }
    .kmv-industries__name { font-size: .92rem; }
    .kmv-industries__desc { display: none; }
}

/* Laptop-sm (1024–1180) — be tight */
@media (min-width: 1024px) and (max-width: 1180px) {
    .kmv-bento { gap: 14px; }
    .kmv-bento__card { padding: 20px; }
    .kmv-industries { gap: 14px; }
}

/* Wider screens (1440+) — open hero and bento up to fill viewport */
@media (min-width: 1440px) {
    .kmv-hero__inner { max-width: 1080px; }
    .kmv-section-title { font-size: clamp(1.9rem, 2.6vw, 2.9rem); }
    .kmv-bento { grid-auto-rows: minmax(240px, auto); gap: 22px; }
    .kmv-why__row { gap: 64px; }
}

/* Even wider (1700+) — wider hero, more breathing room in bento */
@media (min-width: 1700px) {
    .kmv-hero__inner { max-width: 1180px; }
    .kmv-hero__title { font-size: clamp(2.6rem, 4.2vw, 4.8rem); }
    .kmv-bento { grid-auto-rows: minmax(260px, auto); gap: 24px; }
    .kmv-bento__card { padding: 28px; }
    .kmv-bento__card--feature { padding: 40px; }
    .kmv-industries { gap: 22px; }
}

/* Aspect-ratio: ultrawide */
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
    .kmv-container { max-width: 1620px; }
    .kmv-hero { padding: 110px 0 90px; }
}

/* Aspect-ratio: narrow / portrait-ish desktop */
@media (max-aspect-ratio: 4/3) and (min-width: 768px) {
    .kmv-hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
    .kmv-section { padding: clamp(48px, 6vw, 80px) 0; }
}

/* ---------------------------------------------------------------------------
   13. Motion accessibility
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .kmv-reveal,
    .kmv-bento__card,
    .kmv-stat-pill,
    .kmv-hero__chip-rotator,
    .kmv-clients .clients-track,
    .kmv-why__media img,
    .kmv-btn,
    .kmv-cta__form button {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    .kmv-reveal { opacity: 1; }
    .kmv-clients .clients-track { animation: none !important; transform: none !important; }
}
