/* ==========================================================
   LUX Hotel Chiangmai – Theme
   Palette taken from the reference: deep maroon + warm white
   ========================================================== */
:root {
    --lux-red:        #7A0E1B;   /* หลัก – แดงเลือดหมู */
    --lux-red-dark:   #5C0913;   /* footer / hover */
    --lux-red-soft:   #9E2A35;
    --lux-ink:        #2A2324;   /* ตัวหนังสือหลัก */
    --lux-muted:      #6F6566;   /* ตัวหนังสือรอง */
    --lux-line:       #E7E1DE;   /* เส้นแบ่ง */
    --lux-bg:         #FFFFFF;
    --lux-bg-warm:    #FAF7F5;

    --font-serif: "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
    --font-sans:  "Open Sans", "Sarabun", system-ui, -apple-system, sans-serif;

    --header-h: 96px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-sans);
    color: var(--lux-ink);
    background: var(--lux-bg);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lux-red); outline-offset: 3px; }

.section { padding: 90px 0; }

.section-kicker {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--lux-red);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}
.section-kicker.light { color: #fff; }
.section-kicker.light::before { display: none; }

.section-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2rem, 1.4rem + 1.6vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 22px;
}
.section-text {
    color: var(--lux-muted);
    font-family: var(--font-sans);
    font-size: .95rem;
    line-height: 1.8;
    max-width: 34ch;
    margin-bottom: 28px;
}

/* Links & buttons */
.link-lux {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lux-red);
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    transition: gap .3s var(--ease);
}
.link-lux:hover { gap: 16px; color: var(--lux-red-dark); }
.link-lux.small { font-size: 10px; border-bottom: 0; padding-bottom: 0; }
.link-lux.light { color: #fff; }

.btn-lux, .btn-lux-pill, .btn-lux-outline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background-color .25s, color .25s, border-color .25s;
}
.btn-lux {
    background: var(--lux-red);
    color: #fff;
    border-radius: 0;
    padding: 16px 28px;
    border: 1px solid var(--lux-red);
}
.btn-lux:hover, .btn-lux:focus-visible { background: var(--lux-red-dark); color: #fff; }

.btn-lux-pill {
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--lux-red);
    color: #fff;
    border-radius: 50px;
    padding: 12px 24px;
}
.btn-lux-pill:hover { background: var(--lux-red-dark); color: #fff; }

.btn-lux-outline {
    border: 1px solid var(--lux-red);
    color: var(--lux-red);
    border-radius: 0;
    padding: 11px 20px;
    background: transparent;
}
.btn-lux-outline:hover { background: var(--lux-red); color: #fff; }

/* ==========================================================
   MENU / HEADER
   ========================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    transition: box-shadow .3s, height .3s;
}
/* พื้นหลังเบลอย้ายไปไว้ที่ ::before
   (ถ้าใส่ backdrop-filter ที่ .site-header โดยตรง เมนู offcanvas บนมือถือ
   จะถูกจำกัดความสูงเท่า header และรายการเมนูหายไป) */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(60, 10, 20, .08); }
.site-header .navbar { height: var(--header-h); padding: 0; }
.site-header .navbar-brand { padding: 0; margin: 0 32px 0 0; flex-shrink: 0; }

.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--lux-red);
    letter-spacing: .04em;
}
.brand-sub {
    font-size: 8.5px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--lux-red);
    margin-top: 4px;
}
.brand-light .brand-name, .brand-light .brand-sub { color: #fff; }

/* โลโก้รูปภาพ (assets/images/logo.png) */
/* โลโก้แบบซ้อน 3 บรรทัด (LUX / HOTEL / Chiangmai) – คุมความสูงไม่ให้เกิน header */
.brand-logo { display: block; height: calc(var(--header-h) - 20px); max-width: 160px; width: auto; object-fit: contain; object-position: left center; }
.offcanvas-header .brand-logo { height: 56px; }
/* footer พื้นแดง: ทำโลโก้เป็นสีขาว (ถ้ามีไฟล์โลโก้สีขาวแยก ให้เปลี่ยน src แล้วลบบรรทัด filter) */
.brand-light .brand-logo { height: 80px; filter: brightness(0) invert(1); }
@media (max-width: 767.98px) {
    .brand-light .brand-logo { height: 68px; margin: 0 auto; object-position: center; }
}

.navbar-nav .nav-link {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lux-ink);
    padding: 8px 18px !important;
    position: relative;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 18px; right: 18px; bottom: 0;
    height: 2px;
    background: var(--lux-red);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link { padding: 8px 11px !important; letter-spacing: .1em; }
    .navbar-nav .nav-link::after { left: 11px; right: 11px; }
    .site-header .navbar-brand { margin-right: 16px; }
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--lux-red); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
    border: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-line { width: 26px; height: 2px; background: var(--lux-red); }

@media (max-width: 991.98px) {
    .brand-name { font-size: 2rem; }
    .offcanvas { max-width: 320px; }
    .offcanvas-body { display: flex; flex-direction: column; gap: 24px; }
    .navbar-nav .nav-link { padding: 14px 0 !important; border-bottom: 1px solid var(--lux-line); }
    .navbar-nav .nav-link::after { display: none; }
    .btn-lux-pill { align-self: flex-start; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    height: min(92vh, 760px);
    min-height: 560px;
    margin-top: var(--header-h);
    background: var(--lux-red-dark);
    overflow: hidden;
    color: #fff;
}
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(20 8 10) 0%, rgb(20 8 10 / 44%) 55%, rgba(20, 8, 10, 0) 100%);
    pointer-events: none;
    z-index: 2;
}
.hero-content {
    text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 70px;
    z-index: 3;
}
/* กล่องพื้นหลังสีดำรองตัวหนังสือ */
.hero-box {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    max-width: 640px;
    padding: 44px 52px 40px;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-left: 3px solid var(--lux-red);
}
.hero-box .hero-title { margin-bottom: 22px; }
.hero-box .hero-rule { margin: 16px 0 28px; }

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 26px;
}
.hero-title em { font-style: italic; font-size: 1.15em; }
.hero-sub {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-sub span { margin: 0 8px; opacity: .7; }
.hero-rule { width: 36px; height: 1px; background: #fff; margin: 18px 0 32px; opacity: .8; }
.hero-video {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: none;
    border: 0;
    color: #fff;
    padding: 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    align-self: flex-start;
}
.hero-video .play {
    width: 48px; height: 48px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    transition: background .3s, color .3s;
}
.hero-video:hover .play { background: #fff; color: var(--lux-red); }

.hero-counter {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.hero-counter .bar { width: 1px; height: 32px; background: rgba(255,255,255,.7); }
.hero-counter .total { opacity: .6; }

/* ==========================================================
   BOOKING BAR
   ========================================================== */
.booking-wrap { position: relative; z-index: 5; margin-top: -60px; }
.booking-bar {
    background: #fff;
    box-shadow: 0 18px 50px rgba(60, 10, 20, .12);
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    padding: 14px 16px 14px 24px;
}
.booking-field {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    border-right: 1px solid var(--lux-line);
}
.booking-field:nth-child(4) { border-right: 0; }
.booking-field > i { font-size: 22px; color: var(--lux-ink); }
.booking-field label {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lux-muted);
    margin-bottom: 4px;
}
.booking-field input,
.booking-field select {
    border: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--lux-ink);
    background: transparent;
    width: 100%;
    cursor: pointer;
}
.booking-field input:focus, .booking-field select:focus { outline: none; }
.booking-field:focus-within { box-shadow: inset 0 -2px 0 var(--lux-red); }
.booking-bar .btn-lux { padding: 20px 30px; margin-left: 12px; }

@media (max-width: 991.98px) {
    .booking-bar { grid-template-columns: 1fr 1fr; padding: 16px; gap: 4px; }
    .booking-field { border-right: 0; border-bottom: 1px solid var(--lux-line); padding: 12px 8px; }
    .booking-bar .btn-lux { grid-column: 1 / -1; margin: 12px 0 0; }
}
@media (max-width: 575.98px) {
    .booking-wrap { margin-top: -40px; }
}

/* ==========================================================
   ROOMS
   ========================================================== */
.rooms { padding-top: 100px; }
.room-card {
    background: #fff;
    border: 1px solid var(--lux-line);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .35s var(--ease);
}
.room-card:hover { box-shadow: 0 16px 40px rgba(60, 10, 20, .10); }
.room-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lux-bg-warm); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-body { padding: 20px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.room-body p {
    font-family: var(--font-sans);
    color: var(--lux-muted);
    font-size: .86rem;
    line-height: 1.55;
    margin-bottom: 16px;
}
.room-meta {
    list-style: none;
    padding: 0;
    margin: auto 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 11px;
    color: var(--lux-muted);
}
.room-meta i { font-size: 14px; margin-right: 4px; color: var(--lux-ink); }

/* ==========================================================
   EXPERIENCE
   ========================================================== */
.experience {
    position: relative;
    padding: 36px 0;
    background: var(--lux-bg-warm);
    overflow: hidden;
}
.experience-bg {
    position: absolute;
    inset: 0 auto 0 0;
    width: 32%;
    background-size: cover;
    background-position: center;
    background-color: #C9A58B;
}
.experience-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(250, 247, 245, 0) 17%, rgba(250, 247, 245, .85) 75%, var(--lux-bg-warm) 100%);
}
.experience-text { position: relative; padding: 40px 0; }
.experience-text .section-text { font-size: 1.02rem; }

.exp-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 5;
    overflow: hidden;
    background: var(--lux-red-dark);
}
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 5, 8, .8));
}
.exp-card span {
    position: absolute;
    left: 14px; right: 14px; bottom: 16px;
    z-index: 1;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    align-items: center;
}
.exp-card:hover img { transform: scale(1.06); }

@media (max-width: 991.98px) {
    .experience-bg { width: 100%; height: 320px; position: relative; }
    .experience-bg::after { background: linear-gradient(180deg, transparent 50%, var(--lux-bg-warm)); }
    .experience { padding-top: 0; }
    .experience-text { padding: 0; }
}
@media (max-width: 575.98px) {
    .exp-card { aspect-ratio: 3 / 4; }
    .exp-card span { font-size: 8.5px; letter-spacing: .1em; left: 8px; right: 8px; }
    .exp-card span i { display: none; }
}

/* ==========================================================
   AMENITIES
   ========================================================== */
.amenities { padding: 70px 0; }
.amenity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-left: 1px solid var(--lux-line);
}
.amenity-list li {
    text-align: center;
    padding: 6px 10px;
    border-right: 1px solid var(--lux-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.amenity-list li:last-child { border-right: 0; }
.amenity-list i {
    font-size: 50px;
    color: #7a101b;
}
.amenity-list span {
    font-family: var(--font-sans);
    font-size: .85rem;
    color: var(--lux-muted);
    line-height: 1.3;
}
@media (max-width: 767.98px) {
    .amenity-list { grid-template-columns: repeat(3, 1fr); border-left: 0; row-gap: 28px; }
    .amenity-list li { border-right: 0; }
}

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery { padding: 10px 0 20px; }
.gallery-inner { max-width: 1440px; padding: 0 36px; }
.gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 0.85fr 0.95fr 0.65fr;
    gap: 4px;
    height: 360px;
}
.gallery-intro {
    background: var(--lux-red);
    color: #fff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gallery-intro .section-title { margin-bottom: 16px; }
.gallery-intro p {
    font-family: var(--font-sans);
    font-size: .9rem;
    line-height: 1.6;
    opacity: .9;
    margin-bottom: 24px;
    max-width: 30ch;
}
.gallery-intro .link-lux { align-self: flex-start; }
.gallery-item { overflow: hidden; background: var(--lux-bg-warm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 991.98px) {
    .gallery-inner { padding: 0 12px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
    .gallery-intro { grid-column: 1 / -1; }
    .gallery-item { aspect-ratio: 1; }
}

/* ==========================================================
   LOCATION
   ========================================================== */
.location { padding: 16px 0 0; overflow: hidden; }
.location-img {
    height: 100%;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-color: #C9A58B;
}
.location-info { padding: 36px 44px; }
.location-info .section-title { font-size: 1.9rem; margin-bottom: 18px; }
.location-info .address {
    display: flex;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: .95rem;
    margin-bottom: 28px;
}
.location-info .address i { color: var(--lux-red); }
.location-info .address small { display: block; color: var(--lux-muted); font-size: .9rem; margin-top: 2px; }
.location-map { height: 100%; min-height: 260px; }
.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    filter: grayscale(1) contrast(.9) brightness(1.05);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--lux-red-dark); color: #fff; padding: 36px 0 20px; }
.footer-top { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-footer .brand-name { font-size: 2.4rem; }

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
}
.footer-nav a {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .9;
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}
.footer-social { display: flex; gap: 14px; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.3); }
.footer-social a { font-size: 18px; opacity: .9; }
.footer-social a:hover { opacity: 1; }
.footer-info { display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.footer-info a:hover { text-decoration: underline; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    font-size: 10.5px;
    opacity: .8;
}
.footer-bottom p { margin: 0; }
.footer-bottom p:first-child { flex: 1; text-align: center; }
.footer-motto { letter-spacing: .14em; text-transform: uppercase; }
.footer-motto span { margin: 0 8px; }

@media (max-width: 991.98px) {
    .footer-contact { justify-content: center; }
    .footer-bottom { flex-direction: column; }
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px; height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--lux-red);
    color: #fff;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* Hero entrance (one orchestrated moment) */
.hero-box > *, .hero-content > *:not(.hero-box) { opacity: 0; transform: translateY(18px); }
.is-loaded .hero-box > *, .is-loaded .hero-content > *:not(.hero-box) { opacity: 1; transform: none; transition: opacity 1.3s var(--ease-smooth), transform 1.3s var(--ease-smooth); }
.is-loaded .hero-box > *:nth-child(2), .is-loaded .hero-content > *:not(.hero-box):nth-child(2) { transition-delay: .15s; }
.is-loaded .hero-box > *:nth-child(3), .is-loaded .hero-content > *:not(.hero-box):nth-child(3) { transition-delay: .3s; }
.is-loaded .hero-box > *:nth-child(n+4), .is-loaded .hero-content > *:not(.hero-box):nth-child(n+4) { transition-delay: .45s; }

/* ---------- Scroll reveal: fade in ครั้งเดียว (ควบคุมโดย main.js) ---------- */
:root { --ease-smooth: cubic-bezier(.22, 1, .36, 1); }   /* easeOutQuint: เริ่มเร็ว จบนุ่ม */
.reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 1.2s var(--ease-smooth) var(--reveal-delay, 0s),
        transform 1.2s var(--ease-smooth) var(--reveal-delay, 0s),
        box-shadow .35s var(--ease),
        gap .3s var(--ease),
        color .25s;
    backface-visibility: hidden;
}
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
/* การ์ด/รูป: ขยายเบาๆ ตอนปรากฏ */
.room-card.reveal, .exp-card.reveal, .gallery-item.reveal { transform: translate3d(0, 22px, 0) scale(.985); }
.room-card.reveal.is-visible, .exp-card.reveal.is-visible, .gallery-item.reveal.is-visible { transform: translate3d(0, 0, 0) scale(1); }
/* แถบจองห้อง: fade อย่างเดียว */
.booking-bar.reveal { transform: none; }

/* Hero slideshow: เปลี่ยนภาพแบบ cross-fade ช้าลงให้นุ่มขึ้น */
.hero .carousel-item { transition-duration: 1.4s; transition-timing-function: ease-in-out; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
    .hero-box > *, .hero-content > *:not(.hero-box) { opacity: 1; transform: none; }
}

@media (max-width: 767.98px) {
    :root { --header-h: 76px; }
    .section { padding: 64px 0; }
    .hero { min-height: 540px; }
    .hero-counter { right: 16px; }
    .hero-overlay { background: rgba(20, 8, 10, .15); }
    .hero-counter { display: none; }
    .location-info { padding: 32px 20px; }
    .hero-box { padding: 28px 24px 26px; max-width: 100%; }
    .hero-sub span { margin: 0 4px; }
}

/* ==========================================================
   MOBILE (≤ 575px) – ปรับการแสดงผลสำหรับมือถือ
   ========================================================== */
@media (max-width: 575.98px) {
    body { font-size: 14px; }
    .section-title { font-size: 1.95rem; }
    .section-text { max-width: none; font-size: .92rem; }

    /* ---------- Hero: ตัวหนังสือไว้ด้านล่าง + ไล่เฉดดำจากล่างขึ้นบน ---------- */
    .hero { height: 88svh; min-height: 520px; max-height: 720px; }
    .hero-overlay {
        background: linear-gradient(180deg,
            rgba(20, 8, 10, .15) 0%,
            rgba(20, 8, 10, .45) 40%,
            rgba(20, 8, 10, .88) 100%);
    }
    .hero-content { justify-content: flex-end; padding-bottom: 76px; }
    .hero-eyebrow { font-size: 10px; margin-bottom: 12px; }
    .hero-title { font-size: 2.6rem; margin-bottom: 16px; }
    .hero-sub { font-size: 9.5px; line-height: 1.9; letter-spacing: .14em; max-width: 30ch; }
    .hero-sub span { margin: 0 5px; }
    .hero-rule { margin: 12px 0 20px; }
    .hero-video .play { width: 42px; height: 42px; font-size: 18px; }

    /* ---------- Booking: 2 คอลัมน์ ---------- */
    .booking-bar {
        grid-template-columns: 1fr 1fr;
        padding: 12px 14px 14px;
        gap: 0 12px;
    }
    .booking-field { padding: 10px 2px; gap: 0; }
    .booking-field > i { display: none; }
    .booking-field label { font-size: 9px; }
    .booking-field input,
    .booking-field select { font-size: 1rem; }
    .booking-bar .btn-lux { padding: 15px 20px; margin-top: 12px; }

    /* ---------- Rooms: ปัดซ้าย-ขวา ---------- */
    .room-scroller,
    .exp-scroller {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-right: -12px;           /* ให้การ์ดล้นขอบจอ เห็นว่าเลื่อนได้ */
        padding-bottom: 6px;
    }
    .room-scroller::-webkit-scrollbar,
    .exp-scroller::-webkit-scrollbar { display: none; }
    .room-scroller > [class*="col-"] {
        flex: 0 0 82%;
        max-width: 82%;
        scroll-snap-align: start;
    }
    .room-body { padding: 16px 14px; }

    /* ---------- Experience ---------- */
    .experience-bg { height: 240px; }
    .experience-text .section-text { font-size: .92rem; }
    .exp-scroller > [class*="col-"] {
        flex: 0 0 46%;
        max-width: 46%;
        scroll-snap-align: start;
    }
    .exp-card { aspect-ratio: 3 / 4; }
    .exp-card span { font-size: 9.5px; letter-spacing: .12em; left: 12px; right: 12px; bottom: 12px; }
    .exp-card span i { display: inline-block; }

    /* ---------- Amenities ---------- */
    .amenities { padding: 56px 0; }
    .amenity-list { row-gap: 22px; }
    .amenity-list li { gap: 8px; padding: 4px; }
    .amenity-list i { font-size: 30px; }
    .amenity-list span { font-size: .8rem; }

    /* ---------- Gallery ---------- */
    .gallery-intro { padding: 30px 24px; }
    .gallery-grid { gap: 3px; }

    /* ---------- Location ---------- */
    .location { padding-top: 0; }
    .location-img { min-height: 200px; }
    .location-info .section-title { font-size: 1.6rem; }
    .location-info .btn-lux-outline { width: 100%; }
    .location-map, .location-map iframe { min-height: 240px; }

    /* ---------- Footer ---------- */
    .site-footer { padding: 32px 0 calc(20px + env(safe-area-inset-bottom)); }
    .footer-nav { gap: 10px 20px; }
    .footer-contact { flex-direction: column; gap: 14px; text-align: center; }
    .footer-social { border-right: 0; padding-right: 0; }
    .footer-info { align-items: center; }
    .footer-bottom p:first-child { flex: none; }

    .back-to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
}


/* ==========================================================
   CONTACT PAGE (contact.html)
   ใช้คลาสเดิมของเว็บ (.section, .section-kicker, .section-title,
   .section-text, .btn-lux, .btn-lux-outline, .btn-lux-pill, .link-lux)
   ด้านล่างนี้เป็นคลาสใหม่เฉพาะหน้า contact เท่านั้น
   ========================================================== */

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    margin-top: var(--header-h);
    min-height: 380px;
    display: flex;
    align-items: center;
    background-color: var(--lux-red-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(20, 8, 10, .85) 0%, rgba(20, 8, 10, .55) 55%, rgba(20, 8, 10, .3) 100%);
}
.page-hero-inner { padding-top: 60px; padding-bottom: 110px; }
.page-crumbs {
    display: flex;
    gap: 10px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: .85;
}
.page-crumbs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.page-hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
    line-height: 1.1;
    margin-bottom: 14px;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub { font-size: 1rem; opacity: .9; margin: 0; max-width: 42ch; }

/* ---------- Contact cards (ลอยทับ hero) ---------- */
.contact-cards-wrap { position: relative; z-index: 2; margin-top: -70px; }
.contact-card {
    background: #fff;
    height: 100%;
    padding: 30px 26px 26px;
    border-top: 3px solid var(--lux-red);
    box-shadow: 0 18px 44px rgba(60, 10, 20, .10);
    display: flex;
    flex-direction: column;
    transition: box-shadow .35s var(--ease);
}
.contact-card:hover { box-shadow: 0 22px 52px rgba(60, 10, 20, .16); }
.contact-card-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lux-bg-warm);
    color: var(--lux-red);
    font-size: 20px;
    margin-bottom: 18px;
}
.contact-card h2 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-card p {
    color: var(--lux-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    word-break: break-word;
}
.contact-card p a:hover { color: var(--lux-red); }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
    width: 38px; height: 38px;
    border: 1px solid var(--lux-line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--lux-red);
    transition: background .25s, color .25s, border-color .25s;
}
.contact-social a:hover { background: var(--lux-red); border-color: var(--lux-red); color: #fff; }

/* ---------- Form ---------- */
.contact-main { padding-top: 90px; }
.contact-form { margin-top: 8px; }
.contact-field { display: block; width: 100%; }
.contact-field > span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lux-muted);
    margin-bottom: 6px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--lux-line);
    background: transparent;
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--lux-ink);
    border-radius: 0;
    transition: border-color .25s;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { outline: none; border-bottom-color: var(--lux-red); }
.contact-form .btn-lux { margin-top: 10px; }

/* ---------- Map + getting here ---------- */
.contact-map { height: 340px; background: var(--lux-bg-warm); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9) brightness(1.05); }
.contact-nearby { background: var(--lux-bg-warm); padding: 28px 30px 30px; }
.contact-nearby h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; margin-bottom: 14px; }
.contact-nearby ul { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-nearby li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--lux-line);
    font-size: .9rem;
    color: var(--lux-muted);
}
.contact-nearby li i { color: var(--lux-red); font-size: 16px; }

/* ---------- CTA ---------- */
.contact-cta { padding: 0 0 90px; }
.contact-cta-inner {
    background: var(--lux-bg-warm);
    border-left: 3px solid var(--lux-red);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
}
.contact-cta-inner .section-title { margin-bottom: 0; }
.contact-cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact-cta-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--lux-red);
}
.contact-cta-call:hover { color: var(--lux-red-dark); }

/* ---------- Contact page: tablet / mobile ---------- */
@media (max-width: 991.98px) {
    .contact-main { padding-top: 70px; }
}
@media (max-width: 575.98px) {
    .page-hero { min-height: 300px; }
    .page-hero-inner { padding-top: 40px; padding-bottom: 90px; }
    .page-hero::before { background: linear-gradient(180deg, rgba(20, 8, 10, .45), rgba(20, 8, 10, .85)); }
    .contact-cards-wrap { margin-top: -56px; }
    .contact-card { padding: 24px 20px 20px; }
    .contact-map { height: 260px; }
    .contact-nearby { padding: 22px 20px 24px; }
    .contact-nearby .btn-lux-outline, .contact-form .btn-lux { width: 100%; }
    .contact-cta { padding-bottom: 64px; }
    .contact-cta-inner { padding: 30px 22px; }
    .contact-cta-actions { width: 100%; justify-content: space-between; }
}


/* ==========================================================
   GALLERY PAGE (gallery.html)
   ใช้ซ้ำ: .page-hero*, .page-crumbs, .contact-cta* (จากหน้า contact)
          .section, .section-kicker, .section-title, .btn-lux-pill
   ด้านล่างเป็นคลาสใหม่ (ขึ้นต้นด้วย .gp) เฉพาะหน้า gallery
   ========================================================== */

/* ---------- Head + filters ---------- */
.gp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.gp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-filter {
    border: 1px solid var(--lux-line);
    background: #fff;
    color: var(--lux-ink);
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .25s, color .25s, border-color .25s;
}
.gp-filter span { font-size: 10px; letter-spacing: 0; color: var(--lux-muted); transition: color .25s; }
.gp-filter:hover { border-color: var(--lux-red); color: var(--lux-red); }
.gp-filter.is-active { background: var(--lux-red); border-color: var(--lux-red); color: #fff; }
.gp-filter.is-active span { color: rgba(255, 255, 255, .75); }

/* ---------- Masonry grid ---------- */
.gp-grid {
    column-count: 3;
    column-gap: 14px;
    transition: opacity .25s ease;
}
.gp-grid.is-filtering { opacity: 0; }
.gp-tile {
    break-inside: avoid;
    margin: 0 0 14px;
    overflow: hidden;
    background: var(--lux-bg-warm);
}
.gp-tile[hidden] { display: none; }
.gp-link { position: relative; display: block; }
.gp-link img {
    width: 100%;
    height: auto;
    transition: transform 1s var(--ease-smooth, ease);
}
.gp-link figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 18px 16px;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    background: linear-gradient(180deg, transparent, rgba(20, 5, 8, .78));
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
}
.gp-link figcaption span {
    font-family: var(--font-sans);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .85;
}
.gp-link figcaption i { position: absolute; right: 18px; bottom: 18px; font-size: 14px; }
.gp-link:hover img, .gp-link:focus-visible img { transform: scale(1.05); }
.gp-link:hover figcaption, .gp-link:focus-visible figcaption { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.gp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(15, 6, 8, .94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    opacity: 0;
    transition: opacity .35s ease;
}
.gp-lightbox[hidden] { display: none; }
.gp-lightbox.is-open { opacity: 1; }
.gp-lb-stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.gp-lb-stage img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    transition: opacity .3s ease, transform .3s ease;
}
.gp-lightbox.is-changing .gp-lb-stage img { opacity: 0; transform: scale(.98); }
.gp-lb-stage figcaption {
    margin-top: 16px;
    color: #fff;
    display: flex;
    gap: 24px;
    align-items: baseline;
    font-family: var(--font-serif);
    font-size: 1.05rem;
}
.gp-lb-stage figcaption span:last-child { font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; opacity: .65; }
.gp-lb-btn {
    position: absolute;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: background .25s, border-color .25s;
}
.gp-lb-btn:hover { background: var(--lux-red); border-color: var(--lux-red); }
.gp-lb-close { top: 20px; right: 20px; }
.gp-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.gp-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Gallery page: tablet / mobile ---------- */
@media (max-width: 991.98px) {
    .gp-grid { column-count: 2; }
}
@media (max-width: 575.98px) {
    .gp-head { margin-bottom: 26px; }
    .gp-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-right: -12px;
        padding-bottom: 4px;
    }
    .gp-filters::-webkit-scrollbar { display: none; }
    .gp-filter { flex-shrink: 0; padding: 8px 14px; }
    .gp-grid { column-gap: 8px; }
    .gp-tile { margin-bottom: 8px; }
    .gp-link figcaption { display: none; }           /* มือถือไม่มี hover: แตะเพื่อเปิด lightbox */
    .gp-lightbox { padding: 60px 12px 90px; }
    .gp-lb-stage img { max-height: calc(100vh - 200px); }
    .gp-lb-prev, .gp-lb-next { top: auto; bottom: 22px; transform: none; }
    .gp-lb-prev { left: calc(50% - 60px); }
    .gp-lb-next { right: calc(50% - 60px); }
    .gp-lb-close { top: 12px; right: 12px; }
}


/* ==========================================================
   EXPERIENCE PAGE (experience.html)
   ใช้ซ้ำ: .page-hero*, .contact-cta* , section .experience / .exp-card
          จากหน้า index และ .section-*, .btn-lux-outline
   ด้านล่างเป็นคลาสใหม่ (ขึ้นต้นด้วย .xp) เฉพาะหน้า experience
   ========================================================== */

/* ---------- Feature blocks (สลับซ้าย/ขวา) ---------- */
.xp-features { padding-bottom: 40px; }
.xp-feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 64px;
    margin-bottom: 100px;
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.xp-feature:last-child { margin-bottom: 0; }
.xp-feature.is-flip .xp-feature-media { order: 2; }
.xp-feature-media { position: relative; }
.xp-feature-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--lux-bg-warm);
}
.xp-feature-media::after {                      /* กรอบเส้นแดงเหลื่อมด้านหลังรูป */
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--lux-red);
    z-index: -1;
}
.xp-feature.is-flip .xp-feature-media::after { inset: 22px 22px -22px -22px; }
.xp-feature-num {
    position: absolute;
    top: -34px;
    left: 24px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--lux-red);
}
.xp-feature.is-flip .xp-feature-num { left: auto; right: 24px; }

.xp-list { list-style: none; padding: 0; margin: 0; }
.xp-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--lux-line);
}
.xp-list li:last-child { border-bottom: 1px solid var(--lux-line); }
.xp-list i { color: var(--lux-red); font-size: 20px; line-height: 1.2; }
.xp-list strong { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.xp-list span { color: var(--lux-muted); font-size: .86rem; }

/* ---------- Around the hotel ---------- */
.xp-around { background: var(--lux-bg-warm); }
.xp-around-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.xp-around-head .section-kicker { justify-content: center; }
.xp-around-head .section-text { margin: 0 auto; }
.xp-places {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.xp-place {
    background: #fff;
    text-align: center;
    padding: 30px 16px 26px;
    border-bottom: 3px solid transparent;
    transition: border-color .3s, box-shadow .35s var(--ease);
}
.xp-place:hover { border-bottom-color: var(--lux-red); box-shadow: 0 16px 40px rgba(60, 10, 20, .10); }
.xp-place i { font-size: 28px; color: var(--lux-red); }
.xp-place h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; margin: 14px 0 6px; }
.xp-place p {
    margin: 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lux-muted);
}
.xp-around-cta { text-align: center; margin-top: 40px; }

/* ---------- Experience page: tablet / mobile ---------- */
@media (max-width: 991.98px) {
    .xp-feature { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; }
    .xp-feature.is-flip .xp-feature-media { order: 0; }
    .xp-places { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
    .xp-feature { gap: 40px; margin-bottom: 64px; }
    .xp-feature-media::after { inset: 14px -10px -14px 14px; }
    .xp-feature.is-flip .xp-feature-media::after { inset: 14px -10px -14px 14px; }
    .xp-feature-num { font-size: 3.4rem; top: -26px; }
    .xp-feature.is-flip .xp-feature-num { left: 24px; right: auto; }
    .xp-places { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .xp-place { padding: 22px 10px 18px; }
    .xp-place:last-child { grid-column: 1 / -1; }
    .xp-around-cta .btn-lux-outline { width: 100%; }
}


/* ==========================================================
   ROOMS PAGE (rooms.html)
   ใช้ซ้ำ: .page-hero*, .contact-cta*, .gp-filters/.gp-filter (ปุ่มลัดห้อง),
          section .amenities จากหน้า index, .section-*, .btn-lux
   ด้านล่างเป็นคลาสใหม่ (ขึ้นต้นด้วย .rm) เฉพาะหน้า rooms
   ========================================================== */

/* ---------- Quick facts (ลอยทับ hero) ---------- */
.rm-facts-wrap { position: relative; z-index: 2; margin-top: -56px; }
.rm-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 18px 44px rgba(60, 10, 20, .10);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.rm-facts li {
    text-align: center;
    padding: 26px 12px;
    border-left: 1px solid var(--lux-line);
}
.rm-facts li:first-child { border-left: 0; }
.rm-facts strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2rem; color: var(--lux-red); line-height: 1.1; }
.rm-facts span { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-muted); }

/* ---------- Room list ---------- */
.rm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-bottom: 56px;
}
.rm-room {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--lux-line);
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.rm-room.is-flip .rm-media { order: 2; }
.rm-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--lux-bg-warm);
    transition: opacity .35s ease;
}
.rm-main.is-changing { opacity: 0; }
.rm-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.rm-thumb {
    padding: 0;
    border: 0;
    background: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    opacity: .55;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: opacity .25s, outline-color .25s;
}
.rm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rm-thumb:hover { opacity: .85; }
.rm-thumb.is-active { opacity: 1; outline-color: var(--lux-red); }

.rm-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}
.rm-specs li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.rm-specs i { color: var(--lux-red); font-size: 17px; }

.rm-price {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0;
    margin-bottom: 26px;
    border-top: 1px solid var(--lux-line);
    border-bottom: 1px solid var(--lux-line);
}
.rm-price > div { padding: 16px 28px 16px 0; margin-right: 28px; border-right: 1px solid var(--lux-line); }
.rm-price > div:last-child { border-right: 0; margin-right: 0; }
.rm-price span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lux-muted); margin-bottom: 4px; }
.rm-price strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem; color: var(--lux-ink); }
.rm-price strong.is-sm { font-size: 1.15rem; }
.rm-price small { font-size: .8rem; color: var(--lux-muted); margin-left: 4px; }

/* ---------- Rates table ---------- */
.rm-rates { background: var(--lux-bg-warm); }
.rm-table-wrap { overflow-x: auto; background: #fff; }
.rm-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.rm-table th, .rm-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lux-line); }
.rm-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lux-red); border-bottom: 2px solid var(--lux-red); }
.rm-table small { display: block; font-size: .78rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--lux-muted); margin-top: 3px; }
.rm-table tbody th { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
.rm-table td { font-family: var(--font-serif); font-size: 1.45rem; }
.rm-table td small { display: inline; font-family: var(--font-sans); font-size: .82rem; }
.rm-table td span { display: block; font-family: var(--font-sans); font-size: .8rem; color: var(--lux-muted); margin-top: 4px; }
.rm-notes { list-style: none; padding: 0; margin: 20px 0 0; font-size: .86rem; color: var(--lux-muted); }
.rm-notes li { display: flex; gap: 10px; margin-bottom: 8px; }
.rm-notes i { color: var(--lux-red); }

/* ---------- Rooms page: tablet / mobile ---------- */
@media (max-width: 991.98px) {
    .rm-room { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
    .rm-room.is-flip .rm-media { order: 0; }
}
@media (max-width: 575.98px) {
    .rm-facts-wrap { margin-top: -44px; }
    .rm-facts { grid-template-columns: repeat(2, 1fr); }
    .rm-facts li { padding: 18px 8px; }
    .rm-facts li:nth-child(3) { border-left: 0; }
    .rm-facts li:nth-child(n+3) { border-top: 1px solid var(--lux-line); }
    .rm-facts strong { font-size: 1.6rem; }
    .rm-head { margin-bottom: 28px; }
    .rm-room { padding: 36px 0; }
    .rm-specs { gap: 10px 12px; }
    .rm-price { grid-template-columns: 1fr 1fr; }
    .rm-price > div { padding: 14px 12px 14px 0; margin-right: 12px; }
    .rm-price > div:nth-child(2) { border-right: 0; margin-right: 0; }
    .rm-price > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--lux-line); }
    .rm-price strong { font-size: 1.45rem; }
    .rm-room .btn-lux { width: 100%; }
}


/* ==========================================================
   ROOM DETAIL PAGE (room-detail.html?room=<id>)
   ใช้ซ้ำ: .page-crumbs, .section-*, .rm-specs, .rm-price, .rm-notes (หน้า rooms),
          .contact-field (ฟอร์มหน้า contact), .gp-lightbox (หน้า gallery),
          .room-card / .room-scroller (หน้า index), .btn-lux
   ด้านล่างเป็นคลาสใหม่ (ขึ้นต้นด้วย .rd) เฉพาะหน้า detail
   ========================================================== */

/* ---------- Title bar ---------- */
.rd-top { margin-top: var(--header-h); padding: 40px 0 28px; }
.rd-crumbs { color: var(--lux-muted); opacity: 1; }
.rd-crumbs a:hover { color: var(--lux-red); }
.rd-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
}
.rd-from { text-align: right; }
.rd-from span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-muted); }
.rd-from strong { font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; color: var(--lux-red); }
.rd-from strong b, .rm-price strong b { font-weight: inherit; }
.rd-from small { color: var(--lux-muted); margin-left: 4px; }

/* ---------- Photo grid: 1 ใหญ่ + 4 เล็ก ---------- */
.rd-photos {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 8px;
}
.rd-photo { position: relative; overflow: hidden; background: var(--lux-bg-warm); display: block; }
.rd-photo.is-main { grid-row: 1 / 3; }
.rd-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-smooth, ease); }
.rd-photo:hover img { transform: scale(1.04); }
.rd-photo-more {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, .95);
    color: var(--lux-ink);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 9px 14px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

/* ---------- Content ---------- */
.rd-main { padding-top: 64px; }
.rd-block { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--lux-line); }
.rd-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rd-desc { max-width: 62ch; }
.rd-amen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 20px;
}
.rd-amen li { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.rd-amen i {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lux-bg-warm);
    color: var(--lux-red);
    display: grid;
    place-items: center;
    font-size: 16px;
}

/* ---------- Booking card (sticky) ---------- */
.rd-book {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: #fff;
    border-top: 3px solid var(--lux-red);
    box-shadow: 0 18px 48px rgba(60, 10, 20, .12);
    padding: 30px 28px 24px;
}
.rd-book-price { font-family: var(--font-serif); font-size: 2rem; color: var(--lux-red); margin-bottom: 20px; }
.rd-book-price small { font-family: var(--font-sans); font-size: .82rem; color: var(--lux-muted); }
.rd-book-lead { font-size: .9rem; color: var(--lux-muted); margin: -8px 0 20px; }
.rd-contact { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--lux-line); }
.rd-contact li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--lux-line); }
.rd-contact li > i {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--lux-bg-warm);
    color: var(--lux-red);
    display: grid;
    place-items: center;
    font-size: 16px;
}
.rd-contact span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-muted); margin-bottom: 4px; }
.rd-contact a:not(.link-lux) { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--lux-ink); word-break: break-word; }
.rd-contact a:not(.link-lux):hover { color: var(--lux-red); }
.rd-contact p { font-size: .88rem; margin: 0 0 8px; }
.rd-book-actions { display: grid; gap: 10px; }
.rd-book-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--lux-line);
}
.rd-book-social > span { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lux-muted); }

/* ---------- Other rooms ---------- */
.rd-others { background: var(--lux-bg-warm); }

/* ---------- Room detail: tablet / mobile ---------- */
@media (max-width: 991.98px) {
    .rd-photos { grid-template-rows: 180px 180px; }
    .rd-book { position: static; }
    .rd-amen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .rd-top { padding: 28px 0 20px; }
    .rd-from { text-align: left; }
    .rd-from strong { font-size: 1.8rem; }
    .rd-photos {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 240px 76px;
        gap: 6px;
    }
    .rd-photo.is-main { grid-row: 1; grid-column: 1 / -1; }
    .rd-photo-more { right: 6px; bottom: 6px; padding: 5px 7px; font-size: 0; gap: 0; }
    .rd-photo-more i { font-size: 14px; }
    .rd-main { padding-top: 48px; }
    .rd-amen { grid-template-columns: 1fr 1fr; gap: 12px; }
    .rd-amen li { font-size: .82rem; gap: 8px; }
    .rd-amen i { width: 32px; height: 32px; font-size: 14px; }
    .rd-book { padding: 24px 18px 20px; }
}
/* rooms.html: ปุ่มจอง + ลิงก์ดูรายละเอียด */
.rm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
@media (max-width: 575.98px) {
    .rm-actions { flex-direction: column; align-items: stretch; text-align: center; }
    .rm-actions .link-lux { align-self: center; }
}


/* ==========================================================
   MOBILE – ทุกหน้า (≤ 575px)
   ปรับรวมสำหรับ index / rooms / room-detail / experience / gallery / contact
   ========================================================== */
.rd-mobile-bar { display: none; }

@media (max-width: 575.98px) {

    /* ---------- ทั่วไป ---------- */
    /* ช่องกรอก ≥ 16px: กัน iPhone ซูมหน้าจอเองตอนแตะช่องกรอก */
    .booking-field input, .booking-field select,
    .contact-field input, .contact-field select, .contact-field textarea { font-size: 16px; }
    /* ขยายพื้นที่แตะของลิงก์เล็ก */
    .link-lux.small { padding: 10px 0; margin: -10px 0; }
    .footer-nav a { display: inline-block; padding: 6px 0; }
    .page-crumbs { font-size: 10px; letter-spacing: .14em; }
    .page-hero-title { font-size: 2.4rem; }
    .page-hero-sub { font-size: .92rem; }

    /* ---------- Contact: การ์ดแนวนอนกะทัดรัด ---------- */
    .contact-cards-wrap .row { --bs-gutter-y: 10px; }
    .contact-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        padding: 18px 16px;
        border-top: 0;
        border-left: 3px solid var(--lux-red);
    }
    .contact-card-icon { grid-row: 1 / 4; width: 44px; height: 44px; font-size: 18px; margin: 0; }
    .contact-card h2 { margin-bottom: 4px; }
    .contact-card p { margin-bottom: 6px; font-size: .88rem; }
    .contact-card .link-lux.small { justify-self: start; }
    .contact-card .contact-social { margin-top: 4px; }
    .contact-main { padding-top: 56px; }

    /* ---------- Rooms ---------- */
    .rm-main { aspect-ratio: 3 / 2; }
    .rm-thumbs { gap: 6px; margin-top: 6px; }
    .rm-thumb { aspect-ratio: 3 / 2; }
    .rm-head .section-title { font-size: 1.8rem; }
    /* ตารางราคา → การ์ดซ้อนกัน (ไม่ต้องเลื่อนซ้ายขวา) */
    .rm-table-wrap { overflow: visible; background: transparent; }
    .rm-table { min-width: 0; }
    .rm-table thead { display: none; }
    .rm-table, .rm-table tbody, .rm-table tr, .rm-table th, .rm-table td { display: block; width: 100%; }
    .rm-table tr { background: #fff; margin-bottom: 12px; border-top: 3px solid var(--lux-red); }
    .rm-table tbody th { padding: 16px 18px 10px; border-bottom: 1px solid var(--lux-line); }
    .rm-table td { padding: 12px 18px; font-size: 1.35rem; }
    .rm-table td:last-child { border-bottom: 0; }
    .rm-table td::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-sans);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--lux-red);
        margin-bottom: 2px;
    }

    /* ---------- Room detail ---------- */
    .rd-title-row { align-items: flex-start; }
    .rd-title-row .section-title { font-size: 2rem; }
    .rd-from strong { font-size: 1.7rem; }
    .rd-block { padding-bottom: 28px; margin-bottom: 28px; }
    .rd-book { box-shadow: none; border: 1px solid var(--lux-line); border-top: 3px solid var(--lux-red); }
    /* แถบติดต่อติดขอบล่างจอ */
    .rd-mobile-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1025;
        background: #fff;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(60, 10, 20, .10);
    }
    .rd-mobile-price { flex: 1; font-family: var(--font-serif); font-size: 1.5rem; color: var(--lux-red); line-height: 1; }
    .rd-mobile-price small { font-family: var(--font-sans); font-size: .72rem; color: var(--lux-muted); }
    .rd-mobile-icon {
        width: 46px; height: 46px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        border: 1px solid var(--lux-red);
        color: var(--lux-red);
        font-size: 18px;
    }
    .rd-mobile-bar .btn-lux { padding: 14px 18px; }
    body:has(.rd-mobile-bar) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    body:has(.rd-mobile-bar) .back-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }

    /* ---------- Experience ---------- */
    .xp-intro .experience-bg { display: none; }            /* รูปซ้ำกับ banner ด้านบน */
    .xp-intro { padding-top: 48px; }
    .xp-feature-num { z-index: 1; }
    .xp-feature-media::after,
    .xp-feature.is-flip .xp-feature-media::after { inset: 12px -6px -12px 12px; }
    .xp-feature-media img { aspect-ratio: 3 / 2; }

    /* ---------- Gallery ---------- */
    .gp-head .section-title { font-size: 1.8rem; }
}

/* จอเล็กมาก (≤ 360px) */
@media (max-width: 360px) {
    .hero-title { font-size: 2.3rem; }
    .booking-bar { grid-template-columns: 1fr; }
    .rm-specs { grid-template-columns: 1fr; }
    .rm-price { grid-template-columns: 1fr; }
    .rm-price > div { border-right: 0; margin-right: 0; border-top: 1px solid var(--lux-line); }
    .rm-price > div:first-child { border-top: 0; }
    .rd-amen { grid-template-columns: 1fr; }
    .rd-mobile-price small { display: none; }
}


/* ==========================================================
   LANGUAGE SWITCH (TH / EN) – อยู่ข้างปุ่ม Book now
   ========================================================== */
.nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-btn {
    border: 0;
    background: none;
    padding: 6px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--lux-muted);
    line-height: 1;
    transition: color .2s;
}
.lang-btn:hover { color: var(--lux-red); }
.lang-btn.is-active { color: var(--lux-red); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang-sep { font-size: 11px; color: var(--lux-line); }

/* มือถือ: ภาษาอยู่ซ้าย ปุ่ม Book now อยู่ขวา ในเมนู offcanvas */
@media (max-width: 991.98px) {
    .nav-actions { justify-content: space-between; width: 100%; }
    .nav-actions .btn-lux-pill { align-self: auto; }
    .lang-btn { padding: 10px 12px 10px 0; font-size: 12px; }
    .lang-sep { margin-right: 12px; }
}