/* =========================================================
   JJ ROYAL RESIDENCY
   COMPLETE RESPONSIVE STYLE SHEET
========================================================= */

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

:root {
    --dark: #111210;
    --dark-2: #171815;
    --cream: #f4f1e9;
    --paper: #faf8f3;
    --gold: #c9a96a;
    --gold-light: #d9bd83;
    --text: #171715;
    --muted: #77736b;
    --line: rgba(20, 20, 18, 0.14);
    --white-line: rgba(255, 255, 255, 0.14);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    font-family: "DM Sans", sans-serif;

    background: var(--cream);
    color: var(--text);
}

p {
    font-size: 18px;
    line-height: 1.8;
}

body,
main,
section,
header,
footer {
    min-width: 0;
}

body.loading,
body.lightbox-open {
    overflow: hidden;
}

body,
a,
button {
    -webkit-tap-highlight-color: transparent;
}

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

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

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

button {
    border: 0;
}

section,
header,
footer,
main,
nav,
div,
img {
    max-width: 100%;
}

/* =========================================================
   LOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: #10110f;
    color: white;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    position: relative;

    width: clamp(150px, 18vw, 220px);
    aspect-ratio: 1;
    height: auto;

    display: grid;
    place-items: center;

    margin-bottom: 25px;
}

.loader-ring {
    position: absolute;
    inset: 5px;

    border: 1px solid var(--gold);
    border-radius: 50%;

    animation: spin 5s linear infinite;
}

.loader-ring::after {
    content: "";

    position: absolute;
    inset: 15px;

    border: 1px solid rgba(201, 169, 106, 0.35);
    border-radius: 50%;
}

.loader-jj {
    color: var(--gold);

    font:
        400 clamp(64px, 7vw, 92px) "Playfair Display",
        serif;

    line-height: 1;
}

.loader h2,
.loader-title {
    font-size: 21px;
    letter-spacing: 5px;
}

.loader>span {
    margin-top: 6px;

    color: var(--gold);

    font-size: 9px;
    letter-spacing: 6px;
}

.loader>small {
    margin-top: 17px;

    color: #888;

    font-size: 8px;
    letter-spacing: 3px;
}

.loader-line {
    width: min(260px, 72vw);
    height: 1px;

    margin-top: 35px;

    background: #333;
}

.loader-line span {
    display: block;

    width: 0;
    height: 100%;

    background: var(--gold);

    transition: width 0.1s linear;
}

.loader-number {
    width: min(260px, 72vw);

    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: #777;
    font-size: 10px;
    letter-spacing: 2px;
}

.loader-number b {
    color: white;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 3000;

    height: 88px;

    padding: 0 6vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: white;

    transition:
        height 0.4s ease,
        background 0.4s ease,
        backdrop-filter 0.4s ease;
}

.header.scrolled {
    height: 72px;

    background: rgba(17, 18, 16, 0.94);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

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

    flex-shrink: 0;
}

.logo-circle {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;

    font:
        400 20px "Playfair Display",
        serif;
}

.logo-text strong {
    display: block;

    font-size: 12px;
    letter-spacing: 3px;
}

.logo-text small {
    display: block;

    margin-top: 3px;

    color: var(--gold);

    font-size: 8px;
    letter-spacing: 4px;
}

/* =========================================================
   DESKTOP NAV
========================================================= */

.nav {
    display: flex;

    gap: 25px;

    margin-left: auto;
    margin-right: 30px;
}

.nav a {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 1px;

    background: white;

    transition: width 0.3s ease;
}

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

/* =========================================================
   HEADER BUTTON
========================================================= */

.header-button {
    padding: 11px 20px;

    border: 1px solid rgba(255, 255, 255, 0.4);

    background: white;
    color: #111;

    font-size: 12px;
    letter-spacing: 2px;

    transition: 0.3s ease;

    white-space: nowrap;
}

.header-button:hover {
    background: var(--gold);
    color: white;
}

.header-button span {
    margin-left: 10px;
    color: var(--gold);
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
    position: relative;

    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

    cursor: pointer;

    z-index: 3001;
}

.menu-button span {
    position: absolute;

    left: 9px;

    width: 24px;
    height: 1px;

    background: white;

    transition: 0.3s ease;
}

.menu-button span:first-child {
    top: 17px;
}

.menu-button span:last-child {
    top: 25px;
}

.menu-button.open span:first-child {
    top: 21px;

    transform: rotate(45deg);
}

.menu-button.open span:last-child {
    top: 21px;

    transform: rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 2500;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    padding: 110px 8vw 40px;

    background: var(--dark);
    color: white;

    transform: translateY(-100%);

    transition: transform 0.6s ease;

    overflow-y: auto;

    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu-inner {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.mobile-menu-inner>small {
    margin-bottom: 30px;

    color: var(--gold);

    font-size: 9px;
    letter-spacing: 3px;
}

.mobile-menu-inner>a {
    padding: 13px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    color: white;

    font:
        400 45px "Playfair Display",
        serif;

    transition: color 0.3s ease;
}

.mobile-menu-inner>a:hover {
    color: var(--gold);
}

.mobile-menu-inner em {
    margin-right: 15px;

    color: var(--gold);

    font:
        10px "DM Sans",
        sans-serif;

    font-style: normal;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.08);

    animation: heroZoom 12s ease forwards;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.18;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.74),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.48));
}

.hero-content {
    position: relative;

    z-index: 3;

    width: 100%;
    max-width: 850px;

    margin-left: 8vw;
    margin-top: 50px;
}

.location-label {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #d9d0bd;

    font-size: 9px;
    letter-spacing: 3px;
}

.location-label span {
    width: 30px;
    height: 1px;

    background: var(--gold);
}

.hero h1 {
    font:
        400 clamp(60px, 8vw, 115px) / 0.9 "Playfair Display",
        serif;

    letter-spacing: -4px;
}

.hero h1 span {
    display: block;
}

.hero h1 em {
    color: #d8bd83;
}

.hero-content>p {
    max-width: 540px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 16px 21px;
    font-size: 12px;
    letter-spacing: 2px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button span {
    margin-left: 18px;
}

.primary-button {
    background: var(--gold);
    color: white;
}

.primary-button:hover {
    background: #b89454;
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.4);

    color: white;
}

.secondary-button:hover {
    background: white;
    color: #111;
}

/* =========================================================
   HERO WEATHER
========================================================= */

.hero-weather {
    position: absolute;

    right: 7vw;
    bottom: 13vh;

    z-index: 3;

    text-align: right;
}

.hero-weather strong {
    display: block;

    font:
        400 40px "Playfair Display",
        serif;
}

.hero-weather span {
    color: #aaa;

    font-size: 8px;
    letter-spacing: 2px;
}

/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    position: absolute;

    left: 8vw;
    right: 7vw;
    bottom: 30px;

    z-index: 3;

    display: flex;
    justify-content: space-between;

    color: #aaa;

    font-size: 8px;
    letter-spacing: 2px;
}

/* =========================================================
   MIST
========================================================= */

.mist {
    position: absolute;

    z-index: 2;

    width: 50vw;
    height: 100px;

    bottom: 5%;
    left: -10%;

    background: rgba(255, 255, 255, 0.08);

    filter: blur(30px);

    border-radius: 50%;

    animation: mistMove 8s infinite alternate;
}

.mist-two {
    left: auto;
    right: -20%;

    animation-delay: 2s;
}

/* =========================================================
   COMMON SECTION
========================================================= */

.section {
    width: 100%;

    overflow: hidden;

    padding: 125px 8vw;
}

.section-label,
.section-title>div>span,
.about-content>span,
.contact-title>span,
.location-content>span,
.services-title>span {
    color: #a58a59;
	text-decoration: underline;
    font-size: 12px;
    letter-spacing: 3px;
}

/* =========================================================
   EXPERIENCE
========================================================= */

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

.experience-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap: 10vw;
}

.experience h2,
.section-title h2,
.about-content h2,
.contact-title h2,
.location-content h2 {
    margin-top: 18px;

    font:
        400 clamp(45px, 6vw, 80px) / 0.98 "Playfair Display",
        serif;

    letter-spacing: -2px;
}

.experience h2 em,
.section-title h2 em,
.about-content h2 em,
.contact-title h2 em,
.location-content h2 em,
.services-title h2 em {
    color: #a58a59;
}

.experience-text {
    padding-top: 25px;
}

.experience-text p {
    margin-bottom: 20px;

    color: #706d66;

    font-size: 18px;
    line-height: 1.8;
}

/* =========================================================
   ROOMS
========================================================= */

.rooms {
    background: var(--dark-2);
    color: white;
}

.section-title {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 55px;
}

.section-title>p {
    max-width: 450px;

    color: #888;

    font-size: 18px;
    line-height: 1.8;
}

.rooms-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.room-card {
    position: relative;

    min-width: 0;

    transition: transform 0.4s ease;
}

.room-card:hover {
    transform: translateY(-7px);
}

.room-image {
    position: relative;

    width: 100%;
    height: 450px;

    overflow: hidden;

    background: #222;
}

.room-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 1s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.08);
}

.room-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(transparent 20%,
            rgba(0, 0, 0, 0.9));
}

.room-number {
    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 2;

    font-size: 9px;
    letter-spacing: 2px;
}

.room-info {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    z-index: 2;
}

.room-info small {
    color: #d0b47a;
    font-size: 15px;
    letter-spacing: 3px;
}

.room-info h3 {
    margin: 7px 0;

    font:
        400 38px "Playfair Display",
        serif;
}

.room-info p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.7;
}

.room-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: #bbb;
    font-size: 10px;
    letter-spacing: 1px;
}

.room-meta i {
    width: 3px;
    height: 3px;

    flex-shrink: 0;

    background: var(--gold);

    border-radius: 50%;
}

/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--cream);
}

.services-title {
    max-width: 850px;

    margin-bottom: 60px;
}

.services-title h2 {
    margin-top: 18px;

    font:
        400 clamp(45px, 6vw, 78px) / 0.98 "Playfair Display",
        serif;

    letter-spacing: -2px;
}

.services-title p {
    max-width: 580px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.8;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-height: 320px;

    padding: 35px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background: #ebe6dc;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    background: #e4ddcf;
}

.service-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;
}

.service-number {
    color: #a58a59;

    font-size: 8px;
    letter-spacing: 2px;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(165, 138, 89, 0.35);
    border-radius: 50%;

    font-size: 23px;
}

.service-card h3 {
    margin-top: 30px;

    font:
        400 28px "Playfair Display",
        serif;
}

.service-card p {
    max-width: 300px;

    margin-top: 15px;

    color: #777;

    font-size: 18px;
    line-height: 1.8;
}

.service-price {
    display: block;

    margin-top: 25px;

    color: #a58a59;

    font:
        500 23px "Playfair Display",
        serif;
}

.service-note {
    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 7px;
    letter-spacing: 2px;
}

.service-tag {
    display: inline-block;

    margin-top: 25px;
    padding: 7px 10px;

    border: 1px solid rgba(165, 138, 89, 0.35);

    color: #a58a59;

    font-size: 10px;
    letter-spacing: 2px;
}

/* =========================================================
   STATEMENT
========================================================= */

.statement {
    position: relative;

    width: 100%;
    height: 70vh;
    min-height: 500px;

    display: grid;
    place-items: center;

    overflow: hidden;

    color: white;
}

.statement-background {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.statement-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.58);
}

.statement-content {
    position: relative;

    z-index: 2;

    padding: 0 20px;

    text-align: center;
}

.statement-content>span {
    color: #d0c3a5;

    font-size: 9px;
    letter-spacing: 3px;
}

.statement-content h2 {
    margin-top: 20px;

    font:
        400 clamp(55px, 8vw, 105px) / 0.95 "Playfair Display",
        serif;
}

.statement-content em {
    display: block;

    color: #d7bf8d;
}

/* =========================================================
   GALLERY
========================================================= */

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

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-auto-rows: 250px;

    gap: 15px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    background: #ddd;

    cursor: pointer;

    touch-action: manipulation;

    user-select: none;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: brightness(0.72);

    transform: scale(1.03);

    transition:
        transform 0.8s ease,
        filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.09);
    filter: brightness(0.88);
}

.gallery-caption {
    position: absolute;

    left: 20px;
    bottom: 18px;

    z-index: 2;

    color: white;

    font-size: 9px;
    letter-spacing: 2px;

    opacity: 1;
}

.gallery-empty {
    grid-column: 1 / -1;

    padding: 80px 20px;

    text-align: center;

    border: 1px dashed #bbb;
}

.gallery-empty h3 {
    margin-bottom: 10px;

    font:
        400 32px "Playfair Display",
        serif;
}

.gallery-empty p {
    color: #777;
}

/* =========================================================
   FULLSCREEN LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;

    z-index: 999999;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 55px 70px;

    background: rgba(0, 0, 0, 0.97);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

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

.gallery-lightbox>img {
    display: block;

    width: auto;
    height: auto;

    max-width: 90vw;
    max-height: 86vh;

    object-fit: contain;

    border-radius: 4px;

    user-select: none;
    -webkit-user-select: none;

    transform: scale(0.92);

    transition: transform 0.4s ease;
}

.gallery-lightbox.active>img {
    transform: scale(1);
}

/* =========================================================
   LIGHTBOX CLOSE
========================================================= */

.gallery-lightbox-close {
    position: absolute;

    top: 22px;
    right: 25px;

    z-index: 20;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, 0.95);
    color: #111;

    border-radius: 50%;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.gallery-lightbox-close:hover {
    transform: rotate(90deg);
    background: var(--gold);
    color: white;
}

/* =========================================================
   LIGHTBOX PREVIOUS / NEXT
========================================================= */

.gallery-prev,
.gallery-next {
    position: absolute;

    top: 50%;

    z-index: 20;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.4);

    color: white;

    font-size: 22px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.gallery-prev {
    left: 25px;
}

.gallery-next {
    right: 25px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--gold);
}

.gallery-prev:active {
    transform: translateY(-50%) scale(0.9);
}

.gallery-next:active {
    transform: translateY(-50%) scale(0.9);
}

/* =========================================================
   LIGHTBOX CAPTION
========================================================= */

.gallery-lightbox-caption {
    position: absolute;

    left: 30px;
    bottom: 25px;

    z-index: 10;

    max-width: 65%;

    color: white;

    font-size: 9px;
    letter-spacing: 3px;

    text-transform: uppercase;
}

/* =========================================================
   LIGHTBOX COUNTER
========================================================= */

.gallery-counter {
    position: absolute;

    right: 30px;
    bottom: 25px;

    z-index: 10;

    color: #aaa;

    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================================================
   ABOUT
========================================================= */

.about {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9vw;

    align-items: center;

    background: #eee9df;
}

.about-image {
    width: 100%;
    height: 600px;

    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.03);

    transition: transform 1s ease;
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-content p {
    max-width: 540px;

    margin-top: 25px;

    color: #706d66;

    font-size: 18px;
    line-height: 1.8;
}

.stats {
    display: flex;

    gap: 45px;

    margin-top: 45px;
    padding-top: 25px;

    border-top: 1px solid var(--line);
}

.stats strong {
    display: block;
    font:
        400 50px "Playfair Display",
        serif;
}

.stats small {
    color: #888;

    font-size: 7px;
    letter-spacing: 2px;
}

/* =========================================================
   LOCATION
========================================================= */

.location {
    width: 100%;

    min-height: 600px;

    padding: 100px 9vw;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 70px;

    background: #161714;

    color: white;
}

.location-content {
    max-width: 750px;
}

.location-content p {
    margin: 25px 0;

    color: #999;

    font-size: 18px;
    line-height: 1.8;
}

.location-content a {
    display: inline-block;

    padding-bottom: 9px;

    border-bottom: 1px solid #666;

    font-size: 9px;
    letter-spacing: 2px;
}

.location-content a span {
    margin-left: 25px;

    color: var(--gold);
}

.location-circle {
    position: relative;

    width: 360px;
    height: 360px;

    flex-shrink: 0;

    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(201, 169, 106, 0.3);

    border-radius: 50%;

    animation:
        spin 18s linear infinite;
}

.orbit.one {
    inset: 15px;
}

.orbit.two {
    inset: 65px;

    animation-direction: reverse;
    animation-duration: 12s;
}

.location-logo {
    width: 100px;
    height: 100px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    border-radius: 50%;

    color: var(--gold);

    font:
        400 32px "Playfair Display",
        serif;
}

/* =========================================================
   CONTACT
========================================================= */

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

.contact-title {
    max-width: 850px;

    margin:
        0 auto 60px;

    text-align: center;
}

.contact-title h2 {
    margin-bottom: 25px;
}

.contact-title p {
    color: #777;

    font-size: 18px;
    line-height: 1.8;
}

.contact-grid {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}

.contact-card {
    min-width: 0;
    min-height: 220px;

    padding: 38px;

    background: #ebe6dc;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    overflow-wrap: anywhere;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    background: #e4ddcf;
}

.contact-card small {
    display: block;

    margin-bottom: 15px;

    color: #a58a59;
	text-decoration: underline;
    font-size: 15px;
    letter-spacing: 2px;
}

.contact-card a,
.contact-card address {
    font:
        400 40px / 1.6 "Playfair Display",
        serif;

    font-style: normal;

    overflow-wrap: anywhere;
}

.contact-card a {
    display: block;

    color: #580808;
}

.contact-card a+a {
    margin-top: 6px;
}

.contact-card address {
    width: 100%;
}

.contact-card .contact-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;

    font:
        600 9px / 1.4 "DM Sans",
        sans-serif !important;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* These rules keep a contact form aligned when it is present. */

.contact-form {
    width: 100%;
    display: grid;
    gap: 18px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form .form-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--text);
    outline: none;
    resize: vertical;
}

.contact-form textarea {
    min-height: 145px;
}

.google-map {
    width: 100%;
    max-width: 1100px;
    margin: 60px auto 0;
    overflow: hidden;
    border: 1px solid rgba(20, 20, 18, 0.14);
    background: #ddd;
}

.google-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    padding:
        70px 8vw 25px;

    background: #111210;

    color: white;
}

.footer-main {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 55px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 13px;
}

.footer-logo {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border: 1px solid #8f7750;

    border-radius: 50%;

    color: var(--gold);

    font:
        400 23px "Playfair Display",
        serif;
}

.footer-brand strong {
    display: block;

    font-size: 11px;
    letter-spacing: 3px;
}

.footer-brand small {
    display: block;

    margin-top: 4px;

    color: var(--gold);

    font-size: 8px;
    letter-spacing: 3px;
}

.footer-main p {
    color: #777;

    font-size: 15px;
}

.back-top {
    color: #aaa;

    font-size: 10px;
    letter-spacing: 2px;

    transition: color 0.3s ease;
}

.back-top:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid #292a27;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #666;

    font-size: 8px;
    letter-spacing: 1.5px;
}

/* =========================================================
   VISITOR COUNTER (FLIP / ODOMETER STYLE)
========================================================= */

.footer-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.counter-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 500;
}

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #080808;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #222421;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
}

.counter-digit {
    position: relative;
    width: 26px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #3c3f43 0%, #1e2023 48%, #0d0e10 50%, #212326 100%);
    color: #ffffff;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    border-radius: 4px;
    border: 1px solid #484b50;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Mechanical odometer flip seam across the digit tile middle */
.counter-digit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #000000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* Developer Credit */

.developer-credit {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #555555;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.developer-credit a {
    color: var(--gold);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.developer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.developer-credit .credit-email {
    color: #777777;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.developer-credit .credit-email:hover {
    color: var(--gold);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

/* =========================================================
   IMAGE ERROR
========================================================= */

.image-error {
    opacity: 0.4;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes heroZoom {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

@keyframes mistMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100px);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .header {
        padding: 0 4vw;
    }

    .nav {
        gap: 18px;
        margin-right: 20px;
    }

    .hero-content {
        margin-left: 4vw;
    }

    .location,
    .section {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    footer {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .hero-weather {
        right: 4vw;
    }

    .hero-bottom {
        left: 4vw;
        right: 4vw;
    }

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

    .room-image {
        height: 430px;
    }

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

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

/* =========================================================
   SMALL LAPTOP / TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav,
    .header-button {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .header {
        padding: 0 5vw;
    }

    .experience-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

    .about {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .location {
        gap: 50px;
    }

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

    .gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }

    /* HEADER */

    .header {
        height: 72px;

        padding: 0 6vw;
    }

    .header.scrolled {
        height: 65px;
    }

    .logo {
        gap: 8px;
    }

    .logo-circle {
        width: 38px;
        height: 38px;

        font-size: 17px;
    }

    .logo-text strong {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .logo-text small {
        font-size: 7px;

        letter-spacing: 3px;
    }

    .menu-button {
        display: block;
    }

    /* MOBILE MENU */

    .mobile-menu {
        padding:
            95px 7vw 30px;
    }

    .mobile-menu-inner>a {
        font-size:
            clamp(30px, 10vw, 20px);
    }

    /* HERO */

    .hero {
        min-height: 640px;

        height:
            calc(var(--vh, 1vh) * 100);
    }

    .hero-content {
        width: auto;
        max-width: 100%;

        margin:
            30px 6vw 0;
    }

    .location-label {
        margin-bottom: 20px;

        font-size: 10px;
        letter-spacing: 2px;
    }

    .location-label span {
        width: 20px;
    }

    .hero h1 {
        font-size:
            clamp(52px,
                15vw,
                75px);

        line-height: 0.92;

        letter-spacing: -3px;
    }

    .hero-content>p {
        max-width: 330px;
        margin-top: 25px;
        font-size: 18px;
        line-height: 1.8;
		text-align: justify;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 25px;
    }

    .button {
        width: 190px;
        padding: 15px 17px;
        font-size: 12px;
    }

    .hero-weather {
        display: none;
    }

    .hero-bottom {
        left: 6vw;
        right: 6vw;

        bottom: 20px;

        font-size: 7px;
    }

    /* COMMON */

    .section {
        width: 100%;

        padding:
            80px 6vw;
    }

    .experience h2,
    .section-title h2,
    .about-content h2,
    .contact-title h2,
    .location-content h2,
    .services-title h2 {
        font-size:
            clamp(42px,
                12vw,
                60px);

        line-height: 1;

        letter-spacing: -1px;
    }

    /* EXPERIENCE */

    .experience-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .experience-text {
        padding-top: 0;
    }

    .experience-text p {
        font-size: 15px;
        line-height: 1.9;
		text-align: justify;
    }

    /* SECTION TITLE */

    .section-title {
        display: block;

        margin-bottom: 40px;
    }

    .section-title>p {
        max-width: 100%;

        margin-top: 20px;

        font-size: 18px;
    }

    /* ROOMS */

    .rooms-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .room-card {
        width: 100%;

        min-width: 0;

        margin: 0;
    }

    .room-image {
        width: 100%;

        height: 430px;
    }

    .room-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .room-info {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .room-info h3 {
        font-size: 35px;
    }

    .room-info p {
        font-size: 16px;
    }

    .room-meta {
        gap: 8px;
		text-decoration: bold;
        font-size: 15px;
    }

    /* SERVICES */

    .services-title {
        width: 100%;
        margin-bottom: 40px;
    }

    .services-title h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .services-title p {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.8;
    }

    .services-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        width: 100%;
        min-height: 0;
        padding: 26px 22px;
    }

    .service-top {
        min-height: 48px;
    }

    .service-card h3 {
        max-width: 100%;
        margin-top: 24px;
        overflow-wrap: anywhere;
    }

    .service-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .service-price {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .service-tag {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .service-card h3 {
        font-size: 26px;
    }

    .service-price {
        font-size: 21px;
    }

    .service-icon {
        width: 48px;
        height: 48px;

        font-size: 21px;
    }

    /* STATEMENT */

    .statement {
        height: 55vh;

        min-height: 400px;
    }

    .statement-content {
        padding: 0 6vw;
    }

    .statement-content h2 {
        font-size:
            clamp(50px,
                14vw,
                75px);
    }

    .statement-content>span {
        font-size: 7px;

        letter-spacing: 2px;
    }

    /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 260px;

        gap: 10px;
    }

    .gallery-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        min-height: 250px;
    }

    .gallery-caption {
        left: 15px;
        bottom: 15px;

        font-size: 8px;
    }

    /* =====================================================
       FULLSCREEN LIGHTBOX MOBILE
    ===================================================== */

    .gallery-lightbox {
        padding:
            60px 10px 55px;
    }

    .gallery-lightbox>img {
        width: 96vw;

        max-width: 96vw;

        max-height: 78vh;

        object-fit: contain;
    }

    .gallery-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 26px;
    }

    .gallery-prev,
    .gallery-next {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-lightbox-caption {
        left: 15px;
        bottom: 18px;

        max-width: 60%;

        font-size: 7px;

        letter-spacing: 2px;
    }

    .gallery-counter {
        right: 15px;
        bottom: 18px;

        font-size: 7px;
    }

    /* ABOUT */

    .about {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

    .about-content p {
        font-size: 18px;
		text-align: justify;
        line-height: 1.9;
    }

    .stats {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;

        margin-top: 35px;
    }

    .stats strong {
        font-size: 50px;
    }

    .stats small {
        font-size: 12px;

        letter-spacing: 1px;
    }

    /* LOCATION */

    .location {
        min-height: auto;

        padding:
            80px 6vw;

        display: block;
    }

    .location-circle {
        width: 270px;
        height: 270px;

        margin:
            60px auto 0;
    }

    .location-logo {
        width: 85px;
        height: 85px;

        font-size: 27px;
    }

    /* CONTACT */

    .contact-title {
        margin-bottom: 40px;
    }

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

        gap: 10px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    .contact-card a,
    .contact-card address {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .google-map {
        margin-top: 40px;
    }

    .google-map iframe {
        height: 320px;
    }

    /* FOOTER */

    footer {
        padding:
            55px 6vw 20px;
    }

    .footer-main {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding-bottom: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: center;

        gap: 16px;

        line-height: 1.6;

        text-align: center;
    }

    /* LOADER */

    .loader-logo {
        width: clamp(150px, 42vw, 180px);
        height: auto;
    }

    .loader-jj {
        font-size: clamp(64px, 16vw, 76px);
    }

    .loader h2 {
        font-size: 18px;

        letter-spacing: 4px;
    }

    .loader>span {
        font-size: 12px;
        letter-spacing: 4px;
    }

    .loader-line,
    .loader-number {
        width: min(260px, 72vw);
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 50px;
    }

    .hero-content>p {
        font-size: 11px;
    }

    .button {
        width: 175px;
    }

    .room-image {
        height: 400px;
    }

    .room-info h3 {
        font-size: 31px;
    }

    .stats {
        gap: 10px;
    }

    .stats strong {
        font-size: 26px;
    }

    .location-circle {
        width: 240px;
        height: 240px;
    }

    .gallery-lightbox>img {
        max-height: 75vh;
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;
    }

    .gallery-prev,
    .gallery-next {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}