/* ============================================================
   KAYROS AI TECHNOLOGIES — Shared Stylesheet
   Light theme (single theme, no dark mode)
   ============================================================ */

/* Títulos: Century Gothic | Subtítulos y texto: Avenir */
@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/century_gothic/centurygothic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../assets/century_gothic/centurygothic_bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../assets/avenir/avenir_light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../assets/avenir/avenir_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../assets/avenir/avenir_heavy.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg-page: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-section: #EEF1F6;

    /* Brand */
    --primary-red: #FA4238;
    --primary-red-2: #FF6B5B;
    --primary-blue: #100249;
    --primary-blue-2: #1A0580;
    --accent-purple: #6C3BFF;

    /* Text */
    --text-main: #0B1120;
    --text-muted: #475569;
    --text-dim: #94A3B8;
    --text-white: #FFFFFF;

    /* Borders */
    --border: rgba(0, 0, 0, 0.08);
    --border-h: rgba(250, 66, 56, 0.4);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);

    /* Glows */
    --glow-red: rgba(250, 66, 56, 0.45);
    --glow-blue: rgba(16, 2, 73, 0.7);
    --glow-purple: rgba(108, 59, 255, 0.35);

    /* Glass */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-h: rgba(250, 66, 56, 0.5);

    /* Radius */
    --radius-card: 20px;
    --radius-btn: 50px;

    /* Header height */
    --header-h: 70px;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Avenir', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
    padding-top: var(--header-h);
    /* Fade-in initial state */
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.is-ready {
    opacity: 1;
}

h1,
h2,
h3,
h4 {
    font-family: 'Century Gothic', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Home Transparent Header State */
body.home-transparent-header {
    padding-top: 0;
}

body.home-transparent-header .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

body.home-transparent-header .site-header .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

body.home-transparent-header .site-header .nav-link:hover,
body.home-transparent-header .site-header .nav-link.active {
    color: #fff;
}

body.home-transparent-header .site-header .header-logo img {
    filter: brightness(0) invert(1);
}

body.home-transparent-header .site-header .mobile-menu-btn span {
    background: #fff;
}

/* Scrolled State for Home Header */
body.home-transparent-header .site-header.scrolled {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

body.home-transparent-header .site-header.scrolled .nav-link {
    color: var(--text-muted);
}

body.home-transparent-header .site-header.scrolled .nav-link:hover {
    color: var(--text-main);
}

body.home-transparent-header .site-header.scrolled .header-logo img {
    filter: none;
}

body.home-transparent-header .site-header.scrolled .mobile-menu-btn span {
    background: var(--text-main);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    gap: 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.header-logo img {
    height: 32px;
    width: auto;
    max-width: 200px;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.header-logo-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--primary-blue);
}

.header-logo-sub {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-red);
    text-transform: uppercase;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    opacity: 0;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    transform: scaleX(1) !important;
    opacity: 1 !important;
    bottom: -6px !important;
}

/* Assist Badge */
.header-assist-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-blue);
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-assist-badge:hover {
    background: var(--primary-blue-2);
    transform: translateY(-1px);
}

.header-assist-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-red);
    animation: blink 1.5s ease-in-out infinite;
}

/* Header right controls */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Mobile menu toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
}

.mobile-nav .nav-link.active {
    color: var(--primary-red);
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0E0E1C;
    color: #FFFFFF;
    padding: 48px 32px 0;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo img {
    height: 30px;
    width: auto;
    max-width: 180px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-name {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.footer-logo-sub {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-red);
    text-transform: uppercase;
}

/* Footer Nav */
.footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #FFFFFF;
}

.footer-nav a.footer-contact-link {
    color: var(--primary-red);
}

.footer-nav a.footer-contact-link:hover {
    color: #FF6B5B;
}

/* Footer Right */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--primary-red);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    font-family: 'Avenir', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-red);
    color: #FFFFFF;
    box-shadow: 0 4px 16px var(--glow-red);
}

.btn-primary:hover {
    background: var(--primary-red-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-red);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--primary-blue);
    color: #FFFFFF;
}

.btn-blue:hover {
    background: var(--primary-blue-2);
    transform: translateY(-2px);
}

.btn-green {
    background: #16a34a;
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
}

.btn-green:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero CTA outlined style (from reference image) */
.btn-hero-outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 11px 24px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-badge {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-primary .btn-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
    padding: 80px 32px;
}

.section-sm {
    padding: 48px 32px;
}

.section-lg {
    padding: 120px 32px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 66, 56, 0.08);
    border: 1px solid rgba(250, 66, 56, 0.2);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    animation: blink 1.5s ease-in-out infinite;
}

.section-title {
    font-family: 'Century Gothic', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary-red);
}

.section-subtitle {
    font-family: 'Avenir', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-h);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(250, 66, 56, 0.08);
    border: 1px solid rgba(250, 66, 56, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

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

.card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

/* ============================================================
   EXPANDABLE PANELS
   ============================================================ */
.expandable-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-panel.open {
    max-height: 2000px;
}

.expand-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-red);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    transition: opacity 0.2s ease;
}

.expand-trigger:hover {
    opacity: 0.75;
}

.expand-trigger .expand-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.expand-trigger.open .expand-arrow {
    transform: rotate(180deg);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 10, 0.7);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 95%;
    max-width: 780px;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    box-shadow: var(--shadow-lg);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-red);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(250, 66, 56, 0.3);
}

.modal-close:hover {
    background: var(--primary-red-2);
    transform: rotate(90deg) scale(1.1);
}

.modal-close:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.modal-left {
    background: linear-gradient(160deg, var(--primary-blue-2) 0%, #000 100%);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.modal-left::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-red);
    filter: blur(80px);
    opacity: 0.15;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.modal-video-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    background: black;
}

.modal-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-qr {
    width: 90px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.modal-scan-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

.modal-right {
    padding: 28px;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
}

.modal-right h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.modal-right h2 span {
    color: var(--primary-red);
}

.modal-right>p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 16px;
}

/* Form */
.demo-form {
    display: grid;
    gap: 12px;
}

.form-group label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-section);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-main);
    font-family: 'Avenir', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(250, 66, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-btn);
    background: var(--primary-red);
    border: none;
    color: white;
    font-family: 'Avenir', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.25s ease;
}

.form-submit:hover {
    background: var(--primary-red-2);
    transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease both;
}

/* ============================================================
   VIEWPORT SECTIONS (index.html: hero + Who We Are + Core Capabilities only)
   ============================================================ */
.viewport-sections {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.viewport-sections .hero-banner {
    min-height: 0;
    flex: 0.75;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.viewport-sections .hero-banner-inner {
    flex: 1;
    min-height: 0;
    padding: 24px 32px 20px;
    gap: 32px;
}

.viewport-sections .hero-banner-text h1 {
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.viewport-sections .hero-banner-text p {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.viewport-sections .hero-banner-visual img {
    max-height: 200px;
    max-width: min(200px, 100%);
}

.viewport-sections .who-capabilities-section {
    flex: 1;
    min-height: 0;
    padding: 24px 32px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.viewport-sections .who-capabilities-inner {
    gap: 32px;
}

.viewport-sections .who-col h2,
.viewport-sections .cap-col h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.viewport-sections .who-col>p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.viewport-sections .capability-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    list-style: none;
}

.viewport-sections .capability-checklist li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.viewport-sections .capability-checklist li::before {
    content: none;
}

.viewport-sections .capability-checklist li:hover {
    background: #fff;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cap-item-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.25px;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cap-check {
    width: 24px;
    height: 24px;
    background: #e9f9ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-item-desc {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-muted);
    font-weight: 500;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.viewport-sections .capability-checklist li.active .cap-item-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}

.viewport-sections .capability-checklist li.active .cap-item-title {
    color: var(--primary-red);
}

/* Info Modal Mosaic Background */
.modal-mosaic-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/iso_k/svg/k_iso_circular_w_bg_blue.svg');
    background-size: 60px;
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.info-modal-content {
    position: relative;
    z-index: 1;
}

/* ============================================================
   HERO BANNER (Home — new design matching reference image)
   ============================================================ */
.hero-banner {
    min-height: calc(100vh - var(--header-h));
    background: var(--primary-blue-2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Video background */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay: primary-blue-2 */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary-blue-2);
    opacity: 0.82;
    z-index: 1;
    pointer-events: none;
}

/* Tech grid overlay */
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial glow */
.hero-banner::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(30, 95, 160, 0.6) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-banner-text {
    color: white;
}

.hero-banner-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.hero-banner-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-banner-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero CTAs: pill buttons with colored badge (TALK / MAIL) */
.btn-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #EAEAEA;
    color: #333;
    border: none;
    padding: 3px 14px 3px 3px;
    border-radius: 50px;
    font-family: 'Avenir', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.25px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.btn-hero-pill:hover {
    background: #E0E0E0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.btn-hero-talk .hero-pill-badge {
    background: #FF4B3A;
}

.btn-hero-mail .hero-pill-badge {
    background: #6A3CEF;
}

.hero-pill-arrow {
    margin-left: 1px;
    font-weight: 700;
    font-size: 0.85em;
}

/* "KEEP ME INFORMED" box style from reference */
.btn-inform-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Avenir', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.2;
}

.btn-inform-box span {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    opacity: 0.85;
}

.btn-inform-box:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Hero visual panel (right side) */
.hero-banner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
}

.logo-system-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-system {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pulse-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 40px var(--glow-red);
    position: relative;
    z-index: 11;
    background: var(--primary-blue);
}

/* Orbit rings */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid transparent;
    pointer-events: none;
}

.orbit-ring-1 {
    width: 160px;
    height: 160px;
    border-color: rgba(250, 66, 56, 0.25);
}

.orbit-ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(108, 59, 255, 0.2);
    border-width: 1.5px;
}

.orbit-ring-3 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 0, 0, 0.05);
}

/* Satellites */
.satellite {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    z-index: 5;
}

.sat-1 {
    width: 10px;
    height: 10px;
    background: var(--primary-red);
    box-shadow: 0 0 15px var(--glow-red);
}

.sat-2 {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    box-shadow: 0 0 12px var(--accent-purple);
}

.sat-3 {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Pulse rings */
.pulse-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--primary-red);
    opacity: 0;
    pointer-events: none;
}

.pulse-1 {
    animation: ringPulse 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.pulse-2 {
    animation: ringPulse 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 2s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* ============================================================
   PAGE HERO (non-home pages)
   ============================================================ */
.page-hero {
    padding: 64px 32px 48px;
    background: var(--primary-blue-2);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary-blue-2);
    opacity: 0.82;
    z-index: 1;
    pointer-events: none;
}

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

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 66, 56, 0.08);
    border: 1px solid rgba(250, 66, 56, 0.2);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.page-hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    animation: blink 1.5s ease-in-out infinite;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-hero h1 span {
    color: var(--primary-red);
}

.page-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

/* Override: light text when page-hero has video background */
.page-hero .page-hero-eyebrow {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.page-hero .page-hero-eyebrow::before {
    background: #FFFFFF;
}

.page-hero h1 {
    color: #fff;
}

.page-hero h1 span {
    color: rgba(255, 255, 255, 0.9);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.88);
}

/* Override: buttons in dark hero */
.page-hero .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.page-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
}

/* ============================================================
   WHO WE ARE + CORE CAPABILITIES (two-column, Home)
   ============================================================ */
.who-capabilities-section {
    padding: 72px 32px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.who-capabilities-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Left column — Who We Are */
.who-col h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.who-col>p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.who-extended-content {
    text-align: left;
    padding: 24px;
    background: var(--bg-section);
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-top: 16px;
}

.who-extended-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 12px;
}

.who-extended-content p:last-child {
    margin-bottom: 0;
}

/* Divider between columns */
.who-capabilities-inner .col-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    display: none;
}

/* Right column — Core Capabilities */
.cap-col h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.capability-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.capability-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.capability-checklist li:last-child {
    border-bottom: none;
}

.capability-checklist li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Expanded capabilities grid */
.cap-extended-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.cap-extended-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.cap-extended-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cap-extended-card h4::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-red);
    flex-shrink: 0;
}

.cap-extended-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   CAPABILITY PILLS (kept for other pages)
   ============================================================ */
.pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.pill:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pill svg {
    flex-shrink: 0;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-section {
    padding: 48px 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 600;
}

/* ============================================================
   FIXED SOCIAL SIDEBAR
   ============================================================ */
.fixed-socials {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 900;
    transition: opacity 0.3s ease;
}

.fixed-socials.hidden {
    opacity: 0;
    pointer-events: none;
}

.social-fixed-link {
    width: 34px;
    height: 34px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.social-fixed-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    transform: translateX(3px);
}

.social-fixed-link svg {
    width: 15px;
    height: 15px;
}

/* ============================================================
   ASSIST BANNER (Home — blue banner style from reference)
   ============================================================ */
.assist-banner {
    background: linear-gradient(135deg, #0d2b5e 0%, #1a4a8a 50%, #1e5fa0 100%);
    position: relative;
    overflow: hidden;
}

.assist-banner::before {
    content: '';
    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: 50px 50px;
    pointer-events: none;
}

.assist-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.assist-banner-text .overline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.assist-banner-text .product-name {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.assist-banner-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.35;
}

.assist-banner-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 440px;
}

.assist-banner-img img {
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

/* ============================================================
   AI SOLUTIONS PAGE
   ============================================================ */
.challenge-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.cs-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
}

.cs-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cs-box h3 .cs-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-box.challenge h3 .cs-icon {
    background: rgba(250, 66, 56, 0.1);
    color: var(--primary-red);
}

.cs-box.solution h3 .cs-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.cs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cs-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

.cs-box.challenge .cs-list li::before {
    background: var(--primary-red);
}

.cs-box.solution .cs-list li::before {
    background: #22c55e;
}

/* Healthcare orgs */
.org-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.org-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.org-item svg {
    flex-shrink: 0;
}

.org-item:hover {
    background: var(--bg-card);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Impact list */
.impact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.impact-item svg {
    flex-shrink: 0;
}

.impact-item:hover {
    background: var(--bg-card);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.mv-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.mv-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    border-radius: 0 4px 4px 0;
}

.mv-box h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.mv-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Leadership */
.leadership-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.leadership-item:last-child {
    border-bottom: none;
}

.leadership-item.reverse {
    direction: rtl;
}

.leadership-item.reverse>* {
    direction: ltr;
}

.leadership-photo {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.leadership-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
}

.leadership-photo-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.4;
}

.leadership-photo-placeholder span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-text .role {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.leadership-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.leadership-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Core Values Wheel */
.values-wheel-section {
    padding: 80px 32px;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.values-wheel-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.values-wheel {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.values-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 8px rgba(16, 2, 73, 0.1);
}

.values-center span {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.value-node {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.value-node span {
    font-size: 0.52rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.value-node:hover,
.value-node.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(16, 2, 73, 0.15), var(--shadow-md);
}

.value-node:hover span,
.value-node.active span {
    color: white;
}

.value-detail {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
}

.value-detail h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.value-detail p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Technology Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.philosophy-item {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.phi-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(250, 66, 56, 0.12);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.philosophy-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.philosophy-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Why Kayros */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.why-item:hover {
    border-color: var(--border-h);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.why-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 2, 73, 0.06);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.why-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   INDUSTRY NEWS PAGE
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-h);
}

.news-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.news-card-img .news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-red);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.news-card-link:hover {
    gap: 10px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.contact-detail-item .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(250, 66, 56, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item .ci-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.contact-detail-item .ci-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-form-box>p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ============================================================
   CTA BANNER (reusable)
   ============================================================ */
.cta-banner {
    padding: 80px 32px;
    background: transparent;
    position: relative;
}

.cta-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0A0A1F 0%, #15153A 100%);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(250, 66, 56, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(250, 66, 56, 0.2) 0%, transparent 70%);
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-solution-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-banner-visual {
        display: none;
    }

    .assist-banner-inner {
        grid-template-columns: 1fr;
    }

    .assist-banner-img {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-wheel-container {
        grid-template-columns: 1fr;
    }

    .who-capabilities-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .header-nav {
        display: none;
    }

    .header-assist-badge {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section {
        padding: 48px 16px;
    }

    .section-lg {
        padding: 64px 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .leadership-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .leadership-item.reverse {
        direction: ltr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Fix index.html specific sections */
    .viewport-sections {
        min-height: auto;
        height: auto;
        display: block;
        overflow: visible;
    }

    .viewport-sections .hero-banner-inner {
        display: flex;
        flex-direction: column;
        padding: 80px 16px 40px;
        gap: 24px;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .viewport-sections .who-capabilities-section {
        min-height: auto;
        height: auto;
        overflow: visible;
        padding: 40px 16px;
    }

    .viewport-sections .hero-banner {
        min-height: auto;
        flex: none;
    }

    .viewport-sections .hero-banner-visual {
        display: none !important;
    }

    .viewport-sections .hero-banner-text {
        width: 100%;
    }

    .viewport-sections .hero-banner-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-banner-btns {
        justify-content: center;
    }

    .viewport-sections .who-capabilities-inner {
        flex-direction: column;
        gap: 24px;
    }

    .viewport-sections .capability-checklist {
        grid-template-columns: 1fr;
    }


    .viewport-sections .cap-item-title {
        white-space: normal;
        line-height: 1.4;
    }

    .cta-section {
        padding: 40px 20px !important;
        margin: 20px 10px !important;
    }

    .cta-content {
        gap: 30px !important;
    }

    .org-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .impact-item {
        display: flex;
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cap-extended-grid {
        grid-template-columns: 1fr;
    }

    .who-capabilities-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .assist-banner-inner {
        grid-template-columns: 1fr;
    }

    .hero-banner-inner {
        padding: 48px 16px;
    }

    .hero-banner-text h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-top: 20px;
        -webkit-line-clamp: initial;
        line-clamp: initial;
        overflow: visible;
    }

    .hero-banner-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-banner-text h1 br,
    .hero-banner-text p br {
        display: none;
    }

    .who-capabilities-section {
        padding: 40px 16px;
    }

    .assist-banner-inner {
        padding: 40px 16px;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-right {
        align-items: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-box {
        grid-template-columns: 1fr;
    }

    .modal-left {
        display: none;
    }

    .fixed-socials {
        display: none;
    }

    .values-wheel {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .hero-banner-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .org-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   NEW SECTIONS (IMPORTED FROM WIDGET ANIME)
═══════════════════════════════════════════════════════════ */

/* ─── CTA Section ────────────────────────────────────── */
.cta-section {
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    background: var(--bg-section);
}

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

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-image {
    position: relative;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ─── Features / Values ──────────────────────────────── */
.features-section {
    padding: 120px 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    background: var(--bg-page);
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 16px !important;
    overflow: hidden !important;
}

.feature-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    padding: 28px 20px !important;
    border-radius: var(--radius-card) !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 0 !important;
    box-shadow: var(--shadow-sm) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(250, 66, 56, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(250, 66, 56, 0.4);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(250, 66, 56, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 46px !important;
    height: 46px !important;
    background: linear-gradient(135deg, rgba(250, 66, 56, 0.2) 0%, rgba(108, 59, 255, 0.2) 100%) !important;
    border: 1px solid rgba(250, 66, 56, 0.25) !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
    color: var(--primary-red-2) !important;
    transition: all 0.3s ease !important;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-purple) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px -8px var(--glow-red);
}

.feature-card h3 {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

.feature-card p {
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
}

.card-num {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: rgba(0, 0, 0, 0.03) !important;
    user-select: none !important;
    font-variant-numeric: tabular-nums !important;
}

/* ─── Countdown Section ──────────────────────────────── */
.countdown-section {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-section);
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(16, 2, 73, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.countdown-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 50px;
    border-right: 1px solid var(--glass-border);
}

.countdown-item:last-child {
    border-right: none;
}

.countdown-number {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 200;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -3px;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.countdown-item:hover .countdown-number {
    background: linear-gradient(135deg, var(--primary-red-2) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 16px;
    color: var(--text-dim);
    font-weight: 700;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .countdown-timer {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 20px !important;
    }

    .countdown-item {
        padding: 20px !important;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .countdown-item:nth-child(even) {
        border-right: none;
    }

    .cta-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}