/* ==============================================
   DUBIDOX — Premium Enterprise Theme
   ============================================== */

:root {
    --blue-900: #002266;
    --blue-800: #003397;
    --blue-700: #004CB3;
    --blue-600: #0160C2;
    --blue-500: #1D80E5;
    --blue-400: #60A5FA;
    --blue-darker: #003397;
    --blue-100: #DBEAFE;
    --blue-50: #EFF6FF;
    --indigo: #4F46E5;
    --violet: #7C3AED;

    --navy: #060D1F;
    --navy-800: #0B1426;
    --navy-700: #0F172A;
    --navy-600: #1E293B;

    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50: #F8FAFC;
    --white: #FFFFFF;

    --border: #E2E8F0;
    --border-md: #CBD5E1;
    --accent: #0160C2;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-blue: 0 8px 20px rgba(1, 96, 194, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Legacy */
    --bg-dark: var(--white);
    --bg-darker: var(--gray-50);
    --bg-card: var(--white);
    --brand-blue: var(--blue-600);
    --text-main: var(--gray-900);
    --text-muted: var(--gray-500);
    --border-color: var(--border);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--gray-600);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
}

a {
    text-decoration: none;
}

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

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ── Typography ─────────────────────────────── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-600);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--blue-600);
    border-radius: 2px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-darker) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.align-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 32px;
}

.text-center {
    text-align: center;
}

/* ── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
    border: 1px solid var(--blue-600);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(1, 96, 194, 0.38);
}

/* Ghost button for dark hero */
.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 12px 26px;
    font-weight: 500;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Light outline for body sections */
.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--border);
    font-weight: 500;
    padding: 11px 24px;
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--gray-400);
    box-shadow: var(--shadow-md);
}

.btn-text {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 13px 18px;
    border: none;
    font-weight: 500;
}

.btn-text:hover {
    color: var(--white);
}

/* ── Navbar ─────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    z-index: 200;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: height 0.25s ease, box-shadow 0.25s ease;
}

/* Blue accent line across top */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-darker) 100%);
}

/* Scrolled state — shadow deepens, height stays the same */
.navbar.scrolled {
    box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    height: 50px;
}

.brand-wordmark {
    font-size: 17px;
    font-weight: 400;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Nav links — flat, with animated underline on active/hover */
.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-center a {
    position: relative;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    transition: color 0.18s;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--blue-600);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-center a:hover {
    color: var(--blue-600);
    font-weight: 600;
}

.nav-center a:hover::after {
    transform: scaleX(1);
    background: var(--blue-600);
}

.nav-center a.active {
    color: var(--blue-600);
    font-weight: 600;
}

.nav-center a.active::after {
    transform: scaleX(1);
    background: var(--blue-600);
}

/* Divider between links and CTA */
.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    margin: 0 8px;
}

/* Nav right side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    background: var(--blue-600);
    color: var(--white);
    border: 1px solid var(--blue-600);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-blue);
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-cta:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(1, 96, 194, 0.38);
}

.nav-cta.active {
    background: var(--blue-700);
    border-color: var(--blue-700);
}

.nav-cta-arrow {
    font-size: 14px;
    transition: transform 0.18s;
}

.nav-cta:hover .nav-cta-arrow {
    transform: translateX(3px);
}

/* Legacy compat */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.18s;
}

.nav-links a:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-links a.active {
    color: var(--blue-600);
    background: var(--blue-50);
    font-weight: 600;
}

.nav-links .btn-outline {
    background: var(--blue-600);
    color: var(--white);
    border: 1px solid var(--blue-600);
    box-shadow: var(--shadow-blue);
    padding: 8px 20px;
    font-size: 14px;
}

.nav-links .btn-outline:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

.nav-links .btn-outline.btn-current {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

/* ── HERO ───────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 0;
    background: var(--navy);
}

/* Animated gradient background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(1, 96, 194, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 85% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 10% 60%, rgba(30, 58, 138, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

/* Dot grid texture */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-bg,
.hero-orb {
    display: none;
}

/* Homepage split hero */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(1, 96, 194, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero h1 {
    font-size: 4.4rem;
    letter-spacing: -3px;
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.0;
}

.accent-text {
    background: linear-gradient(90deg, #60A5FA 0%, #0160C2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.62);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 52px;
}

/* Stats row in hero */
.hero-stats {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.hero-stat {
    flex: 1;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

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

.hero-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* Hero right side visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card-stack {
    position: relative;
}

.hero-card-stack .mockup-window {
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

/* Floating info cards on hero visual */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: float 4s ease-in-out infinite alternate;
}

.hero-float-card.card-1 {
    bottom: -20px;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    top: 30px;
    right: -25px;
    animation-delay: 1.5s;
}

@keyframes float {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-10px);
    }
}

.hero-float-card .fc-label {
    font-size: 10px;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.hero-float-card .fc-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.hero-float-card .fc-sub {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 2px;
}

.fc-green {
    color: #10B981;
}

.fc-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

/* Sub-page hero (full width, no split) */
.hero.page-hero {
    padding: 160px 0 80px;
}

.hero.page-hero .hero-inner {
    grid-template-columns: 1fr;
    max-width: 720px;
    padding-bottom: 0;
}

.hero.page-hero .hero-content {
    max-width: 720px;
}

.hero.page-hero h1 {
    font-size: 3.4rem;
    letter-spacing: -2px;
}

.glass-hero {
    padding: 0 !important;
}

/* ── Tech strip ─────────────────────────────── */
.tech-strip {
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.tech-strip-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-strip-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    margin-right: 8px;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    box-shadow: var(--shadow-xs);
    white-space: nowrap;
}

/* ── Section layout ─────────────────────────── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 72px 0;
}

.dark-section {
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.blue-section {
    background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 100%);
    border-top: 1px solid var(--blue-100);
    border-bottom: 1px solid var(--blue-100);
}

.section-header {
    margin-bottom: 56px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-top: 12px;
    max-width: 540px;
    line-height: 1.75;
}

.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.sticky-side {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.scroll-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Badge ──────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1px solid var(--blue-100);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* ── Service cards ──────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(1, 96, 194, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--blue-200);
}

/* Icon header area */
.service-icon {
    background: linear-gradient(135deg, #EFF6FF 0%, #E0EAFF 100%);
    border-bottom: 1px solid var(--blue-100);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.28s;
    width: 100%;
    margin-bottom: 0;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #DBEAFE 0%, #C7D7FD 100%);
}

.service-icon-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue-400);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Card body */
.service-card-body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.75;
    flex: 1;
}

.service-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    margin-top: 20px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.22s ease;
}

.service-card:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Services list (homepage) ───────────────── */
.svc-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 56px;
}

.svc-header-right p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.8;
}

.svc-list {
    border-top: 1px solid var(--border);
}

.svc-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px 20px;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.svc-row:hover {
    background: var(--gray-50);
    border-color: var(--blue-100);
}

.svc-row:hover .svc-num {
    color: var(--blue-600);
}

.svc-row:hover .svc-icon-box {
    background: var(--blue-600);
    border-color: var(--blue-600);
}

.svc-row:hover .svc-icon-box svg {
    stroke: #fff;
}

.svc-row:hover .svc-arrow {
    opacity: 1;
    transform: translateX(0);
}

.svc-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: 1px;
    min-width: 24px;
    transition: color 0.2s;
}

.svc-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.svc-content {
    flex: 1;
}

.svc-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.svc-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
}

.svc-arrow {
    font-size: 20px;
    color: var(--blue-500);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.22s ease;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .svc-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .svc-num {
        display: none;
    }

    .svc-arrow {
        display: none;
    }

    .svc-row {
        gap: 16px;
        padding: 20px 0;
    }
}

/* ── Service Accordion ──────────────────────── */
.svc-accordion {
    /* open, no card */
}

.svc-item {
    border-top: 1px solid var(--border);
}

.svc-item:last-child {
    border-bottom: 1px solid var(--border);
}

.svc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    gap: 12px;
}

.svc-trigger:hover {
    background: none;
}

.svc-trigger:hover .svc-item-title {
    color: var(--gray-900);
}

.svc-item.active .svc-trigger {
    background: none;
}

.svc-trigger-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.svc-item-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: 1px;
    min-width: 20px;
    transition: color 0.2s;
}

.svc-item.active .svc-item-num {
    color: var(--blue-500);
}

.svc-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gray-500);
    transition: all 0.2s;
}

.svc-item.active .svc-item-icon {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(1, 96, 194, 0.3);
}

.svc-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.svc-item.active .svc-item-title {
    color: var(--gray-900);
}

.svc-item-toggle {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.28s ease, color 0.2s;
}

.svc-item.active .svc-item-toggle {
    transform: rotate(180deg);
    color: var(--blue-600);
}

.svc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s ease;
}

.svc-item.active .svc-body {
    grid-template-rows: 1fr;
}

.svc-body>div {
    overflow: hidden;
    padding: 0 0 0 66px;
}

.svc-item.active .svc-body>div {
    padding-bottom: 26px;
}

.svc-body p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 14px;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--blue-600);
}

/* ── About open items ───────────────────────── */
.about-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.about-item:last-child {
    border-bottom: 1px solid var(--border);
}

.about-item .icon-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
}

.about-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.about-item p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

/* ── Values icon grid ───────────────────────── */
.values-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 56px;
    background: var(--border);
}

.value-icon-item {
    background: var(--gray-50);
    padding: 48px 52px;
    transition: background 0.22s;
}

.value-icon-item:hover {
    background: var(--white);
}

.value-icon-item svg {
    color: var(--blue-600);
    margin-bottom: 20px;
    display: block;
}

.value-icon-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.value-icon-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin: 0;
}

.icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-600);
}

/* ── CTA Band ───────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--blue-900) 60%, var(--blue-800) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

.cta-band::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(1, 96, 194, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-band-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-band h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.cta-band-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

/* ── Product Showcase ───────────────────────── */
.product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 56px;
}

.product-logo {
    height: 34px;
    margin-bottom: 24px;
}

.product-content h3 {
    font-size: 1.85rem;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.product-content p {
    color: var(--gray-500);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.product-highlights {
    list-style: none;
    margin-bottom: 8px;
}

.product-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-700);
    font-size: 0.93rem;
    font-weight: 500;
}

.product-highlights span {
    width: 22px;
    height: 22px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Mockup window ──────────────────────────── */
.mockup-window {
    background: var(--navy-600);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.mockup-header {
    height: 36px;
    background: var(--navy-700);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 7px;
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.mockup-body {
    padding: 20px;
    display: flex;
    gap: 14px;
    height: 280px;
}

.mockup-skeleton.nav {
    width: 52px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.mockup-skeleton.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-skeleton.graph {
    height: 130px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.mockup-skeleton.card {
    flex: 1;
    height: 90px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* ── Feature grid ───────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 56px;
    background: var(--border);
}

.feature-detail {
    padding: 40px 44px;
    background: var(--white);
    transition: background 0.22s;
}

.feature-detail:hover {
    background: var(--blue-50);
}

.feature-detail svg {
    color: var(--blue-600);
    margin-bottom: 18px;
    display: block;
}

.feature-detail h4 {
    color: var(--gray-900);
    margin-bottom: 8px;
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.feature-detail p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.8;
}

/* ── Process steps ──────────────────────────── */
/* ── Process Timeline ────────────────────────── */
/* ── HOW WE WORK (Dubicore-style steps) ── */
.how-section {
    background: var(--blue-50);
    border-top: 1px solid var(--blue-100);
    border-bottom: 1px solid var(--blue-100);
    padding: 96px 0;
}

.how-steps-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.how-steps-wrap::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 10px);
    right: calc(12.5% + 10px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue-600) 0%, rgba(1, 96, 194, 0.2) 100%);
    z-index: 0;
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.how-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-600);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px rgba(1, 96, 194, 0.12);
}

.how-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.how-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.65;
}

@media (max-width: 860px) {
    .how-steps-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .how-steps-wrap::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .how-steps-wrap {
        grid-template-columns: 1fr;
    }
}

/* ── (legacy) ── */
.timeline-wrapper {
    position: relative;
    padding-top: 24px;
}

/* The horizontal path line */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 56px; /* Centered with marker dots */
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-md);
    z-index: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.process-step {
    padding-right: 48px;
    text-align: left;
}

.process-step:last-child {
    padding-right: 0;
}

.step-marker {
    height: 64px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--blue-600);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 4px var(--white);
}

.process-step:hover .step-dot {
    background: var(--blue-600);
    transform: scale(1.4);
    box-shadow: 0 0 0 6px var(--white), 0 0 20px rgba(1, 96, 194, 0.4);
}

.step-num {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-600);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.process-step:hover .step-num {
    opacity: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--gray-900);
    transition: color 0.3s;
}

.process-step:hover h4 {
    color: var(--blue-600);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .process-step {
        padding-right: 24px;
    }
}

/* ── Job list ───────────────────────────────── */
.job-list {
    margin-top: 48px;
}

.job-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
    padding: 36px 0;
    border-top: 1px solid var(--border);
    transition: border-top-color 0.2s;
}

.job-item:last-child {
    border-bottom: 1px solid var(--border);
}

.job-item:hover {
    border-top-color: var(--blue-400);
}

.job-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 700px;
    margin-bottom: 0;
}

/* ── Application modal ──────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 31, 0.55);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    padding: 48px;
    position: relative;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 92vh;
    overflow-y: auto;
}

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

.close-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    border: 1px solid var(--border);
    color: var(--gray-500);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.app-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fg label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.fg input,
.fg textarea {
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--gray-900);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.18s;
}

.fg input:focus,
.fg textarea:focus {
    background: var(--white);
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(1, 96, 194, 0.1);
}

.fg input:-webkit-autofill,
.fg input:-webkit-autofill:hover,
.fg input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--gray-50) inset !important;
    -webkit-text-fill-color: var(--gray-900) !important;
}

/* ── Contact page ───────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 108px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.contact-detail-item:hover {
    border-color: var(--blue-100);
    background: var(--blue-50);
    transform: translateX(4px);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}

.contact-detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.contact-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-step:first-child {
    padding-top: 0;
}

.contact-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-step-num {
    width: 30px;
    height: 30px;
    color: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
    letter-spacing: 0;
}

.contact-step h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.contact-step p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.75;
}

.contact-form-card {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.05), 0 16px 32px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card-header {
    margin-bottom: 40px;
}

.card-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.card-header p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .contact-form-card {
        padding: 28px 20px;
    }
}

.submit-btn {
    background: var(--blue-600);
    color: var(--white);
    border: 1px solid var(--blue-600);
    box-shadow: var(--shadow-blue);
    padding: 13px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(1, 96, 194, 0.38);
}

@media (max-width: 640px) {
    .modal-content {
        padding: 28px 20px;
    }
}

/* ── Legal pages ────────────────────────────── */
.legal-page {
    padding: 120px 0 100px;
    background: var(--gray-50);
    min-height: 100vh;
}

.legal-container {
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 64px;
    box-shadow: var(--shadow-md);
}

.legal-container h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    text-align: center;
}

.legal-container h2 {
    font-size: 1.1rem;
    margin-top: 36px;
    margin-bottom: 12px;
    border-left: 3px solid var(--blue-600);
    padding-left: 14px;
    font-weight: 700;
}

.legal-container p {
    color: var(--gray-500);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-container ul {
    margin-left: 20px;
    margin-bottom: 24px;
    color: var(--gray-500);
}

.legal-container li {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 15px;
}

.legal-container strong {
    color: var(--gray-900);
    font-weight: 600;
}

.legal-container a {
    color: var(--blue-600);
}

.legal-container a:hover {
    text-decoration: underline;
}

.last-updated {
    text-align: center;
    color: var(--blue-600);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 44px;
    display: block;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 36px 20px;
        margin: 0 16px;
        border-radius: 16px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}

/* ── Footer ─────────────────────────────────── */
.site-footer {
    padding: 72px 0 36px;
    background: var(--gray-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.18s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-500);
    font-size: 13px;
}

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

.socials a {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}

.socials a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Validation ─────────────────────────────── */
.field-error {
    display: block;
    color: #DC2626;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

.input-invalid {
    border-color: #FCA5A5 !important;
    background: #FFF5F5 !important;
}

/* ── Animations ─────────────────────────────── */
.hide-on-load {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────── */
/* ── Hamburger (mobile) ─────────────────────── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    padding: 0 10px;
    transition: all 0.18s;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.22s ease;
}

.nav-hamburger:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    z-index: 199;
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 4px;
}

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

.nav-mobile a {
    display: block;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.18s;
}

.nav-mobile a:hover {
    color: var(--gray-900);
    background: var(--gray-50);
}

.nav-mobile a.active {
    color: var(--blue-600);
    background: var(--blue-50);
    font-weight: 600;
}

.nav-mobile .nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 13px;
    background: var(--blue-600);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.nav-mobile .nav-mobile-cta:hover {
    background: var(--blue-700);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 960px) {

    .nav-center,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

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

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 3.4rem;
    }

    .hero.page-hero h1 {
        font-size: 2.8rem;
    }

    .layout-split,
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-side {
        position: relative;
        top: 0;
    }

    .feature-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .value-icon-item {
        padding: 36px 32px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .timeline-wrapper::before {
        display: none;
    }

    .feature-detail {
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {

    /* Typography */
    .hero h1 {
        font-size: 2.4rem;
        letter-spacing: -2px;
    }

    .hero.page-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-band h2 {
        font-size: 1.8rem;
    }

    /* Layout */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .layout-split {
        gap: 32px;
    }

    .timeline-wrapper::before {
        display: block;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-step {
        display: flex;
        gap: 24px;
        padding-right: 0;
    }

    .step-marker {
        margin-bottom: 0;
        height: auto;
        padding-top: 8px;
    }

    .step-num {
        display: none;
    }

    .step-dot {
        box-shadow: 0 0 0 10px var(--white);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-showcase {
        gap: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hero */
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .hero-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .hero-badge {
        font-size: 11px;
    }

    /* Cards */
    .info-card {
        padding: 24px;
    }

    .service-card {
        padding: 24px;
    }

    .job-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .job-item .btn {
        align-self: flex-start;
    }

    .process-step {
        padding: 20px 0 0 0;
    }

    /* CTA band */
    .cta-band {
        padding: 56px 0;
    }

    .cta-band-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cta-band-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Legal */
    .legal-container {
        padding: 32px 20px;
    }

    /* Modal */
    .fg-row {
        grid-template-columns: 1fr !important;
    }
}