/* Nadorex Luxury Hotel — Theme 4
   Layers on NX design-system tokens. Scope: html.lh-theme / .lh-theme
*/

html.lh-theme,
.lh-theme {
    overflow-x: clip;
}

.lh-theme,
.lh-theme * {
    box-sizing: border-box;
}

.lh-theme {
    --lh-champagne: var(--secondary, #B99A78);
    --lh-sand: var(--tertiary, #D9C4AA);
    --lh-ink: var(--dark, #171512);
    --lh-paper: var(--theme-background-color, var(--light, #FBF9F6));
    --lh-line: var(--nx-color-border, #E5DDD4);
    --lh-surface: var(--nx-color-surface, #fff);
    --lh-surface-soft: var(--nx-color-surface-soft, #F6F1EB);
    /* Elevation scales with CardRadius — Minimal (~0–2) ≈ flat; Spa/Coastal ≈ soft lift */
    --lh-elev: 0 calc(var(--nx-card-radius, 4px) * 0.12) calc(var(--nx-card-radius, 4px) * 0.7)
        color-mix(in srgb, var(--lh-ink) 10%, transparent);
    --lh-img-radius: var(--nx-card-radius, var(--nx-radius, 4px));
    background: var(--lh-paper);
    color: var(--theme-text-color, #55504A);
}

.lh-theme img,
.lh-theme video {
    max-width: 100%;
    height: auto;
}

.lh-theme .nx-main,
.lh-theme .lh-main {
    min-width: 0;
    overflow-x: clip;
}

/* Buttons
   Beat InjectThemeSettingsCss `html.nx-theme a { color: link≈primary }`
   so primary CTA text/icons stay white on primary fills. */
.lh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--nx-button-radius, 2px);
    font-family: var(--theme-font-family);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lh-btn--primary,
.lh-btn--book {
    background: var(--primary, #7A5C45);
    color: var(--ap-on-primary, #fff);
    border-color: var(--primary, #7A5C45);
}

.lh-btn--primary:hover,
.lh-btn--book:hover {
    background: var(--lh-ink);
    border-color: var(--lh-ink);
    color: var(--ap-on-primary, #fff);
}

html.lh-theme a.lh-btn,
html.lh-theme a.lh-btn:hover,
html.lh-theme a.lh-btn:focus,
html.lh-theme a.lh-btn:focus-visible,
html.lh-theme a.nx-btn,
html.lh-theme a.nx-btn:hover,
html.lh-theme a.nx-btn:focus,
html.lh-theme a.nx-btn:focus-visible {
    text-decoration: none;
}

html.lh-theme a.lh-btn--primary,
html.lh-theme a.lh-btn--primary:hover,
html.lh-theme a.lh-btn--primary:focus,
html.lh-theme a.lh-btn--primary:focus-visible,
html.lh-theme a.lh-btn--book,
html.lh-theme a.lh-btn--book:hover,
html.lh-theme a.lh-btn--book:focus,
html.lh-theme a.lh-btn--book:focus-visible,
html.lh-theme a.nx-btn--primary,
html.lh-theme a.nx-btn--primary:hover,
html.lh-theme a.nx-btn--primary:focus,
html.lh-theme a.nx-btn--primary:focus-visible,
html.lh-theme button.nx-btn--primary,
html.lh-theme button.nx-btn--primary:hover,
html.lh-theme button.nx-btn--primary:focus,
html.lh-theme button.nx-btn--primary:focus-visible,
html.lh-theme .lh-btn--primary,
html.lh-theme .lh-btn--book,
html.lh-theme .nx-btn--primary {
    background-color: var(--primary, #7A5C45);
    border-color: var(--primary, #7A5C45);
    color: var(--ap-on-primary, #fff);
}

html.lh-theme a.lh-btn--primary span,
html.lh-theme a.lh-btn--primary i,
html.lh-theme a.lh-btn--primary svg,
html.lh-theme a.lh-btn--book span,
html.lh-theme a.lh-btn--book i,
html.lh-theme a.lh-btn--book svg,
html.lh-theme a.nx-btn--primary span,
html.lh-theme a.nx-btn--primary i,
html.lh-theme a.nx-btn--primary svg,
html.lh-theme button.nx-btn--primary span,
html.lh-theme button.nx-btn--primary i,
html.lh-theme button.nx-btn--primary svg,
html.lh-theme .lh-btn--primary span,
html.lh-theme .lh-btn--primary i,
html.lh-theme .lh-btn--primary svg,
html.lh-theme .lh-btn--book span,
html.lh-theme .lh-btn--book i,
html.lh-theme .lh-btn--book svg,
html.lh-theme .nx-btn--primary span,
html.lh-theme .nx-btn--primary i,
html.lh-theme .nx-btn--primary svg {
    color: var(--ap-on-primary, #fff);
    fill: currentColor;
    stroke: currentColor;
}

html.lh-theme a.lh-btn--primary:hover,
html.lh-theme a.lh-btn--book:hover,
html.lh-theme a.nx-btn--primary:hover,
html.lh-theme button.nx-btn--primary:hover,
html.lh-theme .lh-btn--primary:hover,
html.lh-theme .lh-btn--book:hover,
html.lh-theme .nx-btn--primary:hover {
    background-color: var(--lh-ink);
    border-color: var(--lh-ink);
    color: #fff;
    opacity: 1;
}

html.lh-theme a.nx-btn--outline,
html.lh-theme a.nx-btn--outline:hover,
html.lh-theme button.nx-btn--outline,
html.lh-theme .nx-btn--outline {
    background-color: transparent;
    border-color: var(--primary, #7A5C45);
    color: var(--primary, #7A5C45);
}

html.lh-theme a.nx-btn--outline:hover,
html.lh-theme button.nx-btn--outline:hover,
html.lh-theme .nx-btn--outline:hover {
    background-color: var(--primary, #7A5C45);
    border-color: var(--primary, #7A5C45);
    color: #fff;
}

html.lh-theme .lh-cta a.lh-btn--primary,
html.lh-theme .lh-cta a.lh-btn--primary:hover,
html.lh-theme .lh-cta a.lh-btn--primary:focus,
html.lh-theme .lh-cta .lh-btn--primary,
html.lh-theme .lh-cta .lh-btn--primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--lh-ink);
}

html.lh-theme .lh-cta a.lh-btn--primary span,
html.lh-theme .lh-cta a.lh-btn--primary i,
html.lh-theme .lh-cta a.lh-btn--primary svg,
html.lh-theme .lh-cta .lh-btn--primary span,
html.lh-theme .lh-cta .lh-btn--primary i,
html.lh-theme .lh-cta .lh-btn--primary svg {
    color: var(--lh-ink);
    fill: currentColor;
    stroke: currentColor;
}

html.lh-theme .lh-cta a.lh-btn--primary:hover,
html.lh-theme .lh-cta .lh-btn--primary:hover {
    background-color: var(--lh-sand);
    border-color: var(--lh-sand);
    color: var(--lh-ink);
}

html.lh-theme .nx-section--brand a.nx-btn--outline,
html.lh-theme .nx-section--gradient a.nx-btn--outline,
html.lh-theme .lh-cta a.nx-btn--outline,
html.lh-theme .lh-slider a.nx-btn--outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}

html.lh-theme .nx-section--brand a.nx-btn--outline:hover,
html.lh-theme .nx-section--gradient a.nx-btn--outline:hover,
html.lh-theme .lh-cta a.nx-btn--outline:hover,
html.lh-theme .lh-slider a.nx-btn--outline:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--lh-ink);
}

.lh-header__book[href=""],
.lh-header__book:not([href]) {
    display: none !important;
}

/* Only overlay a slider when it is the first main section, not a later module. */
.lh-theme .lh-header.nx-header {
    --nx-header-logo-size: 5.625rem;
    --nx-header-height: calc(var(--nx-header-logo-size) + 1.5rem);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: color-mix(in srgb, var(--lh-surface, var(--lh-paper)) 96%, transparent);
    border-bottom: 1px solid var(--lh-line);
    color: var(--theme-menu-color, var(--lh-ink));
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header.nx-header:not(.nx-header--scrolled) {
    position: absolute;
    background: transparent;
    border-bottom-color: transparent;
    color: #fff;
    backdrop-filter: none;
}

.lh-theme .lh-header.nx-header.nx-header--scrolled,
.lh-theme.lh-content-page .lh-header.nx-header,
.lh-theme.lh-product-page .lh-header.nx-header {
    position: sticky;
    background: color-mix(in srgb, var(--lh-surface, var(--lh-paper)) 96%, transparent);
    border-bottom-color: var(--lh-line);
    color: var(--theme-menu-color, var(--lh-ink));
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.lh-theme .lh-header .nx-nav__link,
.lh-theme .lh-header .nx-nav__toggle,
.lh-theme .lh-header .nx-header__logo-text,
.lh-theme .lh-header .nx-header__mobile-toggle {
    color: inherit;
}

.lh-theme .lh-header .nx-header__mobile-toggle-bars,
.lh-theme .lh-header .nx-header__mobile-toggle-bars::before,
.lh-theme .lh-header .nx-header__mobile-toggle-bars::after {
    background-color: currentColor;
}

.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .nx-header__mobile-toggle-bars,
.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .nx-header__mobile-toggle-bars::before,
.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .nx-header__mobile-toggle-bars::after {
    background-color: #fff;
}

/* Header logo: beat `.lh-theme img { height:auto }` — use shared NX display area */
.lh-theme .lh-header .nx-header__logo {
    width: var(--nx-header-logo-size, 5.625rem);
    height: var(--nx-header-logo-size, 5.625rem);
    flex: 0 0 var(--nx-header-logo-size, 5.625rem);
}

.lh-theme .lh-header .nx-header__logo-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Dark logo on hero: soft white halo (keeps mark readable without a second logo asset) */
.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .nx-header__logo-image {
    filter:
        drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.7))
        drop-shadow(0 2px 14px rgba(255, 255, 255, 0.45));
}

.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .nx-header__logo-text {
    color: #fff;
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.95),
        0 0 8px rgba(255, 255, 255, 0.65),
        0 2px 14px rgba(255, 255, 255, 0.4);
}

.lh-theme .lh-header.nx-header--scrolled .nx-header__logo-image,
.lh-theme.lh-content-page .lh-header .nx-header__logo-image,
.lh-theme.lh-product-page .lh-header .nx-header__logo-image {
    filter: none;
}

.lh-theme .lh-header.nx-header--scrolled .nx-header__logo-text,
.lh-theme.lh-content-page .lh-header .nx-header__logo-text,
.lh-theme.lh-product-page .lh-header .nx-header__logo-text {
    color: inherit;
    text-shadow: none;
}

.lh-theme.lh-content-page .lh-header .nx-header__mobile-toggle-bars,
.lh-theme.lh-content-page .lh-header .nx-header__mobile-toggle-bars::before,
.lh-theme.lh-content-page .lh-header .nx-header__mobile-toggle-bars::after,
.lh-theme.lh-product-page .lh-header .nx-header__mobile-toggle-bars,
.lh-theme.lh-product-page .lh-header .nx-header__mobile-toggle-bars::before,
.lh-theme.lh-product-page .lh-header .nx-header__mobile-toggle-bars::after,
.lh-theme .lh-header.nx-header--scrolled .nx-header__mobile-toggle-bars,
.lh-theme .lh-header.nx-header--scrolled .nx-header__mobile-toggle-bars::before,
.lh-theme .lh-header.nx-header--scrolled .nx-header__mobile-toggle-bars::after {
    background-color: var(--lh-ink);
}

.lh-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--nx-header-height);
    width: 100%;
}

.lh-header__nav {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.lh-header__nav .nx-nav {
    margin: 0 auto;
}

.lh-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
}

.lh-theme .lh-header .lh-btn--book {
    background: var(--primary, #7A5C45);
    border-color: var(--primary, #7A5C45);
    color: #fff;
}

.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .lh-btn--book {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
}

.lh-theme:has(.lh-main > .lh-slider:first-child) .lh-header:not(.nx-header--scrolled) .lh-btn--book:hover {
    background: #fff;
    border-color: #fff;
    color: var(--lh-ink);
}

.lh-theme .lh-header.nx-header--scrolled .lh-btn--book,
.lh-theme.lh-content-page .lh-header .lh-btn--book,
.lh-theme.lh-product-page .lh-header .lh-btn--book {
    background: var(--primary, #7A5C45);
    border-color: var(--primary, #7A5C45);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .lh-header__nav {
        display: none;
    }

    .lh-header__inner {
        grid-template-columns: 1fr auto;
    }

    .lh-theme .lh-header.nx-header {
        --nx-header-logo-size: 3.75rem;
        --nx-header-height: calc(var(--nx-header-logo-size) + 1rem);
    }
}

.lh-theme .lh-header.is-mobile-open .nx-mobile-nav__link,
.lh-theme .lh-header.is-mobile-open .nx-mobile-nav__toggle {
    color: var(--lh-ink);
}

/* Page header — editorial */
.lh-page-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nx-header-height, 5.25rem) + 2.5rem) 0 3.5rem;
    background: linear-gradient(160deg, #1c1916 0%, #2c2620 55%, #3a322b 100%);
    color: #fff;
    overflow: hidden;
}

.lh-page-header--media {
    background: #171512;
}

.lh-page-header__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lh-theme .lh-page-header__media img,
.lh-theme .lh-page-header__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.lh-page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 21, 18, 0.35) 0%, rgba(23, 21, 18, 0.72) 100%);
}

.lh-page-header__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.lh-page-header__title {
    margin: 0.75rem 0 0;
    max-width: 18ch;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(2.5rem, 5vw, var(--theme-h1-size, 4.25rem));
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.015em);
    line-height: var(--nx-heading-line-height, 1.05);
    color: #fff;
}

/* Beat InjectThemeSettingsCss `html.nx-theme h1 { color: heading }` on dark page header */
html.lh-theme .lh-page-header h1,
html.lh-theme .lh-page-header h1.lh-page-header__title,
html.lh-theme .lh-page-header .lh-page-header__title {
    color: #fff;
}

.lh-page-header__summary {
    margin: 1rem 0 0;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.lh-theme .lh-page-header .nx-breadcrumb__link,
.lh-theme .lh-page-header .nx-breadcrumb__current {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767.98px) {
    .lh-page-header {
        padding: calc(var(--nx-header-height, 4.25rem) + 1.5rem) 0 2.25rem;
    }

    .lh-page-header__title {
        max-width: none;
        font-size: 2.25rem;
    }
}

/* Sections */
.lh-section-header {
    max-width: 40rem;
    margin: 0 0 3rem;
}

.lh-section-header__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(2rem, 3.2vw, var(--theme-h2-size, 3rem));
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.015em);
    line-height: var(--nx-heading-line-height, 1.1);
    color: var(--theme-heading-color, var(--lh-ink));
}

.lh-section-header__text {
    margin: 0.85rem 0 0;
    color: var(--theme-text-color, #55504A);
    line-height: 1.7;
}

/* Hero slider */
.lh-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #171512;
}

.lh-slider__swiper,
.lh-slider .nx-slider__swiper {
    height: clamp(32rem, 92vh, 58rem);
    max-height: 95vh;
}

.lh-slider__slide,
.lh-slider .nx-slider__slide {
    position: relative;
    height: 100%;
}

.lh-slider__media,
.lh-slider .nx-slider__media {
    position: absolute;
    inset: 0;
}

.lh-slider__image,
.lh-slider__video,
.lh-slider .nx-slider__image,
.lh-slider .nx-slider__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lh-slider__overlay,
.lh-slider .nx-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(23, 21, 18, 0.72) 0%, rgba(23, 21, 18, 0.28) 55%, rgba(23, 21, 18, 0.45) 100%);
}

.lh-slider__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 6rem 0 5rem;
}

.lh-slider__copy {
    max-width: 38rem;
    color: #fff;
}

.lh-slider__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(2.75rem, 6vw, var(--theme-h1-size, 5rem));
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.02em);
    line-height: var(--nx-heading-line-height, 1.02);
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Beat InjectThemeSettingsCss `html.nx-theme h2 { color: heading }` on dark slider */
html.lh-theme .lh-slider h2.lh-slider__title,
html.lh-theme .lh-slider .lh-slider__title,
html.lh-theme .lh-slider .lh-slider__copy,
html.lh-theme .lh-slider .lh-slider__text {
    color: #fff;
}

html.lh-theme .lh-slider .lh-slider__text {
    color: rgba(255, 255, 255, 0.88);
}

.lh-slider__text {
    margin: 1.25rem 0 0;
    max-width: 32rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.lh-slider__actions {
    margin-top: 1.75rem;
}

.lh-slider__nav {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: transparent;
    color: #fff;
    opacity: 0.85;
}

.lh-slider__nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.lh-slider .swiper-pagination-bullet {
    width: 0.4rem;
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    border-radius: 0;
}

.lh-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 1.5rem;
}

@media (max-width: 767.98px) {
    .lh-slider__swiper,
    .lh-slider .nx-slider__swiper {
        height: min(78vh, 36rem);
    }

    .lh-slider__content {
        padding: 5rem 0 3.5rem;
    }

    .lh-slider__nav {
        display: none;
    }
}

/* Rooms grid */
.lh-rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}

.lh-room-card {
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.lh-room-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--lh-surface-soft, #F6F1EB);
    border-radius: var(--lh-img-radius, var(--nx-card-radius, 4px));
    box-shadow: var(--lh-elev);
}

/* Beat `.lh-theme img { height: auto }` so cover fills the media frame */
.lh-theme .lh-room-card__media img,
.lh-theme .lh-room-card__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.lh-room-card:hover .lh-room-card__image {
    transform: scale(1.04);
}

.lh-room-card__body {
    padding: calc(var(--nx-card-padding, 32px) * 0.4) 0 0;
}

.lh-room-card__meta {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nx-color-muted, #77716A);
}

.lh-room-card__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.85rem);
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.015em);
    line-height: var(--nx-heading-line-height, 1.1);
    color: var(--theme-heading-color, var(--lh-ink));
}

.lh-room-card__summary {
    margin: 0.65rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--theme-text-color, #55504A);
}

.lh-room-card__price {
    margin: 0.85rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary, #7A5C45);
}

.lh-room-card__link {
    display: inline-flex;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lh-ink);
    border-bottom: 1px solid var(--lh-ink);
    padding-bottom: 0.15rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lh-room-card__link:hover {
    color: var(--primary, #7A5C45);
    border-bottom-color: var(--primary, #7A5C45);
}

@media (max-width: 1199.98px) {
    .lh-rooms__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .lh-rooms__grid {
        grid-template-columns: 1fr;
    }
}

/* Services */
.lh-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lh-service-card {
    min-width: 0;
    border: 1px solid var(--lh-line);
    border-radius: var(--nx-radius, 8px);
    background: var(--lh-surface, #fff);
    overflow: hidden;
    box-shadow: var(--lh-elev);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lh-service-card:hover {
    border-color: var(--lh-champagne);
    transform: translateY(-2px);
}

.lh-service-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.lh-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.lh-service-card:hover .lh-service-card__media img {
    transform: scale(1.03);
}

.lh-service-card__body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.lh-service-card__icon {
    display: inline-flex;
    margin-bottom: 0.85rem;
    font-size: 1.35rem;
    color: var(--primary, #7A5C45);
}

.lh-service-card__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--lh-ink);
}

.lh-service-card__text {
    margin: 0.65rem 0 0;
    line-height: 1.65;
    color: var(--theme-text-color, #55504A);
}

.lh-service-card__link {
    display: inline-flex;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary, #7A5C45);
}

@media (max-width: 991.98px) {
    .lh-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .lh-services__grid {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.lh-cta {
    position: relative;
    padding: var(--nx-section-y, 110px) 0;
    background: linear-gradient(135deg, #1a1714 0%, #2a241e 50%, #3b3229 100%);
    color: #fff;
    overflow: hidden;
}

.lh-cta--media {
    background: #171512;
}

.lh-cta__media {
    position: absolute;
    inset: 0;
}

.lh-cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lh-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 21, 18, 0.88) 0%, rgba(23, 21, 18, 0.55) 100%);
}

.lh-cta__inner {
    position: relative;
    z-index: 1;
}

.lh-cta__copy {
    max-width: 36rem;
}

.lh-cta__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lh-sand);
}

.lh-cta__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(2.25rem, 4vw, var(--theme-h1-size, 3.5rem));
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.015em);
    line-height: var(--nx-heading-line-height, 1.08);
    color: #fff;
}

/* Beat InjectThemeSettingsCss `html.nx-theme h2 { color: heading }` inside dark CTA */
html.lh-theme .lh-cta h2,
html.lh-theme .lh-cta h2.lh-cta__title,
html.lh-theme .lh-cta .lh-cta__title {
    color: #fff;
}

.lh-theme .lh-cta__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.lh-cta__text {
    margin: 1rem 0 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.lh-cta__actions {
    margin-top: 1.75rem;
}

/* CTA primary contrast handled via html.lh-theme .lh-cta rules above */

/* Content / prose */
.lh-content-detail__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .lh-content-detail__main--media {
        grid-template-columns: minmax(14rem, 0.38fr) minmax(0, 1fr);
        gap: 2.5rem;
    }
}

.lh-content-detail__media {
    margin: 0;
    min-width: 0;
    max-width: none;
}

.lh-content-detail__media img {
    width: 100%;
    max-height: 22rem;
    object-fit: cover;
    object-position: center;
    border-radius: var(--nx-radius, 8px);
    display: block;
}

.lh-content-detail__body,
.lh-room-content {
    min-width: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.lh-room-content {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
}

.lh-content-shell {
    max-width: none;
}

.lh-theme .lh-prose {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.lh-theme .lh-prose h2,
.lh-theme .lh-prose h3,
.lh-theme .lh-prose h4 {
    font-family: var(--theme-heading-font-family);
    font-weight: var(--nx-heading-font-weight, 600);
    letter-spacing: var(--nx-heading-letter-spacing, -0.015em);
    color: var(--theme-heading-color, var(--lh-ink));
}

.lh-theme .lh-prose img {
    border-radius: var(--lh-img-radius, var(--nx-radius, 8px));
}
    border-radius: var(--nx-card-radius, 4px);
}

.lh-theme .lh-prose blockquote {
    margin: 1.75rem 0;
    padding: 0.25rem 0 0.25rem 1.25rem;
    border-left: 2px solid var(--lh-champagne);
    font-family: var(--theme-heading-font-family);
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--lh-ink);
}

.lh-theme .lh-prose table {
    width: 100%;
    border-collapse: collapse;
}

.lh-theme .lh-prose th,
.lh-theme .lh-prose td {
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--lh-line);
    text-align: left;
}

/* Room detail */
.lh-theme .lh-room-detail__hero.nx-section {
    padding-top: calc(var(--nx-header-height, 2.25rem) + 0.75rem);
    padding-bottom: 3rem;
}

.lh-room-detail__hero {
    padding-top: calc(var(--nx-header-height, 2.25rem) + 0.75rem);
}

.lh-theme .lh-room-detail__nav {
    margin: 0 0 1.25rem;
}

.lh-theme .lh-room-content.nx-section {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
}

/* Product gallery thumbs also need explicit fill under `.lh-theme img` */
.lh-theme .nx-product-gallery__thumb-image,
.lh-theme .nx-product-gallery__main-image {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.lh-theme .nx-product-gallery__main-image {
    height: auto;
    aspect-ratio: 4 / 3;
}

.lh-room-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: start;
    margin-top: 1.5rem;
}

.lh-room-detail__grid--info-only {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
}

.lh-room-detail__title {
    margin: 0;
    font-family: var(--theme-heading-font-family);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--lh-ink);
}

.lh-room-detail__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted, #77716A);
}

.lh-room-detail__summary {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.lh-room-detail__meta {
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--muted, #77716A);
}

.lh-room-detail__price {
    margin: 1.5rem 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary, #7A5C45);
}

.lh-room-detail__features {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.lh-room-detail__features li {
    padding-left: 1rem;
    border-left: 1px solid var(--lh-line);
    font-size: 0.9375rem;
}

.lh-room-detail__actions {
    margin-top: 2rem;
}

.lh-room-content__inner {
    max-width: var(--nx-content-max-width, 820px);
}

@media (max-width: 991.98px) {
    .lh-room-detail__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer */
/* Footer — ink band always separated from page (critical for Dark Luxury) */
.lh-footer {
    background: color-mix(in srgb, var(--lh-ink) 94%, #000);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0;
    border-top: 1px solid color-mix(in srgb, var(--lh-champagne) 28%, transparent);
}

.lh-footer__main {
    padding: 4.5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lh-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem 2rem;
}

.lh-footer__heading {
    margin: 0 0 1.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lh-sand);
}

.lh-footer .nx-footer__column,
.lh-footer .lh-footer__column {
    min-width: 0;
}

.lh-footer .nx-footer__text,
.lh-footer .nx-footer-nav__link,
.lh-footer .nx-footer-contact__link,
.lh-footer .nx-footer-contact__item,
.lh-footer .nx-footer__company {
    color: rgba(255, 255, 255, 0.78);
}

.lh-footer .nx-footer-nav__link:hover,
.lh-footer .nx-footer-contact__link:hover {
    color: #fff;
}

.lh-footer .nx-footer-social__link {
    color: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.18);
}

.lh-footer__bottom {
    padding: 1.25rem 0;
}

.lh-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.lh-footer .nx-footer__copyright {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 991.98px) {
    .lh-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .lh-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery lightbox arrows — higher contrast on dark overlay */
html.lh-theme .nx-gallery-lightbox__prev,
html.lh-theme .nx-gallery-lightbox__next,
html.lh-theme .nx-gallery-lightbox__close {
    width: 3.25rem;
    min-width: 3.25rem;
    height: 3.25rem;
    color: #fff;
    background: rgba(23, 21, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    font-size: 2rem;
    font-weight: 600;
    opacity: 1;
}

html.lh-theme .nx-gallery-lightbox__prev span,
html.lh-theme .nx-gallery-lightbox__next span,
html.lh-theme .nx-gallery-lightbox__close span {
    color: #fff;
    line-height: 1;
}

html.lh-theme .nx-gallery-lightbox__prev:hover,
html.lh-theme .nx-gallery-lightbox__next:hover,
html.lh-theme .nx-gallery-lightbox__close:hover {
    background: #fff;
    border-color: #fff;
    color: var(--lh-ink, #171512);
}

html.lh-theme .nx-gallery-lightbox__prev:hover span,
html.lh-theme .nx-gallery-lightbox__next:hover span,
html.lh-theme .nx-gallery-lightbox__close:hover span {
    color: var(--lh-ink, #171512);
}

html.lh-theme .nx-gallery-lightbox__prev {
    left: 0.75rem;
}

html.lh-theme .nx-gallery-lightbox__next {
    right: 0.75rem;
}

html.lh-theme .nx-gallery-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
}

@media (max-width: 767.98px) {
    html.lh-theme .nx-gallery-lightbox__prev,
    html.lh-theme .nx-gallery-lightbox__next,
    html.lh-theme .nx-gallery-lightbox__close {
        width: 2.75rem;
        min-width: 2.75rem;
        height: 2.75rem;
        font-size: 1.75rem;
    }

    html.lh-theme .nx-gallery-lightbox__prev {
        left: 0.35rem;
    }

    html.lh-theme .nx-gallery-lightbox__next {
        right: 0.35rem;
    }
}

/* Forms — light islands when surface tokens are dark (Dark Luxury usability) */
.lh-theme .nx-form,
.lh-theme form.nx-form,
.lh-theme .lh-contact .nx-form,
.lh-theme .lh-room-detail__form {
    background: var(--light, #F7F2EA);
    color: var(--dark, #171512);
    border: 1px solid var(--lh-line);
    border-radius: var(--nx-card-radius, 8px);
    padding: var(--nx-card-padding, 32px);
    box-shadow: var(--lh-elev);
}

.lh-theme .nx-form label,
.lh-theme form.nx-form label {
    color: var(--dark, #171512);
}

.lh-theme .nx-form input,
.lh-theme .nx-form textarea,
.lh-theme .nx-form select,
.lh-theme form.nx-form input,
.lh-theme form.nx-form textarea,
.lh-theme form.nx-form select {
    background: #fff;
    color: var(--dark, #171512);
    border: 1px solid color-mix(in srgb, var(--dark, #171512) 18%, transparent);
    border-radius: var(--nx-button-radius, 4px);
}

.lh-theme .nx-form input::placeholder,
.lh-theme .nx-form textarea::placeholder,
.lh-theme form.nx-form input::placeholder,
.lh-theme form.nx-form textarea::placeholder {
    color: color-mix(in srgb, var(--dark, #171512) 45%, transparent);
}

/* Beat `.lh-theme img { height: auto }` on hero, services, rooms */
.lh-theme .nx-hero__image,
.lh-theme .lh-service-card__media img,
.lh-theme .lh-room-card__media img,
.lh-theme .lh-room-card__image {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 38%;
}

/* Bento gallery: the grid cell gives the card its box. The photo is taken out of
   flow so a 16:9 or portrait file cannot stretch that box, then covers it. */
html.lh-theme .nx-gallery-item__link {
    position: relative;
    display: block;
    height: 100%;
}

html.lh-theme .nx-gallery-item__media {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

html.lh-theme .nx-gallery-item__media > img,
html.lh-theme .nx-gallery-item__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.lh-theme .nx-hero__figure {
    position: relative;
    overflow: hidden;
}

.lh-theme .lh-cta,
.lh-theme .lh-cta__title,
.lh-theme .lh-cta__text {
    color: #fff;
}

