/* ============================================================
   HOME PAGE — css/home.css
   ============================================================ */

/* ─── Intro Preloader ──────────────────────────────────────── */
@keyframes pulseHeartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 66, 56, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(250, 66, 56, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 66, 56, 0);
    }
}

#introOverlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-video-fill {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.intro-sound-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    animation: pulseHeartbeat 1.5s infinite;
}

/* ─── Hero CTA mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-banner-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ─── Who We Are Card ──────────────────────────────────────── */
.who-card__logo-watermark {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.who-card__content {
    position: relative;
    z-index: 1;
}

.who-tooltip__overlay {
    border-radius: 8px;
    z-index: 0;
}

.who-tooltip__heading {
    color: white;
    margin-bottom: 16px;
}

/* ─── Brand Text Highlights ────────────────────────────────── */
.text-brand-red {
    color: var(--primary-red);
}

.text-white {
    color: white;
}

.text-white-strong {
    color: white;
}

.mb-0 {
    margin-bottom: 0;
}

/* ─── Learn-more button (visible en desktop y mobile) ──────── */
.mobile-only-btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
}

/* ─── Modals: single-column layout ────────────────────────── */
#whoModal .modal-box,
#capModal .modal-box {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    background: var(--primary-blue);
}

#whoModal .modal-left,
#capModal .modal-left {
    flex-shrink: 0;
    padding: 24px 28px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: transparent;
    position: relative;
}

/* Mosaico visible en el título también */
#whoModal .modal-left .bg-mosaic-strong,
#capModal .modal-left .bg-mosaic-strong {
    display: block;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    opacity: 0.04;
}

/* ─── Who Modal body — azul oscuro con mosaico ─────────────── */
.who-modal-tooltip-body {
    background: var(--primary-blue);
    color: rgba(255, 255, 255, 0.85);
    padding: 32px;
    position: relative;
    overflow-y: auto;
    flex: 1;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.who-modal-tooltip-body .bg-mosaic-strong {
    border-radius: inherit;
    opacity: 0.04;
}

.who-modal-tooltip-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.who-modal-tooltip-body p:last-child {
    margin-bottom: 0;
}

/* ─── Cap Modal body — azul oscuro con mosaico ─────────────── */
#capModal .modal-right {
    background: var(--primary-blue);
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
    overflow-y: auto;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    position: relative;
}

#capModal .modal-right .bg-mosaic-strong {
    border-radius: inherit;
    opacity: 0.04;
}

#capModal .modal-cap-intro {
    color: rgba(255, 255, 255, 0.9);
}

#capModal .modal-cap-title {
    color: #ff7b72;
}

#capModal .modal-cap-desc,
#capModal .modal-cap-note {
    color: rgba(255, 255, 255, 0.72);
}

#capModal .modal-cap-footer {
    color: rgba(255, 255, 255, 0.9);
    border-top-color: rgba(255, 255, 255, 0.12);
}

/* ─── Product CTA Section ──────────────────────────────────── */
.product-cta-section {
    position: relative;
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-card);
    padding: 24px 12px !important;
    margin-top: 0px !important;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
}

.product-cta-section:hover {
    background: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.cta-image img,
.cta-image video {
    width: 88%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 32px;
    opacity: 0.95;
    box-shadow: none !important;
}

.cta-content-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.cta-text-left {
    order: 1;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-eyebrow-wide {
    margin-bottom: 12px;
    font-size: 0.5rem;
    margin-right: -102px;
}

.cta-title-compact {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 12px;
    background: none;
    -webkit-text-fill-color: var(--text-main);
}

.cta-desc-compact {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.78rem;
    line-height: 1.6;
}

.cta-btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 50px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-image-right {
    order: 2;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    border-radius: 32px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-cta-section {
        padding: 24px 20px !important;
    }

    .mobile-stack {
        flex-direction: column !important;
        align-items: center;
        gap: 24px !important;
        height: auto !important;
    }

    .mobile-stack .cta-text {
        width: 100% !important;
        flex: none !important;
        justify-content: flex-start !important;
        margin-bottom: 0px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .mobile-stack .cta-text .section-eyebrow {
        margin-right: 0px !important;
        display: inline-block !important;
    }

    .mobile-stack .cta-image {
        width: 100% !important;
        flex: none !important;
        margin-top: 0px !important;
    }

    .mobile-stack .cta-image img,
    .mobile-stack .cta-image video {
        max-height: none !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 20px !important;
    }

    .mobile-stack .section-eyebrow,
    .mobile-stack .section-title,
    .mobile-stack p {
        margin-bottom: 12px !important;
        text-align: center !important;
    }
}

/* ─── Capabilities ─────────────────────────────────────────── */
.cap-check--transparent {
    background: transparent;
}

.cap-check-icon {
    width: 24px;
    height: 24px;
}

.cap-col__inner {
    padding-top: 32px;
}

.cap-col__footer {
    text-align: left;
    margin-top: 16px;
}

.cap-tooltip__bold {
    font-weight: 700;
}

/* ─── Core Values / Features ───────────────────────────────── */
.features-section--transparent {
    background: transparent !important;
}

.section-title--white {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.section-title--white .text-brand-red {
    -webkit-text-fill-color: var(--primary-red);
}

.section-subtitle--light {
    color: rgba(255, 255, 255, 0.7);
    max-width: 740px;
    margin: 16px auto 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ─── Countdown ────────────────────────────────────────────── */
.section-header--no-mb {
    margin-bottom: 0;
}

.countdown-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 16px auto 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Hero CTA cursor ─────────────────────────────────────── */
.cursor-pointer {
    cursor: pointer;
}

/* ─── Modals base ──────────────────────────────────────────── */
.modal-box--relative {
    position: relative;
}

.modal-heading-white {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-align: center;
}

.modal-box--sm {
    position: relative;
    max-width: 600px;
}

.modal-box--md {
    position: relative;
    max-width: 700px;
}

.modal-left--blue {
    background: var(--primary-blue-2);
}

/* ═══════════════════════════════════════════════════════════
   STACK CARDS + HUB CAPABILITIES
═══════════════════════════════════════════════════════════ */

/* ── Wrapper for sticky stacking ── */
.stack-cards-wrapper {
    position: relative;
}

/* ── CARD 1: WHO WE ARE — White, sticky ── */
.who-standalone-section {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
}

.who-standalone-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-red) 100%);
}

.who-standalone-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.who-standalone-text {
    position: relative;
    padding-left: 28px;
}

.who-standalone-text::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-red) 0%, transparent 100%);
    border-radius: 2px;
}

.who-standalone-heading {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    margin: 12px 0 24px;
    letter-spacing: -0.02em;
}

.who-standalone-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.who-standalone-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-standalone-logo-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.who-standalone-rings {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(16, 2, 73, 0.08);
    box-shadow:
        0 0 0 28px rgba(16, 2, 73, 0.03),
        0 0 0 56px rgba(16, 2, 73, 0.02),
        0 0 0 84px rgba(16, 2, 73, 0.01);
}

.who-standalone-logo {
    width: 190px;
    opacity: 0.1;
    position: relative;
    z-index: 1;
}

/* ── CARD 2: KAYROS ASSIST — Dark navy, sticky, slides over Card 1 ── */
.product-standalone-section {
    position: sticky;
    top: 0;
    z-index: 11;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-blue);
    overflow: hidden;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
}

.product-standalone-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 0% 50%, rgba(26, 5, 128, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 110%, rgba(250, 66, 56, 0.22) 0%, transparent 60%);
    pointer-events: none;
}

.product-standalone-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 168, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.product-standalone-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.product-standalone-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.product-standalone-eyebrow .text-brand-red {
    color: var(--primary-red-2);
}

.product-standalone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.product-standalone-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-standalone-title {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.product-standalone-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 36px;
}

.product-standalone-section .btn-primary {
    background: var(--primary-red);
    border-color: transparent;
    box-shadow: 0 8px 24px -6px rgba(250, 66, 56, 0.5);
}

.product-standalone-section .btn-primary:hover {
    box-shadow: 0 12px 32px -6px rgba(250, 66, 56, 0.7);
}

.product-standalone-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.product-standalone-image::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    pointer-events: none;
}

.product-standalone-image video {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}

/* ── SECTION 3: CORE CAPABILITIES — Dark hub layout ── */
.cap-standalone-section {
    padding: 100px 40px;
    background: #0A0919;
    position: relative;
    overflow: hidden;
}

.cap-standalone-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(250, 66, 56, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26, 5, 128, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.cap-standalone-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hub header */
.cap-hub-header {
    text-align: center;
    margin-bottom: 72px;
}

.cap-hub-eyebrow {
    color: rgba(255, 255, 255, 0.45) !important;
}

.cap-hub-eyebrow::before {
    background: var(--primary-red) !important;
}

.cap-hub-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 14px 0 16px;
    letter-spacing: -0.02em;
}

.cap-hub-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Hub layout: left | center | right */
.cap-hub-layout {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    gap: 0;
    align-items: center;
    min-height: 280px;
}

/* Left & right columns */
.cap-hub-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cap-hub-col--left {
    align-items: flex-end;
}

.cap-hub-col--right {
    align-items: flex-start;
}

/* Item row: pill + connector line */
.cap-hub-item-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.cap-hub-col--left .cap-hub-item-row {
    flex-direction: row;
}

.cap-hub-col--right .cap-hub-item-row {
    flex-direction: row;
}

/* Connector lines */
.cap-hub-connector {
    flex: 1;
    height: 1px;
    min-width: 32px;
}

.cap-hub-col--left .cap-hub-connector {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 100%);
}

.cap-hub-col--right .cap-hub-connector {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
}

/* Pill buttons */
.cap-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 11px 18px 11px 10px;
    cursor: default;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cap-hub-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(250, 66, 56, 0.6);
    box-shadow: 0 4px 20px rgba(250, 66, 56, 0.2);
    transform: scale(1.03);
}

.cap-hub-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-hub-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.cap-hub-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Center hub element */
.cap-hub-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.cap-hub-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(26, 5, 128, 0.6) 0%, rgba(10, 9, 25, 0.95) 70%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 16px rgba(255, 255, 255, 0.02),
        0 0 0 32px rgba(250, 66, 56, 0.04),
        0 0 60px rgba(250, 66, 56, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

/* Red arc decoration */
.cap-hub-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary-red);
    border-right-color: rgba(250, 66, 56, 0.25);
    transform: rotate(-20deg);
    pointer-events: none;
}

.cap-hub-logo {
    width: 96px;
    opacity: 0.65;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.cap-hub-footer {
    text-align: center;
    margin-top: 72px;
}

.cap-hub-footer .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
}

.cap-hub-footer .btn-secondary:hover {
    border-color: var(--primary-red);
    color: #ffffff;
    background: rgba(250, 66, 56, 0.1);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .cap-hub-layout {
        grid-template-columns: 1fr 160px 1fr;
    }

    .cap-hub-ring {
        width: 140px;
        height: 140px;
    }

    .cap-hub-logo {
        width: 72px;
    }

    .cap-hub-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .who-standalone-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 72px 28px;
    }

    .who-standalone-visual {
        display: none;
    }

    .product-standalone-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .who-standalone-heading,
    .product-standalone-title {
        font-size: 1.9rem !important;
    }

    .cap-hub-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cap-hub-col--left,
    .cap-hub-col--right {
        align-items: stretch;
    }

    .cap-hub-connector {
        display: none;
    }

    .cap-hub-center {
        order: -1;
        padding: 0;
    }

    .cap-hub-ring {
        width: 120px;
        height: 120px;
    }

    .cap-hub-logo {
        width: 60px;
    }

    .cap-hub-pill {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .who-standalone-section,
    .product-standalone-section {
        min-height: auto;
        padding: 0;
    }

    .who-standalone-inner,
    .product-standalone-inner {
        padding: 64px 20px;
    }

    .cap-standalone-section {
        padding: 72px 20px;
    }

    .cap-hub-title {
        font-size: 1.8rem;
    }
}

/* ─── ICO color variants (hero patient card) ───────────────── */
.ico--red   { background: rgba(250,66,56,0.10);  color: #FA4238; }
.ico--blue  { background: rgba(74,122,255,0.10); color: #3D7BF7; }
.ico--green { background: rgba(34,211,160,0.12); color: #10A674; }

/* ─── Hero chip 2: Kayros Assist title row ─────────────────── */
.hero-chip-2 .t {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── Chrome dots (macOS window decoration) ────────────────── */
.kx-chrome-dot:nth-child(1) { background: #FF5F57; }
.kx-chrome-dot:nth-child(2) { background: #FEBC2E; }
.kx-chrome-dot:nth-child(3) { background: #28C840; }

/* ─── Tech dots: unique top + animation-delay per element ──── */
.kc-tech-dot:nth-child(1)  { top: 50px;   animation-delay: 0s;   }
.kc-tech-dot:nth-child(2)  { top: 100px;  animation-delay: 3s;   }
.kc-tech-dot:nth-child(3)  { top: 150px;  animation-delay: 1s;   }
.kc-tech-dot:nth-child(4)  { top: 200px;  animation-delay: 5s;   }
.kc-tech-dot:nth-child(5)  { top: 250px;  animation-delay: 0.5s; }
.kc-tech-dot:nth-child(6)  { top: 300px;  animation-delay: 4s;   }
.kc-tech-dot:nth-child(7)  { top: 350px;  animation-delay: 1.5s; }
.kc-tech-dot:nth-child(8)  { top: 400px;  animation-delay: 6s;   }
.kc-tech-dot:nth-child(9)  { top: 450px;  animation-delay: 2s;   }
.kc-tech-dot:nth-child(10) { top: 500px;  animation-delay: 5.5s; }
.kc-tech-dot:nth-child(11) { top: 550px;  animation-delay: 0.8s; }
.kc-tech-dot:nth-child(12) { top: 600px;  animation-delay: 4.5s; }
.kc-tech-dot:nth-child(13) { top: 650px;  animation-delay: 1.2s; }
.kc-tech-dot:nth-child(14) { top: 700px;  animation-delay: 3.5s; }
.kc-tech-dot:nth-child(15) { top: 750px;  animation-delay: 0.3s; }
.kc-tech-dot:nth-child(16) { top: 800px;  animation-delay: 6.5s; }
.kc-tech-dot:nth-child(17) { top: 850px;  animation-delay: 2.2s; }
.kc-tech-dot:nth-child(18) { top: 900px;  animation-delay: 4.8s; }
.kc-tech-dot:nth-child(19) { top: 950px;  animation-delay: 1.8s; }
.kc-tech-dot:nth-child(20) { top: 1000px; animation-delay: 7s;   }
.kc-tech-dot:nth-child(21) { top: 1050px; animation-delay: 3.2s; }
.kc-tech-dot:nth-child(22) { top: 1100px; animation-delay: 0.6s; }
.kc-tech-dot:nth-child(23) { top: 1150px; animation-delay: 5.2s; }
.kc-tech-dot:nth-child(24) { top: 1200px; animation-delay: 2.7s; }
.kc-tech-dot:nth-child(25) { top: 1250px; animation-delay: 4.1s; }
.kc-tech-dot:nth-child(26) { top: 1300px; animation-delay: 1.4s; }
.kc-tech-dot:nth-child(27) { top: 1350px; animation-delay: 6.2s; }
.kc-tech-dot:nth-child(28) { top: 1400px; animation-delay: 3.8s; }

/* ─── Core Values card icon with image ─────────────────────── */
.cv-card__icon--img {
    background: transparent;
    border: none;
}

.cv-card__icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-mosaic-faint {
    opacity: 0.3;
}

.modal-right--scroll {
    padding: 30px;
    overflow-y: auto;
}

/* ─── Capabilities Modal Items ─────────────────────────────── */
.modal-cap-list {
    list-style: none;
    padding: 0;
}

.modal-cap-item {
    margin-bottom: 24px;
    padding: 0;
    border: none;
    display: block;
}

/* Override global .capability-checklist li flex layout inside modal */
.modal-cap-list.capability-checklist li.modal-cap-item {
    display: block;
    align-items: initial;
    gap: 0;
    border-bottom: none;
    padding: 0;
    margin-bottom: 24px;
}

.modal-cap-list.capability-checklist li.modal-cap-item::before {
    display: none;
}

.modal-cap-title {
    color: var(--primary-red);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.modal-cap-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.modal-cap-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.modal-cap-intro {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 500;
}

.modal-cap-footer {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-top: 24px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* ─── Core Values 3D Orbital Carousel ─────────────────────── */
.cv-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cv-section {
    position: relative;
    z-index: 2;
    overflow: visible !important;
}

.cv-ambient {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
}

.cv-ambient--left {
    top: 0;
    left: 25%;
    transform: translateY(-50%);
    background: rgba(0, 123, 255, 0.15);
    filter: blur(120px);
}

.cv-ambient--right {
    bottom: 0;
    right: 25%;
    background: rgba(241, 32, 32, 0.10);
    filter: blur(130px);
}

.cv-scene {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin-top: 1.5rem;
    overflow: visible;
}

.cv-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    pointer-events: none;
}

.cv-center-logo__inner {
    position: relative;
}

.cv-center-logo__glow {
    position: absolute;
    inset: -24px;
    background: linear-gradient(to right, rgba(241, 32, 32, 0.30), rgba(0, 123, 255, 0.40));
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.9;
    animation: cv-logo-pulse 2s ease-in-out infinite;
}

@keyframes cv-logo-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.55; }
}

.cv-center-logo__glow2 {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(20px);
}

.cv-k-logo {
    width: 128px;
    height: 128px;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
    .cv-k-logo {
        width: 160px;
        height: 160px;
    }
}

.cv-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    background: rgba(12, 18, 50, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 168, 255, 0.15);
    border-radius: 8px;
    padding: 1.75rem;
    transform-origin: center center;
    will-change: transform, filter, opacity;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cv-card:hover {
    background: rgba(16, 24, 70, 0.8);
    border-color: rgba(241, 32, 32, 0.5);
    box-shadow: 0 0 35px rgba(241, 32, 32, 0.15), inset 0 0 20px rgba(0, 168, 255, 0.05);
}

.cv-card::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(0, 168, 255, 0.8), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.cv-card:hover::before {
    background: radial-gradient(250px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(241, 32, 32, 0.8), transparent 50%);
}

.cv-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(200px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(0, 168, 255, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.cv-card-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 168, 255, 0.03) 1px, transparent 0);
    background-size: 14px 14px;
    pointer-events: none;
    border-radius: inherit;
}

.cv-hud {
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.cv-hud--tl { top: 10px; left: 10px; border-top: 1.5px solid rgba(0, 168, 255, 0.4); border-left: 1.5px solid rgba(0, 168, 255, 0.4); border-top-left-radius: 3px; }
.cv-hud--tr { top: 10px; right: 10px; border-top: 1.5px solid rgba(0, 168, 255, 0.4); border-right: 1.5px solid rgba(0, 168, 255, 0.4); border-top-right-radius: 3px; }
.cv-hud--bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid rgba(0, 168, 255, 0.4); border-left: 1.5px solid rgba(0, 168, 255, 0.4); border-bottom-left-radius: 3px; }
.cv-hud--br { bottom: 10px; right: 10px; border-bottom: 1.5px solid rgba(0, 168, 255, 0.4); border-right: 1.5px solid rgba(0, 168, 255, 0.4); border-bottom-right-radius: 3px; }

.cv-card:hover .cv-hud--tl,
.cv-card:hover .cv-hud--tr,
.cv-card:hover .cv-hud--bl,
.cv-card:hover .cv-hud--br {
    border-color: rgba(241, 32, 32, 0.8) !important;
}

.cv-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
}

.cv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(46, 139, 255, 0.20), #111827);
    border: 1px solid rgba(46, 139, 255, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5F7FA;
    box-shadow: 0 0 20px rgba(46, 139, 255, 0.2);
    transition: all 0.3s;
    flex-shrink: 0;
}

.cv-card:hover .cv-card__icon {
    background: linear-gradient(135deg, rgba(255, 68, 56, 0.20), #111827);
    border-color: rgba(255, 68, 56, 0.40);
    color: #FF4438;
}

.cv-card__num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(245, 247, 250, 0.05);
    transition: all 0.3s;
    user-select: none;
    margin-top: 4px;
    line-height: 1;
}

.cv-card:hover .cv-card__num {
    color: rgba(255, 68, 56, 0.15);
}

.cv-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #F5F7FA;
    margin-bottom: 6px;
    position: relative;
    z-index: 20;
    transition: color 0.3s;
}

.cv-card:hover .cv-card__title {
    color: #2E8BFF;
}

.cv-card__desc {
    color: #D1D5DB;
    font-size: 0.85rem;
    position: relative;
    z-index: 20;
    font-weight: 300;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .cv-scene {
        height: 300px;
    }
    .cv-card {
        width: 220px;
        padding: 1.25rem;
    }
    .cv-card__num {
        font-size: 1.5rem;
    }
}