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

/*
|--------------------------------------------------------------------------
| Contact information block
|--------------------------------------------------------------------------
| No image expected for this component.
|--------------------------------------------------------------------------
*/

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

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

    padding: 104px 0 116px;

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

    overflow: hidden;
}

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

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

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

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

    transform: translateX(-50%);

    pointer-events: none;
}

/* ==========================================
   HEADER
========================================== */

.royal-contact-info__header {
    max-width: 780px;
    margin: 0 auto 64px;

    text-align: center;
}

.royal-contact-info__title {
    margin: 0;

    color: var(--royal-navy);

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

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

    width: 88px;
    height: 1px;
    margin: 24px auto 0;

    display: block;

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

.royal-contact-info__intro {
    max-width: 640px;
    margin: 28px auto 0;

    color: rgba(var(--royal-navy-rgb), 0.70);

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

/* ==========================================
   CONTACT CARDS GRID
========================================== */

.royal-contact-info__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* ==========================================
   CONTACT CARD
========================================== */

.royal-contact-card {
    position: relative;

    min-height: 280px;
    padding: 34px 28px 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

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

    box-shadow: 0 18px 48px rgba(var(--royal-navy-rgb), 0.05);

    overflow: hidden;

    transition:
        border-color var(--royal-transition),
        box-shadow var(--royal-transition),
        transform var(--royal-transition);
}

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

    position: absolute;
    inset: 12px;
    z-index: 0;

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

    pointer-events: none;
}

.royal-contact-card > * {
    position: relative;
    z-index: 1;
}

.royal-contact-card:hover {
    border-color: rgba(var(--royal-gold-rgb), 0.42);

    box-shadow: 0 24px 58px rgba(var(--royal-navy-rgb), 0.075);

    transform: translateY(-2px);
}

.royal-contact-card__number {
    margin: 0 0 38px;

    display: block;

    color: rgba(var(--royal-gold-rgb), 0.92);

    font-family: var(--royal-font-heading);
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.royal-contact-card__title {
    margin: 0;

    color: var(--royal-navy);

    font-family: var(--royal-font-heading);
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.08;
    text-transform: uppercase;
}

.royal-contact-card__text {
    margin: 18px 0 24px;

    color: rgba(var(--royal-navy-rgb), 0.68);

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

.royal-contact-card__link {
    color: var(--royal-gold);

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

    transition: color var(--royal-transition);
}

.royal-contact-card__link:hover,
.royal-contact-card__link:focus-visible {
    color: var(--royal-navy);
}

/* ==========================================
   OPENING HOURS PANEL
========================================== */

.royal-contact-hours {
    position: relative;

    margin-top: 48px;
    padding: 46px;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;

    align-items: center;

    color: var(--royal-white);
    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.16),
        0 0 0 10px rgba(var(--royal-white-rgb), 0.72);

    overflow: hidden;
}

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

    position: absolute;
    inset: 16px;
    z-index: 0;

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

    pointer-events: none;
}

.royal-contact-hours > * {
    position: relative;
    z-index: 1;
}

.royal-contact-hours__kicker {
    margin: 0 0 14px;

    color: var(--royal-gold);

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

.royal-contact-hours__title {
    margin: 0;

    color: var(--royal-white);

    font-family: var(--royal-font-heading);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.05;
    text-transform: uppercase;
}

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

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

    display: block;

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

.royal-contact-hours__text {
    max-width: 520px;
    margin: 26px 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.76;
}

.royal-contact-hours__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.royal-contact-hours__row {
    padding: 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

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

.royal-contact-hours__row span,
.royal-contact-hours__row strong {
    font-family: var(--royal-font-body);
    font-size: 12px;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.royal-contact-hours__row span {
    color: rgba(var(--royal-white-rgb), 0.72);
    font-weight: 700;
}

.royal-contact-hours__row strong {
    color: var(--royal-gold);
    font-weight: 800;
    text-align: right;
}

/* ==========================================
   ACTIONS
========================================== */

.royal-contact-info__actions {
    margin-top: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.royal-contact-info__actions .royal-btn {
    min-width: 158px;
}

/* Button variant used on light contact background */

.royal-btn--ghost-dark {
    color: var(--royal-navy);
    background: transparent;
    border-color: rgba(var(--royal-gold-rgb), 0.48);
}

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

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

@media (max-width: 1180px) {
    .royal-contact-info__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .royal-contact-card {
        min-height: 250px;
    }
}

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

    .royal-contact-info__header {
        margin-bottom: 54px;
    }

    .royal-contact-hours {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

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

    .royal-contact-info__header {
        margin-bottom: 42px;
    }

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

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

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

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

    .royal-contact-info__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .royal-contact-card {
        min-height: auto;
        padding: 30px 24px 28px;

        text-align: center;
    }

    .royal-contact-card__number {
        margin-bottom: 26px;

        font-size: 36px;
    }

    .royal-contact-card__title {
        font-size: 24px;
    }

    .royal-contact-card__text {
        margin: 16px 0 22px;
    }

    .royal-contact-hours {
        margin-top: 38px;
        padding: 34px 24px;

        text-align: center;

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

    .royal-contact-hours::before {
        inset: 14px;
    }

    .royal-contact-hours__title {
        font-size: clamp(30px, 8vw, 42px);
    }

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

    .royal-contact-hours__text {
        margin-inline: auto;

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

    .royal-contact-hours__row {
        flex-direction: column;
        justify-content: center;
        gap: 8px;

        text-align: center;
    }

    .royal-contact-hours__row strong {
        text-align: center;
    }

    .royal-contact-info__actions {
        margin-top: 42px;
        flex-direction: column;
    }

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

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

    .royal-contact-card {
        padding: 28px 20px 26px;
    }

    .royal-contact-hours {
        padding: 32px 20px;
    }
}