/* ==========================================
   L'OPERA ROYAL - CONTACT MAP
   Premium map section
   Navy background / White text / Gold accents
   No gradients / No black / No blur
========================================== */

/*
|--------------------------------------------------------------------------
| Google Map section
|--------------------------------------------------------------------------
| No image expected for this component.
|--------------------------------------------------------------------------
*/

/* ==========================================
   SECTION
========================================== */

.royal-contact-map {
    position: relative;
    isolation: isolate;

    padding: 104px 0 116px;

    color: var(--royal-white);
    background: var(--royal-navy);

    overflow: hidden;
}

.royal-contact-map::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;

    width: min(1180px, 92%);
    height: 1px;

    background: rgba(var(--royal-gold-rgb), 0.42);

    transform: translateX(-50%);

    pointer-events: none;
}

/* ==========================================
   GRID
========================================== */

.royal-contact-map__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(44px, 5vw, 68px);

    align-items: center;
}

/* ==========================================
   CONTENT
========================================== */

.royal-contact-map__content {
    position: relative;
    z-index: 2;
}

.royal-contact-map__title {
    margin: 0;

    color: var(--royal-white);

    font-family: var(--royal-font-heading);
    font-size: clamp(38px, 4.8vw, 70px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.06;
    text-transform: uppercase;

    text-shadow: none;
}

.royal-contact-map__title::after {
    content: "";

    width: 82px;
    height: 1px;
    margin: 24px 0 0;

    display: block;

    background: var(--royal-gold);
}

.royal-contact-map__text {
    max-width: 540px;
    margin: 28px 0 0;

    color: rgba(var(--royal-white-rgb), 0.80);

    font-family: var(--royal-font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.78;
}

/* ==========================================
   ADDRESS BOX
========================================== */

.royal-contact-map__address {
    position: relative;

    margin: 34px 0;
    padding: 24px 26px;

    background: rgba(var(--royal-white-rgb), 0.055);
    border: 1px solid rgba(var(--royal-gold-rgb), 0.30);

    box-shadow: none;
}

.royal-contact-map__address::before {
    content: "";

    position: absolute;
    inset: 10px;

    border: 1px solid rgba(var(--royal-white-rgb), 0.10);

    pointer-events: none;
}

.royal-contact-map__address span,
.royal-contact-map__address strong {
    position: relative;
    z-index: 1;
}

.royal-contact-map__address span {
    margin-bottom: 10px;

    display: block;

    color: var(--royal-gold);

    font-family: var(--royal-font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.20em;
    line-height: 1.2;
    text-transform: uppercase;
}

.royal-contact-map__address strong {
    display: block;

    color: rgba(var(--royal-white-rgb), 0.88);

    font-family: var(--royal-font-body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.72;
}

/* ==========================================
   BUTTON
========================================== */

.royal-contact-map .royal-btn {
    min-width: 168px;
}

/* ==========================================
   MAP FRAME
========================================== */

.royal-contact-map__frame-wrap {
    position: relative;

    min-height: 520px;

    background: var(--royal-navy);
    border: 1px solid rgba(var(--royal-gold-rgb), 0.34);

    box-shadow:
        0 26px 72px rgba(var(--royal-navy-rgb), 0.18),
        0 0 0 10px rgba(var(--royal-white-rgb), 0.06);

    overflow: hidden;
}

.royal-contact-map__frame-wrap::before {
    content: "";

    position: absolute;
    inset: 18px;
    z-index: 2;

    border: 1px solid rgba(var(--royal-white-rgb), 0.18);

    pointer-events: none;
}

.royal-contact-map__frame {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    filter: saturate(0.9) contrast(1.02);
}

/* ==========================================
   CONTACT MAP - BUTTON FIX
========================================== */

.royal-contact-map .royal-btn,
.royal-contact-map .royal-btn--transparent,
.royal-contact-map .royal-btn--ghost-dark {
    min-width: 168px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--royal-white) !important;
    background: transparent !important;
    border: 1px solid rgba(var(--royal-gold-rgb), 0.58) !important;

    font-family: var(--royal-font-body);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;

    box-shadow: none !important;
}

.royal-contact-map .royal-btn:hover,
.royal-contact-map .royal-btn:focus-visible,
.royal-contact-map .royal-btn--transparent:hover,
.royal-contact-map .royal-btn--transparent:focus-visible,
.royal-contact-map .royal-btn--ghost-dark:hover,
.royal-contact-map .royal-btn--ghost-dark:focus-visible {
    color: var(--royal-navy) !important;
    background: var(--royal-white) !important;
    border-color: var(--royal-white) !important;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1024px) {
    .royal-contact-map {
        padding: 90px 0 104px;
    }

    .royal-contact-map__grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .royal-contact-map__content {
        max-width: 760px;
        margin-inline: auto;

        text-align: center;
    }

    .royal-contact-map__title::after {
        margin-inline: auto;
    }

    .royal-contact-map__text {
        margin-inline: auto;
    }

    .royal-contact-map__frame-wrap {
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    .royal-contact-map {
        padding: 72px 0 86px;
    }

    .royal-contact-map__grid {
        gap: 42px;
    }

    .royal-contact-map__title {
        font-size: clamp(32px, 9vw, 46px);
        line-height: 1.1;
    }

    .royal-contact-map__title::after {
        width: 72px;
        margin-top: 22px;
    }

    .royal-contact-map__text {
        margin-top: 24px;

        font-size: 14px;
        line-height: 1.72;
    }

    .royal-contact-map__address {
        margin: 30px 0;
        padding: 22px 20px;
    }

    .royal-contact-map__frame-wrap {
        min-height: 380px;

        box-shadow:
            0 24px 58px rgba(var(--royal-navy-rgb), 0.16),
            0 0 0 8px rgba(var(--royal-white-rgb), 0.06);
    }

    .royal-contact-map__frame-wrap::before {
        inset: 12px;
    }

    .royal-contact-map .royal-btn {
        width: min(100%, 280px);
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .royal-contact-map {
        padding: 66px 0 78px;
    }

    .royal-contact-map__frame-wrap {
        min-height: 340px;
    }
}