.tqy-popular-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1rem;
    min-height: 400px;
    contain: layout
}

.tqy-service-tile {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: var(--accent-gradient);
    border: 2px solid rgba(255,215,0,.5);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--navy-blue);
    transition: .3s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,215,0,.3);
    min-height: 56px
}

.tqy-count-badge, .tqy-state-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    font-weight: 600
}

.tqy-service-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,.5)
}

.tqy-service-tile i {
    font-size: 1.25rem;
    color: var(--navy-blue);
    width: 1.25rem;
    min-width: 1.25rem
}

.tqy-service-tile span {
    line-height: 1.3
}

.tqy-state-badge {
    gap: .5rem;
    background: var(--navy-blue);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .85rem;
    margin-bottom: 1rem;
    min-height: 36px
}

    .tqy-state-badge i {
        color: gold;
        width: 1em
    }

.tqy-count-badge {
    gap: .35rem;
    background: rgba(255,215,0,.2);
    color: var(--navy-blue);
    padding: .25rem .75rem;
    font-size: .8rem;
    margin-left: auto;
    white-space: nowrap;
    line-height: 1
}

.tqy-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 1.5rem;
    contain: layout
}

.tqy-category-card {
    background: var(--white-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: .3s;
    min-height: 200px;
    contain: layout style
}

    .tqy-category-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
        border-color: gold
    }

.tqy-category-header {
    background: var(--navy-blue);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: .75rem
}

    .tqy-category-header i {
        font-size: 1.5rem;
        color: gold;
        width: 1.5rem
    }

    .tqy-category-header h3 {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0
    }

.tqy-category-services a, .tqy-view-all {
    display: block;
    font-size: .95rem;
    color: var(--navy-blue);
    text-decoration: none
}

.tqy-category-services {
    padding: 1rem 1.5rem;
    background: var(--card-bg)
}

.tqy-az-nav a:hover, .tqy-section-divider::before, .tqy-view-all {
    background: var(--accent-gradient)
}

.tqy-category-services a {
    padding: .6rem 0;
    border-bottom: 1px solid rgba(0,51,102,.1);
    transition: .2s
}

    .tqy-category-services a:last-child {
        border-bottom: none
    }

    .tqy-category-services a:hover {
        padding-left: .5rem
    }

    .tqy-category-services a i {
        margin-right: .5rem;
        color: gold;
        font-size: .8rem;
        width: .8rem
    }

.tqy-view-all {
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    transition: .3s
}

    .tqy-view-all:hover {
        filter: brightness(1.1)
    }

.tqy-section-divider {
    text-align: center;
    margin: 2.5rem 0;
    position: relative
}

    .tqy-section-divider::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 3px
    }

    .tqy-section-divider span {
        background: #f5f5f0;
        padding: 0 1.5rem;
        position: relative;
        color: var(--navy-blue);
        font-weight: 700;
        font-size: 1.2rem
    }

.tqy-az-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0,51,102,.1);
    justify-content: center
}

    .tqy-az-nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        background: var(--white-card);
        border: 2px solid var(--border-color);
        border-radius: 8px;
        text-decoration: none;
        color: var(--navy-blue);
        font-weight: 700;
        font-size: 1rem;
        transition: .2s;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation
    }

        .tqy-az-nav a:hover {
            border-color: gold;
            transform: translateY(-2px)
        }

        .tqy-az-nav a.disabled {
            opacity: .4;
            pointer-events: none
        }

.tqy-az-section {
    margin-bottom: 2rem;
    min-height: 60px
}

.tqy-az-letter {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 3px solid;
    border-image: var(--accent-gradient) 1;
    display: inline-block;
    min-width: 40px
}

.tqy-az-list {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: .5rem 2rem
}

    .tqy-az-list a {
        display: block;
        padding: .5rem 0 .5rem .75rem;
        color: var(--navy-blue);
        text-decoration: none;
        font-size: .95rem;
        transition: .2s;
        border-left: 3px solid transparent;
        line-height: 1.5
    }

        .tqy-az-list a:hover {
            border-left-color: gold;
            background: rgba(255,215,0,.1)
        }

.tqy-region-card, .tqy-state-box {
    border: 2px solid var(--border-color);
    transition: .3s;
    text-align: center
}

.tqy-states-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem
}

.tqy-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: 0 0;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--navy-blue);
    min-height: 100px
}

.tqy-region-card, .tqy-state-link {
    background: var(--card-bg);
    color: var(--navy-blue);
    text-decoration: none
}

.tqy-state-box:hover {
    border-color: gold;
    background: rgba(255,215,0,.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,.3)
}

.tqy-state-box i {
    font-size: 1.75rem;
    color: gold;
    margin-bottom: .5rem;
    width: 1.75rem;
    height: 1.75rem
}

.tqy-state-box span {
    font-weight: 700;
    font-size: .9rem
}

.tqy-state-box small {
    font-size: .75rem;
    color: #666;
    margin-top: .25rem
}

.tqy-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 1rem;
    min-height: 200px
}

.tqy-region-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    min-height: 100px
}

    .tqy-region-card:hover {
        border-color: gold;
        background: rgba(255,215,0,.08);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md)
    }

    .tqy-region-card i {
        font-size: 1.75rem;
        color: gold;
        margin-bottom: .75rem;
        width: 1.75rem;
        height: 1.75rem
    }

    .tqy-region-card span {
        font-weight: 700;
        font-size: .95rem
    }

    .tqy-region-card small {
        font-size: .8rem;
        color: #666;
        margin-top: .25rem
    }

.tqy-other-states {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    min-height: 100px
}

.tqy-state-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    transition: .2s;
    min-height: 48px
}

    .tqy-state-link:hover {
        border-color: gold;
        background: rgba(255,215,0,.1)
    }

    .tqy-state-link.active {
        background: var(--navy-blue);
        color: #fff;
        border-color: var(--navy-blue)
    }

    .tqy-state-link.disabled {
        opacity: .5;
        pointer-events: none
    }

    .tqy-state-link.coming-soon {
        opacity: .65;
        cursor: default;
        pointer-events: none
    }

        .tqy-state-link.coming-soon small {
            font-weight: 600;
            color: #e67e22
        }

    .tqy-state-link i {
        width: 1em
    }

.tqy-service-page .tqy-hub-link {
    margin: .75rem 0 1.25rem;
    font-size: .95rem;
    color: #555
}

    .tqy-service-page .tqy-hub-link a {
        color: #333;
        text-decoration: underline;
        transition: color .2s
    }

        .tqy-service-page .tqy-hub-link a:hover {
            color: #000;
            text-decoration: none
        }

.fab, .far, .fas {
    width: 1em;
    height: 1em;
    min-width: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

@media (max-width:968px) {
    .tqy-popular-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .tqy-service-tile {
        min-width: 0;
        overflow-wrap: break-word;
        word-break: break-word
    }
}

@media (max-width:768px) {
    .tqy-categories-grid {
        grid-template-columns: 1fr
    }

    .tqy-regions-grid, .tqy-states-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .tqy-regions-grid {
        min-height: 300px
    }

    .tqy-popular-grid {
        grid-template-columns: repeat(3,1fr);
        min-height: 600px
    }

    .tqy-service-tile {
        padding: .75rem;
        font-size: 1rem
    }

        .tqy-service-tile i {
            font-size: 1.1rem
        }

    .tqy-az-nav {
        gap: .375rem
    }
}

@media (max-width:576px) {
    .tqy-popular-grid, .tqy-states-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .tqy-popular-grid {
        min-height: 800px
    }

    .tqy-service-tile {
        padding: .6rem .5rem;
        font-size: 1rem;
        gap: .4rem
    }

        .tqy-service-tile i {
            font-size: 1rem;
            min-width: 1rem;
            width: 1rem
        }

        .tqy-service-tile span {
            hyphens: auto;
            -webkit-hyphens: auto
        }

    .tqy-states-grid {
        gap: .75rem
    }

    .tqy-state-box {
        padding: 1rem .75rem
    }

        .tqy-state-box i {
            font-size: 1.5rem
        }

        .tqy-state-box span {
            font-size: .8rem
        }

    .tqy-az-nav a {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: .95rem
    }

    .tqy-az-nav {
        gap: .25rem
    }
}

@media (max-width:400px) {
    .tqy-popular-grid {
        grid-template-columns: 1fr;
        min-height: auto
    }

    .tqy-service-tile {
        font-size: 1rem;
        padding: .6rem .75rem
    }
}
