/* ============================================================
   KSM Technologies — Main Stylesheet
   Deep Corporate Navy + AI-forward design
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --navy-900: #060F1E;
    --navy-800: #0B1A2F;
    --navy-700: #0B2545;
    --navy-600: #134074;
    --navy-500: #1D4E89;
    --blue-400: #3B82C4;
    --blue-300: #8DA9C4;
    --blue-100: #D6E6F5;
    --bg-off: #F0F5FA;
    --white: #FFFFFF;
    --text-900: #0D1B2E;
    --text-600: #4A6080;
    --text-400: #8DA0B5;
    --success: #22C55E;
    --gradient-hero: linear-gradient(135deg, #060F1E 0%, #0B2545 50%, #134074 100%);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
    --radius: 8px;
    --radius-lg: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--text-900);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img,
svg {
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 12px;
}

.section-label.light {
    color: var(--blue-300);
    opacity: 0.8;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--navy-700);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    font-size: 18px;
    color: var(--text-600);
    max-width: 640px;
    line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(6, 15, 30, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.main-header.scrolled {
    background: rgba(6, 15, 30, 0.98);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--navy-500), var(--blue-400));
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    letter-spacing: 0;
}

.logo-name {
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.5px;
}

.logo-name strong {
    font-weight: 700;
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.main-nav a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-400);
    transition: width var(--transition);
}

.main-nav a:not(.btn-nav):hover {
    color: var(--white);
}

.main-nav a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--navy-500);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.btn-nav:hover {
    background: var(--blue-400) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--gradient-hero);
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle grid texture */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(29, 78, 137, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 196, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

/* legacy selector kept for safety */
.hero-content {
    max-width: 720px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--blue-300);
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(46px, 7vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(90deg, #5EAEFF, #A5D8FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--navy-700);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--blue-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Stats row */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 12px;
    color: var(--blue-300);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll-hint span {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ============================================================
   ABOUT / MISSION
   ============================================================ */
.about {
    padding: 96px 0;
    background: var(--white);
}

.about .section-title {
    max-width: 680px;
}

.about .section-desc {
    font-size: 19px;
    color: var(--text-600);
    max-width: 780px;
    line-height: 1.75;
    font-weight: 400;
    font-style: italic;
    border-left: 3px solid var(--navy-500);
    padding-left: 24px;
    margin-top: 8px;
}

.framework-wrap {
    margin-top: 48px;
}

.framework-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-400);
    margin-bottom: 32px;
}

.framework-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.f-step {
    flex: 1;
    background: var(--bg-off);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 28px 24px;
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.f-step:hover {
    background: var(--white);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--blue-300);
}

.f-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy-500);
    margin-bottom: 10px;
}

.f-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 4px;
}

.f-step p {
    font-size: 13px;
    color: var(--text-600);
}

.f-arrow {
    font-size: 20px;
    color: var(--blue-300);
    padding: 0 12px;
    flex-shrink: 0;
    font-weight: 300;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    background: var(--navy-800);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(29, 78, 137, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.services .section-title {
    max-width: 600px;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 2 / 3;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: attr(data-index);
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 196, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--blue-400);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.tags span {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-300);
    background: rgba(59, 130, 196, 0.12);
    border: 1px solid rgba(59, 130, 196, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* ============================================================
   CARELOOP
   ============================================================ */
.carelink {
    padding: 96px 0;
    background: var(--navy-800);
    position: relative;
    overflow: hidden;
}

.carelink::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(29, 78, 137, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.carelink .section-title,
.carelink .section-desc {
    text-align: center;
    color: var(--white);
}

.carelink .section-label {
    text-align: center;
    color: var(--blue-300);
    opacity: 0.8;
}

.carelink .section-desc {
    margin: 0 auto 60px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.65);
}

.pipeline-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.pipeline-header {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.pipeline-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.p-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(19, 64, 116, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

.p-step:hover .p-circle {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(19, 64, 116, 0.5);
}

.p-step span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.p-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--navy-500), var(--blue-400));
    opacity: 0.2;
    min-width: 8px;
}

/* Compliance badges */
.compliance-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.c-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
}

.c-badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 196, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.c-badge>div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.c-badge strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.c-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
    background: var(--navy-900);
    padding: 96px 0;
}

.industries .section-desc {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 48px;
}

.industries-list {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.industry-row {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all var(--transition);
    cursor: default;
}

.industry-row:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 16px;
}

.industry-row:hover .ind-arrow {
    transform: translateX(6px);
    color: var(--blue-400);
}

.ind-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 280px;
    flex-shrink: 0;
}

.ind-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-500);
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.ind-left h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.ind-desc {
    flex: 1;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.ind-arrow {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: all var(--transition);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: 96px 0;
    background: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.contact-info .section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-bottom: 16px;
}

.contact-info>p {
    font-size: 16px;
    color: var(--text-600);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-600);
}

.detail-icon {
    width: 38px;
    height: 38px;
    background: var(--bg-off);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--navy-600);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-700);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 13px 16px;
    border: 1.5px solid #DDE5EF;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    color: var(--text-900);
    background: var(--bg-off);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A6080' d='M1.41 0L6 4.58 10.59 0 12 1.41 6 7.41 0 1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--navy-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-400);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--navy-700);
    color: var(--white);
    padding: 15px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn-submit:hover {
    background: var(--navy-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.3);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

.form-success {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.form-success.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background: var(--navy-900);
    padding-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 260px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
    font-size: 12px !important;
    font-style: italic;
    max-width: 500px;
}

/* ============================================================
   ANIMATIONS — Scroll-in entries
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
    }

    .compliance-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .framework-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .f-arrow {
        transform: rotate(90deg);
        text-align: center;
        padding: 4px 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 24px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--navy-900);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 24px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
    }

    .btn-nav {
        display: inline-block;
        margin-top: 8px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        padding: 64px 0;
    }

    .services {
        padding: 64px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: auto;
    }

    .pipeline-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .p-connector {
        display: none;
    }

    .compliance-badges {
        grid-template-columns: 1fr 1fr;
    }

    .carelink {
        padding: 64px 0;
    }

    .industries {
        padding: 64px 0;
    }

    .industry-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 28px 0;
    }

    .ind-left {
        width: 100%;
    }

    .ind-arrow {
        display: none;
    }

    .contact {
        padding: 64px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-badges {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HERO — Product Pill (CareLoop spotlight)
   ============================================================ */
.hero-product-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(59, 130, 196, 0.12);
    border: 1px solid rgba(59, 130, 196, 0.3);
    border-radius: 40px;
    padding: 8px 16px 8px 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pill-badge {
    background: var(--blue-400);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

.pill-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.pill-text strong {
    color: var(--white);
}

.pill-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-300);
    white-space: nowrap;
    transition: color var(--transition);
}

.pill-link:hover {
    color: var(--white);
}

/* ============================================================
   CHALLENGE SECTION
   ============================================================ */
.challenge {
    padding: 120px 0;
    background: var(--white);
}

.challenge .section-title {
    max-width: 700px;
    line-height: 1.2;
}

.challenge .section-desc {
    margin-bottom: 60px;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.challenge-card {
    background: var(--bg-off);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}

.challenge-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--blue-300);
}

.challenge-icon {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

.challenge-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 8px;
}

.challenge-card p {
    font-size: 14px;
    color: var(--text-600);
    line-height: 1.65;
}

.challenge-resolution {
    margin-top: 52px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-700);
    padding: 28px 40px;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.05), rgba(29, 78, 137, 0.08));
    border: 1px solid rgba(29, 78, 137, 0.15);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--navy-500);
}

/* ============================================================
   ABOUT — Patient Journey
   ============================================================ */
.journey-wrap {
    margin-top: 72px;
}

.journey-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 32px;
}

.j-step {
    flex: 1;
    background: var(--bg-off);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all var(--transition);
}

.j-step:hover {
    background: var(--white);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--navy-500);
}

.j-num {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1;
}

.j-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 12px;
}

.j-step ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.j-step ul li {
    font-size: 12px;
    color: var(--text-600);
    padding-left: 12px;
    position: relative;
}

.j-step ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--navy-500);
    font-weight: 700;
}

.j-arrow {
    font-size: 24px;
    color: var(--blue-300);
    padding: 0 8px;
    flex-shrink: 0;
    align-self: center;
    font-weight: 300;
    margin-top: -20px;
}

.journey-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-600);
}

/* ============================================================
   CareLoop PLATFORM
   ============================================================ */
.carelink {
    padding: 120px 0;
    background: var(--navy-800);
}

.carelink .section-label,
.carelink .section-title,
.carelink .section-desc {
    text-align: center;
}

.section-tagline {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--blue-300);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.carelink .section-desc {
    margin: 0 auto 60px;
    max-width: 620px;
}

/* 6 Pillars */
.carelink-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 196, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    font-size: 28px;
    margin-bottom: 14px;
    line-height: 1;
}

.pillar-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.pillar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pillar-card ul li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 14px;
    position: relative;
}

.pillar-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue-400);
    font-size: 11px;
}

/* Roadmap grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px 0;
}

.roadmap-col {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.roadmap-built {
    border-top: 3px solid #22C55E;
}

.roadmap-next {
    border-top: 3px solid var(--blue-400);
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-700);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.roadmap-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.roadmap-dot.green {
    background: #22C55E;
}

.roadmap-dot.blue {
    background: var(--blue-400);
}

.roadmap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.roadmap-list li {
    font-size: 14px;
    color: var(--text-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rl-check {
    font-size: 14px;
    flex-shrink: 0;
}

.roadmap-note {
    font-size: 13px;
    font-style: italic;
    color: var(--text-400);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
    line-height: 1.6;
}

/* Omnichannel table */
.omni-wrap {
    margin: 32px 0;
}

.omni-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
}

.omni-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.omni-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 14px;
}

.omni-table thead tr {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.omni-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.omni-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition);
}

.omni-table tbody tr:last-child {
    border-bottom: none;
}

.omni-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.omni-table tbody td {
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}

.omni-table tbody td:first-child {
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.omni-table tbody td:last-child {
    color: var(--blue-300);
    font-weight: 500;
}

.omni-icon {
    margin-right: 6px;
}

.omni-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   WHY CareLoop / DIFFERENTIATOR SECTION
   ============================================================ */
.why-carelink {
    background: var(--navy-800);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.why-carelink::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 137, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.why-carelink .section-desc {
    margin-bottom: 48px;
    max-width: 700px;
}

.diff-desc {
    color: rgba(255, 255, 255, 0.65) !important;
    margin-bottom: 48px;
    max-width: 700px;
    text-align: left;
}

/* Differentiation table */
.diff-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.diff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.diff-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.diff-table thead th.col-ksm {
    color: var(--blue-300);
}

.diff-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition);
}

.diff-table tbody tr:last-child {
    border-bottom: none;
}

.diff-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.diff-table tbody td {
    padding: 18px 20px;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.5);
}

.diff-table tbody td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.diff-table tbody td.col-point {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.diff-table tbody td.col-ksm {
    color: var(--blue-300);
    font-weight: 500;
}

.diff-caption {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    font-style: italic;
}

/* AI + Human split */
.ai-human-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
}

.ai-human-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ah-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.ai-human-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-human-col ul li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 14px;
    position: relative;
}

.ai-col ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--blue-400);
    font-size: 10px;
    top: 2px;
}

.human-col ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #22C55E;
    font-size: 10px;
    top: 2px;
}

.ai-human-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ah-tagline {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — New sections
   ============================================================ */
@media (max-width: 1024px) {
    .carelink-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .ai-human-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ai-human-divider {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px 0;
    }

    .journey-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .j-arrow {
        transform: rotate(90deg);
        text-align: center;
        align-self: center;
        padding: 0;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .challenge {
        padding: 64px 0;
    }

    .challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carelink {
        padding: 80px 0;
    }

    .carelink-pillars {
        grid-template-columns: 1fr;
    }

    .why-carelink {
        padding: 64px 0;
    }

    .hero-product-pill {
        flex-direction: column;
        align-items: flex-start;
        border-radius: var(--radius);
    }
}

@media (max-width: 480px) {
    .challenge-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DIFF INLINE — Differentiation embedded inside CareLoop section
   ============================================================ */
.diff-inline-wrap {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.diff-inline-header {
    margin-bottom: 28px;
}

.diff-inline-header .section-title {
    margin-bottom: 16px;
}

.diff-inline-header .diff-desc {
    margin-bottom: 0;
}

/* ============================================================
   PILLAR CARD — Asset icons
   ============================================================ */
.pillar-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    /* Invert dark SVG/PNG icons to white for dark card background */
    filter: invert(1) brightness(1.8);
}

/* ============================================================
   PRINT ENGINE — A4 / PDF export layout integrity
   ============================================================ */
@media print {

    /* --- Page setup --- */
    @page {
        size: A4 portrait;
        margin: 18mm 14mm;
    }

    /* --- Global resets for print --- */
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
    }

    /* --- Hide non-content elements --- */
    .main-header,
    .hamburger,
    .hero-scroll-hint,
    .hero-bg-grid,
    .btn-primary,
    .btn-outline,
    .btn-nav,
    .btn-submit,
    .hero-ctas,
    .hero-product-pill,
    .scroll-line {
        display: none !important;
    }

    /* --- Remove fixed/sticky positioning --- */
    .main-header {
        position: static;
    }

    /* --- Hero: compress for print, keep entire section on page 1 --- */
    .hero {
        min-height: auto;
        padding: 16pt 0 12pt;
        break-inside: avoid;
        page-break-inside: avoid;
        page-break-after: avoid;
        display: block;
    }

    .hero-inner {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hero-content {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hero h1 {
        font-size: 22pt;
        margin-bottom: 8pt;
    }

    .hero-sub {
        font-size: 10pt;
        margin-bottom: 10pt;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        break-inside: avoid;
        page-break-inside: avoid;
        margin-top: 12pt;
    }

    .stat-card {
        break-inside: avoid;
        page-break-inside: avoid;
        padding: 10pt 8pt;
    }

    .stat-num {
        font-size: 20pt;
    }

    .stat-label {
        font-size: 7pt;
    }

    /* --- Keep section headers with their content --- */
    .section-label,
    .section-title,
    .section-tagline {
        break-after: avoid;
        page-break-after: avoid;
    }

    /* --- About / Mission --- */
    .about {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .framework-wrap {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .framework-steps {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .f-step {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* --- Core Capabilities Grid: keep each card whole --- */
    .services {
        page-break-before: always;
    }

    .services-grid {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1pt solid #ccc !important;
        margin-bottom: 8pt;
    }

    /* --- CareLoop Platform: keep header + pipeline together --- */
    .carelink {
        page-break-before: always;
    }

    .carelink-pillars {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .pillar-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1pt solid #ccc !important;
    }

    /* --- Pipeline: keep label + all circles on the same page --- */
    .pipeline-box {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1pt solid #ccc !important;
        padding: 16pt;
    }

    .pipeline-header {
        break-after: avoid;
        page-break-after: avoid;
    }

    .pipeline-steps {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* --- Differentiation Matrix: keep table rows together --- */
    .diff-inline-wrap {
        break-inside: avoid;
        page-break-inside: avoid;
        page-break-before: always;
    }

    .diff-table {
        break-inside: avoid;
        page-break-inside: avoid;
        width: 100%;
        border-collapse: collapse;
    }

    .diff-table thead {
        display: table-header-group;
        /* repeat header on each page if table overflows */
    }

    .diff-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .diff-table td,
    .diff-table th {
        border: 1pt solid #ccc !important;
        padding: 6pt 8pt;
        font-size: 9pt;
    }

    /* --- AI + Human panel --- */
    .ai-human-wrap {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1pt solid #ccc !important;
        padding: 12pt;
        margin-top: 12pt;
    }

    /* --- Omnichannel table --- */
    .omni-wrap {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .omni-table {
        width: 100%;
        border-collapse: collapse;
    }

    .omni-table thead {
        display: table-header-group;
    }

    .omni-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .omni-table td,
    .omni-table th {
        border: 1pt solid #ccc !important;
        padding: 6pt 8pt;
        font-size: 9pt;
    }

    /* --- Compliance badges: keep as one row --- */
    .compliance-badges {
        break-inside: avoid;
        page-break-inside: avoid;
        display: flex;
        flex-wrap: wrap;
        gap: 8pt;
    }

    .c-badge {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1pt solid #ccc !important;
        padding: 8pt;
    }

    /* --- Industries: each row stays whole --- */
    .industries {
        page-break-before: always;
    }

    .industry-row {
        break-inside: avoid;
        page-break-inside: avoid;
        border-bottom: 1pt solid #eee !important;
        padding: 8pt 0;
    }

    /* --- Contact: keep form + info together --- */
    .contact {
        page-break-before: always;
    }

    .contact-inner {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* --- Footer: suppress in print --- */
    .main-footer {
        display: none !important;
    }

    /* --- Links: show URLs --- */
    a[href]::after {
        content: none;
        /* suppress URL printing for cleaner output */
    }

    /* --- Restore readable text colors for key elements --- */
    .section-title,
    .section-label,
    .section-tagline,
    h1,
    h2,
    h3,
    h4 {
        color: #0B2545 !important;
    }

    .section-desc,
    .ind-desc,
    .service-card p,
    .pillar-card li {
        color: #333 !important;
    }

    .diff-table tbody td:first-child,
    .omni-table tbody td:first-child {
        color: #0B2545 !important;
        font-weight: 700 !important;
    }

    .diff-table tbody td.col-ksm,
    .omni-table tbody td:last-child {
        color: #1D4E89 !important;
        font-weight: 600 !important;
    }

    .diff-table tbody td.col-point {
        color: #666 !important;
    }

    .gradient-text {
        -webkit-text-fill-color: #0B2545 !important;
        background: none !important;
    }

}

/* ============================================================
   KSM LOGO IMAGE
   ============================================================ */
.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-img--footer {
    height: 36px;
    opacity: 0.9;
}