/* =========================================================
   HOTEL MONARCA
   Archivo: assets/css/room.css
   Solo estilos exclusivos de room.html.
   Header, topbar, menú móvil, footer, WhatsApp y botones
   globales dependen de generales.css.
========================================================= */

.room-page-hero {
    position: relative;
    min-height: 700px;
    height: calc(100vh - var(--topbar-height) - var(--header-height));
    max-height: 900px;
    overflow: hidden;
    color: #fff;
    background: #26332e;
}

.room-page-hero__media,
.room-page-hero__overlay {
    position: absolute;
    inset: 0;
}

.room-page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
}

.room-page-hero__overlay {
    background:
        linear-gradient(90deg, rgba(24, 34, 30, .82) 0%, rgba(24, 34, 30, .45) 50%, rgba(24, 34, 30, .12) 100%),
        linear-gradient(0deg, rgba(24, 34, 30, .62) 0%, transparent 48%);
}

.room-page-hero__container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 82px;
}

.room-page-hero__meta {
    position: absolute;
    top: 34px;
    left: var(--container-padding);
    right: var(--container-padding);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .68);
}

.room-page-hero__copy {
    max-width: 890px;
}

.room-page-hero__eyebrow {
    margin: 0 0 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
    color: #e2cda8;
}

.room-page-hero h1 {
    margin: 0;
    max-width: 900px;
    font-family: "Playfair Display", serif;
    font-size: clamp(62px, 7.5vw, 116px);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.045em;
}

.room-page-hero h1 em {
    color: #e8d7ba;
    font-weight: 500;
}

.room-page-hero__copy > p:last-child {
    max-width: 555px;
    margin: 30px 0 0;
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .72);
}

.room-page-hero__discover {
    position: absolute;
    right: var(--container-padding);
    bottom: 84px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}

.room-page-hero__discover i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    transition: transform .3s ease, background .3s ease;
}

.room-page-hero__discover:hover i {
    transform: translateY(5px);
    background: rgba(255,255,255,.1);
}

/* INTRO */
.room-page-intro {
    padding: 92px 0 84px;
    background: #f0e7dc;
}

.room-page-intro__grid {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 360px;
    gap: 52px;
    align-items: start;
}

.room-page-intro__label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.room-page-intro__label span {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    color: #9eaa9f;
}

.room-page-intro__label strong {
    font-size: 9px;
    letter-spacing: .17em;
    color: #96784d;
}

.room-page-intro__title h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 5vw, 70px);
    line-height: .98;
    font-weight: 500;
    color: #26332e;
}

.room-page-intro__title h2 > span {
    display: block;
    color: #73897d;
}

.room-page-intro__text {
    padding-top: 12px;
}

.room-page-intro__text p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.9;
    color: #6c7771;
}

.room-page-intro__text small {
    display: block;
    padding-top: 18px;
    border-top: 1px solid rgba(38,51,46,.12);
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8a938e;
}

/* CATÁLOGO */
.room-page-catalog {
    padding: 94px 0 110px;
    background: #f8f6f1;
    overflow: hidden;
}

.room-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    min-height: 570px;
    margin-bottom: 72px;
    border: 1px solid rgba(38,51,46,.1);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 26px 75px rgba(40, 54, 48, .065);
}

.room-entry:last-child {
    margin-bottom: 0;
}

.room-entry--reverse {
    grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
}

.room-entry--reverse .room-entry__visual {
    order: 2;
}

.room-entry--reverse .room-entry__content {
    order: 1;
}

.room-entry__visual {
    position: relative;
    min-height: 570px;
    background: #dce4dc;
}

.room-entry__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.room-entry__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 29, 25, .5));
}

.room-entry__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.22,1,.36,1);
}

.room-entry:hover .room-entry__image img {
    transform: scale(1.045);
}

.room-entry__number {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 26px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    color: #fff;
    background: rgba(30,43,37,.22);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.room-entry__view {
    position: absolute;
    z-index: 2;
    left: 28px;
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.room-entry__view i {
    transition: transform .3s ease;
}

.room-entry__image:hover .room-entry__view i {
    transform: translateX(5px);
}

.room-entry__gallery {
    position: absolute;
    z-index: 3;
    right: 25px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 43px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 30px;
    color: #fff;
    background: rgba(28,39,34,.32);
    backdrop-filter: blur(10px);
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    cursor: pointer;
}

.room-entry__gallery strong {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #26332e;
    background: #ead8b8;
    font-size: 8px;
}

.room-entry__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 48px;
}

.room-entry__eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .2em;
    color: #a17e4d;
}

.room-entry__heading {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 22px;
    align-items: start;
}

.room-entry h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(39px, 3.7vw, 58px);
    line-height: .95;
    font-weight: 500;
    color: #26332e;
}

.room-entry h2 a {
    color: inherit;
}

.room-entry__price {
    text-align: right;
}

.room-entry__price small,
.room-entry__price span {
    display: block;
}

.room-entry__price small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #9aa29d;
}

.room-entry__price strong {
    display: block;
    margin: 5px 0 1px;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    color: #34443d;
}

.room-entry__price span {
    font-size: 9px;
    color: #7d8882;
}

.room-entry__text {
    max-width: 500px;
    margin: 28px 0 31px;
    font-size: 14px;
    line-height: 1.85;
    color: #727d77;
}

.room-entry__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 30px;
    border-top: 1px solid rgba(38,51,46,.11);
    border-bottom: 1px solid rgba(38,51,46,.11);
}

.room-entry__meta > div {
    padding: 20px 12px;
    border-right: 1px solid rgba(38,51,46,.11);
}

.room-entry__meta > div:first-child {
    padding-left: 0;
}

.room-entry__meta > div:last-child {
    border-right: 0;
}

.room-entry__meta i {
    display: block;
    margin-bottom: 11px;
    font-size: 15px;
    color: #81978b;
}

.room-entry__meta span {
    display: block;
    margin-bottom: 3px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #a0a7a3;
}

.room-entry__meta strong {
    font-size: 12px;
    color: #34443d;
}

.room-entry__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #34443d;
}

.room-entry__link i {
    transition: transform .3s ease;
}

.room-entry__link:hover i {
    transform: translateX(5px);
}

/* CIERRE */
.room-page-assist {
    padding: 95px 0;
    color: #f8f6f1;
    background:
        radial-gradient(circle at 88% 20%, rgba(223,231,223,.12), transparent 30%),
        #34443d;
}

.room-page-assist__grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 400px;
    gap: 80px;
    align-items: end;
}

.room-page-assist .section-kicker {
    color: #d8c39e;
}

.room-page-assist h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 5vw, 73px);
    line-height: .97;
    font-weight: 500;
    color: #fff;
}

.room-page-assist h2 > span {
    color: #d8c39e;
}

.room-page-assist__copy p {
    margin: 0 0 25px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.66);
}

/* REVEAL PROPIO */
.room-page-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.22,1,.36,1);
}

.room-page-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* MODAL */
.room-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 28px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.room-gallery-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.room-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24,33,29,.94);
    backdrop-filter: blur(13px);
}

.room-gallery-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    color: #fff;
}

.room-gallery-modal__top,
.room-gallery-modal__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-gallery-modal__top {
    margin-bottom: 17px;
}

.room-gallery-modal__top > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.room-gallery-modal__top span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    color: rgba(255,255,255,.48);
}

.room-gallery-modal__top strong {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 500;
}

.room-gallery-modal__top button {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.room-gallery-modal__stage {
    position: relative;
    height: min(70vh, 700px);
    overflow: hidden;
    border-radius: 20px;
    background: #17201c;
}

.room-gallery-modal__stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.room-gallery-modal__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(24,33,29,.42);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transform: translateY(-50%);
}

.room-gallery-modal__arrow--prev {
    left: 18px;
}

.room-gallery-modal__arrow--next {
    right: 18px;
}

.room-gallery-modal__bottom {
    min-height: 55px;
    font-size: 9px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.62);
}

.room-gallery-modal__dots {
    display: flex;
    gap: 7px;
}

.room-gallery-modal__dots button {
    width: 25px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.24);
    cursor: pointer;
}

.room-gallery-modal__dots button.is-active {
    background: #dfc79d;
}

body.room-gallery-open {
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .room-page-intro__grid {
        grid-template-columns: 100px 1fr;
    }

    .room-page-intro__text {
        grid-column: 2;
    }

    .room-entry,
    .room-entry--reverse {
        grid-template-columns: 1fr 1fr;
    }

    .room-entry__content {
        padding: 40px 32px;
    }

    .room-entry__heading {
        grid-template-columns: 1fr;
    }

    .room-entry__price {
        text-align: left;
    }
}

@media (max-width: 800px) {
    .room-page-hero {
        min-height: 650px;
        height: 78vh;
    }

    .room-page-hero__container {
        padding-bottom: 65px;
    }

    .room-page-hero__discover {
        display: none;
    }

    .room-page-intro {
        padding: 65px 0;
    }

    .room-page-intro__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .room-page-intro__text {
        grid-column: auto;
    }

    .room-page-catalog {
        padding: 65px 0 80px;
    }

    .room-entry,
    .room-entry--reverse {
        grid-template-columns: 1fr;
        min-height: 0;
        margin-bottom: 44px;
        border-radius: 22px;
    }

    .room-entry--reverse .room-entry__visual,
    .room-entry--reverse .room-entry__content {
        order: initial;
    }

    .room-entry__visual {
        min-height: 430px;
    }

    .room-entry__image {
        position: absolute;
    }

    .room-entry__heading {
        grid-template-columns: 1fr auto;
    }

    .room-entry__price {
        text-align: right;
    }

    .room-page-assist__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 560px) {
    .room-page-hero {
        min-height: 590px;
    }

    .room-page-hero__meta {
        top: 22px;
    }

    .room-page-hero h1 {
        font-size: clamp(50px, 15vw, 68px);
    }

    .room-page-hero__copy > p:last-child {
        font-size: 13px;
    }

    .room-page-intro__title h2 {
        font-size: 42px;
    }

    .room-entry__visual {
        min-height: 340px;
    }

    .room-entry__content {
        padding: 29px 20px 31px;
    }

    .room-entry__heading {
        grid-template-columns: 1fr;
    }

    .room-entry__price {
        text-align: left;
    }

    .room-entry h2 {
        font-size: 43px;
    }

    .room-entry__meta > div {
        padding: 17px 7px;
    }

    .room-entry__meta > div:first-child {
        padding-left: 0;
    }

    .room-entry__gallery {
        right: 17px;
        bottom: 17px;
    }

    .room-entry__view {
        left: 18px;
        bottom: 70px;
    }

    .room-page-assist {
        padding: 70px 0;
    }

    .room-page-assist h2 {
        font-size: 44px;
    }

    .room-gallery-modal {
        padding: 18px;
    }

    .room-gallery-modal__stage {
        height: 62vh;
        border-radius: 15px;
    }

    .room-gallery-modal__arrow {
        width: 44px;
        height: 44px;
    }

    .room-gallery-modal__arrow--prev {
        left: 10px;
    }

    .room-gallery-modal__arrow--next {
        right: 10px;
    }
}
