/* Service areas (home, contact and archives): a full-bleed alt band (soft terracotta tint by default). Copy, white pin chips and the "all areas"
 * link on the left; the rounded map on the right, centered against the copy. */
.ocf-service-areas { color: var(--ocf-body); }

.ocf-areas-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ocf-split-gap);
    align-items: center;
}

.ocf-service-areas--map .ocf-areas-grid { grid-template-columns: minmax(0, 608fr) minmax(0, 600fr); }

.ocf-areas-content .heading-2 { max-width: 560px; }

.ocf-areas-content > .ocf-areas-intro {
    max-width: 540px;
    margin: 28px 0;
    font-size: calc(var(--font-body-size) * 1.06);
}

.ocf-area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 480px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.ocf-area-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px 10px 16px;
    border-radius: var(--radius-full);
    background: var(--lisbon-card);
    color: var(--ocf-heading);
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: calc(var(--font-body-size) * 0.94);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.ocf-area-chips a:hover,
.ocf-area-chips a:focus-visible { background: var(--ocf-primary); color: var(--ocf-primary-contrast); }

.ocf-area-chips svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--ocf-primary);
    transition: color var(--duration) var(--ease);
}

.ocf-area-chips a:hover svg,
.ocf-area-chips a:focus-visible svg { color: currentColor; }

/* Map: rounded, with an alt-tinted placeholder until the embed has loaded. */
.ocf-areas-map {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 24px;
    background: color-mix(in srgb, var(--ocf-bg-alt) 70%, var(--ocf-border));
}

.ocf-areas-map[data-lisbon-map] iframe { opacity: 0; transition: opacity 400ms var(--ease); }
.ocf-areas-map.is-loaded iframe { opacity: 1; }

.ocf-areas-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1023px) {
    .ocf-service-areas--map .ocf-areas-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ocf-areas-map { height: 360px; }
}

@media (max-width: 639px) {
    .ocf-areas-map { height: 280px; border-radius: 20px; }
    .ocf-area-chips { gap: 8px; }
    .ocf-area-chips a { min-height: 40px; padding: 9px 14px 9px 12px; font-size: 15px; }
}

/* Dark mode: the panel and the cards share the dark alt surface, so chips step down to the page color. */
html[data-theme="dark"] .ocf-area-chips a { background: var(--ocf-bg); }
