.service-map-page {
    background: #f4f7f3;
}

.service-map-hero {
    overflow: hidden;
    padding: 58px 0 48px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 20%, rgba(82, 216, 137, 0.3), transparent 27%),
        linear-gradient(135deg, #052d23 0%, #07583f 58%, #087e4b 100%);
}

.service-map-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 58px;
    align-items: end;
}

.service-map-hero h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(2.15rem, 4.5vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
}

.service-map-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.service-map-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-map-steps li {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(9px);
}

.service-map-steps span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #07392b;
    border-radius: 50%;
    background: #a9efbd;
    font-weight: 900;
}

.service-map-workspace {
    padding: 44px 0 56px;
}

.service-map-app {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 760px;
    overflow: hidden;
    border: 1px solid #dbe4dc;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(13, 48, 37, 0.12);
}

.service-map-directory {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-right: 1px solid #e0e7e1;
    background: #fff;
}

.service-map-directory-head {
    padding: 26px 24px 18px;
}

.service-map-directory h2,
.service-map-stage-head h2,
.service-team-location h2 {
    margin: 4px 0 5px;
    color: #0b2c23;
    font-size: 1.35rem;
    line-height: 1.2;
}

.service-map-directory p,
.service-map-stage-head p {
    margin: 0;
    color: #65736c;
    font-size: 0.88rem;
    line-height: 1.45;
}

.service-map-toolbar {
    display: grid;
    gap: 10px;
    padding: 0 18px 16px;
}

.service-map-back {
    justify-self: start;
    padding: 0;
    color: #087243;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.service-map-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: #173b30;
    border: 1px solid #d8e2da;
    border-radius: 12px;
    outline: none;
    background: #f8faf8;
    font: inherit;
    font-size: 0.9rem;
}

.service-map-search input:focus {
    border-color: #0c9559;
    box-shadow: 0 0 0 3px rgba(12, 149, 89, 0.14);
}

.service-map-list {
    flex: 1;
    overflow: auto;
    border-top: 1px solid #e6ece7;
}

.service-map-choice {
    display: grid;
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 15px 18px;
    text-align: left;
    color: #16372e;
    border: 0;
    border-bottom: 1px solid #edf1ed;
    background: #fff;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.service-map-choice:hover,
.service-map-choice:focus-visible {
    z-index: 1;
    outline: none;
    background: #f0faf3;
}

.service-map-choice.is-active {
    background: #e9f8ed;
    box-shadow: inset 4px 0 #0ba05e;
}

.service-map-choice-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #087344;
    border-radius: 12px;
    background: #e5f5e9;
    font-size: 1.15rem;
    font-weight: 900;
}

.service-map-choice-copy {
    min-width: 0;
}

.service-map-choice strong,
.service-map-choice small {
    display: block;
}

.service-map-choice strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.96rem;
}

.service-map-choice small {
    margin-top: 2px;
    color: #718078;
    font-size: 0.76rem;
}

.service-map-choice-arrow {
    color: #6e8177;
    font-size: 1.15rem;
}

.service-map-list-status {
    padding: 30px 22px;
    color: #69766f;
    text-align: center;
    font-size: 0.9rem;
}

.service-map-stage {
    min-width: 0;
    padding: 22px;
    background: #f7faf7;
}

.service-map-stage-head,
.service-team-location {
    display: flex;
    min-height: 61px;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 2px 16px;
}

.service-map-stage-head > p {
    max-width: 380px;
    padding-top: 14px;
    text-align: right;
}

.service-map-locator {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #dbe5dd;
    border-radius: 16px;
    background: #fff;
}

.service-map-locator-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.service-map-locator-field {
    flex: 1 1 200px;
    min-width: 0;
}

.service-map-locator-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: #173b30;
    border: 1px solid #d8e2da;
    border-radius: 12px;
    outline: none;
    background: #f8faf8;
    font: inherit;
    font-size: 0.9rem;
}

.service-map-locator-field input:focus {
    border-color: #0c9559;
    box-shadow: 0 0 0 3px rgba(12, 149, 89, 0.14);
}

.service-map-locator-button {
    min-height: 44px;
    padding: 0 16px;
    color: #0a5d39;
    border: 1px solid #bfe2ca;
    border-radius: 12px;
    background: #f0faf3;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}

.service-map-locator-button:hover,
.service-map-locator-button:focus-visible {
    outline: none;
    border-color: #0ba05e;
    background: #e3f6e9;
}

.service-map-locator-button.is-primary {
    color: #fff;
    border-color: #087a49;
    background: #0a8a52;
}

.service-map-locator-button.is-primary:hover,
.service-map-locator-button.is-primary:focus-visible {
    border-color: #06663c;
    background: #077545;
}

.service-map-suggestions {
    display: grid;
    overflow: hidden;
    border: 1px solid #e1e8e2;
    border-radius: 12px;
}

.service-map-suggestions[hidden] {
    display: none !important;
}

.service-map-suggestion {
    padding: 11px 14px;
    text-align: left;
    color: #1b3930;
    border: 0;
    border-bottom: 1px solid #edf1ed;
    background: #fbfcfb;
    font: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.service-map-suggestion:last-child {
    border-bottom: 0;
}

.service-map-suggestion:hover,
.service-map-suggestion:focus-visible {
    outline: none;
    background: #f0faf3;
}

.service-map-canvas-wrap {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid #d6e0d8;
    border-radius: 18px;
    background: #eaf0ea;
}

.service-map-canvas {
    width: 100%;
    height: 540px;
}

.service-map-empty,
.service-map-busy {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 28px;
    text-align: center;
}

.service-map-empty[hidden],
.service-map-busy[hidden],
.service-team-results[hidden],
.service-map-back[hidden],
.service-team-actions[hidden],
.service-team-beat-pick[hidden],
.service-team-form-host[hidden] {
    display: none !important;
}

.service-map-empty {
    color: #315046;
    background:
        radial-gradient(circle at 50% 45%, rgba(19, 154, 87, 0.12), transparent 23%),
        linear-gradient(135deg, #edf4ee, #f8faf8);
}

.service-map-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    place-items: center;
    color: #07804b;
    border: 1px solid #bbe0c7;
    border-radius: 20px;
    background: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 30px rgba(7, 128, 75, 0.12);
}

.service-map-empty strong {
    color: #103a2d;
    font-size: 1.15rem;
}

.service-map-empty span {
    max-width: 360px;
    margin-top: 5px;
    color: #6a7770;
}

.service-map-busy {
    color: #173b30;
    background: rgba(248, 251, 248, 0.86);
    backdrop-filter: blur(4px);
}

.service-map-spinner {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border: 4px solid #cfe6d5;
    border-top-color: #07854e;
    border-radius: 50%;
    animation: service-map-spin 800ms linear infinite;
}

@keyframes service-map-spin {
    to { transform: rotate(360deg); }
}

.service-map-feedback {
    margin-top: 12px;
    padding: 12px 15px;
    color: #3c5a50;
    border: 1px solid #dbe5dd;
    border-radius: 12px;
    background: #fff;
    font-size: 0.86rem;
}

.service-map-feedback.is-error {
    color: #8f2632;
    border-color: #f0c8ce;
    background: #fff4f5;
}

.service-map-feedback.is-success {
    color: #09683f;
    border-color: #bfe4ca;
    background: #edfaf1;
}

.service-team-results {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dbe4dc;
    border-radius: 18px;
    background: #fff;
}

.service-team-location {
    min-height: auto;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8eee9;
}

.service-team-coordinates {
    margin-top: 8px;
    padding: 6px 10px;
    color: #527065;
    border-radius: 999px;
    background: #eef4ef;
    font-size: 0.73rem;
    font-weight: 800;
}

.service-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 16px;
}

.service-team-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e1e8e2;
    border-radius: 14px;
    background: #fbfcfb;
}

.service-team-card.is-primary {
    border-color: #bfe2ca;
    background: #f0faf3;
}

.service-team-card-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.service-team-card-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: #087545;
    border-radius: 10px;
    background: #def2e4;
    font-weight: 900;
}

.service-team-card h3 {
    margin: 0;
    color: #173a30;
    font-size: 0.98rem;
    line-height: 1.3;
}

.service-team-entry + .service-team-entry {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e3eae4;
}

.service-team-entry strong,
.service-team-entry span {
    display: block;
}

.service-team-entry strong {
    color: #1b3930;
    font-size: 0.91rem;
}

.service-team-entry span,
.service-team-empty-copy {
    color: #6c7972;
    font-size: 0.78rem;
    line-height: 1.45;
}

.service-team-sublist {
    margin: 7px 0 0;
    padding: 0;
    list-style: none;
}

.service-team-sublist li {
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.75);
}

.service-team-sublist li + li {
    margin-top: 4px;
}

.service-team-person {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-team-photo {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
    background: #e7f3ea;
}

.service-team-person-copy {
    min-width: 0;
}

.service-team-vehicle-photo {
    display: block;
    width: 100%;
    max-height: 160px;
    margin: 8px 0;
    object-fit: cover;
    border-radius: 10px;
    background: #e7f3ea;
}

.service-team-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.service-team-actions-note {
    margin: 0;
    color: #3c5a50;
    font-size: 0.9rem;
}

.service-team-beat-pick {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #173a30;
    font-size: 0.86rem;
    font-weight: 700;
}

.service-team-beat-pick select {
    min-height: 44px;
    padding: 8px 12px;
    color: #173a30;
    border: 1px solid #c9d8ce;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-weight: 600;
}

.service-team-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-team-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    min-height: 68px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
}

.service-team-action.is-complaint {
    background: #c9202f;
}

.service-team-action.is-feedback {
    background: #0b6b45;
}

.service-team-action.is-active {
    outline: 3px solid #173a30;
    outline-offset: 2px;
}

.service-team-action-ur {
    font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.9;
}

.service-team-form-host {
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #d5e4d9;
    border-radius: 16px;
    background: #f3faf5;
}

.service-team-form-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    background: #f3faf5;
}

.service-map-privacy {
    padding: 0 0 56px;
}

.service-map-privacy-inner {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 22px 26px;
    color: #dcece2;
    border-radius: 16px;
    background: #113a2e;
}

.service-map-privacy-inner strong {
    flex: 0 0 auto;
    color: #fff;
}

.service-map-privacy-inner p {
    margin: 0;
}

.leaflet-container {
    font: inherit;
}

.leaflet-control-attribution {
    font-size: 10px;
}

@media (max-width: 980px) {
    .service-map-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-map-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-map-app {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .service-map-steps,
    .service-map-app,
    .service-team-grid {
        grid-template-columns: 1fr;
    }

    .service-map-app {
        min-height: 0;
        overflow: visible;
    }

    .service-map-directory {
        max-height: 480px;
        border-right: 0;
        border-bottom: 1px solid #e0e7e1;
    }

    .service-map-list {
        max-height: 300px;
    }

    .service-map-stage {
        padding: 14px;
    }

    .service-map-stage-head,
    .service-team-location,
    .service-map-privacy-inner {
        flex-direction: column;
        gap: 7px;
    }

    .service-map-stage-head > p {
        padding-top: 0;
        text-align: left;
    }

    .service-map-locator-button {
        flex: 1 1 100%;
    }

    .service-map-canvas-wrap,
    .service-map-canvas {
        min-height: 440px;
        height: 440px;
    }
}

@media (max-width: 520px) {
    .service-map-hero {
        padding: 40px 0 34px;
    }

    .service-map-steps {
        grid-template-columns: 1fr;
    }

    .service-map-workspace {
        padding-top: 24px;
    }

    .service-map-app {
        width: min(100% - 20px, 1180px);
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-map-spinner {
        animation-duration: 1.8s;
    }
}
