/**
 * Footer — Ο.Π.Σ.Ε.
 * Pre-footer on cream, dark main footer in columns, charcoal credits bar.
 */
.site-footer { position: relative; color: #fff; }

/* ── Pre-footer: social + contact call ─────────────────────────────── */
.site-footer__pre {
    background: var(--opse-pale);
    color: var(--opse-ink);
    box-shadow: inset 0 3px 6px -3px rgba(0, 0, 0, 0.12);
}
.site-footer__pre-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(40px, 6vw, 64px);
    text-align: center;
}
.site-footer__pre-title { margin: 0; font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; color: var(--opse-ink); }
.site-footer__rule { width: min(400px, 80%); margin: 10px 0; border: 0; border-top: 1px solid #bcb1a6; }
.site-footer__cta { background: var(--opse-charcoal); min-width: 160px; }
@media (hover: hover) { .site-footer__cta:hover { background: var(--opse-red); } }

/* ── Main footer ───────────────────────────────────────────────────── */
.site-footer__main { background: var(--opse-charcoal); }
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 36px 40px;
    padding-top: clamp(44px, 5vw, 64px);
    padding-bottom: clamp(44px, 5vw, 64px);
}
.site-footer__navs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 1100px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .site-footer__brand { justify-items: center; text-align: center; }
}

.site-footer__brand { display: grid; justify-items: start; align-content: start; gap: 12px; }
.site-footer__badge-link { line-height: 0; border-radius: 50%; }
.site-footer__badge { width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.site-footer__name { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.35; text-wrap: balance; }

.site-footer__heading {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-footer__heading::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--opse-red); }

.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer__links a {
    display: block;
    padding: 5px 0;
    color: #e9e4de;
    font-size: 15.5px;
    line-height: 1.4;
    transition: color 0.2s ease;
}
@media (hover: hover) { .site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }

.site-footer__contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer__contact-list a { display: flex; align-items: flex-start; gap: 10px; color: #e9e4de; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }
.site-footer__contact-list .opse-icon { width: 20px; height: 20px; flex: none; color: #fff; margin-top: 1px; }
@media (hover: hover) { .site-footer__contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }

/* The map block was built for a full-width page section: no gutter, no padding here */
.site-footer__map .jm-map-section { margin-inline: 0; padding: 0; }
.site-footer__map .jm-map { aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; }
.site-footer__map .jm-map__link { margin: 8px 0 0; font-size: 14px; }
.site-footer__map .jm-map__link a { display: inline-flex; align-items: center; gap: 6px; color: #e9e4de; }

/* ── Credits ───────────────────────────────────────────────────────── */
.site-footer__credits { background: var(--opse-credits); color: #e8e8e8; font-size: 14px; }
.site-footer__credits-inner {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
    padding-top: 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.site-footer__credits p { margin: 0; }
.site-footer__credits a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
@media (hover: hover) { .site-footer__credits a:hover { text-decoration-color: #fff; } }
@media (max-width: 768px) {
    .site-footer__credits-inner { justify-content: center; text-align: center; }
}
