/* screen - faq */

.faq {
    align-items: center;
    background-color: var(--white);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
    min-height: 2200px;
    overflow-x: hidden;
    position: relative;
    width: 1440px;
}

.faq .nav-cYMBZ0 {
    align-items: center;
    background-color: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 1;
    height: 51px;
    justify-content: flex-start;
    margin-top: 58px;
    min-width: 1234px;
    position: relative;
    width: auto;
}

.faq .logo-EsHP4j {
    flex-shrink: 1;
    position: relative;
}

.faq .services-EsHP4j {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 142px;
    min-width: 68px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.faq .pricing-EsHP4j {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 41px;
    min-width: 55px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.faq .resources-EsHP4j {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 42px;
    min-width: 84px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.faq .button-EsHP4j {
    align-self: flex-start;
    background-color: transparent;
    background-image: url(assets/v4/img/pricing-button-backgroundmask.png);
    background-size: 100% 100%;
    flex-shrink: 1;
    height: 50px;
    margin-left: 41px;
    overflow: hidden;
    position: relative;
    width: 357px;
}

.faq .background-9MSjMc {
    height: 50px;
    top: 1px;
    width: 357px;
}

.faq .shchedule-a-free-consultation-9MSjMc {
    background-color: transparent;
    font-weight: 600;
    height: auto;
    left: 32px;
    letter-spacing: 1.10px;
    line-height: 21px;
    position: absolute;
    text-align: left;
    top: 16px;
    white-space: nowrap;
    width: auto;
}

.faq .login-button-EsHP4j {
    align-self: flex-start;
    background-color: transparent;
    background-image: url(assets/v4/img/attorney-mail-button-backgroundmask-1@2x.png);
    background-size: 100% 100%;
    flex-shrink: 1;
    height: 50px;
    margin-left: 43px;
    overflow: hidden;
    position: relative;
    width: 143px;
}

.faq .background-XU1my7 {
    height: 50px;
    top: 1px;
    width: 143px;
}

.faq .login-XU1my7 {
    background-color: transparent;
    font-weight: 600;
    height: 29px;
    left: 37px;
    letter-spacing: 0.88px;
    line-height: 21px;
    position: absolute;
    text-align: center;
    top: 12px;
    width: 68px;
}

.faq .footer-cYMBZ0 {
    background-color: transparent;
    flex-shrink: 1;
    height: 300px;
    margin-top: 27px;
    position: relative;
    width: 1442px;
}

.faq .rectangle-HcGs4A {
    background-color: transparent;
    height: 300px;
    left: 1px;
    position: absolute;
    top: 0px;
    width: 1440px;
}

.faq .copyright-HcGs4A {
    background-color: transparent;
    font-weight: 300;
    height: auto;
    left: 599px;
    letter-spacing: 0.00px;
    line-height: 23px;
    position: absolute;
    text-align: center;
    top: 250px;
    white-space: nowrap;
    width: auto;
}

.faq .line-HcGs4A {
    background-color: transparent;
    height: 47px;
    left: -0px;
    position: absolute;
    top: 202px;
    width: 1443px;
}

.faq .links-HcGs4A {
    background-color: transparent;
    font-weight: 400;
    height: auto;
    left: 297px;
    letter-spacing: 0.00px;
    line-height: 33px;
    position: absolute;
    text-align: left;
    top: 133px;
    white-space: nowrap;
    width: auto;
}

.faq .socials-HcGs4A {
    background-color: transparent;
    font-weight: 400;
    height: auto;
    left: 1174px;
    letter-spacing: 0.00px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    top: 55px;
    width: 148px;
}

.faq .logo-HcGs4A {
    left: 101px;
    position: absolute;
    top: 50px;
}

.faq .background {
    background-color: transparent;
    left: 0px;
    position: absolute;
}

.faq .logo {
    background-color: transparent;
    height: 51px;
    width: 218px;
}

/* Enhanced Desktop Dropdown Styles - MATCHING ALL OTHER PAGES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.dropdown-content li {
    display: block;
    width: 100%;
}

.dropdown-content .dropdown-item {
    display: block;
    padding: 8px 16px;
    color: black;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Nested dropdown CSS - exactly like other pages */
.nested-dropdown {
    position: relative;
}

.nested-dropdown > .dropdown-item {
    position: relative;
}

.nested-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    border: 1px solid #ddd;
}

.nested-dropdown-content li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nested-dropdown-item {
    color: black !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

.nested-dropdown-item:hover {
    background-color: #f1f1f1;
}

.nested-dropdown:hover .nested-dropdown-content {
    display: block;
}

/* FAQ specific styles */
.faq-container {
    width: 1234px;
    margin: 0 auto 50px;
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-family-lora);
    font-size: 50px;
    font-weight: 400;
    color: var(--black);
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section-title {
    color: #c00000;
    font-family: var(--font-family-lora);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 20px;
}

.faq-question {
    font-family: var(--font-family-space_grotesk);
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #B22234;
}

.faq-question.active:after {
    content: '-';
}

.faq-answer {
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--black);
    display: none;
    padding: 5px 0 15px 0;
}

.faq-answer.active {
    display: block;
}

.contact-button {
    background-color: #B22234;
    color: white;
    font-family: var(--font-family-space_grotesk);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    display: block;
    margin: 30px auto 0;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    width: fit-content;
}

.contact-button:hover {
    background-color: #961c2c;
}

/* MODERN MOBILE NAVIGATION - MATCHING ALL OTHER PAGES EXACTLY */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Lora:wght@400;500&display=swap');

@media screen and (max-width: 768px) {
    /* Enhanced Mobile Navigation Toggle */
    .mobile-nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 10001 !important;
        background: white !important;
        border: 2px solid #c00000 !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        padding: 12px !important;
        width: 50px !important;
        height: 50px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-nav-toggle:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.25) !important;
        border-color: #a00000 !important;
    }

    .hamburger {
        display: block !important;
        position: relative !important;
        width: 24px !important;
        height: 3px !important;
        background-color: #c00000 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 3px !important;
    }

    .hamburger::before,
    .hamburger::after {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        width: 24px !important;
        height: 3px !important;
        background-color: #c00000 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 3px !important;
    }

    .hamburger::before { top: -8px !important; }
    .hamburger::after { top: 8px !important; }

    .mobile-nav-toggle.active .hamburger {
        background-color: transparent !important;
    }

    .mobile-nav-toggle.active .hamburger::before {
        top: 0 !important;
        transform: rotate(45deg) !important;
    }

    .mobile-nav-toggle.active .hamburger::after {
        top: 0 !important;
        transform: rotate(-45deg) !important;
    }

    /* Menu Overlay */
    .mobile-menu-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        z-index: 9998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        backdrop-filter: blur(4px) !important;
    }

    .mobile-menu-overlay.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Mobile Menu Container */
    .mobile-menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 90% !important;
        max-width: 380px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
        z-index: 9999 !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2) !important;
        flex-direction: column !important;
    }

    .mobile-menu.active {
        right: 0 !important;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        padding: 40px 25px 25px !important;
        border-bottom: 2px solid #e9ecef !important;
        text-align: center !important;
        background: white !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu-header::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 60px !important;
        height: 3px !important;
        background: #c00000 !important;
        border-radius: 2px !important;
    }

    .mobile-menu-logo {
        height: 50px !important;
        width: auto !important;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
    }

    /* Mobile Menu Content */
    .mobile-menu-content {
        flex: 1 !important;
        padding: 0 !important;
    }

    /* Collapsible Category Headers */
    .mobile-menu-category {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 25px 25px 15px !important;
        color: #c00000 !important;
        font-family: "Space Grotesk", sans-serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        border-bottom: 2px solid #c00000 !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
        margin: 15px 0 0 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        position: relative !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-category::before {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 4px !important;
        height: 100% !important;
        background: #c00000 !important;
    }

    .mobile-menu-category:hover {
        background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%) !important;
    }

    /* Dropdown Arrow */
    .mobile-menu-category::after {
        content: '▼' !important;
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
        color: #c00000 !important;
    }

    .mobile-menu-category.active::after {
        transform: rotate(180deg) !important;
    }

    /* Collapsible Section */
    .mobile-menu-section {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    }

    .mobile-menu-section.active {
        max-height: 500px !important;
    }

    /* Menu Items within Sections */
    .mobile-menu-item {
        display: block !important;
        padding: 18px 25px 18px 45px !important;
        color: #495057 !important;
        text-decoration: none !important;
        font-family: "Space Grotesk", sans-serif !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        border-bottom: 1px solid rgba(233, 236, 239, 0.5) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-menu-item::before {
        content: '' !important;
        position: absolute !important;
        left: 32px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 6px !important;
        height: 6px !important;
        background: #c00000 !important;
        border-radius: 50% !important;
        opacity: 0.6 !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-item::after {
        content: '' !important;
        position: absolute !important;
        left: -100% !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, rgba(192, 0, 0, 0.05) 0%, transparent 100%) !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-menu-item:hover::after {
        left: 0 !important;
    }

    .mobile-menu-item:hover {
        color: #c00000 !important;
        padding-left: 50px !important;
        transform: translateX(5px) !important;
    }

    .mobile-menu-item:hover::before {
        opacity: 1 !important;
        transform: translateY(-50%) scale(1.2) !important;
        left: 37px !important;
    }

    /* Mobile Menu Footer */
    .mobile-menu-footer {
        padding: 25px !important;
        margin-top: auto !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        border-top: 2px solid #e9ecef !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu-button {
        display: block !important;
        width: 100% !important;
        padding: 16px !important;
        text-align: center !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        margin-bottom: 12px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-family: "Space Grotesk", sans-serif !important;
        font-size: 16px !important;
        letter-spacing: 0.5px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-menu-button.primary {
        background-color: #c00000 !important;
        color: #fff !important;
        box-shadow: 0 4px 15px rgba(192, 0, 0, 0.3) !important;
    }

    .mobile-menu-button.primary:hover {
        background-color: #a00000 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(192, 0, 0, 0.4) !important;
    }

    .mobile-menu-button.secondary {
        background-color: #fff !important;
        color: #c00000 !important;
        border: 2px solid #c00000 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }

    .mobile-menu-button.secondary:hover {
        background-color: #c00000 !important;
        color: #fff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(192, 0, 0, 0.3) !important;
    }

    /* Hide old mobile navigation elements */
    .mobile-submenu-toggle,
    .mobile-submenu,
    .mobile-submenu-item,
    .mobile-menu-buttons {
        display: none !important;
    }

    /* --- REFINED RESET --- */
    body, .faq {
        width: 100% !important;
        min-width: 100% !important;
        overflow-x: hidden !important;
    }

    .faq *, .faq *::before, .faq *::after {
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    img {
        height: auto !important;
    }

    /* --- LAYOUT & NAVIGATION --- */
    .hide-mobile { display: none !important; }
    .show-mobile { display: flex !important; }

    .faq .nav-cYMBZ0 {
        display: none !important;
    }

    .faq {
        min-height: 100vh !important;
        height: auto !important;
        padding-top: 70px !important;
    }

    /* --- CONTENT TYPOGRAPHY & SPACING --- */
    .faq-container {
        padding: 20px 15px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .faq-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-bottom: 30px !important;
    }

    .faq-section {
        margin-bottom: 30px !important;
    }

    .faq-section-title {
        font-size: 22px !important;
        padding-bottom: 10px !important;
        margin-bottom: 20px !important;
    }

    .faq-item {
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }

    .faq-question {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .faq-question:after {
        font-size: 20px !important;
    }

    .faq-answer {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .contact-button {
        padding: 12px 24px !important;
        font-size: 14px !important;
        margin-top: 20px !important;
    }

    /* --- FOOTER RECONSTRUCTION --- */
    .faq .footer-cYMBZ0 {
        width: 100% !important;
        height: auto !important;
        margin: 40px 0 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 40px 20px !important;
        background-color: var(--cararra, #f5f5f7) !important;
    }

    /* Hide decorative elements */
    .faq .footer-cYMBZ0 .rectangle-HcGs4A,
    .faq .footer-cYMBZ0 .line-HcGs4A {
        display: none !important;
    }

    /* Reset all footer elements */
    .faq .footer-cYMBZ0 .copyright-HcGs4A,
    .faq .footer-cYMBZ0 .links-HcGs4A,
    .faq .footer-cYMBZ0 .socials-HcGs4A,
    .faq .footer-cYMBZ0 > a:last-child {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 0 0 25px 0 !important;
        text-align: center !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .faq .footer-cYMBZ0 .logo-HcGs4A {
        position: static !important;
    }

    /* Set visual order */
    .faq .footer-cYMBZ0 .copyright-HcGs4A {
        order: 1 !important;
    }
    .faq .footer-cYMBZ0 .links-HcGs4A {
        order: 2 !important;
    }
    .faq .footer-cYMBZ0 .socials-HcGs4A {
        order: 3 !important;
    }
    .faq .footer-cYMBZ0 > a:last-child {
        order: 4 !important;
        margin-bottom: 0 !important;
    }

    /* Style footer links */
    .faq .footer-cYMBZ0 .links-HcGs4A {
        font-size: 0 !important;
        line-height: 1 !important;
    }
    .faq .footer-cYMBZ0 .links-HcGs4A a {
        display: block !important;
        font-size: 18px !important;
        padding: 8px 0 !important;
        color: var(--black, #000);
        text-decoration: none;
        font-family: var(--font-family-lora);
    }
}