/* City services directory — /city/<slug>/services/ */

@media (min-width: 1280px) {
    .container:has(.city-services-page) {
        max-width: 1276px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    .container:has(.city-services-page) {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
}

body {
    background: #fff8f4 !important;
}

.new-homepage-footer {
    margin-top: 0 !important;
}

.city-services-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 54px auto 88px;
    padding: 0;
    background: #fff8f4;
}

/* ── Layout ── */

.city-services-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas:
        "hero sidebar"
        "categories sidebar";
    gap: 28px;
    align-items: start;
}

.city-services-page__hero {
    grid-area: hero;
}

.city-services-page__categories {
    grid-area: categories;
}

/* ── Hero ── */

.city-services-page__eyebrow {
    margin: 0 0 12px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D94716;
}

.city-services-page__title {
    margin: 0 0 14px;
    max-width: 860px;
    font-family: Inter, sans-serif;
    font-size: 47px;
    font-weight: 700;
    line-height: 1.1;
    color: #000;
}

.city-services-page__intro {
    margin: 0 0 28px;
    max-width: 700px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #454545;
}

.city-services-page__hero-media {
    margin: 0;
}

.city-services-page__hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
}

.city-services-page__hero-caption {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #e7dfdc;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #fff;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
}

/* ── Sidebar status card ── */

.city-services-page__sidebar {
    position: sticky;
    top: 24px;
    grid-area: sidebar;
    align-self: start;
    box-sizing: border-box;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.city-services-page__sidebar-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.city-services-page__sidebar-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding: 24px 22px 22px;
}

.city-services-page__sidebar-eyebrow {
    margin: 0 0 18px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f06428;
}

.city-services-page__status-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.city-services-page__status-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.city-services-page__status-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
}

.city-services-page__status-dot--available {
    background: #10a385;
}

.city-services-page__status-dot--underway {
    background: #f06428;
}

.city-services-page__status-dot--needed {
    background: #676666;
}

.city-services-page__status-item strong {
    display: block;
    margin-bottom: 4px;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.city-services-page__status-item p {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.city-services-page__sidebar-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f06428;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s ease;
}

.city-services-page__sidebar-btn:hover,
.city-services-page__sidebar-btn:focus {
    background: #e0521a;
    color: #fff;
    text-decoration: none;
    outline: none;
}

/* ── Highlight pills ── */

.city-services-page__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.city-services-page__highlights li {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #FFF0E8;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: #f06428;
}

/* ── Category grid ── */

.city-services-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 16px;
}

.city-services-page__card {
    box-sizing: border-box;
    display: block;
    width: 300px;
    max-width: 100%;
    min-height: 173px;
    padding: 20px;
    border: 1px solid #e7dfdc;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.city-services-page__card:hover,
.city-services-page__card:focus {
    border-color: #f4a080;
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.06);
    text-decoration: none;
    color: inherit;
    outline: none;
}

.city-services-page__card-icon {
    display: block;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
}

.city-services-page__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 100%;
}

.city-services-page__card-title {
    margin: 0 0 6px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.city-services-page__card-desc {
    margin: 0 0 16px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: #454545;
}

.city-services-page__card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.city-services-page__card-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.city-services-page__card-status--available {
    color: #454545;
}

.city-services-page__card-status--available .city-services-page__card-status-dot {
    background: #10a385;
}

.city-services-page__card-status--underway {
    color: #454545;
}

.city-services-page__card-status--underway .city-services-page__card-status-dot {
    background: #f06428;
}

.city-services-page__card-status--needed {
    color: #6b7280;
    align-items: flex-start;
}

.city-services-page__card-status--needed .city-services-page__card-status-dot {
    background: #676666;
    margin-top: 0.35em;
}

/* ── Responsive ── */

@media (max-width: 1199px) {
    .city-services-page__layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 991px) {
    .city-services-page {
        margin: 24px auto 40px;
        padding: 0 16px;
    }

    .city-services-page__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "sidebar"
            "categories";
        gap: 24px;
    }

    .city-services-page__sidebar {
        position: static;
        top: auto;
    }

    .city-services-page__title {
        font-size: clamp(1.75rem, 6vw, 47px);
    }

    .city-services-page__sidebar,
    .city-services-page__sidebar-content {
        min-height: 0;
    }

    .city-services-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-services-page__card {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .city-services-page__intro {
        font-size: 14px;
    }

    .city-services-page__highlights {
        flex-direction: column;
    }

    .city-services-page__highlights li {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .city-services-page__grid {
        grid-template-columns: 1fr;
    }
}
