/* Cookie notice, consent-gated map, and footer privacy links (all pages) */
.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    width: min(380px, calc(100% - 32px));
    padding: 20px 22px;
    border: 1px solid rgba(11, 37, 69, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(11, 37, 69, 0.18);
    font-family: "DM Sans", "Segoe UI", sans-serif;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner h2 {
    margin: 0 0 6px;
    color: #0b2545;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.cookie-banner p {
    margin: 0;
    color: #4e6680;
    font-size: 0.84rem;
    line-height: 1.55;
}

.cookie-banner a {
    color: #1a6ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.cookie-btn {
    flex: 1 1 0;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(11, 37, 69, 0.14);
    border-radius: 10px;
    background: #ffffff;
    color: #0b2545;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.cookie-btn:hover {
    border-color: rgba(26, 110, 216, 0.3);
    background: #e8f1fc;
}

.cookie-btn-primary {
    border-color: #1a6ed8;
    background: #1a6ed8;
    color: #ffffff;
}

.cookie-btn-primary:hover {
    border-color: #155fbf;
    background: #155fbf;
}

.cookie-btn[aria-pressed="true"] {
    box-shadow: 0 0 0 3px rgba(26, 110, 216, 0.22);
}

.footer-inline-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-inline-btn:hover {
    color: #ffffff;
}

/* Map placeholder shown until the visitor allows Google Maps */
.map-consent {
    flex: 1;
    min-height: inherit;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 30% 20%, rgba(26, 110, 216, 0.1), transparent 45%),
        linear-gradient(160deg, #f5f8fc, #e8f1fc);
    text-align: center;
}

.map-consent iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
    display: block;
}

.map-consent[data-loaded] {
    padding: 0;
    display: flex;
}

.map-consent-inner {
    max-width: 320px;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.map-consent-pin {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #1a6ed8;
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.12);
}

.map-consent-pin svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-consent strong {
    color: #0b2545;
    font-size: 1rem;
}

.map-consent p {
    margin: 0;
    color: #4e6680;
    font-size: 0.86rem;
    line-height: 1.5;
}

.map-consent-btn {
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #1a6ed8;
    border-radius: 10px;
    background: #1a6ed8;
    color: #ffffff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.map-consent-btn:hover {
    background: #155fbf;
}

.map-consent-note {
    font-size: 0.78rem !important;
}

.map-consent-note a {
    color: #1a6ed8;
    font-weight: 600;
}

@media (max-width: 680px) {
    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        padding: 18px;
    }
}
