/* =============================================
   AURORA HOUSE - Premium Guest House Website
   ============================================= */

:root {
    --ink: #101215;
    --ink-2: #171a1f;
    --ink-3: #24272d;
    --ivory: #f7f1e8;
    --paper: #fffaf2;
    --mist: #d9e2df;
    --pine: #29463c;
    --pine-2: #3d6b5d;
    --wine: #7d3240;
    --brass: #c7a15c;
    --brass-2: #e3c982;
    --text: #27231d;
    --muted: #766f64;
    --white: #ffffff;
    --white-80: rgba(255,255,255,0.8);
    --white-60: rgba(255,255,255,0.6);
    --white-20: rgba(255,255,255,0.2);
    --white-10: rgba(255,255,255,0.1);
    --shadow: 0 24px 70px rgba(16, 18, 21, 0.24);
    --soft-shadow: 0 14px 40px rgba(16, 18, 21, 0.12);
    --radius: 8px;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    scrollbar-color: var(--brass) var(--ink);
    scrollbar-width: thin;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

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

svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
    position: relative;
    scroll-margin-top: 92px;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--ivory);
    transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-mark {
    display: grid;
    gap: 18px;
    justify-items: center;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.preloader-mark span {
    width: 54px;
    height: 54px;
    border: 1px solid var(--brass);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 20px 0;
    color: var(--white);
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

#header.scrolled {
    padding: 10px 0;
    background: rgba(16, 18, 21, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}

.navbar {
    width: min(1240px, calc(100% - 40px));
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--brass-2);
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo-copy {
    display: grid;
    line-height: 1.1;
}

.logo-copy strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.logo-copy em {
    color: var(--white-60);
    font-size: 0.62rem;
    font-style: normal;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-link {
    color: var(--white-80);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brass-2);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::after,
.btn::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -125%;
    width: 70%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s var(--ease);
}

.nav-cta:hover::after,
.btn:hover::after {
    left: 135%;
}

.nav-cta {
    padding: 0 24px;
    background: var(--brass);
    color: var(--ink);
}

.nav-cta:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(199, 161, 92, 0.28);
}

.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 90px 38px;
    color: var(--ivory);
    background: rgba(16, 18, 21, 0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--ivory);
}

.hero {
    min-height: 86svh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    padding: 86px 0 20px;
}

.hero-media,
.hero-shade,
.hero-noise {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroImageDrift 16s var(--ease) infinite alternate;
}

@keyframes heroImageDrift {
    to { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
}

.hero-copy {
    animation: heroCopySettle 1.25s var(--ease) both;
}

.availability-panel {
    animation: bookingPanelSettle 1.15s var(--ease) 0.22s both;
}

@keyframes heroCopySettle {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes bookingPanelSettle {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.97);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(12,15,17,0.9) 0%, rgba(12,15,17,0.63) 45%, rgba(12,15,17,0.22) 100%),
        linear-gradient(0deg, rgba(12,15,17,0.86) 0%, rgba(12,15,17,0.08) 60%);
}

.hero-noise {
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 90px 90px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: end;
}

.hero-copy {
    max-width: 760px;
    padding-bottom: 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--pine-2);
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-label span {
    width: 42px;
    height: 1px;
    background: currentColor;
    transform-origin: left center;
    animation: labelLineGlow 2.8s ease-in-out infinite;
}

@keyframes labelLineGlow {
    0%, 100% {
        transform: scaleX(0.65);
        opacity: 0.55;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

.hero-label {
    color: var(--brass-2);
}

.hero-title {
    max-width: 780px;
    font-family: var(--font-heading);
    font-size: 4.75rem;
    line-height: 0.94;
    font-weight: 800;
}

.hero-text {
    max-width: 650px;
    margin-top: 18px;
    color: var(--white-80);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.btn {
    padding: 0 26px;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--brass);
    color: var(--ink);
}

.btn-glass {
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.26);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.btn-glass:hover {
    border-color: var(--brass);
    color: var(--brass-2);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.availability-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: var(--radius);
    background: rgba(16, 18, 21, 0.58);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.panel-heading {
    display: grid;
    gap: 2px;
    margin-bottom: 4px;
}

.panel-heading span {
    color: var(--brass-2);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.panel-heading strong {
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

label {
    display: grid;
    gap: 8px;
}

label span {
    color: var(--white-60);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius);
    padding: 12px 14px;
    outline: none;
    color: var(--white);
    background: rgba(255,255,255,0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

select option {
    background: var(--ink-2);
    color: var(--white);
}

textarea {
    min-height: 116px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(199,161,92,0.16);
    background: rgba(255,255,255,0.12);
}

.hero-metrics {
    display: none;
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 40px));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}

.hero-metrics div {
    min-height: 96px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 20px 26px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-metrics div:last-child {
    border-right: 0;
}

.hero-metrics strong {
    font-family: var(--font-heading);
    color: var(--brass-2);
    font-size: 2rem;
    line-height: 1;
}

.hero-metrics span {
    color: var(--white-60);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.category-rail {
    overflow: hidden;
    background: var(--pine);
    color: var(--ivory);
    padding: 22px 0;
}

.rail-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    animation: railScroll 34s linear infinite;
}

.rail-track span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    white-space: nowrap;
}

.rail-track span::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 28px;
    background: var(--brass);
    transform: rotate(45deg);
    vertical-align: middle;
}

@keyframes railScroll {
    to { transform: translateX(-50%); }
}

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

.story-grid,
.experience-grid,
.booking-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(199,161,92,0.38);
    border-radius: var(--radius);
    transform: translate(16px, 16px);
    pointer-events: none;
}

.story-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    clip-path: inset(9% 9% 9% 9%);
    transform: scale(1.08);
    transition: clip-path 1.15s var(--ease), transform 1.35s var(--ease), filter 1.15s ease;
}

.story-image.visible img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.section-title {
    max-width: 760px;
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1.05;
    color: var(--ink);
    font-weight: 800;
}

.section-text {
    color: var(--muted);
    font-size: 1rem;
    max-width: 620px;
}

.story-copy .section-text {
    margin-top: 22px;
}

.feature-list {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.feature-list div {
    padding: 0 0 18px 24px;
    border-left: 2px solid var(--brass);
}

.feature-list b,
.timeline b {
    display: block;
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-list span,
.timeline p {
    color: var(--muted);
    font-size: 0.94rem;
}

.rooms {
    background: var(--ivory);
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 52px;
}

.section-header .section-text {
    max-width: 420px;
}

.section-header.centered {
    display: grid;
    justify-items: center;
    text-align: center;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.room-card {
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(16,18,21,0.08);
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
    will-change: transform;
}

.room-card:hover {
    transform: translateY(-10px) scale(1.012);
    box-shadow: var(--soft-shadow);
}

.room-card.featured {
    background: var(--ink);
    color: var(--ivory);
}

.room-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    clip-path: inset(7% 7% 7% 7%);
    transform: scale(1.08);
    transition: clip-path 1.05s var(--ease), transform 1.2s var(--ease), filter 0.7s ease;
}

.room-card.visible img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.room-card:hover img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.03);
}

.room-content {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.room-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.room-meta span {
    padding: 5px 9px;
    border-radius: var(--radius);
    color: var(--pine);
    background: rgba(41,70,60,0.1);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.featured .room-meta span {
    color: var(--brass-2);
    background: rgba(255,255,255,0.08);
}

.room-card h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: inherit;
}

.room-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.featured p {
    color: var(--white-60);
}

.room-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
}

.room-bottom strong {
    font-family: var(--font-heading);
    color: var(--wine);
    font-size: 1.25rem;
}

.featured .room-bottom strong {
    color: var(--brass-2);
}

.room-bottom a {
    color: var(--pine);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured .room-bottom a {
    color: var(--brass-2);
}

.experiences {
    background: var(--paper);
    overflow: hidden;
}

.timeline {
    display: grid;
    gap: 24px;
    margin-top: 38px;
}

.timeline div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 18px;
    align-items: start;
}

.timeline span {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--brass);
    border: 1px solid rgba(199,161,92,0.45);
    font-family: var(--font-heading);
    font-weight: 800;
}

.experience-stack {
    position: relative;
    min-height: 620px;
    padding: 28px;
    border: 1px solid rgba(199,161,92,0.38);
    border-radius: var(--radius);
}

.experience-stack::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(199,161,92,0.16);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
}

.experience-stack img {
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    clip-path: inset(8% 8% 8% 8%);
    transform: scale(1.08);
    transition: clip-path 1.2s var(--ease), transform 1.35s var(--ease), filter 1.15s ease;
}

.experience-stack.visible img {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.stack-main {
    width: 78%;
    height: 470px;
    margin-left: auto;
}

.stack-float {
    position: absolute;
    left: 28px;
    bottom: 28px;
    width: 52%;
    height: 280px;
    border: 12px solid var(--paper);
}

.gallery {
    background: var(--ink);
    color: var(--ivory);
    overflow: hidden;
}

.gallery .section-title {
    color: var(--ivory);
}

.gallery .section-label {
    color: var(--brass-2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.9fr;
    grid-auto-rows: 230px;
    gap: 18px;
    position: relative;
}

.gallery-grid::before {
    content: "";
    position: absolute;
    inset: -52px 12% auto auto;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(199,161,92,0.16);
    transform: rotate(12deg);
    pointer-events: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--ink-2);
    text-align: left;
    isolation: isolate;
    min-height: 100%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.24);
    transition: transform 0.65s var(--ease), filter 0.65s ease, box-shadow 0.65s ease;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.2) 45%, transparent 70%);
    transform: translateX(-140%);
    transition: transform 0.8s var(--ease);
}

.gallery-feature {
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    clip-path: inset(10% 10% 10% 10%);
    transition: clip-path 1.1s var(--ease), transform 1.2s var(--ease), filter 1.2s ease;
}

.gallery-item.visible img {
    clip-path: inset(0 0 0 0);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16,18,21,0.02), rgba(16,18,21,0.72));
}

.gallery-caption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 2px;
    transform: translateY(8px);
    transition: transform 0.55s var(--ease);
}

.gallery-caption b {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1;
}

.gallery-caption em {
    color: var(--white-60);
    font-size: 0.78rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-index {
    position: absolute;
    z-index: 2;
    left: 20px;
    top: 18px;
    color: rgba(255,255,255,0.74);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.gallery-view {
    position: absolute;
    z-index: 2;
    right: 18px;
    top: 18px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(247,241,232,0.92);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: scale(0.78);
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.45s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(0,0,0,0.34);
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.12) contrast(1.04);
}

.gallery-item:hover::before {
    transform: translateX(140%);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover .gallery-view {
    transform: scale(1);
    opacity: 1;
}

.testimonials {
    background: var(--ivory);
}

.testimonial-shell {
    display: grid;
    justify-items: center;
    text-align: center;
}

.testimonial-slider {
    width: min(920px, 100%);
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.55s var(--ease);
}

.testimonial-card {
    min-width: 100%;
    padding: 54px 70px 46px;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(16,18,21,0.08);
}

.testimonial-card p {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.25;
}

.testimonial-card strong {
    display: block;
    margin-top: 24px;
    color: var(--wine);
}

.testimonial-card span {
    color: var(--muted);
    font-size: 0.86rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.slider-controls button,
.modal-close,
.modal-nav,
.back-to-top {
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid rgba(16,18,21,0.1);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.slider-controls button {
    width: 44px;
    height: 44px;
}

.slider-controls button:hover,
.modal-close:hover,
.modal-nav:hover,
.back-to-top:hover {
    transform: translateY(-2px);
    background: var(--brass);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(16,18,21,0.18);
    transition: width 0.25s ease, background 0.25s ease;
}

.slider-dot.active {
    width: 28px;
    background: var(--wine);
}

.booking {
    color: var(--ivory);
    background:
        linear-gradient(rgba(16,18,21,0.86), rgba(16,18,21,0.86)),
        url("assets/images/mountain-view.jpg") center / cover fixed;
}

.booking .section-title,
.booking .feature-list b {
    color: var(--ivory);
}

.booking .section-label {
    color: var(--brass-2);
}

.booking .section-text {
    color: var(--white-60);
}

.booking-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.booking-highlights span {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius);
    color: var(--white-80);
    font-size: 0.78rem;
    font-weight: 800;
}

.booking-form-wrap {
    position: relative;
}

.booking-form,
.booking-success {
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    background: rgba(16,18,21,0.34);
}

.booking-success {
    display: none;
    text-align: center;
    justify-items: center;
    padding: 54px 34px;
}

.booking-success.show {
    display: grid;
}

.booking-success strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brass-2);
}

.booking-success p {
    color: var(--white-60);
    max-width: 420px;
}

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

.contact-copy .section-text {
    margin-top: 20px;
}

.contact-location {
    display: grid;
    gap: 16px;
}

.map-frame {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(199,161,92,0.32);
    background: var(--ivory);
    box-shadow: var(--soft-shadow);
}

.map-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: saturate(0.78) contrast(1.04);
}

.contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-list a {
    display: grid;
    min-height: 130px;
    align-content: end;
    gap: 6px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--ivory);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.contact-list a:hover {
    transform: translateY(-5px);
    box-shadow: var(--soft-shadow);
}

.contact-list b {
    color: var(--wine);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.contact-list span {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer {
    color: var(--white-60);
    background: var(--ink);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 44px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brass-2);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.footer p {
    max-width: 430px;
}

.footer h3 {
    margin-bottom: 14px;
    color: var(--ivory);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer a:not(.footer-logo) {
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: var(--brass-2);
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16,18,21,0.82);
    backdrop-filter: blur(10px);
}

.modal-panel {
    position: relative;
    width: min(1160px, 96vw);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(145deg, #111418, #1c2026);
    box-shadow: 0 40px 120px rgba(0,0,0,0.58);
}

.modal-figure {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 360px;
    min-height: min(74vh, 760px);
}

.modal-image-wrap {
    min-height: min(74vh, 760px);
    background:
        radial-gradient(circle at 70% 20%, rgba(199,161,92,0.14), transparent 32%),
        #0d0f12;
    overflow: hidden;
}

.modal-image-wrap.switching img {
    opacity: 0;
    transform: scale(1.04) translateY(12px);
    filter: blur(10px);
}

.modal-panel img {
    width: 100%;
    height: 100%;
    min-height: min(74vh, 760px);
    object-fit: cover;
    background: var(--ink);
    transition: opacity 0.45s var(--ease), transform 0.65s var(--ease), filter 0.45s ease;
}

.modal-caption {
    display: grid;
    align-content: end;
    gap: 12px;
    padding: 54px 38px 118px;
    color: var(--ivory);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent 38%),
        var(--ink-2);
}

.modal-caption b {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.modal-caption em {
    color: var(--brass-2);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.modal-caption span {
    color: var(--white-60);
    font-size: 0.98rem;
}

.modal-close,
.modal-nav {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    backdrop-filter: blur(12px);
}

.modal-close {
    top: 18px;
    right: 18px;
}

.modal-nav {
    top: 50%;
    color: var(--ivory);
    background: rgba(16,18,21,0.58);
    border-color: rgba(255,255,255,0.16);
}

.modal-nav.prev {
    left: 14px;
}

.modal-nav.next {
    right: 14px;
}

.modal-counter {
    position: absolute;
    z-index: 3;
    top: 22px;
    left: 22px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--brass-2);
    background: rgba(16,18,21,0.58);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.modal-thumbs {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 24px;
    width: 330px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.modal-thumb {
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    background: transparent;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.modal-thumb.active,
.modal-thumb:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: var(--brass);
}

.floating-whatsapp,
.back-to-top {
    position: fixed;
    z-index: 800;
    right: 24px;
    width: 54px;
    height: 54px;
}

.floating-whatsapp {
    bottom: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 12px 30px rgba(37,211,102,0.35);
}

.floating-whatsapp svg {
    fill: currentColor;
    stroke: none;
    width: 26px;
    height: 26px;
}

.back-to-top {
    bottom: 88px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(46px) scale(0.985);
    filter: blur(8px);
    transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1120px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-title {
        font-size: 4.4rem;
    }

    .availability-panel {
        max-width: 720px;
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-heading,
    .availability-panel .btn {
        grid-column: 1 / -1;
    }

    .room-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-feature {
        grid-column: span 2;
    }

    .modal-figure {
        grid-template-columns: 1fr;
    }

    .modal-caption {
        padding: 24px 24px 96px;
    }

    .modal-thumbs {
        left: 24px;
        right: 24px;
        width: auto;
    }
}

@media (max-width: 860px) {
    .section {
        padding: 78px 0;
    }

    .hero {
        padding-top: 105px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-metrics,
    .story-grid,
    .experience-grid,
    .booking-grid,
    .contact-grid,
    .section-header {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        display: none;
    }

    .section-header {
        display: grid;
        align-items: start;
        gap: 18px;
    }

    .section-title {
        font-size: 2.45rem;
    }

    .experience-stack {
        min-height: auto;
    }

    .stack-main,
    .stack-float {
        position: static;
        width: 100%;
        height: auto;
        border: 0;
        margin: 0 0 14px;
        aspect-ratio: 4 / 3;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container,
    .navbar,
    .hero-inner,
    .hero-metrics,
    .footer-bottom {
        width: min(100% - 28px, 1180px);
    }

    .logo-symbol {
        width: 42px;
        height: 42px;
    }

    .logo-copy strong {
        font-size: 1rem;
    }

    .logo-copy em {
        display: none;
    }

    .hero {
        min-height: 84svh;
        padding-bottom: 24px;
    }

    .hero-title {
        font-size: 2.65rem;
        line-height: 1;
    }

    .hero-actions,
    .availability-panel,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        display: grid;
    }

    .availability-panel {
        display: none;
    }

    .room-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 240px;
    }

    .gallery-feature,
    .gallery-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .modal-panel {
        width: 100%;
        max-height: calc(100svh - 24px);
    }

    .modal-image-wrap,
    .modal-panel img {
        min-height: 48vh;
        height: 48vh;
    }

    .modal-caption {
        padding: 22px 18px 92px;
    }

    .modal-caption b {
        font-size: 1.65rem;
    }

    .modal-thumbs {
        left: 16px;
        right: 16px;
        bottom: 18px;
        gap: 6px;
    }

    .modal-thumb {
        height: 46px;
    }

    .modal-nav {
        top: 44%;
    }

    .testimonial-card {
        padding: 34px 22px 30px;
    }

    .testimonial-card p {
        font-size: 1.45rem;
    }

    .booking-form,
    .booking-success {
        padding: 20px;
    }

    .floating-whatsapp,
    .back-to-top {
        right: 16px;
    }
}

/* Premium location module override. Kept at the end so cached rendered pages
   with the same HTML structure still receive the upgraded presentation. */
.contact .contact-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(42px, 5vw, 82px);
    align-items: center;
}

.contact .contact-copy {
    position: relative;
    z-index: 2;
}

.contact .contact-copy::after {
    content: "";
    display: block;
    width: 132px;
    height: 1px;
    margin-top: 36px;
    background: linear-gradient(90deg, var(--brass), transparent);
}

.contact .contact-location {
    position: relative;
    display: grid !important;
    gap: 0 !important;
    padding: clamp(10px, 1.4vw, 16px);
    border: 1px solid rgba(199,161,92,0.34);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(247,241,232,0.5)),
        rgba(255,250,242,0.86);
    box-shadow: 0 32px 90px rgba(16,18,21,0.16);
    isolation: isolate;
}

.contact .contact-location::before {
    content: "";
    position: absolute;
    inset: -18px -16px 58px auto;
    width: 42%;
    border: 1px solid rgba(199,161,92,0.22);
    border-radius: 10px;
    transform: translate(10px, -10px);
    pointer-events: none;
    z-index: -1;
}

.contact .contact-location::after {
    content: "Location";
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 3;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255,250,242,0.84);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 38px rgba(16,18,21,0.12);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact .map-frame {
    position: relative !important;
    width: 100% !important;
    height: clamp(390px, 40vw, 540px) !important;
    min-height: 390px !important;
    display: block !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--ivory) !important;
    box-shadow: inset 0 0 0 1px rgba(16,18,21,0.08);
}

.contact .map-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 6px;
    pointer-events: none;
}

.contact .map-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16,18,21,0.06), transparent 38%, rgba(16,18,21,0.08)),
        radial-gradient(circle at 18% 18%, rgba(199,161,92,0.18), transparent 34%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.contact .map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 390px !important;
    display: block !important;
    border: 0 !important;
    filter: saturate(0.82) contrast(1.03) brightness(1.02);
}

.contact .contact-list {
    position: relative;
    z-index: 4;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px clamp(8px, 1vw, 12px) 2px;
}

.contact .contact-list a {
    position: relative;
    min-height: 116px;
    display: grid;
    align-content: end;
    gap: 5px;
    overflow: hidden;
    padding: 20px 20px 18px;
    border: 1px solid rgba(199,161,92,0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,250,242,0.92)),
        var(--paper);
    box-shadow: 0 20px 48px rgba(16,18,21,0.13);
    backdrop-filter: blur(16px);
}

.contact .contact-list a::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--brass), rgba(125,50,64,0.58));
    opacity: 0.9;
}

.contact .contact-list a:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 58px rgba(16,18,21,0.18);
}

.contact .contact-list b {
    color: var(--wine);
    font-family: var(--font-heading);
    font-size: clamp(1.12rem, 1.5vw, 1.42rem);
    line-height: 1.05;
}

.contact .contact-list span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact .map-frame,
    .contact .map-frame iframe {
        height: 390px !important;
        min-height: 390px !important;
    }
}

@media (max-width: 620px) {
    .contact .contact-location {
        padding: 8px;
    }

    .contact .contact-location::before {
        display: none;
    }

    .contact .contact-location::after {
        top: 20px;
        left: 20px;
    }

    .contact .map-frame,
    .contact .map-frame iframe {
        height: 330px !important;
        min-height: 330px !important;
    }

    .contact .contact-list {
        grid-template-columns: 1fr !important;
        margin: 12px 6px 2px;
    }

    .contact .contact-list a {
        min-height: 98px;
        padding: 18px 18px 16px;
    }
}

/* Premium room card refinement. Uses the existing rendered HTML so old dynamic
   pages immediately inherit the upgraded room presentation. */
.rooms .room-grid {
    gap: clamp(18px, 2.2vw, 28px);
    align-items: stretch;
}

.rooms .room-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(199,161,92,0.16);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,250,242,0.96)),
        var(--paper);
    box-shadow: 0 18px 48px rgba(16,18,21,0.08);
    isolation: isolate;
}

.rooms .room-card.featured {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,241,232,0.98)),
        var(--paper);
    color: var(--text);
    border-color: rgba(199,161,92,0.42);
    box-shadow: 0 28px 72px rgba(16,18,21,0.13);
}

.rooms .room-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.8s var(--ease), transform 1.15s var(--ease), filter 0.8s ease;
    pointer-events: none;
}

.rooms .room-card:nth-child(1)::before {
    background-image: url("assets/images/suite-room.jpg");
}

.rooms .room-card:nth-child(2)::before {
    background-image: url("assets/images/courtyard.jpg");
}

.rooms .room-card:nth-child(3)::before {
    background-image: url("assets/images/mountain-view.jpg");
}

.rooms .room-card:hover::before {
    opacity: 0;
    transform: scale(1.08);
    filter: saturate(1.06) contrast(1.02);
}

.rooms .room-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(180deg, rgba(16,18,21,0.02), transparent 45%, rgba(16,18,21,0.28)),
        linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.22) 48%, transparent 72%);
    opacity: 0;
    transform: translateX(-38%);
    transition: opacity 0.55s ease, transform 0.9s var(--ease);
    pointer-events: none;
}

.rooms .room-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.rooms .room-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 0.92;
    object-fit: cover;
    clip-path: inset(0);
    transform: scale(1);
    opacity: 1;
    filter: saturate(0.98) contrast(1.02);
    transition: opacity 0.42s var(--ease), transform 0.72s var(--ease), filter 0.42s ease;
}

.rooms .room-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.03);
}

.rooms .room-card.image-switching img {
    opacity: 0.24;
    transform: scale(1.055);
    filter: blur(5px) saturate(1.02) contrast(1.02);
}

.rooms .room-content {
    position: relative;
    z-index: 4;
    min-height: 292px;
    padding: 26px 26px 24px;
    align-content: start;
    background:
        linear-gradient(180deg, rgba(255,250,242,0.96), rgba(247,241,232,0.9)),
        var(--paper);
}

.rooms .room-card.featured .room-content {
    background:
        linear-gradient(180deg, rgba(255,250,242,0.98), rgba(245,237,224,0.96)),
        var(--paper);
}

.rooms .room-card.featured .room-content::before {
    content: "Most requested";
    position: absolute;
    top: -18px;
    right: 22px;
    padding: 8px 12px;
    border: 1px solid rgba(199,161,92,0.34);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255,250,242,0.92);
    box-shadow: 0 16px 38px rgba(16,18,21,0.12);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rooms .room-meta span,
.rooms .featured .room-meta span {
    color: var(--pine);
    background: rgba(41,70,60,0.08);
    border: 1px solid rgba(41,70,60,0.08);
}

.rooms .room-card h3 {
    color: var(--ink);
    font-size: clamp(1.45rem, 1.8vw, 1.72rem);
    line-height: 1.05;
}

.rooms .room-card p,
.rooms .featured p {
    color: var(--muted);
}

.rooms .room-bottom {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(16,18,21,0.08);
}

.rooms .room-bottom strong,
.rooms .featured .room-bottom strong {
    color: var(--wine);
}

.rooms .room-bottom a,
.rooms .featured .room-bottom a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--pine);
}

.rooms .room-bottom a::after {
    content: "";
    width: 28px;
    height: 1px;
    margin-left: 10px;
    background: currentColor;
    transform-origin: left center;
    transform: scaleX(0.55);
    transition: transform 0.35s var(--ease);
}

.rooms .room-card:hover .room-bottom a::after {
    transform: scaleX(1);
}

@media (max-width: 860px) {
    .rooms .room-content {
        min-height: auto;
    }
}

/* Dark luxury edition: deep evergreen/ink palette with warm hospitality accents. */
body {
    color: #e9e1d2;
    background:
        radial-gradient(circle at 12% 4%, rgba(199,161,92,0.16), transparent 34%),
        radial-gradient(circle at 86% 14%, rgba(59,107,93,0.24), transparent 36%),
        linear-gradient(180deg, #08110f 0%, #0c1715 42%, #111211 100%);
}

.section {
    background: transparent;
}

.hero {
    min-height: 90svh;
    background: #07100e;
}

.hero-media {
    background: #07100e;
}

.hero-media img {
    opacity: 1;
    filter: saturate(1.02) contrast(1.04) brightness(1.04);
    transition: opacity 1.25s var(--ease), filter 1.25s ease, transform 8s var(--ease);
    will-change: opacity, filter, transform;
}

.hero-media.is-switching img {
    opacity: 0.56;
    filter: blur(8px) saturate(0.96) contrast(1.06) brightness(0.84);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(4,9,8,0.84) 0%, rgba(4,9,8,0.5) 42%, rgba(4,9,8,0.1) 100%),
        linear-gradient(0deg, rgba(4,9,8,0.74) 0%, rgba(4,9,8,0.02) 58%);
}

.hero-noise {
    opacity: 0.12;
}

.section-title,
.room-card h3,
.feature-list b,
.timeline b,
.testimonial-card p {
    color: #f7f1e8;
}

.hero-title,
.hero-text,
.hero-label,
.hero-actions {
    text-shadow: 0 18px 46px rgba(0,0,0,0.58);
}

.section-text,
.room-card p,
.feature-list span,
.timeline p,
.testimonial-card span {
    color: rgba(233,225,210,0.68);
}

.section-label {
    color: #d8b66d;
}

.category-rail {
    background: linear-gradient(90deg, #07100e, #18382f 48%, #07100e);
    border-top: 1px solid rgba(199,161,92,0.18);
    border-bottom: 1px solid rgba(199,161,92,0.18);
}

.story,
.experiences,
.contact {
    background:
        radial-gradient(circle at 16% 12%, rgba(199,161,92,0.08), transparent 30%),
        linear-gradient(180deg, #0b1513 0%, #0f1f1b 100%);
}

.rooms,
.testimonials {
    background:
        linear-gradient(180deg, rgba(8,17,15,0.96), rgba(15,31,27,0.98)),
        #0c1715;
}

.rooms .section-header .section-text {
    color: rgba(233,225,210,0.66);
}

.story-image::before,
.experience-stack,
.contact .contact-location {
    border-color: rgba(199,161,92,0.28);
}

.story-image img,
.experience-stack img,
.gallery-item,
.room-card {
    box-shadow: 0 28px 90px rgba(0,0,0,0.36);
}

.rooms .room-card,
.rooms .room-card.featured {
    border-color: rgba(199,161,92,0.24);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028)),
        rgba(10,22,19,0.92);
    color: #e9e1d2;
    box-shadow: 0 28px 82px rgba(0,0,0,0.34);
}

.rooms .room-card.featured {
    border-color: rgba(216,182,109,0.48);
    transform: translateY(-8px);
}

.rooms .room-card h3 {
    color: #f7f1e8;
}

.rooms .room-card p,
.rooms .featured p {
    color: rgba(233,225,210,0.68);
}

.rooms .room-card:hover {
    box-shadow: 0 34px 96px rgba(0,0,0,0.48);
}

.rooms .room-content,
.rooms .room-card.featured .room-content {
    background:
        linear-gradient(180deg, rgba(14,31,27,0.96), rgba(8,17,15,0.96)),
        #0b1513;
}

.rooms .room-card.featured .room-content::before {
    color: #08110f;
    background: linear-gradient(120deg, #d8b66d, #f0d79a);
    border-color: rgba(255,255,255,0.24);
}

.rooms .room-meta span,
.rooms .featured .room-meta span {
    color: #ead7a5;
    background: rgba(216,182,109,0.1);
    border-color: rgba(216,182,109,0.18);
}

.rooms .room-bottom {
    border-top-color: rgba(233,225,210,0.1);
}

.rooms .room-bottom strong,
.rooms .featured .room-bottom strong {
    color: #f0d79a;
}

.rooms .room-bottom a,
.rooms .featured .room-bottom a {
    color: #b6d7c8;
}

.testimonial-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)),
        #0d1c18;
    border: 1px solid rgba(199,161,92,0.18);
    box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}

.testimonial-card strong {
    color: #f0d79a;
}

.slider-controls button,
.modal-close,
.back-to-top {
    color: #f7f1e8;
    background: rgba(255,255,255,0.08);
    border-color: rgba(199,161,92,0.22);
}

.slider-dot {
    background: rgba(233,225,210,0.22);
}

.slider-dot.active {
    background: #d8b66d;
}

.booking {
    background:
        linear-gradient(rgba(5,10,9,0.9), rgba(5,10,9,0.92)),
        url("assets/images/mountain-view.jpg") center / cover fixed;
}

.booking-form,
.booking-success,
.availability-panel {
    background: rgba(8,17,15,0.66);
    border-color: rgba(216,182,109,0.24);
}

.contact .contact-location {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(216,182,109,0.06)),
        rgba(8,17,15,0.88);
    box-shadow: 0 34px 96px rgba(0,0,0,0.34);
}

.contact .contact-location::after {
    color: #08110f;
    background: linear-gradient(120deg, #d8b66d, #f0d79a);
}

.contact .contact-list a {
    color: #e9e1d2;
    border-color: rgba(216,182,109,0.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
        rgba(11,21,19,0.9);
    box-shadow: 0 22px 58px rgba(0,0,0,0.32);
}

.contact .contact-list b {
    color: #f0d79a;
}

.contact .contact-list span {
    color: rgba(233,225,210,0.66);
}

.footer {
    background: #050907;
    border-top: 1px solid rgba(216,182,109,0.14);
}

.theme-toggle {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 13px 0 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    color: var(--ivory);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(216,182,109,0.5);
}

.theme-toggle i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d8b66d, #f0d79a);
    box-shadow: 0 0 18px rgba(216,182,109,0.35);
}

body.theme-light {
    color: var(--text);
    background: var(--paper);
}

body.theme-light .hero {
    background: var(--ink);
}

body.theme-light .hero-media {
    background: var(--ink);
}

body.theme-light .hero-media img {
    filter: none;
}

body.theme-light .hero-media.is-switching img {
    opacity: 0.42;
    filter: blur(8px) saturate(0.9) contrast(1.05) brightness(0.74);
}

body.theme-light .hero-shade {
    background:
        linear-gradient(90deg, rgba(12,15,17,0.9) 0%, rgba(12,15,17,0.63) 45%, rgba(12,15,17,0.22) 100%),
        linear-gradient(0deg, rgba(12,15,17,0.86) 0%, rgba(12,15,17,0.08) 60%);
}

body.theme-light .section-title,
body.theme-light .room-card h3,
body.theme-light .feature-list b,
body.theme-light .timeline b {
    color: var(--ink);
}

body.theme-light .section-text,
body.theme-light .room-card p,
body.theme-light .feature-list span,
body.theme-light .timeline p {
    color: var(--muted);
}

body.theme-light .section-label {
    color: var(--pine-2);
}

body.theme-light .hero-label {
    color: var(--brass-2);
}

body.theme-light .hero-title,
body.theme-light .hero-text,
body.theme-light .hero-label,
body.theme-light .hero-actions {
    text-shadow: none;
}

body.theme-light .story,
body.theme-light .experiences,
body.theme-light .contact {
    background: var(--paper);
}

body.theme-light .rooms,
body.theme-light .testimonials {
    background: var(--ivory);
}

body.theme-light .category-rail {
    background: var(--pine);
    border-top: 0;
    border-bottom: 0;
}

body.theme-light .story-image::before,
body.theme-light .experience-stack,
body.theme-light .contact .contact-location {
    border-color: rgba(199,161,92,0.34);
}

body.theme-light .rooms .room-card,
body.theme-light .rooms .room-card.featured {
    border-color: rgba(199,161,92,0.16);
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,250,242,0.96)),
        var(--paper);
    box-shadow: 0 18px 48px rgba(16,18,21,0.08);
}

body.theme-light .rooms .room-card.featured {
    border-color: rgba(199,161,92,0.42);
    box-shadow: 0 28px 72px rgba(16,18,21,0.13);
}

body.theme-light .rooms .room-card:hover {
    box-shadow: 0 26px 58px rgba(16,18,21,0.18);
}

body.theme-light .rooms .room-content,
body.theme-light .rooms .room-card.featured .room-content {
    background:
        linear-gradient(180deg, rgba(255,250,242,0.96), rgba(247,241,232,0.9)),
        var(--paper);
}

body.theme-light .rooms .room-card.featured .room-content::before {
    color: var(--ink);
    background: rgba(255,250,242,0.92);
    border-color: rgba(199,161,92,0.34);
}

body.theme-light .rooms .room-meta span,
body.theme-light .rooms .featured .room-meta span {
    color: var(--pine);
    background: rgba(41,70,60,0.08);
    border-color: rgba(41,70,60,0.08);
}

body.theme-light .rooms .room-bottom {
    border-top-color: rgba(16,18,21,0.08);
}

body.theme-light .rooms .room-bottom strong,
body.theme-light .rooms .featured .room-bottom strong {
    color: var(--wine);
}

body.theme-light .rooms .room-bottom a,
body.theme-light .rooms .featured .room-bottom a {
    color: var(--pine);
}

body.theme-light .testimonial-card {
    background: var(--paper);
    border-color: transparent;
    box-shadow: 0 1px 0 rgba(16,18,21,0.08);
}

body.theme-light .testimonial-card p {
    color: var(--ink);
}

body.theme-light .testimonial-card strong {
    color: var(--wine);
}

body.theme-light .testimonial-card span {
    color: var(--muted);
}

body.theme-light .booking {
    background:
        linear-gradient(rgba(16,18,21,0.86), rgba(16,18,21,0.86)),
        url("assets/images/mountain-view.jpg") center / cover fixed;
}

body.theme-light .booking-form,
body.theme-light .booking-success,
body.theme-light .availability-panel {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}

body.theme-light .contact .contact-location {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(247,241,232,0.5)),
        rgba(255,250,242,0.86);
    box-shadow: 0 32px 90px rgba(16,18,21,0.16);
}

body.theme-light .contact .contact-location::after {
    color: var(--ink);
    background: rgba(255,250,242,0.84);
}

body.theme-light .contact .contact-list a {
    color: var(--text);
    border-color: rgba(199,161,92,0.18);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,250,242,0.92)),
        var(--paper);
    box-shadow: 0 20px 48px rgba(16,18,21,0.13);
}

body.theme-light .contact .contact-list b {
    color: var(--wine);
}

body.theme-light .contact .contact-list span {
    color: var(--muted);
}

body.theme-light .slider-controls button,
body.theme-light .modal-close,
body.theme-light .back-to-top {
    color: var(--ink);
    background: var(--paper);
    border-color: rgba(16,18,21,0.1);
}

body.theme-light .slider-dot {
    background: rgba(16,18,21,0.18);
}

body.theme-light .slider-dot.active {
    background: var(--wine);
}

body.theme-light .footer {
    background: var(--ink);
    border-top: 0;
}

body.theme-light .theme-toggle {
    color: var(--ink);
    border-color: rgba(16,18,21,0.12);
    background: rgba(255,250,242,0.9);
}
