/* ==========================================================================
   FRONT PAGE
   Styles for front-page.php and its template parts
   ========================================================================== */


/* ==========================================================================
   HERO BANNER OVERRIDES — full height on front page
   ========================================================================== */

.home .page-banner {
    min-height: 100vh;
}

.home .page-banner__inner {
    padding-top: calc(95px + 4rem);
}

@media (max-width: 768px) {
    .home .page-banner__inner {
        padding-top: calc(130px + 2rem);
    }
}


/* ==========================================================================
   PRACTICE CTAs — two card section
   ========================================================================== */

.practice-ctas {
    padding: 5rem 0;
    background: #f3f4f6;
}

.practice-ctas__grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.practice-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    color: #394354;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.practice-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #b85619;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    border-color: #1f345c;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.practice-card:hover::after {
    /* transform: scaleX(1); */
}

.practice-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.practice-card__title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    /* margin: 0 0 1rem; */
}

.practice-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4b5563;
    transition: color 0.2s;
    display: none;
}

.practice-card:hover .practice-card__link {
    color: #1f345c;
}

@media (max-width: 768px) {
    .practice-ctas {
        padding: 3.5rem 0;
    }

    .practice-ctas__grid {
        flex-direction: column;
    }
}


/* ==========================================================================
   BADGES BAR
   ========================================================================== */

.badges-bar {
    padding: 3rem 0;
    /* padding-bottom: 0; */
    background: #fff;
}

.badges-bar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.badges-bar__img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.badges-bar__img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .badges-bar {
        padding: 2rem 0;
        padding-bottom: 0;
    }

    .badges-bar__inner {
        gap: 1.5rem;
    }

    .badges-bar__img {
        height: 50px;
    }
}


/* ==========================================================================
   TRUST BAR — stats + CTA
   ========================================================================== */

.trust-bar {
    background: #1f345c;
    padding: 4rem 0;
}

.trust-bar__stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-bar__stat {
    text-align: center;
}

.trust-bar__stat-num {
    font-family: 'Cinzel', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #ea7b36;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trust-bar__stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
}

.trust-bar__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.trust-bar__btn--solid {
    background: #b85619;
    color: #fff;
    border: 2px solid #b85619;
}

.trust-bar__btn--solid:hover {
    background: #9a4715;
    border-color: #9a4715;
}

.trust-bar__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.trust-bar__btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .trust-bar__stats {
        gap: 2rem;
    }

    .trust-bar__stat-num {
        font-size: 1.75rem;
    }
}


/* ==========================================================================
   PRACTICE SECTION — criminal defense / immigration
   ========================================================================== */

.practice-section {
    padding: 5rem 0;
}

.practice-section--alt {
    background: #f8f9fa;
}

.practice-section__inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.practice-section__label {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b85619;
    display: block;
    margin-bottom: 0.5rem;
}

.practice-section__title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 1.5rem;
}

.practice-section__desc {
    font-size: 1rem;
    line-height: 1.95;
    color: #4b5563;
    margin: 0 0 2.5rem;
}

.practice-section__reviews {
    margin-bottom: 0;
    background: #f9f9f9;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.practice-section__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.practice-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0.9rem 1.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1f345c;
    background: #fff;
    border: 2px solid #1f345c;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.practice-section__btn:hover {
    background: #b85619;
    border-color: #b85619;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .practice-section {
        padding: 3.5rem 0;
    }

    .practice-section__title {
        font-size: 1.6rem;
    }

    .practice-section__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .practice-section__btn {
        width: 100%;
    }
}


/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */

.location-section {
    padding: 5rem 0 0;
}

.location-section__inner {
    text-align: center;
    margin-bottom: 2rem;
}

.location-section__label {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b85619;
    display: block;
    margin-bottom: 0.5rem;
}

.location-section__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
}

.location-section__address {
    font-size: 1rem;
    line-height: 1.85;
    color: #394354;
    margin: 0 0 1.25rem;
}

.location-section__desc {
    font-size: 1rem;
    line-height: 1.95;
    color: #4b5563;
    margin: 0 auto;
    margin-bottom: 20px;
}

.location-section__map {
    width: 100%;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.location-section__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-section__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 5rem;
}

.location-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    padding: 0.95rem 1.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1f345c;
    background: #fff;
    border: 2px solid #1f345c;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.location-section__btn:hover {
    background: #b85619;
    border-color: #b85619;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .location-section {
        padding: 3.5rem 0 0;
    }

    .location-section__map {
        height: 300px;
    }

    .location-section__actions {
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 3.5rem;
    }

    .location-section__btn {
        width: 100%;
    }
}


/* ==========================================================================
   CTA BLOCK — final orange CTA
   ========================================================================== */

.cta-block {
    padding: 5rem 0;
}

.cta-block__card {
    background: #b85619;
    color: #fff;
    border-radius: 12px;
    padding: 4.5rem 2rem;
    text-align: center;
}

.cta-block__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.cta-block__text {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.cta-block__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 1rem 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cta-block__btn--solid {
    background: #fff;
    color: #1f345c;
    border: 2px solid #fff;
}

.cta-block__btn--solid:hover {
    background: transparent;
    color: #fff;
}

.cta-block__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cta-block__btn--outline:hover {
    background: #fff;
    color: #1f345c;
    border-color: #fff;
}

@media (max-width: 768px) {
    .cta-block {
        padding: 3.5rem 0;
    }

    .cta-block__card {
        padding: 3rem 1.25rem;
    }

    .cta-block__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-block__btn {
        width: 100%;
        min-width: 0;
    }
}

/* ==========================================================================
   MODAL TRIGGER BUTTONS — match link button styles
   ========================================================================== */

button.practice-section__btn,
button.location-section__btn,
button.cta-block__btn {
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    border: none;
}

button.practice-section__btn {
    background: #fff;
    color: #1f345c;
    border: 2px solid #1f345c;
}

button.location-section__btn {
    background: #fff;
    color: #1f345c;
    border: 2px solid #1f345c;
}

button.cta-block__btn--solid {
    background: #fff;
    color: #1f345c;
    border: 2px solid #fff;
}

.practice-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-card__icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* ==========================================================================
   FEATURED CASE RESULTS
   ========================================================================== */

.featured-cases {
    padding: 5rem 0;
    background: #1f345c;
}

.featured-cases__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 0 3rem;
}

.featured-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.featured-case {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.featured-case__header {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-case__charge {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
}

.featured-case__result {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ea7b36;
}

.featured-case__desc {
    padding: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.featured-cases__cta {
    text-align: center;
}

.featured-cases__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: transparent;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.featured-cases__btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .featured-cases {
        padding: 3.5rem 0;
    }

    .featured-cases__grid {
        grid-template-columns: 1fr;
    }
}

button.practice-card {
    font-family: inherit;
    cursor: pointer;
    border: 2px solid #d1d5db;
    width: 100%;
    text-align: center;
}






/* ==========================================================================
   FP-SECTIONS.CSS
   New front page sections — all classes prefixed with fp- to avoid conflicts
   Add to: /assets/css/fp-sections.css
   Enqueue in functions.php after ryb-front-page
   ========================================================================== */


/* ==========================================================================
   SHARED UTILITIES
   ========================================================================== */

.fp-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.fp-eyebrow {
    font-family: 'Open Sans', sans-serif;
    color: #b85619;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    display: block;
}


/* ==========================================================================
   HABEAS CORPUS SECTION (dark navy, image right)
   ========================================================================== */

.fp-habeas {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f345c 0%, #152540 100%);
    color: #fff;
}

.fp-habeas__inner {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.fp-habeas__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1.5rem;
}

.fp-habeas__lead {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem;
}

.fp-habeas__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.75rem;
    margin-bottom: 2.5rem;
}

.fp-habeas__point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.975rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.fp-habeas__dot {
    width: 8px;
    height: 8px;
    background: #b85619;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.fp-habeas__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.fp-habeas__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background: #b85619;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fp-habeas__btn:hover {
    background: #9a4715;
    color: #fff;
}

.fp-habeas__link {
    background: none;
    border: none;
    border-bottom: 2px solid #b85619;
    padding: 0 0 3px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

button.fp-habeas__btn,
button.fp-poe__btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
}

.fp-habeas__link:hover {
    color: #b85619;
}

.fp-habeas__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: block;
}

@media (max-width: 992px) {
    .fp-habeas__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fp-habeas__image {
        order: -1;
    }

    .fp-habeas__image img {
        height: 320px;
    }

    .fp-habeas__points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fp-habeas {
        padding: 4rem 0;
    }
}


/* ==========================================================================
   PORT OF ENTRY SECTION (light bg, image left)
   ========================================================================== */

.fp-poe {
    padding: 6rem 0;
    background: #f4f5f7;
}

.fp-poe__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.fp-poe__image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.fp-poe__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 1.5rem;
}

.fp-poe__lead {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4b5563;
    margin: 0 0 2rem;
}

.fp-poe__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.75rem;
    margin-bottom: 2.5rem;
}

.fp-poe__point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.975rem;
    line-height: 1.5;
    color: #1f345c;
    font-weight: 600;
}

.fp-poe__dot {
    width: 8px;
    height: 8px;
    background: #b85619;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.fp-poe__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.fp-poe__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background: #1f345c;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fp-poe__btn:hover {
    background: #152540;
    color: #fff;
}

.fp-poe__link {
    background: none;
    border: none;
    border-bottom: 2px solid #b85619;
    padding: 0 0 3px;
    color: #1f345c;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fp-poe__link:hover {
    color: #b85619;
}

@media (max-width: 992px) {
    .fp-poe__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fp-poe__image img {
        height: 320px;
    }

    .fp-poe__points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fp-poe {
        padding: 4rem 0;
    }
}


/* ==========================================================================
   CASE RESULTS PREVIEW
   ========================================================================== */

.fp-cases {
    padding: 6rem 0;
    background: #fff;
}

.fp-cases__header {
    max-width: 760px;
    margin-bottom: 3rem;
}

.fp-cases__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.fp-cases__desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.fp-cases__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.fp-case-card {
    display: block;
    min-height: 240px;
    padding: 2rem;
    background: #f4f5f7;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(31, 52, 92, 0.12);
}

.fp-case-card__label {
    display: inline-block;
    color: #b85619;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.fp-case-card__result {
    font-family: 'Cinzel', serif;
    color: #1f345c;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.875rem;
    text-transform: uppercase;
}

.fp-case-card__desc {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.fp-cases__action {
    margin-top: 2.5rem;
    text-align: center;
}

.fp-cases__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: #1f345c;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fp-cases__btn:hover {
    background: #b85619;
    color: #fff;
}

@media (max-width: 1100px) {
    .fp-cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .fp-cases {
        padding: 4rem 0;
    }
}


/* ==========================================================================
   PRACTICE AREAS — Criminal Defense (fp- prefix to avoid .practice-section conflict)
   ========================================================================== */

.fp-practice {
    padding: 6rem 0;
    background: #f4f5f7;
}

.fp-practice--light {
    background: #fff;
}

.fp-practice__inner {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.fp-practice__inner--reverse {
    grid-template-columns: 1fr 3fr;
}

.fp-practice__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fp-practice__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.fp-practice__desc {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4b5563;
    margin: 0 0 2.5rem;
    max-width: 800px;
}

.fp-practice__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2.5rem;
}

.fp-practice__grid a {
    position: relative;
    display: block;
    padding: 1.1rem 2rem 1.1rem 0;
    border-bottom: 1px solid #dde3ea;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f345c;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.fp-practice__grid a::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #b85619;
    font-size: 1.4rem;
    transition: transform 0.2s ease;
}

.fp-practice__grid a:hover {
    color: #b85619;
    padding-left: 6px;
}

.fp-practice__grid a:hover::after {
    transform: translateY(-50%) translateX(4px);
}

.fp-practice__image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    display: block;
}

@media (max-width: 992px) {

    .fp-practice__inner,
    .fp-practice__inner--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fp-practice__image {
        order: -1;
    }

    .fp-practice__image img {
        min-height: 300px;
    }

    .fp-practice__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fp-practice {
        padding: 4rem 0;
    }
}


/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */

.fp-reviews {
    padding: 5rem 0;
}

.fp-reviews__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0 0 2.5rem;
}

@media (max-width: 768px) {
    .fp-reviews {
        padding: 3.5rem 0;
    }
}


/* ==========================================================================
   LOCATIONS
   ========================================================================== */

.fp-locations {
    padding: 6rem 0;
    background: #f4f5f7;
}

.fp-locations__header {
    text-align: center;
    margin-bottom: 3rem;
}

.fp-locations__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin: 0;
}

.fp-locations__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.fp-location-card {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(31, 52, 92, 0.05);
}

.fp-location-card__city {
    font-family: 'Cinzel', serif;
    color: #b85619;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-location-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.fp-location-card__row {
    display: flex;
    gap: 0.875rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.fp-location-card__icon {
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.fp-location-card__row a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fp-location-card__row a:hover {
    color: #b85619;
}

.fp-location-card__directions {
    display: inline-block;
    margin-bottom: 1.75rem;
    color: #b85619;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fp-location-card__directions:hover {
    color: #9a4715;
}

.fp-location-card__map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
    display: block;
}

@media (max-width: 900px) {
    .fp-locations__grid {
        grid-template-columns: 1fr;
    }

    .fp-location-card {
        padding: 2rem 1.5rem;
    }

    .fp-locations {
        padding: 4rem 0;
    }
}

/* Case card clickable */
.fp-case-card {
    cursor: pointer;
}

.fp-case-card__more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b85619;
}

/* Case Modal */
.fp-case-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.fp-case-modal.is-open {
    display: flex;
}

.fp-case-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.fp-case-modal__container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1;
}

.fp-case-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #4b5563;
    padding: 0.25rem;
    line-height: 1;
}

.fp-case-modal__close:hover {
    color: #1f345c;
}

.fp-case-modal__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b85619;
    margin-bottom: 0.75rem;
}

.fp-case-modal__result {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1f345c;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.fp-case-modal__county {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.fp-case-modal__desc {
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 2rem;
}

.fp-case-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background: #1f345c;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fp-case-modal__btn:hover {
    background: #b85619;
    color: #fff;
}