@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --cap-dark-bg: #07191a;
    --cap-dark-card: #0c2524;
    --cap-dark-card-2: #0a2020;
    --cap-teal-border: rgba(45, 112, 106, 0.38);
    --cap-orange: #f26b1d;
    --cap-orange-hover: #ff7a29;
    --cap-orange-glow: rgba(242, 107, 29, 0.45);
    --cap-light-bg: #f3f5f7;
    --cap-text-dark: #0f172a;
    --cap-text-muted: #475569;
    --cap-container: 1280px;
}

.cap-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--cap-text-dark);
    background: var(--cap-light-bg);
    overflow-x: hidden;
    padding-top: 0;
}

.cap-page * {
    box-sizing: border-box;
}

.cap-container {
    width: min(var(--cap-container), calc(100% - 48px));
    margin: 0 auto;
}

/* Common Eyebrow Tag */
.cap-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.cap-eyebrow.dark-text {
    color: #64748b;
}

.cap-eyebrow::before {
    content: '';
    display: inline-block;
    width: 34px;
    height: 2.5px;
    background: var(--cap-orange);
    border-radius: 2px;
}

.text-orange {
    color: var(--cap-orange);
}

/* =========================================================
   SECTION 1: HERO SECTION
   ========================================================= */
.cap-hero {
    position: relative;
    background:
        radial-gradient(circle at 64% 52%, rgba(242, 107, 29, 0.14) 0%, rgba(12, 42, 41, 0) 42%),
        linear-gradient(90deg, rgba(6, 22, 23, 0.96) 0%, rgba(7, 27, 28, 0.92) 45%, rgba(8, 30, 31, 0.78) 75%, rgba(6, 22, 23, 0.88) 100%),
        url('../capabilities/hero.jpg') right center / cover no-repeat;
    color: #ffffff;
    padding: 52px 0 0 !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.cap-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 36px;
    align-items: center;
    z-index: 2;
    min-height: 420px;
}

.cap-hero-copy h1 {
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #ffffff !important;
    margin: 0 0 14px;
}

.cap-hero-lead {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #f1f5f9;
    margin: 0 0 12px;
}

.cap-hero-desc {
    font-size: 13.5px;
    line-height: 1.62;
    color: #94a3b8;
    max-width: 530px;
    margin: 0 0 20px;
}

.cap-btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(242, 107, 29, 0.35);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.cap-btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(242, 107, 29, 0.5);
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.cap-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.55);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
}

.cap-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* Hero Cycle Diagram */
.cap-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
}

.cycle-caption {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.45;
    color: #cbd5e1;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cycle-diagram {
    position: relative;
    width: 430px;
    height: 360px;
    transform: scale(0.95);
    transform-origin: center center;
}

.cycle-svg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cycle-center-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a1810 0%, #0d1f20 75%);
    border: 2.5px solid var(--cap-orange);
    box-shadow: 0 0 35px var(--cap-orange-glow), inset 0 0 22px rgba(242, 107, 29, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    text-align: center;
}

.cycle-center-hub strong {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.cycle-center-hub span {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 2px;
}

.cycle-node {
    position: absolute;
    background: rgba(11, 34, 35, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 10px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.cycle-node-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(242, 107, 29, 0.14);
    border: 1px solid rgba(242, 107, 29, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cap-orange);
    flex-shrink: 0;
}

.cycle-node-text strong {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.cycle-node-text span {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.2;
}

.cycle-node.node-top {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-node.node-right {
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
}

.cycle-node.node-bottom {
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-node.node-left {
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
}

/* Far right side watermarks in Hero */
.cap-hero-side-tags {
    position: absolute;
    right: 24px;
    top: 28px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 2;
}

.hero-side-pillars {
    list-style: none;
    padding: 0 0 0 12px;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 2;
    color: rgba(226, 232, 240, 0.45);
    text-transform: uppercase;
}

.hero-side-motto {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.32);
    text-transform: uppercase;
    text-align: left;
}

/* =========================================================
   SECTION 2: 5 CORE CAPABILITIES OVERVIEW
   ========================================================= */
.cap-overview {
    background: linear-gradient(180deg, #f5f7f9 0%, #eaeef2 100%);
    padding: 54px 0 46px;
    border-bottom: 1px solid #dce2e8;
}

.cap-section-title {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.25;
}

.cap-section-sub {
    font-size: 15px;
    color: #475569;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* 2x2 Grid of 4 Dark Capability Cards */
.cap-cards-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.cap-core-card {
    background: var(--iv-dark, #0B211A);
    border: 1px solid rgba(221, 229, 225, 0.15);
    border-radius: 14px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 156px;
}

.cap-core-card:hover {
    transform: translateY(-3px);
    border-color: var(--cap-orange);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.cap-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.cap-num-badge {
    background: linear-gradient(135deg, #f26b1d 0%, #e65c00 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(242, 107, 29, 0.35);
}

.cap-core-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cap-orange);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cap-core-card:hover .cap-core-arrow,
.cap-core-arrow:hover {
    background: var(--cap-orange);
    border-color: var(--cap-orange);
    color: #ffffff;
}

.cap-card-main {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;
    padding-right: 0;
}

.cap-core-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-core-body {
    flex: 1;
    min-width: 0;
}

.cap-core-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 2px;
    line-height: 1.25;
}

.cap-core-body .core-sub {
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    margin: 0 0 6px;
}

.cap-core-body p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.cap-card-bg-graphic {
    display: none !important;
}

/* =========================================================
   CARD 05: Practical Experience (Large Unified Dark Card)
   ========================================================= */
.cap-card-05 {
    background: var(--iv-dark, #0B211A);
    border: 1.5px solid rgba(242, 107, 29, 0.65);
    box-shadow: 0 0 28px rgba(242, 107, 29, 0.14), 0 10px 30px rgba(0, 0, 0, 0.18);
    border-radius: 16px;
    padding: 24px 28px 24px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cap-card05-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cap-card05-head-left {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.cap-card05-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}

.cap-card05-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-card05-info {
    margin-top: 4px;
}

.cap-card05-info h3 {
    font-size: 23px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 2px;
    line-height: 1.25;
}

.cap-card05-info .card05-sub {
    font-size: 13.5px;
    font-weight: 600;
    color: #38bdf8;
    margin: 0 0 6px;
}

.cap-card05-info .card05-lead {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

.cap-card05-head-right {
    position: relative;
    z-index: 2;
}

.cap-card05-bg-graphic {
    display: none !important;
}

/* 5 Practical Pillars Grid */
.cap-card05-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.cap-pillar-item {
    position: relative;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cap-pillar-item:last-child {
    border-right: none;
    padding-right: 0;
}

.cap-pillar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--cap-orange);
}

.cap-pillar-item h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 6px;
}

.cap-pillar-item p {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

/* 5 Metrics Row */
.cap-card05-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.cap-metric-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cap-metric-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}

.cap-metric-text {
    display: flex;
    flex-direction: column;
}

.cap-metric-text strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--cap-orange);
    line-height: 1.1;
}

.cap-metric-text span {
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .cap-card05-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .cap-pillar-item:nth-child(3) {
        border-right: none;
    }
    .cap-card05-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cap-cards-2x2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cap-core-card {
        padding: 14px 16px;
        min-height: auto;
    }
    .cap-card-topbar {
        margin-bottom: 8px;
    }
    .cap-card-main {
        gap: 12px;
        padding-right: 0;
    }
    .cap-card-icon {
        width: 36px;
        height: 36px;
    }
    .cap-card-info h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .cap-card-info p {
        font-size: 13px;
        line-height: 1.5;
    }
    .cap-card-05 {
        padding: 16px 16px;
    }
    .cap-card05-pillars {
        grid-template-columns: 1fr;
    }
    .cap-pillar-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 14px;
        padding-right: 0;
    }
    .cap-pillar-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .cap-card05-metrics {
        grid-template-columns: 1fr;
    }
    .cap-card05-bg-graphic,
    .cap-card-bg-graphic {
        display: none;
    }
    .cap-card-main {
        padding-right: 0;
    }
}

/* =========================================================
   SECTION 3: CAPABILITY DETAILS (5 COLUMNS)
   ========================================================= */
.cap-details-sec {
    background: linear-gradient(180deg, #07191b 0%, #0a2223 100%);
    color: #ffffff;
    padding: 56px 0 64px;
}

.cap-details-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cap-details-header h2 {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
}

.cap-details-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 580px;
}

.cap-details-header-right p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

.cap-slider-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cap-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cap-nav-btn:hover {
    background: var(--cap-orange);
    border-color: var(--cap-orange);
}

/* 5-Column Grid */
.cap-5col-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: stretch;
}

.cap-detail-col {
    background: rgba(11, 35, 35, 0.88);
    border: 1px solid rgba(56, 128, 120, 0.36);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.cap-col-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-col-head-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-col-head-title h3 {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.25;
}

.cap-col-head-title span {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Col 1: FOS 11 Modules House */
.fos-house-roof {
    background: linear-gradient(180deg, rgba(45, 95, 90, 0.45) 0%, rgba(25, 58, 55, 0.65) 100%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 2px solid rgba(242, 107, 29, 0.55);
}

.fos-house-roof span {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e2e8f0;
}

.fos-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    flex: 1;
}

.fos-mod-cell {
    background: rgba(7, 24, 25, 0.85);
    border: 1px solid rgba(71, 133, 125, 0.35);
    border-radius: 6px;
    padding: 8px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #e2e8f0;
}

.fos-mod-cell.span-half {
    grid-column: span 1;
}

.fos-modules-bottom-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

/* Col 2: S2R Vertical Flow */
.s2r-flow-wrap {
    position: relative;
    display: flex;
    flex: 1;
    padding-right: 24px;
}

.s2r-steps-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.s2r-step-box {
    background: rgba(7, 24, 25, 0.9);
    border: 1px solid rgba(94, 152, 145, 0.42);
    border-radius: 7px;
    padding: 8px 10px;
    text-align: center;
}

.s2r-step-box strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.s2r-step-box span {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 1px;
}

.s2r-step-box.s2r-result {
    background: radial-gradient(circle, rgba(242, 107, 29, 0.25) 0%, rgba(15, 32, 32, 0.95) 100%);
    border: 1.5px solid var(--cap-orange);
    box-shadow: 0 0 16px rgba(242, 107, 29, 0.35);
}

.s2r-arrow-down {
    text-align: center;
    color: var(--cap-orange);
    font-size: 12px;
    line-height: 1;
    margin: 2px 0;
}

.s2r-feedback-side {
    position: absolute;
    right: 0;
    top: 18px;
    bottom: 18px;
    width: 20px;
    border-top: 1.5px dashed rgba(242, 107, 29, 0.6);
    border-right: 1.5px dashed rgba(242, 107, 29, 0.6);
    border-bottom: 1.5px dashed rgba(242, 107, 29, 0.6);
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s2r-feedback-side span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 9.5px;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.04em;
    white-space: nowrap;
    background: #0b2323;
    padding: 4px 0;
}

/* Col 3: Factory Platform Dashboard UI */
.platform-ui-frame {
    background: #091d1e;
    border: 1px solid rgba(71, 133, 125, 0.4);
    border-radius: 9px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.platform-ui-topbar {
    background: #061516;
    padding: 7px 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-ui-body {
    background: #f8fafc;
    color: #0f172a;
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 0 0 8px 8px;
}

.platform-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.platform-kpi-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 5px 4px;
    text-align: center;
}

.platform-kpi-box small {
    display: block;
    font-size: 8.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.platform-kpi-box strong {
    font-size: 12px;
    font-weight: 800;
}

.platform-kpi-box strong.green { color: #10b981; }
.platform-kpi-box strong.blue { color: #0284c7; }
.platform-kpi-box strong.teal { color: #0d9488; }

.platform-charts-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 6px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6px;
    align-items: flex-end;
}

.platform-status-list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.platform-status-item {
    display: grid;
    grid-template-columns: 62px 1fr 12px;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #334155;
}

.status-bar-track {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.status-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.status-bar-fill.green { background: #10b981; }
.status-bar-fill.orange { background: #f59e0b; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green { background: #10b981; }
.status-dot.orange { background: #f59e0b; }

/* Col 4: Lean Toolbox 3x4 Grid */
.lean-tools-12grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 7px;
    flex: 1;
}

.lean-tool-cell {
    background: rgba(7, 24, 25, 0.85);
    border: 1px solid rgba(71, 133, 125, 0.35);
    border-radius: 6px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
    transition: all 0.2s ease;
}

.lean-tool-cell:hover {
    border-color: var(--cap-orange);
    color: var(--cap-orange);
}

/* Col 5: Practical Experience Case Study */
.exp-case-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.exp-case-img {
    width: 100%;
    height: 92px;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 8px;
}

.exp-case-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--cap-orange);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.exp-case-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 10px;
}

.exp-oee-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.exp-oee-box {
    background: rgba(7, 24, 25, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 7px;
    padding: 7px 6px;
    text-align: center;
}

.exp-oee-box.after {
    background: rgba(16, 185, 129, 0.14);
    border-color: #10b981;
}

.exp-oee-box small {
    display: block;
    font-size: 9.5px;
    color: #cbd5e1;
}

.exp-oee-box strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.exp-oee-box.after strong {
    color: #34d399;
}

.exp-oee-box span {
    font-size: 9.5px;
    color: #94a3b8;
}

.exp-oee-arrow {
    color: var(--cap-orange);
    font-size: 16px;
    font-weight: 800;
}

.exp-bottom-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.exp-mini-stat {
    text-align: center;
}

.exp-mini-stat strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--cap-orange);
}

.exp-mini-stat span {
    display: block;
    font-size: 9px;
    color: #cbd5e1;
    line-height: 1.25;
    margin-top: 2px;
}

/* =========================================================
   SECTION 4: BUSINESS OUTCOMES
   ========================================================= */
.cap-outcomes-sec {
    background: #f5f7f9;
    padding: 52px 0 56px;
    border-bottom: 1px solid #e2e8f0;
}

.cap-outcomes-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.cap-outcomes-header h2 {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    color: #0f172a !important;
    margin: 0;
}

.cap-outcomes-header p {
    font-size: 14px;
    line-height: 1.58;
    color: #475569;
    max-width: 520px;
    margin: 0;
}

.cap-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cap-outcome-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.cap-outcome-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.cap-outcome-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(242, 107, 29, 0.1);
    border: 1px solid rgba(242, 107, 29, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cap-orange);
    flex-shrink: 0;
}

.cap-outcome-text h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 5px;
}

.cap-outcome-text p {
    font-size: 12.5px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* =========================================================
   SECTION 5: BOTTOM CTA SECTION
   ========================================================= */
.cap-cta-sec {
    position: relative;
    background:
        linear-gradient(90deg, rgba(6, 22, 23, 0.96) 0%, rgba(7, 26, 27, 0.88) 42%, rgba(8, 28, 29, 0.45) 72%, rgba(7, 25, 26, 0.92) 100%),
        url('../capabilities/cta-engineer.jpg') 72% center / cover no-repeat;
    color: #ffffff;
    padding: 58px 0 62px;
    overflow: hidden;
}

.cap-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    z-index: 2;
}

.cap-cta-copy {
    max-width: 580px;
}

.cap-cta-copy h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff !important;
    margin: 0 0 12px;
}

.cap-cta-copy p {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0 0 24px;
    line-height: 1.55;
}

.cap-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cap-cta-pillars {
    list-style: none;
    margin: 0;
    padding: 4px 0 4px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 2.1;
    color: rgba(226, 232, 240, 0.65);
    text-transform: uppercase;
}

.cap-cta-pillars::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--cap-orange);
    margin-top: 10px;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1180px) {
    .cap-5col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cap-hero-side-tags {
        display: none;
    }
    .cap-hero-visual {
        padding-right: 0;
    }
}

@media (max-width: 960px) {
    .cap-hero {
        padding: 52px 0 40px !important;
    }
    .cap-hero-inner {
        min-height: auto !important;
        grid-template-columns: 1fr;
    }
    .cap-cards-2x2 {
        grid-template-columns: 1fr;
    }
    .cap-foundation-banner {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .cap-foundation-divider,
    .cap-foundation-sketch {
        display: none;
    }
    .cap-metrics-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    .cap-5col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cap-outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cap-container {
        width: calc(100% - 32px);
    }
    .cycle-diagram {
        width: 100%;
        max-width: 330px;
        height: 320px;
        transform: scale(0.88);
    }
    .cap-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .cap-metric-item {
        border-right: none;
    }
    .cap-5col-grid,
    .cap-outcomes-grid {
        grid-template-columns: 1fr;
    }
    .cap-cta-pillars {
        display: none;
    }
}

/* =========================================================
   FOOTER CONSISTENCY
   ========================================================= */
footer {
    background: #0d201b !important;
    padding: 46px 0 22px !important;
}
.footer-grid {
    display: grid !important;
    grid-template-columns: 1.4fr 1.2fr 1.1fr 1.8fr !important;
    gap: 24px !important;
}
.footer-brand {
    display: flex;
    flex-direction: column;
}
.footer-brand img {
    width: 195px !important;
    background: #fff !important;
    padding: 9px 12px !important;
    border-radius: 4px !important;
    max-width: 205px !important;
}
.footer-brand p {
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: #b7c7d0 !important;
    margin-top: 8px !important;
}
.footer-grid h4 {
    font-size: 13px !important;
    margin: 4px 0 17px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}
.footer-grid > div:not(.footer-brand) a:not(.social-links a) {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    color: #bac9d1 !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
}
.footer-grid > div:not(.footer-brand) a:not(.social-links a):hover {
    color: var(--cap-orange) !important;
}
.footer-brand .social-links a,
.footer-grid .social-links a,
.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.footer-brand .social-links a svg,
.footer-grid .social-links a svg,
.social-links a svg {
    display: block !important;
    margin: auto !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.footer-brand .social-links a span,
.footer-grid .social-links a span,
.social-links a span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto !important;
    line-height: 1 !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    font-family: 'Inter', sans-serif !important;
}
.footer-company-name {
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 35px !important;
    padding-top: 18px !important;
    font-size: 11px !important;
    color: #8c9aa5 !important;
    text-align: center !important;
    justify-content: center !important;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}
