/* ============================================================
   Homepage — practice areas, how it works, and firm CTA
   Reference-style box layout with Font Awesome icons.
   ============================================================ */

.home-sections {
    padding: 56px 0;
}

.home-sections.hs-tight {
    padding-top: 0;
}

.home-sections .hs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.home-sections .hs-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #7a5f10;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-sections .hs-title {
    margin: 0;
    color: var(--ld-navy, #102a43);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.025em;
}

.home-sections .hs-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ld-navy-2, #1b3a5c);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.home-sections .hs-all-link:hover {
    color: #7a5f10;
}

/* ---------- Practice area boxes ---------- */
.hp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.hp-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 100px;
    padding: 16px;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hp-card:hover,
.hp-card:focus-visible {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 26px rgba(16, 42, 67, .12);
    text-decoration: none;
}

.hp-icon {
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f1f4f8;
    color: var(--ld-navy, #102a43);
    font-size: 18px;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.hp-card:hover .hp-icon,
.hp-card:focus-visible .hp-icon {
    border-color: var(--ld-navy, #102a43);
    background: var(--ld-navy, #102a43);
    color: #fff;
}

.hp-body {
    min-width: 0;
}

.hp-name {
    display: block;
    color: var(--ld-navy, #102a43);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.25;
}

.hp-desc {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: .83rem;
    line-height: 1.35;
}

/* ---------- How it works ---------- */
.how-panel {
    padding: 40px;
    border: 1px solid #e5e9f0;
    border-radius: 20px;
    background: #f4f7fb;
}

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

.how-step-label {
    display: block;
    color: #8d99a8;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.how-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: 14px;
    border-radius: 14px;
    background: var(--ld-navy, #102a43);
    color: #fff;
    font-size: 20px;
}

.how-step h3 {
    margin: 18px 0 6px;
    color: var(--ld-navy, #102a43);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
}

.how-step p {
    margin: 0;
    color: #6b7280;
    font-size: .94rem;
    line-height: 1.6;
}

/* ---------- For lawyers & firms ---------- */
.flf-panel {
    position: relative;
    overflow: hidden;
    padding: 56px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0b1f33, #102a43);
    color: #fff;
}

.flf-panel::after {
    content: '';
    position: absolute;
    top: -10rem;
    right: -8rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgba(201, 162, 39, .22);
    filter: blur(90px);
    pointer-events: none;
}

.flf-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}

.flf-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #f0c75e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.flf-title {
    margin: 0;
    color: #fff;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.flf-title span {
    color: rgba(255, 255, 255, .55);
}

.flf-copy {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 1.03rem;
    line-height: 1.7;
}

.flf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.flf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.flf-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.flf-btn-primary {
    background: #fff;
    color: var(--ld-navy, #102a43);
}

.flf-btn-primary:hover {
    background: #eef2f7;
    color: var(--ld-navy, #102a43);
}

.flf-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}

.flf-btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.flf-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.flf-features li {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
}

.flf-features i {
    color: #f0c75e;
    font-size: 20px;
}

.flf-features strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
}

.flf-features p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: .84rem;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .hp-grid,
    .how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flf-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-sections {
        padding: 36px 0;
    }

    .home-sections .hs-title {
        font-size: 1.9rem;
    }

    .hp-grid,
    .how-grid,
    .flf-features {
        grid-template-columns: 1fr;
    }

    .how-panel {
        padding: 24px;
    }

    .flf-panel {
        padding: 32px 24px;
    }

    .flf-title {
        font-size: 1.95rem;
    }
}
