/* -- Location / service round 2 (map, safety, thank-you) -- */

/* Area map */
.dc-map__grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.dc-map__regions {
    margin-top: 28px;
}

.dc-map__card {
    padding: 14px;
    background: var(--dc-map__card);
}

.dc-map {
    position: relative;
    width: 100%;
}

.dc-map svg {
    display: block;
    width: 100%;
    height: auto;
}

.dc-map svg path {
    fill: var(--dc-map-fill);
    stroke: var(--dc-map-line);
    stroke-width: 1.2px;
}

.dc-map__pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: var(--dc-circle);
    background: var(--dc-red);
    border: 3px solid var(--dc-white);
    box-shadow: var(--dc-shadow-pin);
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 2;
}

.dc-map__pin .dc-map__tip {
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dc-navy);
    color: var(--dc-white);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: var(--dc-r-xs);
    white-space: nowrap;
    display: none;
}

.dc-map__pin:hover .dc-map__tip {
    display: block;
}

.dc-map__pin:hover {
    background: var(--dc-navy);
}

.dc-map__detail {
    display: none;
}

.dc-map__area {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--dc-red);
}

.dc-map__area-title {
    font-family: var(--dc-font-head);
    font-size: 30px;
    font-weight: 400;
    margin: 6px 0 16px;
}

.dc-region + .dc-region {
    margin-top: 22px;
}

.dc-region__heading {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 10px;
}

.dc-map__note {
    font-size: 14px;
    color: var(--dc-muted);
    margin-top: 24px;
}

/* Safety cards (emergency) */
.dc-safety-card--alert {
    border: 2px solid var(--dc-red);
}

.dc-safety-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.dc-safety-card p {
    color: var(--dc-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.dc-safety-card .dc-btn {
    margin-top: 8px;
}

.dc-gas-num {
    font-family: var(--dc-font-head);
    font-size: 32px;
    color: var(--dc-red);
}

/* Problems grid (base lives in the shared grids; responsive below) */
/* Service choice cards (install+repair page) */
.dc-choice img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.dc-choice__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.dc-choice__links {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
}

/* Thank you */
.dc-done-badge {
    width: 84px;
    height: 84px;
    border-radius: var(--dc-circle);
    background: var(--dc-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.dc-done-card {
    max-width: 560px;
    margin: 24px auto 0;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: left;
}

.dc-done-card div span {
    display: block;
    font-size: 13px;
    color: var(--dc-muted);
}

.dc-done-card div b {
    font-size: 16px;
}

/* Round-2 responsive */
@media (max-width: 1024px) {
    .dc-map__grid {
        grid-template-columns: 1fr;
    }

    .dc-map__card {
        max-width: 480px;
    }
}

@media (max-width: 820px) {
    .dc-choice__grid,
    .dc-safety {
        grid-template-columns: 1fr;
    }

    .dc-done-card {
        grid-template-columns: 1fr;
    }
}
