/* City services entry UI v1 · mobile first */
.service-home {
    display: grid;
    gap: 16px;
}

.service-home-intro {
    padding: 22px;
    border: 1px solid #d8e8f0;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f5fbfe 100%);
    box-shadow: 0 10px 28px rgba(20, 83, 119, .06);
}

.service-home-intro .eyebrow,
.service-picker .eyebrow {
    margin-bottom: 7px;
}

.service-home-intro h2,
.service-picker h2 {
    margin: 0;
    color: #123e5b;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.08;
}

.service-home-intro p,
.service-picker-lead {
    max-width: 720px;
    margin: 8px 0 0;
    color: #587486;
    font-size: 14px;
    line-height: 1.55;
}

.service-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.service-entry-card {
    position: relative;
    display: flex;
    min-height: 176px;
    flex-direction: column;
    padding: 19px;
    overflow: hidden;
    border: 1px solid #d9e8ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 88, 120, .055);
    color: #173d55;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.service-entry-card:hover {
    transform: translateY(-2px);
    border-color: #b9dbe9;
    box-shadow: 0 12px 30px rgba(25, 88, 120, .09);
}

.service-entry-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #f3f9fc;
    font-size: 25px;
    line-height: 1;
}

.service-entry-card--electricity .service-entry-card__icon { background: #fff8d9; }
.service-entry-card--water .service-entry-card__icon { background: #eaf8ff; }
.service-entry-card--weather .service-entry-card__icon { background: #f4f6ff; }

.service-entry-card strong {
    color: #103d59;
    font-size: 21px;
    line-height: 1.1;
}

.service-entry-card p {
    margin: 7px 0 18px;
    color: #647d8c;
    font-size: 13px;
    line-height: 1.45;
}

.service-entry-card__go {
    margin-top: auto;
    color: #177fae;
    font-size: 13px;
    font-weight: 850;
}

.home-city-shortcuts {
    padding: 18px 20px;
}

.home-city-shortcuts h2 {
    margin: 0 0 12px;
    color: #20485f;
    font-size: 16px;
}

.home-city-shortcut-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-city-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #d8e7ee;
    border-radius: 999px;
    background: #fff;
    color: #24516b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-city-shortcut:hover {
    border-color: #b7d7e5;
    background: #f7fbfd;
}

.service-picker {
    display: grid;
    gap: 16px;
}

.service-city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.service-city-card {
    display: flex;
    min-height: 142px;
    flex-direction: column;
    padding: 18px;
    border: 1px solid #d9e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(25, 88, 120, .05);
    color: #173f58;
    text-decoration: none;
}

.service-city-card:hover {
    border-color: #b9dbe8;
    box-shadow: 0 10px 26px rgba(25, 88, 120, .08);
}

.service-city-card strong {
    font-size: 19px;
}

.service-city-card span {
    margin-top: 6px;
    color: #657f8f;
    font-size: 13px;
    line-height: 1.45;
}

.service-city-card b {
    margin-top: auto;
    padding-top: 16px;
    color: #177fae;
    font-size: 12px;
}

.service-city-card.is-coming {
    opacity: .68;
    cursor: default;
    box-shadow: none;
}

.service-city-card.is-coming b {
    color: #7c909c;
}

.service-back-link {
    display: inline-flex;
    width: fit-content;
    color: #37718e;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 760px) {
    .service-home-intro {
        padding: 17px;
        border-radius: 18px;
    }

    .service-entry-grid,
    .service-city-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .service-entry-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        grid-template-areas:
            "icon title go"
            "icon desc go";
        column-gap: 12px;
        row-gap: 4px;
        align-items: center;
        padding: 14px;
        border-radius: 16px;
    }

    .service-entry-card__icon {
        grid-area: icon;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 13px;
        font-size: 24px;
    }

    .service-entry-card strong {
        grid-area: title;
        align-self: end;
        font-size: 18px;
    }

    .service-entry-card p {
        grid-area: desc;
        align-self: start;
        margin: 0;
        font-size: 12px;
    }

    .service-entry-card__go {
        grid-area: go;
        margin: 0;
        padding-left: 4px;
        font-size: 0;
    }

    .service-entry-card__go::after {
        content: '→';
        font-size: 20px;
    }

    .home-city-shortcuts {
        padding: 15px;
    }

    .service-city-card {
        min-height: 0;
        padding: 15px;
        border-radius: 15px;
    }
}
