:root {
    --ocean-deep: #0e2a3a;
    --ocean-deep-2: #142f3d;
    --sand: #e4d6b8;
    --sand-light: #f1e9d6;
    --mangue: #345a44;
    --mangue-dark: #24402f;
    --sunset: #f2a65a;
    --ink: #142127;
    --whats: #25d366;
    --whats-dark: #1da851;

    --font-display: "Fraunces", serif;
    --font-body: "Work Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--sand-light);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.55;
}

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

a { color: inherit; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--whats {
    background: var(--whats);
    color: #fff;
}
.btn--whats:hover { background: var(--whats-dark); }

.btn__icon { width: 1.1rem; height: 1.1rem; }

.btn--ghost {
    background: transparent;
    color: var(--sand-light);
    border: 1px solid rgba(241, 233, 214, 0.5);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}
.btn--ghost:hover { border-color: var(--sand-light); }

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

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: var(--sand-light);
}

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

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,42,58,0.55) 0%, rgba(14,42,58,0.35) 40%, rgba(14,42,58,0.85) 100%);
    z-index: 1;
}

.hero__nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem clamp(1.25rem, 5vw, 3.5rem) 0;
}

.hero__brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 8vh, 5rem);
    max-width: 46rem;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(3rem, 9vw, 6rem);
    line-height: 0.98;
    margin: 0 0 1.1rem;
}

.hero__tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    max-width: 30rem;
    margin: 0 0 1.75rem;
    color: var(--sand-light);
    opacity: 0.92;
}

/* ---------- Sections shared ---------- */

.section__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    margin: 0 0 1.5rem;
    color: var(--ocean-deep);
}

main > section {
    padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 6vw, 4rem);
}

/* ---------- Intro ---------- */

.intro { background: var(--sand-light); }

.intro__wrap {
    max-width: 42rem;
    margin: 0 auto;
    text-align: left;
}

.intro__lead {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    color: var(--ocean-deep);
    margin: 0 0 1.25rem;
}

.intro p:not(.intro__lead) {
    font-size: 1.05rem;
    color: var(--ink);
    opacity: 0.85;
}

.amenities { background: var(--sand-light); padding: 0 clamp(1.25rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); }
.amenities__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 42rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ocean-deep);
}
.amenities__list li { position: relative; padding-left: 1.1rem; }
.amenities__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--sunset);
}

.events { background: var(--mangue); color: var(--sand-light); text-align: left; }
.events .section__title { color: var(--sand-light); }
.events p { max-width: 34rem; margin-bottom: 1.75rem; opacity: 0.92; }

/* ---------- Divider (mangue wave) ---------- */

.divider {
    line-height: 0;
    background: var(--sand-light);
}
.divider svg { width: 100%; height: 44px; display: block; }
.divider path { fill: var(--ocean-deep); }
.divider--flip { transform: scaleY(-1); }

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

.rooms { background: var(--ocean-deep); color: var(--sand-light); }
.rooms .section__title { color: var(--sand-light); }

.rooms__gallery {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.rooms__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.rooms__figure--tall img { height: 100%; }

.rooms__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.rooms__figure:hover img { transform: scale(1.03); }

.rooms__note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--sand);
    opacity: 0.85;
    max-width: 34rem;
}

/* ---------- Tour ---------- */

.tour { background: var(--sand-light); }

.tour__main video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 4px;
    background: #000;
}

.tour__clip video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 4px;
    background: #000;
}

.tour__extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.tour__main video,
.tour__clip:not(.tour__clip--portrait) video {
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.tour__clip--portrait video {
    aspect-ratio: 9 / 16;
    object-fit: contain;
    max-width: 320px;
    margin: 0 auto;
}

.tour__clip { margin: 0; }

.tour__clip figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--ink);
    opacity: 0.7;
}

/* ---------- Location ---------- */

.location {
    background: var(--mangue-dark);
    color: var(--sand-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.location .section__title { color: var(--sand-light); }

.location__text p {
    font-size: 1.05rem;
    color: var(--sand);
    opacity: 0.9;
    margin-bottom: 1.75rem;
}

.location__map {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.location__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

.footer {
    background: var(--ocean-deep-2);
    color: var(--sand);
    padding: 2rem clamp(1.25rem, 6vw, 4rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: baseline;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer__brand { font-family: var(--font-display); font-size: 1.05rem; color: var(--sand-light); }
.footer__whats { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Floating WhatsApp button ---------- */

.fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: var(--whats);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 50;
    transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 1.7rem; height: 1.7rem; }

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

@media (max-width: 780px) {
    .rooms__gallery { grid-template-columns: 1fr; }
    .rooms__figure--tall img { height: auto; }
    .tour__extra { grid-template-columns: 1fr; }
    .location { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rooms__figure img { transition: none; }
    .btn, .fab { transition: none; }
}

/* ---------- Focus visibility ---------- */

a:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--sunset);
    outline-offset: 2px;
}
