/* ============================================================
   Yunara Resort Busuanga: brand stylesheet
   Palette: Deep Ocean #0B4F71 · Coastal #2E87A6 · Jade #0F7466
            Champagne Gold #C6A96B · Ivory #F6F2EB
   Type:    Cormorant Garamond (display) · Instrument Sans (body)
   ============================================================ */

:root {
    --ocean: #0B4F71;
    --ocean-deep: #073A54;
    --coastal: #2E87A6;
    --jade: #0F7466;
    --gold: #C6A96B;
    --gold-soft: #D9C39A;
    --ivory: #F6F2EB;
    --white: #FFFFFF;
    --ink: #1C2B33;
    --ink-soft: #4A5B64;
    --sunset: linear-gradient(90deg, #FFB21C, #FF6B35 30%, #F51D86 55%, #00C9D8 80%, #2445F5);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    --shadow-soft: 0 24px 60px -28px rgba(7, 58, 84, 0.35);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; overflow-x: clip; }

main section[id] { scroll-margin-top: 4.5rem; }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.eyebrow::before {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: var(--gold);
    flex: none;
}

.eyebrow--jade { color: var(--jade); }
.eyebrow--jade::before { background: var(--jade); }

.eyebrow--sunset {
    background: var(--sunset);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.eyebrow--sunset::before { background: #FF6B35; }

.heading-xl {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.12;
    color: var(--ocean);
    letter-spacing: 0.01em;
    margin-bottom: 1.4rem;
    text-wrap: balance;
}

.heading-xl--light { color: var(--ivory); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--ivory { background: var(--ivory); }

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__lede { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease);
}

.btn--gold {
    background: var(--gold);
    color: var(--ocean-deep);
    border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn--navy {
    background: var(--ocean);
    color: var(--white);
    border-color: var(--ocean);
}
.btn--navy:hover { background: var(--ocean-deep); transform: translateY(-2px); }

.link-gold {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ocean);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.35rem;
    transition: color 0.3s, border-color 0.3s, letter-spacing 0.35s var(--ease);
}
.link-gold:hover { color: var(--coastal); letter-spacing: 0.26em; }

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    padding: 1.1rem 0;
    transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s var(--ease);
}

.nav--solid {
    background: rgba(246, 242, 235, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -18px rgba(7, 58, 84, 0.35);
    padding: 0.55rem 0;
}

.nav__inner {
    width: min(1320px, 94vw);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-right: auto;
}

.nav__emblem {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 14px -4px rgba(7, 58, 84, 0.4);
}

.nav__wordmark { display: flex; flex-direction: column; line-height: 1.1; }

.nav__name {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--white);
    transition: color 0.4s;
}

.nav__sub {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--gold-soft);
    transition: color 0.4s;
}

.nav--solid .nav__name { color: var(--ocean); }
.nav--solid .nav__sub { color: var(--gold); }

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.nav__links a:hover { border-color: var(--gold); color: var(--white); }

.nav--solid .nav__links a { color: var(--ink-soft); }
.nav--solid .nav__links a:hover { color: var(--ocean); }

.nav__cta { padding: 0.75rem 1.5rem; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: background 0.4s, transform 0.3s;
}

.nav--solid .nav__burger span, .nav--open .nav__burger span { background: var(--ocean); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero__media, .hero__media img, .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero__video {
    opacity: 0;
    transition: opacity 1.2s ease 0.3s;
}

.hero__video.is-playing { opacity: 1; }

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 58, 84, 0.55) 0%, rgba(7, 58, 84, 0.18) 34%, rgba(7, 58, 84, 0.12) 62%, rgba(7, 58, 84, 0.62) 100%);
}

.hero__content {
    text-align: center;
    color: var(--white);
    padding: 7rem 6vw 5rem;
    max-width: 60rem;
}

.hero__eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1.6rem;
    animation: rise 1.1s var(--ease) 0.2s both;
}

.hero__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.9rem, 7.5vw, 5.6rem);
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-shadow: 0 18px 60px rgba(7, 58, 84, 0.55);
    animation: rise 1.1s var(--ease) 0.42s both;
}

.hero__lede {
    margin-top: 1.4rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.04em;
    animation: rise 1.1s var(--ease) 0.62s both;
}

.hero__actions {
    margin-top: 2.6rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: rise 1.1s var(--ease) 0.82s both;
}

.hero__bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding-bottom: 1.6rem;
}

.hero__scroll {
    width: max-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    animation: rise 1.1s var(--ease) 1.1s both;
}

.hero__scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(180deg, transparent, var(--gold-soft));
    animation: drip 2.4s ease-in-out infinite;
}

.hero__scroll-text {
    font-size: 0.62rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

/* ---- Cloudbeds inline booking bar (markup is written by the Cloudbeds script) ---- */
.hero__booking {
    width: min(100% - 2rem, 48rem);
    animation: rise 1.1s var(--ease) 1.25s both;
}
.hero__booking .CloudBedsWidget {
    background: rgba(7, 58, 84, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 1.4rem;
}
.hero__booking .widgetHotelsForm .horizontal-widget {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem 1.6rem;
}
.hero__booking .widgetHotelsForm .acessa_widget_block {
    display: flex !important;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0 !important;
}
.hero__booking .widgetHotelsForm .acessa_widget_block p {
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-soft);
    line-height: 1;
    margin: 0 !important;
    align-self: flex-start;
}
.hero__booking .widgetHotelsForm .acessa_widget_block .widgetHotelsInputText.date {
    float: none;
    width: 10rem;
    height: 2.8rem !important;
    box-sizing: border-box;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 2.8rem;
}
.hero__booking .widgetHotelsForm .horizontal-widget a.submit_link,
.hero__booking .CloudBedsWidget .widgetHotelsForm a.submit_link {
    position: static;
    top: auto;
    margin: 0;
    min-width: 0;
    max-width: none;
    height: 2.8rem;
    padding: 0 2.1rem;
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: var(--ocean-deep);
    border: 1px solid var(--gold);
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s var(--ease);
}
.hero__booking .CloudBedsWidget .widgetHotelsForm a.submit_link:hover {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
    color: var(--ocean-deep);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes drip {
    0%, 100% { transform: scaleY(0.55); transform-origin: top; opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Story ---------- */

.story__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.story__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 32rem; }

.story__facts {
    list-style: none;
    display: flex;
    gap: 2.4rem;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(198, 169, 107, 0.4);
    flex-wrap: wrap;
}

.story__facts li { display: flex; flex-direction: column; gap: 0.15rem; }

.story__facts strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ocean);
    letter-spacing: 0.02em;
}

.story__facts span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.story__media { position: relative; padding-bottom: 4.5rem; }

.story__img-main {
    box-shadow: var(--shadow-soft);
}

.story__img-main img { aspect-ratio: 16 / 10; object-fit: cover; }

.story__img-accent {
    position: absolute;
    right: -4%;
    bottom: 0;
    width: 52%;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-soft);
}

.story__img-accent img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Rooms ---------- */

.rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.4rem, 3vw, 2.4rem);
}

.room-card {
    background: var(--white);
    box-shadow: 0 18px 44px -26px rgba(7, 58, 84, 0.35);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.room-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -26px rgba(7, 58, 84, 0.45); }

.room-card__media { overflow: hidden; aspect-ratio: 4 / 3.4; }

.room-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.room-card:hover .room-card__media img { transform: scale(1.06); }

.room-card__body { padding: 1.7rem 1.8rem 2rem; }

.room-card__body h3 {
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

.room-card__body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.1rem; }

/* ---------- Dining ---------- */

.dine__aurora { background: var(--white); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.dine__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.dine__media { position: relative; padding-bottom: 4rem; }

.dine__media > img:first-child {
    aspect-ratio: 15 / 10;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.dine__media-accent {
    position: absolute;
    bottom: 0;
    left: -4%;
    width: 46%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-soft);
}

.dine__media-accent--right { left: auto; right: -4%; border-color: var(--ocean-deep); }

.dine__tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--jade);
    margin: -0.6rem 0 1.2rem;
}

.dine__text > p:not(.eyebrow):not(.dine__tag) { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 30rem; }

.dine__logo { display: block; height: auto; }
.dine__logo--aurora { width: min(21rem, 84%); margin: 0.5rem 0 1.2rem; }
.dine__logo--briza { width: min(13rem, 58%); margin: 0.3rem 0 1.1rem; }

.dine__briza {
    background:
        radial-gradient(120% 140% at 85% 0%, rgba(46, 135, 166, 0.25), transparent 50%),
        var(--ocean-deep);
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
    position: relative;
    overflow: hidden;
}

.dine__briza::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: var(--sunset);
}

.dine__amp {
    display: block;
    font-size: 0.5em;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-top: 0.4rem;
}

.dine__tag--light {
    background: var(--sunset);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dine__copy--light { color: rgba(246, 242, 235, 0.82); }

.dine__briza .link-gold { color: var(--ivory); }
.dine__briza .link-gold:hover { color: var(--gold-soft); }

/* ---------- Experiences ---------- */

.exp__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.6vw, 2rem);
}

.exp-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--ocean-deep);
}

.exp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease), opacity 0.6s;
}

.exp-card:hover img { transform: scale(1.07); }

.exp-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 4.5rem 1.6rem 1.6rem;
    background: linear-gradient(180deg, transparent, rgba(7, 58, 84, 0.88));
    color: var(--white);
}

.exp-card__overlay h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.exp-card__overlay p {
    font-size: 0.8rem;
    color: rgba(246, 242, 235, 0.85);
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
}

/* ---------- Gallery ---------- */

.gallery__masonry {
    columns: 3;
    column-gap: 1.2rem;
}

.gallery__item {
    display: block;
    width: 100%;
    margin-bottom: 1.2rem;
    border: 0;
    padding: 0;
    background: none;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery__item img {
    transition: transform 0.9s var(--ease), filter 0.5s;
}

.gallery__item:hover img { transform: scale(1.04); filter: brightness(1.06); }

/* ---------- Contact ---------- */

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.contact__info > p { color: var(--ink-soft); max-width: 28rem; }

.contact__list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1.3rem;
}

.contact__list li { display: grid; gap: 0.2rem; }

.contact__label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact__list a { color: var(--ocean); text-decoration: none; border-bottom: 1px solid rgba(198, 169, 107, 0.5); }
.contact__list a:hover { color: var(--coastal); }

.contact__form {
    background: var(--white);
    padding: clamp(1.6rem, 3.4vw, 2.6rem);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.1rem;
}

.form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1.1rem;
}

.contact__form label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.contact__form { min-width: 0; }
.form__row { min-width: 0; }

.contact__form input,
.contact__form textarea {
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(11, 79, 113, 0.22);
    background: var(--ivory);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    resize: vertical;
    width: 100%;
    min-width: 0;
}

.contact__form label { min-width: 0; }

.contact__form input:focus,
.contact__form textarea:focus {
    border-color: var(--coastal);
    box-shadow: 0 0 0 3px rgba(46, 135, 166, 0.18);
}

.form__note { font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Footer ---------- */

.footer { background: var(--ocean-deep); color: rgba(246, 242, 235, 0.85); }

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    align-items: start;
}

.footer__emblem {
    border-radius: 50%;
    background: var(--white);
    margin-bottom: 1rem;
}

.footer__name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ivory);
}

.footer__name span {
    display: block;
    font-family: var(--sans);
    font-size: 0.6rem;
    letter-spacing: 0.42em;
    color: var(--gold-soft);
    margin-top: 0.3rem;
}

.footer__tagline {
    margin-top: 0.9rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(246, 242, 235, 0.7);
}

.footer__links { display: grid; gap: 0.7rem; }

.footer__links a {
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(246, 242, 235, 0.75);
    transition: color 0.3s;
}

.footer__links a:hover { color: var(--gold-soft); }

.footer__meta { font-size: 0.9rem; display: grid; gap: 0.5rem; }
.footer__meta a { color: rgba(246, 242, 235, 0.85); text-decoration: none; }
.footer__meta a:hover { color: var(--gold-soft); }

.footer__bar {
    border-top: 1px solid rgba(246, 242, 235, 0.14);
    padding: 1.4rem 0;
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: rgba(246, 242, 235, 0.55);
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(7, 44, 63, 0.92);
    display: grid;
    place-items: center;
    padding: 4vmin;
    animation: fadeIn 0.3s ease;
}

.lightbox[hidden] { display: none; }

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}

.lightbox__close {
    position: absolute;
    top: 1.2rem;
    right: 1.6rem;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--ivory);
    background: none;
    border: 0;
    cursor: pointer;
    opacity: 0.8;
}

.lightbox__close:hover { opacity: 1; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal--delay { transition-delay: 0.15s; }
.reveal--delay2 { transition-delay: 0.3s; }

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__video { display: none; }
    .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__scroll, .hero__booking { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .nav__links { gap: 1.3rem; }
    .story__grid, .dine__grid, .contact__grid { grid-template-columns: 1fr; }
    .dine__grid--flip .dine__text { order: 2; }
    .dine__grid--flip .dine__media { order: 1; }
    .story__media { max-width: 34rem; }
    .gallery__masonry { columns: 2; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav__cta { display: none; }
    .nav__burger { display: flex; }

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(20rem, 82vw);
        background: var(--ivory);
        flex-direction: column;
        gap: 0;
        padding: 6.5rem 2.2rem 2rem;
        transform: translateX(105%);
        transition: transform 0.45s var(--ease);
        box-shadow: -30px 0 60px -30px rgba(7, 58, 84, 0.4);
    }

    .nav--open .nav__links { transform: none; }

    .nav__links a {
        color: var(--ocean) !important;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(11, 79, 113, 0.12);
        font-size: 0.9rem;
    }

    .nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
    .nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .rooms__grid, .exp__grid { grid-template-columns: 1fr; }
    .exp-card { aspect-ratio: 4 / 3; }
    .story__facts { gap: 1.6rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; text-align: center; }
    .hero__booking .CloudBedsWidget { padding: 1rem; }
    .hero__booking .widgetHotelsForm .horizontal-widget { gap: 0.8rem; }
    .hero__booking .widgetHotelsForm .acessa_widget_block { flex: 1 1 40%; }
    .hero__booking .widgetHotelsForm .acessa_widget_block .widgetHotelsInputText.date { width: 100%; }
    .hero__booking .CloudBedsWidget .widgetHotelsForm a.submit_link { width: 100%; justify-content: center; }

    .form__row { grid-template-columns: 1fr; }

    .story__media, .dine__media { padding-bottom: 0; }

    .story__img-accent, .dine__media-accent {
        position: static;
        width: 100%;
        border: 0;
        margin-top: 0.9rem;
    }
}
