@media (max-width: 768px) {
    .services-bar {
        width: 100%;
        min-width: 0 !important;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }

    .services-bar-fixed {
        width: 100%;
        left: 0;
        right: 0;
    }

    .services-bar-tabs {
        padding: 2px 6px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-right: 12px;
        scroll-padding-inline: 12px;
        position: relative;
    }

    .services-bar-tab {
        font-size: 10px;
        padding: 3px 6px;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: none;
    }

    .services-bar-dropdown {
        position: fixed;
        right: 8px;
        left: auto;
        transform: none;
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        max-height: 70vh;
        overflow-y: auto;
        z-index: 999;
        padding: 8px;
        box-sizing: border-box;
    }

    .services-bar-panel a {
        font-size: 10px;
        padding: 6px 8px;
        white-space: normal;
        word-break: break-word;
    }

    .services-bar-tabs.scroll-hint::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 26px;
        pointer-events: none;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

    .testimonials .t-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .testimonials .t-card {
        scroll-snap-align: center;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 92svh;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .logo img {
        transform: translateX(-12px);
        height: 40px;
        margin-top: 8px;
        margin-left: 10px;
    }

    .navbar .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--white);
        font-size: 50px;
        cursor: pointer;
        margin-top: 4px;
        transition: transform 0.25s ease;
        position: absolute;
        right: 8px;
        top: 8px;
        width: 64px;
        height: 64px;
        padding: 6px;
    }

    .navbar .hamburger i {
        transition: transform 0.25s ease;
    }

    .navbar .hamburger.active {
        transform: scale(1.05);
    }

    .navbar .hamburger.active i {
        transform: rotate(90deg);
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: auto;
        right: 0;
        width: 60vw;
        height: auto;
        background: var(--dark-blue);
        color: var(--white);
        display: none;
        flex-direction: column;
        padding: 24px;
        z-index: 1001;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.6s ease, opacity 0.6s ease;
        text-align: left;
        padding-top: 20px;
    }

    .mobile-menu.open {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    .mobile-menu a {
        padding: 12px 8px;
        text-decoration: none;
        color: var(--white);
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: 36px;
        margin-top: 22px;
    }

    .hero-content h6 {
        margin-top: 130px;
        font-size: 16px;
    }

    .hero-content p {
        color: var(--gold);
        font-family: 'Merriweather', serif;
        font-weight: 700;
        font-size: 14px;
        line-height: 1.6;
    }

    .hero .hero-content {
        margin: 0;
        width: 100%;
        padding: 18px;
        text-align: left;
        padding-top: calc(var(--mobile-safe-top, 64px) + -10px);
    }

    .social-bar {
        display: none;
    }

    .hero-utilities {
        display: flex;
        position: static;
        width: 100%;
        z-index: 2;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 140px;
        padding-left: 18px;
    }

    .hero-utilities .btn-outline-light {
        display: none;
    }

    .hero-utilities .btn-outline-light {
        display: none;
    }

    .hero-utilities .btn-outline {
        font-size: 20px;
        padding: 8px 12px;
    }

    #consultBtn {
        margin-bottom: 60px;
    }

    .hero-utilities .btn-outline.animating {
        animation: heroCTAFill 2s ease forwards;
        pointer-events: none;
    }

    @keyframes heroCTAFill {
        0% {
            background-size: 100% 0%;
            color: var(--white);
        }

        100% {
            background-size: 100% 100%;
            color: var(--dark-blue);
        }
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modal-container {
        width: clamp(300px, 86vw, 320px);
        max-width: 320px;
        min-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding: 12px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        overflow: visible;
        height: auto;
    }

    .modal-container .appointment-form {
        box-sizing: border-box;
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
    }

    .modal-container .form-content {
        flex: 1;
        overflow: visible;
    }

    .modal-container .btn-primary {
        width: 100%;
        align-self: stretch;
        box-sizing: border-box;
    }

    .modal-header h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .form-group {
        margin-bottom: 6px;
    }

    .appointment-form .form-group label {
        margin-bottom: 4px;
    }

    .appointment-form .form-group input,
    .appointment-form .form-group textarea {
        padding: 6px;
        font-size: 12px;
        line-height: 1.2;
        min-height: 34px;
    }

    .appointment-form .btn-primary {
        font-size: 15px;
        padding: 9px 10px;
        margin-top: 8px;
        flex-shrink: 0;
    }

    .appointment-form {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .appointment-form .form-content {
        flex: 1;
        overflow: visible;
        gap: 6px;
    }

    .mobile-menu-header .overlay-hamburger {
        position: static;
    }

    .stats-card {
        position: absolute;
        top: 0;
        left: 5%;
        transform: translateY(-50%);
        width: 90%;
        height: 120px;
        padding: 12px 14px;
        margin: 0;
        box-sizing: border-box;
        z-index: 3;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        align-items: start;
    }

    .stat-item {
        padding: 15px 6px 0 6px;
        border-right: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        min-height: 54px;
    }

    .stat-number {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }


    @media (max-width: 768px) {
        .right-place {
            width: 100%;
            margin: 0;
            padding: 120px 0 60px;
            margin-top: 0;
        }

        .rp-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .right-place h2 {
            font-size: 30px;
            text-align: left;
        }

        .rp-features {
            grid-template-columns: 1fr;
        }

        .rp-photo-wrap img {
            max-width: 100%;
            height: 280px;
        }

        .rp-photo-wrap::after {
            content: none;
            display: none;
        }
    }

    .practice-areas {
        padding: 60px 0;
    }

    .practice-areas .pa-grid {
        width: 90%;
        margin: 0 5%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .practice-areas .pa-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        width: 90%;
        margin: 0 5%;
    }

    .practice-areas h2 {
        font-size: 36px;
        text-align: center;
    }

    .practice-areas .pa-photo-wrap img {
        max-width: 100%;
        height: 240px;
    }

    .practice-areas .pa-photo-wrap::after {
        content: none;
        display: none;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .how-it-works .hiw-grid {
        width: 90%;
        margin: 0 5%;
    }

    .how-it-works .hiw-step-number {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .how-it-works h2 {
        font-size: 34px;
        text-align: center;
    }

    .how-it-works .hiw-intro {
        font-size: 16px;
        text-align: center;
        margin: 0 auto 20px;
    }

    .how-it-works .hiw-steps {
        width: 90%;
        margin: 0 5%;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .how-it-works .hiw-cta {
        margin-top: 20px;
    }

    .how-it-works .hiw-step {
        aspect-ratio: auto;
        min-height: 200px;
        padding: 20px;
    }

    .how-it-works .hiw-step::after {
        content: none;
    }

    .how-it-works .hiw-step::before {
        content: none;
    }

    .how-it-works .hiw-step:not(:last-child)::after,
    .how-it-works .hiw-step:not(:last-child)::before {
        content: none;
    }

    .testimonials h2 {
        font-size: 25px;
        text-align: center;
    }

    .legal-help h2 {
        font-size: 25px;
        text-align: left;
    }

    .legal-help .appointment-form {
        box-sizing: border-box;
        width: clamp(260px, 90vw, 320px);
        max-width: 320px;
        margin: 0 auto;
    }

    .locations .loc-header h2 {
        font-size: 25px;
        text-align: center;
    }

    @media (max-width: 480px) {
        .modal-container {
            width: clamp(300px, 90vw, 320px);
            max-width: 320px;
            min-width: 300px;
            margin-left: auto;
            margin-right: auto;
            padding: 16px;
            box-sizing: border-box;
            box-sizing: border-box;
            height: auto;
        }

        .modal-container .appointment-form {
            box-sizing: border-box;
            max-width: 280px;
            width: 100%;
            margin: 0 auto;
        }

        .modal-header h2 {
            font-size: 18px;
        }

        .appointment-form .form-group input,
        .appointment-form .form-group textarea {
            padding: 7px;
            font-size: 12px;
            min-height: 34px;
        }

        .appointment-form .btn-primary {
            font-size: 15px;
            padding: 9px 10px;
            margin-top: auto;
        }

        .practice-areas .pa-list {
            grid-template-columns: 1fr;
            gap: 0;
        }
    }

    @media (max-width: 768px) {
        .practice-areas .pa-item:nth-child(2n) {
            border-right: none;
        }

        .practice-areas .pa-item:nth-last-child(-n + 2) {
            border-bottom: none;
        }

        .practice-areas .pa-photo-wrap::after {
            content: none;
            display: none;
        }
    }

    @media (max-width: 480px) {
        .practice-areas .pa-item {
            border-right: none;
        }

        .practice-areas .pa-item:last-child {
            border-bottom: none;
        }
    }

    .mobile-menu-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: var(--dark-blue);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 60;
    }

    .mobile-menu-header .logo-link img {
        height: 64px;
    }

    .mobile-menu-header .overlay-hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: var(--white);
        font-size: 28px;
        cursor: pointer;
    }

    .fab {
        bottom: 50px;
        right: 10px;
        gap: 8px;
    }

    .fab-button {
        width: 48px;
        height: 48px;
    }

    .fab-popover {
        width: 280px;
        max-width: calc(100% - 12px);
        right: 20px;
        bottom: 110px;
    }
}