/* ================================================================
   RBL Advisory - Refined Editorial Design System
   Design Philosophy: Magazine Sophistication meets Tech Precision
   Aesthetic: Editorial serif headlines, geometric sans body, sophisticated palette
   ================================================================ */

/* --------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------- */
:root {
    /* Color Palette - Sophisticated Editorial Theme */
    --color-bg-primary: #fdfcfb;
    --color-bg-secondary: #f7f5f3;
    --color-bg-tertiary: #efecea;
    --color-bg-elevated: #ffffff;

    /* Accent Colors - Refined Palette */
    --color-accent-primary: #1a2332;      /* Deep navy */
    --color-accent-secondary: #8b2d3f;    /* Burgundy */
    --color-accent-tertiary: #c17767;     /* Terracotta */
    --color-accent-sage: #6b7b67;         /* Sage green */
    --color-accent-warm: #d4a574;         /* Warm gold */
    --color-accent-slate: #4a5568;        /* Slate blue */

    /* Text Colors */
    --color-text-primary: #1a2332;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-text-disabled: #cbd5e1;

    /* Surface & Border */
    --color-surface: rgba(26, 35, 50, 0.03);
    --color-surface-hover: rgba(26, 35, 50, 0.06);
    --color-border: rgba(26, 35, 50, 0.1);
    --color-border-hover: rgba(26, 35, 50, 0.2);

    /* Glass Effect */
    --glass-bg: rgba(253, 252, 251, 0.85);
    --glass-border: rgba(26, 35, 50, 0.08);
    --glass-blur: 24px;

    /* Gradients - Sophisticated */
    --gradient-primary: linear-gradient(135deg, #1a2332, #4a5568);
    --gradient-accent: linear-gradient(135deg, #8b2d3f, #c17767);
    --gradient-warm: linear-gradient(135deg, #c17767, #d4a574);
    --gradient-editorial: linear-gradient(165deg, #1a2332 0%, #4a5568 45%, #8b2d3f 100%);
    --gradient-hero:
        radial-gradient(ellipse 90% 60% at 30% 20%, rgba(193, 119, 103, 0.08), transparent),
        radial-gradient(ellipse 70% 50% at 80% 60%, rgba(139, 45, 63, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 10% 80%, rgba(107, 123, 103, 0.04), transparent);

    /* Texture overlay */
    --texture-noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");

    /* Shadows - Refined */
    --shadow-xs: 0 1px 3px rgba(26, 35, 50, 0.04);
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 35, 50, 0.1);
    --shadow-xl: 0 20px 60px rgba(26, 35, 50, 0.12);
    --shadow-editorial: 0 2px 4px rgba(26, 35, 50, 0.04), 0 12px 32px rgba(139, 45, 63, 0.08);
    --shadow-card: 0 1px 3px rgba(26, 35, 50, 0.03), 0 8px 24px rgba(26, 35, 50, 0.06);
    --shadow-card-hover: 0 4px 12px rgba(26, 35, 50, 0.08), 0 16px 48px rgba(139, 45, 63, 0.12);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Typography - Editorial System */
    --font-display: 'Crimson Pro', 'Georgia', serif;      /* Editorial headlines */
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;  /* Geometric body */
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.75rem;
    --font-size-6xl: 5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-loader: 500;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    background-image: var(--texture-noise);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Editorial typography for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

/* --------------------------------
   Utility Classes
   -------------------------------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------
   Animated Background Mesh
   -------------------------------- */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: meshFloat 30s ease-in-out infinite;
}

.mesh-blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(193, 119, 103, 0.12), transparent 70%);
    top: -350px;
    left: -250px;
    animation-delay: 0s;
}

.mesh-blob-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 45, 63, 0.10), transparent 70%);
    top: 40%;
    right: -250px;
    animation-delay: -10s;
}

.mesh-blob-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 123, 103, 0.08), transparent 70%);
    bottom: -200px;
    left: 25%;
    animation-delay: -20s;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(50px, -30px) scale(1.05) rotate(5deg);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95) rotate(-5deg);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.03) rotate(3deg);
    }
}

/* --------------------------------
   Loading Screen
   -------------------------------- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    margin-bottom: var(--space-xl);
}

.loader-text {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: var(--gradient-editorial);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    animation: loaderProgress 1.5s ease forwards;
}

@keyframes loaderProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* --------------------------------
   Navigation
   -------------------------------- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.nav-header.scrolled {
    background: rgba(253, 252, 251, 0.92);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    padding: var(--space-md) 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: translateX(2px);
}

.logo-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-base);
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent-secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.lang-switcher {
    display: flex;
    gap: var(--space-xs);
    padding: 3px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.lang-btn {
    padding: 6px 14px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
    color: var(--color-text-primary);
    background: var(--color-bg-elevated);
}

.btn-nav {
    padding: var(--space-sm) var(--space-lg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    padding: 4px 0;
}

.mobile-toggle span {
    height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

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

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

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

@media (max-width: 900px) {

    .nav-menu,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(253, 252, 251, 0.98);
        backdrop-filter: blur(var(--glass-blur));
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }
}

/* --------------------------------
   Buttons
   -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 13px 26px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 4px 16px rgba(26, 35, 50, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 24px rgba(26, 35, 50, 0.25);
}

.btn-glass {
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn-glass:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* --------------------------------
   Hero Section - Asymmetric Editorial Layout
   -------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-5xl) 0 var(--space-4xl);
    overflow: hidden;
    background: var(--gradient-hero);
}

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

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    mix-blend-mode: multiply;
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(193, 119, 103, 0.25), transparent 60%);
    top: -250px;
    right: -150px;
    animation: pulseGlow 12s ease-in-out infinite;
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 45, 63, 0.2), transparent 60%);
    bottom: -200px;
    left: -100px;
    animation: pulseGlow 12s ease-in-out infinite 6s;
}

@keyframes pulseGlow {

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

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 35, 50, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 35, 50, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 85% 60% at 40% 50%, black, transparent);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    letter-spacing: 0.005em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-sage);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.25);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1.5px solid var(--color-border);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-accent-secondary);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--color-border);
}

/* Hero Visual - Asymmetric Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    animation: float 7s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.floating-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(139, 45, 63, 0.25);
}

.floating-card .card-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: -2.3s;
}

.card-3 {
    bottom: 12%;
    left: 8%;
    animation-delay: -4.6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-3xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--color-accent-secondary);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

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

    50% {
        opacity: 0.5;
        transform: translateY(8px);
    }
}

/* --------------------------------
   Expertise Section - Marquee
   -------------------------------- */
.trusted-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.trusted-text {
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2xl);
}

.trusted-logos {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: var(--space-3xl);
    animation: marquee 30s linear infinite;
}

.company-logo {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------
   Services Section
   -------------------------------- */
.services-section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-4xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent-secondary);
    margin-bottom: var(--space-md);
    padding: 6px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
}

.service-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-tertiary);
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 119, 103, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    border-color: transparent;
    transform: scale(1.05);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-text-primary);
    transition: stroke var(--transition-smooth);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    margin-bottom: var(--space-lg);
}

.service-features li {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-tertiary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent-secondary);
    transition: all var(--transition-base);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-smooth);
}

.service-link:hover {
    gap: var(--space-md);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------
   About Section
   -------------------------------- */
.about-section {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

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

.about-content {
    max-width: 580px;
}

.about-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-3xl);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
}

.feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.feature-content p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* About Visual */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.about-card-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.about-card {
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-editorial);
}

.about-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.about-card-icon {
    font-size: var(--font-size-3xl);
}

.about-card-badge {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-secondary);
    padding: 6px 14px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.about-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

.about-stat-number {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

.about-stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: 500;
}

.about-card-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.sector-tag {
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 6px 14px;
    background: var(--gradient-warm);
    color: white;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
}

.floating-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent-secondary);
}

.badge-1 {
    top: -20px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.badge-2 {
    bottom: -20px;
    left: -40px;
    animation: float 6s ease-in-out infinite 3s;
}

/* --------------------------------
   Blog Section
   -------------------------------- */
.blog-section {
    padding: var(--space-5xl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-2xl);
}

.blog-card {
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent-tertiary);
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.blog-card-category {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-secondary);
}

.blog-card-date {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: 500;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.blog-card-title a {
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

.blog-card-title a:hover {
    color: var(--color-accent-secondary);
}

.blog-card-excerpt {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: auto;
    padding-bottom: var(--space-lg);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.blog-card-read-time {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-weight: 500;
}

.blog-card-read-time svg {
    width: 16px;
    height: 16px;
}

.blog-card-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-accent-secondary);
    transition: gap var(--transition-smooth);
}

.blog-card-link:hover {
    gap: var(--space-sm);
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-smooth);
}

.blog-card-link:hover svg {
    transform: translateX(2px);
}

.blog-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: var(--color-bg-secondary);
    border-style: dashed;
}

.placeholder-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.placeholder-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-text-muted);
}

.blog-card-placeholder p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* --------------------------------
   Contact Section
   -------------------------------- */
.contact-section {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
}

.contact-info {
    max-width: 480px;
}

.contact-desc {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-3xl);
}

.contact-methods {
    margin-bottom: var(--space-3xl);
}

.contact-method {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.method-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.method-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.method-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.method-value {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

a.method-value:hover {
    color: var(--color-accent-secondary);
}

.trust-badges {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
}

/* Contact Form */
.contact-form-container {
    position: relative;
}

.contact-form {
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: var(--space-xl);
    position: relative;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-secondary);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-secondary);
    background: var(--color-bg-elevated);
    box-shadow: 0 0 0 3px rgba(139, 45, 63, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.input-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-smooth);
}

.form-group input:focus ~ .input-focus,
.form-group textarea:focus ~ .input-focus {
    width: 100%;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.btn-submit {
    width: 100%;
    position: relative;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

button[disabled] .btn-text {
    opacity: 0;
}

button[disabled] .btn-loading {
    display: block;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-disclaimer {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-lg);
    line-height: 1.6;
}

.form-error,
.form-success {
    display: none;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-sm);
}

.form-error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #991b1b;
}

.form-error.show {
    display: block;
}

.form-success {
    background: var(--color-bg-elevated);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.success-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

/* --------------------------------
   Footer
   -------------------------------- */
.footer {
    background: var(--color-accent-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-links a {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
    padding-left: 0;
}

.footer-links a:hover {
    color: white;
    padding-left: var(--space-xs);
}

.footer-social h4 {
    font-family: var(--font-display);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-weight: 500;
}

/* --------------------------------
   Animation on Scroll
   -------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.service-card[data-delay="0"] {
    transition-delay: 0ms;
}

.service-card[data-delay="100"] {
    transition-delay: 150ms;
}

.service-card[data-delay="200"] {
    transition-delay: 300ms;
}

/* --------------------------------
   Responsive Design
   -------------------------------- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-visual {
        min-height: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: var(--space-4xl) 0 var(--space-3xl);
    }

    .hero-title {
        font-size: clamp(var(--font-size-3xl), 8vw, var(--font-size-4xl));
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .stat-divider {
        display: none;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

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

    .btn-lg {
        width: 100%;
    }

    .about-features {
        gap: var(--space-xl);
    }
}