/* ============================================
   BRADY LAW GROUP - MAIN STYLESHEET
   Version: 3.0
   Last Updated: 2026
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Primary Colors */
    --primary-dark: #003d6b;
    --primary: #005696;
    --primary-light: #1d88d8;
    --primary-hover: #2a9df5;

    /* Accent Colors */
    --gold: #e9af00;
    --gold-light: #f5d742;

    /* Background Colors */
    --dark-bg: #0a1a2b;
    --dark-section: #0f2840;
    --dark-card: #162d4a;

    /* Text Colors */
    --text-light: #e8edf3;
    --text-muted: #8aa3c0;
    --white: #ffffff;

    /* Effects */
    --shadow: 0 10px 40px rgba(0,0,0,0.3);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.4);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ============================================
   2. BASE STYLES
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p {
    color: var(--text-muted);
}

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


/* ============================================
   3. AOS (Animate On Scroll)
   ============================================ */

[data-aos] {
    pointer-events: none;
    transition-property: transform, opacity;
    transition-duration: 800ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos="fade-up"]    { transform: translateY(40px);  opacity: 0; }
[data-aos="fade-down"]  { transform: translateY(-40px); opacity: 0; }
[data-aos="fade-left"]  { transform: translateX(40px);  opacity: 0; }
[data-aos="fade-right"] { transform: translateX(-40px); opacity: 0; }
[data-aos="zoom-in"]    { transform: scale(0.85);       opacity: 0; }

[data-aos="fade-up"].aos-animate,
[data-aos="fade-down"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate {
    transform: translate(0, 0);
    opacity: 1;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

[data-aos-delay="50"]  { transition-delay: 50ms; }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="150"] { transition-delay: 150ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="250"] { transition-delay: 250ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="350"] { transition-delay: 350ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="450"] { transition-delay: 450ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }


/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.site-header {
    background: var(--primary-dark);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 15px;
}

/* ===== LOGO ===== */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-menu > li > a:hover {
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

/* ===== ATTORNEY DROPDOWN ===== */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-card);
    min-width: 280px;
    padding: 8px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.attorney-dropdown-item {
    padding: 0;
    margin: 0;
    transition: var(--transition);
}

.attorney-dropdown-item:hover {
    background: rgba(255,255,255,0.05);
}

.attorney-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.attorney-dropdown-link:hover {
    color: var(--gold);
}

.attorney-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.attorney-thumb-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.attorney-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.attorney-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
}

.attorney-title {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.attorney-dropdown-link:hover .attorney-name {
    color: var(--gold);
}

.dropdown-menu .divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 6px 0;
}

.dropdown-menu .view-all-link {
    display: block;
    padding: 10px 16px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.dropdown-menu .view-all-link:hover {
    background: rgba(255,255,255,0.05);
    color: var(--gold-light);
}

/* ===== HEADER CONTACT BUTTON ===== */
.header-contact {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-contact .nav-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.header-contact .nav-cta:hover {
    background: var(--gold-light);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 175, 0, 0.3);
}

/* ===== HEADER PHONE STACK (desktop) ===== */
.header-phone {
    flex-shrink: 0;
}

.phone-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.1;
}

.phone-block {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    transition: color 0.2s ease;
}

.phone-block:hover {
    text-decoration: none;
}

.phone-block--primary .phone-block__number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.phone-block--primary .phone-block__number i {
    color: var(--gold);
    font-size: 0.95rem;
}

.phone-block--primary:hover .phone-block__number {
    color: var(--gold);
}

.phone-block--secondary {
    margin-top: 2px;
}

.phone-block--secondary .phone-block__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1px;
    opacity: 0.85;
}

.phone-block--secondary .phone-block__number {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2px;
    opacity: 0.95;
}

.phone-block--secondary:hover .phone-block__number {
    color: var(--gold-light);
    opacity: 1;
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    flex-shrink: 0;
}


/* ============================================
   MOBILE STICKY PHONE BAR (bottom)
   ============================================ */

.mobile-phone-bar {
    display: none;
}

@media (max-width: 992px) {

    .mobile-phone-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
        padding-bottom: env(safe-area-inset-bottom, 0);
        background: var(--dark-card);
    }

    /* ===== BUTTON ===== */
    .mobile-phone-bar__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 10px;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        min-height: 60px;
        transition: filter 0.15s ease;
    }

    .mobile-phone-bar__btn:active {
        filter: brightness(0.9);
    }

    /* ---- PI side (gold) ---- */
    .mobile-phone-bar__btn--pi {
        background: var(--gold);
        color: var(--dark-bg);
    }

    .mobile-phone-bar__btn--pi .mobile-phone-bar__label {
        color: rgba(10, 26, 43, 0.75);
    }

    .mobile-phone-bar__btn--pi .mobile-phone-bar__number {
        color: var(--dark-bg);
    }

    /* ---- MT side (dark + gold) ---- */
    .mobile-phone-bar__btn--mt {
        background: var(--dark-card);
        color: var(--gold);
        border-left: 1px solid rgba(233, 175, 0, 0.25);
    }

    .mobile-phone-bar__btn--mt .mobile-phone-bar__label {
        color: var(--text-muted);
    }

    .mobile-phone-bar__btn--mt .mobile-phone-bar__number {
        color: var(--gold);
    }

    /* ===== ICON ===== */
    .mobile-phone-bar__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 1rem;
        opacity: 0.9;
    }

    /* ===== TEXT STACK (label + number) ===== */
    .mobile-phone-bar__text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.15;
        min-width: 0;
    }

    .mobile-phone-bar__label {
        font-size: 0.6rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-phone-bar__number {
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: -0.1px;
        white-space: nowrap;
    }

    /* Reserve space so content isn't hidden behind the fixed bar */
    body {
        padding-bottom: 80px;
    }

    body.phone-modal-open,
    body.overlay-open {
        padding-bottom: 0;
    }
}



/* ============================================
   6. BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-bg);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 175, 0, 0.3);
    color: var(--dark-bg);
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(6px);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    background: rgba(233, 175, 0, 0.1);
    color: var(--gold);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(233, 175, 0, 0.2);
}

.btn-small:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--dark-bg);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-watch:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 175, 0, 0.3);
    color: var(--dark-bg);
}

.btn:focus-visible,
.btn-watch:focus-visible,
.btn-small:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}


/* ============================================
   7. HERO SECTIONS
   ============================================ */

/* ===== HOME HERO ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8edf3, #d4dce6);
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bknewset1-raw-min.jpg') center/cover;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 26, 43, 0.7), rgba(0, 61, 107, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80%;
    z-index: 1;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.3));
}

/* ===== INNER HERO ===== */
.inner-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/inner-banner.jpg') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.inner-hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.inner-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.inner-hero-buttons .btn-secondary {
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
}

.inner-hero-buttons .btn-secondary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 175, 0, 0.3);
    color: var(--dark-bg);
}


/* ============================================
   8. SECTION LAYOUTS
   ============================================ */

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--dark-bg);
}

.section-dark-alt {
    background: var(--dark-section);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title h2 span {
    color: var(--gold);
}

.section-title .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}


/* ============================================
   9. RESULTS BAR (homepage)
   ============================================ */

.results-bar {
    background: var(--dark-card);
    padding: 40px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
    margin-top: -40px;
    border-radius: var(--radius);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255,255,255,0.05);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 30px;
}

/* ===== RESULT ITEM (card) ===== */
.result-item {
    background: var(--dark-bg);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.result-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
    z-index: 10;
}

.result-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px 22px;
    flex: 1;
}

.result-amount-wrapper {
    position: relative;
    width: 100%;
    padding: 18px 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.result-item:hover .result-amount-wrapper {
    transform: scale(1.05);
}

.result-amount-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 43, 0.6);
    z-index: 1;
    transition: background 0.3s ease;
    border-radius: var(--radius);
}

.result-item:hover .result-amount-overlay {
    background: rgba(10, 26, 43, 0.4);
}

.result-amount {
    position: relative;
    z-index: 2;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    padding: 0 5px;
    transition: transform 0.3s ease;
}

.result-item:hover .result-amount {
    transform: scale(1.08);
    text-shadow: 0 0 40px rgba(233, 175, 0, 0.3);
}

.result-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.result-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 4px;
    flex: 1;
}

.result-case {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 10px;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.result-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.result-btn:hover {
    transform: translateY(-2px);
}

.result-btn-video {
    background: rgba(255, 0, 0, 0.12);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.result-btn-video:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.results-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.results-stats {
    padding: 20px 30px 5px;
}

.results-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}


/* ============================================
   10. STATS
   ============================================ */

.stat-item {
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(233, 175, 0, 0.06);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 2px;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 30px rgba(233, 175, 0, 0.15);
}

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


/* ============================================
   11. ANIMATION CARDS
   ============================================ */

.animations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.animation-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.animation-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.animation-card.featured:hover {
    box-shadow: 0 0 40px rgba(233, 175, 0, 0.15), 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* ===== THUMBNAIL ===== */
.animation-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-bg);
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.animation-card:hover .animation-thumb img {
    transform: scale(1.12) rotate(0.5deg);
    filter: brightness(1.05) saturate(1.1);
}

.animation-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 4rem;
}

/* ===== PLAY OVERLAY ===== */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 43, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius) var(--radius) 0 0;
    z-index: 5;
}

.animation-thumb:hover .play-overlay {
    opacity: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.play-btn {
    width: 70px;
    height: 70px;
    background: rgba(233, 175, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(233, 175, 0, 0.3);
    transform: scale(0.8) rotate(-10deg);
    opacity: 0;
}

.animation-thumb:hover .play-btn {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    box-shadow: 0 0 50px rgba(233, 175, 0, 0.5);
    animation: pulse-ring 2s infinite;
}

.play-btn:hover {
    transform: scale(1.15) rotate(0deg);
    background: var(--gold);
    box-shadow: 0 0 70px rgba(233, 175, 0, 0.6);
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(233, 175, 0, 0.4); }
    70%  { box-shadow: 0 0 0 20px rgba(233, 175, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 175, 0, 0); }
}

/* ===== FEATURED BADGE ===== */
.animation-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark-bg);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-card:hover .animation-featured-badge {
    transform: translateX(0);
    opacity: 1;
}

.animation-featured-badge i {
    font-size: 0.6rem;
}

/* ===== ANIMATION BODY ===== */
.animation-body {
    padding: 20px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--dark-card);
    position: relative;
    z-index: 2;
    transition: padding 0.4s ease;
}

.animation-card:hover .animation-body {
    padding-top: 18px;
    padding-bottom: 22px;
}

.animation-header {
    margin-bottom: 6px;
}

.animation-header h4 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 2px;
    font-weight: 700;
    line-height: 1.3;
}

.animation-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.animation-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.4;
}

.animation-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
    flex: 1;
}

.detail-section h5 {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.animation-card:hover .detail-section h5 {
    color: var(--gold);
}

.detail-section h5 i {
    margin-right: 4px;
    transition: transform 0.3s ease;
}

.animation-card:hover .detail-section h5 i {
    transform: scale(1.2);
}

.detail-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 3px 0 3px 16px;
    position: relative;
    line-height: 1.5;
    margin: 0;
}

.detail-text p::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.animation-card:hover .detail-text p::before {
    transform: translateX(3px);
}

.detail-text p strong {
    color: var(--text-light);
    font-weight: 600;
}

/* ===== WATCH BUTTON ===== */
.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(233, 175, 0, 0.9);
    color: var(--dark-bg);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.btn-watch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.animation-card:hover .btn-watch::before {
    left: 100%;
}

.animation-card:hover .btn-watch {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 175, 0, 0.4);
}

.btn-watch:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 175, 0, 0.5);
}

/* ===== ANIMATION AMOUNT ===== */
.animation-amount {
    margin: 8px 0 12px;
    padding: 8px 14px;
    background: rgba(233, 175, 0, 0.08);
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(233, 175, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-amount span {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-card:hover .animation-amount {
    background: rgba(233, 175, 0, 0.15);
    border-color: rgba(233, 175, 0, 0.3);
    box-shadow: 0 0 30px rgba(233, 175, 0, 0.05);
}

.animation-card:hover .animation-amount span {
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(233, 175, 0, 0.2);
}


/* ============================================
   12. ATTORNEY GRID
   ============================================ */

.attorney-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.attorney-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.attorney-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.attorney-card:hover::before {
    transform: scaleX(1);
}

.attorney-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 175, 0, 0.2);
}

.attorney-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary);
    transition: all 0.5s ease;
}

.attorney-card:hover .avatar {
    border-color: var(--gold);
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 10px 40px rgba(233, 175, 0, 0.2);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary);
    color: var(--text-muted);
    font-size: 3rem;
    transition: all 0.5s ease;
}

.attorney-card:hover .avatar-placeholder {
    border-color: var(--gold);
    transform: scale(1.05);
}

.attorney-card h4 {
    color: var(--gold);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.attorney-card .title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.attorney-card .bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.attorney-card .btn-small {
    margin-top: 12px;
}

.attorney-card:hover .btn-small {
    transform: translateX(6px);
    background: var(--gold);
    color: var(--dark-bg);
}


/* ============================================
   13. PRACTICE AREAS
   ============================================ */

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

.practice-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.practice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 26, 43, 0.95), rgba(10, 26, 43, 0.2));
    z-index: 1;
}

.practice-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.practice-card:hover img {
    transform: scale(1.1);
}

.practice-card .content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    width: 100%;
    transition: transform 0.4s ease;
}

.practice-card:hover .content {
    transform: translateY(-5px);
}

.practice-card .content h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.practice-card:hover .content h4 {
    color: var(--gold);
}

.practice-card .content span {
    font-size: 0.85rem;
    opacity: 0.8;
    color: var(--text-muted);
}


/* ============================================
   14. AWARDS
   ============================================ */

.awards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}

.awards-grid .award-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.awards-grid .award-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.awards-grid .award-item img {
    max-height: 146px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: none !important;
}

.awards-grid .award-item:hover img {
    transform: scale(1.05);
}


/* ============================================
   15. CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section h2 span {
    color: var(--gold);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}


/* ============================================
   16. FOOTER
   ============================================ */

.site-footer {
    background: var(--dark-bg);
    color: var(--text-muted);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 100%;
}

.footer-brand img {
    height: 45px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
    color: var(--text-muted);
    word-wrap: break-word;
}

.footer-brand .social-links {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-brand .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-brand .social-links a:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    padding: 0;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    word-wrap: break-word;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col address,
.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.footer-col strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-bottom p,
.footer-bottom span {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/* ============================================
   17. BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark-bg);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 997;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-5px);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Give back-to-top extra clearance on mobile so it doesn't sit on the phone bar */
@media (max-width: 992px) {
    .back-to-top {
        bottom: 80px;
    }
}


/* ============================================
   18. CONTENT PAGES (About, Practice Area, etc.)
   ============================================ */

/* ===== ABOUT ===== */
.about-main {
    padding: 60px 0;
}

.about-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content p a {
    color: var(--gold);
    text-decoration: none;
}

.about-content p a:hover {
    color: var(--gold-light);
}

.about-image {
    margin: 30px 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== TEAM ===== */
.team-section {
    margin: 50px 0 40px;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.team-member {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: var(--dark-bg);
}

.team-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 86, 150, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-member-overlay {
    opacity: 1;
}

.btn-view-profile {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--dark-bg);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-view-profile:hover {
    background: var(--gold-light);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.btn-view-profile i {
    margin-right: 8px;
}

.team-member-info {
    padding: 18px 20px 22px;
    text-align: center;
}

.team-member-info h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2px;
    font-weight: 600;
}

.team-member-title {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 8px;
}

.team-member-bio {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== PRACTICE AREA / LISTING ===== */
.practice-main,
.practice-area-main {
    padding: 60px 0;
}

.practice-content h1,
.practice-area-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.practice-content h2,
.practice-area-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.practice-content h2 a {
    color: var(--text-light);
    text-decoration: none;
}

.practice-content h2 a:hover {
    color: var(--gold);
}

.practice-content p,
.practice-area-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.practice-content p a {
    color: var(--gold);
    text-decoration: none;
}

.practice-content p a:hover {
    color: var(--gold-light);
}

.practice-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== PRACTICE TREE ===== */
.practice-tree {
    margin-bottom: 30px;
}

.tree-root {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree-item {
    padding: 0;
    margin: 0;
}

.tree-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 6px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.tree-link:hover {
    background: var(--dark-card);
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 22px;
}

.tree-item.has-children > .tree-link {
    font-weight: 600;
    color: var(--text-light);
}

.tree-item.has-children > .tree-link::after {
    content: "▸";
    float: right;
    color: var(--text-muted);
    transition: var(--transition);
}

.tree-item.has-children > .tree-link:hover::after {
    color: var(--gold);
    transform: rotate(90deg);
}

.tree-children {
    list-style: none;
    padding-left: 24px;
    margin: 4px 0 8px 0;
    border-left: 1px solid rgba(255,255,255,0.05);
}

.tree-children .tree-link {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 6px 16px;
    border-left: 2px solid transparent;
}

.tree-children .tree-link:hover {
    color: var(--gold);
    background: rgba(233, 175, 0, 0.05);
    border-left-color: var(--gold);
    padding-left: 20px;
}

.tree-children .tree-children {
    padding-left: 16px;
}

.tree-children .tree-children .tree-link {
    font-size: 0.85rem;
    padding: 4px 14px;
}

/* ===== PRACTICE FEATURES ===== */
.practice-features {
    margin: 50px 0 40px;
    padding: 35px 25px;
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
}

.practice-features h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.features-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 5px;
}

.feature-item {
    background: var(--dark-bg);
    padding: 18px 15px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    margin-bottom: 10px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--gold);
    display: inline-block;
    background: rgba(233, 175, 0, 0.08);
    padding: 12px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    line-height: 30px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon i {
    background: var(--gold);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.feature-item h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== RELATED AREAS ===== */
.related-practice-areas {
    margin: 40px 0;
}

.related-practice-areas h2 {
    text-align: center;
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--dark-card);
    border-radius: var(--radius);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.related-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
    border-color: var(--gold);
}

.related-item i:first-child {
    color: var(--gold);
    font-size: 1rem;
    width: 20px;
    transition: var(--transition);
}

.related-item:hover i:first-child {
    color: var(--white);
}

.related-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.related-item i:last-child {
    opacity: 0.4;
    font-size: 0.8rem;
    transition: var(--transition);
}

.related-item:hover i:last-child {
    opacity: 1;
    transform: translateX(3px);
}

/* ===== INNER CTA ===== */
.inner-cta {
    background: var(--dark-card);
    padding: 35px 40px;
    border-radius: var(--radius);
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.inner-cta h3 {
    color: var(--gold);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.inner-cta p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.inner-cta p a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.inner-cta p a:hover {
    color: var(--gold-light);
}

.text-md-right {
    text-align: right;
}


/* ============================================
   19. CLICK-TO-CALL MODAL
   ============================================ */

.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.phone-modal.is-open {
    display: flex;
}

.phone-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 43, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: phoneModalFade 0.2s ease;
}

@keyframes phoneModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.phone-modal__card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(233, 175, 0, 0.25);
    border-radius: var(--radius);
    padding: 40px 32px 28px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: phoneModalPop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes phoneModalPop {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.phone-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.phone-modal__close:hover {
    background: rgba(233, 175, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.phone-modal__header {
    text-align: center;
    margin-bottom: 24px;
}

.phone-modal__title {
    font-size: 1.35rem;
    color: var(--text-light);
    font-weight: 700;
    margin: 0 0 6px;
}

.phone-modal__sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.phone-modal__cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.phone-modal__card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.phone-modal__card-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.phone-modal__card-item:hover {
    border-color: var(--gold);
    background: rgba(233, 175, 0, 0.04);
    transform: translateY(-2px);
    text-decoration: none;
}

.phone-modal__card-item:hover::before {
    opacity: 1;
}

.phone-modal__card-item--pi::before {
    background: #e05a5a;
}

.phone-modal__card-item--pi:hover {
    border-color: #e05a5a;
    background: rgba(224, 90, 90, 0.05);
}

.phone-modal__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(233, 175, 0, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.phone-modal__card-item--pi .phone-modal__icon {
    background: rgba(224, 90, 90, 0.12);
    color: #e05a5a;
}

.phone-modal__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.phone-modal__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.phone-modal__number {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.phone-modal__card-item--pi:hover .phone-modal__number {
    color: #e05a5a;
}

.phone-modal__card-item--mt:hover .phone-modal__number {
    color: var(--gold);
}

.phone-modal__hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.75;
    margin-top: 2px;
    line-height: 1.3;
}

.phone-modal__go {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.phone-modal__card-item:hover .phone-modal__go {
    background: var(--gold);
    color: var(--dark-bg);
    transform: scale(1.08);
}

.phone-modal__footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-modal__link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.phone-modal__link:hover {
    color: var(--gold-light);
}

body.phone-modal-open {
    overflow: hidden;
}


/* ============================================
   20. RESPONSIVE BREAKPOINTS
   ============================================ */

/* ===== LARGE DESKTOP (1201px+) ===== */
@media (min-width: 1201px) {
    .logo { max-width: 280px; }
    .logo img { height: 65px; }
    .phone-block--primary .phone-block__number { font-size: 1.2rem; }
}

/* ===== DESKTOP (993px - 1200px) ===== */
@media (max-width: 1200px) {
    .logo { max-width: 220px; }
    .logo img { height: 55px; }
    .phone-block--primary .phone-block__number { font-size: 1rem; }
    .phone-block--secondary .phone-block__number { font-size: 0.8rem; }
}

/* ===== TABLET (769px - 992px) ===== */
@media (max-width: 992px) {
    .logo { max-width: 200px; }
    .logo img { height: 50px; }

    .header-phone { display: none; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand p { max-width: 100%; }

    .animations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .animation-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .practice-grid { grid-template-columns: repeat(2, 1fr); }

    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .awards-grid .award-item {
        height: 140px;
        padding: 18px;
    }
    .awards-grid .award-item img { max-height: 120px; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

/* ===== MOBILE (< 769px) ===== */
@media (max-width: 768px) {
    /* ===== Header ===== */
    .site-header { padding: 6px 0; }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 6px 0;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .logo {
        max-width: 220px;
        min-width: 120px;
        flex-shrink: 1;
        margin-right: auto;
    }
    .logo img { height: 50px; }

    .header-contact {
        margin-left: 0;
        margin-right: 6px;
    }
    .header-contact .nav-cta {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        display: block;
        order: 3;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-card);
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 0;
        width: 100%;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-menu > li > a {
        padding: 12px 16px;
        white-space: normal;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-menu > li > a.nav-cta { display: none; }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        background: transparent;
        min-width: 100%;
    }
    .dropdown-menu .attorney-dropdown-link { padding: 8px 12px; }
    .attorney-thumb { width: 32px; height: 32px; }

    /* ===== Hero ===== */
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    .hero-image { display: none; }

    /* ===== Inner Hero ===== */
    .inner-hero { padding: 60px 0 40px; }
    .inner-hero-content h1 { font-size: 1.8rem; }
    .inner-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .inner-hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* ===== Results Bar ===== */
    .results-bar {
        margin-top: 0;
        padding: 30px 20px;
        border-radius: 0;
    }
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    .result-content { padding: 18px 14px 14px; }
    .result-amount { font-size: 2.8rem; }
    .result-amount-wrapper {
        min-height: 75px;
        padding: 12px 10px 10px;
    }
    .result-label { font-size: 0.95rem; }
    .result-description { font-size: 0.8rem; }
    .result-btn { font-size: 0.95rem; padding: 6px 14px; }

    .results-stats { padding: 10px 16px 5px; }
    .results-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-item {
        padding: 5px 10px;
        min-width: auto;
    }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.8rem; }

    /* ===== Attorney Grid ===== */
    .attorney-grid { grid-template-columns: 1fr 1fr; }

    /* ===== Practice Grid ===== */
    .practice-grid { grid-template-columns: 1fr 1fr; }

    /* ===== Awards ===== */
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .awards-grid .award-item {
        height: 120px;
        padding: 15px;
    }
    .awards-grid .award-item img { max-height: 100px; }

    /* ===== Footer ===== */
    .site-footer { padding: 40px 0 20px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand { text-align: center; }
    .footer-brand img { height: 40px; }
    .footer-brand p {
        max-width: 100%;
        font-size: 0.85rem;
        text-align: center;
    }
    .footer-brand .social-links { justify-content: center; }
    .footer-col { text-align: center; }
    .footer-col ul li { padding: 0; }
    .footer-col address { font-size: 0.85rem; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-top: 20px;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* ===== Animations ===== */
    .animation-body { padding: 16px 18px 14px; }
    .animation-header h4 { font-size: 0.9rem; }
    .animation-subtitle { font-size: 0.8rem; }
    .detail-text p { font-size: 0.7rem; }
    .btn-watch { font-size: 0.8rem; padding: 8px 16px; }
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    /* ===== Practice Areas ===== */
    .practice-features { padding: 20px 15px; }
    .feature-item { padding: 15px 12px; }
    .feature-item h4 { font-size: 0.85rem; }
    .feature-item p { font-size: 0.75rem; }
    .feature-icon i {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        padding: 10px;
    }

    .related-grid { grid-template-columns: 1fr 1fr; }

    .inner-cta {
        padding: 25px;
        text-align: center;
    }
    .text-md-right {
        text-align: center !important;
        margin-top: 15px;
    }
    .inner-cta h3 { font-size: 1.1rem; }

    .tree-children { padding-left: 12px; }
    .tree-link { font-size: 0.95rem; padding: 8px 12px; }
    .tree-children .tree-link { font-size: 0.85rem; padding: 5px 12px; }
    .tree-children .tree-children .tree-link { font-size: 0.8rem; }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .team-member-info h4 { font-size: 0.9rem; }
    .team-member-bio { font-size: 0.75rem; }

    /* ===== Phone Modal ===== */
    .phone-modal__card { padding: 32px 20px 22px; }
    .phone-modal__title { font-size: 1.15rem; }
    .phone-modal__card-item { padding: 14px 16px; gap: 12px; }
    .phone-modal__icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .phone-modal__number { font-size: 1.15rem; }
    .phone-modal__go { width: 34px; height: 34px; }
}

/* ===== SMALL PHONE (376px - 480px) ===== */
@media (max-width: 480px) {
    /* ===== Header ===== */
    .header-inner { padding: 4px 0; gap: 6px; }
    .logo { max-width: 180px; min-width: 100px; }
    .logo img { height: 42px; }
    .header-contact .nav-cta {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    .mobile-toggle {
        font-size: 1.6rem;
        padding: 2px 6px;
    }
    .nav-menu > li > a { font-size: 0.9rem; padding: 10px 14px; }

    /* ===== Hero ===== */
    .inner-hero { padding: 40px 0 30px; }
    .inner-hero-content h1 { font-size: 1.5rem; }

    /* ===== Results ===== */
    .result-content { padding: 14px 10px 12px; }
    .result-amount { font-size: 2.8rem; }
    .result-amount-wrapper {
        min-height: 65px;
        padding: 10px 8px 8px;
    }
    .result-label { font-size: 0.85rem; }
    .result-description { font-size: 0.7rem; }

    .results-stats { padding: 8px 12px 5px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }

    /* ===== Attorney Grid ===== */
    .attorney-grid { grid-template-columns: 1fr; }

    /* ===== Practice Grid ===== */
    .practice-grid { grid-template-columns: 1fr; }

    /* ===== Awards ===== */
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .awards-grid .award-item {
        height: 100px;
        padding: 12px;
    }
    .awards-grid .award-item img { max-height: 80px; }

    /* ===== Footer ===== */
    .site-footer { padding: 30px 0 15px; }
    .footer-grid { gap: 25px; }
    .footer-brand img { height: 32px; }
    .footer-brand p { font-size: 0.8rem; }
    .footer-col h4 { font-size: 0.9rem; }
    .footer-col ul li a { font-size: 0.8rem; }
    .footer-col address,
    .footer-col p { font-size: 0.8rem; }
    .footer-bottom { font-size: 0.75rem; }
    .footer-bottom-links { gap: 12px; }

    /* ===== Practice Areas ===== */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .feature-item { padding: 12px 10px; }
    .feature-item h4 { font-size: 0.8rem; }
    .feature-item p { display: none; }
    .feature-icon i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        padding: 8px;
    }

    .related-grid { grid-template-columns: 1fr; }
    .tree-children { padding-left: 8px; }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .team-member-info { padding: 14px 12px 16px; }
    .team-member-info h4 { font-size: 0.8rem; }
    .team-member-title { font-size: 0.65rem; }
    .team-member-bio { display: none; }
    .btn-view-profile { padding: 8px 16px; font-size: 0.75rem; }

    /* ===== Phone Modal ===== */
    .phone-modal__card { padding: 28px 16px 18px; }
    .phone-modal__hint { display: none; }
    .phone-modal__number { font-size: 1.05rem; }
    .phone-modal__label { font-size: 0.65rem; }

    /* ===== Animations ===== */
    .play-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .animation-featured-badge {
        font-size: 0.6rem;
        padding: 3px 10px;
    }
}

/* ===== EXTRA SMALL PHONE (< 376px) ===== */
@media (max-width: 375px) {
    .logo { max-width: 150px; min-width: 80px; }
    .logo img { height: 36px; }
    .mobile-toggle { font-size: 1.4rem; padding: 2px 4px; }
    .stat-number { font-size: 1.3rem; }
}


/* ============================================
   21. ACCESSIBILITY & UTILITY
   ============================================ */

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

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

@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .mobile-phone-bar,
    .hero-image,
    .inner-hero-buttons,
    .cta-section,
    .phone-modal {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        padding-bottom: 0 !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}