/* ==========================================================================
   Berg Suite Surmeir – public site
   Alpine luxury: night-blue ink, warm ivory, brushed brass.
   Loaded by base.html only; the management portal keeps custom_style.css.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
/* Headings use the same Inter file under a second name: size-adjust scales
   every display size at once, so headings stay light and compact. */
@font-face {
    font-family: 'Inter Display';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    size-adjust: 84%;
    src: url('../fonts/inter-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
    --ink: #0f1418;
    --night: #141c24;
    --slate: #1f2a35;
    --snow: #f6f3ec;
    --paper: #ffffff;
    --mist: #e7e2d7;
    --line: rgba(15, 20, 24, 0.12);
    --line-light: rgba(255, 255, 255, 0.16);
    --brass: #b08d57;
    --brass-light: #d6b98a;
    --brass-dark: #8d6f41;
    --text: #20272e;
    --muted: #68727b;
    --muted-light: rgba(255, 255, 255, 0.68);

    --font-display: 'Inter Display', 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-h: 84px;
    --section-y: clamp(4.5rem, 10vw, 9rem);
    --shadow-soft: 0 24px 60px -28px rgba(15, 20, 24, 0.35);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) - 12px);
}

body {
    margin: 0;
    background: var(--snow);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection {
    background: var(--brass);
    color: #fff;
}

img {
    max-width: 100%;
}

a {
    color: var(--brass-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.25s var(--ease);
}

a:hover {
    color: var(--ink);
}

h1, h2, h3, h4, h5, .display-4, .display-5 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: -0.028em;
    color: var(--ink);
}

h1, .display-4 {
    font-size: clamp(2.5rem, 5.4vw, 4.6rem);
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3.25rem);
}

h3 {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.lead {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 300;
    line-height: 1.75;
    color: var(--text);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass-dark);
}

.eyebrow::before {
    content: '';
    width: 2.75rem;
    height: 1px;
    background: currentColor;
}

.eyebrow-center {
    justify-content: center;
}

.eyebrow-center::after {
    content: '';
    width: 2.75rem;
    height: 1px;
    background: currentColor;
}

.section-dark .eyebrow,
.hero .eyebrow,
.band .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
    color: var(--brass-light);
}

/* ---------- Buttons ---------- */
.btn-lux,
.btn-cta,
.btn.btn-dark,
.btn.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 2.2rem;
    border: 1px solid var(--brass-dark);
    border-radius: 0;
    background: var(--brass-dark);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
                border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn-lux:hover,
.btn-cta:hover,
.btn.btn-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lux i,
.btn-cta i {
    transition: transform 0.35s var(--ease);
}

.btn-lux:hover i,
.btn-cta:hover i {
    transform: translateX(5px);
}

.btn-lux-sm {
    padding: 0.75rem 1.4rem;
    font-size: 0.7rem;
}

.btn-lux-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-lux-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn-lux-line,
.btn.btn-outline-dark {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn-lux-line:hover,
.btn.btn-outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn.btn-outline-dark.btn-sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.68rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--brass);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
}

.link-arrow i {
    transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
    color: var(--brass-dark);
}

.link-arrow:hover i {
    transform: translateX(6px);
}

.section-dark .link-arrow {
    color: #fff;
}

.section-dark .link-arrow:hover {
    color: var(--brass-light);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 1100;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--brass-dark), var(--brass-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1050;
    background: rgba(246, 243, 236, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease),
                transform 0.45s var(--ease);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: var(--header-h);
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    transition: height 0.45s var(--ease);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 44px;
    height: 41px;
    overflow: hidden;
    flex-shrink: 0;
}

/* The logo file carries a small word mark below the emblem; only the emblem is shown */
.brand-mark img {
    display: block;
    width: 44px;
    height: auto;
    transition: filter 0.45s var(--ease);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.brand-name em {
    font-style: normal;
    font-weight: 300;
    color: var(--brass-dark);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.1rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav ul a {
    position: relative;
    padding: 0.4rem 0;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav ul a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform 0.4s var(--ease);
}

.site-nav ul a:hover::after,
.site-nav ul a.is-active::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-switch {
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
    padding: 0.35rem 0.1rem;
    border-bottom: 1px solid transparent;
}

.lang-switch:hover {
    border-bottom-color: var(--brass);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 2;
}

.nav-toggle span {
    position: absolute;
    left: 9px;
    right: 9px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.4s var(--ease), top 0.4s var(--ease), background-color 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }

.nav-open .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Transparent header over a hero image, until the page is scrolled */
.has-hero .site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

.has-hero .site-header:not(.is-scrolled) .site-header-inner {
    height: calc(var(--header-h) + 16px);
}

.has-hero .site-header:not(.is-scrolled) .brand,
.has-hero .site-header:not(.is-scrolled) .site-nav ul a,
.has-hero .site-header:not(.is-scrolled) .lang-switch {
    color: #fff;
}

.has-hero .site-header:not(.is-scrolled) .brand-name em {
    color: var(--brass-light);
}

.has-hero .site-header:not(.is-scrolled) .brand-mark img {
    filter: invert(1) brightness(2);
}

.has-hero .site-header:not(.is-scrolled) .nav-toggle span {
    background: #fff;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

@media (max-width: 1099.98px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 6rem 2rem 3rem;
        background: var(--ink);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
    }

    .nav-open .site-nav {
        opacity: 1;
        visibility: visible;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 1.4rem;
    }

    .site-nav ul a,
    .has-hero .site-header:not(.is-scrolled) .site-nav ul a {
        color: #fff;
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 300;
        letter-spacing: 0.02em;
        text-transform: none;
    }

    .site-nav .lang-switch,
    .has-hero .site-header .site-nav .lang-switch {
        color: #fff;
    }

    .nav-open .brand {
        color: #fff;
        position: relative;
        z-index: 2;
    }

    .nav-open .brand-mark img {
        filter: invert(1) brightness(2);
    }

    .nav-open {
        overflow: hidden;
    }

    .nav-open .site-header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-h: 70px;
    }

    .brand-name {
        font-size: 0.92rem;
        letter-spacing: 0.16em;
    }

    .brand-mark {
        width: 36px;
        height: 33px;
    }

    .brand-mark img {
        width: 36px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 4rem) 0 0;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: -6% 0 -6% 0;
    z-index: -2;
    will-change: transform;
}

.hero-media img,
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* The loop fades in over the identical still once it can play through */
.hero-video {
    opacity: 0;
    transition: opacity 1.2s linear;
}

.hero-video.is-playing {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 20, 24, 0.55) 0%, rgba(15, 20, 24, 0.05) 28%, rgba(15, 20, 24, 0.25) 55%, rgba(15, 20, 24, 0.92) 100%),
        linear-gradient(90deg, rgba(15, 20, 24, 0.55) 0%, rgba(15, 20, 24, 0) 65%);
}

.hero-content {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4.5rem);
}

.hero h1 {
    max-width: none;
    margin: 0 0 1.5rem;
    color: #fff;
    font-size: clamp(2.7rem, 6.6vw, 6rem);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero h1 em {
    display: block;
    margin-top: 0.9em;
    font-size: 0.24em;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--brass-light);
}

.hero-lead {
    max-width: 34rem;
    margin: 0 0 2.5rem;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid var(--line-light);
}

.hero-stat {
    padding: 1.6rem 1.5rem 1.9rem 0;
}

.hero-stat + .hero-stat {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line-light);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 300;
    line-height: 1;
    color: #fff;
}

.hero-stat strong small {
    font-size: 0.5em;
    margin-left: 0.15em;
    color: var(--brass-light);
}

.hero-stat > span {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.hero-scroll {
    position: absolute;
    right: clamp(1.25rem, 4vw, 3rem);
    bottom: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-scroll span {
    writing-mode: vertical-rl;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    animation: scroll-line 2.4s var(--ease) infinite;
    transform-origin: 50% 0;
}

.hero-scroll:hover {
    color: #fff;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); opacity: 0; }
    35% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(30px); opacity: 0; }
}

@media (max-width: 767.98px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat {
        padding: 1.1rem 1rem 1.2rem 0;
    }

    .hero-stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .hero-stat:nth-child(n+3) {
        border-top: 1px solid var(--line-light);
    }

    .hero-scroll {
        display: none;
    }

    .hero-actions .btn-lux {
        flex: 1 1 100%;
    }
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding: var(--section-y) 0;
}

.section-paper {
    background: var(--paper);
}

.section-dark {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    margin: 0;
}

.section-head p {
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-dark .section-head p {
    color: var(--muted-light);
}

.wide {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Intro ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}

.intro-text p {
    margin-bottom: 1.4rem;
    color: var(--text);
}

.intro-text p:first-of-type {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.9vw, 1.7rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink);
}

.intro-media {
    position: relative;
    padding-bottom: 14%;
}

.intro-media figure {
    margin: 0;
    overflow: hidden;
}

.intro-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-media .frame-main {
    width: 82%;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-soft);
}

.intro-media .frame-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 5 / 4;
    border: 10px solid var(--snow);
    box-shadow: var(--shadow-soft);
}

.intro-media::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 38%;
    height: 38%;
    border-top: 1px solid var(--brass);
    border-left: 1px solid var(--brass);
}

@media (max-width: 991.98px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-media {
        order: -1;
        max-width: 34rem;
    }
}

/* ---------- Gallery ---------- */
.gallery-section {
    padding-bottom: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
}

.gallery-swiper {
    width: 100%;
    padding: 0 clamp(1.25rem, 4vw, 3rem) 4.5rem;
    overflow: visible;
}

.gallery-swiper .swiper-slide {
    overflow: hidden;
    cursor: zoom-in;
    background: var(--slate);
}

.gallery-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: clamp(300px, 46vw, 620px);
    object-fit: cover;
    transition: transform 1.2s var(--ease), opacity 0.6s var(--ease);
}

.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-swiper .swiper-pagination {
    position: static;
    width: auto;
    flex: 1;
    height: 1px;
    background: var(--line-light);
}

.gallery-swiper .swiper-pagination-progressbar-fill {
    background: var(--brass-light);
}

.gallery-nav {
    display: flex;
    gap: 0.75rem;
}

.gallery-nav button {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.gallery-nav button:hover {
    background: var(--brass);
    border-color: var(--brass);
}

.gallery-nav button.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(9, 12, 15, 0.97);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 92vw;
    height: 88vh;
}

.lightbox-swiper {
    width: 100%;
    height: 100%;
}

.lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-swiper .swiper-button-next,
.lightbox-swiper .swiper-button-prev {
    color: #fff;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    z-index: 10;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-counter {
    position: absolute;
    bottom: -2.4rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
}

/* ---------- Amenities ---------- */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.amenity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 168px;
    padding: 1.9rem 1.6rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.amenity i {
    font-size: 1.6rem;
    color: var(--brass-dark);
    transition: color 0.45s var(--ease), transform 0.45s var(--ease);
}

.amenity span {
    font-size: 0.98rem;
    line-height: 1.5;
    color: var(--ink);
    transition: color 0.45s var(--ease);
}

.amenity.is-highlight {
    background: var(--paper);
}

/* Only the last tile is a link; the others must not look clickable */
a.amenity:hover {
    background: var(--ink);
}

a.amenity:hover i {
    color: var(--brass-light);
    transform: translateX(6px);
}

a.amenity:hover span {
    color: #fff;
}

@media (max-width: 991.98px) {
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity {
        min-height: 0;
        padding: 1.4rem 1.1rem;
    }
}

/* ---------- Parallax band ---------- */
.band {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(420px, 78vh, 760px);
    padding: 6rem 1.5rem;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    text-align: center;
}

.band-media {
    position: absolute;
    inset: -18% 0;
    z-index: -2;
    will-change: transform;
}

.band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 20, 24, 0.55), rgba(15, 20, 24, 0.35) 50%, rgba(15, 20, 24, 0.7));
}

.band h2 {
    max-width: 18ch;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.4rem, 5.6vw, 5rem);
    font-weight: 400;
}

.band p {
    max-width: 44rem;
    margin: 1.75rem auto 0;
    font-size: clamp(1.02rem, 1.3vw, 1.2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- Arosa cards ---------- */
.arosa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-light);
    border: 1px solid var(--line-light);
}

.arosa-card {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--ink);
    transition: background-color 0.5s var(--ease);
}

.arosa-card:hover {
    background: var(--night);
}

.arosa-card i {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--brass-light);
}

.arosa-card h3 {
    margin-bottom: 0.9rem;
    font-size: 1.55rem;
}

.arosa-card p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--muted-light);
}

.arosa-card strong {
    color: #fff;
    font-weight: 500;
}

.arosa-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 1199.98px) {
    .arosa-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .arosa-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Weather ---------- */
.weather {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line-light);
}

.weather-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.weather-head h3 {
    margin: 0;
}

.weather-head p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted-light);
}

.weather-days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.weather-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.75rem;
    border: 1px solid var(--line-light);
    background: rgba(255, 255, 255, 0.03);
}

.weather-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.weather-dayname {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
}

.weather-date {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.weather-icon-lg {
    margin-top: 0.5rem;
    font-size: 2.1rem;
    color: var(--brass-light);
}

.weather-desc {
    font-size: 0.9rem;
    color: var(--muted-light);
}

.weather-temp-lg {
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
    color: #fff;
}

.weather-temp-lg small {
    font-size: 0.5em;
    color: var(--muted-light);
}

.weather-details {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: var(--muted-light);
}

@media (max-width: 767.98px) {
    .weather-days {
        grid-template-columns: 1fr;
    }
}

/* ---------- Reviews ---------- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--paper);
    border: 1px solid var(--line);
}

.review-stars {
    margin-bottom: 1.25rem;
    color: var(--brass);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
}

.review-card blockquote {
    flex: 1;
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1.5;
    color: var(--ink);
}

.review-card figcaption {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}

.review-card figcaption small {
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* ---------- Tables (prices, booking) ---------- */
.prices-table,
.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-color: var(--text);
    margin-bottom: 0;
    font-family: var(--font-body);
}

.prices-table thead th,
.table thead th {
    padding: 0 1rem 1rem;
    border-bottom: 1px solid var(--ink);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.prices-table tbody th,
.prices-table tbody td,
.table tbody td {
    padding: 1.15rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.prices-table tbody th {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
}

.prices-table tbody th small {
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--muted) !important;
}

.prices-table tbody td {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.prices-table tbody tr {
    transition: background-color 0.3s var(--ease);
}

.prices-table tbody tr:hover {
    background: rgba(176, 141, 87, 0.08);
}

.prices-table thead th:first-child,
.prices-table tbody th {
    padding-left: 0;
}

.prices-table thead th:last-child,
.prices-table tbody td:last-child {
    padding-right: 0;
}

.price-note {
    margin: 1.75rem 0 2rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.faq-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    margin-bottom: 0;
}

.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: var(--line);
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--ink);
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 1.5rem;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
    border-top: 1px solid var(--line);
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    gap: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--ink);
    box-shadow: none !important;
}

.accordion-button::after {
    width: 1.1rem;
    height: 1.1rem;
    background-size: 1.1rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238d6f41' stroke-width='1.2'%3e%3cpath d='M8 1v14M1 8h14'/%3e%3c/svg%3e");
    transition: transform 0.45s var(--ease);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238d6f41' stroke-width='1.2'%3e%3cpath d='M8 1v14M1 8h14'/%3e%3c/svg%3e");
    transform: rotate(45deg);
}

.accordion-body {
    max-width: 44rem;
    padding-bottom: 1.75rem;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid .section-head {
        position: static;
        margin-bottom: 1rem;
    }
}

/* ---------- Location ---------- */
.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.location-list {
    margin: 2rem 0 2.5rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.location-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
}

.location-list span:last-child {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
    white-space: nowrap;
}

.location-address {
    font-style: normal;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.45;
    color: var(--ink);
}

.map-frame {
    position: relative;
    box-shadow: var(--shadow-soft);
}

.map-frame #map {
    width: 100%;
    height: clamp(360px, 52vw, 600px);
    filter: grayscale(1) contrast(1.05);
}

.map-frame::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 40%;
    height: 40%;
    border-right: 1px solid var(--brass);
    border-bottom: 1px solid var(--brass);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Booking ---------- */
.booking-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}

.booking-step b {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--brass);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--brass-dark);
}

.room-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.room-option {
    cursor: pointer;
}

.room-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.room-card {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.4rem 1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.room-card i {
    display: none;
}

.room-card .room-count {
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--ink);
    transition: color 0.35s var(--ease);
}

.room-card .room-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.35s var(--ease);
}

.room-card:hover {
    border-color: var(--brass);
}

.room-option input[type="radio"]:focus-visible + .room-card {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

.room-option input[type="radio"]:checked + .room-card {
    background: var(--ink);
    border-color: var(--ink);
}

.room-option input[type="radio"]:checked + .room-card .room-count {
    color: #fff;
}

.room-option input[type="radio"]:checked + .room-card .room-label {
    color: var(--brass-light);
}

.calendar-container .calendar {
    padding: 1.5rem !important;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: none !important;
}

.calendar-header {
    padding: 0 0 0.5rem;
}

.calendar-header h5 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
}

.calendar-header button,
.calendar-header .btn.btn-outline-dark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    letter-spacing: 0;
}

.calendar-header button:hover,
.calendar-header .btn.btn-outline-dark:hover {
    background: var(--ink);
    border-color: var(--ink);
    border-radius: 50%;
    color: #fff;
}

.calendar table.table {
    table-layout: fixed;
    margin-bottom: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 3px;
}

.calendar table.table > :not(caption) > * > * {
    border-width: 0;
    box-shadow: none;
}

.calendar table.table thead th {
    padding: 0 0 0.6rem;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.calendar td {
    width: 40px;
    height: 44px;
    padding: 0;
    border: 0;
    text-align: center;
    vertical-align: middle;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
    cursor: default;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.calendar td:empty {
    background: transparent;
    opacity: 1;
}

.calendar td.selectable {
    background: rgba(176, 141, 87, 0.1);
    color: var(--ink);
    cursor: pointer;
}

.calendar td.selectable:hover {
    background: var(--brass);
    color: #fff;
}

.calendar td.selected {
    background: var(--ink);
    color: #fff;
}

.calendar td.blocked {
    background: transparent;
    color: rgba(15, 20, 24, 0.28);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 1;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-legend i {
    width: 14px;
    height: 14px;
    display: inline-block;
}

.calendar-legend .is-free { background: rgba(176, 141, 87, 0.25); }
.calendar-legend .is-selected { background: var(--ink); }
.calendar-legend .is-blocked { border: 1px solid var(--line); background: linear-gradient(135deg, transparent 46%, rgba(15, 20, 24, 0.3) 46% 54%, transparent 54%); }

.selected-period {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.selected-period span {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
}

@media (max-width: 575.98px) {
    .room-card {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        padding: 1rem 0.5rem;
    }

    .calendar-container .calendar {
        padding: 1rem !important;
    }

    .selected-period .btn-lux {
        width: 100%;
    }
}

/* ---------- Sub-pages ---------- */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(420px, 68vh, 680px);
    padding: calc(var(--header-h) + 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.page-hero-media {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
    will-change: transform;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 20, 24, 0.62) 0%, rgba(15, 20, 24, 0.25) 35%, rgba(15, 20, 24, 0.9) 100%),
        linear-gradient(90deg, rgba(15, 20, 24, 0.6) 0%, rgba(15, 20, 24, 0) 70%);
}

.page-hero h1 {
    max-width: 20ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 400;
}

.breadcrumb-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-line a {
    color: var(--brass-light);
    text-decoration: none;
}

.breadcrumb-line a:hover {
    color: #fff;
}

.prose {
    max-width: 52rem;
    margin: 0 auto;
}

.prose > .lead {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.1vw, 1.8rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--ink);
}

.prose h2 {
    margin: clamp(2.75rem, 5vw, 4rem) 0 1.25rem;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.prose li {
    position: relative;
    padding: 0.95rem 0 0.95rem 2.25rem;
    border-bottom: 1px solid var(--line);
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 1.75rem;
    width: 1.1rem;
    height: 1px;
    background: var(--brass);
}

.prose ol {
    counter-reset: step;
}

.prose ol li {
    padding-left: 3.25rem;
}

.prose ol li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.8rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--brass-dark);
}

.prose .table-responsive {
    margin-bottom: 1.5rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.photo-grid figure {
    margin: 0;
}

.photo-grid .photo-frame {
    overflow: hidden;
    background: var(--mist);
}

.photo-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.photo-grid figure:hover img {
    transform: scale(1.06);
}

.photo-grid figcaption {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.cta-band {
    position: relative;
    padding: clamp(4rem, 9vw, 7.5rem) 1.5rem;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(176, 141, 87, 0.22), transparent 65%),
        var(--ink);
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.cta-band h2 {
    margin: 0 0 1rem;
    color: #fff;
}

.cta-band p {
    max-width: 36rem;
    margin: 0 auto 2.25rem;
    font-weight: 300;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.more-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.more-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.more-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 20, 24, 0.05) 30%, rgba(15, 20, 24, 0.88));
    transition: background-color 0.5s var(--ease);
}

.more-card span {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.15;
    color: #fff;
}

.more-card span i {
    font-size: 1rem;
    color: var(--brass-light);
    transition: transform 0.45s var(--ease);
}

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

.more-card:hover span i {
    transform: translateX(6px);
}

.more-card:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Plain pages (legal, booking steps, errors) ---------- */
body:not(.has-hero) main {
    padding-top: var(--header-h);
}

main > .container:first-child,
main > .row:first-child {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

main > .container.py-5.mt-5 {
    margin-top: 0 !important;
    max-width: 58rem;
}

main .card,
.booking-remote .card {
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none !important;
}

main .card-body,
.booking-remote .card-body {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

main .card-title,
.booking-remote .card-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--ink);
}

main .card h3.card-title,
.booking-remote .card h3.card-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.is-checkout main > .container {
    max-width: 60rem;
}

.is-checkout main h1 {
    margin-top: 1.5rem !important;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.is-checkout main h2 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brass-dark);
}

.is-checkout main > .container > a.btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.is-checkout main > .container > a.btn:hover {
    color: var(--ink);
    transform: none;
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 0;
    background-color: var(--paper);
    color: var(--ink);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}

.form-check-input:checked {
    background-color: var(--brass);
    border-color: var(--brass);
}

.form-check-input:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}

.form-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.modal-content {
    border: 0;
    border-radius: 0;
    background: var(--snow);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
}

.alert {
    border-radius: 0;
}

.flash-stack {
    position: fixed;
    top: calc(var(--header-h) + 1rem);
    left: 50%;
    z-index: 1040;
    width: min(92vw, 40rem);
    transform: translateX(-50%);
}

.error-page {
    display: grid;
    place-items: center;
    min-height: 70vh;
    padding: 4rem 1.5rem;
    text-align: center;
}

.error-page .error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 22vw, 15rem);
    font-style: normal;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px var(--brass);
}

.error-page h1 {
    max-width: 24ch;
    margin: 1.5rem auto 2rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: clamp(4rem, 8vw, 6.5rem) 0 2rem;
    background: var(--ink);
    color: var(--muted-light);
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.footer-brand img {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: invert(1) brightness(2);
}

.footer-brand p {
    max-width: 22rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.4;
    color: #fff;
}

.footer-heading {
    margin: 0 0 1.4rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass-light);
}

.site-footer address {
    margin: 0;
    font-style: normal;
    line-height: 1.9;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 0.6rem;
}

.site-footer a {
    color: var(--muted-light);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-light);
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    left: clamp(0.75rem, 2vw, 1.75rem);
    bottom: clamp(0.75rem, 2vw, 1.75rem);
    z-index: 1090;
    width: min(calc(100vw - 1.5rem), 27rem);
    padding: 1.6rem 1.75rem;
    background: rgba(15, 20, 24, 0.96);
    border: 1px solid var(--line-light);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.6;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0 0 1.25rem;
}

.cookie-banner a {
    color: var(--brass-light);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-banner-actions .btn-lux {
    flex: 1;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}

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

.js .reveal-clip > * {
    clip-path: inset(0 0 100% 0);
    transform: scale(1.18);
    transition: clip-path 1.4s var(--ease), transform 1.9s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}

.js .reveal-clip.is-visible > * {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.js .intro-media figure {
    box-shadow: none;
    transition: box-shadow 1.2s var(--ease) 0.8s;
}

.js .intro-media figure.is-visible {
    box-shadow: var(--shadow-soft);
}

/* Hero text slides up but is painted from the first frame, so the largest
   text block counts as rendered immediately (LCP). */
.js .hero .hero-rise {
    transform: translateY(22px);
    animation: hero-rise 1.1s var(--ease) forwards;
    animation-delay: var(--rise-delay, 0.1s);
}

@keyframes hero-rise {
    to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal,
    .js .reveal-clip > *,
    .js .hero .hero-rise {
        opacity: 1;
        transform: none;
        clip-path: none;
        animation: none;
        transition: none;
    }

    .hero-scroll::after {
        animation: none;
    }

    .hero-video {
        display: none;
    }
}

/* Sub-page text column: photo grids break out of the text width */
.prose > .photo-grid {
    position: relative;
    left: 50%;
    width: min(82rem, calc(100vw - 2.5rem));
    transform: translateX(-50%);
}

.calendar-container .calendar {
    height: 100%;
}

.map-frame #map {
    background: var(--mist);
}

.site-footer {
    border-top: 1px solid var(--line-light);
}

.is-checkout main .card h5 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

/* Grid children may shrink below their content width (wide tables scroll inside) */
.faq-grid > *,
.intro-grid > *,
.location-grid > * {
    min-width: 0;
}

html {
    overflow-x: clip;
}

@media (max-width: 575.98px) {
    .prices-table thead th,
    .prices-table tbody th,
    .prices-table tbody td {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .prices-table thead th {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .prices-table tbody th {
        font-size: 1.05rem;
        white-space: normal;
    }

    .prices-table tbody td {
        font-size: 0.82rem;
    }
}

/* ---------- Booking modal ---------- */
.booking-modal .modal-content {
    background: var(--snow);
}

.booking-modal .modal-header {
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 3rem);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.booking-modal-title .eyebrow {
    margin-bottom: 0.5rem;
}

.booking-modal .modal-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.1;
}

.booking-modal .modal-body {
    position: relative;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.booking-progress {
    display: flex;
    gap: clamp(0.75rem, 2vw, 2rem);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.booking-progress li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.55;
    transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}

.booking-progress b {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.booking-progress li.is-active,
.booking-progress li.is-done {
    opacity: 1;
    color: var(--ink);
}

.booking-progress li.is-active b {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.booking-progress li.is-done b {
    background: var(--brass);
    border-color: var(--brass);
    color: #fff;
}

.booking-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    background: rgba(246, 243, 236, 0.75);
    color: var(--brass-dark);
}

.booking-loading[hidden] {
    display: none;
}

.booking-range {
    margin: 0 0 1.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--brass-dark);
}

.booking-remote .card h5 {
    margin-top: 2rem;
    font-size: 1.3rem;
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* In the modal the action bar stays at the bottom edge while the step scrolls */
.booking-modal .booking-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    padding: 1rem 0;
    background: var(--snow);
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 24px -18px rgba(15, 20, 24, 0.18);
}

.booking-modal .card .booking-actions {
    background: var(--paper);
}

.booking-modal .modal-body {
    padding-bottom: 0;
}

.booking-modal .booking-remote,
.booking-modal .booking-pane {
    padding-bottom: 0;
}

.booking-modal .booking-success .booking-actions {
    position: static;
    border-top: 0;
    box-shadow: none;
    margin-bottom: 2rem;
}

.booking-actions-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn-lux:disabled,
.btn-lux[disabled] {
    background: var(--mist);
    border-color: var(--mist);
    color: var(--muted);
    cursor: not-allowed;
    transform: none;
}

.booking-question {
    margin: 0 0 0.6rem;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.booking-hint {
    margin: 0 0 2rem;
    color: var(--muted);
}

.booking-pane .room-selector {
    margin-bottom: 0;
}

.booking-pane .room-card {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(1.75rem, 5vw, 3.25rem) 1rem;
}

.booking-pane .room-card .room-count {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 300;
}

.room-guests {
    font-size: 0.85rem;
    color: var(--muted);
    transition: color 0.35s var(--ease);
}

.room-option input[type="radio"]:checked + .room-card .room-guests {
    color: rgba(255, 255, 255, 0.75);
}

.booking-success {
    padding: clamp(1rem, 5vw, 4rem) 0;
    text-align: center;
}

.booking-success > i {
    font-size: 3.5rem;
    color: var(--brass);
}

.booking-success h3 {
    margin: 1.25rem 0 1rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.booking-success p {
    max-width: 34rem;
    margin: 0 auto;
    color: var(--muted);
}

.is-checkout main .booking-remote {
    max-width: 56rem;
    margin: 2rem auto 0;
}

@media (max-width: 991.98px) {
    .booking-modal .modal-header {
        flex-wrap: wrap;
    }

    .booking-progress {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin: 0;
    }

    .booking-progress span {
        display: none;
    }

    .booking-progress li.is-active span {
        display: inline;
    }

    .booking-actions .btn-lux {
        flex: 1 1 auto;
    }

    .booking-actions-info {
        flex: 1 1 100%;
        justify-content: space-between;
    }

    .booking-actions-info .btn-lux {
        flex: 0 0 auto;
    }
}

/* ---------- Current prices (home page) ---------- */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 62rem;
    margin: 0 auto;
    background: var(--line);
    border: 1px solid var(--line);
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: clamp(2rem, 4vw, 3.25rem) 1rem;
    background: var(--paper);
    text-align: center;
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.price-card-label,
.price-card-unit {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.45s var(--ease);
}

.price-card strong {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    font-weight: 300;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    transition: color 0.45s var(--ease);
}

.price-card strong small {
    font-size: 0.3em;
    font-weight: 400;
    letter-spacing: 0.12em;
    vertical-align: 1.2em;
    color: var(--brass-dark);
}

@media (max-width: 575.98px) {
    .price-cards {
        grid-template-columns: 1fr;
    }
}

/* Season pages: mood images directly under the introduction */
.prose > .season-grid {
    margin-top: 0;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.season-grid img {
    aspect-ratio: 3 / 2;
}

.booking-actions-total {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.booking-actions-total .selected-period {
    text-align: right;
}

@media (max-width: 575.98px) {
    .booking-actions-total {
        flex: 1 1 100%;
        justify-content: space-between;
        order: -1;
    }
}

.selected-period span {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .booking-remote .card-body {
        padding: 1.1rem;
    }

    .booking-remote .table thead th,
    .booking-remote .table tbody td {
        padding: 0.7rem 0.3rem;
        font-size: 0.8rem;
    }

    .booking-remote .table thead th {
        font-size: 0.56rem;
        letter-spacing: 0.06em;
        white-space: normal;
    }

    .booking-modal .booking-actions .btn-lux {
        padding: 0.95rem 1rem;
    }
}

/* Hero text stays legible over the bright sunrise and sunset phases of the loop */
.hero .eyebrow,
.hero h1,
.hero-lead {
    text-shadow: 0 1px 22px rgba(15, 20, 24, 0.5);
}

/* Hero label: one line where it fits, otherwise a clean two-liner
   (place / altitude) instead of breaking in the middle of "m ü. M." */
.hero-eyebrow-part {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hero-eyebrow {
        align-items: flex-start;
    }

    .hero-eyebrow::before {
        margin-top: 0.62em;
    }

    .hero-eyebrow-part {
        display: block;
    }

    .hero-eyebrow-sep {
        display: none;
    }
}

/* ---------- Legal pages ---------- */
.page-hero-plain {
    min-height: 0;
    padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(90% 140% at 85% 0%, rgba(176, 141, 87, 0.22), transparent 60%),
        var(--ink);
}

.page-hero-plain::before {
    display: none;
}

.legal-section + .legal-section {
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
    border-top: 1px solid var(--line);
}

.legal .legal-section h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.legal .legal-section h3 {
    margin: 2rem 0 0.6rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-dark);
}

.legal .legal-section p {
    margin-bottom: 0.9rem;
    color: var(--text);
}

.legal .legal-section p:last-child {
    margin-bottom: 0;
}

.legal-updated {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--muted);
}
