/* ═══════════════════════════════════════════════════════════
   Ground Control Technology (Pty) Ltd
   Main Stylesheet — Light / Dark Mode
   ═══════════════════════════════════════════════════════════ */

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

/* ═══ THEME VARIABLES ═══ */

/* ── Dark Mode (default) ── */
[data-theme="dark"] {
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-nav: rgba(10, 10, 10, 0.85);
    --bg-mobile-menu: rgba(10, 10, 10, 0.97);

    --text-primary: #FFFFFF;
    --text-secondary: #D4D4D4;
    --text-muted: #A3A3A3;
    --text-faint: #737373;
    --text-faintest: #525252;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(249, 115, 22, 0.35);
    --border-divider: rgba(255, 255, 255, 0.06);

    --glass-orange-bg: rgba(249, 115, 22, 0.08);
    --glass-orange-bg-strong: rgba(249, 115, 22, 0.18);
    --glass-orange-border: rgba(249, 115, 22, 0.15);

    --stat-bg: rgba(249, 115, 22, 0.06);
    --stat-border: rgba(249, 115, 22, 0.1);

    --input-bg: rgba(255, 255, 255, 0.04);
    --input-border: rgba(255, 255, 255, 0.08);
    --select-option-bg: #171717;

    --orb1-color: #9A3412;
    --orb2-color: rgba(14, 116, 144, 0.3);
    --orb3-color: rgba(249, 115, 22, 0.15);
    --orb-opacity: 0.3;

    --icon-color: var(--orange-400);
}

/* ── Light Mode ── */
[data-theme="light"] {
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-nav: rgba(250, 250, 250, 0.9);
    --bg-mobile-menu: rgba(250, 250, 250, 0.97);

    --text-primary: #171717;
    --text-secondary: #404040;
    --text-muted: #525252;
    --text-faint: #737373;
    --text-faintest: #A3A3A3;

    --border-subtle: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(234, 88, 12, 0.4);
    --border-divider: rgba(0, 0, 0, 0.08);

    --glass-orange-bg: rgba(249, 115, 22, 0.06);
    --glass-orange-bg-strong: rgba(249, 115, 22, 0.12);
    --glass-orange-border: rgba(249, 115, 22, 0.2);

    --stat-bg: rgba(249, 115, 22, 0.06);
    --stat-border: rgba(249, 115, 22, 0.12);

    --input-bg: rgba(0, 0, 0, 0.03);
    --input-border: rgba(0, 0, 0, 0.12);
    --select-option-bg: #FFFFFF;

    --orb1-color: rgba(249, 115, 22, 0.08);
    --orb2-color: rgba(14, 116, 144, 0.06);
    --orb3-color: rgba(249, 115, 22, 0.05);
    --orb-opacity: 1;

    --icon-color: var(--orange-600);
}

/* ── Static Brand Colors ── */
:root {
    --orange-50: #FFF7ED;
    --orange-100: #FFEDD5;
    --orange-200: #FED7AA;
    --orange-300: #FDBA74;
    --orange-400: #FB923C;
    --orange-500: #F97316;
    --orange-600: #EA580C;
    --orange-700: #C2410C;
    --orange-800: #9A3412;
    --orange-900: #7C2D12;
    --teal-400: #2DD4BF;
    --teal-500: #14B8A6;
    --teal-600: #0D9488;
}


/* ═══ BASE ═══ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.4s ease;
}


/* ═══ LOGO ═══ */
/* Switch between two logo files: light-bg version and dark-bg version */
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: inline-block; }
[data-theme="light"] .logo-light { display: inline-block; }
[data-theme="light"] .logo-dark  { display: none; }


/* ═══ AMBIENT BACKGROUND ═══ */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--orb-opacity);
    transition: opacity 0.5s ease;
}
.orb-1 {
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--orb1-color) 0%, transparent 70%);
    top: -25%; left: -15%;
    animation: floatOrb 25s ease-in-out infinite;
}
.orb-2 {
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--orb2-color) 0%, transparent 70%);
    bottom: -20%; right: -15%;
    animation: floatOrb 30s ease-in-out infinite reverse;
}
.orb-3 {
    width: 35vw; height: 35vw;
    background: radial-gradient(circle, var(--orb3-color) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation: floatOrb 20s ease-in-out infinite 5s;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}


/* ═══ GLASS COMPONENTS ═══ */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}
.glass-orange {
    background: var(--glass-orange-bg);
    border-color: var(--glass-orange-border);
}
.glass-orange:hover {
    background: var(--glass-orange-bg-strong);
    border-color: rgba(249, 115, 22, 0.4);
}


/* ═══ LAYOUT ═══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; z-index: 1; padding: 100px 0; }


/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 { color: var(--text-primary); line-height: 1.15; transition: color 0.4s ease; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--orange-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--orange-500);
    border-radius: 1px;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-faint);
    max-width: 640px;
    margin-top: 16px;
    line-height: 1.7;
}
.text-orange { color: var(--orange-500); }
.text-heading { color: var(--text-primary); }
.fw-600 { font-weight: 600; }
.text-gradient {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-700));
    color: #FFFFFF;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}
.btn-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}
.btn-glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}


/* ═══ THEME TOGGLE ═══ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--orange-500);
}
/* Dark mode: show sun icon, hide moon */
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
/* Light mode: show moon icon, hide sun */
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }


/* ═══ NAVIGATION ═══ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}
nav.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav-links a {
    color: var(--text-faint);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--orange-500); }
.nav-cta { padding: 10px 24px !important; font-size: 0.85rem !important; }

.nav-right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-mobile-menu);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}
.mobile-menu a:hover { color: var(--orange-500); }
.mobile-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}


/* ═══ HERO ═══ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--orange-500);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange-500);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero h1 { margin-bottom: 20px; }
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-faint);
    line-height: 1.7;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
    padding: 48px;
    text-align: center;
    width: 100%;
    max-width: 480px;
}
.hero-card img { width: 220px; margin-bottom: 24px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.stat-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 12px;
    background: var(--stat-bg);
    border: 1px solid var(--stat-border);
}
.stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange-500);
}
.stat-label {
    font-size: 0.7rem;
    color: var(--text-faintest);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}


/* ═══ EXPERTISE CARDS ═══ */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.expertise-card { padding: 36px 28px; }
.expertise-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--icon-color);
}
.expertise-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.expertise-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; }
.expertise-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--orange-500);
    margin-top: 16px;
    margin-right: 6px;
}


/* ═══ 28 YEARS SECTION ═══ */
.years-section {
    background: linear-gradient(180deg, transparent, var(--glass-orange-bg), transparent);
}
.years-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}
.years-big { text-align: center; }
.years-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.years-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-faint);
    margin-top: 8px;
}
.years-list { list-style: none; }
.years-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-divider);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.years-list li::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange-500);
    margin-top: 8px;
    flex-shrink: 0;
}
.years-list strong { color: var(--text-primary); }


/* ═══ SERVICES ═══ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.service-card {
    padding: 36px 32px;
    display: flex;
    gap: 20px;
}
.service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(249, 115, 22, 0.2);
    line-height: 1;
    flex-shrink: 0;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; }
.service-features { list-style: none; margin-top: 14px; }
.service-features li {
    font-size: 0.82rem;
    color: var(--text-faintest);
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-features li::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--orange-500);
    flex-shrink: 0;
}


/* ═══ SEAL WORK ═══ */
.seal-section {
    background: linear-gradient(180deg, transparent, var(--glass-orange-bg), transparent);
}
.seal-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}
.seal-content p {
    font-size: 1rem;
    color: var(--text-faint);
    line-height: 1.7;
    margin-bottom: 20px;
}
.seal-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.seal-highlight {
    padding: 24px 20px;
    text-align: center;
}
.seal-highlight .val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--orange-500);
}
.seal-highlight .label {
    font-size: 0.75rem;
    color: var(--text-faintest);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}
.domain-callout {
    padding: 28px;
    margin-top: 20px;
    text-align: center;
}
.domain-callout p {
    font-size: 0.9rem;
    color: var(--text-faint);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ═══ SECTORS ═══ */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.sector-card {
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
}
.sector-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-500), var(--orange-700));
    opacity: 0;
    transition: opacity 0.3s;
}
.sector-card:hover::before { opacity: 1; }
.sector-icon {
    margin-bottom: 16px;
    color: var(--icon-color);
    display: flex;
    align-items: center;
}
.sector-card h3 { margin-bottom: 8px; font-size: 1rem; }
.sector-card p { font-size: 0.85rem; color: var(--text-faintest); }


/* ═══ CONSULTATION ═══ */
.consult-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}
.consult-steps { list-style: none; counter-reset: step; }
.consult-steps li {
    counter-increment: step;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-divider);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.consult-steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange-500);
    flex-shrink: 0;
    margin-top: 2px;
}
.consult-steps strong { color: var(--text-primary); display: block; margin-bottom: 4px; }
.consult-steps p { font-size: 0.88rem; color: var(--text-faintest); line-height: 1.5; }
.consult-card { padding: 40px 32px; }
.consult-card h3 { margin-bottom: 16px; font-size: 1.3rem; }
.consult-card p { font-size: 0.95rem; color: var(--text-faint); line-height: 1.7; margin-bottom: 16px; }
.consult-card .btn { margin-top: 12px; }


/* ═══ PRODUCTS ═══ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.product-card { padding: 36px 28px; }
.product-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--orange-500);
    margin-bottom: 16px;
}
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; }


/* ═══ PROJECT ASSESSMENT MODAL ═══ */
.assessment-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.assessment-modal[hidden] {
    display: none;
}
.assessment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.assessment-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    padding: 28px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}
.modal-heading {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 360px);
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
    padding-right: 48px;
}
.modal-heading h2 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}
.modal-heading p {
    color: var(--text-faint);
    font-size: 0.9rem;
    line-height: 1.45;
}
.assessment-modal .glass,
.assessment-modal .flow-step,
.assessment-modal .assessment-form {
    opacity: 1 !important;
    transform: none !important;
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}
.modal-close:hover {
    color: var(--orange-500);
    border-color: var(--border-hover);
}
.assessment-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 22px;
    align-items: start;
    margin-top: 0;
}
.assessment-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.flow-step {
    padding: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: flex-start;
    border-radius: 14px;
}
.flow-step.active-route {
    background: var(--glass-orange-bg);
    border-color: var(--glass-orange-border);
}
.flow-step span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--orange-500);
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    border-radius: 8px;
    padding: 7px 8px;
    line-height: 1;
    flex-shrink: 0;
}
.flow-step h3 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.flow-step p {
    font-size: 0.78rem;
    color: var(--text-faint);
    line-height: 1.4;
}
.assessment-form {
    padding: 22px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}
.wizard-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}
.wizard-dot {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
}
.wizard-dot.active,
.wizard-dot.complete {
    background: var(--orange-500);
    border-color: var(--orange-500);
}
.wizard-dot::after {
    content: attr(data-step-label);
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 0.68rem;
    color: var(--text-faintest);
}
.wizard-step {
    display: none;
}
.wizard-step.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 278px;
}
.wizard-step h3 {
    font-size: 1.12rem;
}
.wizard-help {
    color: var(--text-faint);
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: -6px;
}
.wizard-insight,
.wizard-summary {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--glass-orange-bg);
    border: 1px solid var(--glass-orange-border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.45;
}
.wizard-summary {
    background: var(--input-bg);
    border-color: var(--input-border);
}
.wizard-summary dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 5px 12px;
    max-height: 215px;
    overflow: hidden;
}
.wizard-summary dt {
    color: var(--orange-500);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.wizard-summary dd {
    color: var(--text-secondary);
    font-size: 0.78rem;
}
.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}
.wizard-actions .btn[hidden] {
    display: none;
}
.form-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}
.form-section-title:first-child {
    margin-top: 0;
}


/* ═══ CONTACT ═══ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}
.contact-layout > .consult-card {
    align-self: start;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-divider);
}
.contact-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange-500);
    margin-bottom: 4px;
}
.contact-item .value { color: var(--text-secondary); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.assessment-form.contact-form { gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.assessment-form .form-row { gap: 12px; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 11px 14px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    transition: border-color 0.3s;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-faintest);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--orange-500);
}
.contact-form textarea { resize: vertical; min-height: 86px; max-height: 110px; }
.contact-form select { color: var(--text-faint); }
.contact-form select option { background: var(--select-option-bg); }
.contact-form .btn { align-self: flex-start; }


/* ═══ FOOTER ═══ */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-divider);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-faintest); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange-500);
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    color: var(--text-faintest);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--orange-500); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-divider);
    font-size: 0.8rem;
    color: var(--text-faintest);
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .years-layout { grid-template-columns: 1fr; text-align: center; }
    .years-list { margin-top: 32px; }
    .services-grid { grid-template-columns: 1fr; }
    .seal-layout { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .consult-layout { grid-template-columns: 1fr; }
    .assessment-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .nav-links { display: none; }
    .nav-right-mobile { display: flex; }
    .hero { padding-top: 80px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .stat-num { font-size: 1.4rem; }
    .sectors-grid { grid-template-columns: 1fr; }
    .seal-highlights { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .assessment-form { padding: 24px 18px; }
    .assessment-modal { padding: 12px; align-items: stretch; }
    .assessment-dialog { max-height: 100%; padding: 32px 18px 24px; border-radius: 18px; }
    .wizard-summary dl { grid-template-columns: 1fr; }
    .wizard-dot::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
