/* ==========================================================================
   BALTIC LEGAL-TECH DESIGN SYSTEM — LeGal+
   Clean Nordic Precision, High-Trust Legal & Immigration Consulting
   ========================================================================== */

:root {
    /* Core Palette: Baltic Petrol, Slate & Positive Teal */
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-muted: #F1F5F9;
    --color-baltic: #0B3B49;
    --color-baltic-dark: #072832;
    --color-ink: #0F172A;
    --color-text: #475569;
    --color-text-dark: #0F172A;
    --color-text-muted: #64748B;

    /* Primary & Status Accents */
    --color-primary: #0D9488;
    --color-primary-hover: #0F766E;
    --color-primary-soft: rgba(13, 148, 136, 0.10);
    --color-accent: #0B3B49;
    --color-border: #E2E8F0;
    --color-border-strong: #CBD5E1;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 88px 0;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-md: 12px;

    /* Elevation */
    --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 28px -8px rgba(11, 59, 73, 0.14), 0 4px 10px -4px rgba(13, 148, 136, 0.12);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.hidden {
    display: none !important;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-ink);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    color: var(--color-ink);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.6;
}

.highlight-text {
    color: var(--color-primary);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.24);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.30);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--color-baltic);
    border-color: var(--color-border-strong);
}

.btn-secondary:hover {
    background-color: var(--color-surface-muted);
    border-color: var(--color-baltic);
    color: var(--color-baltic);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.02rem;
}

/* ==========================================================================
   1. HERO SECTION — BALTIC LEGAL-TECH SPLIT
   ========================================================================== */
.hero-lp {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 85% 15%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(11, 59, 73, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
}

.hero-content-overlay {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: var(--color-primary-soft);
    border: 1px solid rgba(13, 148, 136, 0.25);
    color: var(--color-primary-hover);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.hero-title {
    font-size: clamp(2.15rem, 4.2vw, 3.3rem);
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 560px;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-guarantee {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Trust Indicators Bar */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-num {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-baltic);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Right Side: Baltic Case Control Card */
.hero-visual {
    position: relative;
}

.hero-status-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.hero-photo-strip {
    position: relative;
    height: 168px;
    overflow: hidden;
    background-color: var(--color-baltic);
}

.hero-photo-strip picture,
.hero-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 59, 73, 0.25) 0%, rgba(11, 59, 73, 0.82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 22px;
    color: #FFFFFF;
}

.hero-photo-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #99F6E4;
    margin-bottom: 4px;
}

.hero-photo-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-tracker-body {
    padding: 20px 22px 22px;
}

.case-tracker-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-tracker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.9rem;
}

.case-tracker-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-ink);
}

.case-step-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-baltic);
    background: #E2E8F0;
    padding: 3px 7px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

.case-status-pill {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.case-status-pill.is-done {
    background: var(--color-primary-soft);
    color: var(--color-primary-hover);
}

.case-status-pill.is-active {
    background: rgba(11, 59, 73, 0.1);
    color: var(--color-baltic);
}

/* ==========================================================================
   2. PAIN POINTS
   ========================================================================== */
.pain-section {
    padding: 76px 0;
    background-color: var(--color-bg);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.pain-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.pain-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #FEF2F2;
    color: #E11D48;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pain-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pain-card p {
    font-size: 0.94rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================================
   3. SERVICES + AUDIENCE FILTER
   ========================================================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.audience-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -16px auto 36px;
    padding: 6px;
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    width: fit-content;
}

.audience-tab {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.audience-tab:hover {
    color: var(--color-ink);
}

.audience-tab.active {
    background: #FFFFFF;
    color: var(--color-baltic);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    background: var(--color-surface);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.service-card.is-hidden {
    display: none;
}

.service-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-hover);
    background: var(--color-primary-soft);
    padding: 4px 10px;
    border-radius: 999px;
}

.card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.93rem;
    color: var(--color-text);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary-hover) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
}

.card-link:hover {
    color: var(--color-baltic) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   4. EXTRA SERVICES
   ========================================================================== */
.extra-services {
    padding: 68px 0;
    background-color: var(--color-bg);
}

.extra-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.extra-grid a {
    text-decoration: none;
}

.extra-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-ink);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.extra-grid a .extra-item {
    border-color: rgba(13, 148, 136, 0.35);
    color: var(--color-baltic);
}

.extra-grid a:hover .extra-item,
.extra-item:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary-soft);
    color: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   5. PROCESS TIMELINE
   ========================================================================== */
.process-section {
    padding: var(--section-padding);
    background-color: var(--color-baltic);
    color: #F8FAFC;
}

.process-section .section-title {
    color: #FFFFFF;
    margin-bottom: 44px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-step {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.step-content h3 {
    color: #FFFFFF;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.step-content p {
    color: #CBD5E1;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ==========================================================================
   6. TESTIMONIALS, BENEFITS & 2026 INFO
   ========================================================================== */
.testimonials,
.info-screens,
.team-section {
    padding: 68px 0;
    background-color: var(--color-bg);
}

.about {
    padding: var(--section-padding);
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-card-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 44px 36px;
    box-shadow: var(--shadow-soft);
}

.testimonial-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.testimonial-card,
.info-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    color: var(--color-ink);
    line-height: 1.65;
}

.testimonial-card .author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    font-size: 0.86rem;
}

.testimonial-card .author strong {
    color: var(--color-ink);
}

.testimonial-card .author span {
    color: var(--color-primary-hover);
    font-weight: 600;
    background: var(--color-primary-soft);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.benefit-card strong {
    display: block;
    font-size: 1.06rem;
    color: var(--color-baltic);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.55;
}

.info-card h3 {
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--color-ink);
}

.info-card p {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================================
   7. TEAM SECTION
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 780px;
    margin: 28px auto 0;
}

.team-member-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-member-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.member-photo {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    margin-bottom: 8px;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-ink);
}

.member-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.member-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-strong);
    color: var(--color-baltic);
    font-weight: 600;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.member-contact:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content-overlay {
        max-width: 100%;
    }

    .process-timeline,
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid,
    .pain-grid,
    .testimonial-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-lp {
        padding: 44px 0 48px;
    }

    .trust-indicators {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .trust-num {
        font-size: 1.25rem;
    }

    .service-grid,
    .pain-grid,
    .testimonial-grid,
    .info-grid,
    .process-timeline,
    .benefits-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-card-block {
        padding: 28px 20px;
    }

    .audience-tabs {
        width: 100%;
        justify-content: stretch;
    }

    .audience-tab {
        flex: 1 1 auto;
        text-align: center;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   9. COLBA LIGHT DESIGN SYSTEM OVERRIDE (lang="ru")
   Exact tokens from https://colba.pl: White (#ffffff), Paper (#f5f7fa),
   Cobalt/Royal Blue (#3158c8 / #274987), Success Sage (#256348 / #eaf1e8)
   Zero Red — Crisp, Airy, High-Trust
   ========================================================================== */
:root {
    color-scheme: light;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-surface-muted: #f5f7fa;
    --color-baltic: #274987;
    --color-baltic-dark: #1e3b70;
    --color-ink: #222222;
    --color-text: #5a616d;
    --color-text-dark: #222222;
    --color-text-muted: #5a616d;

    --color-primary: #3158c8;
    --color-primary-hover: #2649b2;
    --color-primary-soft: #edf2fc;
    --color-accent: #4b6aaa;
    --color-border: #e5e7eb;
    --color-border-strong: #9ca3af;

    --font-heading: 'Inter', system-ui, sans-serif;
    --container-width: 1240px;
    --section-padding: clamp(56px, 6vw, 88px) 0;
    --radius: 16px;
    --radius-md: 12px;
    --shadow-soft: 0 12px 32px -16px rgba(15, 23, 42, 0.10);
    --shadow-hover: 0 16px 40px -16px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body {
    background-color: #ffffff;
    background-image: none;
    color: #5a616d;
}

h1,
h2,
h3,
h4,
.section-title,
.hero-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #222222;
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.section-title {
    text-align: left;
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    line-height: 1.18;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: left;
    margin: 0 0 36px 0;
    max-width: 660px;
}

/* Contact section — always centered */
.contact-form-section .section-title,
.contact-form-section .section-subtitle {
    text-align: center !important;
    margin-inline: auto !important;
    max-width: 640px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.section-header-row .section-subtitle {
    margin-bottom: 0;
}

.audience-tabs {
    margin: 0 0 28px 0;
}

.extra-grid {
    justify-content: flex-start;
}

.team-grid {
    max-width: 100%;
    margin: 28px 0 0;
}

.highlight-text {
    color: #274987;
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.hero-lp {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    border-bottom: 1px solid #e5e7eb;
}

.hero-badge {
    background-color: #edf2fc;
    border: 1px solid rgba(49, 88, 200, 0.2);
    color: #274987;
}

.hero-badge::before {
    background-color: #3158c8;
    box-shadow: none;
}

.btn-primary {
    background-color: #3158c8;
    border-color: #3158c8;
    color: #ffffff;
    box-shadow: 0 6px 18px -6px rgba(49, 88, 200, 0.45);
}

.btn-primary:hover {
    background-color: #2649b2;
    border-color: #2649b2;
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(38, 73, 178, 0.5);
}

.btn-secondary {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #274987;
}

.btn-secondary:hover {
    background-color: #f5f7fa;
    border-color: #4b6aaa;
    color: #1e3b70;
}

.trust-num {
    color: #274987;
}

.civic-roadmap-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222222;
}

.civic-roadmap-arrow {
    color: #3158c8;
    font-weight: 700;
}

.hero-status-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.14);
}

.hero-photo-overlay {
    background: linear-gradient(180deg, rgba(30, 59, 112, 0.20) 0%, rgba(30, 59, 112, 0.84) 100%);
}

.hero-photo-kicker {
    color: #edf2fc;
}

.case-tracker-item {
    background: #f5f7fa;
    border-color: #e5e7eb;
}

.case-step-num {
    background: #edf2fc;
    color: #274987;
}

.case-status-pill.is-done {
    background: #eaf1e8;
    color: #256348;
}

.case-status-pill.is-active {
    background: #edf2fc;
    color: #274987;
}

.civic-experts-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #f5f7fa;
    border-top: 1px solid #e5e7eb;
}

.civic-avatars {
    display: flex;
    align-items: center;
}

.civic-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-right: -10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10);
}

.civic-experts-text {
    font-size: 0.84rem;
    line-height: 1.35;
    color: #222222;
}

.civic-experts-text span {
    display: block;
    color: #5a616d;
    font-size: 0.78rem;
}

.pain-section,
.extra-services,
.testimonials,
.info-screens,
.team-section {
    background-color: #ffffff;
}

.services,
.about {
    background-color: #f5f7fa;
    border-color: #e5e7eb;
}

.pain-card,
.section-card-block,
.team-member-card {
    background: #ffffff;
    border-color: #e5e7eb;
    backdrop-filter: none;
}

.service-card {
    background: #ffffff;
    border-color: #e5e7eb;
}

.testimonial-card,
.benefit-card,
.info-card {
    background: #f5f7fa;
    border-color: #e5e7eb;
}

.pain-icon {
    background: #edf2fc;
    color: #274987;
}

.audience-tabs {
    background: #ffffff;
    border-color: #e5e7eb;
}

.audience-tab {
    color: #5a616d;
}

.audience-tab:hover {
    color: #222222;
}

.audience-tab.active {
    background: #edf2fc;
    color: #274987;
    border: none;
    box-shadow: none;
}

.service-tag {
    color: #274987;
    background: #edf2fc;
}

.service-card:hover,
.pain-card:hover,
.team-member-card:hover {
    border-color: #4b6aaa;
    background: #ffffff;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.14);
}

.card-link {
    color: #274987 !important;
}

.card-link:hover {
    color: #3158c8 !important;
}

.extra-item {
    background: #f5f7fa;
    border-color: #e5e7eb;
    color: #222222;
}

.extra-grid a .extra-item {
    border-color: rgba(49, 88, 200, 0.25);
    color: #274987;
    background: #ffffff;
}

.extra-grid a:hover .extra-item,
.extra-item:hover {
    border-color: #3158c8;
    background-color: #edf2fc;
    color: #274987;
}

.process-section {
    background: #f5f7fa;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #222222;
}

.process-section .section-title {
    color: #222222;
}

.process-step {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.08);
}

.step-num {
    background-color: #edf2fc;
    border: 1px solid rgba(49, 88, 200, 0.2);
    color: #274987;
}

.step-content h3 {
    color: #222222;
}

.step-content p {
    color: #5a616d;
}

.testimonial-card .quote {
    color: #222222;
}

.testimonial-card .author strong,
.benefit-card strong {
    color: #222222;
}

.testimonial-card .author span {
    color: #256348;
    background: #eaf1e8;
}

.member-photo {
    border-color: #ffffff;
}

.member-contact {
    background: #f5f7fa;
    border-color: #e5e7eb;
    color: #274987;
}

.member-contact:hover {
    background: #3158c8;
    border-color: #3158c8;
    color: #ffffff;
}

/* Service card icon + structured scope list */
.service-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #edf2fc;
    color: #274987;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-scope {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.84rem;
    color: #5a616d;
}

.service-scope li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-scope li svg {
    width: 15px;
    height: 15px;
    color: #256348;
    flex-shrink: 0;
}

/* Extra services grid as clickable cards */
.extra-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.extra-card-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #222222;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.extra-card-link:hover {
    background: #ffffff;
    border-color: #3158c8;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.14);
    transform: translateY(-2px);
}

.extra-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #edf2fc;
    color: #274987;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.extra-card-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 2px;
}

.extra-card-desc {
    font-size: 0.8rem;
    color: #5a616d;
    line-height: 1.4;
}

/* Process pipeline styling */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3158c8 0%, #4b6aaa 60%, #256348 100%);
    opacity: 0.28;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.process-stage-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #274987;
    background: #edf2fc;
    padding: 4px 10px;
    border-radius: 999px;
}

.process-outcome {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.82rem;
    font-weight: 600;
    color: #256348;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 1024px) {
    .extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .extra-grid {
        grid-template-columns: 1fr;
    }
}

/* Interactive FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 880px;
}

.faq-item {
    background: #f5f7fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] {
    background: #ffffff;
    border-color: #3158c8;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.12);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.faq-chevron {
    width: 18px;
    height: 18px;
    color: #274987;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: #3158c8;
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 0.95rem;
    color: #5a616d;
    line-height: 1.65;
}

