/* ==========================================================================
   GPA THE LUXURY — EDITORIAL LUXURY DESIGN SYSTEM v2
   Typeface pairing : Cormorant Garamond (display) + Manrope (text)
   Loaded via <link> in index.html <head> (not @import) for faster FCP.
   ========================================================================== */

/* --- DESIGN TOKENS --- */
:root {
    /* Palette — near-black forest, champagne gold, warm ivory */
    --color-bg-deep: #EFE7DA;
    --color-bg-card: #FBF7EE;
    --color-bg-card-hover: #ECE2D2;
    --color-primary: #A8844E;
    --color-primary-light: #D8C39A;
    --color-primary-dark: #6F5630;
    --color-text-main: #29251F;
    --color-text-muted: #665F52;
    --color-text-dark: #17140F;
    --color-accent-green: #566552;
    --color-border-gold: rgba(168, 132, 78, 0.34);
    --color-border-gold-soft: rgba(168, 132, 78, 0.16);
    --color-border-light: rgba(41, 37, 31, 0.18);
    --color-shadow-gold: rgba(168, 132, 78, 0.18);
    --color-bg-sage: #DDE4D6;
    --color-accent-green-dark: #263329;
    --color-surface-solid: #F7EFE2;
    --color-surface-muted: #E8DDCB;
    --shadow-soft: 0 22px 48px rgba(72, 55, 35, 0.16);

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', serif;
    --font-sans: 'Manrope', 'Inter', sans-serif;

    /* Layout — sharp corners read as couture; big radii read as app UI */
    --container-max-width: 1280px;
    --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-xs: 2px;
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 10px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    font-weight: 300;
}

::selection {
    background: var(--color-primary);
    color: var(--color-text-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); }
::-webkit-scrollbar-thumb {
    background: #1A241D;
    border: 2px solid var(--color-bg-deep);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary-dark); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .serif-font {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: 0.005em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    margin-bottom: 1rem;
}

p {
    color: var(--color-text-muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.gallery-card:focus-visible,
.uv-cell:focus-visible {
    outline: 1.5px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

.gold-text {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(120deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary);
}

.features,
.facilities-section,
.about,
.units,
.ownership-section,
.gallery-section,
.promo-video-section,
.testimonials,
.contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

/* Eyebrow — small tracked label above every section heading */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: var(--color-primary-dark);
    margin-bottom: 1.1rem;
}
.eyebrow::before,
.eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
}
.eyebrow::after {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: clamp(3rem, 7vw, 5rem);
}
.section-title p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    max-width: 560px;
    margin: 0.75rem auto 0;
    line-height: 1.8;
}

/* --- CONTAINER & BUTTONS --- */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.6rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn:active { transform: scale(0.96); }

/* Soft sheen sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 90%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-18deg);
    transition: 0.6s ease;
    pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-primary {
    background: linear-gradient(130deg, var(--color-primary-light) -30%, var(--color-primary) 45%, var(--color-primary-dark) 120%);
    color: var(--color-text-dark);
    border: none;
    box-shadow: 0 6px 22px var(--color-shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(198, 161, 91, 0.32);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border-gold);
}
.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.6rem 0;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 253, 247, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border-gold-soft);
    box-shadow: 0 12px 36px rgba(72, 55, 35, 0.10);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.82rem;
    line-height: 1;
    flex-shrink: 0;
}

.logo-mark-wrap {
    position: relative;
    display: block;
    width: 56px;
    height: 70px;
    flex: 0 0 auto;
}

.logo-mark {
    width: 56px;
    height: 70px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    border: 0;
    padding: 0;
    flex: 0 0 auto;
}

.logo-mark-wrap .logo-mark {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.28s ease;
}

header .logo-mark-gold {
    opacity: 0;
}

header.scrolled .logo-mark-default {
    opacity: 0;
}

header.scrolled .logo-mark-gold {
    opacity: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-title {
    font-size: 1.38rem;
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--color-text-main);
    white-space: nowrap;
}
.logo-sub {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.52em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.4rem;
}

nav a {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-text-muted);
    padding-bottom: 4px;
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-primary));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: var(--transition-fast), background-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
nav a:hover, nav a.active {
    color: var(--color-primary-light);
    background-size: 100% 1px;
}

/* Light-on-dark header text only applies where the page actually opens on a
   dark hero (home). Other pages (e.g. detail-tipe) open on a light hero, so
   the header must keep its default dark text there or nav becomes unreadable. */
body[data-layout-page="home"] header:not(.scrolled) .logo-title,
body[data-layout-page="home"] header:not(.scrolled) nav a,
body[data-layout-page="home"] header:not(.scrolled) #nav-cta-btn {
    color: #F8F2E8;
}

body[data-layout-page="home"] header:not(.scrolled) .logo-sub {
    color: var(--color-primary-light);
}

body[data-layout-page="home"] header:not(.scrolled) #nav-cta-btn {
    border-color: rgba(216, 195, 154, 0.45);
}

body[data-layout-page="home"] header:not(.scrolled) nav a:hover,
body[data-layout-page="home"] header:not(.scrolled) nav a.active {
    color: var(--color-primary-light);
}

header.scrolled nav a:hover,
header.scrolled nav a.active {
    color: var(--color-primary-dark);
}

#nav-cta-btn {
    padding: 0.62rem 1.5rem;
    font-size: 0.68rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--color-text-main);
    margin-bottom: 6px;
    transition: var(--transition-fast);
}
.menu-toggle span:last-child { margin-bottom: 0; }

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 130px; /* keeps the scroll cue clear of the stats row */
    background:
        linear-gradient(90deg, rgba(22, 19, 14, 0.78) 0%, rgba(22, 19, 14, 0.52) 42%, rgba(22, 19, 14, 0.22) 100%),
        linear-gradient(to top, rgba(22, 19, 14, 0.64), transparent 42%),
        url('../images/ori/danau.webp') center 52% / cover no-repeat fixed;
    overflow: hidden;
    color: #F8F2E8;
}

/* Deep fade into the page */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, var(--color-bg-deep), rgba(246, 241, 232, 0));
    pointer-events: none;
}
.hero::before {
    display: none;
}

.hero-content {
    max-width: 880px;
    position: relative;
    z-index: 5;
}

.hero .reveal {
    opacity: 1;
    transform: none;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.45em;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--color-primary);
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    color: #F8F2E8;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.12rem);
    line-height: 1.9;
    margin-bottom: 2.8rem;
    max-width: 600px;
    color: rgba(248, 242, 232, 0.86);
}
.hero p strong {
    color: var(--color-primary-light);
    font-weight: 500;
}

.hero .btn-secondary {
    color: #F8F2E8;
    border-color: rgba(216, 195, 154, 0.46);
}

.hero .btn-secondary:hover {
    color: var(--color-primary-light);
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 4.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--color-border-gold-soft);
    padding-top: 2.2rem;
    max-width: 760px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 8%;
    height: 84%;
    width: 1px;
    background: rgba(248, 242, 232, 0.18);
}
.stat-value {
    font-size: clamp(1.1rem, 2.1vw, 1.55rem);
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-primary-light);
    line-height: 1;
}
.stat-label {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(248, 242, 232, 0.64);
}

/* Scroll cue — thin animated gold line */
.scroll-cue {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    text-transform: uppercase;
    color: rgba(248, 242, 232, 0.72);
}
.scroll-cue::after {
    content: '';
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: cue-drop 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    transform-origin: top;
}
@keyframes cue-drop {
    0% { transform: scaleY(0); opacity: 0; }
    35% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1) translateY(18px); opacity: 0; }
}
.scroll-cue:hover { color: var(--color-primary); }

/* --- FEATURES (numbered editorial cards) --- */
.features {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background-color: var(--color-bg-deep);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    counter-reset: feature;
}

.feature-card {
    counter-increment: feature;
    background: rgba(251, 247, 238, 0.82);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: clamp(2rem, 4vw, 2.6rem) clamp(1.5rem, 3vw, 2rem);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Big ghost index number */
.feature-card::after {
    content: counter(feature, decimal-leading-zero);
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
    color: rgba(198, 161, 91, 0.22);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-card);
    border-color: var(--color-border-gold);
    box-shadow: var(--shadow-soft);
}
.feature-card:hover::after {
    color: rgba(198, 161, 91, 0.55);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-xs);
    background: rgba(198, 161, 91, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.8rem;
    border: 1px solid var(--color-border-gold-soft);
    transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
    transform: rotate(-8deg) scale(1.08);
}
.feature-card:active { transform: scale(0.985); }

.feature-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.9rem;
    color: var(--color-text-main);
}
.feature-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- FACILITIES --- */
.facilities-section {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: var(--color-bg-card);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, 25vw);
    gap: 4px;
    background: rgba(111, 86, 48, 0.18);
    border: 1px solid rgba(111, 86, 48, 0.18);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.facility-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    background: var(--color-accent-green-dark);
}

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

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) brightness(0.96);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.facility-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.04) brightness(1);
}

.facility-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.35rem 1.25rem 1.15rem;
    background: linear-gradient(to top, rgba(23, 20, 15, 0.82), rgba(23, 20, 15, 0.18), transparent);
    color: #F8F2E8;
}

.facility-caption span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-primary-light);
}

.facility-caption h3 {
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    color: #F8F2E8;
}

/* --- ABOUT / LIFESTYLE --- */
.about {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: linear-gradient(to bottom, var(--color-bg-deep) 0%, var(--color-bg-sage) 100%);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.about-images {
    display: block;
    height: clamp(520px, 54vw, 700px);
    position: relative;
    touch-action: pan-y;
    user-select: none;
}
/* Offset hairline frame behind the collage */
.about-images::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    width: 62%;
    height: 68%;
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-sm);
    pointer-events: none;
}
.about-img-frame {
    border: 1px solid var(--color-border-gold-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    background-color: var(--color-bg-card);
}
.about-promo-frame {
    position: absolute;
    width: min(44%, 300px);
    aspect-ratio: 9 / 14;
    cursor: grab;
    will-change: transform, opacity;
    transition:
        left 0.48s cubic-bezier(0.16, 1, 0.3, 1),
        top 0.48s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.32s ease,
        box-shadow 0.32s ease;
}

.about-images.is-dragging .about-promo-frame {
    cursor: grabbing;
}

.about-promo-frame:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-promo-frame img {
    object-fit: contain;
    background: var(--color-bg-card);
}

.about-img-frame:hover img { transform: scale(1.045); }
.about-promo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7, 9, 7, 0.02), rgba(7, 9, 7, 0.28));
    pointer-events: none;
}

.about-promo-frame::before {
    content: '';
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23263329' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 4.5 4.5'/%3E%3Cpath d='M10.5 7.5v6'/%3E%3Cpath d='M7.5 10.5h6'/%3E%3C/svg%3E") 50% 50% / 1.1rem 1.1rem no-repeat,
        rgba(248, 242, 232, 0.90);
    border: 1px solid rgba(168, 132, 78, 0.28);
    color: var(--color-accent-green-dark);
    box-shadow: 0 10px 22px rgba(23, 20, 15, 0.20);
    opacity: 0;
    transform: translateY(4px) scale(0.92);
    transition: var(--transition-fast);
    pointer-events: none;
}

.stack-pos-0::before,
.about-promo-frame:hover::before,
.about-promo-frame:focus-visible::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stack-pos-0 {
    left: 3%;
    top: 0;
    z-index: 4;
    opacity: 1;
    transform: rotate(-1.5deg) scale(1);
    box-shadow: 0 28px 58px rgba(72, 55, 35, 0.22);
}
.stack-pos-1 {
    left: 39%;
    top: 11%;
    z-index: 3;
    opacity: 0.98;
    transform: rotate(2.2deg) scale(0.96);
}
.stack-pos-2 {
    left: 15%;
    top: 38%;
    z-index: 2;
    opacity: 0.94;
    transform: rotate(-2deg) scale(0.92);
}
.stack-pos-3 {
    left: 50%;
    top: 46%;
    z-index: 1;
    opacity: 0.88;
    transform: rotate(2.8deg) scale(0.88);
}

.about-stack-controls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 6;
    display: inline-flex;
    gap: 0.45rem;
}

.about-stack-btn {
    width: 2.55rem;
    height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(168, 132, 78, 0.28);
    background: rgba(248, 242, 232, 0.90);
    color: var(--color-accent-green-dark);
    box-shadow: 0 12px 24px rgba(23, 20, 15, 0.18);
    cursor: pointer;
    transition: var(--transition-fast);
}

.about-stack-btn:hover,
.about-stack-btn:focus-visible {
    background: var(--color-primary);
    color: var(--color-text-dark);
    transform: translateY(-2px);
}

.about-content .eyebrow { margin-bottom: 1rem; }
.about-content .eyebrow::before { display: none; }
.about-content h2 { margin-bottom: 1.2rem; }

.about-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.6vw, 1.35rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.8rem;
}
.about-text p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.85;
    margin-bottom: 1.4rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.8rem;
    margin-top: 2.2rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 2rem;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.highlight-icon {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.highlight-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

/* --- UNIT TYPES --- */
.units {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background-color: var(--color-bg-card);
}

/* Editorial underline tabs — no filled pills */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-border-light);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    color: var(--color-text-muted);
    padding: 1rem 1.7rem 1.1rem;
    font-family: var(--font-serif);
    font-size: clamp(1.02rem, 2.4vw, 1.2rem);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}
.tab-btn:hover { color: var(--color-text-main); }
.tab-btn:active { transform: scale(0.96); }
.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content,
.tab-content[hidden] { display: none; }
.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    animation: fadeScale 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeScale {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}

.unit-info h3 {
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    margin-bottom: 0.4rem;
}
.unit-desc {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.unit-specs {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 2rem;
    margin-bottom: 2.2rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 2rem;
}

.unit-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border-light);
}

.unit-feature-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.82rem;
    background: var(--color-surface-solid);
    border: 1px solid rgba(41, 37, 31, 0.12);
    border-radius: var(--radius-xs);
    color: var(--color-text-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.spec-box {
    display: flex;
    align-items: center;
    gap: 14px;
}
.spec-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    background: rgba(198, 161, 91, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border: 1px solid var(--color-border-gold-soft);
    flex-shrink: 0;
}
.spec-details {
    display: flex;
    flex-direction: column;
}
.spec-title {
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.unit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.unit-actions .btn {
    padding: 0.86rem 1.45rem;
    font-size: 0.68rem;
}

@media (max-width: 640px) {
    /* Prevent "Lihat Detail" from wrapping onto its own line at content-width
       (leaving dead space beside it) — split the row evenly instead. */
    .unit-actions .btn {
        flex: 1 1 0;
        text-align: center;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

/* Unit visual showcase — editorial bento collage, full-bleed, no dead space.
   .uv-hero takes the wide share; .uv-secondary is a flex column of however
   many supporting cells exist (1, 2 or 3) sharing the remaining space evenly. */
.unit-visual {
    display: flex;
    gap: 3px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-gold-soft);
    height: clamp(420px, 48vw, 620px);
}
.uv-hero { flex: 1.7 1 0; }
.uv-secondary {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.uv-secondary .uv-cell { flex: 1 1 0; min-height: 0; }

.ruko-unit-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ruko-unit-visual .uv-hero,
.ruko-unit-visual .uv-secondary,
.ruko-unit-visual .uv-secondary .uv-cell {
    min-width: 0;
    min-height: 0;
}

.ruko-unit-visual .uv-secondary {
    display: block;
}

.ruko-unit-visual .uv-secondary .uv-cell {
    width: 100%;
    height: 100%;
}

.uv-cell {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background-color: var(--color-bg-card);
}

.uv-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: var(--color-bg-card);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.uv-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 7, 0);
    transition: var(--transition-smooth);
    pointer-events: none;
}
.uv-cell:hover img { transform: scale(1.07); }
.uv-cell:hover::after { background: rgba(5, 8, 7, 0.12); }

.uv-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(5, 8, 7, 0.55);
    border: 1px solid var(--color-border-gold);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: var(--transition-smooth);
}
.uv-cell:hover .uv-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.uv-cell:focus-visible .uv-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.uv-cell:active .uv-zoom-icon { transform: translate(-50%, -50%) scale(0.85); }

.uv-cell-label {
    position: absolute;
    left: 0.9rem;
    bottom: 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-main);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition-smooth);
}
.uv-cell:hover .uv-cell-label {
    opacity: 1;
    transform: translateY(0);
}
.uv-cell:focus-visible .uv-cell-label {
    opacity: 1;
    transform: translateY(0);
}
.uv-hero .uv-cell-label { font-size: 0.72rem; }

/* --- UNIT DETAIL PAGE --- */
.detail-page {
    background: var(--color-bg-deep);
}

.detail-hero {
    padding: clamp(8rem, 13vw, 11rem) 0 clamp(4rem, 8vw, 7rem);
    background:
        linear-gradient(180deg, rgba(239, 231, 218, 0.96) 0%, var(--color-bg-card) 100%),
        radial-gradient(circle at 84% 8%, rgba(86, 101, 82, 0.12), transparent 32%);
    border-bottom: 1px solid rgba(41, 37, 31, 0.12);
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: var(--color-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb a:focus-visible {
    color: var(--color-primary-dark);
}

.detail-breadcrumb strong {
    color: var(--color-text-main);
}

.detail-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2.8rem, 5vw, 5rem);
    align-items: center;
}

.detail-copy h1 {
    margin-bottom: 1.15rem;
    font-size: clamp(3rem, 7vw, 5.8rem);
}

.detail-copy p {
    max-width: 580px;
    margin-bottom: 2rem;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.9;
}

.detail-type-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 2.2rem 0 2.4rem;
}

.detail-type-btn {
    min-height: 42px;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(41, 37, 31, 0.16);
    border-radius: var(--radius-xs);
    background: rgba(251, 247, 238, 0.72);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.detail-type-btn:hover,
.detail-type-btn:focus-visible {
    color: var(--color-text-main);
    border-color: var(--color-primary);
}

.detail-type-btn.active {
    background: var(--color-accent-green-dark);
    border-color: var(--color-accent-green-dark);
    color: #F8F2E8;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.detail-media-panel {
    min-width: 0;
}

.detail-main-photo {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(460px, 68vh, 760px);
    overflow: hidden;
    border: 1px solid var(--color-border-gold-soft);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(251, 247, 238, 0.98), rgba(232, 221, 203, 0.92));
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
}

.detail-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: clamp(0.35rem, 1vw, 0.9rem);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-main-photo:hover img {
    transform: scale(1.018);
}

.detail-image-label,
.detail-zoom-hint {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(216, 195, 154, 0.30);
    background: rgba(38, 51, 41, 0.86);
    color: #F8F2E8;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.detail-image-label {
    left: 1rem;
    bottom: 1rem;
    padding: 0 0.85rem;
}

.detail-zoom-hint {
    right: 1rem;
    bottom: 1rem;
    padding: 0 0.75rem;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition-fast);
}

.detail-main-photo:hover .detail-zoom-hint,
.detail-main-photo:focus-visible .detail-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.detail-thumb-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(118px, 0.22fr);
    gap: 0.7rem;
    margin-top: 0.9rem;
    padding-bottom: 0.35rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
}

.detail-thumb {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(41, 37, 31, 0.16);
    border-radius: var(--radius-xs);
    background: var(--color-surface-solid);
    color: var(--color-text-main);
    cursor: pointer;
    scroll-snap-align: start;
    transition: var(--transition-fast);
}

.detail-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center center;
}

.detail-thumb span {
    display: block;
    padding: 0.58rem 0.62rem 0.62rem;
    color: var(--color-text-muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
}

.detail-thumb:hover,
.detail-thumb:focus-visible,
.detail-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 12px 28px rgba(72, 55, 35, 0.14);
}

.detail-thumb.active span {
    color: var(--color-primary-dark);
}

.detail-overview-section,
.detail-spec-section,
.detail-consult-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    border-bottom: 1px solid rgba(41, 37, 31, 0.10);
}

.detail-overview-section {
    background: var(--color-bg-card);
}

.detail-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.detail-overview-copy p {
    max-width: 560px;
    line-height: 1.85;
}

.detail-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(41, 37, 31, 0.12);
    background: rgba(41, 37, 31, 0.12);
}

.detail-metric {
    min-height: 120px;
    padding: 1.3rem;
    background: var(--color-surface-solid);
}

.detail-metric strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--color-text-main);
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1;
}

.detail-metric span {
    color: var(--color-text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-feature-list {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
}

.detail-feature-list li {
    min-height: 40px;
    padding: 0.58rem 0.85rem;
    border: 1px solid rgba(41, 37, 31, 0.12);
    background: var(--color-bg-card);
    color: var(--color-text-main);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.detail-spec-section {
    background:
        linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg-sage) 100%);
}

.detail-spec-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.4rem, 3vw, 2rem);
    align-items: stretch;
}

.detail-spec-layout .building-spec-panel {
    height: 100%;
}

.detail-type-spec-panel .building-spec-row {
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1fr);
}

.detail-consult-section {
    background: var(--color-bg-card);
}

.detail-consult-card {
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(111, 86, 48, 0.18);
    background: var(--color-surface-solid);
}

.detail-consult-card p {
    max-width: 720px;
    line-height: 1.85;
}

.detail-main-photo:focus-visible,
.detail-thumb:focus-visible,
.detail-type-btn:focus-visible {
    outline: 1.5px solid var(--color-primary);
    outline-offset: 3px;
}

/* --- OWNERSHIP DETAIL: specs + KPR program --- */
.ownership-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background:
        linear-gradient(180deg, var(--color-bg-card) 0%, rgba(239, 231, 218, 0.98) 100%),
        radial-gradient(circle at 80% 10%, rgba(86, 101, 82, 0.10), transparent 34%);
    border-top: 1px solid rgba(41, 37, 31, 0.10);
    border-bottom: 1px solid rgba(41, 37, 31, 0.10);
}

.ownership-layout {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.ownership-copy {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ownership-copy .eyebrow::before {
    display: block;
}

.ownership-copy h2 {
    margin-bottom: 1rem;
}

.ownership-copy p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.ownership-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.6rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ownership-link:hover {
    color: var(--color-accent-green-dark);
    border-color: var(--color-accent-green-dark);
}

.ownership-stack {
    display: grid;
    gap: 1rem;
}

.ownership-wide-panel {
    width: 100%;
}

.building-spec-panel {
    border-radius: var(--radius-md);
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid rgba(111, 86, 48, 0.16);
    box-shadow: 0 18px 38px rgba(72, 55, 35, 0.10);
    background: rgba(255, 252, 246, 0.82);
}

.panel-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-kicker {
    display: block;
    color: var(--color-accent-green);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.panel-index {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(111, 86, 48, 0.38);
}

.building-spec-panel h3 {
    margin-bottom: 1.15rem;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
}

.spec-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-top: 1.3rem;
}

.spec-category {
    min-width: 0;
}

.spec-category h4 {
    margin-bottom: 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.building-spec-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(41, 37, 31, 0.10);
}

.building-spec-row {
    display: grid;
    gap: 0.18rem;
    padding: 0.88rem 0;
    border-bottom: 1px solid rgba(41, 37, 31, 0.10);
}

.building-spec-row dt {
    color: var(--color-text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.building-spec-row dd {
    color: var(--color-text-main);
    font-family: var(--font-serif);
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    font-weight: 600;
    line-height: 1.2;
}

/* --- GALLERY: editorial horizontal filmstrip (not a slide-show carousel) ---
   Native scroll-snap does the heavy lifting; JS only nudges scrollLeft for
   the prev/next buttons and drives the thin progress rule underneath. */
.gallery-section {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: linear-gradient(to bottom, var(--color-bg-card), var(--color-bg-sage));
}

.gallery-container { position: relative; }

.gallery-swipe-hint {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.58rem 0.72rem;
    border-radius: 999px;
    background: rgba(248, 242, 232, 0.92);
    border: 1px solid rgba(168, 132, 78, 0.28);
    color: var(--color-accent-green-dark);
    box-shadow: 0 12px 28px rgba(23, 20, 15, 0.16);
    pointer-events: none;
}

.gallery-swipe-hint span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-swipe-hint svg {
    animation: galleryHintMove 1.55s ease-in-out infinite;
}

@keyframes galleryHintMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(7px); }
}

.gallery-track {
    display: flex;
    gap: 3px;
    background: var(--color-border-gold-soft);
    border: 1px solid var(--color-border-gold-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: clamp(420px, 52vw, 620px);
}
.gallery-card:nth-child(n+9) { display: none; }
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(230px, 32vw, 360px);
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    background-color: var(--color-bg-card);
}
.gallery-card.gc-wide { width: clamp(320px, 54vw, 620px); }
.gallery-card:first-child { scroll-margin-left: 0; }

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    filter: saturate(0.9) brightness(0.93);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1);
}

.gallery-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1.3rem 1.2rem;
    background: linear-gradient(to top, rgba(5, 8, 7, 0.92) 0%, rgba(5, 8, 7, 0.4) 60%, transparent 100%);
}
.gallery-card-caption h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    color: #F8F2E8;
}
.gallery-card-caption p {
    font-size: 0.78rem;
    color: var(--color-primary-light);
    letter-spacing: 0.02em;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.gallery-card:hover .gallery-card-caption p,
.gallery-card:focus-visible .gallery-card-caption p {
    max-height: 3.4rem;
    opacity: 1;
    margin-top: 0.35rem;
}

.gallery-card-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(5, 8, 7, 0.5);
    border: 1px solid var(--color-border-gold);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: scale(0.7) rotate(-45deg);
    transition: var(--transition-smooth);
}
.gallery-card:hover .gallery-card-zoom {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.gallery-card:focus-visible .gallery-card-zoom {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.gallery-card:active .gallery-card-zoom { transform: scale(0.85) rotate(0deg); }

/* Controls sit below the strip, not overlaid on the photos */
.gallery-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.gallery-progress-track {
    flex: 1 1 auto;
    height: 2px;
    background: var(--color-border-light);
    border-radius: 2px;
    overflow: hidden;
}
.gallery-progress-fill {
    height: 100%;
    width: 8%;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
    transition: width 0.15s linear;
}
.gallery-nav-group {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.gallery-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.gallery-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
    transform: scale(1.08);
}
.gallery-nav-btn:active { transform: scale(0.9); }
.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* --- PROMO VIDEO --- */
.promo-video-section {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: var(--color-bg-card);
    border-top: 1px solid rgba(41, 37, 31, 0.10);
}

.promo-video-layout {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.promo-video-copy .eyebrow::before {
    display: none;
}

.promo-video-copy h2 {
    margin-bottom: 1rem;
}

.promo-video-copy p {
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.85;
}

.promo-video-embed {
    /* TikTok's embed widget internally clips its own footer row (caption /
       "Watch now") below ~500px; keep this close to TikTok's own recommended
       605px max-width so nothing gets cut off inside the iframe. */
    width: min(100%, 560px);
    justify-self: center;
    max-width: 100%;
}

/* TikTok's blockquote ships with a hardcoded inline `min-width: 325px` that
   ignores its parent's actual width. On narrow phones (Galaxy S8+ at 360px,
   Z Fold cover screen at 344px, etc.) that forces the widget wider than the
   container, and `body { overflow-x: hidden }` silently clips it instead of
   showing a scrollbar. `!important` is required to beat the inline style. */
.promo-video-embed .tiktok-embed {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.video-fallback-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.88rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(111, 86, 48, 0.22);
    background: rgba(248, 242, 232, 0.94);
    color: var(--color-accent-green-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-fallback-link:hover,
.video-fallback-link:focus-visible {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: linear-gradient(to bottom, var(--color-bg-sage), var(--color-bg-deep));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.testimonial-card {
    background: rgba(251, 247, 238, 0.82);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    padding: clamp(2rem, 4vw, 2.8rem) clamp(1.6rem, 3vw, 2.2rem);
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-card);
    border-color: var(--color-border-gold);
    box-shadow: var(--shadow-soft);
}

.quote-icon {
    font-size: 5rem;
    font-family: var(--font-serif);
    line-height: 0.2;
    color: rgba(198, 161, 91, 0.16);
    position: absolute;
    top: 3rem;
    right: 1.8rem;
    transition: var(--transition-smooth);
}
.testimonial-card:hover .quote-icon {
    color: rgba(198, 161, 91, 0.32);
    transform: scale(1.15) rotate(-6deg);
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--color-primary);
    margin-bottom: 1.4rem;
}
.star-icon {
    width: 14px;
    height: 14px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.68;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.4rem;
}
.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-accent-green);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid var(--color-border-gold);
    flex-shrink: 0;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
}
.author-role {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

/* --- CONTACT --- */
.contact-section {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background-color: var(--color-bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.contact-item {
    display: flex;
    gap: 18px;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    background: rgba(198, 161, 91, 0.06);
    border: 1px solid var(--color-border-gold-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-details h3 {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin-bottom: 0.35rem;
}
.contact-item-details p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.contact-item-details a {
    color: var(--color-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.contact-item-details a:hover {
    color: var(--color-accent-green-dark);
}

/* Real embedded map, tinted to sit inside the dark luxury palette */
.map-showcase {
    position: relative;
    border: 1px solid var(--color-border-gold-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5);
    height: clamp(280px, 32vw, 380px);
    background-color: var(--color-bg-card);
}
.map-embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.35) invert(92%) contrast(0.88) hue-rotate(180deg) brightness(0.95) saturate(1.35);
    transition: filter 0.5s ease;
}
.map-showcase:hover .map-embed {
    filter: grayscale(0.15) invert(92%) contrast(0.9) hue-rotate(180deg) brightness(1) saturate(1.5);
}

.map-pin-card {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    background: rgba(5, 8, 7, 0.82);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
}
.map-pin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-dark);
    flex-shrink: 0;
    animation: map-pin-pulse 2.4s infinite;
}
@keyframes map-pin-pulse {
    0% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(198, 161, 91, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0); }
}
.map-pin-text {
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    color: rgba(248, 242, 232, 0.68);
    line-height: 1.35;
}
.map-pin-text strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.98rem;
    font-weight: 600;
    color: #F8F2E8;
}

.map-open-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.95rem;
    background: rgba(5, 8, 7, 0.75);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    color: #F8F2E8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.map-open-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.map-open-btn:active { transform: translateY(-1px) scale(0.97); }

.booking-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-gold-soft);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 3vw, 3rem);
    box-shadow: var(--shadow-soft);
    position: relative;
}
/* Fine gold top rule on the card */
.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.booking-card h3 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.7rem;
}
.booking-card > p {
    margin-bottom: 1.3rem;
    font-size: 0.92rem;
    line-height: 1.75;
}

.booking-promo-summary {
    margin-bottom: 2rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(236, 247, 231, 0.70), rgba(255, 252, 246, 0.88)),
        radial-gradient(circle at 100% 0%, rgba(168, 132, 78, 0.14), transparent 34%);
    border: 1px solid rgba(86, 101, 82, 0.18);
}

.booking-promo-summary span {
    display: block;
    color: var(--color-accent-green);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.28rem;
}

.booking-promo-summary strong {
    display: block;
    color: var(--color-accent-green-dark);
    font-family: var(--font-serif);
    font-size: clamp(1.28rem, 2.4vw, 1.65rem);
    line-height: 1.1;
}

.booking-promo-summary ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.9rem;
    margin: 0.9rem 0 0;
}

.booking-promo-summary li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--color-text-main);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.booking-promo-summary li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--color-accent-green);
    box-shadow: 0 0 0 4px rgba(86, 101, 82, 0.10);
}

.booking-promo-summary p {
    margin: 0.85rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.74rem;
    line-height: 1.55;
}

/* --- PROMO KPR PANEL (unified card: promo info + CTA button(s) together) --- */
.promo-kpr-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.4rem 1.5rem 1.5rem;
    border-radius: var(--radius-md);
    background:
        linear-gradient(150deg, rgba(255, 253, 248, 0.97), rgba(247, 238, 219, 0.92)),
        radial-gradient(circle at 100% 0%, rgba(168, 132, 78, 0.24), transparent 45%);
    border: 1px solid var(--color-border-gold);
    box-shadow: 0 16px 36px rgba(111, 86, 48, 0.14);
    overflow: hidden;
}

.promo-kpr-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
}

.promo-kpr-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.promo-kpr-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-kpr-eyebrow svg {
    width: 12px;
    height: 12px;
}

.promo-kpr-headline {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.3vw, 1.42rem);
    font-weight: 600;
    line-height: 1.28;
    color: var(--color-text-main);
}

/* Higher specificity than the generic `.promo-video-copy p` rule (which sets
   max-width + auto margins on mobile) so this headline never gets
   re-centered inside the panel. */
.promo-kpr-panel .promo-kpr-headline {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.promo-kpr-headline strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.promo-kpr-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-kpr-list li {
    position: relative;
    padding-left: 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.promo-kpr-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 0.85em;
    height: 0.48em;
    border-left: 2px solid var(--color-primary-dark);
    border-bottom: 2px solid var(--color-primary-dark);
    transform: rotate(-45deg);
}

.promo-kpr-panel .unit-actions,
.promo-kpr-panel .detail-actions {
    margin-top: 0;
}

@media (max-width: 560px) {
    .promo-kpr-panel {
        padding: 1.2rem 1.1rem 1.3rem;
    }

    .promo-kpr-list {
        flex-direction: column;
        gap: 0.45rem;
    }
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group { position: relative; }

.form-input {
    width: 100%;
    padding: 1rem 1rem;
    background: #FFF9EC;
    border: 1px solid rgba(41, 37, 31, 0.14);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition-fast);
}
.form-input:focus {
    border-color: var(--color-primary);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 3px rgba(168, 132, 78, 0.12);
}

.form-textarea {
    min-height: 116px;
    line-height: 1.6;
    resize: vertical;
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 0.75rem;
    background: var(--color-bg-card);
    padding: 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.form-select {
    width: 100%;
    padding: 1rem;
    background: #FFF9EC;
    border: 1px solid rgba(41, 37, 31, 0.14);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.form-select option {
    background: var(--color-bg-card);
    color: var(--color-text-main);
}
.form-select:focus {
    border-color: var(--color-primary);
    color: var(--color-text-main);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 3px rgba(168, 132, 78, 0.12);
}

/* --- SUCCESS MODAL --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 7, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
/* .modal-overlay's own `display: flex` (author CSS) otherwise overrides the
   browser's default `[hidden] { display: none }` (UA CSS) regardless of the
   `hidden` attribute — author origin always wins over UA origin. Without this,
   a "closed" modal stays in the accessibility tree and tab order. */
.modal-overlay[hidden] {
    display: none;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-md);
    padding: clamp(2rem, 5vw, 3.6rem) clamp(1.5rem, 4vw, 3rem);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
    transform: translateY(14px);
    transition: var(--transition-smooth);
}
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(198, 161, 91, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    border: 1px solid var(--color-primary);
}
.modal-card h3 {
    font-size: 1.9rem;
    margin-bottom: 0.9rem;
}
.modal-card p {
    margin-bottom: 2.2rem;
    font-size: 0.92rem;
    line-height: 1.75;
}

/* --- FOOTER --- */
footer {
    background-color: #030504;
    border-top: 1px solid var(--color-border-gold-soft);
    padding: clamp(3.5rem, 7vw, 6rem) 0 2.6rem;
    color: #F8F2E8;
}

footer p,
footer .footer-nav a,
footer .footer-hours-list,
footer .footer-bottom {
    color: rgba(248, 242, 232, 0.62);
}

footer .logo-title {
    color: #F8F2E8;
}

footer .social-icon {
    border-color: rgba(248, 242, 232, 0.14);
    color: rgba(248, 242, 232, 0.66);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    gap: 0.9rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}
.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
    transform: translateY(-3px) rotate(8deg);
}
.social-icon:active { transform: translateY(-1px) scale(0.92); }

.footer-nav,
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.footer-nav h3,
.footer-hours h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--color-primary);
}
.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-nav a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.footer-nav a:hover {
    color: var(--color-primary-light);
    padding-left: 6px;
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-hours-list a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-hours-list a:hover {
    color: #F8F2E8;
}
.footer-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-seo {
    border-top: 1px solid rgba(248, 242, 232, 0.10);
    border-bottom: 1px solid rgba(248, 242, 232, 0.10);
    padding: 2.2rem 0;
    margin-bottom: 2rem;
    text-align: justify;
    font-size: 0.72rem;
    color: rgba(248, 242, 232, 0.68);
    line-height: 1.85;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

/* --- FLOATING WHATSAPP --- */
.floating-whatsapp {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    background: rgba(38, 51, 41, 0.94);
    color: #F8F2E8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(216, 195, 154, 0.36);
    box-shadow: 0 16px 38px rgba(22, 19, 14, 0.22);
    transition: var(--transition-smooth);
    animation: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.floating-whatsapp svg {
    width: 23px;
    height: 23px;
}
.floating-wa-label {
    position: absolute;
    right: calc(100% + 0.7rem);
    top: 50%;
    transform: translate(8px, -50%);
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(38, 51, 41, 0.94);
    border: 1px solid rgba(216, 195, 154, 0.30);
    color: #F8F2E8;
    box-shadow: 0 14px 32px rgba(22, 19, 14, 0.20);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    transform: translateY(-3px);
    background: var(--color-accent-green-dark);
    border-color: var(--color-primary);
    box-shadow: 0 18px 42px rgba(22, 19, 14, 0.28);
}
.floating-whatsapp:hover .floating-wa-label,
.floating-whatsapp:focus-visible .floating-wa-label {
    opacity: 1;
    transform: translate(0, -50%);
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.38); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 4, 0.97);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.25rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-content {
    width: min(92vw, 1180px);
    height: min(82vh, calc(100vh - 7rem), 860px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.96);
    transition: var(--transition-smooth);
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-xs);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
    position: absolute;
    top: 1.6rem;
    right: 2.2rem;
    border: 0;
    background: transparent;
    font-size: 2.4rem;
    line-height: 1;
    color: rgba(248, 242, 232, 0.72);
    cursor: pointer;
    transition: var(--transition-fast);
}
.lightbox-close:hover { color: var(--color-primary); }

@supports (height: 100dvh) {
    .lightbox-content {
        height: min(82dvh, calc(100dvh - 7rem), 860px);
    }
}

@media (max-width: 768px) {
    .lightbox {
        padding: 4.2rem 0.85rem 1.1rem;
    }

    .lightbox-content {
        width: calc(100vw - 1.7rem);
        height: min(84vh, calc(100vh - 5.3rem));
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.2rem;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 768px) {
        .lightbox-content {
            height: min(84dvh, calc(100dvh - 5.3rem));
        }
    }
}

/* --- SCROLL REVEAL --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .scroll-cue::after,
    .gallery-swipe-hint svg,
    .floating-whatsapp { animation: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(240px, 42vw);
    }
    .about-grid { gap: 3rem; }
    .about-images { height: 500px; }
    .tab-content.active { grid-template-columns: 1fr; gap: 2.6rem; }
    .tab-content.active .unit-visual { order: -1; }
    .unit-visual { height: 430px; }
    .spec-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promo-video-layout { grid-template-columns: 1fr; }
    .promo-video-copy { text-align: center; }
    .promo-video-copy p { margin-left: auto; margin-right: auto; }
    .promo-video-copy .promo-kpr-panel { text-align: left; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .detail-hero-layout,
    .detail-overview-grid,
    .detail-spec-layout {
        grid-template-columns: 1fr;
    }
    .detail-feature-list {
        grid-column: auto;
    }
    .detail-main-photo {
        height: clamp(420px, 78vh, 660px);
    }

    /* background-attachment: fixed janks on touch devices */
    .hero { background-attachment: scroll; }
}

@media (max-width: 768px) {
    /* Header: shrink logo + CTA so they never wrap next to the hamburger */
    header .container { gap: 0.6rem; }
    .logo { gap: 0.55rem; }
    .logo-mark,
    .logo-mark-wrap { width: 42px; height: 52px; }
    .logo-title { font-size: 1.02rem; letter-spacing: 0.08em; }
    .logo-sub { font-size: 0.52rem; letter-spacing: 0.3em; }
    #nav-cta-btn { display: none; }

    /* Slide-in mobile nav — LUXURY SIDEBAR */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(82%, 360px);
        height: 100vh;
        height: 100dvh;
        background:
            linear-gradient(168deg, rgba(9, 21, 16, 0.97) 0%, rgba(4, 10, 7, 0.99) 50%, rgba(14, 34, 25, 0.97) 100%);
        backdrop-filter: blur(28px) saturate(1.4);
        -webkit-backdrop-filter: blur(28px) saturate(1.4);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 99;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(197, 168, 128, 0.18);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.7);
        overflow: hidden;
    }

    /* Gold ornamental glow top-right */
    nav::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    /* Subtle gold line accent at left edge */
    nav::after {
        content: '';
        position: absolute;
        top: 15%;
        left: 0;
        width: 1px;
        height: 70%;
        background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
        opacity: 0.4;
        pointer-events: none;
    }

    nav.open { right: 0; }

    /* Backdrop overlay when sidebar is open */
    nav.open ~ .sidebar-backdrop,
    body:has(nav.open)::after {
        opacity: 1;
        pointer-events: auto;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: relative;
        z-index: 2;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    nav.open ul li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered entrance animation */
    nav.open ul li:nth-child(1) { transition-delay: 0.08s; }
    nav.open ul li:nth-child(2) { transition-delay: 0.14s; }
    nav.open ul li:nth-child(3) { transition-delay: 0.20s; }
    nav.open ul li:nth-child(4) { transition-delay: 0.26s; }
    nav.open ul li:nth-child(5) { transition-delay: 0.32s; }
    nav.open ul li:nth-child(6) { transition-delay: 0.38s; }
    nav.open ul li:nth-child(7) { transition-delay: 0.44s; }

    nav a {
        font-size: 0.82rem;
        letter-spacing: 0.28em;
        padding: 1.1rem 2rem;
        display: block;
        position: relative;
        color: rgba(248, 242, 232, 0.78);
        transition: all 0.3s ease;
    }

    nav a:hover,
    nav a.active {
        color: var(--color-primary-light);
    }

    /* Gold dot accent before active link */
    nav a.active::before {
        content: '';
        position: absolute;
        left: 20%;
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--color-primary);
        box-shadow: 0 0 8px rgba(197, 168, 128, 0.5);
    }

    /* Divider between nav items */
    nav ul li + li::before {
        content: '';
        display: block;
        width: 40px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.2), transparent);
        margin: 0 auto;
    }

    /* --- PREMIUM HAMBURGER BUTTON --- */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(197, 168, 128, 0.25);
        background: rgba(9, 21, 16, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 0;
        position: relative;
    }

    .menu-toggle:hover,
    .menu-toggle:focus-visible {
        border-color: var(--color-primary);
        box-shadow: 0 0 16px rgba(197, 168, 128, 0.15);
        background: rgba(9, 21, 16, 0.85);
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        width: 18px;
        height: 1.5px;
        background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }

    .menu-toggle span:nth-child(1) { top: 15px; }
    .menu-toggle span:nth-child(2) { top: 21px; width: 12px; }
    .menu-toggle span:nth-child(3) { top: 27px; }

    /* Hero */
    .hero {
        text-align: center;
        padding-top: 120px;
    }
    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.8rem);
        line-height: 1.18;
    }
    .hero-tag { justify-content: center; }
    .hero-tag::before { display: none; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .stat-item { align-items: center; }
    .stat-item + .stat-item::before { display: none; }
    .scroll-cue { display: none; }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        padding: 0;
    }
    .floating-wa-label { display: none; }

    /* Grids */
    .features-grid { grid-template-columns: 1fr; }
    .facilities-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 3px;
    }
    .facility-card,
    .facility-card-large {
        grid-column: auto;
        grid-row: auto;
        min-height: auto;
        aspect-ratio: 4 / 3;
    }
    .about-grid { grid-template-columns: 1fr; }
    .about-images {
        display: block;
        height: clamp(430px, 118vw, 560px);
    }
    .about-images::before { display: none; }
    .about-promo-frame {
        width: 56%;
        aspect-ratio: 9 / 14;
    }
    .stack-pos-0 {
        left: 3%;
        top: 0;
        transform: rotate(-1.4deg) scale(1);
    }
    .stack-pos-1 {
        left: 35%;
        top: 10%;
        transform: rotate(2deg) scale(0.96);
    }
    .stack-pos-2 {
        left: 10%;
        top: 36%;
        transform: rotate(-2.2deg) scale(0.92);
    }
    .stack-pos-3 {
        left: 40%;
        top: 44%;
        transform: rotate(2.6deg) scale(0.88);
    }
    .about-stack-controls {
        right: 0.7rem;
        bottom: 0.7rem;
    }

    .tabs-nav { border-bottom: none; }
    .tab-btn {
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-xs);
        margin: 0.25rem;
        padding: 0.7rem 1.2rem;
    }
    .tab-btn.active {
        border-color: var(--color-primary);
        background: rgba(198, 161, 91, 0.07);
    }

    .gallery-track { height: 440px; }
    .gallery-card { width: 78vw; }
    .gallery-card.gc-wide { width: 88vw; }
    .gallery-card-caption { padding: 1.2rem 1rem 1rem; }
    .gallery-card-caption h3 { font-size: 1.05rem; }
    .gallery-swipe-hint {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.52rem 0.64rem;
    }
    .gallery-nav-group { display: flex; }
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }

    .unit-visual {
        flex-direction: column;
        height: 460px;
    }
    .uv-hero { flex: 1 1 0; }
    .uv-secondary { flex: 0 0 130px; flex-direction: row; }

    .unit-feature-grid span {
        flex: 1 1 calc(50% - 0.65rem);
        justify-content: center;
        text-align: center;
    }

    .detail-hero {
        padding-top: 7rem;
    }
    .detail-breadcrumb {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }
    .detail-copy h1 {
        font-size: clamp(2.4rem, 14vw, 3.6rem);
    }
    .detail-type-switcher {
        gap: 0.5rem;
    }
    .detail-type-btn {
        flex: 1 1 calc(50% - 0.5rem);
        padding: 0.68rem 0.72rem;
        text-align: center;
    }
    .detail-main-photo {
        height: min(72vh, 560px);
    }
    .detail-thumb-strip {
        grid-auto-columns: minmax(104px, 32vw);
    }
    .detail-metrics {
        grid-template-columns: 1fr;
    }
    .detail-metric {
        min-height: 96px;
    }
    .detail-feature-list li {
        flex: 1 1 calc(50% - 0.65rem);
        text-align: center;
    }
    .detail-consult-card {
        padding: 1.6rem;
    }

    .spec-category-grid { grid-template-columns: 1fr; }
    .building-spec-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.82rem 0;
    }

    .promo-video-embed { width: min(100%, 480px); }

    .booking-card { padding: 2.4rem 1.5rem; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .floating-whatsapp {
        bottom: 1.4rem;
        right: 1.4rem;
        width: 50px;
        height: 50px;
        padding: 0;
    }
    .booking-form { gap: 1.3rem; }
    .btn { padding: 0.95rem 1.9rem; font-size: 0.72rem; }
    .ownership-section { padding: 3.4rem 0; }
    .building-spec-panel { padding: 1.35rem; }
    .booking-promo-summary ul { grid-template-columns: 1fr; }
    .detail-main-photo {
        height: min(64vh, 480px);
    }
    .detail-main-photo img {
        padding: 0.25rem;
    }
    .detail-type-btn,
    .detail-feature-list li {
        flex-basis: 100%;
    }
    .detail-actions .btn {
        width: 100%;
    }

    /* Extra-narrow phones: squeeze header a touch further */
    header .container { gap: 0.4rem; }
    .logo { gap: 0.45rem; }
    .logo-mark,
    .logo-mark-wrap { width: 38px; height: 48px; }
    .logo-title { font-size: 0.92rem; letter-spacing: 0.04em; }
    .logo-sub { font-size: 0.48rem; letter-spacing: 0.22em; }
    .hero-tag {
        font-size: 0.6rem;
        letter-spacing: 0.24em;
        text-indent: 0.24em;
    }
    .stat-value { font-size: 1.08rem; }
    .stat-label {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
        text-indent: 0;
        line-height: 1.45;
    }
}
