/* ============================================================
   LEXRAYS — DESIGN SYSTEM
   Modern, premium UI for Labour Law & HR Consulting
============================================================ */

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

/* ---- Design Tokens ---- */
:root {
    /* Brand */
    --blue-900: #001F5B;
    --blue-800: #003080;
    --blue-700: #0044AA;
    --blue-600: #0055CC;
    --blue: #0066EE;
    --blue-400: #3388FF;
    --blue-300: #66AAFF;
    --blue-100: #E8F0FE;
    --blue-50:  #F0F5FF;

    --teal: #00C2CB;
    --teal-dark: #009AA3;
    --teal-light: #E0FAFB;

    --green: #10B981;
    --green-light: #D1FAE5;
    --red: #EF4444;
    --red-light: #FEE2E2;
    --amber: #F59E0B;
    --amber-light: #FEF3C7;

    /* Neutral */
    --ink: #0A0F1E;
    --ink-80: #1D2433;
    --ink-60: #3D4A60;
    --ink-40: #6B7A99;
    --ink-20: #A8B3CC;
    --ink-10: #D6DCE8;
    --ink-5:  #EEF1F7;
    --white:  #FFFFFF;
    --canvas: #F7F9FC;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Border radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl:  0 16px 48px rgba(0,0,0,0.14), 0 8px 20px rgba(0,0,0,0.08);
    --shadow-2xl: 0 24px 64px rgba(0,0,0,0.18), 0 12px 28px rgba(0,0,0,0.10);
    --shadow-blue: 0 8px 28px rgba(0,102,238,0.30);
    --shadow-blue-sm: 0 4px 14px rgba(0,102,238,0.25);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 150ms var(--ease);
    --t-base: 250ms var(--ease);
    --t-slow: 400ms var(--ease-out);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ============================================================
   GLOBAL UTILITIES
============================================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue);
    background: var(--blue-50);
    border: 1px solid rgba(0,102,238,0.18);
    padding: 5px 12px;
    border-radius: var(--r-full);
    margin-bottom: var(--space-4);
    font-family: var(--font-body);
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-12);
}

.section-intro h2 {
    font-size: clamp(1.875rem, 4vw, 2.875rem);
    margin-bottom: var(--space-4);
}

.section-intro p {
    font-size: 1.0625rem;
    color: var(--ink-40);
    line-height: 1.75;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    border-radius: var(--r-full);
    padding: 13px 28px;
    transition: var(--t-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: var(--t-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.1); }

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

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 1.5px solid var(--ink-10);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-60);
    padding: 10px 20px;
}

.btn-ghost:hover { color: var(--blue); background: var(--blue-50); }

.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: var(--t-base);
    padding: 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

/* Transparent initial state */
.nav-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: var(--t-slow);
}

.nav.scrolled .nav-bg {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 1;
    text-decoration: none;
}

.nav-logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--white);
    flex-shrink: 0;
    font-family: var(--font-body);
    letter-spacing: -0.02em;
    box-shadow: 0 4px 12px rgba(0,102,238,0.35);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-logo-text span {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    z-index: 1;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-60);
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: var(--t-fast);
}

.nav-links a:hover {
    color: var(--blue);
    background: var(--blue-50);
}

.nav-cta {
    z-index: 1;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--t-base);
    display: block;
}

/* Mobile nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--ink-10);
    padding: var(--space-4) var(--space-6) var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    gap: var(--space-2);
}

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

.nav-mobile a {
    padding: 12px var(--space-4);
    font-weight: 500;
    color: var(--ink-60);
    border-radius: var(--r-md);
    transition: var(--t-fast);
}

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

.nav-mobile .btn {
    margin-top: var(--space-2);
    justify-content: center;
    width: 100%;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 40%, #f7fbff 70%, #edf5ff 100%);
}

/* Gradient mesh background with dot grid texture */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(0,102,238,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -8%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(0,102,238,0.13) 0%, rgba(0,102,238,0.04) 45%, transparent 70%);
    border-radius: 50%;
    animation: hero-float 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(0,194,203,0.12) 0%, rgba(0,194,203,0.04) 45%, transparent 70%);
    border-radius: 50%;
    animation: hero-float 28s ease-in-out infinite reverse;
}

@keyframes hero-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(-30px, -20px) scale(1.05); }
    66% { transform: translate(20px, 30px) scale(0.97); }
}

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

/* Left column */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--blue-50);
    border: 1px solid rgba(0,102,238,0.2);
    padding: 6px 14px 6px 8px;
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: var(--space-6);
}

.hero-badge-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
    color: var(--ink);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--ink-40);
    line-height: 1.75;
    margin-bottom: var(--space-8);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

/* Stats strip */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--ink-10);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--ink-40);
    margin-top: 4px;
    font-weight: 500;
}

/* Right column — Card */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--white);
    border: 1px solid rgba(0,102,238,0.12);
    border-radius: var(--r-2xl);
    padding: var(--space-8);
    box-shadow: 0 32px 80px rgba(0,102,238,0.14), 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

/* Floating badges on hero card */
.hero-float-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    border: 1px solid var(--ink-10);
    border-radius: var(--r-full);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-60);
    box-shadow: var(--shadow-sm);
    position: absolute;
}

.hero-float-badge.top-right {
    top: -14px;
    right: 28px;
}

.hero-float-badge.bottom-left {
    bottom: -14px;
    left: 28px;
}

.hero-float-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

.hero-float-badge .dot.amber { background: var(--amber); }

/* Carousel inside card */
.hero-carousel {
    position: relative;
    height: 340px;
}

.hero-carousel-track {
    position: relative;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s var(--ease-out);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-carousel-slide img {
    width: 100%;
    max-width: 360px;
    height: 260px;
    object-fit: contain;
    margin: 0 auto;
}

.hero-carousel-dots, .hero-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink-10);
    cursor: pointer;
    transition: var(--t-base);
    border: none;
}

.hero-dot.active {
    width: 22px;
    border-radius: var(--r-full);
    background: var(--blue);
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
    padding: var(--space-24) 0;
    background: linear-gradient(175deg, var(--white) 0%, #f0f5ff 40%, var(--canvas) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ink-10), transparent);
}

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

/* Left — visual panel */
.about-visual {
    position: relative;
}

.about-visual-card {
    background: var(--white);
    border: 1px solid var(--ink-10);
    border-radius: var(--r-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-visual-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.about-stat-box {
    background: var(--canvas);
    border: 1px solid var(--ink-10);
    border-radius: var(--r-lg);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    transition: var(--t-base);
}

.about-stat-box:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.about-stat-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--ink-40);
    margin-top: 6px;
    font-weight: 500;
}

.about-certification {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--green-light);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--r-md);
    padding: var(--space-3) var(--space-4);
}

.about-certification-icon {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-certification p {
    font-size: 0.875rem;
    font-weight: 600;
    color: #065F46;
    margin: 0;
}

/* Right — content */
.about-content h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.625rem);
    margin-bottom: var(--space-4);
}

.about-content > p {
    font-size: 1.0625rem;
    color: var(--ink-40);
    line-height: 1.75;
    margin-bottom: var(--space-8);
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.about-pillar {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--ink-10);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}

.about-pillar:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-sm);
}

.about-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-pillar-body h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.about-pillar-body p {
    font-size: 0.875rem;
    color: var(--ink-40);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   STATUTES / ACTS COVERED SECTION
============================================================ */
.statutes {
    padding: var(--space-24) 0;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

/* Decorative grid lines */
.statutes::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.statutes-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0,102,238,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.statutes .section-intro { position: relative; z-index: 1; }
.statutes .section-intro h2 { color: var(--white); }
.statutes .section-intro p { color: rgba(255,255,255,0.5); }
.statutes .eyebrow {
    color: var(--teal);
    background: rgba(0,194,203,0.12);
    border-color: rgba(0,194,203,0.25);
}
.statutes .eyebrow::before { background: var(--teal); }

/* Filter tabs */
.statutes-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 1;
}

.statute-filter {
    padding: 9px 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: var(--t-base);
    font-family: var(--font-body);
}

.statute-filter:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.statute-filter.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue-sm);
}

/* Acts grid */
.statutes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.statute-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--r-lg);
    padding: var(--space-5) var(--space-5);
    transition: var(--t-base);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.statute-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,102,238,0) 0%, rgba(0,102,238,0.08) 100%);
    opacity: 0;
    transition: var(--t-base);
}

.statute-card:hover {
    border-color: rgba(0,102,238,0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.statute-card:hover::before { opacity: 1; }

.statute-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    flex-shrink: 0;
}

.statute-card-year {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-1);
}

.statute-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.statute-card-type {
    display: inline-block;
    margin-top: var(--space-3);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: var(--r-full);
}

.statute-card-type.central {
    background: rgba(0,102,238,0.2);
    color: var(--blue-300);
}

.statute-card-type.state {
    background: rgba(0,194,203,0.15);
    color: var(--teal);
}

/* Bottom CTA strip */
.statutes-cta {
    margin-top: var(--space-12);
    text-align: center;
    position: relative;
    z-index: 1;
}

.statutes-cta p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9375rem;
    margin-bottom: var(--space-4);
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--white) 0%, #f8faff 100%);
}

/* Tab row */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.stab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-40);
    cursor: pointer;
    transition: var(--t-base);
    white-space: nowrap;
}

.stab svg { flex-shrink: 0; transition: var(--t-fast); }

.stab:hover {
    border-color: var(--blue-300);
    color: var(--blue);
    background: var(--blue-50);
}

.stab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue-sm);
}

.stab.active svg { stroke: var(--white); }

/* Tagline under tabs */
.services-sub {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--ink-40);
    margin-bottom: var(--space-10);
    font-style: italic;
}

/* 3-col card grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.scard {
    background: var(--white);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    transition: var(--t-base);
    overflow: hidden;
}

.scard:hover {
    border-color: rgba(0,102,238,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,102,238,0.14), 0 6px 16px rgba(0,0,0,0.07);
}

.scard-top {
    padding: var(--space-8) var(--space-8) var(--space-5);
    flex: 1;
}

.scard-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.scard h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-3);
    line-height: 1.35;
}

.scard-desc {
    font-size: 0.9rem;
    color: var(--ink-40);
    line-height: 1.7;
    margin: 0;
}

.scard-divider {
    height: 1px;
    background: var(--ink-5);
    margin: 0 var(--space-8);
}

.scard-features {
    padding: var(--space-5) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scard-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8375rem;
    color: var(--ink-60);
    font-weight: 500;
}

.scard-features li svg { flex-shrink: 0; }

.scard-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-8) var(--space-6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    transition: var(--t-fast);
}

.scard-cta:hover { gap: var(--space-3); }

.scard-cta-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--t-base);
}

.scard:hover .scard-cta-arrow {
    background: var(--blue);
    color: var(--white);
    transform: translateX(2px);
}

.scard:hover .scard-cta-arrow svg { stroke: var(--white); }

/* Bottom banner */
.services-banner {
    margin-top: var(--space-12);
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--ink-80) 100%);
    border-radius: var(--r-xl);
    padding: var(--space-10) var(--space-12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    position: relative;
    overflow: hidden;
}

.services-banner::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,194,203,0.2), transparent 70%);
    border-radius: 50%;
}

.services-banner-text h3 {
    color: var(--white);
    font-size: 1.375rem;
    margin-bottom: var(--space-2);
}

.services-banner-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    margin: 0;
}

.services-banner .btn-primary {
    background: var(--white);
    color: var(--blue);
    flex-shrink: 0;
}

.services-banner .btn-primary:hover {
    background: var(--blue-50);
    color: var(--blue-700);
}

/* ============================================================
   WHY US SECTION
============================================================ */
.why-us {
    padding: var(--space-24) 0;
    background: linear-gradient(160deg, #f0f5ff 0%, var(--canvas) 50%, #e8f3ff 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,238,0.07), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Two-column comparison */
.comparison-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-5);
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-col {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1.5px solid var(--ink-10);
}

.comparison-col.good {
    border-color: rgba(0,102,238,0.2);
    box-shadow: var(--shadow-md);
}

.comparison-header {
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.comparison-col.bad .comparison-header { background: var(--red-light); }
.comparison-col.good .comparison-header {
    background: linear-gradient(135deg, var(--blue), var(--teal));
}

.comparison-header-label {
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.comparison-col.bad .comparison-header-label { color: var(--red); }
.comparison-col.good .comparison-header-label { color: var(--white); }

.comparison-header-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

.comparison-col.bad .comparison-header-sub { color: var(--red); }
.comparison-col.good .comparison-header-sub { color: rgba(255,255,255,0.75); }

.comparison-items {
    padding: var(--space-5) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-60);
    background: var(--canvas);
    border: 1px solid var(--ink-5);
}

.comparison-item-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.comparison-col.bad .comparison-item-icon { background: var(--red-light); }
.comparison-col.good .comparison-item-icon { background: var(--green-light); }

/* VS divider */
.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.vs-pill {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--ink-10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ink-40);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

/* ============================================================
   QUIZ SECTION
============================================================ */
.quiz-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.quiz-container {
    max-width: 780px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.quiz-header h2 { font-size: clamp(1.875rem, 4vw, 2.625rem); margin-bottom: var(--space-4); }
.quiz-header p { font-size: 1.0625rem; color: var(--ink-40); line-height: 1.7; }

.quiz-progress-wrap {
    max-width: 440px;
    margin: var(--space-6) auto 0;
}

.quiz-progress-bar {
    height: 6px;
    background: var(--ink-5);
    border-radius: var(--r-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    border-radius: var(--r-full);
    transition: width 0.5s var(--ease-out);
}

.quiz-progress-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blue);
}

/* Question slide */
.quiz-questions-slider {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.quiz-track { position: relative; width: 100%; }

.quiz-question-slide {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: var(--white);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.5s var(--ease-out);
    pointer-events: none;
}

.quiz-question-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.quiz-question-slide.answered {
    opacity: 0;
    transform: translateX(-60px);
}

.question-num {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: var(--space-3);
}

.question-text {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--ink);
    line-height: 1.35;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: var(--t-base);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
    position: relative;
}

.quiz-option:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
    transform: translateX(6px);
}

.quiz-option.selected {
    border-color: var(--blue);
    background: var(--blue-50);
}

.option-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--ink-10);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-fast);
}

.quiz-option:hover .option-radio { border-color: var(--blue); }

.quiz-option.selected .option-radio {
    border-color: var(--blue);
    background: var(--blue);
}

.quiz-option.selected .option-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}

.option-label { flex: 1; font-weight: 500; color: var(--ink-60); }
.quiz-option.selected .option-label { color: var(--blue); font-weight: 600; }

/* Results */
.quiz-results {
    background: var(--white);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
}

.results-score {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--r-lg);
    border: 2px solid;
    margin-bottom: var(--space-8);
}

.score-icon { font-size: 3rem; margin-bottom: var(--space-4); }
.score-level { font-size: 1.375rem; font-weight: 700; margin-bottom: var(--space-2); }
.score-message { font-size: 1rem; color: var(--ink-40); margin-bottom: var(--space-4); }
.score-number { font-size: 3rem; font-weight: 700; font-family: var(--font-display); }

.results-analysis h3 { font-size: 1.375rem; margin-bottom: var(--space-6); }
.status-bars { display: flex; flex-direction: column; gap: var(--space-5); margin-bottom: var(--space-8); }
.status-bar { display: flex; flex-direction: column; gap: var(--space-2); }
.status-label { font-size: 0.9375rem; font-weight: 600; }
.status-track { height: 10px; background: var(--ink-5); border-radius: var(--r-full); overflow: hidden; }
.status-fill { height: 100%; border-radius: var(--r-full); transition: width 1s var(--ease-out); }

.results-recommendations h3 { font-size: 1.375rem; margin-bottom: var(--space-2); }
.results-recommendations > p { color: var(--ink-40); margin-bottom: var(--space-5); }

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.recommendation-card {
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-lg);
    padding: var(--space-5);
    position: relative;
}

.recommendation-card.urgent {
    border-color: var(--red);
    background: var(--red-light);
}

.urgent-badge {
    position: absolute;
    top: -10px;
    right: var(--space-4);
    background: var(--red);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recommendation-card h4 { font-size: 1rem; margin-bottom: var(--space-2); }
.recommendation-card p { font-size: 0.875rem; color: var(--ink-40); margin: 0; }

.results-cta { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS SECTION — dark dual-row scroll ticker
============================================================ */
.testimonials-section {
    padding: var(--space-24) 0 var(--space-20);
    background: linear-gradient(160deg, #050d1f 0%, #081428 40%, #0a1830 70%, #060e1e 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0,102,238,0.18) 0%, rgba(0,194,203,0.08) 40%, transparent 70%);
    pointer-events: none;
}

/* Scroll wrapper */
.tscroll-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 0 var(--space-10);
}

.tscroll-fade-left,
.tscroll-fade-right {
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.tscroll-fade-left  { left:  0; background: linear-gradient(to right, #060e1e, transparent); }
.tscroll-fade-right { right: 0; background: linear-gradient(to left,  #060e1e, transparent); }

.tscroll-row {
    display: flex;
    margin-bottom: var(--space-4);
    overflow: hidden;
}

.tscroll-track {
    display: flex;
    gap: var(--space-5);
    flex-shrink: 0;
}

/* Row directions */
.tscroll-row--ltr .tscroll-track { animation: tscroll-ltr 40s linear infinite; }
.tscroll-row--rtl .tscroll-track { animation: tscroll-rtl 40s linear infinite; }

.tscroll-row--ltr:hover .tscroll-track,
.tscroll-row--rtl:hover .tscroll-track { animation-play-state: paused; }

@keyframes tscroll-ltr {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes tscroll-rtl {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Testimonial card */
.tcard {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--r-xl);
    padding: var(--space-7) var(--space-8);
    width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: var(--t-base);
    backdrop-filter: blur(8px);
}

.tcard:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(0,194,203,0.3);
    box-shadow: 0 0 32px rgba(0,102,238,0.18);
    transform: translateY(-4px);
}

.tcard-quote { opacity: 0.7; }

.tcard-text {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

.tcard-stars {
    display: flex;
    gap: 3px;
}

.tcard-footer {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tcard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--white);
    flex-shrink: 0;
}

.tcard-name { font-size: 0.9375rem; font-weight: 700; color: var(--white); }
.tcard-role { font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* Bottom CTA strip */
.testimonials-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonials-cta-stars {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-full);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.testimonials-cta-stars svg { flex-shrink: 0; }

/* Legacy selectors (kept for compatibility) */
.testimonial-card { display: none; }
.testimonials-grid { display: none; }

/* ============================================================
   CLIENTS SECTION
============================================================ */
.clients {
    padding: var(--space-20) 0;
    background: var(--white);
    overflow: hidden;
}

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

.clients-title {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    margin-bottom: var(--space-3);
}

.clients-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--ink-40);
    max-width: 520px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}

.logo-slider {
    position: relative;
    overflow: hidden;
}

.logo-fade-left, .logo-fade-right {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-fade-left { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logo-fade-right { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.logo-track {
    display: flex;
    gap: var(--space-4);
    animation: ticker 50s linear infinite;
}

.logo-track:hover { animation-play-state: paused; }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-lg);
    padding: 12px 20px;
    flex-shrink: 0;
    min-width: 196px;
    transition: var(--t-base);
}

.client-logo-card:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.client-logo-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.client-logo-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    display: block;
}

.client-logo-industry {
    font-size: 0.7rem;
    color: var(--ink-40);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-top: 2px;
}

.clients-industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-10);
}

.industry-tag {
    padding: 6px 14px;
    background: var(--blue-50);
    border: 1px solid rgba(0,102,238,0.15);
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    transition: var(--t-fast);
    cursor: default;
}

.industry-tag:hover {
    border-color: var(--blue-300);
    color: var(--blue);
    background: var(--blue-50);
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact {
    padding: var(--space-24) 0;
    background: linear-gradient(165deg, #f0f5ff 0%, var(--canvas) 40%, #edf4ff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,194,203,0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

/* Left — info panel */
.contact-info h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.625rem);
    margin-bottom: var(--space-4);
}

.contact-info > p {
    font-size: 1.0625rem;
    color: var(--ink-40);
    line-height: 1.75;
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--ink-10);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}

.contact-detail-item:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-sm);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-50);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-40);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}

/* Right — form */
.contact-form-card {
    background: var(--white);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-6);
    font-family: var(--font-body);
}

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

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

.form-group label {
    display: block;
    font-size: 0.8375rem;
    font-weight: 600;
    color: var(--ink-60);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink);
    transition: var(--t-fast);
    outline: none;
    appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,102,238,0.1);
}

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

.form-submit { width: 100%; justify-content: center; margin-top: var(--space-2); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.65);
    padding: var(--space-16) 0 var(--space-6);
    position: relative;
    overflow: hidden;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

/* Brand column */
.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--white);
    font-family: var(--font-body);
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: rgba(255,255,255,0.45);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--t-fast);
}

.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

/* Other columns */
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--space-5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--t-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

/* Contact col */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer-contact-text strong {
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 2px;
    font-size: 0.8125rem;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-bottom-left {
    font-size: 0.8375rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-left a { color: var(--teal); text-decoration: none; }
.footer-bottom-left a:hover { text-decoration: underline; }

.footer-bottom-right {
    display: flex;
    gap: var(--space-5);
}

.footer-bottom-right a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: var(--t-fast);
}

.footer-bottom-right a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   FLOATING ELEMENTS
============================================================ */
/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 999;
    transition: var(--t-base);
}

.whatsapp-float:hover {
    background: #1EBE5C;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
}

.whatsapp-float { animation: wa-pulse 2.5s ease-in-out infinite; }

/* Scroll-to-top */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--t-base);
    box-shadow: var(--shadow-blue-sm);
    z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue-700); transform: translateY(-3px); }

/* Floating widget */
.floating-widget {
    position: fixed;
    bottom: 28px;
    right: 90px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s var(--ease-out);
}

.floating-widget.show { opacity: 1; visibility: visible; transform: translateY(0); }

.widget-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 20px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    transition: var(--t-base);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
}

.widget-trigger:hover { background: var(--blue-700); transform: translateY(-2px); }

.widget-panel {
    position: absolute;
    bottom: 58px;
    right: 0;
    width: 300px;
    background: var(--white);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s var(--ease-out);
    overflow: hidden;
}

.floating-widget.open .widget-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--ink-5);
    background: var(--canvas);
}

.widget-header h4 { font-size: 1rem; margin: 0; font-family: var(--font-body); font-weight: 700; }

.widget-close {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--ink-5);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--ink-40);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-fast);
}

.widget-close:hover { background: var(--blue); color: var(--white); }

.widget-content { padding: var(--space-4) var(--space-5); }
.widget-content > p { font-size: 0.875rem; color: var(--ink-40); margin-bottom: var(--space-3); }

.widget-options { display: flex; flex-direction: column; gap: var(--space-2); }

.widget-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--canvas);
    border: 1.5px solid var(--ink-10);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--ink-60);
    transition: var(--t-fast);
    font-size: 0.9rem;
    font-weight: 500;
}

.widget-option:hover {
    border-color: var(--blue-300);
    background: var(--blue-50);
    color: var(--blue);
    transform: translateX(3px);
}

.widget-icon { color: var(--blue); flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .statutes-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hero-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }

    .hero { padding-top: 100px; }

    .about-visual { order: -1; }

    .comparison-wrap {
        grid-template-columns: 1fr;
    }

    .comparison-vs { flex-direction: row; padding: var(--space-2) 0; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

    .services-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

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

    .hero-stats { gap: var(--space-6); }

    .hero-stat-num { font-size: 1.625rem; }

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

    .statutes-grid { grid-template-columns: repeat(2, 1fr); }

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

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

    .footer-brand { grid-column: 1 / -1; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

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

    .logo-fade-left, .logo-fade-right { width: 48px; }

    .services-banner { padding: var(--space-8); }

    .statutes-filters { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .statutes-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .comparison-wrap { gap: var(--space-3); }
    .about-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.fade-up.animate-in { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up:nth-child(3) { transition-delay: 0.25s; }
.fade-up:nth-child(4) { transition-delay: 0.30s; }
.fade-up:nth-child(5) { transition-delay: 0.35s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* hero compat aliases */
.hero-gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 60%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* section-eyebrow compat */
.section-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); background: var(--blue-50); border: 1px solid rgba(0,102,238,0.18); padding: 5px 12px; border-radius: var(--r-full); margin-bottom: var(--space-4); font-family: var(--font-body); }

/* section-header compat */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-12); }
.section-header h2 { font-size: clamp(1.875rem, 4vw, 2.875rem); margin-bottom: var(--space-4); }
.section-header p { font-size: 1.0625rem; color: var(--ink-40); line-height: 1.75; }

/* Floating widget pulse animation */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,102,238,0.55); }
    60%  { box-shadow: 0 0 0 12px rgba(0,102,238,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,102,238,0); }
}

/* About image placeholder (fallback when no image is set) */
.about-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    background: var(--blue-50);
    border: 2px dashed var(--blue-300);
    border-radius: var(--r-xl);
    padding: var(--space-16) var(--space-8);
    min-height: 260px;
    text-align: center;
    color: var(--ink-40);
}
.about-image-placeholder p { font-weight: 600; color: var(--ink-60); margin: 0; }
.about-image-placeholder span { font-size: 0.875rem; }

/* Client logo card - name truncation */
.client-logo-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

/* Contact form note */
.form-note {
    font-size: 0.8rem;
    color: var(--ink-40);
    text-align: center;
    margin-top: var(--space-3);
}

/* Hero carousel slide text */
.hero-slide-label {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: var(--space-5);
    text-align: center;
}
.hero-slide-desc {
    font-size: 0.875rem;
    color: var(--ink-40);
    text-align: center;
    margin-top: var(--space-2);
    max-width: 240px;
}

/* scard-icon sizing override (ensure visible) */
.scard-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

/* ============================================================
   VISUAL ENHANCEMENTS
============================================================ */

/* Hero — extra teal orb (third accent) */
.hero .container::before {
    content: '';
    position: absolute;
    top: 60%;
    right: 5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,194,203,0.09), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Hero card — shimmer line on top */
.hero-card::before {
    background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 50%, #a78bfa 100%);
}

/* About pillar hover glow */
.about-pillar:hover {
    border-color: rgba(0,102,238,0.25);
    box-shadow: 0 8px 24px rgba(0,102,238,0.1);
    background: #f8fbff;
}

/* Why-Us comparison good card — stronger gradient */
.comparison-col.good {
    background: linear-gradient(180deg, #f0f7ff 0%, var(--white) 100%);
    box-shadow: 0 12px 40px rgba(0,102,238,0.15);
}

/* Statute cards — glow on hover */
.statute-card:hover {
    box-shadow: 0 12px 32px rgba(0,102,238,0.2);
}

/* Services banner — more vivid */
.services-banner {
    background: linear-gradient(135deg, #001f5b 0%, #003080 35%, #0a1830 65%, #050d20 100%);
}

/* Quiz section — subtle gradient */
.quiz-section {
    background: linear-gradient(180deg, var(--white) 0%, #f4f8ff 100%);
}

/* Contact form card — elevated glow */
.contact-form-card {
    box-shadow: 0 20px 60px rgba(0,102,238,0.1), 0 4px 16px rgba(0,0,0,0.06);
}

/* Footer — richer dark gradient */
.footer {
    background: linear-gradient(160deg, #050d1f 0%, #080f22 40%, #060c1a 100%) !important;
}

/* Global: section reveal animation */
section { position: relative; }

/* Smooth inter-section transitions */
.about, .services, .why-us, .testimonials-section, .contact, .quiz-section {
    will-change: auto;
}

/* Responsive: hide extra tcard row on mobile */
@media (max-width: 768px) {
    .tscroll-row--rtl { display: none; }
    .tcard { width: 300px; }
    .tscroll-fade-left, .tscroll-fade-right { width: 60px; }
}
