/* ═══════════════════════════════════════════════════════════════
   FORENSIC LEGAL — main.css
   Aesthetic: "Chambers of Excellence" — refined authority
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reading Progress ─── */
.fl-progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    z-index: 9999; background: transparent;
}
.fl-progress__bar {
    height: 100%; width: 0; background: linear-gradient(90deg, var(--gold) 0%, #E8C368 100%);
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(196, 155, 60, 0.4);
}

/* ─── Hero ─── */
.fl-hero--page {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 100px 24px 72px;
    text-align: center;
    overflow: hidden;
}
.fl-hero__pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(30deg, rgba(196,155,60,0.03) 12%, transparent 12.5%, transparent 87%, rgba(196,155,60,0.03) 87.5%),
        linear-gradient(150deg, rgba(196,155,60,0.03) 12%, transparent 12.5%, transparent 87%, rgba(196,155,60,0.03) 87.5%),
        linear-gradient(30deg, rgba(196,155,60,0.03) 12%, transparent 12.5%, transparent 87%, rgba(196,155,60,0.03) 87.5%),
        linear-gradient(150deg, rgba(196,155,60,0.03) 12%, transparent 12.5%, transparent 87%, rgba(196,155,60,0.03) 87.5%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 1;
}
.fl-hero__gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(196,155,60,0.08) 0%, transparent 60%),
                linear-gradient(180deg, rgba(12,27,51,0) 0%, rgba(12,27,51,0.4) 100%);
}
.fl-hero__inner {
    position: relative; z-index: 2;
    max-width: 860px; margin: 0 auto;
}
.fl-hero__title {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.fl-hero__subtitle {
    font-size: 1.125rem;
    color: var(--silver);
    margin-bottom: 28px;
    font-weight: 400;
}
.fl-hero__meta-bar {
    display: inline-flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 10px 28px;
    backdrop-filter: blur(8px);
}
.fl-hero__meta-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8125rem; font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.fl-hero__meta-item svg { opacity: 0.5; }
.fl-hero__meta-divider {
    width: 1px; height: 14px;
    background: rgba(255,255,255,0.15);
}

/* ─── Breadcrumbs ─── */
.fl-breadcrumbs {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.fl-breadcrumbs a { color: var(--gold); text-decoration: none; }
.fl-breadcrumbs a:hover { text-decoration: underline; }
.fl-breadcrumbs svg { opacity: 0.4; }

/* ─── Trust Strip (clean text badges) ─── */
.fl-trust-strip {
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
}
.fl-trust-strip__inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.fl-trust-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--navy-text);
    opacity: 0.5;
    padding: 4px 16px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}
a.fl-trust-badge:hover {
    opacity: 0.8;
    color: var(--gold);
}
.fl-trust-sep {
    width: 1px; height: 14px;
    background: var(--border);
    flex-shrink: 0;
}

/* ─── Article Layout (content + sidebar) ─── */
.fl-article-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 0;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

/* ─── Content Area ─── */
.fl-content { padding: 0; }
.fl-content__inner {
    max-width: none;
}
.fl-content__inner > p:first-of-type::first-letter {
    float: left;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.8;
    padding: 4px 12px 4px 0;
    color: var(--gold);
    font-weight: 400;
}
.fl-content__inner p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--navy-text);
}
.fl-content__inner h2 {
    margin-top: 3rem; margin-bottom: 1rem;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}
.fl-content__inner h3 {
    margin-top: 2rem; margin-bottom: 0.75rem;
    font-size: 1.375rem;
}
.fl-content__inner a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(196,155,60,0.3);
    transition: border-color 0.2s;
}
.fl-content__inner a:hover { border-bottom-color: var(--gold); }
.fl-content__inner ul, .fl-content__inner ol {
    margin: 0 0 1.5rem 1.5rem;
    line-height: 1.8;
}
.fl-content__inner li { margin-bottom: 0.5rem; }
.fl-content__inner img {
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}
.fl-content__inner blockquote {
    border-left: 3px solid var(--gold);
    padding: 20px 28px;
    margin: 2rem 0;
    background: var(--ivory);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--navy);
}

/* ─── Article Outline ─── */
.fl-outline {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;
    padding: 28px 32px;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: 0 2px 12px rgba(12,27,51,0.04);
}
.fl-outline::before {
    content: '';
    position: absolute;
    top: 28px; left: -4px;
    width: 4px; height: 24px;
    background: var(--gold);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px rgba(196,155,60,0.3);
}
.fl-outline__label {
    font-weight: 700; font-size: 0.6875rem;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--gold); margin-bottom: 16px;
}
.fl-outline__list { margin: 0 0 0 1.25rem; padding: 0; }
.fl-outline__list li { margin-bottom: 8px; font-size: 0.9375rem; line-height: 1.5; }
.fl-outline__list a {
    color: var(--navy-text); text-decoration: none;
    border-bottom: none;
    transition: color 0.2s, padding-left 0.2s;
}
.fl-outline__list a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* ─── Callout / Key Takeaways ─── */
.fl-callout {
    background: var(--navy);
    border-radius: 16px;
    padding: 36px 40px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(12,27,51,0.2);
}
.fl-callout::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), #E8C368, var(--gold));
}
.fl-callout::after {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(196,155,60,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.fl-callout__title {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    position: relative;
}
.fl-callout ul {
    margin: 0; padding: 0; list-style: none;
}
.fl-callout li {
    margin-bottom: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    padding-left: 28px;
    position: relative;
    font-size: 0.9375rem;
}
.fl-callout li::before {
    content: '';
    position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 2px;
    transform: rotate(45deg);
}
.fl-callout strong { color: var(--white); }

/* ─── Figure ─── */
.fl-figure {
    margin: 2.5rem 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(12,27,51,0.1);
    position: relative;
}
.fl-figure img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }

/* ─── FAQ Accordion ─── */
.fl-faq { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.fl-faq > h2 {
    margin-bottom: 2rem;
    padding-left: 0;
    border-left: none;
    text-align: left;
}
.fl-faq__item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.fl-faq__item:hover {
    border-color: rgba(196,155,60,0.3);
    box-shadow: 0 2px 12px rgba(196,155,60,0.06);
}
.fl-faq__question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 20px 28px;
    background: var(--white); border: none; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 600;
    color: var(--navy); text-align: left; line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}
.fl-faq__question:hover { background: var(--ivory); }
.fl-faq__question::after {
    content: '+'; font-size: 1.75rem; font-weight: 300;
    color: var(--gold); margin-left: 20px; flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--border);
    transition: all 0.3s;
}
.fl-faq__question:hover::after { border-color: var(--gold); }
.fl-faq__item--open .fl-faq__question {
    background: var(--ivory);
    color: var(--gold);
}
.fl-faq__item--open .fl-faq__question::after {
    content: '\2212';
    background: var(--gold); color: var(--white);
    border-color: var(--gold);
    transform: rotate(180deg);
}
.fl-faq__answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 28px;
    background: var(--ivory);
}
.fl-faq__item--open .fl-faq__answer {
    max-height: 600px;
    padding: 0 28px 24px;
}
.fl-faq__answer p { margin-bottom: 0; color: var(--navy-text); line-height: 1.8; }

/* ─── Sidebar ─── */
.fl-sidebar { position: relative; }
.fl-sidebar__card {
    position: sticky; top: 100px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(12,27,51,0.06);
    transition: box-shadow 0.3s;
}
.fl-sidebar__card:hover {
    box-shadow: 0 8px 32px rgba(12,27,51,0.1);
}
.fl-sidebar__badge {
    display: inline-block;
    background: var(--navy);
    color: var(--gold);
    font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.fl-sidebar__title {
    font-size: 1.375rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.fl-sidebar__desc {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}
.fl-sidebar__phone {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}
.fl-sidebar__phone svg { color: var(--gold); }
.fl-sidebar__phone:hover { color: var(--gold); }
.fl-sidebar__cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.9375rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(196,155,60,0.3);
}
.fl-sidebar__cta:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196,155,60,0.4);
    color: var(--navy);
}
.fl-sidebar__credentials { border-top: 1px solid var(--border); padding-top: 20px; }
.fl-sidebar__credential {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.8125rem; font-weight: 500;
    color: var(--navy-text);
    margin-bottom: 10px;
}
.fl-sidebar__credential svg { color: var(--gold); flex-shrink: 0; }

/* ─── CTA Banner ─── */
.fl-cta-banner {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 96px 24px;
    text-align: center;
    overflow: hidden;
}
.fl-cta-banner__pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(196,155,60,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(196,155,60,0.04) 0%, transparent 50%);
}
.fl-cta-banner__inner {
    position: relative; z-index: 2;
    max-width: 640px; margin: 0 auto;
}
.fl-cta-banner__kicker {
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}
.fl-cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
    border: none; padding: 0;
}
.fl-cta-banner p {
    color: var(--silver);
    margin-bottom: 36px;
    font-size: 1.125rem;
    line-height: 1.7;
}
.fl-cta-banner__actions {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}

/* ─── Buttons ─── */
.fl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem; font-weight: 600;
    border-radius: 10px; text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; border: none;
}
.fl-btn--lg { padding: 16px 40px; font-size: 1rem; }
.fl-btn--gold {
    background: var(--gold); color: var(--navy);
    box-shadow: 0 2px 8px rgba(196,155,60,0.3);
}
.fl-btn--gold:hover {
    background: var(--gold-hover); color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,155,60,0.4);
}
.fl-btn--ghost {
    border: 2px solid var(--silver); color: var(--white); background: transparent;
}
.fl-btn--ghost:hover { border-color: var(--white); color: var(--white); }
.fl-btn--ghost-light {
    border: 2px solid rgba(196,155,60,0.4); color: var(--white); background: transparent;
}
.fl-btn--ghost-light:hover {
    border-color: var(--gold); background: rgba(196,155,60,0.1); color: var(--white);
}

/* ─── Sections (homepage) ─── */
.fl-section { padding: 80px 24px; }
.fl-section--ivory { background: var(--ivory); }
.fl-section__inner { max-width: 1200px; margin: 0 auto; }
.fl-section__title { text-align: center; margin-bottom: 48px; font-size: clamp(1.75rem, 3vw, 2.25rem); }

/* ─── Services Grid ─── */
.fl-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.fl-service-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 14px; padding: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}
.fl-service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fl-service-card:hover { box-shadow: 0 12px 40px rgba(12,27,51,0.08); transform: translateY(-4px); border-color: transparent; }
.fl-service-card:hover::before { transform: scaleX(1); }
.fl-service-card__title { font-size: 1.375rem; margin-bottom: 12px; }
.fl-service-card__desc { color: #64748b; font-size: 0.9375rem; margin-bottom: 16px; line-height: 1.6; }
.fl-service-card__link { font-weight: 600; font-size: 0.875rem; color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.fl-service-card__link:hover { gap: 10px; }

/* ─── Stats ─── */
.fl-stats { display: flex; justify-content: center; gap: 72px; flex-wrap: wrap; text-align: center; }
.fl-stat__number { display: block; font-family: 'DM Serif Display', Georgia, serif; font-size: 3.5rem; color: var(--navy); line-height: 1; }
.fl-stat__label { display: block; font-size: 0.875rem; color: #64748b; margin-top: 8px; font-weight: 500; }

/* ─── Hero Home ─── */
.fl-hero--home { background: var(--navy); color: var(--white); padding: 140px 24px 120px; text-align: center; position: relative; overflow: hidden; }
.fl-hero--home::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(196,155,60,0.1) 0%, transparent 60%);
}
.fl-hero--home h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); position: relative; }
.fl-hero__kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; position: relative; }
.fl-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── Footer ─── */
.fl-footer { background: #0a1528; color: var(--silver); padding: 64px 24px 32px; border-top: 3px solid var(--gold); }
.fl-footer__inner { max-width: 1200px; margin: 0 auto; }
.fl-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 48px; }
.fl-footer__heading { color: var(--white); font-size: 1.125rem; margin-bottom: 16px; }
.fl-footer__links { list-style: none; }
.fl-footer__links li { margin-bottom: 8px; }
.fl-footer__links a { color: var(--silver); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.fl-footer__links a:hover { color: var(--gold); }
.fl-footer p { font-size: 0.9375rem; line-height: 1.6; }
.fl-footer a { color: var(--gold); }
/* ─── Footer Logos (light pill with gold border) ─── */
.fl-footer__logos {
    background: var(--ivory, #F8FAFC);
    border: 2px solid rgba(196,155,60,0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
    flex-wrap: wrap;
    padding: 32px 48px;
    margin-bottom: 32px;
}
.fl-footer__logos a {
    display: block;
    transition: filter 0.4s;
    filter: grayscale(1) opacity(0.5);
}
.fl-footer__logos a:hover {
    filter: brightness(0) saturate(100%) invert(68%) sepia(60%) saturate(500%) hue-rotate(355deg) brightness(90%) contrast(90%);
}
.fl-footer__logos img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.fl-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.875rem; }
.fl-footer__legal { display: flex; gap: 24px; }
.fl-footer__legal a { color: var(--silver); text-decoration: none; }
.fl-footer__legal a:hover { color: var(--gold); }

/* ─── Animation helpers ─── */
.fl-reveal { opacity: 0; transform: translateY(30px); }
.fl-reveal--visible { opacity: 1; transform: translateY(0); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .fl-article-layout { grid-template-columns: 1fr; gap: 0; }
    .fl-sidebar { order: -1; padding: 24px 0 0; }
    .fl-sidebar__card {
        position: relative; top: 0;
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 16px; align-items: center;
    }
    .fl-sidebar__badge { grid-column: 1 / -1; }
    .fl-sidebar__title { grid-column: 1 / -1; margin-bottom: 0; }
    .fl-sidebar__desc { display: none; }
    .fl-sidebar__phone { margin-bottom: 0; }
    .fl-sidebar__cta { margin-bottom: 0; }
    .fl-sidebar__credentials { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
    .fl-sidebar__credential { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .fl-hero--page { padding: 80px 16px 56px; }
    .fl-hero--home { padding: 100px 16px 80px; }
    .fl-hero__meta-bar { flex-wrap: wrap; justify-content: center; padding: 8px 16px; }
    .fl-hero__meta-divider { display: none; }
    .fl-section { padding: 56px 16px; }
    .fl-stats { gap: 40px; }
    .fl-content__inner h2 { padding-left: 16px; }
    .fl-callout { padding: 28px 24px; }
    .fl-faq__question { padding: 16px 20px; font-size: 0.9375rem; }
    .fl-faq__question::after { width: 28px; height: 28px; font-size: 1.5rem; }
    .fl-trust-bar__logos { gap: 10px; }
    .fl-trust-logo-wrap { width: 44px; height: 44px; }
    .fl-trust-logo { width: 34px; height: 34px; }
    .fl-footer__bottom { flex-direction: column; text-align: center; }
    .fl-sidebar__card { grid-template-columns: 1fr; }
    .fl-cta-banner { padding: 64px 16px; }
}
