.service-areas-map {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    overflow: hidden;
}

/* Map frame holds map + hint overlay */
.service-areas-map__frame {
    position: relative;
}

#service-areas-map {
    width: 100%;
    height: 560px;
}

.lpg-service-areas .leaflet-container {
    z-index: 0;
}

.lpg-service-areas .leaflet-control-container,
.lpg-service-areas .leaflet-top,
.lpg-service-areas .leaflet-bottom,
.lpg-service-areas .leaflet-control {
    z-index: 400;
}

/* Legend */
.map-legend {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.02);
}

.map-legend__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.map-legend__swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(31, 143, 58, 0.9);
    background: rgba(31, 143, 58, 0.2);
    flex: 0 0 auto;
}

.map-legend__text {
    font-size: 0.98rem;
}

.map-legend__note {
    margin: 0.5rem 0 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Hint overlay for mobile/touch */
.service-areas-map__hint {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.service-areas-map__hint.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Areas SEO pages */
.lpg-service-areas {
    --lpg-green-900: #0a5a41;
    --lpg-green-700: #0b6a49;
    --lpg-green-600: #1fa55a;
    --lpg-green-200: #dff2e8;
    --lpg-ink: #16212b;
    --lpg-muted: #66707a;
    --lpg-shadow: 0 18px 40px rgba(4, 60, 45, 0.16);
    padding: 0;
}

.lpg-service-areas__hero {
    background: #0a5a41;
    color: #fff;
    padding: 40px 0;
}

body.page-template-page-service-areas-php .site-main,
body.page-template-page-service-area-cluster-php .site-main {
    padding: 0 !important;
}

body.page-template-page-service-areas-php #primary,
body.page-template-page-service-area-cluster-php #primary {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 0;
}

body.page-template-page-service-areas-php .lpg-service-areas__hero,
body.page-template-page-service-area-cluster-php .lpg-service-areas__hero {
    margin-top: 0;
}

.lpg-service-areas__hero h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3vw, 40px);
}

.lpg-service-areas__hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 60ch;
}

.lpg-service-areas__content {
    padding: 40px 0 60px;
}

.lpg-service-areas__intro {
    margin-bottom: 24px;
}

.lpg-service-areas__clusters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.lpg-service-areas__cluster-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--lpg-shadow);
    text-decoration: none;
    color: var(--lpg-ink);
}

.lpg-service-areas__cluster-card span {
    color: var(--lpg-muted);
    font-size: 13px;
}

.lpg-service-areas__all {
    margin-top: 32px;
}

.lpg-service-areas__all h2 {
    margin-bottom: 16px;
}

.lpg-service-areas__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 14px;
}

.lpg-service-areas__list span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f7f4;
    color: var(--lpg-ink);
    font-size: 13px;
}

.lpg-service-areas__panel {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--lpg-shadow);
    margin-bottom: 20px;
}

.lpg-service-areas__panel h2 {
    margin: 0 0 12px;
}

.lpg-service-areas__bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--lpg-muted);
}

.lpg-service-areas__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lpg-service-areas__btn {
    background: var(--lpg-green-700);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lpg-service-areas__btn--ghost {
    background: #fff;
    color: var(--lpg-green-700);
    border: 1px solid var(--lpg-green-700);
}

.lpg-service-areas__back {
    text-align: center;
}

.lpg-service-areas__back a {
    color: var(--lpg-green-700);
    text-decoration: none;
    font-weight: 700;
}

/* FAQ (shared with about) */
.lpg-faq {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lpg-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 0;
}

.lpg-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    gap: 12px;
}

.lpg-faq__summary::-webkit-details-marker {
    display: none;
}

.lpg-faq__question {
    font-weight: 700;
}

.lpg-faq__icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--lpg-green-600);
    position: relative;
    flex: 0 0 auto;
}

.lpg-faq__icon::before,
.lpg-faq__icon::after {
    content: '';
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lpg-faq__icon::before {
    width: 12px;
    height: 2px;
}

.lpg-faq__icon::after {
    width: 2px;
    height: 12px;
}

.lpg-faq__item[open] .lpg-faq__icon::after {
    display: none;
}

.lpg-faq__answer {
    margin-top: 0;
    color: var(--lpg-muted);
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 240ms ease, opacity 200ms ease;
}

.lpg-faq__item[open] .lpg-faq__answer {
    max-height: 600px;
    opacity: 1;
    margin-top: 12px;
}
