@font-face {
    font-family: 'Satoshi';
    src: url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
}

:root {
    --bg-primary: #F8F7F2;
    --bg-secondary: #ffffff;
    --bg-dark: #0A2351;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #1E5BA8;
    --accent-secondary: #0A2351;
    --accent-gold: #1E5BA8;
    --accent-dark: #0A2351;
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(0, 0, 0, 0.12);
    --gradient-premium: linear-gradient(135deg, #1E5BA8 0%, #0A2351 100%);
    --gradient-dark: linear-gradient(180deg, #F8F7F2 0%, #EFECE1 50%, #F8F7F2 100%);
    
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.7) 45%, transparent 45%),
        linear-gradient(225deg, transparent 55%, rgba(255,255,255,0.5) 55%, rgba(255,255,255,0.5) 65%, transparent 65%),
        linear-gradient(315deg, transparent 30%, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.6) 40%, transparent 40%),
        linear-gradient(45deg, transparent 60%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0.4) 75%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    body::before,
    body::after {
        display: none;
    }
}

/* ================================
   CONTAINER
================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
}

/* ================================
   CONTACT BAR
================================ */
.contact-bar {
    background: var(--accent-secondary);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    transition: transform 0.35s ease;
}

.contact-bar.scrolled {
    /* always visible — no slide away */
}

.contact-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
}

.contact-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.contact-bar-item:hover {
    color: #ffffff;
}

.contact-bar-item svg {
    opacity: 0.8;
}

/* ================================
   HEADER
================================ */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background: rgba(248, 247, 242, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    top: 36px; /* stay below contact bar */
    padding: 0.5rem 0;
}

.header-inner {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0.75rem var(--space-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 56px;
    width: auto;
}

/* Nav Dropdown */
.nav-dropdown {
    position: absolute;
    right: var(--space-xl);
    top: 50%;
    transform: translateY(-50%);
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.nav-dropdown-btn:hover {
    background: none;
    color: var(--accent);
}

.nav-dropdown-btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nav-dropdown-btn[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.nav-dropdown-panel {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    padding: 0.75rem;
    min-width: 260px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin: 0.5rem 0.75rem;
}

.nav-dropdown-cta {
    color: var(--accent) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

.nav-dropdown-link {
    display: block;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    background: rgba(30, 91, 168, 0.07);
    color: var(--accent);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(30, 91, 168, 0.07);
    color: var(--accent);
}

.nav-cta {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 102;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Full Screen Mobile Menu - CGI Style */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 1000;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem var(--space-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-header .logo-img {
    height: 32px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--accent);
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-md);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.02);
}

.mobile-menu-footer {
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-menu-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.mobile-menu-footer a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .nav-dropdown {
        display: none;
    }
}

/* ================================
   HERO SECTION
================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px 0 var(--space-2xl);
    position: relative;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-overlay {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -30px;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    z-index: 10;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: -30px;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid var(--accent-secondary);
    border-left: 3px solid var(--accent-secondary);
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    animation: fadeUp 0.6s ease forwards;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    animation: fadeUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title i {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    animation: fadeUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-review {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: var(--space-lg);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: fit-content;
    animation: fadeUp 0.6s ease 0.25s forwards;
    opacity: 0;
}

.hero-review-stars {
    display: flex;
    align-items: flex-start;
    opacity: 0.6;
}

.hero-review-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-style: italic;
}

.hero-review-author {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-review {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-start;
    animation: fadeUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 91, 168, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-linkedin {
    background: #0A66C2;
    color: #ffffff;
}

.btn-linkedin:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.3);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Hero Clients */
.hero-clients {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    animation: fadeUp 0.6s ease 0.4s forwards;
    opacity: 0;
    text-align: center;
}

.hero-clients-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.hero-clients-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    align-items: center;
    opacity: 0.4;
}

.client-logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   SERVICES SECTION
================================ */
.services {
    padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.5);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Raven-style services layout */
.svc-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}
.svc-breadcrumb span {
    color: var(--accent);
}
.svc-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
}
.svc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.svc-statement {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.svc-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.svc-list-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.svc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}
.svc-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.svc-list li:first-child {
    border-top: 1px solid rgba(0,0,0,0.08);
}
.svc-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}
.svc-arrow {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0.15rem;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(30, 91, 168, 0.3) 50%, transparent 100%);
}

.services::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(20% 0%, 100% 30%, 80% 100%, 0% 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .services::after {
        display: none;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    gap: var(--space-lg);
}

.section-header-content {
    max-width: 500px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    display: inline-block;
    position: relative;
}

.section-label::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--accent);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* Hide mobile-only elements on desktop */
.services-header-icon,
.services-intro,
.services-explore-link {
    display: none;
}

/* ================================
   EDITORIAL SPLIT LAYOUT (Raven-style)
================================ */
.editorial-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.editorial-left {
    position: sticky;
    top: 120px;
}

.editorial-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #0A2351;
    margin: 0 0 1.5rem 0;
}

.editorial-dot {
    color: var(--accent);
}

.hero-title-dot {
    color: #000;
}

.editorial-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a6080;
    max-width: 420px;
}

.editorial-right {
    display: flex;
    flex-direction: column;
}

.editorial-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(10, 35, 81, 0.1);
    text-decoration: none;
    color: #0A2351;
    transition: all 0.3s ease;
    cursor: pointer;
}

a.editorial-row:hover {
    padding-left: 0.5rem;
    color: var(--accent);
}

a.editorial-row:hover .editorial-arrow {
    transform: translateX(4px);
}

.editorial-row-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.editorial-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #0A2351;
    opacity: 0.5;
}

/* Detail rows (Process / Testimonials) */
.editorial-row-detail {
    cursor: default;
}

.editorial-row-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
}

.editorial-row-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
}

.editorial-row-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4a6080;
    margin: 0.4rem 0 0;
}

/* Testimonial quote rows */
.editorial-quote {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #2a3f5f;
    margin: 0 0 0.5rem;
    font-style: italic;
}

.editorial-row-author {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0A2351;
    letter-spacing: 0.02em;
}

/* FAQ items */
.editorial-faq-item {
    border-bottom: 1px solid rgba(10, 35, 81, 0.1);
}

.editorial-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: #0A2351;
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

.editorial-faq-q::-webkit-details-marker {
    display: none;
}

.editorial-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #4a6080;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.editorial-faq-item[open] .editorial-faq-q::after {
    transform: rotate(45deg);
}

.editorial-faq-q:hover {
    color: var(--accent);
}

.editorial-faq-a {
    padding: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a6080;
    margin: 0;
}

/* ================================
   TECH BACKGROUND PATTERNS
================================ */
.tech-pattern-dots {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(74, 158, 255, 0.12) 1px, transparent 0);
    background-size: 24px 24px;
}

.tech-pattern-grid {
    background-image: 
        linear-gradient(rgba(74, 158, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.tech-pattern-circuit {
    position: relative;
}

.tech-pattern-circuit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tech-gradient-subtle {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(0, 212, 170, 0.05) 50%, var(--bg-secondary) 100%);
}

.tech-gradient-blue {
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 50%, #f0f0f0 100%);
}

/* ================================
   PROCESS SECTION
================================ */
.process {
    padding: var(--space-3xl) 0;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

/* ================================
   TESTIMONIAL SECTION
================================ */
.testimonials {
    padding: var(--space-3xl) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

/* Tech Stack Section */
.tech-stack {
    padding: var(--space-3xl) 0;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(30, 91, 168, 0.2) 50%, transparent 100%);
}


/* FAQ Section */
.faq {
    padding: var(--space-3xl) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

@media (max-width: 1024px) {
    .editorial-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .editorial-left {
        position: static;
    }

    .editorial-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
}

/* ================================
   ABOUT SECTION
================================ */
.about {
    padding: var(--space-3xl) 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #eef3fb 55%, #dde8f7 100%);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 24px rgba(10,35,81,0.07);
}

.about-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1E5BA8;
}

.about-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--accent-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.partner-team {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 740px;
}

.partner-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(30, 91, 168, 0.12);
    margin: 0 2rem;
    flex-shrink: 0;
}

.partner-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    max-width: 300px;
    justify-content: flex-start;
}

.partner-photo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(30, 91, 168, 0.15);
    box-shadow: 0 4px 20px rgba(10,35,81,0.12);
    flex-shrink: 0;
}

.partner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.partner-role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1E5BA8;
    margin-top: 0.25rem;
}

.partner-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 400;
    color: #0A2351;
    letter-spacing: -0.01em;
    margin-top: -0.1rem;
}

.partner-bio {
    font-size: 0.85rem;
    color: #4a6080;
    line-height: 1.65;
    text-align: center;
}

.partner-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: 1.5px solid #0A2351;
    border-radius: 6px;
    color: #0A2351;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.partner-linkedin-btn:hover {
    background: #0A2351;
    color: #fff;
}

.about-card-subtitle {
    font-size: 1rem;
    color: #4a6080;
    line-height: 1.7;
    max-width: 560px;
}

@media (max-width: 768px) {
    .about-card {
        padding: 3rem 1.5rem;
        border-radius: 14px;
    }
    .partner-team {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .partner-divider {
        width: 60%;
        height: 1px;
        align-self: auto;
        margin: 0;
    }
    .partner-photo-wrap {
        width: 110px;
        height: 110px;
    }
}

    .stat {
        padding: var(--space-md);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* ================================
   CTA SECTION
================================ */
.cta {
    padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.5);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.4);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .cta::before {
        display: none;
    }
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-content {
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    position: relative;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 91, 168, 0.15);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ================================
   FOOTER
================================ */
.footer {
    padding: var(--space-xl) 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .logo-img {
    /* Logo adjustments for white bg if needed */
    height: 32px;
}

.footer-text {
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.footer-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-dark);
}

.footer-legal {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-legal .footer-link {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

.footer-legal .footer-link:hover {
    color: rgba(0, 0, 0, 0.8);
}

/* ================================\n   RESPONSIVE\n================================ */\n@media (max-width: 1024px) {\n    .hero-split {\n        grid-template-columns: 1fr;\n        gap: var(--space-xl);\n    }\n    \n    .hero-content {\n        text-align: center;\n        max-width: 700px;\n        margin: 0 auto;\n    }\n    \n    .hero-actions {\n        justify-content: center;\n    }\n    \n    .hero-image-wrapper {\n        max-width: 600px;\n        margin: 0 auto;\n    }\n    \n    .section-header {\n        flex-direction: column;\n        align-items: flex-start;\n    }\n}\n\n@media (max-width: 768px) {\n    .nav-links,\n    .nav-cta {\n        display: none;\n    }\n    \n    .nav-toggle {\n        display: block;\n    }\n    \n    .hero-image {\n        height: 350px;\n    }\n    \n    .hero-image-overlay {\n        width: 80px;\n        height: 100px;\n        bottom: -20px;\n        left: -20px;\n    }\n    \n    .about-stats-row {\n        grid-template-columns: 1fr;\n    }\n    \n    .hero-clients-logos {\n        flex-wrap: wrap;\n        gap: var(--space-lg);\n    }\n    \n    .cta-card {\n        padding: var(--space-xl);\n    }\n    \n    .cta-actions {\n        flex-direction: column;\n    }\n    \n    .footer-content {\n        flex-direction: column;\n        gap: var(--space-md);\n        text-align: center;\n    }\n    \n    .footer-links {\n        flex-wrap: wrap;\n        justify-content: center;\n    }\n}

/* ================================
   CHATBOT
================================ */
.chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
    color: white;
}

.chatbot-toggle .chatbot-icon-close {
    display: none;
}

.chatbot-toggle.active .chatbot-icon-open {
    display: none;
}

.chatbot-toggle.active .chatbot-icon-close {
    display: block;
}

.chatbot-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    padding: var(--space-md);
    background: var(--accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    color: white;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.chatbot-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.chatbot-status {
    font-size: 0.75rem;
    color: #22c55e;
}

.chatbot-messages {
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.chat-message {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message p {
    margin: 0;
}

.chat-message.bot {
    background: #f5f5f5;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-xs);
}

.suggestion-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--border);
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chatbot-input button:hover {
    background: var(--bg-dark);
}

.chatbot-input button svg {
    width: 18px;
    height: 18px;
    color: white;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 32px);
        max-height: 70vh;
        right: 0;
        bottom: 72px;
    }

    .chatbot {
        right: 16px;
        bottom: 16px;
    }
}

/* ================================
   MOBILE OPTIMIZATIONS - CGI Style
================================ */
@media (max-width: 768px) {
    /* Contact bar — single line on mobile */
    .contact-bar {
        display: block;
        padding: 0.4rem 0;
    }

    .contact-bar-content {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        overflow: hidden;
    }

    .contact-bar-item {
        white-space: nowrap;
        font-size: 0.62rem;
        gap: 0.25rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .contact-bar-item svg {
        width: 9px;
        height: 9px;
        flex-shrink: 0;
    }
    
    /* Show mobile nav toggle */
    .nav-toggle {
        display: block !important;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    /* Header - always below contact bar on mobile */
    .header {
        top: 33px;
        padding: 0;
        background: var(--bg-primary);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }

    .header.scrolled {
        top: 33px; /* keep below contact bar even when scrolled */
    }
    
    .header-inner {
        padding: 0.75rem var(--space-md);
        border-radius: 0;
        margin: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        display: flex;
        justify-content: center;
        position: relative;
    }
    
    /* Burger sits absolutely on the right so logo stays centred */
    .nav-toggle {
        position: absolute;
        right: var(--space-md);
        top: 50%;
        transform: translateY(-50%);
        padding: 6px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* Hero — offset for contact bar (33px) + header (~55px) */
    .hero {
        padding: 100px 0 var(--space-lg);
        min-height: auto;
        overflow: hidden;
    }
    
    .hero-split {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
    }
    
    .hero-content {
        text-align: left;
        padding: var(--space-lg) var(--space-md);
        background: transparent;
    }
    
    .hero-badge {
        display: none;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
        color: var(--text-primary);
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--space-lg);
        color: var(--text-secondary);
    }
    
    .hero-review {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Hero image — with decorative frame on mobile */
    .hero-image-wrapper {
        display: block;
        padding: 0 var(--space-md);
        margin-top: var(--space-lg);
        margin-bottom: var(--space-xl);
        overflow: visible;
    }
    
    .hero-image-container {
        position: relative;
        border-radius: var(--radius-lg);
        overflow: visible;
    }
    
    .hero-image {
        width: 100%;
        height: 240px;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }
    
    /* Decorative border frame */
    .hero-image-overlay {
        display: block;
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border: 2px solid var(--accent);
        border-radius: var(--radius-xl);
        z-index: -1;
    }
    
    /* Top-right corner bracket */
    .hero-image-container::before {
        display: block;
        content: '';
        position: absolute;
        top: 12px;
        right: -12px;
        width: 30px;
        height: 30px;
        border-top: 2px solid var(--accent);
        border-right: 2px solid var(--accent);
        z-index: 10;
    }
    
    /* Bottom-left corner bracket */
    .hero-image-container::after {
        display: block;
        content: '';
        position: absolute;
        bottom: 12px;
        left: -12px;
        width: 30px;
        height: 30px;
        border-bottom: 2px solid var(--accent-secondary);
        border-left: 2px solid var(--accent-secondary);
        z-index: 10;
    }

    .hero-clients {
        display: none;
    }
    
    /* Sections - clean white backgrounds */
    section {
        padding: var(--space-xl) 0;
        background: transparent;
    }
    
    section:nth-child(even) {
        background: transparent;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

/* ================================
   HAND-DRAWN / SKETCH EFFECTS
================================ */

/* Hand-drawn circle around words — currently disabled */
.hand-drawn-underline {
    display: inline;
}

/* Hand-drawn oval circle around CTA buttons — SVG injected by JS */
.btn-circled {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding: 0.75rem 1.75rem;
    color: var(--text-primary) !important;
    font-weight: 500;
    overflow: visible;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-circled .sketch-oval {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 40px);
    height: calc(100% + 28px);
    pointer-events: none;
    overflow: visible;
    transition: transform 0.3s ease;
}

.btn-circled:hover .sketch-oval {
    transform: translate(-50%, -50%) scale(1.06);
}

/* Italic words in display headings */
.editorial-title i, .hero-title i, .cta-title i, .about-card-title i {
    font-weight: normal;
    font-style: italic;
    color: var(--accent);
}

/* ================================
   PATH-FINDING SECTION
================================ */
.pathfind {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 1;
}

.pathfind-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.pathfind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.pathfind-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pathfind-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(30, 91, 168, 0.1);
    transform: translateY(-2px);
}

.pathfind-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(30, 91, 168, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.pathfind-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.pathfind-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.pathfind-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.pathfind-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.pathfind-card:hover .pathfind-arrow {
    transform: translateX(4px);
}

/* Pathfind rows (editorial-row variant with tag + description) */
.pathfind-row {
    align-items: flex-start;
    padding: 2rem 0;
}

.pathfind-row-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding-right: 1.5rem;
}

/* ================================
   WHY FLUXO SECTION
================================ */
.why-fluxo {
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.why-fluxo-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.why-fluxo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.why-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.why-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 220px;
}

.why-fluxo-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.why-trust-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.why-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
}

@media (max-width: 768px) {
    .section-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--accent);
        margin-bottom: var(--space-xs);
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-md);
        color: var(--text-primary);
    }
    
    /* About section */
    .about {
        background: transparent;
    }
    
    /* Stats grid for mobile - 3 cards in row */
    .about-stats-row {
        display: block !important;
        margin-top: var(--space-lg);
        padding: 0 var(--space-md);
        overflow: visible;
    }
    
    .stats-slider {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-xs);
    }
    
    .about-stats-row .stat {
        display: block !important;
        padding: var(--space-sm);
        text-align: center;
        background: #f8f9fa;
        border-radius: var(--radius-md);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-sizing: border-box;
    }
    
    .about-stats-row .stat .stat-number {
        font-size: 1.25rem;
    }
    
    .about-stats-row .stat .stat-label {
        font-size: 0.6rem;
    }
    
    .stats-dots {
        display: none;
    }
    
    .about-stats,
    .stats-row {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
        overflow: hidden;
    }
    
    .about-stat {
        padding: var(--space-md);
        text-align: center;
        background: #f8f9fa;
        border-radius: var(--radius-md);
    }
    
    .about-stat-number {
        font-size: 1.75rem;
        color: var(--accent);
    }
    
    .about-stat-label {
        font-size: 0.75rem;
        color: var(--text-secondary);
    }
    
    /* Services - CGI style with icon header and pill tags */
    .services {
        border-top: 3px solid var(--accent);
        background: transparent;
    }
    
    .services .container {
        padding: 0 var(--space-lg);
    }

    /* Editorial layout mobile */
    .editorial-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .editorial-left {
        position: static;
    }

    .editorial-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .editorial-subtitle {
        font-size: 0.9rem;
    }

    .editorial-row {
        padding: 1rem 0;
    }

    .editorial-row-text {
        font-size: 1rem;
    }

    .editorial-row-num {
        font-size: 1.75rem;
        min-width: 32px;
    }

    .editorial-row-desc {
        font-size: 0.8rem;
    }

    .editorial-faq-q {
        font-size: 0.95rem;
        padding: 1rem 0;
    }

    .editorial-faq-a {
        font-size: 0.85rem;
        padding-bottom: 1rem;
    }

    .editorial-quote {
        font-size: 0.85rem;
    }

    .editorial-row-author {
        font-size: 0.72rem;
    }
    
    /* Hide process section on mobile */
    .process {
        display: none;
    }
    
    /* Hide tech stack on mobile */
    .tech-stack {
        display: none;
    }
    
    /* FAQ */
    .faq {
        border-top: 3px solid var(--accent);
    }
    
    /* CTA / Contact */
    .cta {
        padding: var(--space-xl) 0;
        border-top: 3px solid var(--accent);
    }
    
    .cta-card {
        padding: var(--space-lg);
        background: #ffffff;
        border-radius: var(--radius-lg);
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.875rem;
        border: 1px solid rgba(0, 0, 0, 0.15);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Footer */
    .footer {
        padding: var(--space-xl) 0;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }
    
    /* Chatbot */
    .chatbot {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-image {
        height: 180px;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
}

/* ================================
   COOKIE CONSENT BANNER
================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0A2351;
    color: #ffffff;
    padding: var(--space-md) var(--space-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-link:hover {
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept {
    background: var(--accent);
    color: #ffffff;
}

.cookie-accept:hover {
    background: #3b8bdb;
}

.cookie-decline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: var(--space-md) var(--space-md);
        padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
        max-height: 80vh;
        overflow-y: auto;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 140px;
    }
}
