/* ==========================================================================
   JM INTERACTIVE — SITE STYLES
   Palette derived from the official JM Interactive Logo:
   - Obsidian Dark:   #0b0e14 / #14171c
   - Electric Cyan:   #1de9e2 / #00ffcc
   - Interactive Sky: #2b95ff / #38bdf8
   - Signal White:    #ffffff
   ========================================================================== */

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

:root {
    --jmi-bg: #0b0e14;
    --jmi-bg-elevated: #14171c;
    --jmi-surface: rgba(20, 25, 35, 0.78);
    --jmi-surface-strong: rgba(15, 20, 30, 0.94);
    --jmi-cyan: #1de9e2;
    --jmi-cyan-glow: #00ffcc;
    --jmi-blue: #2b95ff;
    --jmi-sky: #38bdf8;
    --jmi-white: #ffffff;
    --jmi-text: #f1f5f9;
    --jmi-muted: #94a3b8;
    --jmi-border: rgba(255, 255, 255, 0.09);
    --jmi-border-cyan: rgba(29, 233, 226, 0.28);
    --jmi-radius-lg: 24px;
    --jmi-radius-md: 16px;
    --jmi-radius-sm: 12px;
    --jmi-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65);
    --jmi-glow-shadow: 0 0 32px rgba(29, 233, 226, 0.22);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--jmi-bg);
    background-image:
        radial-gradient(circle at 14% 10%, rgba(29, 233, 226, 0.13), transparent 34%),
        radial-gradient(circle at 86% 16%, rgba(43, 149, 255, 0.12), transparent 32%),
        radial-gradient(circle at 50% 90%, rgba(29, 233, 226, 0.07), transparent 40%),
        linear-gradient(180deg, #0b0e14 0%, #101520 50%, #0b0e14 100%);
    color: var(--jmi-text);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Subtle tech grid overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 25%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 25%, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.jmi-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 78px;
    background: rgba(11, 14, 20, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--jmi-border-cyan);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 48px);
    gap: 20px;
}

.jmi-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.jmi-brand-mark {
    width: 44px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(29, 233, 226, 0.35));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.jmi-brand-link:hover .jmi-brand-mark {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(29, 233, 226, 0.65));
}

.jmi-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.jmi-brand-wordmark {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--jmi-white);
    text-transform: uppercase;
}

.jmi-brand-wordmark .cyan {
    color: var(--jmi-cyan);
}

.jmi-brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--jmi-muted);
    font-weight: 600;
    margin-top: 2px;
}

.jmi-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.jmi-nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.78rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 13px;
    border-radius: 999px;
    transition: all 0.22s ease;
}

.jmi-nav-links a:hover,
.jmi-nav-links a.active {
    color: var(--jmi-cyan);
    background: rgba(29, 233, 226, 0.09);
    text-shadow: 0 0 12px rgba(29, 233, 226, 0.45);
}

.jmi-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--jmi-cyan) 0%, #10b9d8 100%);
    color: #061017;
    box-shadow: 0 8px 25px rgba(29, 233, 226, 0.28);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5ffbf6 0%, var(--jmi-cyan) 100%);
    color: #040a0f;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(29, 233, 226, 0.48);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(29, 233, 226, 0.35);
    color: var(--jmi-white);
}

.btn-outline:hover {
    background: rgba(29, 233, 226, 0.1);
    border-color: var(--jmi-cyan);
    color: var(--jmi-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 233, 226, 0.16);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--jmi-border);
    color: #e2e8f0;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--jmi-white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.74rem;
    border-radius: 10px;
}

/* ==========================================================================
   PAGE SHELL & HERO
   ========================================================================== */
.jmi-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 104px 24px 80px;
    position: relative;
    z-index: 2;
}

.jmi-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 44px;
    align-items: center;
    padding: 36px 0 64px;
    min-height: calc(90vh - 100px);
}

#jmiHomeParticles {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.jmi-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(29, 233, 226, 0.09);
    border: 1px solid rgba(29, 233, 226, 0.3);
    color: var(--jmi-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.jmi-eyebrow .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jmi-cyan);
    box-shadow: 0 0 10px var(--jmi-cyan);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.jmi-hero h1 {
    font-family: 'Plus Jakarta Sans', 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 4.8vw, 4.35rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.03em;
    margin: 0 0 22px;
    color: var(--jmi-white);
}

.jmi-hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--jmi-cyan) 0%, #60a5fa 60%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.jmi-hero-lead {
    color: #cbd5e1;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.68;
    margin: 0 0 32px;
    max-width: 640px;
}

.jmi-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.jmi-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.jmi-metric-card {
    background: rgba(20, 25, 36, 0.7);
    border: 1px solid var(--jmi-border);
    border-left: 3px solid var(--jmi-cyan);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(10px);
}

.jmi-metric-card strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.92rem;
    color: var(--jmi-white);
    margin-bottom: 3px;
}

.jmi-metric-card span {
    font-size: 0.8rem;
    color: var(--jmi-muted);
}

/* Right Hero Intro Card */
.jmi-hero-showcase {
    position: relative;
    background: linear-gradient(155deg, rgba(20, 23, 28, 0.95) 0%, rgba(11, 14, 20, 0.96) 100%);
    border: 1px solid rgba(29, 233, 226, 0.32);
    border-radius: 28px;
    padding: 36px 28px 28px;
    box-shadow: var(--jmi-shadow), 0 0 55px rgba(29, 233, 226, 0.14);
    text-align: center;
    overflow: hidden;
}

.jmi-hero-showcase::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 70%;
    background: radial-gradient(circle, rgba(29, 233, 226, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.jmi-hero-logo-frame {
    position: relative;
    z-index: 1;
    background: #14171c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    margin-bottom: 22px;
    box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.55);
}

.jmi-hero-logo-img {
    width: 100%;
    max-width: 310px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(29, 233, 226, 0.22));
    transition: transform 0.35s ease;
}

.jmi-hero-showcase:hover .jmi-hero-logo-img {
    transform: scale(1.03);
}

.jmi-showcase-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.jmi-showcase-chip {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--jmi-border);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}

.jmi-showcase-chip small {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--jmi-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.jmi-showcase-chip strong {
    font-size: 0.8rem;
    color: var(--jmi-white);
}

.jmi-showcase-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--jmi-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--jmi-muted);
}

.jmi-showcase-footer a {
    color: var(--jmi-cyan);
    text-decoration: none;
    font-weight: 600;
}

.jmi-showcase-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.jmi-section {
    margin-top: 110px;
    position: relative;
}

.jmi-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
}

.jmi-section-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jmi-cyan);
    margin-bottom: 10px;
}

.jmi-section-header h2 {
    font-family: 'Plus Jakarta Sans', 'Orbitron', sans-serif;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--jmi-white);
    letter-spacing: -0.02em;
}

.jmi-section-header p {
    color: var(--jmi-muted);
    font-size: 1.08rem;
    margin: 0;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.jmi-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jmi-solution-card {
    background: var(--jmi-surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--jmi-border);
    border-radius: var(--jmi-radius-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jmi-solution-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--jmi-cyan), var(--jmi-blue));
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.jmi-solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 233, 226, 0.42);
    box-shadow: var(--jmi-shadow), var(--jmi-glow-shadow);
}

.jmi-solution-card:hover::after {
    opacity: 1;
}

.jmi-solution-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.jmi-solution-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(29, 233, 226, 0.1);
    border: 1px solid rgba(29, 233, 226, 0.3);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.jmi-solution-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(43, 149, 255, 0.12);
    border: 1px solid rgba(43, 149, 255, 0.32);
    color: #7dd3fc;
}

.jmi-solution-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.42rem;
    font-weight: 700;
    color: var(--jmi-white);
    margin: 0 0 12px;
}

.jmi-solution-card p {
    color: #cbd5e1;
    font-size: 0.98rem;
    margin: 0 0 20px;
    line-height: 1.65;
}

.jmi-Deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 8px;
}

.jmi-Deliverables-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.jmi-Deliverables-list li::before {
    content: "✦";
    color: var(--jmi-cyan);
    font-size: 0.85rem;
}

/* ==========================================================================
   SIMPLE PROJECT PROCESS
   ========================================================================== */
.jmi-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.jmi-step-card {
    background: rgba(20, 25, 35, 0.65);
    border: 1px solid var(--jmi-border);
    border-radius: 18px;
    padding: 26px 22px;
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.jmi-step-card:hover {
    border-color: var(--jmi-border-cyan);
    transform: translateY(-4px);
}

.jmi-step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--jmi-cyan);
    background: rgba(29, 233, 226, 0.1);
    border: 1px solid rgba(29, 233, 226, 0.28);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.jmi-step-card h3 {
    font-size: 1.12rem;
    color: var(--jmi-white);
    margin: 0 0 8px;
}

.jmi-step-card p {
    font-size: 0.9rem;
    color: var(--jmi-muted);
    margin: 0;
}

/* ==========================================================================
   INTERACTIVE LAB / GAMES & IT CARDS
   ========================================================================== */
.jmi-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.jmi-feature-card {
    background: var(--jmi-surface);
    border: 1px solid var(--jmi-border);
    border-radius: var(--jmi-radius-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.jmi-feature-card:hover {
    border-color: var(--jmi-border-cyan);
    transform: translateY(-5px);
    box-shadow: var(--jmi-shadow), var(--jmi-glow-shadow);
}

.jmi-feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.38rem;
    color: var(--jmi-white);
    margin: 12px 0 10px;
}

.jmi-feature-card p {
    color: #cbd5e1;
    margin: 0 0 24px;
}

/* ==========================================================================
   CTA BANNER (REPLACES BULKY BOTTOM FORM ON INDEX)
   ========================================================================== */
.jmi-cta-banner {
    margin-top: 110px;
    background:
        radial-gradient(circle at 85% 20%, rgba(29, 233, 226, 0.2), transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(43, 149, 255, 0.18), transparent 45%),
        linear-gradient(145deg, rgba(20, 26, 38, 0.95), rgba(11, 14, 20, 0.98));
    border: 1px solid rgba(29, 233, 226, 0.35);
    border-radius: 28px;
    padding: 48px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    box-shadow: var(--jmi-shadow), 0 0 50px rgba(29, 233, 226, 0.12);
}

.jmi-cta-copy {
    max-width: 620px;
}

.jmi-cta-copy h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--jmi-white);
    margin: 8px 0 12px;
}

.jmi-cta-copy p {
    color: #cbd5e1;
    margin: 0;
    font-size: 1.05rem;
}

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

/* ==========================================================================
   SLIDE-OUT PROJECT INQUIRY & CONTACT DRAWER
   ========================================================================== */
.jmi-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 12, 0.72);
    backdrop-filter: blur(6px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.jmi-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.jmi-contact-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(480px, 100vw);
    height: 100vh;
    background: #10141d;
    border-left: 1px solid rgba(29, 233, 226, 0.35);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.75);
    z-index: 10001;
    transform: translateX(104%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.jmi-contact-drawer.open {
    transform: translateX(0);
}

.jmi-drawer-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--jmi-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    background: rgba(16, 20, 29, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2;
}

.jmi-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jmi-drawer-brand img {
    width: 36px;
    height: 30px;
    object-fit: contain;
}

.jmi-drawer-brand h3 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--jmi-white);
}

.jmi-drawer-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--jmi-border);
    color: #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.jmi-drawer-close:hover {
    background: rgba(29, 233, 226, 0.15);
    border-color: var(--jmi-cyan);
    color: var(--jmi-cyan);
}

.jmi-drawer-body {
    padding: 28px;
    flex: 1;
}

.jmi-form-grid {
    display: grid;
    gap: 16px;
}

.jmi-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.jmi-input,
.jmi-select,
.jmi-textarea {
    width: 100%;
    background: rgba(8, 11, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--jmi-white);
    font-family: inherit;
    font-size: 0.96rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jmi-textarea {
    min-height: 115px;
    resize: vertical;
}

.jmi-input:focus,
.jmi-select:focus,
.jmi-textarea:focus {
    outline: none;
    border-color: var(--jmi-cyan);
    box-shadow: 0 0 0 3px rgba(29, 233, 226, 0.15);
}

.jmi-form-status {
    margin-top: 12px;
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 10px 14px;
    display: none;
}

.jmi-form-status.success {
    display: block;
    background: rgba(29, 233, 226, 0.12);
    border: 1px solid rgba(29, 233, 226, 0.4);
    color: var(--jmi-cyan);
}

.jmi-form-status.error {
    display: block;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fda4af;
}

/* ==========================================================================
   CONTACT PAGE LAYOUTS
   ========================================================================== */
.jmi-contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.jmi-info-stack {
    display: grid;
    gap: 20px;
}

.jmi-info-card {
    background: var(--jmi-surface);
    border: 1px solid var(--jmi-border);
    border-radius: 20px;
    padding: 26px;
}

.jmi-info-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--jmi-white);
}

.jmi-info-card p {
    margin: 0;
    color: var(--jmi-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.jmi-footer {
    margin-top: 120px;
    border-top: 1px solid var(--jmi-border);
    background: rgba(9, 12, 18, 0.9);
    padding: 64px 24px 40px;
    position: relative;
    z-index: 2;
}

.jmi-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--jmi-border);
}

.jmi-footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jmi-white);
    margin: 0 0 16px;
}

.jmi-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.jmi-footer-col a {
    color: var(--jmi-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.jmi-footer-col a:hover {
    color: var(--jmi-cyan);
}

.jmi-footer-bottom {
    max-width: 1240px;
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--jmi-muted);
    font-size: 0.86rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .jmi-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 20px;
    }
    .jmi-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jmi-solutions-grid > .jmi-solution-card:last-child,
    .jmi-process-grid > .jmi-step-card:last-child {
        grid-column: 1 / -1;
    }
    .jmi-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .jmi-contact-layout {
        grid-template-columns: 1fr;
    }
    .jmi-footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .jmi-navbar {
        height: auto;
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    .jmi-nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }
    .jmi-nav-links a {
        white-space: nowrap;
    }
    .jmi-page {
        padding-top: 132px;
    }
    .jmi-solutions-grid,
    .jmi-metrics-strip,
    .jmi-process-grid,
    .jmi-footer-inner {
        grid-template-columns: 1fr;
    }
    .jmi-solutions-grid > .jmi-solution-card:last-child,
    .jmi-process-grid > .jmi-step-card:last-child {
        grid-column: auto;
    }
    .jmi-cta-banner {
        padding: 32px 24px;
    }
}

#services {
    scroll-margin-top: 100px;
}
