/* ==========================================================
   Aero City - Customer Portal Stylesheet
   ========================================================== */

:root {
    --navy: #0A2647;
    --gold: #B89D44;
    --gold-soft: #D4B968;
    --dark: #051937;
    --light: #F8FAFC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --green: #28a745;
    --red: #dc3545;
    --yellow: #ffc107;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    overflow-x: hidden;
    background: #fff;
}

* { box-sizing: border-box; }
a { text-decoration: none; }

/* ============== Utilities ============== */
.text-gold { color: var(--gold) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-light-soft { background: var(--light) !important; }

.section-title {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy);
}
.section-subtitle {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.section-desc {
    color: var(--gray-500);
    max-width: 720px;
    margin: 0 auto;
}
.gold-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 30px;
}
.gold-line-center { margin-left: auto; margin-right: auto; }

.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 40px 0;
    border: 0;
}

/* ============== Buttons ============== */
.btn-gold {
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    border-radius: 0;
    padding: 12px 30px;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.btn-gold:hover {
    background: var(--navy);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-navy {
    background: var(--navy);
    color: #fff;
    border-radius: 0;
    font-weight: 600;
    transition: var(--transition);
}
.btn-navy:hover {
    background: var(--gold);
    color: #fff;
}
.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 0;
    font-weight: 700;
    padding: 10px 28px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}
.btn-soft {
    background: var(--gray-100);
    color: var(--navy);
    border: 0;
    border-radius: 0;
    font-weight: 600;
    padding: 8px 18px;
    transition: var(--transition);
}
.btn-soft:hover { background: var(--gold); color: #fff; }

/* ============== Top Bar & Navbar ============== */
.top-bar {
    background: var(--navy);
    color: #fff;
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 500;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--gold); }

.navbar {
    background: #fff;
    padding: 18px 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.navbar-brand img { height: 90px; }
.nav-link {
    font-weight: 700;
    color: var(--navy) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin: 0 12px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold) !important; }
.nav-item.dropdown .dropdown-menu {
    border-radius: 0;
    border: 0;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    margin-top: 12px;
    max-height: 360px;
    overflow-y: auto;
}
.nav-item.dropdown .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    color: var(--navy);
}
.nav-item.dropdown .dropdown-item:hover {
    background: var(--gold);
    color: #fff;
}

/* ============== Hero ============== */
.hero-container {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
}
.hero-compact { min-height: 40vh; }

/* ==========================================================
   HERO BANNER (GIF version)
   ========================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--navy);
}
.hero-banner-gif {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================
   HERO BACKGROUND: Banner GIF (menggantikan sky+runway+awan+pesawat+tower)
   ========================================================== */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Banner GIF memenuhi container hero */
.hero-bg-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay gelap tipis kiri-bawah: gradientside dari kanan transparan ke kiri gelap,
   supaya teks hero (kiri) tetap kebaca, sisi kanan tetap bersih untuk image stack */
.hero-bg-banner-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(10, 38, 71, 0.78) 0%,
            rgba(10, 38, 71, 0.65) 35%,
            rgba(10, 38, 71, 0.35) 60%,
            rgba(10, 38, 71, 0.15) 100%
        ),
        linear-gradient(180deg,
            rgba(10, 38, 71, 0.30) 0%,
            rgba(10, 38, 71, 0.10) 50%,
            rgba(10, 38, 71, 0.55) 100%
        );
}

/* Sky gradient — atas lebih terang, bawah makin gelap navy */
.hero-bg-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(255, 200, 130, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 25%, rgba(140, 180, 230, 0.22) 0%, transparent 60%),
        linear-gradient(180deg,
            #1a3a5c 0%,
            #0f2a48 35%,
            #0a2647 70%,
            #051937 100%
        );
    opacity: 0.95;
}

/* Runway strip — garis horizontal samar di bawah, memberi kesan landasan pacu */
.hero-bg-runway {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background:
        linear-gradient(180deg, transparent 0%, rgba(8, 24, 48, 0.35) 40%, rgba(2, 12, 28, 0.7) 100%),
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 60px,
            rgba(255, 255, 255, 0.08) 60px,
            rgba(255, 255, 255, 0.08) 90px,
            transparent 90px,
            transparent 150px
        );
    transform: perspective(800px) rotateX(55deg);
    transform-origin: bottom center;
    opacity: 0.7;
    mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 100%);
}

/* Awan — blob putih transparan melayang */
.hero-bg-clouds {
    position: absolute;
    inset: 0;
}
.hero-bg-clouds .cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    filter: blur(20px);
}
.hero-bg-clouds .cloud-1 {
    top: 12%;
    left: 8%;
    width: 220px;
    height: 60px;
    opacity: 0.5;
    animation: cloudDrift 28s linear infinite;
}
.hero-bg-clouds .cloud-2 {
    top: 22%;
    right: 10%;
    width: 280px;
    height: 70px;
    opacity: 0.4;
    animation: cloudDrift 36s linear infinite reverse;
}
.hero-bg-clouds .cloud-3 {
    top: 8%;
    left: 55%;
    width: 180px;
    height: 50px;
    opacity: 0.35;
    animation: cloudDrift 32s linear infinite;
}
.hero-bg-clouds .cloud-4 {
    top: 30%;
    left: 35%;
    width: 150px;
    height: 40px;
    opacity: 0.3;
    animation: cloudDrift 40s linear infinite reverse;
}
@keyframes cloudDrift {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(40px); }
    100% { transform: translateX(0); }
}

/* Pesawat — SVG dengan posisi berbeda, fade-in + drift */
.hero-bg-plane {
    position: absolute;
    width: 280px;
    opacity: 0;
    animation: planeAppear 1.6s ease-out forwards;
}
.hero-bg-plane svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.4));
}
.hero-bg-plane-1 {
    top: 28%;
    left: -10%;
    transform: rotate(-8deg);
    animation: planeFly 1 18s linear infinite, planeAppear 1.6s ease-out forwards;
    animation-delay: 0.3s, 0s;
}
.hero-bg-plane-2 {
    top: 50%;
    right: -8%;
    width: 180px;
    transform: rotate(8deg) scaleX(-1);
    opacity: 0;
    animation: planeFly2 22s linear infinite, planeAppear 1.6s ease-out forwards;
    animation-delay: 0.5s, 0.4s;
}
@keyframes planeAppear {
    0%   { opacity: 0; }
    100% { opacity: 0.7; }
}
@keyframes planeFly {
    0%   { transform: translateX(0)   rotate(-8deg); }
    100% { transform: translateX(140vw) rotate(-8deg); }
}
@keyframes planeFly2 {
    0%   { transform: translateX(0)   rotate(8deg) scaleX(-1); }
    100% { transform: translateX(-120vw) rotate(8deg) scaleX(-1); }
}

/* Kontrol tower — siluet di kanan bawah, di belakang text */
.hero-bg-tower {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 110px;
    height: 320px;
    opacity: 0.7;
}
.hero-bg-tower svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}

/* Mobile: hide plane, tower lebih kecil, awan lebih redup */
@media (max-width: 768px) {
    .hero-bg-plane-1 { width: 160px; top: 22%; }
    .hero-bg-plane-2 { width: 110px; top: 38%; }
    .hero-bg-tower { width: 70px; height: 220px; right: 2%; }
    .hero-bg-clouds .cloud { filter: blur(14px); }
}
@media (max-width: 575px) {
    .hero-bg-plane-1 { display: none; }
    .hero-bg-plane-2 { display: none; }
    .hero-bg-tower { display: none; }
}
.hero-overlay {
    position: relative;
    z-index: 2;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 80px 0;
}
.hero-compact .hero-overlay { min-height: 40vh; padding: 60px 0; }
.hero-text h1 {
    font-weight: 800;
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-badge {
    display: inline-block;
    background: rgba(184, 157, 68, 0.2);
    color: var(--gold);
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-left: 3px solid var(--gold);
    text-transform: uppercase;
}
.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.hero-image-stack { position: relative; height: 500px; }
.hero-img-1, .hero-img-2 {
    position: absolute;
    box-shadow: 20px 20px 0 var(--gold);
}
.hero-img-1 { width: 70%; height: 350px; object-fit: cover; top: 0; right: 0; }
.hero-img-2 { width: 60%; height: 250px; object-fit: cover; bottom: 0; left: 0; }

/* ============== Search Bar ============== */
.search-wrap { margin-top: -60px; position: relative; z-index: 10; }
.search-card {
    background: #fff;
    border-radius: 0;
    box-shadow: var(--shadow-xl);
    padding: 30px;
}
.search-card label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.search-card .form-select,
.search-card .form-control { border-radius: 0; border: 1px solid var(--gray-200); }

/* ============== Feature Card (Why Aero City) ============== */
.feature-card {
    background: #fff;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--gold);
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

/* ============== Unit Card (Universal) ============== */
.unit-card {
    background: #fff;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0;
}
.unit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.unit-card .img-wrap { position: relative; overflow: hidden; }
.unit-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.6s ease;
}
.unit-card:hover img { transform: scale(1.08); }
.unit-info { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.unit-info h6 { color: var(--navy); font-weight: 700; }
.unit-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0 14px;
    font-size: 0.78rem;
    color: var(--gray-700);
}
.unit-specs span { display: inline-flex; align-items: center; gap: 4px; }
.unit-specs i { color: var(--gold); font-size: 0.85rem; }
.unit-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: auto;
}
.price-tag { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price-old {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: 0.78rem;
    display: block;
    margin-bottom: 2px;
}
.price-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

.tower-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: #fff;
    font-size: 0.7rem;
    padding: 5px 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.65rem;
    padding: 5px 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-status-available { background: var(--green); color: #fff; }
.badge-status-dipesan { background: var(--yellow); color: #000; }
.badge-status-terjual { background: var(--red); color: #fff; }
.badge-status-booked { background: var(--yellow); color: #000; }

.promo-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    padding: 6px 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* ============== Tower Card ============== */
.tower-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--gold);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tower-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.tower-card .tower-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: 0.6s;
}
.tower-card:hover .tower-img { transform: scale(1.05); }
.tower-card .tower-body { padding: 20px; flex: 1; }
.tower-card .tower-name { color: var(--navy); font-weight: 800; font-size: 1.2rem; }
.tower-meta {
    display: flex;
    gap: 18px;
    margin: 12px 0;
    font-size: 0.82rem;
    color: var(--gray-700);
}
.tower-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tower-meta i { color: var(--gold); }
.tower-desc {
    color: var(--gray-500);
    font-size: 0.88rem;
    margin-bottom: 12px;
    min-height: 42px;
}

/* ============== Tipe Card ============== */
.tipe-card {
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--navy);
}
.tipe-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-top-color: var(--gold);
}
.tipe-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.tipe-card .tipe-body { padding: 18px; flex: 1; }
.tipe-card .tipe-name { color: var(--navy); font-weight: 800; font-size: 1.1rem; }
.tipe-card .tipe-luas {
    background: var(--gold);
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 8px 0;
}
.tipe-card .tipe-desc {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 12px;
    min-height: 40px;
}
.tipe-card .tipe-price {
    color: var(--navy);
    font-weight: 800;
    font-size: 1rem;
    margin-top: auto;
}

/* ============== Promo Card ============== */
.promo-card {
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--red);
}
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(220,53,69,0.2); }
.promo-card .img-wrap { position: relative; overflow: hidden; }
.promo-card img { width: 100%; height: 240px; object-fit: cover; }
.promo-card .promo-body { padding: 22px; flex: 1; }
.promo-badge {
    position: absolute;
    top: 16px;
    right: -8px;
    background: var(--red);
    color: #fff;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.promo-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    border-style: solid;
    border-width: 6px 8px 0 0;
    border-color: #8b1a2a transparent transparent transparent;
}
.promo-saving {
    display: inline-block;
    background: #FFF3CD;
    color: #856404;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
}

/* ============== Fasilitas (Gallery) ============== */
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-grid img:hover { filter: brightness(0.7); }

/* ============== Map / Lokasi ============== */
.map-section { background: var(--light); padding: 80px 0; }
.amenity-box {
    background: #fff;
    padding: 15px 20px;
    border-left: 4px solid var(--gold);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.amenity-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.map-frame {
    width: 100%;
    height: 500px;
    background: #ddd;
    position: relative;
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ============== Testimoni ============== */
.testimoni-card {
    background: #fff;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border-radius: 0;
    position: relative;
    height: 100%;
    border-top: 3px solid var(--gold);
}
.testimoni-stars { color: var(--gold); margin-bottom: 14px; font-size: 0.9rem; }
.testimoni-text { color: var(--gray-700); font-style: italic; line-height: 1.6; }
.testimoni-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.testimoni-name { color: var(--navy); font-weight: 700; }
.testimoni-role { font-size: 0.8rem; color: var(--gray-500); }

/* ============== Contact & Inquiry ============== */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-icon-wa { background: #25D366; }
.contact-icon-mail { background: var(--navy); }

.inquiry-card {
    background: #fff;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--gold);
}
.inquiry-card label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.inquiry-card .form-control,
.inquiry-card .form-select { border-radius: 0; border: 1px solid var(--gray-200); padding: 10px 14px; }
.inquiry-card .form-control:focus,
.inquiry-card .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.15rem rgba(184, 157, 68, 0.15);
}

/* Flash effect saat user klik unit di denah */
.inquiry-card.inquiry-flash {
    animation: inquiryFlash 1.5s ease-out;
}
@keyframes inquiryFlash {
    0%   { box-shadow: 0 0 0 0 rgba(184, 157, 68, 0); border-color: transparent; }
    20%  { box-shadow: 0 0 0 8px rgba(184, 157, 68, 0.35); border-color: var(--gold); }
    100% { box-shadow: 0 0 0 0 rgba(184, 157, 68, 0); border-color: transparent; }
}

.detail-list { list-style: none; padding: 0; }
.detail-list li { padding: 8px 0; font-size: 0.95rem; color: var(--gray-700); }
.detail-list i { color: var(--gold); }

/* ============== Spec Box (Detail Unit) ============== */
.spec-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--light);
    border-radius: 0;
    border-left: 3px solid var(--gold);
}
.spec-box i { font-size: 1.4rem; color: var(--gold); }
.spec-box small { display: block; color: var(--gray-500); font-size: 0.72rem; text-transform: uppercase; }
.spec-box strong { color: var(--navy); font-size: 1rem; }

.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb-item.active { color: var(--gray-500); }

/* ============== Active Filter Tags ============== */
.filter-tag {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-tag a { color: #fff; margin-left: 6px; opacity: 0.8; }
.filter-tag a:hover { opacity: 1; }

/* ============== Footer ============== */
footer { background: var(--dark); color: #fff; padding: 80px 0 20px; }
.footer-title {
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-info p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 8px; }
.footer-info i { color: var(--gold); margin-right: 8px; width: 16px; }

.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }

/* ============== Responsive ============== */
@media (max-width: 991.98px) {
    .hero-text h1 { font-size: 2.4rem; }
    .hero-image-stack { height: 350px; margin-top: 40px; }
    .hero-img-1, .hero-img-2 { box-shadow: 12px 12px 0 var(--gold); }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.6rem; }
    .section-title { font-size: 1.6rem; }
    .search-wrap { margin-top: -30px; }
    .search-card { padding: 20px; }
    .nav-link { margin: 0 6px; }
    .navbar-brand img { height: 70px; }
}
@media (max-width: 575.98px) {
    .hero-text h1 { font-size: 1.9rem; }
    .hero-stats { gap: 16px; }
    .stat-num { font-size: 1.4rem; }
    .inquiry-card, .feature-card, .testimoni-card { padding: 20px; }
    .unit-card img { height: 180px; }
    .promo-card img { height: 200px; }
}

/* ==========================================================
   TOWER CAROUSEL
   ========================================================== */
.tower-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.tower-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--gray-100);
}

.tower-carousel::-webkit-scrollbar {
    height: 6px;
}
.tower-carousel::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}
.tower-carousel::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}
.tower-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--gold-soft);
}

.tower-carousel-item {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 cards visible, gap 24px */
    scroll-snap-align: start;
    min-width: 280px;
}

.tower-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: #fff;
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(10, 38, 71, 0.12);
}

.tower-carousel-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.tower-carousel-btn:disabled,
.tower-carousel-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-100);
    color: var(--gray-500);
    border-color: var(--gray-200);
}

.tower-carousel-prev { left: 0; }
.tower-carousel-next { right: 0; }

.tower-carousel-hint {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-50);
    border-radius: 20px;
}

/* Coming Soon State */
.tower-card-coming {
    opacity: 0.92;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.tower-card-coming:hover {
    filter: grayscale(0);
    opacity: 1;
}

.tower-img-dim {
    filter: brightness(0.65);
    transition: filter 0.3s ease;
}

.tower-card-coming:hover .tower-img-dim {
    filter: brightness(0.9);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #1f2937 0%, #0A2647 100%);
    color: var(--gold);
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border: 2px solid var(--gold);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transform: rotate(-3deg);
}

/* Responsive Carousel */
@media (max-width: 991px) {
    .tower-carousel-item {
        flex: 0 0 calc((100% - 24px) / 2); /* 2 cards */
    }
}

@media (max-width: 575px) {
    .tower-carousel-wrapper { padding: 0 40px; }
    .tower-carousel-item {
        flex: 0 0 88%; /* 1 card mostly visible, peek next */
    }
    .tower-carousel-btn { width: 36px; height: 36px; }
}

/* ==========================================================
   GENERIC CAROUSEL (Benefit, Fasilitas, Testimoni)
   ========================================================== */
.generic-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.generic-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--gray-100);
}

.generic-carousel::-webkit-scrollbar {
    height: 6px;
}
.generic-carousel::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}
.generic-carousel::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.generic-carousel-item {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 cards */
    scroll-snap-align: start;
    min-width: 280px;
}

/* Unit carousel - card unit dalam slider horizontal */
.unit-carousel-item {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 unit per view desktop */
    scroll-snap-align: start;
    min-width: 0;
    padding: 4px;
}
.unit-carousel-item .unit-card {
    height: 100%;
}

.generic-carousel-item-fasilitas {
    flex: 0 0 calc((100% - 72px) / 4); /* 4 items per view */
    scroll-snap-align: start;
    min-width: 200px;
}
.generic-carousel-item-fasilitas img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.generic-carousel-testimoni .generic-carousel-item {
    flex: 0 0 calc((100% - 48px) / 2); /* 2 testimoni per view */
}

.generic-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: #fff;
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(10, 38, 71, 0.12);
}

.generic-carousel-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.generic-carousel-btn:disabled,
.generic-carousel-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-100);
    color: var(--gray-500);
    border-color: var(--gray-200);
}

.generic-carousel-prev { left: 0; }
.generic-carousel-next { right: 0; }

.carousel-hint {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-50);
    border-radius: 20px;
}

@media (max-width: 991px) {
    .generic-carousel-item { flex: 0 0 calc((100% - 24px) / 2); }
    .generic-carousel-item-fasilitas { flex: 0 0 calc((100% - 24px) / 2); }
    .generic-carousel-testimoni .generic-carousel-item { flex: 0 0 calc((100% - 24px) / 2); }
    .unit-carousel-item { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 575px) {
    .generic-carousel-wrapper { padding: 0 40px; }
    .generic-carousel-item { flex: 0 0 88%; }
    .generic-carousel-item-fasilitas { flex: 0 0 80%; }
    .generic-carousel-testimoni .generic-carousel-item { flex: 0 0 88%; }
    .unit-carousel-item { flex: 0 0 88%; }
    .generic-carousel-btn { width: 36px; height: 36px; }
}

/* ==========================================================
   SEAT PICKER (Pilih Unit dengan Peta)
   ========================================================== */
.seat-picker {
    background: #f8f9fa;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 30px 20px 20px;
    position: relative;
}
.seat-picker-floor-title {
    text-align: center;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    font-size: 1rem;
    letter-spacing: 1px;
}
.seat-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
    position: relative;
}
.seat-row-label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.seat {
    flex: 1 1 0;
    min-width: 60px;
    max-width: 110px;
    aspect-ratio: 1 / 1.1;
    border: 2px solid #b6d4f5;
    background: #d6eafc;
    color: var(--navy);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}
.seat:hover {
    background: #aed6f1;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(41, 128, 185, 0.25);
    color: var(--navy);
}
.seat-num {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}
.seat-status {
    font-size: 0.6rem;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.seat-sold {
    background: #e5e7eb;
    border-color: #cbd5e0;
    color: #6b7280;
    cursor: not-allowed;
    pointer-events: none;
}
.seat-sold:hover {
    background: #e5e7eb;
    border-color: #cbd5e0;
    transform: none;
    box-shadow: none;
}
.seat-reserved {
    background: #fde68a;
    border-color: #f59e0b;
    color: #92400e;
    cursor: not-allowed;
    pointer-events: none;
}
.seat-corridor {
    background: repeating-linear-gradient(
        45deg,
        #ecf0f1,
        #ecf0f1 6px,
        #d5dbdb 6px,
        #d5dbdb 12px
    );
    border: 1px dashed var(--gray-300);
    cursor: default;
    color: var(--gray-500);
    font-size: 0.65rem;
    font-weight: 500;
    flex: 0 0 60px;
    aspect-ratio: 1 / 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
}
.seat-legend {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
}
.seat-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--gray-700);
}
.seat-legend-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid;
}
.seat-legend-box.avail { background: #d6eafc; border-color: #b6d4f5; }
.seat-legend-box.sold  { background: #e5e7eb; border-color: #cbd5e0; }
.seat-legend-box.corridor { background: repeating-linear-gradient(45deg, #ecf0f1, #ecf0f1 3px, #d5dbdb 3px, #d5dbdb 6px); border: 1px dashed var(--gray-300); }

@media (max-width: 575px) {
    .seat { min-width: 50px; font-size: 0.7rem; }
    .seat-num { font-size: 0.85rem; }
    .seat-corridor { flex: 0 0 40px; }
}

/* ==========================================================
   DENAH BLUEPRINT (seperti tes.html) - Pilih Unit Peta Lantai
   ========================================================== */
.denah-container {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    padding: 50px 20px 20px;
}

.denah-outer {
    background-color: #f7f5f2;
    border: 4px solid #b5b5b5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 20px;
    position: relative;
    display: inline-block;
    max-width: 100%;
    min-width: 700px;
}

.denah-top-extension {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-5%);
    width: 180px;
    height: 50px;
    background-color: #f7f5f2;
    border-top: 4px solid #b5b5b5;
    border-left: 4px solid #b5b5b5;
    border-right: 4px solid #b5b5b5;
    z-index: 1;
}

.denah-inner {
    border: 5px solid #2b2b2b;
    position: relative;
    background-color: #f7f5f2;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.denah-corridor {
    height: 50px;
    border-top: 5px solid #2b2b2b;
    border-bottom: 5px solid #2b2b2b;
    background-color: #f7f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.denah-top-row {
    display: flex;
    height: 100px;
}

.denah-bottom-row {
    display: flex;
    height: 100px;
}

.denah-room {
    border-right: 5px solid #2b2b2b;
    position: relative;
    background-color: #f7f5f2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    overflow: hidden;
}
.denah-room:last-child { border-right: none; }

.denah-room-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2b2b2b;
    z-index: 5;
    position: relative;
    padding: 6px;
    font-weight: 600;
    line-height: 1.1;
}
.denah-room-label .unit-no {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
}
.denah-room-label .unit-status {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    margin-top: 3px;
    color: #6b7280;
    text-transform: uppercase;
}
.denah-room-label .unit-price {
    font-size: 0.6rem;
    color: #2563eb;
    margin-top: 1px;
    font-weight: 600;
}

/* Available room (biru muda) */
.denah-room.is-available {
    background-color: #d6eafc;
    cursor: pointer;
}
.denah-room.is-available:hover {
    background-color: #aed6f1;
    box-shadow: inset 0 0 0 3px #2980b9;
}
.denah-room.is-available:hover .unit-no { color: #1e3a8a; }

/* Sold / tidak tersedia (abu-abu) */
.denah-room.is-sold {
    background-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.85;
}
.denah-room.is-sold .unit-no { color: #6b7280; text-decoration: line-through; }
.denah-room.is-sold .unit-status { color: #b91c1c; }

/* Disabled / tidak ada unit (skip nomor) */
.denah-room.is-disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.4;
}

/* LOBBY slot (khusus lantai 1) */
.denah-room.is-lobby {
    background-color: #fef3c7;
    border: 2px dashed #d97706;
    cursor: default;
    position: relative;
}
/* Hide door/window symbols untuk LOBBY (specificity tinggi agar tidak di-override rule bottom-row) */
.denah-bottom-row .denah-room.is-lobby::before,
.denah-room.is-lobby::before {
    display: none !important;
}
.denah-room.is-lobby .lobby-text {
    color: #92400e;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* Panah "ke atas" di LOBBY bawah (shaft vertikal) — dideklarasikan ulang di bawah setelah pintu kupu-kupu */


/* Top-left rooms: 5 ruang — lebar fix sama dengan bottom row supaya ukuran unit seragam */
.denah-top-left {
    display: flex;
    flex: 0 0 auto;
}
.denah-top-left .denah-room {
    flex: 0 0 70px;
    min-width: 70px;
}

/* Utility core: LOBBY (L1) + tangga + lift, lebar fix 140px (≈ 2 slot) supaya top 4+4+core = 700px = bottom 10 slot */
.denah-utility-core {
    width: 140px;
    display: flex;
    flex-direction: column;
    border-right: 5px solid #2b2b2b;
    flex-shrink: 0;
}

/* LOBBY section di utility core (L1 only) — kuning-oranye, di tengah horizontal */
.denah-lobby-top {
    background-color: #fef3c7;
    border-left: 5px solid #2b2b2b;
    border-right: 5px solid #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #92400e;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}
/* Panah "ke bawah" di LOBBY atas (shaft vertikal ke LOBBY bawah) */
.denah-lobby-top::after {
    content: '↓';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #d97706;
    font-weight: 700;
    writing-mode: horizontal-tb;
}

/* Saat utility core punya LOBBY (L1): grid 2 kolom horizontal */
/* Kolom kiri: LOBBY (full height, span 2 rows) */
/* Kolom kanan: TANGGA (row 1) + LIFT (row 2) */
.denah-utility-core.has-lobby {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    grid-template-rows: 1fr 1fr;
}
.denah-utility-core.has-lobby .denah-lobby-top {
    grid-column: 1;
    grid-row: 1 / span 2;
    border-left: none;
    border-right: 5px solid #2b2b2b;
}
.denah-utility-core.has-lobby .denah-stairs {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    border-bottom: 5px solid #2b2b2b;
    border-right: none;
    background-size: 20px 100%;
}
.denah-utility-core.has-lobby .denah-elevator {
    grid-column: 2;
    grid-row: 2;
    flex: none;
}

.denah-stairs {
    flex: 6;
    border-bottom: 5px solid #2b2b2b;
    position: relative;
    background: linear-gradient(to bottom,
        #2b2b2b 0, #2b2b2b 2px, transparent 2px,
        transparent 12px, #2b2b2b 12px, #2b2b2b 14px,
        transparent 14px, transparent 24px, #2b2b2b 24px
    );
    background-size: 100% 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.denah-elevator {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f7f5f2;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.denah-elevator::before, .denah-elevator::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: #2b2b2b;
}
.denah-elevator::before { transform: rotate(45deg); }
.denah-elevator::after  { transform: rotate(-45deg); }

/* Top-right rooms: 3 ruang — lebar fix sama dengan bottom row supaya ukuran unit seragam */
.denah-top-right {
    display: flex;
    flex: 0 0 auto;
}
.denah-top-right .denah-room {
    flex: 0 0 70px;
    min-width: 70px;
}

/* Bottom row: 10-11 ruang (L1=10, L2-L5=11). */
/* Lebar slot fix 70px supaya ukuran unit seragam antar lantai. */
.denah-bottom-row .denah-room {
    flex: 0 0 70px;
    min-width: 70px;
}
/* Bottom row L1 (10 slot): sejajar dengan top row (4+core+4) - tidak perlu center */

/* Window symbol (atas dinding) */
.denah-room::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 5px;
    background-color: #fff;
    border: 1px solid #2b2b2b;
    z-index: 2;
}

/* Door symbol (bawah dinding - membuka ke dalam) */
.denah-room::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 16px;
    height: 16px;
    border: 1px solid #8c8c8c;
    border-radius: 100% 0 0 0;
    transform: rotate(-90deg);
    background-color: transparent;
    z-index: 2;
}

/* Pintu kupu-kupu untuk baris bawah (dua daun pintu) */
.denah-bottom-row .denah-room::before {
    display: none;
}
.denah-bottom-row .denah-room::after {
    bottom: -5px;
    left: 30%;
    width: 12px;
    height: 12px;
    border-radius: 100% 0 0 0;
    transform: translateY(100%) rotate(0deg);
    box-shadow: 14px 0 0 -1px #f7f5f2, 14px 0 0 0 #8c8c8c;
}

/* Override pintu kupu-kupu untuk LOBBY bottom — tampilkan panah shaft vertikal */
/* Taruh SETELAH rule pintu kupu-kupu di atas agar specificity sama dan yang terakhir dimuat menang */
.denah-bottom-row .denah-room.is-lobby::after {
    content: '↑' !important;
    display: block !important;
    position: absolute !important;
    top: 4px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.95rem !important;
    color: #d97706 !important;
    font-weight: 700 !important;
    border: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Hide window symbol (::before) untuk LOBBY bottom */
.denah-bottom-row .denah-room.is-lobby::before {
    display: none !important;
}

.denah-floor-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.denah-floor-tab {
    padding: 8px 18px;
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
}
.denah-floor-tab:hover {
    border-color: var(--navy);
    color: var(--navy);
}
.denah-floor-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 4px 10px rgba(10, 38, 71, 0.25);
}
.denah-floor-tab .badge {
    display: inline-block;
    margin-left: 6px;
    background: rgba(255,255,255,0.25);
    color: inherit;
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
}
.denah-floor-tab:not(.active) .badge {
    background: var(--gray-100);
}

.denah-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #6b7280;
}
.denah-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.denah-legend-box {
    width: 18px;
    height: 18px;
    border: 2px solid;
    border-radius: 3px;
}
.denah-legend-box.avail  { background: #d6eafc; border-color: #b6d4f5; }
.denah-legend-box.sold   { background: #e5e7eb; border-color: #cbd5e0; }
.denah-legend-box.disabled { background: #f3f4f6; border-color: #d1d5db; opacity: 0.5; }
.denah-legend-box.lobby  { background: #fef3c7; border: 2px dashed #d97706; }

@media (max-width: 768px) {
    .denah-top-row { height: 90px; }
    .denah-bottom-row { height: 90px; }
    .denah-utility-core { width: 90px; }
    .denah-utility-core.has-lobby { width: 120px; }
    .denah-room-label .unit-no { font-size: 0.8rem; }
    .denah-lobby-top { font-size: 0.6rem; }
    .denah-lobby-top::after { font-size: 0.75rem; }
}
@media (max-width: 575px) {
    .denah-container { padding: 50px 4px 8px; }
    .denah-outer { min-width: 600px !important; width: 600px !important; max-width: 600px !important; padding: 10px !important; }
    .denah-utility-core { flex: 0 0 90px !important; }
    .denah-utility-core.has-lobby { flex: 0 0 110px !important; }
    .denah-top-left .denah-room,
    .denah-top-right .denah-room,
    .denah-bottom-row .denah-room { flex: 0 0 50px !important; min-width: 50px !important; }
    .denah-stairs, .denah-elevator { font-size: 0.55rem; }
    .denah-lobby-top { font-size: 0.5rem; letter-spacing: 1px; }
    .denah-lobby-top::after,
    .denah-bottom-row .denah-room.is-lobby::after { font-size: 0.65rem; }
}

/* === MOBILE: Denah scrollable horizontal, unit ukuran natural === */
@media (max-width: 768px) {
    .denah-container {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 50px 8px 20px;
        justify-content: flex-start;
    }
    /* Outer tetap ukuran natural (seperti desktop), user scroll horizontal */
    .denah-outer {
        display: inline-block !important;
        min-width: 700px !important;
        width: 700px !important;
        max-width: 700px !important;
        margin: 0 auto;
        padding: 16px !important;
        box-sizing: border-box;
    }
    .denah-top-extension {
        width: 180px;
    }
    /* Unit tetap ukuran natural (70px) supaya tidak padat */
    .denah-top-left .denah-room,
    .denah-top-right .denah-room,
    .denah-bottom-row .denah-room {
        flex: 0 0 60px !important;
        min-width: 60px !important;
    }
    .denah-utility-core {
        flex: 0 0 110px !important;
    }
    .denah-utility-core.has-lobby {
        flex: 0 0 130px !important;
    }
}

/* === TABLET (769px - 991px) === */
@media (min-width: 769px) and (max-width: 991px) {
    .denah-outer {
        min-width: auto;
        max-width: 100%;
    }
    .denah-top-row { height: 160px; }
    .denah-bottom-row { height: 160px; }
    .denah-utility-core { width: 130px; }
    .denah-utility-core.has-lobby { width: 160px; }
}

/* Hint visual: user bisa scroll horizontal di mobile */
@media (max-width: 768px) {
    .denah-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: 0 0 12px;
        padding: 8px 12px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border: 1px dashed #d97706;
        border-radius: 8px;
        font-size: 0.85rem;
        color: #92400e;
        font-weight: 600;
    }
    .denah-scroll-hint i {
        animation: swipe-hint 1.5s ease-in-out infinite;
    }
    @keyframes swipe-hint {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(6px); }
    }
}

/* ============== TIPE UNIT CARD (Step 2 inquiry) ============== */
.tipe-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}
.tipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 38, 71, 0.15);
    border-color: var(--gold);
}
.tipe-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}
.tipe-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tipe-card:hover .tipe-card-img img {
    transform: scale(1.08);
}
.tipe-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.tipe-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tipe-card-title {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tipe-card-desc {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}
.tipe-card-specs {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 600;
    flex-wrap: wrap;
}
.tipe-card-specs i {
    color: var(--gold);
    margin-right: 4px;
}
.tipe-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tipe-card-price {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
}
.tipe-card-arrow {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.tipe-card:hover .tipe-card-arrow {
    background: var(--gold);
    transform: translateX(4px);
}

/* Tipe card COMING SOON (0 unit available di tower ini) */
.tipe-card-sold {
    opacity: 0.85;
    border-color: #D4B968;
}
.tipe-card-sold:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(184, 157, 68, 0.2);
    border-color: var(--gold);
    opacity: 1;
}
.tipe-card-sold .tipe-card-arrow {
    background: var(--gold);
}
.tipe-badge-sold {
    background: linear-gradient(135deg, #B89D44 0%, #D4B968 100%) !important;
    color: #fff !important;
}
.tipe-link-disabled {
    cursor: not-allowed;
}

/* ==========================================================
   PROGRESS GALLERY (customer/progress)
   ========================================================== */
.progress-summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--gold);
    padding: 24px;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.progress-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10,38,71,0.08);
}
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.progress-row > span {
    width: 80px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    flex-shrink: 0;
}
.progress-row .progress {
    flex: 1;
    height: 18px;
    border-radius: 0;
    background: #f1f5f9;
    margin-bottom: 0;
}
.progress-row .progress-bar {
    font-size: 0.7rem;
    line-height: 18px;
    padding: 0 8px;
    font-weight: 700;
    color: #fff;
}
.overall-pct {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    text-align: right;
}
.overall-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

/* Caption overlay di foto galeri progress */
.generic-carousel-item-fasilitas {
    position: relative;
}
.gallery-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10,38,71,0.85);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(10,38,71,0.92) 0%, rgba(10,38,71,0) 100%);
    color: #fff;
    padding: 36px 16px 14px;
    pointer-events: none;
    z-index: 2;
}
.gallery-caption strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.gallery-caption small {
    opacity: 0.85;
    font-size: 0.78rem;
}

/* Mobile: rapikan progress-row label width */
@media (max-width: 575px) {
    .progress-row > span {
        width: 65px;
        font-size: 0.78rem;
    }
    .progress-summary-card {
        padding: 18px;
    }
    .overall-num {
        font-size: 1.5rem;
    }
}

