/* ==========================================================
   Rose Retreat Homestay - stylesheet (v3)
   Colours, fonts and corner shapes are set once in :root.
   Change them there to restyle the whole site.
   ========================================================== */

:root {
    /* Nature palette */
    --canopy: #0f3b2e;      /* deep rainforest green: dark panels, headings */
    --canopy-2: #174b3b;
    --leaf: #2a8452;        /* fresh leaf green: secondary buttons */
    --leaf-dark: #1f6b41;
    --paddy: #9ccc65;       /* young paddy green: highlights on dark */
    --mint: #e4f1df;        /* pale leaf: chips, soft backgrounds */
    --mist: #f4f9f2;        /* section background */
    --rose: #c93864;        /* rose: main buttons */
    --rose-dark: #a82b52;
    --sun: #f4b63f;         /* kasavu gold: small accents */
    --sun-tint: #fdf1d8;
    --water: #1f6e7a;       /* backwater teal */
    --water-tint: #e0eff0;
    --ink: #1d2b24;
    --muted: #56665e;
    --line: #d7e5d4;
    --white: #ffffff;

    --font-head: "Baloo Chettan 2", "Trebuchet MS", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Shapes */
    --round: 28px;
    --round-lg: 40px;
    --leaf-shape: 44px 12px 44px 12px;
    --arch: 999px 999px 28px 28px;

    --header-h: 72px;
    --wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--canopy);
    margin: 0 0 0.5em;
}
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
a { color: var(--leaf-dark); text-underline-offset: 3px; }
a:hover { color: var(--rose); }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.container { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

section { padding-block: clamp(4rem, 9vw, 7rem); }
.bg-mist { background: var(--mist); }

.section-head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.skip-link {
    position: fixed;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: var(--canopy);
    color: var(--white);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Small rounded labels: room details, services, etc. */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.chips li {
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    background: var(--mint);
    color: var(--canopy);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0.5rem 1.15rem; font-size: 0.95rem; }

.btn-rose { background: var(--rose); color: var(--white); box-shadow: 0 12px 26px -12px rgba(201, 56, 100, 0.75); }
.btn-rose:hover { background: var(--rose-dark); color: var(--white); }

.btn-leaf { background: var(--leaf); color: var(--white); box-shadow: 0 12px 26px -14px rgba(42, 132, 82, 0.9); }
.btn-leaf:hover { background: var(--leaf-dark); color: var(--white); }

.btn-line { border-color: var(--leaf); color: var(--leaf-dark); background: transparent; }
.btn-line:hover { background: var(--leaf); color: var(--white); }

.btn-glass { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    color: var(--white);
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.site-header.solid {
    background: rgba(255, 255, 255, 0.97);
    color: var(--canopy);
    box-shadow: 0 8px 28px -16px rgba(15, 59, 46, 0.45);
}
html:not(.js) .site-header { background: var(--canopy); }

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: inherit;
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.brand:hover { color: inherit; }
.brand img {
    width: 42px;
    height: 42px;
    padding: 4px;
    border-radius: 14px;
    background: var(--white);
    object-fit: contain;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav ul a {
    position: relative;
    padding: 0.3rem 0;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}
.site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    border-radius: 3px;
    background: var(--rose);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.site-nav ul a:hover { color: inherit; }
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 0.6rem; }
.nav-actions .phone-only { display: none; }

.menu-btn { display: none; }

@media (max-width: 1000px) {
    .menu-btn {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        min-height: 44px;
        padding: 0.45rem 1.05rem 0.45rem 0.9rem;
        border: 1.5px solid currentColor;
        border-radius: 999px;
        background: transparent;
        color: inherit;
        font-family: inherit;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
    }
    .menu-lines,
    .menu-lines::before,
    .menu-lines::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }
    .menu-lines { position: relative; transition: background-color 0.2s; }
    .menu-lines::before,
    .menu-lines::after {
        content: "";
        position: absolute;
        left: 0;
        transition: transform 0.25s ease;
    }
    .menu-lines::before { top: -6px; }
    .menu-lines::after { top: 6px; }
    .menu-open .menu-lines { background: transparent; }
    .menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

    /* Full-screen menu panel */
    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 2rem;
        padding: calc(var(--header-h) + 1.25rem) 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        background: var(--canopy);
        color: var(--white);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s;
    }
    .menu-open .site-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.3s, transform 0.3s;
    }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a {
        display: block;
        padding: 0.55rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        font-family: var(--font-head);
        font-size: clamp(1.7rem, 7vw, 2.2rem);
        font-weight: 700;
    }
    .site-nav ul a::after { display: none; }
    .nav-actions { display: grid; gap: 0.7rem; }
    .nav-actions .phone-only { display: inline-flex; }
    .nav-actions .btn { width: 100%; }

    .site-header.menu-open { background: transparent; color: var(--white); box-shadow: none; }
    html:not(.js) .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 2.5rem) 0 clamp(5rem, 9vw, 7.5rem);
    background: var(--canopy);
    color: var(--white);
    overflow: hidden;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 32, 24, 0.7) 0%, rgba(9, 32, 24, 0.25) 60%, rgba(9, 32, 24, 0.1) 100%),
        linear-gradient(180deg, rgba(9, 32, 24, 0.55) 0%, rgba(9, 32, 24, 0) 30%, rgba(9, 32, 24, 0.2) 60%, rgba(9, 32, 24, 0.8) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: end;
}
.hero-text > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--d, 0) * 1ms);
}
.hero-greet {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
    font-size: 0.95rem;
}
.hero-greet span {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--paddy);
}
.hero h1 {
    max-width: 18ch;
    margin-bottom: 1.1rem;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1;
}
.hero-lead {
    max-width: 50ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}
.hero-chips { margin: 1.4rem 0 1.75rem; }
.hero-chips li {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
}
.hero-curve {
    position: absolute;
    left: 0;
    bottom: -1px;
    z-index: 1;
    width: 100%;
    height: clamp(40px, 6vw, 96px);
    fill: var(--white);
}

/* Plan your stay card */
.plan {
    position: relative;
    padding: clamp(1.35rem, 2.5vw, 1.9rem);
    border-radius: 32px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.55);
    animation: rise 1s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.plan.done { animation: none; }
.plan.done.flash { animation: flash 1.4s ease; }
.plan h2 { font-size: 1.75rem; margin-bottom: 0.2rem; }
.plan-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.1rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.field { min-width: 0; }
.field { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--canopy); }
.field input,
.field select {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: var(--mist);
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231f6b41' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
}
.field input::-webkit-date-and-time-value { text-align: left; }
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--leaf);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(42, 132, 82, 0.18);
}
.check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.2rem 0 1.1rem;
    font-size: 0.95rem;
    cursor: pointer;
}
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--leaf); }
.check input:disabled { opacity: 1; cursor: not-allowed; }
.check-text { display: grid; gap: 0.1rem; color: var(--canopy); font-weight: 600; line-height: 1.35; }
.check-text small { color: var(--muted); font-size: 0.82rem; font-weight: 400; }

/* Rooms, extra beds and driver options */
.plan-options { display: grid; gap: 0.5rem; margin: 0.15rem 0 1rem; }
.plan-options .check {
    align-items: flex-start;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: var(--mist);
    transition: border-color 0.2s, background-color 0.2s;
}
.plan-options .check:has(input:checked),
.plan-options .check.on { border-color: var(--leaf); background: #ecf6e8; }
.plan-options .check.locked { position: relative; padding-right: 5.6rem; cursor: default; }
.plan-options .check.locked::after {
    content: "Required";
    position: absolute;
    top: 0.7rem;
    right: 0.75rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: var(--leaf);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
}
.plan-group {
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    background: var(--sun-tint);
    color: #6b4708;
    font-size: 0.9rem;
    font-weight: 500;
}
.field select:disabled {
    opacity: 1;
    color: var(--canopy);
    font-weight: 600;
    background-color: var(--mint);
    background-image: none;
    padding-right: 0.9rem;
    cursor: not-allowed;
}

/* Live price estimate */
.estimate {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem 0.8rem;
    border-radius: 18px;
    background: var(--canopy);
    color: var(--white);
}
.estimate-lines {
    display: grid;
    gap: 0.2rem;
    margin: 0 0 0.55rem;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}
.estimate-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.estimate-lines li span:last-child { white-space: nowrap; }
.estimate-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 600;
}
.estimate-total strong { color: var(--paddy); font-family: var(--font-head); font-size: 1.6rem; line-height: 1; }
.estimate-note { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.68); font-size: 0.76rem; line-height: 1.4; }
.plan .btn { width: 100%; }
.plan-error { margin: 0.6rem 0 0; color: var(--rose-dark); font-size: 0.9rem; font-weight: 600; }
.plan-error:empty { display: none; }
.plan-alt { margin: 0.85rem 0 0; text-align: center; font-size: 0.92rem; }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.about-text p { max-width: 60ch; color: var(--muted); }
.about-text .lead { color: var(--ink); font-size: 1.2rem; }
.signature {
    margin-top: 1.5rem;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--leaf-dark) !important;
}

.glance {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--leaf-shape);
    background: var(--canopy);
    color: rgba(255, 255, 255, 0.85);
}
.glance h3 { color: var(--white); margin-bottom: 1.25rem; }
.glance dl { position: relative; z-index: 1; margin: 0; }
.glance dl div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.glance dt { color: var(--paddy); font-weight: 600; }
.glance dd { margin: 0; color: var(--white); font-weight: 500; }
.glance-leaf {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 190px;
    height: 190px;
    color: var(--paddy);
    opacity: 0.12;
    pointer-events: none;
}

/* ---------- Rooms ---------- */
.rooms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.room {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--round);
    background: var(--white);
    box-shadow: 0 26px 50px -34px rgba(15, 59, 46, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -32px rgba(15, 59, 46, 0.55); }
.room-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.room h3 { margin-bottom: 0.3rem; }
.room-desc { color: var(--muted); }
.room .chips { margin-bottom: 1.5rem; }
.room-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: auto;
}
.price {
    margin: 0;
    color: var(--canopy);
    font-family: var(--font-head);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }

/* Room photo slider (built by main.js) */
.slider { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.slides {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
    flex: 0 0 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    scroll-snap-align: start;
    cursor: zoom-in;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-msg {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}
.tag {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 3;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--canopy);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.tag-sun { background: var(--sun); }
.tag-mint { background: var(--mint); }

.dots {
    position: absolute;
    left: 50%;
    bottom: 0.7rem;
    z-index: 3;
    display: flex;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(9, 32, 24, 0.35);
    transform: translateX(-50%);
}
.dot {
    display: grid;
    place-items: center;
    width: 20px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width 0.25s;
}
.dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.25s, background-color 0.25s;
}
.dot.active { width: 30px; }
.dot.active::before { width: 20px; background: var(--white); }

/* Round arrow buttons (sliders and photo viewer) */
.arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--canopy);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity 0.2s, color 0.2s;
}
.arrow:hover { color: var(--rose); }
.arrow.prev { left: 0.8rem; }
.arrow.next { right: 0.8rem; }
@media (hover: hover) {
    .slider .arrow { opacity: 0; }
    .slider:hover .arrow,
    .slider:focus-within .arrow { opacity: 1; }
}
@media (hover: none) {
    .slider .arrow { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { padding-block: clamp(1rem, 3vw, 2rem); }
.gallery-panel {
    margin-inline: clamp(0.5rem, 2vw, 1.5rem);
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    border-radius: var(--round-lg);
    background: var(--canopy);
    color: var(--white);
    overflow: hidden;
}
.gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.gallery-head h2 { color: var(--white); }
.gallery-head p { max-width: 54ch; margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; }
.gallery-tools { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gallery-msg { margin: 0; color: rgba(255, 255, 255, 0.75); }

.reel {
    --h: 280px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.reel + .reel { margin-top: 14px; }
.reel-b { --h: 210px; }
.reel.dragging { cursor: grabbing; }
.reel-track { position: relative; display: flex; width: max-content; will-change: transform; }
.reel-item {
    position: relative;
    flex: none;
    height: var(--h);
    aspect-ratio: var(--ar, 1.33);
    margin: 0 14px 0 0;
    padding: 0;
    border: 0;
    border-radius: 26px;
    overflow: hidden;
    background: var(--canopy-2);
    cursor: inherit;
}
.reel-item.leaf { border-radius: var(--leaf-shape); }
.reel-item.arch { border-radius: var(--arch); }
.reel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    transition: transform 0.6s ease;
}
@media (hover: hover) {
    .reel-item:hover img { transform: scale(1.06); }
}

/* ---------- Things to do ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.exp {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 32px;
    background: var(--mist);
}
.exp-img { aspect-ratio: 16 / 9; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.exp:hover .exp-img img { transform: scale(1.04); }
.exp-body { padding: 1.5rem 1.6rem 1.75rem; }
.exp-body p { color: var(--muted); }

.trips { margin-top: clamp(3.5rem, 7vw, 5rem); }
.trips-head { max-width: 640px; margin-bottom: 1.75rem; }
.trips-head p { color: var(--muted); margin: 0; }
.trip-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trip-group { padding: 1.6rem 1.6rem 1.5rem; border-radius: var(--round); }
.trip-group h4 { margin-bottom: 1rem; }
.trip-group ul { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.trip-group strong { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.trip-group span { color: var(--muted); font-size: 0.95rem; }
.trip-water { background: var(--water-tint); }
.trip-water h4, .trip-water strong { color: var(--water); }
.trip-hills { background: var(--mint); }
.trip-hills h4, .trip-hills strong { color: var(--leaf-dark); }
.trip-town { background: var(--sun-tint); }
.trip-town h4, .trip-town strong { color: #85570f; }
.trips-cta { margin: 1.75rem 0 0; font-weight: 600; }

/* ---------- Hosts ---------- */
.hosts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.host {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 1.75rem;
    border-radius: 32px;
    background: var(--white);
}
.host-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.host h3 { margin-bottom: 0.15rem; }
.host .host-role { margin-bottom: 0.8rem; color: var(--rose); font-weight: 700; }
.host p { color: var(--muted); }
.host .chips { margin-top: 0.25rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    padding: 3rem 1.75rem 1.75rem;
    border-radius: 32px 32px 32px 10px;
    background: var(--mist);
}
.review::before {
    content: "\201C";
    position: absolute;
    top: 0.4rem;
    left: 1.5rem;
    color: var(--rose);
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review figcaption img {
    width: 48px;
    height: 48px;
    border: 3px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
}
.review figcaption strong { display: block; color: var(--canopy); }
.review figcaption span { color: var(--muted); font-size: 0.9rem; }
.reviews-more { margin: 2.25rem 0 0; }

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-list details {
    padding: 0 1.4rem;
    border-radius: 22px;
    background: var(--white);
    transition: box-shadow 0.25s;
}
.faq-list details[open] { box-shadow: 0 20px 44px -30px rgba(15, 59, 46, 0.55); }
.faq-list summary {
    position: relative;
    padding: 1.15rem 3rem 1.15rem 0;
    color: var(--canopy);
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--leaf-dark);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.25s, background-color 0.25s, color 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--rose); color: var(--white); }
.faq-list details p { margin: 0 0 1.3rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.75rem, 5vw, 4rem);
    border-radius: var(--round-lg);
    background: var(--canopy);
    color: rgba(255, 255, 255, 0.85);
}
.contact-panel h2 { color: var(--white); }
.contact-list { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; }
.contact-list span { display: block; color: var(--paddy); font-size: 0.85rem; font-weight: 700; }
.contact-list a,
.contact-list address { color: var(--white); font-size: 1.05rem; font-style: normal; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--paddy); text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.map { overflow: hidden; border-radius: var(--round); background: var(--canopy-2); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-link { margin: 0.9rem 0 0; }
.map-link a { color: var(--white); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
    padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
    border-radius: var(--round-lg) var(--round-lg) 0 0;
    background: #0b2f24;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-name { margin-bottom: 0.5rem; color: var(--white); font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1.15; }
.site-footer p { max-width: 42ch; }
.site-footer h3 { margin-bottom: 0.8rem; color: var(--paddy); font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; }
.site-footer ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; }
.footer-bottom p { margin: 0; max-width: none; }

/* ---------- Floating booking bar (phones) ---------- */
.mobile-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 40px -12px rgba(15, 59, 46, 0.5);
    transform: translateY(170%);
    transition: transform 0.35s ease;
}
.mobile-bar.show { transform: none; }
.no-scroll .mobile-bar { transform: translateY(170%); }
.mobile-bar .btn { min-height: 46px; }

/* ---------- Photo viewer ---------- */
.viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #08201a;
    color: var(--white);
}
.viewer::backdrop { background: rgba(8, 32, 26, 0.92); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 1.25rem 0.9rem;
}
.viewer-info { display: flex; align-items: baseline; gap: 0.8rem; min-width: 0; }
.viewer-caption {
    margin: 0;
    overflow: hidden;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.viewer-count { flex: none; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.viewer-close {
    flex: none;
    min-height: 42px;
    padding: 0.4rem 1.15rem;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}
.viewer-close:hover { background: rgba(255, 255, 255, 0.2); }
.viewer-stage {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 0 1rem;
    touch-action: pan-y;
}
.viewer-img {
    max-width: 100%;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    border-radius: 18px;
    object-fit: contain;
}
.viewer-img.in { animation: fadeIn 0.35s ease; }
.viewer-thumbs {
    position: relative;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0.8rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    scrollbar-width: none;
}
.viewer-thumbs::-webkit-scrollbar { display: none; }
.viewer-thumbs::before,
.viewer-thumbs::after { content: ""; margin: auto; }
.viewer-thumbs button {
    flex: none;
    width: 74px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: var(--canopy-2);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
}
.viewer-thumbs button:hover { opacity: 0.85; }
.viewer-thumbs button.active { opacity: 1; border-color: var(--paddy); }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body:has(.viewer[open]) { overflow: hidden; }

/* ---------- Animations ---------- */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes flash {
    0% { box-shadow: 0 0 0 0 rgba(244, 182, 63, 0.9), 0 34px 70px -24px rgba(0, 0, 0, 0.55); }
    100% { box-shadow: 0 0 0 18px rgba(244, 182, 63, 0), 0 34px 70px -24px rgba(0, 0, 0, 0.55); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .rooms { grid-template-columns: repeat(2, 1fr); }
    .hosts { grid-template-columns: 1fr; }
    .host { grid-template-columns: 240px 1fr; }
    .trip-groups { grid-template-columns: 1fr 1fr; }
    .trip-town { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero { align-items: flex-start; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero h1 { max-width: 14ch; }
    .about-grid,
    .contact-panel,
    .faq-grid { grid-template-columns: 1fr; }
    .faq-intro { position: static; }
    .exp-grid { grid-template-columns: 1fr; }
    .map iframe { height: 340px; }
    .reel { --h: 230px; }
    .reel-b { --h: 170px; }

    /* Reviews become a swipeable row */
    .reviews {
        display: flex;
        gap: 1rem;
        margin-inline: -1.25rem;
        padding: 0 1.25rem 0.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 1.25rem;
        scrollbar-width: none;
    }
    .reviews::-webkit-scrollbar { display: none; }
    .review { flex: 0 0 min(85%, 420px); scroll-snap-align: start; }
}

@media (max-width: 720px) {
    :root { --header-h: 64px; }
    .mobile-bar { display: grid; }
    .site-footer { padding-bottom: 6.5rem; }
    .rooms { grid-template-columns: 1fr; }
    .trip-groups { grid-template-columns: 1fr; }
    .trip-town { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .brand { font-size: 1.35rem; }
    .brand img { width: 38px; height: 38px; }
    .reel { --h: 190px; }
    .reel-b { --h: 140px; }
    .reel + .reel { margin-top: 10px; }
    .reel-item { margin-right: 10px; border-radius: 20px; }
    .viewer-thumbs button { width: 58px; height: 44px; border-radius: 11px; }
    .viewer-caption { font-size: 1.05rem; }
}

@media (max-width: 640px) {
    .host {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.1rem 1.1rem 1.5rem;
    }
    .host-photo img { max-height: 460px; }
    .host-body { padding-inline: 0.4rem; }
}

@media (max-width: 480px) {
    .container { width: min(var(--wrap), 100% - 2rem); }
    .reviews { margin-inline: -1rem; padding-inline: 1rem; scroll-padding-inline: 1rem; }
    .hero h1 { font-size: 2.4rem; }
    .plan { border-radius: 26px; }
    .plan-grid { gap: 0.6rem; }
    .room-body { padding: 1.25rem 1.25rem 1.4rem; }
    .contact-panel { border-radius: 30px; }
    .contact-actions .btn { flex: 1 1 auto; }
    .gallery-tools { width: 100%; }
    .gallery-tools .btn { flex: 0 0 auto; }
    .gallery-tools #gallery-all { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}