/**
 * Indekost.id — Public Frontend
 * Minimal-modern design system (menggantikan template landing lama).
 * Tidak memerlukan build step. Dimuat dari layouts/public.blade.php.
 */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    --bg: #f2f2ef;
    --bg-deep: #e8e8e4;
    --surface: #ffffff;
    --surface-2: #f7f7f4;
    --line: #e4e4df;
    --line-strong: #d6d6d0;

    --ink: #141619;
    --ink-2: #2b2e33;
    --text: #3d4046;
    --muted: #7b7f86;
    --muted-2: #a7aaaf;

    --accent: #1666c1;
    --accent-light: #8cbcf5;
    --accent-strong: #0f56a8;
    --accent-soft: #e8f0fb;
    --accent-ink: #ffffff;

    --green: #23a55a;
    --green-soft: #e2f5e8;
    --orange: #ee8a3a;
    --orange-soft: #fdeedf;
    --red: #e0484e;
    --red-soft: #fde6e6;

    --r-2xl: 36px;
    --r-xl: 28px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 12px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(20, 22, 25, .05);
    --shadow-sm: 0 1px 2px rgba(20, 22, 25, .04), 0 6px 20px -8px rgba(20, 22, 25, .10);
    --shadow-md: 0 2px 6px rgba(20, 22, 25, .04), 0 18px 40px -18px rgba(20, 22, 25, .22);
    --shadow-lg: 0 30px 70px -28px rgba(20, 22, 25, .35);

    --font: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1280px;
    --gutter: 24px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { padding-block: 112px; }
.section-sm { padding-block: 72px; }
.section + .section { padding-top: 0; }

.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }

/* ==========================================================================
   3. TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.eyebrow--plain { background: transparent; padding: 0; color: var(--muted); }
.eyebrow--plain::before { background: var(--accent-strong); }
.eyebrow--dark { background: rgba(255, 255, 255, .08); color: var(--accent-light); }

.display {
    font-size: clamp(44px, 6.6vw, 96px);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -0.045em;
}
.display .thin { font-weight: 300; }

.h-section {
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.h-section .mute { color: var(--muted-2); }
.h-section .thin { font-weight: 300; }

.h-card { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }

.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 54ch; }
.text-muted { color: var(--muted); }
.small { font-size: 14px; }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 48px;
}
.section-head__main { display: grid; gap: 20px; max-width: 720px; justify-items: start; }
.section-head__aside { max-width: 420px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__main { justify-items: center; }

/* ==========================================================================
   4. BUTTONS & CHIPS
   ========================================================================== */
.btn {
    --btn-h: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: var(--btn-h);
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    background: var(--surface);
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .55); }

.btn-lime { background: var(--accent); color: #fff; }
.btn-lime:hover { background: var(--accent-strong); color: #fff; }

.btn-light { background: var(--surface); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }

.btn-ghost { background: transparent; padding-inline: 4px; height: auto; }
.btn-ghost:hover { color: var(--muted); transform: none; }
.btn-ghost .ico { transition: transform .25s var(--ease); }
.btn-ghost:hover .ico { transform: translateX(4px); }

.btn-sm { --btn-h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Circle arrow inside dark buttons (moodboard: "Book a demo ↗") */
.btn .btn-dot {
    display: inline-grid;
    place-items: center;
    width: 30px; height: 30px;
    margin-right: -14px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: transform .3s var(--ease);
}
.btn-sm .btn-dot { width: 26px; height: 26px; margin-right: -10px; }
.btn .btn-dot .ico { width: 15px; height: 15px; }
.btn:hover .btn-dot { transform: rotate(45deg); }
.btn-lime .btn-dot { background: var(--ink); color: var(--accent-light); }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    transition: all .25s var(--ease);
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn.is-dark:hover { background: #000; }
.icon-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}
.chip .ico { width: 14px; height: 14px; }
.chip { max-width: 100%; }
.chip--wrap {
    height: auto;
    min-height: 30px;
    padding-block: 7px;
    align-items: flex-start;
    white-space: normal;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.chip--wrap .ico { margin-top: 1px; }
.chip--lime { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.chip--dark { background: var(--ink); border-color: transparent; color: #fff; }
.chip--glass {
    background: rgba(255, 255, 255, .78);
    border-color: rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--ink);
}
.chip--glass-dark {
    background: rgba(20, 22, 25, .55);
    border-color: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--success { background: var(--green-soft); color: var(--green); }
.badge--warning { background: var(--orange-soft); color: #c4671c; }
.badge--danger { background: var(--red-soft); color: var(--red); }
.badge--muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-block: 14px;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(242, 242, 239, .82);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 var(--line);
    padding-block: 10px;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 148px; height: auto; }

.nav-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}
.nav-pill a {
    padding: 9px 18px;
    border-radius: var(--r-pill);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: all .25s var(--ease);
}
.nav-pill a:hover { color: var(--ink); background: var(--surface-2); }
.nav-pill a.is-active { background: var(--ink); color: #fff; }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.header-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}
.header-login:hover { color: var(--muted); }

.menu-toggle {
    display: none;
    place-items: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px; height: 1.6px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
    display: none;
    margin-top: 12px;
    padding: 10px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.mobile-panel.is-open { display: block; animation: drop .3s var(--ease); }
.mobile-panel nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--r-md);
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
}
.mobile-panel nav a.is-active { background: var(--surface-2); }
.mobile-panel nav a .ico { color: var(--muted-2); }
.mobile-panel__foot {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 6px 6px;
    border-top: 1px solid var(--line);
}
.mobile-panel__phone { display: flex; align-items: center; gap: 8px; padding: 8px 10px 0; color: var(--muted); font-size: 14px; }

@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   6. HOME HERO
   ========================================================================== */
.hero { padding-top: 12px; }
.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    min-height: 660px;
    padding: 72px 64px;
    border-radius: var(--r-2xl);
    background:
        radial-gradient(120% 90% at 85% 15%, #fbfbf9 0%, rgba(251, 251, 249, 0) 60%),
        var(--bg-deep);
    overflow: hidden;
    isolation: isolate;
}
.hero-shell::after {
    /* fine dot grid, like moodboard data visuals */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(20, 22, 25, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(70% 70% at 75% 55%, #000 0%, transparent 75%);
    mask-image: radial-gradient(70% 70% at 75% 55%, #000 0%, transparent 75%);
}
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .lead { color: var(--text); opacity: .8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }

.rotator {
    position: relative;
    display: inline-grid;
    vertical-align: bottom;
    overflow: hidden;
    padding-bottom: .08em;
}
.rotator > span {
    grid-area: 1 / 1;
    transform: translateY(105%);
    opacity: 0;
    transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.rotator > span.is-active { transform: none; opacity: 1; }
.rotator > span.is-leaving { transform: translateY(-105%); opacity: 0; }
.no-js .rotator > span:first-child { transform: none; opacity: 1; }

.hero-visual { position: relative; height: 100%; min-height: 480px; }
.hero-visual__house {
    position: absolute;
    left: 50%; top: 52%;
    width: min(118%, 640px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 40px 40px rgba(20, 22, 25, .18));
    animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -53%); } }

.float-card {
    position: absolute;
    z-index: 2;
    padding: 16px 18px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
}
.float-card__label { font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card__title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }

.float-card--rooms { top: 4%; left: -2%; width: 236px; }
.float-card--rooms .room-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: 14px; }
.room-dots i { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--line-strong); }
.room-dots i.on { background: var(--accent-strong); }
.float-card--rooms .legend { display: flex; gap: 14px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--line-strong); }
.legend span.on::before { background: var(--accent-strong); }

.float-card--listing {
    right: -2%; bottom: 6%;
    width: 248px;
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.float-card--listing .float-card__title { color: #fff; font-size: 17px; }
.float-card--listing .float-card__label { color: rgba(255, 255, 255, .55); }
.float-card--listing .float-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.float-card--listing .mini-ico {
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: var(--accent-light);
}

.float-card--manage {
    top: 12%; right: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 10px;
    border-radius: var(--r-pill);
    background: var(--accent);
    border-color: transparent;
}
.float-card--manage .mini-ico {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--ink); color: var(--accent-light);
}
.float-card--manage .float-card__title { font-size: 13px; color: var(--accent-ink); }

/* ==========================================================================
   7. TABS (segmented)
   ========================================================================== */
.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 5px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
}
.segmented a {
    white-space: nowrap;
    padding: 9px 18px;
    border-radius: var(--r-pill);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: all .25s var(--ease);
}
.segmented a:hover { color: var(--ink); }
.segmented a.active { background: var(--ink); color: #fff; }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   8. PROPERTY CARD
   ========================================================================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.pcard__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--r-xl) - 8px);
    overflow: hidden;
    background: var(--surface-2);
}
.pcard__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media::after {
    content: "";
    position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(to top, rgba(10, 11, 13, .35), transparent);
    pointer-events: none;
}
.pcard__tags { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__loc {
    position: absolute; z-index: 1; left: 12px; right: 64px; bottom: 12px;
    max-width: max-content;
    overflow: hidden;
}
.pcard__loc span { overflow: hidden; text-overflow: ellipsis; }
.pcard__go {
    position: absolute; z-index: 1; right: 12px; bottom: 12px;
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: #fff; color: var(--ink);
    transition: transform .35s var(--ease), background .35s var(--ease);
}
.pcard:hover .pcard__go { background: var(--accent); transform: rotate(45deg); }

.pcard__body { display: grid; gap: 6px; padding: 18px 12px 10px; flex: 1; align-content: start; }
.pcard__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.pcard__title a { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--muted); }
.pcard__price { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.pcard__price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.pcard__desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__addr { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); min-width: 0; }
.pcard__addr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pcard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 12px 10px;
    padding-top: 14px;
    border-top: 1px dashed var(--line-strong);
}

.owner { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.owner span:not(.avatar) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner__badge { width: 16px; height: 16px; flex-shrink: 0; margin-left: -4px; }
.avatar {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.avatar--lg { width: 64px; height: 64px; font-size: 26px; }

/* list variant */
.pcard--list { flex-direction: row; gap: 8px; }
.pcard--list .pcard__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 250px; }
.pcard--list .pcard__right { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pcard--list .pcard__body { padding: 18px 16px 6px; gap: 10px; }
.pcard--list .pcard__title { font-size: 22px; }
.pcard--list .pcard__price { font-size: 20px; }
.pcard--list .pcard__foot { margin: auto 16px 10px; }

.stack-cards { display: grid; gap: 16px; }

.empty-state {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 64px 24px;
    border-radius: var(--r-xl);
    border: 1px dashed var(--line-strong);
    text-align: center;
    color: var(--muted);
}
.empty-state .ico { width: 32px; height: 32px; color: var(--muted-2); }

/* ==========================================================================
   9. BENTO / FEATURES
   ========================================================================== */
.bento {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.bento__media {
    position: relative;
    grid-row: span 2;
    min-height: 520px;
    border-radius: var(--r-xl);
    overflow: hidden;
}
.bento__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 11, 13, .65) 0%, rgba(10, 11, 13, 0) 55%);
}
.bento__caption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; color: #fff; }
.bento__caption h3 { color: #fff; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }

.feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature__ico {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink);
    margin-bottom: auto;
}
.feature__ico .ico { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 28px; }
.feature p { font-size: 15px; color: var(--muted); }

.feature--lime { background: var(--accent); border-color: transparent; }
.feature--lime h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.feature--lime p { color: rgba(255, 255, 255, .78); }
.feature--lime .feature__ico { background: var(--ink); border-color: transparent; color: var(--accent-light); }

.feature--dark { background: var(--ink); border-color: transparent; color: rgba(255, 255, 255, .7); }
.feature--dark h3 { color: #fff; }
.feature--dark p { color: rgba(255, 255, 255, .6); }
.feature--dark .feature__ico { background: rgba(255, 255, 255, .08); border-color: transparent; color: var(--accent-light); }

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */
.testimonials { overflow: hidden; }
.testimonials .swiper { overflow: visible; }
.testimonials .swiper-slide { height: auto; width: 380px; }
.t-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
    padding: 30px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}
.t-card__quote { font-size: 18px; line-height: 1.55; color: var(--ink-2); letter-spacing: -0.01em; flex: 1; }
.t-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-card__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.t-card__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.t-card__who strong { display: block; font-size: 15px; line-height: 1.3; }
.t-card__who span { display: block; font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .ico { width: 14px; height: 14px; }
.t-card__mark { width: 34px; height: 34px; color: var(--accent-strong); }

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

/* ==========================================================================
   11. PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { padding-top: 12px; }
.page-hero__shell {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 64px 64px 60px;
    border-radius: var(--r-2xl);
    background: var(--bg-deep);
    overflow: hidden;
    isolation: isolate;
}
.page-hero__shell::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(20, 22, 25, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
    mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.page-hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; max-width: 16ch; }
.page-hero .lead { color: var(--text); opacity: .8; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--muted-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   12. LISTING PAGE
   ========================================================================== */
.listing-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-block: 40px 32px;
}
.listing-head h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; margin-top: 18px; }
.listing-head p { margin-top: 12px; color: var(--muted); }
.listing-head p strong { color: var(--ink); }
.listing-tools { display: flex; flex-wrap: wrap; gap: 8px; }

.listing-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-bottom: 112px;
}

.filter-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}
.filter-card__title { display: flex; align-items: center; justify-content: space-between; }
.filter-card__title h2 { font-size: 18px; letter-spacing: -0.02em; }
.filter-group { display: grid; gap: 10px; }
.filter-group__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filter-divider { height: 1px; background: var(--line); }

/* Form controls */
.field {
    position: relative;
    display: block;
}
.field .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input,
.select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    font-size: 15px;
    outline: none;
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field .ico + .input { padding-left: 46px; }
.input::placeholder { color: var(--muted-2); }
.input:focus,
.select:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 22, 25, .06); }
.select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141619' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    text-overflow: ellipsis;
}
.select--pill {
    width: auto;
    height: 46px;
    border-radius: var(--r-pill);
    background-color: var(--surface);
    padding-left: 18px;
    font-size: 14px;
    font-weight: 500;
    min-width: 140px;
}

/* Amenity toggle chips */
.amenities { display: flex; flex-wrap: wrap; gap: 6px; max-height: 236px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.amenity input { position: absolute; opacity: 0; pointer-events: none; }
.amenity label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 13px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all .2s var(--ease);
}
.amenity label:hover { border-color: var(--ink); }
.amenity input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.amenity input:checked + label::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
}
.amenity input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Price range (noUiSlider) */
.price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.price-head .vals { color: var(--ink); font-weight: 600; font-size: 13px; text-align: right; }
.noUi-target, .noUi-target * { touch-action: none; user-select: none; box-sizing: border-box; cursor: pointer; }
.noUi-target { position: relative; direction: ltr; height: 4px; margin: 18px 11px 8px; }
.noUi-base { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 4px; background: var(--line); }
.noUi-origin { position: absolute; inset: 0; border-radius: 4px; }
.noUi-background { background: var(--line); }
.noUi-connect { background: var(--ink); }
.noUi-handle {
    position: relative;
    z-index: 1;
    left: -11px; top: 50%;
    width: 22px; height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--ink);
    box-shadow: 0 0 0 4px rgba(22, 102, 193, .22);
    cursor: grab;
}
.noUi-stacking .noUi-handle { z-index: 10; }
.noUi-state-tap .noUi-origin { transition: left .3s; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.pager__info { font-size: 14px; color: var(--muted); }
.pager__info strong { color: var(--ink); }
.pager__list { display: flex; flex-wrap: wrap; gap: 6px; }
.pager__list a,
.pager__list span {
    display: inline-grid;
    place-items: center;
    min-width: 44px; height: 44px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s var(--ease);
}
.pager__list a:hover { border-color: var(--ink); }
.pager__list .is-active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__list .is-disabled span { color: var(--muted-2); background: transparent; }
.pager--center { justify-content: center; }

/* ==========================================================================
   13. PROPERTY DETAIL
   ========================================================================== */
.detail-head { display: grid; gap: 18px; padding-block: 28px 28px; }
.detail-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.detail-head__row > * { min-width: 0; }
.detail-head h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; max-width: 18ch; }
.detail-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
.detail-head__price { text-align: right; }
.detail-head__price .label { font-size: 13px; color: var(--muted); }
.detail-head__price .value { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
.detail-head__price .value small { font-size: 15px; color: var(--muted); font-weight: 400; }

/* Gallery bento */
.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 230px;
    border-radius: var(--r-xl);
    overflow: hidden;
}
.gallery a { position: relative; display: block; overflow: hidden; background: var(--surface); border-radius: 18px; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:first-child { grid-row: span 2; }
.gallery .more {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: rgba(10, 11, 13, .5);
    color: #fff; font-size: 18px; font-weight: 600;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.gallery a.is-hidden { display: none; }
.gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 470px; }
.gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 470px; }
.gallery--2 a:first-child { grid-row: auto; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--4 a:nth-child(4) { grid-column: span 2; }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
    padding-block: 24px 112px;
}
.detail-main { display: grid; gap: 16px; min-width: 0; }

.panel {
    padding: 32px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    min-width: 0;
}
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel__title { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.panel__sub { font-size: 14px; color: var(--muted); }

.prose { color: var(--text); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { margin-top: 1.6em; letter-spacing: -0.02em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 22px; }
.prose h4, .prose h5, .prose h6 { font-size: 18px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--muted-2); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1.4em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent-strong); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: var(--r-lg);
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.kpi__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.kpi__value { font-size: 28px; font-weight: 500; color: var(--ink); letter-spacing: -0.04em; line-height: 1; overflow-wrap: anywhere; }

/* Floor map (building) */
.floor-map { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; }
.floor-map__visual {
    display: grid; place-items: center;
    height: 100%;
    min-height: 220px;
    padding: 16px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(80% 60% at 50% 60%, #fff 0%, rgba(255,255,255,0) 70%),
        var(--surface-2);
}
.floor-map__visual img { width: 100%; filter: drop-shadow(0 18px 20px rgba(20, 22, 25, .15)); }
.floors { display: grid; gap: 8px; }
.floor-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.floor-row__label { font-size: 13px; font-weight: 600; color: var(--ink); padding-left: 6px; }
.floor-row__rooms { display: flex; flex-wrap: wrap; gap: 6px; }
.room-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.room-chip:hover { border-color: var(--ink); color: var(--ink); }
.room-chip.is-available { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.room-chip.is-available:hover { background: var(--accent-strong); }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: #fff; border: 1px solid var(--line-strong); }
.map-legend span.on::before { background: var(--accent); border-color: var(--accent-strong); }

/* Facilities */
.facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.facility {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}
.facility .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }

/* Location */
.location-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.location-box__text { display: flex; gap: 14px; min-width: 0; flex: 1 1 280px; }
.location-box__text .pin { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--accent-light); }
.location-box__text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.location-box__text span { color: var(--muted); font-size: 15px; }

/* Accordion of floors */
.accordion { display: grid; gap: 10px; }
.acc-item { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; }
.acc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    text-align: left;
}
.acc-head__left { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 16px; }
.acc-head__left .chev {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--ink); color: #fff;
    transition: transform .3s var(--ease);
}
.acc-head.collapsed .chev { transform: rotate(-90deg); background: #fff; color: var(--ink); border: 1px solid var(--line); }
.acc-head__right { display: inline-flex; gap: 8px; }
.acc-body { padding: 0 10px 10px; }

.room-list { display: grid; gap: 8px; }
.room-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 10px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.room-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.room-item__thumb { display: block; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.room-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-item__body { display: grid; gap: 6px; min-width: 0; }
.room-item__name { font-size: 16px; font-weight: 600; color: var(--ink); }
.room-item__name:hover { color: var(--muted); }
.room-item__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.room-item__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-item__meta b { color: var(--ink-2); font-weight: 600; }
.room-item__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.room-item__tags .chip { height: 24px; font-size: 12px; padding: 0 9px; }
.room-item__price { font-size: 15px; font-weight: 600; color: var(--ink); }
.room-item__price small { color: var(--muted); font-weight: 400; }
.room-item__side { display: grid; justify-items: end; gap: 10px; align-self: stretch; align-content: space-between; padding: 4px 4px 4px 0; }

/* Contact aside */
.contact-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 22px;
    padding: 28px;
    border-radius: var(--r-xl);
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
    isolation: isolate;
}
.contact-card::before {
    content: "";
    position: absolute; z-index: -1;
    width: 320px; height: 320px; right: -140px; top: -160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 102, 193, .35), rgba(22, 102, 193, 0) 70%);
}
.contact-card h2 { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.contact-card__price .value { color: #fff; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.contact-card__price .value small { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .55); }
.contact-card__price .label { font-size: 13px; color: rgba(255, 255, 255, .5); margin-bottom: 4px; }
.contact-card__person { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-card__person .avatar { background: var(--accent); color: #fff; }
.contact-card__name { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 17px; font-weight: 600; }
.contact-card__name img { width: 18px; height: 18px; }
.contact-card__list { display: grid; gap: 10px; font-size: 14px; }
.contact-card__list li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-card__list .ico { width: 16px; height: 16px; color: var(--accent-light); }

/* ==========================================================================
   14. MODAL (Bootstrap JS compatible)
   ========================================================================== */
.fade { transition: opacity .2s linear; }
.fade:not(.show) { opacity: 0; }
.collapse:not(.show) { display: none; }
.collapsing { height: 0; overflow: hidden; transition: height .35s var(--ease); }

.modal {
    position: fixed; inset: 0; z-index: 1055;
    display: none;
    width: 100%; height: 100%;
    overflow-x: hidden; overflow-y: auto;
    outline: 0;
}
.modal-dialog { position: relative; width: auto; margin: 12px; pointer-events: none; }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 24px); }
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background: var(--surface);
    border-radius: var(--r-xl);
    outline: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.modal-backdrop { position: fixed; inset: 0; z-index: 1050; width: 100vw; height: 100vh; background: #0b0c0e; }
.modal-backdrop.fade { opacity: 0; }
.modal-backdrop.show { opacity: .55; }
body.modal-open { overflow: hidden; }
@media (min-width: 576px) {
    .modal-dialog { max-width: 520px; margin: 28px auto; }
    .modal-dialog-centered { min-height: calc(100% - 56px); }
}
@media (min-width: 992px) { .modal-lg { max-width: 880px; } }

.btn-close {
    display: grid; place-items: center;
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    transition: all .2s var(--ease);
}
.btn-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.rm-head { display: flex; align-items: center; gap: 12px; padding: 24px 24px 0; }
.rm-head h2 { font-size: 22px; letter-spacing: -0.03em; }
.rm-head .spacer { flex: 1; }
.rm-gallery {
    display: grid;
    gap: 8px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 150px;
    padding: 20px 24px 0;
}
.rm-gallery a { display: block; overflow: hidden; border-radius: 14px; background: var(--surface-2); }
.rm-gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rm-gallery a:hover img { transform: scale(1.05); }
.rm-gallery a:first-child { grid-row: span 2; }
.rm-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 320px; }
.rm-gallery--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
.rm-gallery--2 a:first-child { grid-row: auto; }
.rm-gallery--3 { grid-template-columns: 2fr 1fr; }
.rm-gallery--4 a:nth-child(4) { grid-column: span 2; }
.rm-body { display: grid; gap: 22px; padding: 22px 24px; }
.rm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rm-stats .kpi { gap: 10px; }
.rm-stats .kpi__value { font-size: 20px; letter-spacing: -0.02em; }
.rm-section-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.rm-price {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 500;
}
.rm-price strong { color: #fff; font-size: 22px; letter-spacing: -0.03em; }
.rm-price strong small { font-size: 14px; font-weight: 400; color: var(--accent-ink); }
.rm-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 0 24px 24px; }
.rm-state { display: grid; justify-items: center; gap: 14px; padding: 64px 24px; text-align: center; color: var(--muted); }
.rm-state strong { font-size: 18px; color: var(--ink); }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Login modal */
.login-modal { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.login-modal__art { position: relative; background: var(--ink); }
.login-modal__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.login-modal__form { display: grid; align-content: center; gap: 18px; padding: 36px; }
.login-modal__form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ==========================================================================
   15. ABOUT
   ========================================================================== */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.signature { display: flex; align-items: center; gap: 22px; padding-top: 8px; }
.signature strong { display: block; font-size: 16px; }
.signature span { display: block; font-size: 14px; color: var(--muted); }
.signature img { height: 54px; width: auto; opacity: .85; }
.about-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.about-collage > :first-child { grid-row: span 2; min-height: 420px; }
.about-collage > * { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 204px; }

.strip-gallery .swiper-slide { width: 420px; }
.strip-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; }
.strip-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip-gallery a:hover img { transform: scale(1.05); }

.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tile-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.tile-collage .tile { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.tile-collage .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-collage .tile:first-child { grid-row: span 2; }
.tile-collage .chip { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); white-space: normal; height: auto; min-height: 32px; padding-block: 7px; line-height: 1.2; }
.feature-rows { display: grid; gap: 10px; margin-top: 32px; }
.feature-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.feature-row .feature__ico { margin: 0; }
.feature-row h3 { font-size: 18px; margin-bottom: 4px; }
.feature-row p { font-size: 15px; color: var(--muted); }

/* CTA banner */
.cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: 32px;
    padding: 64px;
    border-radius: var(--r-2xl);
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
    isolation: isolate;
}
.cta::before {
    content: "";
    position: absolute; z-index: -1;
    width: 620px; height: 620px; right: -160px; bottom: -340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 102, 193, .32), rgba(22, 102, 193, 0) 70%);
}
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; margin: 18px 0 30px; max-width: 18ch; }
.cta__art img { width: 100%; max-height: 320px; object-fit: contain; }

/* ==========================================================================
   16. HELP CENTER
   ========================================================================== */
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    padding: 26px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); }
.article-card h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.3; padding-right: 40px; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.article-card .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 10px; font-size: 13px; color: var(--muted); }
.article-card .meta b { color: var(--ink-2); font-weight: 600; }
.article-card p { font-size: 15px; color: var(--muted); }
.article-card .go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease); }
.article-card:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(45deg); }

.article { padding: 48px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.article__head { display: grid; gap: 18px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.article__head h1 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__foot .group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   17. LEGAL PAGES
   ========================================================================== */
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.legal-content { padding: 48px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
.legal-content .box-item + .box-item { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-content h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.035em; margin-bottom: 18px; }
.legal-content h6 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-content p { color: var(--text); line-height: 1.75; }
.legal-content p + p,
.legal-content p + div,
.legal-content h6 + p { margin-top: 10px; }
.legal-content .box-item:first-child > p:nth-of-type(1) { display: inline-flex; font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 12px; }
.legal-content ul.list-default { display: grid; gap: 10px; margin-top: 10px; }
.legal-content ul.list-default li { position: relative; padding-left: 26px; line-height: 1.7; }
.legal-content ul.list-default li::before {
    content: "";
    position: absolute; left: 4px; top: .62em;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-strong);
}
.legal-content code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88em; }

.side-stack { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.side-card h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--r-md);
    color: var(--ink-2);
    font-weight: 500;
    transition: all .2s var(--ease);
}
.side-nav a:hover { background: var(--surface-2); }
.side-nav a.is-active { background: var(--ink); color: #fff; }
.side-nav a.is-active .ico { color: var(--accent-light); }
.side-card--dark { background: var(--ink); border-color: transparent; color: rgba(255, 255, 255, .7); }
.side-card--dark h2 { color: rgba(255, 255, 255, .5); }
.side-card--dark dl { display: grid; gap: 16px; margin: 0; font-size: 14px; }
.side-card--dark dt { color: #fff; font-weight: 600; margin-bottom: 2px; }
.side-card--dark dd { margin: 0; }

/* ==========================================================================
   18. 404
   ========================================================================== */
.notfound { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 40px; min-height: 560px; }
.notfound .code { font-size: clamp(90px, 16vw, 200px); font-weight: 600; letter-spacing: -0.07em; line-height: .85; color: var(--ink); }
.notfound .code span { color: var(--muted-2); font-weight: 300; }
.notfound h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.3; max-width: 30ch; margin: 24px 0 32px; }
.notfound img { width: 100%; max-height: 420px; object-fit: contain; }

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
.site-footer { padding: 0 12px 12px; }
.site-footer__shell {
    position: relative;
    padding: 72px 0 0;
    border-radius: var(--r-2xl);
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 48px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 15px; line-height: 1.7; max-width: 46ch; }
.footer-col h3 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 12px; font-size: 15px; }
.footer-col a:hover { color: var(--accent-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-light); }
.footer-contact .text-white { color: rgba(255, 255, 255, .85); }

.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.footer-social a {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 15px; height: 15px; }
.footer-social svg path { fill: currentColor; }

.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 56px; padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a:hover { color: #fff; }
.footer-wordmark {
    display: block;
    margin: 8px 0 -0.2em;
    font-size: clamp(64px, 17vw, 260px);
    font-weight: 600;
    letter-spacing: -0.07em;
    line-height: .8;
    text-align: center;
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    user-select: none;
    pointer-events: none;
}

/* ==========================================================================
   20. REVEAL ANIMATION
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Fancybox tweaks */
.fancybox-bg { background: #0b0c0e; }
.fancybox-is-open .fancybox-bg { opacity: .92; }

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
    .hero-shell { padding: 56px 44px; }
    .float-card--rooms { left: -4%; }
    .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__media { grid-row: auto; grid-column: span 2; min-height: 380px; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; }
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .floor-map { grid-template-columns: 1fr; }
    .floor-map__visual { min-height: 0; max-height: 240px; }
    .floor-map__visual img { max-width: 260px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 991px) {
    :root { --gutter: 20px; }
    .section { padding-block: 84px; }
    .site-header__inner { grid-template-columns: 1fr auto; }
    .nav-pill, .header-actions .header-login, .header-actions .btn { display: none; }
    .menu-toggle { display: grid; }

    .hero-shell { grid-template-columns: 1fr; padding: 48px 32px 32px; min-height: 0; gap: 12px; }
    .hero-visual { min-height: 440px; }
    .hero-visual__house { width: min(100%, 560px); }
    .float-card--rooms { left: 0; top: 2%; }
    .float-card--listing { right: 0; bottom: 2%; }

    .listing-layout { grid-template-columns: 1fr; }
    .filter-card { position: static; }
    .detail-layout { grid-template-columns: 1fr; }
    .contact-card { position: relative; top: auto; }
    .gallery { grid-auto-rows: 180px; }
    .gallery--1, .gallery--2 { grid-auto-rows: 360px; }

    .about-hero, .why-grid, .notfound { grid-template-columns: 1fr; }
    .notfound { min-height: 0; padding-block: 24px; }
    .cta { grid-template-columns: 1fr; padding: 44px 32px; }
    .cta__art { display: none; }
    .legal-layout { grid-template-columns: 1fr; }
    .side-stack { position: static; }
    .login-modal { grid-template-columns: 1fr; min-height: 0; }
    .login-modal__art { display: none; }
}

@media (max-width: 767px) {
    :root { --gutter: 16px; }
    body { font-size: 15px; }
    .section { padding-block: 64px; }
    .section-head { margin-bottom: 32px; }
    .lead { font-size: 16px; }

    .hero-shell, .page-hero__shell { border-radius: var(--r-xl); }
    .hero-shell { padding: 36px 20px 20px; }
    .hero-visual { min-height: 360px; }
    .float-card { padding: 12px 14px; border-radius: 18px; }
    .float-card--rooms { width: 188px; }
    .float-card--rooms .room-dots { gap: 4px; margin-top: 10px; }
    .float-card--listing { width: 196px; }
    .float-card--listing .float-card__title { font-size: 15px; }
    .float-card--listing .float-card__top { margin-bottom: 10px; }
    .float-card--manage { top: auto; bottom: 30%; left: 0; right: auto; }

    .segmented { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
    .segmented::-webkit-scrollbar { display: none; }
    .segmented a { flex-shrink: 0; }

    .grid-cards { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .bento__media { grid-column: auto; min-height: 300px; }
    .feature { padding: 24px; }
    .feature h3 { margin-top: 20px; }

    .testimonials .swiper-slide { width: 86vw; }
    .t-card { padding: 24px; }
    .t-card__quote { font-size: 16px; }

    .page-hero__shell { padding: 40px 22px; }

    .pcard--list { flex-direction: column; }
    .pcard--list .pcard__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
    .pcard--list .pcard__body { padding: 16px 12px 6px; }
    .pcard--list .pcard__foot { margin: 6px 12px 10px; }
    .listing-tools { width: 100%; }
    .listing-tools .select--pill { flex: 1; min-width: 0; }
    .pager { justify-content: center; }
    .pager__info { width: 100%; text-align: center; }

    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; border-radius: var(--r-lg); }
    .gallery a:first-child { grid-column: span 2; grid-row: span 2; }
    .gallery--1, .gallery--2 { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .gallery--2 a:first-child { grid-row: auto; grid-column: auto; }
    .gallery--3 { grid-template-columns: 1fr 1fr; }
    .gallery--4 a:nth-child(4) { grid-column: span 2; }
    .detail-head__price { text-align: left; }
    .panel { padding: 22px; border-radius: var(--r-lg); }
    .kpi__value { font-size: 22px; }
    .floor-row { grid-template-columns: 1fr; gap: 8px; }
    .floor-row__label { padding-left: 2px; }
    .room-item { grid-template-columns: 72px minmax(0, 1fr); }
    .room-item__thumb { width: 72px; height: 72px; }
    .room-item__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; padding: 0; }
    .acc-head { padding: 14px; }

    .rm-head { padding: 18px 18px 0; flex-wrap: wrap; }
    .rm-gallery { padding: 16px 18px 0; grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
    .rm-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
    .rm-gallery--1, .rm-gallery--2 { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .rm-gallery--2 a:first-child { grid-column: auto; grid-row: auto; }
    .rm-body { padding: 18px; }
    .rm-foot { padding: 0 18px 18px; }
    .rm-foot .btn { flex: 1; }

    .about-collage > :first-child { min-height: 300px; }
    .about-collage > * { min-height: 144px; }
    .strip-gallery .swiper-slide { width: 78vw; }
    .tile-collage { grid-template-rows: 170px 170px; }
    .cta { padding: 36px 22px; border-radius: var(--r-xl); }
    .article-grid { grid-template-columns: 1fr; }
    .article-card { grid-template-columns: 1fr; padding: 22px; }
    .article, .legal-content { padding: 26px 20px; border-radius: var(--r-xl); }

    .site-footer { padding: 0 8px 8px; }
    .site-footer__shell { padding-top: 48px; border-radius: var(--r-xl); }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
}
