/* ═══════════════════════════════════════════════════════════
   LOGICLE ANALYTICS — NOVIS DESIGN SYSTEM
   Typography: Sora (display) · DM Sans (body) · Space Mono (data)
   Palette: Ink · Signal Blue · Insight Teal · Paper
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Space+Mono:wght@400;700&family=Sora:wght@200;300;400;500;600;700&display=swap');

:root {
    --ink: #0B0F1A;
    --paper: #F7F6F3;
    --accent: #3D5AFE;
    --accent-light: #E8ECFF;
    --teal: #0D9488;
    --violet: #7C3AED;
    --coral: #FF6B6B;
    --warm: #FFF8F0;
    --muted: #6B7280;
    --border: #E2E0DC;
    --primary-dark-shade: #070A12;
    --cyan: #22D3EE;  
    --indigo: #5B21B6; 
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.page-content { flex: 1 0 auto; }

/* ─── NAV ─── */
nav { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; background: rgba(247,246,243,0.92); backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px); position: sticky; top: 0; z-index: 1000; height: 100px; border-bottom: 1px solid var(--border); }
.logo-img { max-height: 72px; transition: opacity 0.3s; }
.logo-img:hover { opacity: 0.7; }
.nav-wordmark { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 300; letter-spacing: -1px; color: var(--ink); text-decoration: none; transition: opacity 0.3s; }
.nav-wordmark strong { font-weight: 600; }
.nav-wordmark:hover { opacity: 0.7; }
.nav-links { display: flex; gap: 3rem; list-style: none; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; letter-spacing: 0.3px; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-cta, .cta-button { padding: 0.75rem 2rem; background: var(--accent); color: white; border: none; border-radius: 50px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 600; transition: all 0.3s; text-decoration: none; }
.nav-cta:hover, .cta-button:hover { background: #2D47E0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,90,254,0.2); }

/* ─── BUTTONS ─── */
.btn-primary, .primary { padding: 0.75rem 2rem; background: var(--accent); color: white; border: none; border-radius: 50px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover, .primary:hover { background: #2D47E0; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(61,90,254,0.25); }
.btn-secondary { padding: 0.75rem 2rem; background: transparent; color: rgba(247,246,243,0.6); border: 1px solid rgba(247,246,243,0.15); border-radius: 50px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-secondary:hover { border-color: var(--accent); color: var(--paper); transform: translateY(-2px); }
.section .btn-secondary, .section-warm .btn-secondary, .cta-final .btn-secondary { color: var(--accent); border-color: var(--accent); }
.section .btn-secondary:hover, .section-warm .btn-secondary:hover { background: var(--accent); color: white; }

/* ─── HERO ─── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 10vw; position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(61,90,254,0.12) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 40px; opacity: 0; animation: fadeUp 0.8s ease forwards 0.2s; }
.hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(48px, 7vw, 100px); font-weight: 200; letter-spacing: -2px; line-height: 1.05; margin-bottom: 32px; color: var(--paper); opacity: 0; animation: fadeUp 0.8s ease forwards 0.4s; }
.hero h1 span { font-weight: 600; background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 20px; color: rgba(247,246,243,0.45); max-width: 520px; font-weight: 300; line-height: 1.7; opacity: 0; animation: fadeUp 0.8s ease forwards 0.6s; margin-bottom: 48px; }
.hero-buttons { display: flex; gap: 16px; opacity: 0; animation: fadeUp 0.8s ease forwards 0.8s; }
.hero-meta { position: absolute; bottom: 48px; left: 10vw; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 2px; color: rgba(247,246,243,0.2); opacity: 0; animation: fadeUp 0.8s ease forwards 1.0s; }

/* ─── SECTIONS ─── */
.section { padding: 120px 10vw; max-width: 100%; }
.section-dark { background: var(--ink); color: var(--paper); max-width: 100%; padding: 120px 10vw; }
.section-warm { background: var(--warm); max-width: 100%; padding: 120px 10vw; }
.section-label { font-family: 'Space Mono', monospace; font-size: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-dark .section-label { color: var(--teal); }
h2 { font-family: 'Sora', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 300; letter-spacing: -1px; margin-bottom: 24px; line-height: 1.2; }
h2 strong { font-weight: 600; }
h3 { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.3px; }
.lead { font-size: 20px; color: var(--muted); font-weight: 300; max-width: 640px; margin-bottom: 64px; }
.section-dark .lead { color: rgba(247,246,243,0.45); }
.divider { width: 60px; height: 2px; background: var(--accent); margin: 64px 0; }
.section-dark .divider { background: var(--teal); }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-top: 48px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; margin-top: 48px; }

/* ─── CARDS ─── */
.card { padding: 40px; border-radius: 16px; background: white; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.card-dark { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.card-dark:hover { background: rgba(255,255,255,0.06); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 18px; margin-bottom: 24px; font-weight: 600; }

/* ─── METRIC STRIP ─── */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.metric-item { padding: 48px 40px; text-align: center; border-right: 1px solid var(--border); transition: background 0.3s; }
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: white; }
.metric-value { font-family: 'Sora', sans-serif; font-size: 40px; font-weight: 200; letter-spacing: -1.5px; margin-bottom: 8px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.metric-label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

/* ─── SOLUTION CARDS ─── */
.solution-card { padding: 40px; border-radius: 16px; background: white; border: 1px solid var(--border); transition: all 0.35s; cursor: pointer; position: relative; overflow: hidden; display: block; }
.solution-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); border-color: rgba(61,90,254,0.15); }
.solution-num { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 2px; margin-bottom: 20px; }
.solution-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 16px; color: var(--ink); }
.solution-card p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.solution-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; background: var(--accent-light); color: var(--accent); }

/* ─── CASE CARDS (DARK) ─── */
.case-card-novis { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: all 0.35s; }
.case-card-novis:hover { background: rgba(255,255,255,0.06); box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: translateY(-4px); }
.case-gradient { height: 140px; position: relative; }
.case-gradient-label { position: absolute; bottom: 12px; left: 16px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.case-body-novis { padding: 32px; }
.case-stat-novis { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 200; letter-spacing: -1px; margin-bottom: 8px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.case-desc { font-size: 14px; color: rgba(247,246,243,0.4); margin-bottom: 16px; }
.case-link-novis { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; transition: color 0.3s; }
.case-link-novis:hover { color: var(--teal); }

/* ─── STEP CARDS ─── */
.step-card { text-align: center; padding: 48px 32px; border-radius: 16px; background: white; border: 1px solid var(--border); transition: all 0.35s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.step-num { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--muted); margin-bottom: 20px; }
.step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: white; }
.step-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ─── INDUSTRY GRID & PILLS ─── */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.industry-pill { padding: 24px 32px; border-radius: 16px; text-align: center; transition: all 0.3s; }
.industry-pill:hover { transform: translateY(-2px); }
.industry-pill h4 { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 500; margin-bottom: 6px; color: var(--paper); }
.industry-pill p { font-size: 13px; color: rgba(247,246,243,0.4); }

/* ─── CTA FINAL ─── */
.cta-final { padding: 120px 10vw; text-align: center; background: var(--warm); }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { font-size: 18px; color: var(--muted); font-weight: 300; max-width: 480px; margin: 0 auto 40px; }
.cta-final .btn-primary { background: var(--ink); }
.cta-final .btn-primary:hover { background: var(--accent); box-shadow: 0 12px 32px rgba(61,90,254,0.25); }

/* ─── NOVIS FOOTER ─── */
.footer-novis { padding: 80px 10vw 48px; background: var(--ink); }
.footer-grid { max-width: 1200px; margin: 0 auto 64px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 300; color: rgba(247,246,243,0.5); letter-spacing: -0.5px; margin-bottom: 16px; }
.footer-brand strong { font-weight: 600; }
.footer-tagline { font-size: 14px; color: rgba(247,246,243,0.25); line-height: 1.6; max-width: 240px; }
.footer-partner { height: 44px; opacity: 0.6; margin-top: 16px; }
.footer-col h4 { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(247,246,243,0.3); margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(247,246,243,0.5); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom-novis { text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 2px; color: rgba(247,246,243,0.2); }

/* ─── LEGACY FOOTER (other pages) ─── */
.footer { background: var(--primary-dark-shade); color: var(--paper); padding: 80px 5% 40px; flex-shrink: 0; width: 100%; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.4fr 1.2fr 1.2fr; gap: 40px; }
.footer-column h3 { font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: 24px; font-weight: 500; color: var(--paper); }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; font-size: 0.9rem; color: rgba(247,246,243,0.5); }
.footer-column li a { color: rgba(247,246,243,0.5); text-decoration: none; transition: color 0.3s; }
.footer-column li a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.google-cloud-partner { height: 48px; margin-bottom: 20px; opacity: 0.9; }
.footer-contact .contact-info { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: rgba(247,246,243,0.4); margin-bottom: 8px; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(247,246,243,0.25); }

/* ─── SERVICES PAGE ─── */
.services-hero { background: var(--ink); color: var(--paper); height: 320px; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding: 5%; }
.services-hero::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(61,90,254,0.1) 0%, transparent 70%); border-radius: 50%; top: -20%; right: -5%; }
.services-hero-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.services-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -1px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.services-hero p { font-size: 1.15rem; color: rgba(247,246,243,0.5); max-width: 560px; margin: 0 auto; font-weight: 300; }
.services-main-grid { padding: 6rem 5%; max-width: 1400px; margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.services-intro { text-align: left; font-size: 1.1rem; color: var(--muted); grid-column: 1 / -1; font-weight: 300; }
.service-main-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; transition: all 0.35s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-main-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.service-main-card:hover::before { transform: scaleX(1); }
.service-main-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-color: rgba(61,90,254,0.15); }
.service-card-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-main-card h2 { font-size: 1.4rem; color: var(--ink); font-weight: 500; margin-bottom: 0.6rem; }
.service-summary { font-size: 1rem; color: var(--accent); font-weight: 500; margin-bottom: 1.5rem; }
.service-highlights { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.highlight { background: var(--accent-light); color: var(--accent); padding: 0.35rem 0.8rem; border-radius: 50px; font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.5px; }
.service-description { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.expand-service-btn { align-self: flex-start; background: none; border: none; color: var(--accent); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; padding: 0; }
.expand-service-btn:hover { color: var(--teal); transform: translateX(4px); }
.service-detail-full { padding: 6rem 5%; border-top: 1px solid var(--border); }
.service-detail-full:nth-child(2n) { background: var(--paper); }
.detail-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.detail-intro { font-size: 1.1rem; color: var(--accent); font-weight: 500; margin-bottom: 2rem; }
.detail-section { margin-bottom: 2.5rem; }
.detail-section h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 1rem; }
.detail-list { list-style: none; }
.detail-list li { padding: 0.7rem 0 0.7rem 1.8rem; position: relative; color: var(--muted); font-size: 0.95rem; }
.detail-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.benefits-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.benefit-item { background: white; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); text-align: center; transition: all 0.3s; }
.benefit-item:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.benefit-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.benefit-item strong { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.3rem; }
.benefit-item p { color: var(--muted); font-size: 0.8rem; margin: 0; }
.case-study-showcase { background: white; border-radius: 16px; padding: 2rem; border: 1px solid var(--border); }
.case-study-showcase h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 1.5rem; }
.case-item { padding: 1.5rem; background: var(--accent-light); border-radius: 12px; border-left: 3px solid var(--accent); margin-bottom: 1rem; }
.case-item:last-child { margin-bottom: 0; }
.case-stat { font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 600; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
.case-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.case-item strong { color: var(--ink); font-weight: 600; }
.how-we-work { padding: 6rem 5%; background: var(--ink); color: var(--paper); text-align: center; position: relative; overflow: hidden; }
.how-we-work h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; color: var(--paper); position: relative; z-index: 10; }
.how-intro { font-size: 1.1rem; color: rgba(247,246,243,0.5); max-width: 500px; margin: 0 auto 3rem; z-index: 10; position: relative; }
.work-process { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; z-index: 10; position: relative; }
.process-step-large { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2.5rem 2rem; width: 280px; text-align: center; transition: all 0.3s; }
.process-step-large:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--accent-gradient); border-radius: 50%; font-family: 'Space Mono', monospace; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; color: white; }
.process-step-large h3 { font-size: 1.2rem; font-weight: 500; color: var(--paper); margin-bottom: 0.75rem; }
.process-step-large p { font-size: 0.9rem; color: rgba(247,246,243,0.5); }
.process-arrow { font-size: 1.5rem; color: rgba(61,90,254,0.4); font-weight: bold; margin-top: 125px; }
.why-choose-us { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.why-choose-us h2 { text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 4rem; font-weight: 400; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.why-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; text-align: center; transition: all 0.35s; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.why-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.why-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.75rem; }
.why-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ─── ABOUT PAGE ─── */
#about-section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
#about-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; padding-top: 60px; margin-bottom: 0.5rem; }
#about-intro { max-width: 640px; margin: 0.6rem auto 2rem; color: var(--muted); font-size: 1.05rem; text-align: center; font-weight: 300; }
.about-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; margin-bottom: 1.5rem; transition: all 0.3s; }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
#vision-article { border-top: 3px solid var(--accent); }
#mission-article { border-top: 3px solid var(--teal); }
#history-article { border-top: 3px solid var(--violet); }
.about-card h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 0.8rem; }
#vision-article h2 { color: var(--accent); }
#mission-article h2 { color: var(--teal); }
#history-article h2 { color: var(--violet); }
.about-card p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }
#team-heading, #values-heading, .team-section-title, .values-section-title { font-family: 'Sora', sans-serif; text-align: center; font-size: 1.6rem; margin: 3rem 0 2rem; font-weight: 400; }
#team-members { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 2rem; }
.team-member { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.35s; }
.team-member:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.team-member-avatar { width: 72px; height: 72px; background: var(--accent-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.3rem; margin: 0 auto 1rem; }
.team-member h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.3rem; }
.team-role { color: var(--accent); font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.8rem; }
.team-bio { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.linkedin-btn { display: inline-block; margin-top: 1rem; padding: 0.5rem 1rem; background: var(--ink); color: white; text-decoration: none; border-radius: 8px; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; }
.linkedin-btn:hover { background: var(--accent); transform: translateY(-2px); }
#values-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1200px; margin: 0 auto 2rem; }
.value-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.3s; }
.value-card:nth-child(1) { border-top: 3px solid var(--accent); }
.value-card:nth-child(2) { border-top: 3px solid var(--teal); }
.value-card:nth-child(3) { border-top: 3px solid var(--violet); }
.value-card:nth-child(4) { border-top: 3px solid var(--cyan); }
.value-card:nth-child(5) { border-top: 3px solid var(--indigo); }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.value-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.6rem; }
.value-card:nth-child(1) h3 { color: var(--accent); }
.value-card:nth-child(2) h3 { color: var(--teal); }
.value-card:nth-child(3) h3 { color: var(--violet); }
.value-card:nth-child(4) h3 { color: var(--cyan); }
.value-card:nth-child(5) h3 { color: var(--indigo); }
.value-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
#about-cta { padding: 5rem 5%; background: var(--warm); }
#about-cta-heading { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 300; margin-bottom: 1rem; }

/* ─── CONTACT PAGE ─── */
#contact-heading { font-family: 'Sora', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 0.5rem; }
#contact-p { font-size: 1.15rem; color: rgba(247,246,243,0.5); max-width: 560px; margin: 0 auto; font-weight: 300; }
#contactForm { display: grid; gap: 1.5rem; width: 100%; }
#contactForm label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
#form-heading, #info-heading { font-family: 'Sora', sans-serif; font-weight: 500; font-size: 1rem; margin-bottom: 1rem; margin-top: 0; }
#contactForm input[type="text"], #contactForm input[type="email"], #contactForm textarea { padding: 0.85rem 1rem; border-radius: 8px; border: 1px solid var(--border); font-family: 'DM Sans', sans-serif; font-size: 0.95rem; outline: none; transition: all 0.2s; width: 100%; background: white; color: var(--ink); }
#contactForm textarea { min-height: 140px; resize: vertical; }
#contactForm input:focus, #contactForm textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61,90,254,0.08); }
.form-submit-row { display: flex; gap: 0.75rem; align-items: center; }
.form-privacy-note { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }
.form-privacy-note p { margin: 0; }
.grid { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; max-width: 1200px; margin: 0 auto; padding: 2rem; }
.grid > .card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 2rem; }
.contact-info a { color: var(--accent); text-decoration: none; }
.contact-info a:hover { color: var(--teal); }
.contact-info p { margin-bottom: 0.25rem; color: var(--muted); font-size: 0.95rem; }
.contact-info strong { color: var(--ink); }
.contact-detail-label { margin-top: 0.75rem !important; }
.contact-hours { margin-top: 1rem; }
.contact-hours p { margin-bottom: 0.25rem; }
.contact-map { margin-top: 1rem; }
.contact-map h4 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 500; margin-top: 0; margin-bottom: 0.75rem; }
.map-embed { width: 100%; height: 200px; background: var(--paper); border-radius: 6px; overflow: hidden; }
#status { color: var(--muted); font-size: 0.9rem; }

/* ─── PORTFOLIO PAGE ─── */
#portfolio-section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto 2rem; }
#portfolio-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 1rem; }
#portfolio-intro { max-width: 640px; margin: 0 auto 2.5rem; color: var(--muted); text-align: center; font-weight: 300; }
#portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.portfolio-item { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.35s; display: flex; flex-direction: column; }
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.portfolio-item img { width: 100%; height: 160px; object-fit: cover; }
.portfolio-item h3 { font-size: 1.15rem; margin: 1.25rem 1.5rem 0.5rem; color: var(--ink); font-weight: 500; }
.project-description { padding: 0 1.5rem; color: var(--muted); font-size: 0.95rem; flex: 1; }
.project-meta { display: flex; gap: 0.5rem; padding: 1rem 1.5rem; flex-wrap: wrap; }
.project-tag { background: var(--accent-light); color: var(--accent); padding: 0.3rem 0.7rem; border-radius: 50px; font-family: 'Space Mono', monospace; font-size: 0.7rem; }
#testimonials-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: 1.6rem; margin: 3rem 0 2rem; font-weight: 400; }
#testimonials-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.testimonial { background: var(--accent-light); padding: 1.75rem; border-left: 3px solid var(--accent); border-radius: 12px; transition: all 0.3s; }
.testimonial:hover { transform: translateY(-4px); }
.testimonial p { margin: 0 0 1rem; line-height: 1.7; font-style: italic; color: var(--ink); }
.testimonial cite { display: block; font-style: normal; color: var(--accent); font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
#portfolio-cta { padding: 5rem 5%; background: var(--warm); }
#portfolio-cta-heading { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 300; margin-bottom: 1rem; }

/* ─── BLOG PAGE ─── */
#blog-section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
#blog-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 1rem; }
#blog-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; color: var(--muted); font-weight: 300; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.blog-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all 0.35s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.blog-card-image { width: 100%; height: 200px; background: var(--accent-gradient); }
.blog-card-content { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-date { font-family: 'Space Mono', monospace; color: var(--accent); font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.blog-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.blog-read-more { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.blog-read-more:hover { color: var(--teal); }

/* ─── POLICY & VACATURES ─── */
#policy-section { padding: 5rem 5%; max-width: 800px; margin: 0 auto; }
#policy-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 1.5rem; }
#policy-intro { text-align: center; color: var(--muted); margin-bottom: 3rem; font-weight: 300; }
.policy-article { margin-bottom: 2rem; padding: 2rem; background: white; border-radius: 12px; border: 1px solid var(--border); border-left: 3px solid var(--accent); transition: all 0.3s; }
.policy-article:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.04); border-left-color: var(--teal); }
.policy-article h2 { font-size: 1.3rem; font-weight: 500; margin-bottom: 1rem; }
.policy-article p { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.policy-article ul { list-style: none; }
.policy-article li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; color: var(--muted); }
.policy-article li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.policy-article a { color: var(--accent); text-decoration: none; font-weight: 600; }
.policy-article a:hover { color: var(--teal); }
#vacancies-section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
#vacancies-heading { font-family: 'Sora', sans-serif; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 1rem; }
#vacancies-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; color: var(--muted); font-weight: 300; }
.vacancies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.job-card { background: white; border-radius: 16px; border: 1px solid var(--border); padding: 2rem; transition: all 0.35s; display: flex; flex-direction: column; }
.job-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.job-card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1.5rem; }
.job-card h3 { font-size: 1.25rem; font-weight: 500; flex: 1; }
.job-type { background: var(--accent); color: white; padding: 0.3rem 0.8rem; border-radius: 50px; font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; }
.job-meta { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.job-meta p { margin: 0.4rem 0; color: var(--muted); font-size: 0.9rem; }
.job-description { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.job-requirements { flex: 1; margin-bottom: 2rem; }
.job-requirements h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.8rem; }
.job-requirements ul { list-style: none; }
.job-requirements li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; color: var(--muted); font-size: 0.9rem; }
.job-requirements li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: bold; }
#why-work-section { padding: 5rem 5%; background: var(--warm); margin-bottom: 2rem; }
#why-work-section h2 { font-family: 'Sora', sans-serif; text-align: center; font-size: 1.8rem; margin-bottom: 3rem; font-weight: 400; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.benefit-card { background: white; border-radius: 16px; padding: 2rem; text-align: center; border: 1px solid var(--border); transition: all 0.3s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.benefit-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.6rem; }
.benefit-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 5%; }

/* ─── INNER PAGE HERO (About, Contact, Portfolio) ─── */
.page-hero { background: var(--ink); color: var(--paper); padding: 80px 10vw; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-hero::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(61,90,254,0.1) 0%, transparent 70%); border-radius: 50%; top: -20%; right: -5%; }
.page-hero-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -1px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; color: rgba(247,246,243,0.5); max-width: 560px; font-weight: 300; margin: 0 auto; }

@media (max-width: 900px) {
    .page-hero { padding: 60px 5%; }
    .container { padding: 40px 5%; }
}

/* ─── CTA SECTION (used on services & other pages) ─── */
.cta-section {
    padding: 120px 10vw;
    background: var(--warm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--muted);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto 40px;
    text-align: center;
}

.cta-section .btn-primary {
    margin: 0 auto;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ─── HAMBURGER ─── */
.hamburger { display: none; flex-direction: column; justify-content: center; background: none; border: none; cursor: pointer; padding: 0.5rem; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 920px) {
    nav { height: auto; padding: 1rem 5%; flex-wrap: wrap; }
    .logo { order: 1; }
    .hamburger { display: flex; order: 2; margin-left: auto; }
    .nav-cta, .cta-button { display: none; }
    .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: rgba(247,246,243,0.98); backdrop-filter: blur(20px); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s; padding: 0; width: 100%; transform: none; align-items: center; box-shadow: 0 8px 30px rgba(11,15,26,0.06); }
    .nav-links.active { max-height: 500px; padding: 0.5rem 0; }
    .nav-links li { border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { display: block; padding: 1rem 5%; width: 100%; }
    .nav-links a::after { display: none; }
    .nav-links a:hover, .nav-links a.active { background: var(--accent-light); color: var(--accent); }
}

@media (max-width: 900px) {
    .hero { padding: 60px 5%; min-height: 85vh; }
    .hero h1 { font-size: clamp(36px, 8vw, 56px); }
    .hero-meta { display: none; }
    .grid-2, .grid-3, .grid-4, .industry-grid { grid-template-columns: 1fr; }
    .metric-strip { grid-template-columns: repeat(2, 1fr); }
    .metric-item { border-right: none; border-bottom: 1px solid var(--border); }
    .section, .section-dark, .section-warm { padding: 80px 5%; }
    .cta-final { padding: 80px 5%; }
    .cta-section { padding: 80px 5%; }
    .footer-novis { padding: 60px 5% 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons a { text-align: center; }
    .services-main-grid { grid-template-columns: 1fr; padding: 3rem 4%; }
    .detail-container { grid-template-columns: 1fr; gap: 2rem; }
    .benefits-mini-grid { grid-template-columns: 1fr; }
    .work-process { flex-direction: column; }
    .process-arrow { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .grid { grid-template-columns: 1fr; }
    #team-members, #values-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    #portfolio-grid { grid-template-columns: 1fr; }
    #testimonials-section { grid-template-columns: 1fr; }
    .vacancies-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer { padding: 40px 5% 20px; }
}

@media (max-width: 480px) {
    .metric-strip { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .services-hero h1 { font-size: 1.6rem; }
    .footer { padding: 30px 4% 15px; }
}