/* ============================================================
   PRACTICE AREAS PAGE STYLES
============================================================ */

.practice-areas-page {
    background-color: #fdfaf5;
}

.practice-areas-page .top-bar {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.practice-areas-page .site-header {
    background: rgba(253, 250, 245, 0.85);
    left: 0 !important;
    width: 100% !important;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: #b17d2d;
    color: #ffffff;
}

.btn-gold:hover {
    background-color: #945f22;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================================
   PRACTICE HERO
============================================================ */
.practice-hero {
    position: relative;
    padding: clamp(140px, 15vw, 200px) 24px clamp(80px, 10vw, 120px);
    background-color: #101827;
    background-image: linear-gradient(rgba(16, 24, 39, 0.85), rgba(16, 24, 39, 0.7)), url('practice-hero.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.practice-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.practice-hero__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b17d2d;
    margin-bottom: 20px;
}

.practice-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.practice-hero__title .highlight {
    color: #b17d2d;
    font-style: italic;
}

.practice-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   PRACTICE GRID
============================================================ */
.practice-grid-section {
    padding: clamp(80px, 12vw, 140px) 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.practice-card {
    background:
        radial-gradient(1200px 420px at 10% 0%, rgba(177, 125, 45, 0.10) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(900px 380px at 90% 100%, rgba(16, 24, 39, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, #fbf5ea 0%, #ffffff 55%, #ffffff 100%);
    padding: 48px 40px;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(177, 125, 45, 0.12);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.32s ease,
        background 0.32s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.practice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(720px 240px at 18% 0%, rgba(177, 125, 45, 0.14), rgba(255, 255, 255, 0) 55%),
        radial-gradient(680px 260px at 88% 100%, rgba(16, 24, 39, 0.10), rgba(255, 255, 255, 0) 58%);
    opacity: 0.45;
    transition: opacity 0.32s ease;
}

.practice-card:hover::after {
    opacity: 0.75;
}

.practice-card__figure {
    margin: -48px -40px clamp(18px, 3vw, 24px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    background: rgba(16, 24, 39, 0.06);
    position: relative;
}

.practice-card__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(16, 24, 39, 0.30) 0%, rgba(16, 24, 39, 0.00) 58%),
        linear-gradient(135deg, rgba(177, 125, 45, 0.18) 0%, rgba(177, 125, 45, 0.00) 42%);
    opacity: 0.9;
}

.practice-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.practice-card:hover .practice-card__img {
    transform: scale(1.045);
}

.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b17d2d, #e8c889);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20),
        0 22px 52px rgba(177, 125, 45, 0.14);
    border-color: rgba(177, 125, 45, 0.28);
}

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

.practice-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1814;
    margin-bottom: 16px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.practice-card:hover .practice-card__title {
    color: #b17d2d;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
    text-decoration-color: rgba(177, 125, 45, 0.55);
}

.practice-card__text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #5c5952;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.practice-card:hover .practice-card__text {
    color: #3f3b34;
}

.practice-card__link {
    margin-top: auto;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #b17d2d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.practice-card__link {
    width: fit-content;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(177, 125, 45, 0.22);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 18px rgba(16, 24, 39, 0.06);
    transition:
        gap 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.practice-card:hover .practice-card__link {
    background: rgba(177, 125, 45, 0.10);
    border-color: rgba(177, 125, 45, 0.38);
    transform: translateY(-1px);
}

.practice-card__link i {
    font-size: 18px;
}

.practice-card__link:hover {
    gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .practice-card,
    .practice-card * {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   CONTACT CTA
============================================================ */
.contact-cta {
    padding-bottom: clamp(80px, 12vw, 140px);
}

.contact-cta__inner {
    background: #101827;
    border-radius: 32px;
    padding: clamp(60px, 8vw, 100px) 40px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-cta__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(177, 125, 45, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(177, 125, 45, 0.1) 0%, transparent 40%);
}

.contact-cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.contact-cta__text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

/* Standard Breakpoints */
@media screen and (max-width: 1024px) {
    .practice-grid-section {
        padding: clamp(60px, 10vw, 100px) 0;
    }
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .practice-hero {
        padding: 120px 24px 60px;
    }
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cta__inner {
        padding: 50px 24px;
    }
}

@media screen and (max-width: 520px) {
    .practice-grid {
        grid-template-columns: 1fr;
    }
    .practice-card {
        padding: 32px 24px;
    }
    .practice-card__figure {
        margin: -32px -24px 20px;
    }
    .contact-cta__actions .btn {
        width: 100%;
    }
    .contact-cta__title {
        font-size: 28px;
    }
}
