
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

/* ========================================
   ELIF HOTEL — COMPLETE STYLESHEET
   ======================================== */

:root {
    --header-height: 68px;
    --header-rgb: 41, 42, 40;
    --header-background: rgb(var(--header-rgb));

    --dark: #282421;
    --accent: #d7bb88;
    --dark-hover: #443b34;
    --text: #302b27;
    --muted: #79716a;

    --background: #f5f3ef;
    --section-alt: #eeebe5;
    --border: #e1dcd4;

    --font: 'Vazirmatn', Tahoma, sans-serif;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: var(--font);
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

button,
input,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;

    width: 100%;
    height: var(--header-height);

    padding: 0 clamp(24px, 5vw, 90px);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;

    background: var(--header-background);
    color: #fff;

    border-bottom: 1px solid rgba(215,187,136,.18);
    box-shadow: none;
    transition: box-shadow .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* BRAND */

.brand {
    grid-column: 1;
    justify-self: start;

    display: flex;
    flex-direction: column;
    align-items: center;

    direction: ltr;
    line-height: 1;
    white-space: nowrap;
}

.brand-name {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: .12em;
    text-indent: .12em;
    color: #fff;
}

.brand-subtitle {
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
    text-indent: .18em;
    color: #fff;
}

/* DESKTOP NAVIGATION */

.desktop-nav {
    grid-column: 2;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: clamp(24px, 3vw, 48px);
    white-space: nowrap;
}

.desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 4px 2px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: #f0ede7;
    transition: color .25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    inset-inline: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="location"] {
    color: var(--accent);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="location"]::after {
    transform: scaleX(1);
}

/* HEADER ACTIONS */

.header-actions {
    grid-column: 3;
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 18px;
}

.booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 46px;
    padding: 9px 20px;
    background: transparent;
    border: 1px solid #ffffffa6;
    border-radius: 3px;
    color: #f5f3ed;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap;
    touch-action: manipulation;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.booking-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .25s ease;
}

.booking-link:is(:hover, :focus-visible) {
    background: #ffffff12;
    border-color: #fff;
    color: #fff;
}

.booking-link:is(:hover, :focus-visible) .booking-icon {
    transform: translateX(-3px);
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
    transition: transform .3s ease, opacity .2s ease;
}

.mobile-nav {
    display: none;
}

/* ========================================
   HERO
   ======================================== */

.hero-stage {
    position: relative;

    height: 100vh;
    height: var(--hero-viewport-height, 100svh);
    padding-top: var(--header-height);

}

.hero {
    position: fixed;

    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;

    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(var(--hero-viewport-height, 100svh) - var(--header-height));

    z-index: 0;
    overflow: hidden;

    background: #b9b7b0;
}

.hero-picture {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-picture img {
    display: block;
    flex: none;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

/* Keep the main photograph sharp. Desktop side margins use the same image. */
@media (min-width: 768px) {
    .hero::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: -32px;
        background: url('assets/hero-desktop.webp?v=ee5b1c1db061d495') center top / cover no-repeat;
        filter: blur(24px);
        pointer-events: none;
    }
}

/* The shared charcoal gradient supports the scroll cue on both layouts. */
.hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 65%;
    background: linear-gradient(to bottom,
        rgba(var(--header-rgb), 0) 0%,
        rgba(var(--header-rgb), .03) 12%,
        rgba(var(--header-rgb), .12) 28%,
        rgba(var(--header-rgb), .30) 45%,
        rgba(var(--header-rgb), .55) 62%,
        rgba(var(--header-rgb), .80) 78%,
        rgba(var(--header-rgb), .96) 92%,
        var(--header-background) 100%);
    pointer-events: none;
}

/* SCROLL INDICATOR */

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 54px;
    bottom: max(54px, calc(env(safe-area-inset-bottom) + 38px));
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 64px;
    height: 140px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color .25s ease;
    animation: capsuleFloat 3.6s ease-in-out infinite;
}

.hero-welcome {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 16px;
    margin: 0;
    color: #f1f1ec;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .18em;
    text-align: center;
    pointer-events: none;
}

/* Bright outline and a travelling highlight; the photograph stays uncovered. */
.scroll-frame {
    position: absolute;
    inset: 10px;
    width: 44px;
    height: 120px;
    fill: none;
    stroke: currentColor;
    filter: drop-shadow(0 1px 2px #0009);
    pointer-events: none;
}

.scroll-frame-track {
    stroke-width: 1.4;
    opacity: .72;
}

.scroll-frame-highlight {
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 18 82;
    animation: capsuleTrace 4s linear infinite;
}

.hero-scroll:focus-visible {
    outline-color: #fff;
}

.hero-scroll:hover {
    color: var(--accent);
}

.scroll-chevrons {
    width: 28px;
    height: 64px;
    filter: drop-shadow(0 1px 2px #000b);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.scroll-chevron {
    opacity: .85;
    animation: chevronFlow 2.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

.scroll-chevron:nth-child(2) { animation-delay: .22s; }
.scroll-chevron:nth-child(3) { animation-delay: .44s; }

@keyframes capsuleTrace {
    to { stroke-dashoffset: -100; }
}

@keyframes capsuleFloat {
    0%, 100% { transform: translate(-50%, -3px); }
    50% { transform: translate(-50%, 3px); }
}

@keyframes chevronFlow {
    0%, 80%, 100% { opacity: .72; transform: translateY(0); }
    35%, 50% { opacity: 1; transform: translateY(4px); }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.page-content {
    position: relative;
    z-index: 2;

    width: 100%;
    background: transparent;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.exterior-section {
    padding: clamp(48px, 7vw, 110px) clamp(24px, 8vw, 140px);
    background: #35302d;
    color: #f4f1e9;
}
.exterior-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(36px, 7vw, 110px);
    max-width: 1250px;
    margin: 0 auto;
}
.exterior-photo {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-width: 0;
    padding: 14px;
    border: 1px solid #b8a17b;
    border-radius: 4px;
    background: linear-gradient(135deg, #161e1b, #475047 48%, #19221d);
    box-shadow: 0 26px 54px -22px #000b, inset 0 0 0 3px #131b17;
}
.exterior-photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 6px;
    border: 1px solid #cbb18b66;
    border-radius: 1px;
    pointer-events: none;
}
.exterior-photo::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 20px -9px -9px 20px;
    border-right: 1px solid #b6a17a66;
    border-bottom: 1px solid #b6a17a66;
    pointer-events: none;
}
.exterior-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1px;
}
.exterior-copy .section-label { color: #d7bb88; }
.exterior-copy h2 { margin: 22px 0; font-size: clamp(34px, 4vw, 62px); font-weight: 400; line-height: 1.6; }
.exterior-rule { display: block; width: 48px; height: 1px; background: var(--accent); }
.exterior-copy p { margin: 24px 0 0; color: #cec6bd; font-size: 15px; line-height: 2.2; }

.intro-section {
    padding:
        clamp(85px, 10vw, 160px)
        clamp(24px, 8vw, 140px);

    background: var(--background);
}

.intro-inner {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: end;

    gap: clamp(40px, 8vw, 140px);
    margin-top: 0;
}

.intro-heading {
    min-width: 0;
}

.intro-pretitle {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #52695a;
}

.intro-heading h1 {
    margin: 20px 0 0;

    font-size: clamp(42px, 5.3vw, 82px);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -.045em;

    color: var(--text);
}

.intro-description {
    min-width: 0;
    padding-bottom: 12px;
}

.intro-description p {
    max-width: 420px;
    margin: 0;

    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 300;
    line-height: 2.5;

    color: #6c645d;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    margin-top: 25px;
    padding-bottom: 10px;

    border-bottom: 1px solid #52695a;

    font-size: 13px;
    color: #405846;
}

.text-link:hover {
    color: #1e3525;
}

/* ========================================
   ROOMS SECTION
   ======================================== */

.rooms-section {
    padding: clamp(40px, 4.5vw, 72px) clamp(24px, 4vw, 72px);
    background: var(--section-alt);
    overflow: hidden;
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 28px;
}

.section-top > div:first-child { min-width: 0; }

.section-label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .2em;
    color: #81766a;
    direction: ltr;
    text-align: right;
}

.section-top h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.6;
}

.rooms-gallery {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.slider-controls {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.slider-controls[hidden] { display: none; }

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(34, 36, 33, .55);
    color: #fff;
    pointer-events: auto;
    transition: background .25s ease, color .25s ease, opacity .25s ease;
}

#roomPrev { right: 0; border-radius: 4px 0 0 4px; }
#roomNext { left: 0; border-radius: 0 4px 4px 0; }

.slider-controls svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-controls button:hover:not(:disabled) {
    background: var(--dark);
    color: #fff;
}

.slider-controls button:disabled { opacity: .3; cursor: default; }

.rooms-track {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-radius: 8px;
}

.rooms-track::-webkit-scrollbar { display: none; }

.room-card {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;
    scroll-snap-align: start;
    background: #969d94;
}

.room-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #bbc0b6, #727b71);
}

.room-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.room-card:hover .room-image img { transform: scale(1.035); }

.room-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 20px 18px;
    background: linear-gradient(to bottom, transparent, #282421d9);
    color: #fff;
    text-align: center;
}

.room-card h3 {
    margin: 0;
    font-size: clamp(18px, 1.6vw, 23px);
    font-weight: 500;
    line-height: 1.7;
}


.room-open { position: absolute; inset: 0; z-index: 1; cursor: zoom-in; }
.room-open:focus-visible { outline-offset: -5px; }
.room-card:focus-within .room-image img { transform: scale(1.035); }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
html.lightbox-open { overflow: hidden; }
.room-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: max(64px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
    border: 0;
    background: rgba(20, 22, 20, .97);
    color: #fff;
}
.room-lightbox[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.room-lightbox::backdrop { background: #141614; }
.lightbox-figure {
    min-height: 0;
    width: 100%;
    max-width: 1400px;
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.lightbox-figure img { display: block; width: 100%; height: auto; min-height: 0; flex: 0 1 auto; object-fit: contain; }
.lightbox-figure figcaption { flex-shrink: 0; font-size: 15px; text-align: center; }
.room-lightbox button {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #ffffff59;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 24px;
    transition: background .2s ease;
}
.room-lightbox button:hover { background: #ffffff1f; }
.room-lightbox button:disabled { opacity: .3; cursor: default; }
.lightbox-close { position: absolute; top: max(10px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); }
.lightbox-controls { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
#lightboxCounter { min-width: 48px; text-align: center; font-size: 13px; }

/* A moving transparent window clips a photograph fixed to the viewport. */
.city-section {
    position: relative;
    height: 65vh;
    height: calc(var(--hero-viewport-height, 100svh) * .65);
    isolation: isolate;
    clip-path: inset(0);
    background: transparent;
}
.city-image {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(var(--hero-viewport-height, 100svh) - var(--header-height));
    object-fit: cover;
    object-position: center top;
}
.city-copy {
    position: absolute;
    top: clamp(20px, 2.2vw, 36px);
    right: auto;
    left: clamp(24px, 4vw, 72px);
    max-width: calc(100% - 48px);
    color: #fff;
    text-shadow: 0 1px 3px #282421f2, 0 3px 16px #282421c9;
}
.city-copy > span { display: block; width: fit-content; font-size: 10px; letter-spacing: .2em; }
.city-copy h2 { margin: 10px 0 6px; font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: 1.5; }
.city-copy p { margin: 0; font-size: clamp(13px, 1.2vw, 17px); line-height: 1.9; }
.city-section ~ .experience-section,
.city-section ~ .site-footer { position: relative; z-index: 1; }

/* ========================================
   EXPERIENCE SECTION
   ======================================== */

.experience-section {
    padding: clamp(64px, 7vw, 110px) 8vw;

    background: #e9e5dc;
    color: #352f29;
}

.experience-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    column-gap: clamp(32px, 5vw, 80px);
    align-content: center;
    max-width: 1250px;
    margin: 0 auto;
}

.experience-photo { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; }
.experience-photo img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 20px 42px -28px #3a302b70; }

.experience-section .section-label {
    color: #786c5e;
}

.experience-section h2 {
    margin: 30px 0;

    font-size: clamp(34px, 3.3vw, 52px);
    font-weight: 300;
    line-height: 1.55;
}

.experience-section p {
    max-width: 500px;

    font-size: 15px;
    font-weight: 300;
    line-height: 2.3;

    color: #6d6358;
}

/* CONTACT */
.contact-section { position: relative; z-index: 2; padding: 80px 8vw; background: #282421; color: #f4f1e9; }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 7vw, 100px); max-width: 1250px; margin: 0 auto; }
.contact-intro .section-label { color: var(--accent); }
.contact-intro h2 { margin: 18px 0; font-size: clamp(26px, 3vw, 42px); font-weight: 400; line-height: 1.7; }
.contact-intro p { margin: 0; color: #c8beb2; font-size: 14px; line-height: 2; }
.contact-phone { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 26px; padding: 4px 0; color: var(--accent); }
.contact-phone bdi { font-size: clamp(27px, 3.2vw, 42px); font-weight: 400; letter-spacing: .04em; }
.contact-phone span { font-size: 12px; }
.contact-phone:hover { color: #fff; }
.contact-reception { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; width: fit-content; margin-top: 24px; padding: 8px 0; color: #c8beb2; font-size: 13px; }
.contact-reception bdi { font-size: 16px; letter-spacing: .03em; }
.contact-reception:hover { color: #fff; }
.contact-details { align-self: center; border-right: 1px solid #d7bb8833; padding-right: clamp(24px, 4vw, 60px); }
.contact-details h3 { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 400; }
.contact-address address { max-width: 380px; font-style: normal; font-size: 14px; line-height: 2.3; color: #d9d1c7; }
.contact-route { display: inline-block; padding: 12px 0 6px; border-bottom: 1px solid #d7bb8859; font-size: 12px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 30px; }
.contact-socials a { display: inline-block; padding: 5px 0; font-size: 14px; color: #d9d1c7; }
.contact-details a:hover { color: #fff; }

/* Floating contact control, matching the Kiana Parand reference. */
.contact-fab { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); z-index: 110; display: flex; flex-direction: column-reverse; align-items: center; }
.contact-fab-toggle, .contact-fab-item { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; box-shadow: 0 4px 8px #0005; }
.contact-fab-toggle { background: var(--accent); color: var(--dark); cursor: pointer; }
.contact-fab svg { width: 35.2px; height: 35.2px; fill: currentColor; stroke: none; }
.contact-fab-toggle svg { width: 28.8px; height: 28.8px; }
.contact-fab-options { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 10px; visibility: hidden; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.contact-fab.open .contact-fab-options { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.contact-fab-item { position: relative; color: #fff; box-shadow: 0 2px 6px #0005; transition: filter .2s ease; }
.contact-fab-item:hover { filter: brightness(.9); }
.contact-fab-phone { background: #28a745; }
.contact-fab-telegram { background: #0088cc; }
.contact-fab-whatsapp { background: #25d366; }

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;

    padding: 30px 8vw 90px;
    border-top: 1px solid #ffffff14;

    background: #282421;
    color: #fff;
}

.footer-logo {
    display: block;

    font-family: Georgia, serif;
    font-size: 40px;
    letter-spacing: .18em;
}

.site-footer p,
.site-footer a {
    font-size: 12px;
    color: #c8beb2;
}

.site-footer a:hover {
    color: #fff;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 1050px) {
    .site-header {
        padding: 0 28px;
        gap: 18px;
    }

    .desktop-nav {
        gap: 20px;
    }

    .desktop-nav a {
        font-size: 14px;
    }

    .booking-link {
        padding: 9px 15px;
    }
}

/* ========================================
   MOBILE / SMALL TABLET
   ======================================== */

@media (max-width: 850px) {
    :root {
        --header-height: 64px;
    }

    .site-header,
    .site-header.scrolled {
        height: var(--header-height);

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        padding: 0 18px;
        gap: 12px;
    }

    .brand {
        flex-shrink: 0;
    }

    .brand-name {
        font-size: 29px;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .booking-link {
        min-height: 44px;
        gap: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .mobile-nav {
        position: fixed;
        z-index: 99;

        display: flex;
        flex-direction: column;
        gap: 0;

        top: var(--header-height);
        right: 0;
        left: 0;

        padding: 16px 25px 25px;
        max-height: calc(100vh - var(--header-height));
        max-height: calc(100dvh - var(--header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;

        background: var(--header-background);
        color: #fff;

        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 15px 30px rgba(0,0,0,.18);
    }

    .mobile-nav.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.5);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav a[aria-current="location"] {
        color: var(--accent);
        border-bottom-color: var(--accent);
    }

    .mobile-nav a {
        display: block;

        padding: 15px 0;

        font-size: 14px;

        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Reserve only the square photograph plus the separate header on mobile.
   The fixed photograph keeps the cover-on-scroll effect; the cue and shared
   gradient sit at the lower edge of the photograph, with no extra panel. */
@media (max-width: 767px) {
    .experience-inner { grid-template-columns: 1fr; gap: 0; }
    .experience-photo { grid-column: 1; grid-row: auto; margin: 0 0 22px; }
    .experience-section h2 { font-size: clamp(32px, 8vw, 44px); margin: 18px 0 28px; }
    .experience-section p { margin: 0; }
    .exterior-section { padding: 40px 24px 48px; }
    .exterior-inner { grid-template-columns: 1fr; gap: 30px; }
    .exterior-photo { margin: 0 4px 10px; padding: 10px; }
    .exterior-photo::before { inset: 4px; }
    .exterior-photo::after { inset: 14px -7px -7px 14px; }
    .exterior-copy h2 { font-size: 32px; margin: 14px 0 18px; }
    .exterior-copy h2 br { display: none; }
    .exterior-copy p { font-size: 14px; margin-top: 18px; }
    .city-section { height: calc(var(--hero-viewport-height, 100svh) * .55); }
    .city-image { object-position: 52% top; }
    .city-copy { top: 18px; right: 24px; left: 24px; }
    .city-copy > span { display: none; }
    .city-copy p { display: none; }
    .city-copy h2 { font-size: clamp(23px, 6.4vw, 30px); margin: 0 0 4px; }
    .rooms-track { gap: 14px; }

    .room-card {
        flex-basis: calc((100% - 28px) / 2.15);
        aspect-ratio: 3 / 5;
    }

    .room-caption { padding: 40px 10px 14px; }
    .room-card h3 { font-size: 16px; }
    .slider-controls { display: none; }

    .hero-scroll {
        width: 52px;
        height: clamp(88px, 26vw, 108px);
        bottom: 38px;
        bottom: max(38px, calc(env(safe-area-inset-bottom) + 22px));
    }

    .scroll-frame {
        inset: 8px 10px;
        width: 32px;
        height: calc(100% - 16px);
    }

    .scroll-chevrons {
        width: 20px;
        height: 46px;
        stroke-width: 1.6;
    }

    .hero-welcome {
        bottom: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        font-size: 10px;
        letter-spacing: .16em;
    }

    .hero-stage {
        height: auto;
    }

    .hero-stage::before {
        content: "";
        display: block;
        padding-top: 100%;
    }

    .hero {
        height: auto;
        aspect-ratio: 1;
    }

    .hero-picture {
        height: auto;
        aspect-ratio: 1;
    }

    .hero-picture img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
    }
}

/* ========================================
   PHONE
   ======================================== */

@media (max-width: 600px) {
    .contact-section { padding: 54px 24px; }
    .contact-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-intro { text-align: center; }
    .contact-intro .section-label { text-align: center; }
    .contact-intro h2 { font-size: clamp(23px, 6.5vw, 30px); text-wrap: balance; }
    .contact-phone { align-items: center; }
    .contact-reception { flex-direction: column; gap: 6px; margin: 24px auto 0; }
    .contact-details { border-right: 0; border-top: 1px solid #d7bb8833; padding: 28px 0 0; }
    .contact-address { text-align: right; }
    .contact-socials { flex-direction: column; gap: 24px; }
    .intro-section {
        padding: 80px 26px 95px;
    }

    .intro-heading h1 {
        font-size: clamp(36px, 9vw, 54px);
        line-height: 1.55;
    }

    .intro-description p {
        line-height: 2.4;
    }

    .rooms-section {
        padding: 32px 20px 38px;
    }

    .section-top {
        margin-bottom: 22px;
        gap: 16px;
    }



    .experience-section {
        padding: 56px 24px;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 32px 28px max(104px, calc(env(safe-area-inset-bottom) + 84px));
    }
    .site-footer .footer-logo { text-indent: .18em; }
    .site-footer p { margin: 14px 0 0; line-height: 2; }
    .site-footer > a { padding: 10px 0; }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

:where(a, button):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .city-section { height: auto; clip-path: none; }
    .city-image { position: relative; top: auto; z-index: auto; height: auto; }
    html,
    .rooms-track {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
