.location-overview {
    background: linear-gradient(115deg, #fff 56%, #eef6ff 100%);
}

.location-panorama {
    margin: 0;
}

.location-panorama img {
    display: block;
    width: 100%;
    aspect-ratio: 2.05 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(6, 42, 89, .1);
}

.location-panorama img.location-panorama-bidassoa {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
}

.location-panorama figcaption {
    margin-top: 14px;
    color: #526984;
    font-size: 12px;
}

.location-map-section,
.location-plan-section,
.location-qr-section {
    scroll-margin-top: 130px;
}

.location-address-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 72px;
    align-items: start;
    padding: 48px;
    background: #fff;
    border: 1px solid #d5e2f1;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(6, 42, 89, .06);
}

.location-address-card address {
    font-style: normal;
    font-size: 16px;
    line-height: 1.8;
}

.location-address-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-address-details p {
    margin: 0;
}

.location-plan-media {
    width: min(100%, 520px);
    height: auto;
    justify-self: center;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d5e2f1;
    padding: 18px;
}

.location-advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.location-qr-section {
    background: linear-gradient(120deg, #fff, #edf6ff);
}

.location-qr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 72px;
    align-items: center;
}

.location-qr-card {
    display: block;
    padding: 22px;
    color: var(--deep);
    background: #fff;
    border: 1px solid #d5e2f1;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(6, 42, 89, .08);
    text-align: center;
    text-decoration: none;
}

.location-qr-card img {
    display: block;
    width: 100%;
    height: auto;
}

.location-qr-card span {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
}

.location-quick-grid a {
    font-weight: 800;
}

@media (max-width: 1050px) {
    .location-address-card,
    .location-qr-grid {
        gap: 40px;
    }

    .location-advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .location-address-card,
    .location-qr-grid {
        grid-template-columns: 1fr;
    }

    .location-address-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .location-qr-card {
        width: min(310px, 100%);
    }
}

@media (max-width: 640px) {
    .location-panorama img {
        aspect-ratio: 1.3 / 1;
    }

    .location-address-card {
        padding: 30px 24px;
    }

    .location-address-details,
    .location-advantages-grid {
        grid-template-columns: 1fr;
    }

    .location-qr-grid {
        gap: 30px;
    }
}

@media (min-width: 901px) {
    .location-map-section .location-map-media-grid {
        align-items: stretch;
    }

    .location-map-section .zone-map {
        min-height: 0;
        height: 100%;
        align-self: stretch;
    }
}
