/* Homepage service atlas polish — intentionally scoped to index.html. */
.index-page #local-services.jacksonville-directory {
    position: relative;
    padding: clamp(58px, 6vw, 86px) 0;
    overflow: hidden;
    color: #29261f;
    font-family: "Roboto", sans-serif;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 183, 28, .09), transparent 25%),
        radial-gradient(circle at 92% 82%, rgba(177, 119, 16, .06), transparent 26%),
        linear-gradient(180deg, #f7f8f8 0%, #fbfbfa 100%);
}

.index-page #local-services .jacksonville-directory__intro {
    position: relative;
    width: min(920px, calc(100% - 36px));
    margin: 0 auto 28px;
    padding: clamp(28px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(159, 103, 14, .17);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 250, 238, .9));
    box-shadow: 0 20px 54px rgba(45, 40, 32, .08), inset 0 1px 0 #fff;
    text-align: center;
}

.index-page #local-services .jacksonville-directory__intro::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 132px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #d58c00, #ffc541, #d58c00);
    content: "";
    transform: translateX(-50%);
}

.index-page #local-services .jacksonville-directory__intro .jacksonville-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #9c6200;
    font-family: "Barlow", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.index-page #local-services .jacksonville-directory__intro .jacksonville-eyebrow span {
    display: block;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: #efa800;
}

.index-page #local-services .jacksonville-directory__intro h2 {
    max-width: 790px;
    margin: 0 auto 16px;
    color: #29261f;
    font-family: "Barlow", sans-serif;
    font-size: clamp(40px, 4.7vw, 64px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
}

.index-page #local-services .jacksonville-directory__intro > p:last-child {
    max-width: 760px;
    margin: 0 auto;
    color: #706b62;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
}

.index-page #local-services .jacksonville-directory__note.service-atlas__note {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 22px 18px 18px !important;
    padding: 20px 22px;
    border: 1px solid rgba(159, 103, 14, .2) !important;
    border-radius: 21px;
    background: linear-gradient(115deg, #fffdf8 0%, #fff7e6 100%) !important;
    box-shadow: 0 15px 34px rgba(51, 45, 35, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.index-page #local-services .jacksonville-directory__note > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(221, 150, 14, .25);
    border-radius: 16px;
    color: #a76800;
    font-size: 20px;
    background: linear-gradient(145deg, #fffaf0, #ffe9ad);
    box-shadow: 0 8px 20px rgba(177, 117, 12, .11);
}

.index-page #local-services .jacksonville-directory__note strong {
    display: block;
    margin: 0 0 5px;
    color: #29261f;
    font-family: "Barlow", sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.index-page #local-services .jacksonville-directory__note p {
    margin: 0;
    color: #716b62;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.index-page #local-services .jacksonville-directory__note a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid #e8a20d;
    border-radius: 15px;
    color: #25221c;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(135deg, #ffd15b 0%, #ffab00 100%);
    box-shadow: 0 10px 24px rgba(203, 132, 0, .16);
    transition: transform .25s ease, box-shadow .25s ease;
}

.index-page #local-services .jacksonville-directory__note a:hover,
.index-page #local-services .jacksonville-directory__note a:focus-visible {
    color: #25221c;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(203, 132, 0, .24);
}

@media (max-width: 767px) {
    .index-page #local-services.jacksonville-directory {
        padding: 46px 0 54px;
    }

    .index-page #local-services .jacksonville-directory__intro {
        width: min(100% - 28px, 920px);
        margin-bottom: 20px;
        padding: 26px 20px 24px;
        border-radius: 22px;
    }

    .index-page #local-services .jacksonville-directory__intro .jacksonville-eyebrow {
        gap: 9px;
        margin-bottom: 12px;
        font-size: 10px;
        letter-spacing: .13em;
    }

    .index-page #local-services .jacksonville-directory__intro .jacksonville-eyebrow span {
        width: 25px;
    }

    .index-page #local-services .jacksonville-directory__intro h2 {
        margin-bottom: 13px;
        font-size: clamp(34px, 10.2vw, 46px);
        line-height: 1.02;
    }

    .index-page #local-services .jacksonville-directory__intro > p:last-child {
        font-size: 14px;
        line-height: 1.62;
    }

    .index-page #local-services .jacksonville-directory__note.service-atlas__note {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        margin: 16px 12px 14px !important;
        padding: 17px;
        border-radius: 18px;
    }

    .index-page #local-services .jacksonville-directory__note > span {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 17px;
    }

    .index-page #local-services .jacksonville-directory__note strong {
        font-size: 17px;
    }

    .index-page #local-services .jacksonville-directory__note p {
        font-size: 13px;
    }

    .index-page #local-services .jacksonville-directory__note a {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        margin-top: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .index-page #local-services .jacksonville-directory__note a {
        transition: none;
    }
}
