﻿/* Same heading font as hero (Dahlia Medium) */
@font-face {
    font-family: "Dahlia";
    src: url("../fonts/Dahlia-Medium.woff2") format("woff2"),
         url("../fonts/Dahlia-Medium.woff") format("woff"),
         url("../fonts/Dahlia-Medium.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rework Display";
    src: url("../fonts/ReworkDisplay-Bold.woff2") format("woff2"),
         url("../fonts/ReworkDisplay-Bold.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #E3DACB;
    --black: #000000;
    --white: #FFFFFF;
    --base: #FFFFFF;
    /* Exact stack used by hero .font-heading */
    --font-heading: "Dahlia", "Rework Display", Georgia, serif;
    --header-height: 4.25rem;
}

@media (min-width: 640px) {
    :root { --header-height: 4.5rem; }
}

@media (min-width: 768px) {
    :root { --header-height: 5rem; }
}

@media (min-width: 1280px) {
    :root { --header-height: 5.5rem; }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

/* Force hero heading font on every heading */
.hero-heading,
.hero-section h1,
h1, h2, h3, h4, h5, h6,
.font-heading,
.section-title,
.exp-num,
.todo-index-num,
.todo-index-main h3,
.map-col-num,
.fact-pill-value,
.query-offcanvas-title,
.stay-card-body h3,
.visa-panel h2,
.visa-panel h3,
#mobileMenuTitle {
    font-family: "Dahlia", "Rework Display", Georgia, serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
}

/* -- Layout helpers -- */
.section-pad { padding: 2.5rem 0; }
@media (min-width: 768px) { .section-pad { padding: 3.25rem 0; } }

/* Anchor targets sit exactly under fixed header */
section[id],
.scroll-mt-28,
.scroll-mt-header {
    scroll-margin-top: var(--header-height) !important;
}

.section-lagoon {
    background: linear-gradient(165deg, #FFFFFF 0%, #E3DACB 45%, #FFFFFF 100%);
    color: var(--black);
}

.section-intro { text-align: left; }
.section-intro.text-center { text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
}

.eyebrow--light { color: rgba(0, 0, 0, 0.55); }

.section-title {
    margin-top: 0.6rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--black);
}

.title-rule {
    display: block;
    margin-top: 1rem;
    width: 4.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--black), var(--brand));
    border-radius: 999px;
}

.title-rule--light {
    background: linear-gradient(90deg, var(--black), var(--brand), transparent);
}

.title-rule.mx-auto { margin-left: auto; margin-right: auto; }

/* -- Buttons -- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    background: var(--brand);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.btn-primary--on-dark {
    background: var(--brand);
    color: var(--black);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 0.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(227, 218, 203, 0.45);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.link-chip {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--white);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.link-chip:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* -- Hero -- */
.hero-bg-fallback {
    background: linear-gradient(160deg, #000000 0%, #1a1a1a 45%, #E3DACB 100%);
}

.hero-section {
    height: 88svh;
    min-height: 32rem;
    max-height: 52rem;
}

@media (min-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100svh;
        max-height: none;
    }
}

.hero-section-media { pointer-events: none; }

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0 40c120 30 240-20 360-10s240 40 360 20 240-40 360-20 240 40 360 20V80H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    animation: waveShift 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes waveShift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-2%); }
}

/* Header (fixed + responsive) */
.header-offset {
    height: var(--header-height);
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

/* Match page section container (w-[92%] max-w-6xl) */
.header-container {
    width: 92%;
    max-width: 72rem; /* max-w-6xl ? same as sections below */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0px);
}

.site-header .header-bar,
.site-header .header-inner,
.site-header .header-logo {
    transition: padding 0.3s ease, height 0.3s ease, max-width 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.site-header .header-bar {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
        linear-gradient(105deg, #EFE8DD 0%, var(--brand) 42%, #D9CFC0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.45);
}

.site-header .header-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--black) 20%, var(--black) 80%, transparent 100%);
    opacity: 0.18;
    pointer-events: none;
}

.site-header.is-scrolled .header-bar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(227, 218, 203, 0.96) 100%);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header.is-scrolled .header-bar::after {
    opacity: 0.28;
}

.site-header.is-scrolled .header-inner {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

@media (min-width: 1024px) {
    .site-header.is-scrolled .header-inner {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

.site-header.is-scrolled .header-logo {
    height: 2.75rem;
    max-width: 10rem;
}

@media (min-width: 768px) {
    .site-header.is-scrolled .header-logo {
        height: 3.25rem;
        max-width: 12rem;
    }
}

@media (min-width: 1280px) {
    .site-header.is-scrolled .header-logo {
        height: 3.5rem;
        max-width: 13.5rem;
    }
}

.header-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-logo-link:hover .header-logo-frame {
    transform: translateY(-1px) scale(1.02);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.site-header .header-nav .header-link,
.site-header .header-nav .dropdown-content a {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--black);
}

.site-header .header-nav > a.header-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--black);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.site-header .header-nav > a.header-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

.site-header .header-nav > a.header-link:hover::after,
.site-header .header-nav > a.header-link.is-active::after {
    width: calc(100% - 1.5rem);
}

.site-header .header-nav > a.header-link.is-active,
.site-header .header-nav > a.is-active:not(.header-cta-query) {
    color: var(--black);
    background: rgba(0, 0, 0, 0.08);
}

.site-header .header-hamburger {
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: var(--black);
    color: var(--brand);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-header .header-hamburger:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-1px);
}

.site-header .header-nav > a.header-cta-query {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: var(--black);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease;
}

@media (min-width: 1536px) {
    .site-header .header-nav > a.header-cta-query {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.site-header .header-nav > a.header-cta-query:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown-content:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.site-header .header-bar,
.site-header .header-inner {
    overflow: visible;
}

/* Mobile / tablet: hamburger only */
@media (max-width: 1023.98px) {
    .site-header .header-nav {
        display: none !important;
    }

    .site-header .header-hamburger,
    #mobileMenuBtn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 30;
    }

    #mobileMenu.mobile-menu-overlay {
        display: block;
    }
}

/* Desktop: full nav, no hamburger */
@media (min-width: 1024px) {
    .site-header .header-hamburger,
    #mobileMenuBtn {
        display: none !important;
    }

    #mobileMenu.mobile-menu-overlay {
        display: none !important;
    }
}

/* -- Reveal -- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -- Quick Facts -- */
.section-pad--tight {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-pad--tight {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

.quick-facts {
    background: #FFFFFF;
}

.quick-facts-intro {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .quick-facts-intro {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2.5rem;
    }
}

.quick-facts-intro .section-intro {
    flex: 1 1 auto;
    min-width: 0;
}

.quick-facts-lead {
    margin: 0;
    flex: 1 1 18rem;
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.72);
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .quick-facts-lead {
        text-align: right;
        font-size: 1.05rem;
        padding-bottom: 0.15rem;
        margin-left: auto;
    }
}

.facts-strip {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .facts-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .facts-strip {
        grid-template-columns: repeat(12, 1fr);
        gap: 0.85rem;
    }

    /* Row 1: 4 equal cards */
    .facts-strip > .fact-pill {
        grid-column: span 3;
    }

    /* Row 2: 3 equal cards on the same line */
    .facts-strip > .fact-pill--wide {
        grid-column: span 4;
    }
}

.fact-pill {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    min-height: 5.5rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fact-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.fact-pill:hover .fact-icon {
    background: var(--black);
    color: var(--brand);
}

.fact-pill-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.2rem;
    overflow: visible;
    padding-top: 0.1rem;
}

.fact-pill-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.fact-pill-value {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    line-height: 1.2;
    color: var(--black);
}

.fact-pill-sub {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.62);
}

.fact-pill-sub--lead {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72);
}

/* Animated fact icons */
.fact-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    background: rgba(227, 218, 203, 0.65);
    color: var(--black);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.fact-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.fact-icon--float {
    animation: factFloat 3.2s ease-in-out infinite;
}

.fact-icon--pulse {
    animation: factPulse 2.4s ease-in-out infinite;
}

.fact-icon--wave {
    animation: factWave 2.8s ease-in-out infinite;
}

.fact-icon--spin {
    animation: factSpin 8s linear infinite;
}

.fact-icon--bounce {
    animation: factBounce 2.2s ease-in-out infinite;
}

@keyframes factFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes factPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 218, 203, 0.5); }
    50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(227, 218, 203, 0); }
}

@keyframes factWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

@keyframes factSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes factBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
    .fact-pill:hover {
        transform: none;
    }

    .fact-icon--float,
    .fact-icon--pulse,
    .fact-icon--wave,
    .fact-icon--spin,
    .fact-icon--bounce {
        animation: none;
    }
}

/* -- Explore the Map -- */
.map-columns {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .map-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.map-col {
    position: relative;
    padding: 1.35rem 0 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .map-col {
        padding: 1.5rem 1.35rem 1.6rem;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .map-col:first-child {
        padding-left: 0;
    }

    .map-col:last-child {
        padding-right: 0;
        border-right: none;
    }
}

.map-col:last-child {
    border-bottom: none;
}

.map-col-num {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--brand);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
}

.map-atoll {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.4rem;
}

.travel-col .travel-icon {
    display: inline-flex;
}

.travel-col:hover .travel-icon {
    background: var(--black);
    color: var(--brand);
}

.visa-panel .visa-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 1rem;
}

.visa-panel .visa-item .visa-icon {
    display: inline-flex !important;
    flex: 0 0 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    margin-top: 0.15rem;
    border-radius: 0.75rem;
    background: var(--brand);
    color: var(--black);
}

.visa-panel .visa-item-body {
    min-width: 0;
    flex: 1 1 auto;
}

.visa-panel .visa-item:hover .visa-icon {
    background: var(--brand);
    color: var(--black);
    filter: brightness(0.95);
}

/* -- Visa -- */
.visa-panel {
    border-radius: 1.75rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(227, 218, 203, 0.18), transparent 40%),
        linear-gradient(135deg, var(--black), #1a1a1a);
}

.visa-panel-inner { padding: 2rem 1.5rem; }
@media (min-width: 768px) { .visa-panel-inner { padding: 2.75rem 2.5rem; } }

/* -- Things to Do -- */
.things-to-do {
    background: var(--white);
}

.todo-index {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.todo-index-row {
    display: grid;
    gap: 0.75rem 1.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    transition: background 0.25s ease;
}

@media (min-width: 768px) {
    .todo-index-row {
        grid-template-columns: 4.5rem minmax(0, 0.95fr) minmax(0, 1.15fr);
        gap: 1.5rem 2rem;
        align-items: start;
        padding: 1.6rem 0.35rem;
    }

    .todo-index-row:hover {
        background: rgba(227, 218, 203, 0.28);
    }
}

.todo-index-num {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.25px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.02em;
    transition: -webkit-text-stroke-color 0.25s ease, color 0.25s ease;
}

.todo-index-row:hover .todo-index-num {
    color: var(--brand);
    -webkit-text-stroke-color: var(--black);
}

.todo-index-main {
    min-width: 0;
}

.todo-index-label {
    margin: 0 0 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.todo-index-main h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.2;
    color: var(--black);
}

.todo-index-side {
    min-width: 0;
}

.todo-index-side > p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

.todo-index-best {
    margin-top: 0.7rem !important;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.84rem;
    color: rgba(0, 0, 0, 0.78);
}

.todo-index-best strong {
    color: var(--black);
}

.todo-index-row--last {
    border-bottom-color: rgba(0, 0, 0, 0.18);
}

/* -- Where to Stay slider -- */
.where-to-stay {
    background: var(--white);
}

.stay-slider-wrap {
    position: relative;
}

.stay-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.stay-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: var(--white);
    color: var(--black);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.stay-slider-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

.stay-slider-btn:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--brand);
}

.stay-slider-btn.slick-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.stay-slider {
    margin: 0;
}

.stay-slider .slick-list {
    padding: 0.25rem 0 1rem;
    margin: 0 -12px;
}

.stay-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.stay-slider .slick-slide {
    height: auto;
    float: none !important;
    box-sizing: border-box !important;
}

.stay-slider .slick-slide > div,
.stay-slide {
    height: 100%;
}

/* Gap BETWEEN cards (outside the card, not around the image) */
.stay-slide {
    padding: 0 12px;
    box-sizing: border-box;
}

.stay-card {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--white);
    border: none !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Image flush to card edges - no inner padding */
.stay-card-media {
    position: relative;
    display: block;
    width: 100% !important;
    height: 13.5rem;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #111;
    line-height: 0;
    font-size: 0;
}

.stay-card-media img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform 0.7s ease;
}

.stay-card:hover .stay-card-media img {
    transform: scale(1.04);
}

.stay-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.15rem 1.15rem 1.35rem;
    margin: 0;
}

.stay-card-label {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.stay-card-body h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.2;
    color: var(--black);
}

.stay-card-copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stay-card-ideal {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.78);
}

.stay-card-ideal strong {
    color: var(--black);
}

.stay-card-cta {
    display: inline-flex !important;
    margin-top: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center;
    padding: 0.7rem 1.25rem;
    font-size: 0.82rem;
}

.stay-slider .slick-dots {
    bottom: -1.5rem;
}

.stay-slider .slick-dots li button:before {
    font-size: 0.55rem;
    color: var(--black);
    opacity: 0.28;
}

.stay-slider .slick-dots li.slick-active button:before {
    color: var(--black);
    opacity: 1;
}

/* -- Resources -- */
.resource-line {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--black);
    font-size: 0.95rem;
}

.resource-line:first-child { border-top: 1px solid rgba(0, 0, 0, 0.12); }

/* -- FAQ flush accordion -- */
#faqAccordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.faq-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--black);
    background: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
    display: none;
    content: "";
}

.faq-item summary:hover,
.faq-item[open] summary {
    background: none;
}

.faq-item summary span {
    flex: 1;
    min-width: 0;
}

.faq-chevron {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--black);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-answer {
    margin: 0;
    padding: 0 1.75rem 1rem 0;
    border: 0;
    background: none;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* -- Mobile menu -- */
.mobile-menu-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-panel {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.is-open .mobile-menu-panel {
    transform: translateX(0);
}

#mobileMenu nav a.mobile-menu-link {
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background 0.2s ease;
}

#mobileMenu nav a.mobile-menu-link:hover {
    background: rgba(227, 218, 203, 0.55);
}

/* -- Scroll to top -- */
.scroll-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 88;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    border: none;
    background: var(--black);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--black);
}

/* -- Query offcanvas -- */
.query-tab-trigger {
    position: fixed;
    left: 0;
    top: 34%;
    z-index: 90;
    display: none;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0.6rem;
    border-radius: 0 0.75rem 0.75rem 0;
    border: none;
    background: var(--black);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.query-tab-trigger:hover { filter: brightness(1.08); transform: translateX(2px); }

@media (min-width: 1024px) {
    .query-tab-trigger { display: flex; }
}

.query-offcanvas-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.query-offcanvas-panel {
    position: absolute;
    inset-block: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-width: 28rem;
    flex-direction: column;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.25);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .query-offcanvas-panel { max-width: 32rem; }
}

#queryOffcanvas.query-offcanvas--open .query-offcanvas-backdrop { opacity: 1; }
#queryOffcanvas.query-offcanvas--open .query-offcanvas-panel { transform: translate3d(0, 0, 0); }

.query-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.35rem 1.35rem 1.15rem;
    background: var(--black);
    color: #fff;
}

.query-offcanvas-eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
}

.query-offcanvas-title {
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #fff;
}

.query-offcanvas-lead {
    margin-top: 0.55rem;
    max-width: 18rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.query-offcanvas-close {
    display: inline-flex;
    height: 2.4rem;
    width: 2.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.query-offcanvas-close:hover {
    background: rgba(227, 218, 203, 0.25);
}

.query-offcanvas-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.35rem;
}

.queryform { display: flex; flex-direction: column; gap: 1rem; }

.query-field-group { display: flex; flex-direction: column; gap: 0.35rem; }

.query-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
}

.query-field {
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    color: var(--black);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.query-field:focus {
    border-color: var(--black);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 218, 203, 0.7);
}

.query-field--textarea { resize: vertical; min-height: 6.5rem; }

.query-alert {
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.query-alert.hidden { display: none; }

.query-alert--error {
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: #fef2f2;
    color: #991b1b;
}

.query-alert--success {
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #f4efe7, var(--brand));
    color: var(--black);
}

.query-captcha-host {
    min-height: 78px;
    border-radius: 0.75rem;
    border: 1px dashed rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.65);
    padding: 0.5rem;
    overflow-x: auto;
}

.query-submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    border-radius: 9999px;
    background: var(--black);
    padding: 0.85rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.query-submit-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-wave { animation: none; }
    .stay-card:hover { transform: none; }
    .stay-card:hover .stay-card-media img { transform: none !important; }
    .btn-primary:hover,
    .query-submit-btn:hover { transform: none; }
}
