/* ============================================================
   CyTech Consulting — Marketing Site Styles
   Brand colors extracted from SVGLogo.svg
   ============================================================ */

/* Self-hosted variable fonts (latin subset) — no external requests,
   which keeps the CSP strict and avoids subresource-integrity findings */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/sora-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #134363;
    --navy-dark: #0a2540;
    --navy-darker: #061a30;
    --navy-light: #1a5a8a;
    --orange: #f15a29;
    --orange-dark: #d94a1d;
    --orange-light: #ff7043;

    --ink: #0f172a;
    --slate: #475569;
    --slate-light: #94a3b8;
    --mist: #f1f5f9;
    --paper: #f8fafc;
    --white: #ffffff;

    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
    --shadow-md: 0 4px 12px -2px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.06);
    --shadow-lg: 0 20px 40px -12px rgb(15 23 42 / 0.15);
    --shadow-xl: 0 32px 64px -16px rgb(10 37 64 / 0.28);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; }

p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.16rem; color: var(--slate); }

a { color: var(--orange); text-decoration: none; transition: color 160ms ease; }
a:hover { color: var(--orange-dark); }

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

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

::selection { background: rgba(241, 90, 41, 0.25); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background 250ms ease, color 250ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px -8px rgba(241, 90, 41, 0.55);
}
.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px rgba(241, 90, 41, 0.65);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); transform: translateY(-2px); }

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid #dbe4ec;
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

.btn-nav {
    background: var(--navy);
    color: var(--white) !important;
    padding: 0.55rem 1.3rem;
    font-size: 0.95rem;
}
.btn-nav:hover { background: var(--orange); transform: translateY(-1px); }

.btn-large { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.9rem 0;
    transition: padding 300ms var(--ease), background 300ms ease, box-shadow 300ms ease;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header.scrolled { padding: 0.55rem 0; }
.header.scrolled::before { box-shadow: var(--shadow-md); }

.nav { position: relative; }

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img { height: 46px; width: auto; transition: height 300ms var(--ease); }
.header.scrolled .logo-img { height: 40px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a:not(.btn) {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.98rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width 250ms var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--orange); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.mobile-menu-btn span {
    width: 24px; height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 300ms var(--ease), opacity 200ms ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-darker) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.hero-glow-1 {
    width: 560px; height: 560px;
    background: rgba(241, 90, 41, 0.22);
    top: -180px; right: -120px;
    animation: drift 14s ease-in-out infinite alternate;
}
.hero-glow-2 {
    width: 480px; height: 480px;
    background: rgba(26, 90, 138, 0.5);
    bottom: -220px; left: -140px;
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.08); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: 1.4rem; }

.highlight {
    background: linear-gradient(120deg, var(--orange-light), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(241, 90, 41, 0.6);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(241, 90, 41, 0.6); }
    70%  { box-shadow: 0 0 0 9px rgba(241, 90, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 90, 41, 0); }
}

.hero-subtitle {
    font-size: 1.18rem;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}
.stat-plus { color: var(--orange); }

.stat-label { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); margin-top: 0.2rem; }

.stat-divider { width: 1px; height: 46px; background: rgba(255, 255, 255, 0.15); }

/* Hero visual cards */
.hero-visual { position: relative; }

.visual-stack { display: flex; flex-direction: column; gap: 1.25rem; }

.visual-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.4rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}
.vc-1 { margin-right: 2.5rem; animation-delay: 0s; }
.vc-2 { margin-left: 2.5rem; animation-delay: 1.6s; }
.vc-3 { margin-right: 1rem; animation-delay: 3.2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

.visual-card strong { display: block; color: var(--white); font-size: 1rem; font-weight: 600; }
.visual-card span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.visual-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 90, 138, 0.55);
    color: #8fc3ea;
}
.visual-icon.icon-orange { background: rgba(241, 90, 41, 0.22); color: var(--orange-light); }
.visual-icon svg { width: 24px; height: 24px; }

/* ---------- Shared section bits ---------- */
section { padding: 6rem 0; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.section-header p { font-size: 1.1rem; margin-top: 1rem; }

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(241, 90, 41, 0.1);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.badge-light { background: rgba(241, 90, 41, 0.18); color: var(--orange-light); }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }
.delay-4 { transition-delay: 360ms; }

/* Hero reveals fire on load */
.hero .reveal { transition-duration: 900ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- About ---------- */
.about { background: var(--white); }

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.about-text h2 { margin-bottom: 1.4rem; }

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--paper);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--navy);
}
.feature svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }

.about-frame {
    position: relative;
    background: linear-gradient(160deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-lg);
    padding: 2.6rem 2.4rem 3rem;
    box-shadow: var(--shadow-xl);
    overflow: visible;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    position: relative;
    padding-left: 1.6rem;
}
.timeline-track::before {
    content: '';
    position: absolute;
    left: 5px; top: 8px; bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), var(--orange));
    border-radius: 2px;
}

.timeline-item { position: relative; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.6rem; top: 7px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--navy-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}
.timeline-now::before { background: var(--orange); border-color: var(--orange-light); }

.timeline-year {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    font-size: 1.02rem;
}
.timeline-now .timeline-year { color: var(--orange-light); }
.timeline-text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

.experience-badge {
    position: absolute;
    right: -1.4rem; bottom: -1.6rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.4rem;
    text-align: center;
    box-shadow: 0 18px 36px -12px rgba(241, 90, 41, 0.55);
    max-width: 180px;
}
.experience-badge .years {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}
.experience-badge .text { font-size: 0.8rem; font-weight: 500; opacity: 0.92; }

/* ---------- Expertise ---------- */
.expertise { background: var(--paper); }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: var(--radius-md);
    padding: 2rem 1.8rem;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease,
                opacity 700ms var(--ease);
}
.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(241, 90, 41, 0.35);
}

.expertise-card h3 { margin-bottom: 0.6rem; }
.expertise-card p { font-size: 0.95rem; margin: 0; }

.card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(19, 67, 99, 0.09), rgba(19, 67, 99, 0.16));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    transition: background 300ms ease, color 300ms ease;
}
.card-icon svg { width: 26px; height: 26px; }
.expertise-card:hover .card-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
}

/* ---------- AI Solutions ---------- */
.ai-solutions {
    position: relative;
    background: linear-gradient(170deg, var(--navy-darker) 0%, var(--navy-dark) 60%, var(--navy) 100%);
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}

.ai-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.8; }

.ai-solutions h2 { color: var(--white); margin-bottom: 1.2rem; }
.ai-solutions .lead { color: rgba(255, 255, 255, 0.72); margin-bottom: 2.4rem; }

.ai-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.ai-features { display: flex; flex-direction: column; gap: 1.15rem; }

.ai-feature {
    display: flex;
    gap: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
    transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease),
                opacity 700ms var(--ease);
}
.ai-feature:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(241, 90, 41, 0.4);
    transform: translateX(6px);
}

.ai-feature h3 { color: var(--white); margin-bottom: 0.35rem; font-size: 1.08rem; }
.ai-feature p { font-size: 0.92rem; margin: 0; color: rgba(255, 255, 255, 0.65); }

.ai-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(241, 90, 41, 0.16);
    color: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-icon svg { width: 23px; height: 23px; }

/* Orbit diagram */
.ai-visual { display: flex; justify-content: center; }

.ai-diagram {
    position: relative;
    width: 340px; height: 340px;
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}
.ring-1 { inset: 34px; animation: spin 40s linear infinite; }
.ring-2 { inset: -6px; animation: spin 60s linear infinite reverse; }

@keyframes spin { to { transform: rotate(360deg); } }

.diagram-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 116px; height: 116px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: 0 0 70px rgba(241, 90, 41, 0.45);
}
.diagram-center span:first-child { font-size: 1.7rem; line-height: 1; }
.diagram-center span:last-child { font-size: 0.85rem; font-weight: 600; opacity: 0.9; }

.orbit-node {
    position: absolute;
    background: rgba(10, 37, 64, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}
.node-1 { top: 6px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: -18px; transform: translateY(-50%); animation-delay: 1.2s; }
.node-3 { bottom: 6px; left: 50%; transform: translateX(-50%); animation-delay: 2.4s; }
.node-4 { top: 50%; left: -18px; transform: translateY(-50%); animation-delay: 3.6s; }

/* ---------- Customer focus ---------- */
.customer-focus { background: var(--white); }

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.focus-card {
    position: relative;
    background: var(--paper);
    border: 1px solid #e8eef4;
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem 1.8rem;
    overflow: hidden;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease),
                opacity 700ms var(--ease);
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.focus-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms var(--ease);
}
.focus-card:hover::after { transform: scaleX(1); }

.focus-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
}

.focus-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.focus-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Industries ---------- */
.industries { background: var(--paper); }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.industry-card {
    position: relative;
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease,
                opacity 700ms var(--ease);
}
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(19, 67, 99, 0.3);
}

.industry-card.featured {
    background: linear-gradient(150deg, var(--navy-dark), var(--navy));
    border-color: transparent;
    color: rgba(255, 255, 255, 0.72);
}
.industry-card.featured h3 { color: var(--white); }
.industry-card.featured:hover { box-shadow: var(--shadow-xl); }

.industry-badge {
    position: absolute;
    top: 1.3rem; right: 1.3rem;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.industry-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(19, 67, 99, 0.09), rgba(19, 67, 99, 0.16));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}
.industry-icon svg { width: 26px; height: 26px; }
.industry-card.featured .industry-icon {
    background: rgba(241, 90, 41, 0.18);
    color: var(--orange-light);
}

.industry-card h3 { margin-bottom: 0.6rem; }
.industry-card p { font-size: 0.95rem; }

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--orange-light);
    margin-top: 0.4rem;
}
.industry-link:hover { color: var(--white); gap: 0.7rem; }
.industry-link { transition: color 200ms ease, gap 250ms var(--ease); }

/* ---------- CTA ---------- */
.cta { background: var(--white); padding-bottom: 5rem; }

.cta-card {
    position: relative;
    background: linear-gradient(150deg, var(--navy-darker) 0%, var(--navy-dark) 50%, var(--navy) 100%);
    border-radius: var(--radius-xl);
    padding: 4.5rem 2.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-glow {
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(241, 90, 41, 0.18);
    border-radius: 50%;
    filter: blur(90px);
    top: -220px; left: 50%;
    transform: translateX(-50%);
}

.cta-card h2 { position: relative; color: var(--white); max-width: 620px; margin: 0 auto 1.1rem; }
.cta-card p { position: relative; color: rgba(255, 255, 255, 0.72); max-width: 560px; margin: 0 auto 2rem; font-size: 1.08rem; }
.cta-card .btn { position: relative; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1.1rem; }
.contact-info > p { font-size: 1.08rem; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    color: var(--slate);
    transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms ease,
                opacity 700ms var(--ease);
}
a.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 90, 41, 0.4);
    color: var(--slate);
}

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 0.95rem;
}
.contact-item span { font-size: 0.95rem; }

.contact-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(241, 90, 41, 0.1), rgba(241, 90, 41, 0.18));
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid #dbe4ec;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(241, 90, 41, 0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.spinner { animation: spin 0.9s linear infinite; }

/* Hidden by default; script.js toggles element.style.display, which is
   allowed under a strict CSP (unlike inline style attributes in markup) */
.btn-loading { display: none; align-items: center; gap: 0.5rem; }

.form-success, .form-error { display: none; text-align: center; padding: 2rem 1rem; }
.form-success h3, .form-error h3 { margin: 1rem 0 0.5rem; }
.success-icon { color: #16a34a; }
.error-icon { color: #dc2626; }
.success-icon svg, .error-icon svg { margin: 0 auto; }
.form-success .btn, .form-error .btn { margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 52px;
    width: auto;
    background: var(--white);
    border-radius: 10px;
    padding: 6px 12px;
    margin-bottom: 1.1rem;
}

.footer-brand p { font-size: 0.95rem; max-width: 300px; }

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}
.footer-column a:hover { color: var(--orange-light); }

.footer-bottom {
    padding-top: 1.8rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom p { margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 480px; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; gap: 3.5rem; }
    .about-visual { max-width: 520px; }
    .ai-content { grid-template-columns: 1fr; }
    .ai-visual { margin-top: 1rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    section { padding: 4.5rem 0; }
    .hero { padding: 8rem 0 4.5rem; }

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

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        flex-direction: column;
        justify-content: center;
        gap: 2.2rem;
        background: var(--white);
        box-shadow: -20px 0 60px rgba(10, 37, 64, 0.25);
        transform: translateX(100%);
        transition: transform 350ms var(--ease);
        z-index: 105;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a:not(.btn) { font-size: 1.15rem; }

    .hero-stats { gap: 1.4rem; }
    .stat-divider { display: none; }
    .stat { min-width: 100px; }

    .vc-1, .vc-2, .vc-3 { margin-left: 0; margin-right: 0; }

    .expertise-grid { grid-template-columns: 1fr; }
    .focus-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .experience-badge { right: 0.5rem; bottom: -1.4rem; }

    .ai-diagram { width: 300px; height: 300px; }

    .footer-content { grid-template-columns: 1fr; }

    .cta-card { padding: 3.2rem 1.6rem; }

    .contact-form-wrapper { padding: 1.6rem; }
}

@media (max-width: 420px) {
    .hero-cta .btn { width: 100%; }
    .ai-diagram { width: 260px; height: 260px; }
    .node-2 { right: -8px; }
    .node-4 { left: -8px; }
}
