/* Roach Cicada Homements — Black & White brand (logo palette) */
:root {
    /* Primary brand — from Roach Cicada logo */
    --brand-black: #0a0a0a;
    --brand-charcoal: #141414;
    --brand-graphite: #2a2a2a;
    --brand-stone: #f5f5f3;
    --brand-silver: #d4d4d4;
    --brand-muted: #737373;
    --brand-line: #e8e8e8;
    --white: #ffffff;

    /* Semantic tokens (used across components) */
    --green-dark: var(--brand-black);
    --green-deep: var(--brand-charcoal);
    --green-muted: var(--brand-graphite);
    --gold: var(--brand-black);
    --gold-dark: var(--brand-graphite);
    --cream: var(--brand-stone);
    --text-dark: var(--brand-black);
    --text-muted: var(--brand-muted);

    --font-primary: 'Granville', Georgia, 'Times New Roman', serif;
    --font-secondary: 'Articulat CF', 'Segoe UI', sans-serif;
    --font-tertiary: 'Brittany Signature', 'Brush Script MT', cursive;
    --font-display: var(--font-primary);
    --font-body: var(--font-secondary);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
    --nav-height: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.75;
    padding-bottom: 72px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

a { text-decoration: none; transition: color 0.25s, opacity 0.25s; }

img { max-width: 100%; height: auto; }

.text-gold { color: var(--brand-black) !important; }
.section-green .text-gold,
.hero-luxury .text-gold,
.lead-form-section .text-gold,
.page-hero .text-gold { color: var(--brand-silver) !important; }

.text-beige { color: rgba(255, 255, 255, 0.85); }

.brand-script {
    font-family: var(--font-tertiary);
    font-style: normal;
    font-weight: 400;
    color: var(--brand-black);
}

.hero-luxury .brand-script,
.section-green .brand-script,
.lead-form-section .brand-script,
.page-hero .brand-script {
    color: var(--white);
}

/* ── Navigation ── */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
    z-index: 1030;
}

#mainNav.scrolled:not(.nav-light-home):not(.nav-solid),
#mainNav.nav-transparent.scrolled:not(.nav-light-home) {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    padding: 0.65rem 0;
}

#mainNav.nav-solid,
#mainNav.nav-solid.scrolled,
#mainNav.nav-light-home.scrolled {
    background: rgba(245, 245, 243, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    padding: 0.65rem 0;
}

#mainNav.scrolled .brand-logo-cicada,
#mainNav.nav-solid .brand-logo-cicada {
    height: 52px;
    max-width: 240px;
    transition: height 0.35s ease, max-width 0.35s ease;
}

#mainNav.nav-transparent {
    background: transparent;
    box-shadow: none;
}

#mainNav.nav-transparent .nav-link,
#mainNav.nav-transparent .navbar-brand .brand-sub {
    color: var(--white) !important;
}

#mainNav.nav-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

#mainNav.nav-transparent .navbar-toggler-icon {
    filter: invert(1);
}

#mainNav.scrolled:not(.nav-light-home):not(.nav-solid) .nav-link,
#mainNav.nav-transparent.scrolled:not(.nav-light-home) .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
}

#mainNav.nav-solid .nav-link,
#mainNav.nav-solid.scrolled .nav-link,
#mainNav.nav-light-home.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-silver);
    font-weight: 500;
}

#mainNav.scrolled:not(.nav-light-home):not(.nav-solid) .nav-link:hover,
#mainNav.scrolled:not(.nav-light-home):not(.nav-solid) .nav-link:focus,
#mainNav.nav-transparent.scrolled:not(.nav-light-home) .nav-link:hover,
#mainNav.nav-transparent.scrolled:not(.nav-light-home) .nav-link:focus,
#mainNav.nav-transparent:not(.nav-light-home):not(.scrolled) .nav-link:hover,
#mainNav.nav-transparent:not(.nav-light-home):not(.scrolled) .nav-link:focus {
    color: var(--white) !important;
}

#mainNav.nav-solid .nav-link:hover,
#mainNav.nav-solid .nav-link:focus,
#mainNav.nav-light-home.scrolled .nav-link:hover,
#mainNav.nav-light-home.scrolled .nav-link:focus {
    color: var(--brand-black) !important;
}

#mainNav.nav-light-home.nav-transparent:not(.scrolled) .nav-link:hover,
#mainNav.nav-light-home.nav-transparent:not(.scrolled) .nav-link:focus {
    color: var(--brand-graphite) !important;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
}

.brand-logo-stack,
.footer-logo-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.brand-logo-img {
    height: auto;
    width: auto;
    max-width: 420px;
    object-fit: contain;
    display: block;
}

.brand-logo-cicada {
    height: 90px;
    max-width: 420px;
    transition: height 0.35s ease, max-width 0.35s ease;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem !important;
    color: var(--text-dark) !important;
}

.dropdown-menu {
    background: var(--brand-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

/* ── Buttons ── */
.btn-gold {
    background: var(--brand-black);
    color: var(--white);
    border: 2px solid var(--brand-black);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: transparent;
    color: var(--brand-black);
    border-color: var(--brand-black);
}

.section-green .btn-gold,
.lead-form-section .btn-gold,
.page-hero .btn-gold {
    background: var(--white);
    color: var(--brand-black);
    border-color: var(--white);
}

.section-green .btn-gold:hover,
.lead-form-section .btn-gold:hover,
.page-hero .btn-gold:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--brand-black);
    border: 2px solid var(--brand-black);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-outline-gold:hover {
    background: var(--brand-black);
    color: var(--white);
}

.hero-luxury .btn-outline-gold,
.section-green .btn-outline-gold {
    color: var(--white);
    border-color: var(--white);
}

.hero-luxury .btn-outline-gold:hover,
.section-green .btn-outline-gold:hover {
    background: var(--white);
    color: var(--brand-black);
}

.btn-outline-light-gold {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-outline-light-gold:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn-green {
    background: #25d366;
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
}

.btn-green:hover { background: #1ebe57; color: var(--white); }

/* ── Hero ── */
.hero-luxury {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--brand-black) url('../assets/images/hero-cicada.webp') center/cover no-repeat;
    padding: calc(var(--nav-height) + 3rem) 0 4rem;
}

.hero-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.82) 0%, rgba(20, 20, 20, 0.65) 50%, rgba(10, 10, 10, 0.88) 100%);
}

.hero-luxury .container { position: relative; z-index: 1; }

.hero-luxury h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.hero-luxury .hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.hero-luxury .hero-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.hero-rera {
    color: var(--brand-silver);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

.hero-form-panel {
    background: rgba(255, 255, 255, 0.97);
    padding: 1.75rem;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--brand-line);
}

.hero-form-panel h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--brand-black);
    margin-bottom: 0.35rem;
}

.hero-form-panel p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* ── Sections ── */
.section {
    padding: 5rem 0;
}

.section-cream { background: var(--cream); }
.section-green { background: var(--brand-black); color: var(--white); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-green p { color: rgba(255, 255, 255, 0.85); }

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-title .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-green .section-title .eyebrow { color: var(--brand-silver); }

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--brand-black);
    margin-bottom: 1rem;
}

.section-green .section-title h2 { color: var(--white); }

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ── Split content blocks ── */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.split-image,
.split-content {
    min-width: 0;
}

.split-block.reverse .split-image { order: 2; }
.split-block.reverse .split-content { order: 1; }

.split-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
}

.split-content h2 {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    color: var(--green-dark);
    margin-bottom: 1.25rem;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.highlight-line {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--green-dark);
    margin-top: 1.5rem;
}

.highlight-line .brand-script {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-left: 0.35em;
}

.lead-form-section .section-title h2 .brand-script,
.section-cream .section-title h2 .brand-script {
    margin-left: 0.35em;
}

.hero-editorial-copy .brand-script {
    margin-left: 0.2em;
}

/* ── Feature grid ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-stone);
    border-radius: 0;
    color: var(--brand-black);
    font-size: 1.35rem;
    border: 1px solid var(--brand-line);
}

.feature-item p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ── Stats row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--brand-line);
}

.stat-box .num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--brand-black);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.section-green .stat-box .num { color: var(--white); }

.stat-box .label {
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-muted);
}

.section-green .stat-box .label { color: rgba(255, 255, 255, 0.75); }

/* ── Config cards ── */
.config-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.config-card:hover { transform: translateY(-6px); }

.config-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.config-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.config-card-body h3 {
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 0.35rem;
}

.config-card-body .area {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.config-card-body .price {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.units-left {
    display: inline-block;
    background: var(--brand-stone);
    color: var(--brand-black);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    margin-bottom: 1rem;
    border: 1px solid var(--brand-line);
}

.config-card-body .btn { margin-top: auto; }

/* ── Amenities ── */
.amenity-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.amenity-category h3 {
    font-size: 1.35rem;
    color: var(--brand-black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-black);
}

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-list li {
    padding: 0.55rem 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.amenity-list li i {
    color: var(--green-dark);
    width: 18px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
}

.amenity-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 4px;
    transition: all 0.3s;
}

.amenity-item:hover {
    background: var(--brand-black);
    color: var(--white);
}

.amenity-item i {
    font-size: 1.75rem;
    color: var(--brand-black);
    margin-bottom: 0.75rem;
    display: block;
}

.amenity-item:hover i { color: var(--brand-silver); }
.amenity-item:hover h5 { color: var(--white); }

.amenity-item h5 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    color: var(--green-dark);
}

/* ── Location ── */
.location-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    margin-bottom: 1rem;
}

.location-card h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.section:not(.section-green) .location-card {
    background: var(--cream);
    border: 1px solid var(--brand-line);
}

.section:not(.section-green) .location-card h5 {
    color: var(--green-dark);
}

.section:not(.section-green) .location-card p {
    color: var(--text-muted);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.section-green .check-list li { color: rgba(255, 255, 255, 0.85); }
.section-green .check-list li i { color: var(--brand-silver); }
.section-green .split-content h2 { color: var(--white); }
.section-green .split-content p { color: rgba(255, 255, 255, 0.85); }

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.06); }

/* ── Floor plan carousel ── */
.floor-carousel .carousel-item img,
.floor-carousel .carousel-item .site-image-loaded {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: var(--cream);
    border-radius: 4px;
}

.floor-carousel .carousel-caption {
    position: static;
    padding: 1rem 0 0;
    color: var(--green-dark);
}

/* ── Glance table ── */
.glance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.glance-list li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.glance-list li span:first-child { color: var(--text-muted); font-weight: 500; }
.glance-list li span:last-child { color: var(--green-dark); font-weight: 600; }

/* ── Lead forms ── */
.lead-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.lead-form-section {
    background: var(--green-dark);
    padding: 5rem 0;
    color: var(--white);
}

.lead-form-section .section-title h2 { color: var(--white); }
.lead-form-section .section-title p { color: rgba(255, 255, 255, 0.8); }

.lead-form-section .lead-form-wrapper .form-control,
.lead-form-section .lead-form-wrapper .form-select {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0;
    background: transparent;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--white);
}

.lead-form-section .lead-form-wrapper .form-control:focus,
.lead-form-section .lead-form-wrapper .form-select:focus {
    box-shadow: none;
    border-bottom-color: var(--white);
    background: transparent;
}

.lead-form-section .lead-form-wrapper .form-floating > .form-control,
.lead-form-section .lead-form-wrapper .form-floating > .form-select {
    min-height: 3.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0.35rem;
}

.lead-form-section .lead-form-wrapper .form-floating > label {
    padding-left: 0;
    padding-top: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.lead-form-section .lead-form-wrapper .form-floating > .form-control:focus ~ label,
.lead-form-section .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) ~ label,
.lead-form-section .lead-form-wrapper .form-floating > .form-select ~ label {
    transform: scale(0.85) translateY(-0.65rem) translateX(0);
    opacity: 1;
    color: rgba(255, 255, 255, 0.9);
}

.lead-form-section .lead-form-wrapper .form-floating > .form-control:focus ~ label,
.lead-form-section .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: rgba(255, 255, 255, 0.9);
}

.lead-form-section .lead-form-wrapper .form-floating > label::before,
.lead-form-section .lead-form-wrapper .form-floating > label::after {
    background-color: var(--green-dark) !important;
}

.lead-form-section .lead-form-wrapper .form-control:-webkit-autofill,
.lead-form-section .lead-form-wrapper .form-control:-webkit-autofill:hover,
.lead-form-section .lead-form-wrapper .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--green-dark) inset !important;
    box-shadow: 0 0 0 1000px var(--green-dark) inset !important;
    -webkit-text-fill-color: var(--white) !important;
    caret-color: var(--white);
}

.lead-form-section .lead-form-wrapper .form-floating > .form-control:focus,
.lead-form-section .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) {
    background-color: transparent;
}

/* Hero / card forms — standard bordered inputs with form-floating */
.hero-form-panel .lead-form-wrapper .form-floating > .form-control,
.hero-form-panel .lead-form-wrapper .form-floating > .form-select,
.hero-form-card .lead-form-wrapper .form-floating > .form-control,
.hero-form-card .lead-form-wrapper .form-floating > .form-select {
    border: 1px solid var(--brand-line);
    border-radius: 0;
    background: var(--white);
    padding: 1rem 0.85rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    min-height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.hero-form-panel .lead-form-wrapper .form-floating > .form-control:focus,
.hero-form-panel .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown),
.hero-form-card .lead-form-wrapper .form-floating > .form-control:focus,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) {
    padding: 1.625rem 0.85rem 0.625rem !important;
}

.hero-form-panel .lead-form-wrapper .form-floating > .form-control:focus,
.hero-form-panel .lead-form-wrapper .form-floating > .form-select:focus,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:focus,
.hero-form-card .lead-form-wrapper .form-floating > .form-select:focus {
    border-color: var(--brand-black);
    box-shadow: none;
    background: var(--white);
}

.hero-form-panel .lead-form-wrapper .form-floating > label,
.hero-form-card .lead-form-wrapper .form-floating > label {
    padding: 1rem 0.85rem;
    color: var(--text-muted);
}

.hero-form-panel .lead-form-wrapper .form-floating > label::before,
.hero-form-panel .lead-form-wrapper .form-floating > label::after,
.hero-form-card .lead-form-wrapper .form-floating > label::before,
.hero-form-card .lead-form-wrapper .form-floating > label::after {
    background-color: var(--white) !important;
}

.hero-form-panel .lead-form-wrapper .form-floating > .form-control:focus ~ label,
.hero-form-panel .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) ~ label,
.hero-form-panel .lead-form-wrapper .form-floating > .form-select ~ label,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:focus ~ label,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:not(:placeholder-shown) ~ label,
.hero-form-card .lead-form-wrapper .form-floating > .form-select ~ label {
    color: var(--brand-muted);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.hero-form-panel .lead-form-wrapper .form-floating > .form-control:-webkit-autofill,
.hero-form-panel .lead-form-wrapper .form-floating > .form-control:-webkit-autofill:focus,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:-webkit-autofill,
.hero-form-card .lead-form-wrapper .form-floating > .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
    -webkit-text-fill-color: var(--text-dark) !important;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.hero-form-panel .lead-form-wrapper .row > [class*="col-"],
.hero-form-card .lead-form-wrapper .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.hero-form-panel .lead-form-wrapper textarea.form-control,
.hero-form-card .lead-form-wrapper .form-floating > textarea.form-control {
    min-height: 88px;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.hero-form-panel .lead-form-wrapper .btn-gold { width: 100%; }

.contact-panel {
    padding: 2rem;
}

.contact-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-panel p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-panel a { color: var(--brand-silver); }
.contact-panel a:hover { color: var(--white); }

/* ── Map ── */
.map-container {
    width: 100%;
    height: 420px;
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── FAQ ── */
.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}

.accordion-button {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--brand-black);
    background: transparent;
    box-shadow: none !important;
    padding: 1.25rem 0;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-black);
    background: transparent;
}

.accordion-body {
    padding: 0 0 1.25rem;
    color: var(--text-muted);
}

/* ── Testimonials ── */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.testimonial-card .stars { color: var(--brand-black); margin-bottom: 1rem; }
.testimonial-card .review { color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.testimonial-card .author { font-weight: 600; color: var(--brand-black); font-size: 0.9rem; margin: 0; }

/* ── Footer ── */
.site-footer {
    background: var(--brand-charcoal);
    color: rgba(255, 255, 255, 0.85);
    padding: 4rem 0 2rem;
}

.footer-logo-img {
    height: auto;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-logo-cicada {
    height: 110px;
    max-width: 460px;
}

.site-footer p { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }

.site-footer h5 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover { color: var(--white); opacity: 1; }

.site-footer .rera-text { font-size: 0.82rem; opacity: 0.85; color: rgba(255, 255, 255, 0.7); }

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.5rem;
}

.copyright { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.copyright a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

/* ── Floating CTAs ── */
.floating-cta {
    position: fixed;
    right: 1.25rem;
    bottom: 5.5rem;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.35rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s;
}

.float-btn:hover { transform: scale(1.08); color: var(--white); }
.whatsapp-btn { background: #25d366; }
.call-btn { background: var(--green-dark); }

/* ── Mobile off-canvas navigation ── */
.mobile-nav-toggle {
    border: none;
    background: transparent;
    padding: 0.35rem;
    margin-left: auto;
    cursor: pointer;
    z-index: 1045;
    position: relative;
}

.mobile-nav-toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 22px;
}

.mobile-nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-black);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    transform-origin: center;
}

#mainNav.scrolled:not(.nav-light-home):not(.nav-solid) .mobile-nav-toggle-line,
#mainNav.nav-transparent:not(.nav-light-home) .mobile-nav-toggle-line {
    background: var(--white);
}

#mainNav.nav-solid .mobile-nav-toggle-line,
#mainNav.nav-light-home.scrolled .mobile-nav-toggle-line {
    background: var(--brand-black);
}

#mainNav.nav-light-home.nav-transparent:not(.scrolled) .mobile-nav-toggle-line {
    background: var(--brand-black);
}

body.mobile-nav-open .mobile-nav-toggle-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.mobile-nav-open .mobile-nav-toggle-line:nth-child(2) {
    opacity: 0;
}

body.mobile-nav-open .mobile-nav-toggle-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.mobile-nav-open #mainNav.scrolled:not(.nav-light-home):not(.nav-solid) .mobile-nav-toggle-line,
body.mobile-nav-open #mainNav.nav-transparent:not(.nav-light-home) .mobile-nav-toggle-line {
    background: var(--white);
}

body.mobile-nav-open #mainNav.nav-solid .mobile-nav-toggle-line,
body.mobile-nav-open #mainNav.nav-light-home.scrolled .mobile-nav-toggle-line,
body.mobile-nav-open #mainNav.nav-light-home.nav-transparent:not(.scrolled) .mobile-nav-toggle-line {
    background: var(--brand-black);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    pointer-events: none;
    visibility: hidden;
}

.mobile-nav-overlay.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.is-open .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 420px);
    height: 100%;
    height: 100dvh;
    background: var(--brand-black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-eyebrow {
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-silver);
    font-weight: 700;
}

.mobile-nav-close {
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.35rem;
    cursor: pointer;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    border: none;
    background: transparent;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, color 0.2s ease;
}

a.mobile-nav-link:hover,
a.mobile-nav-link:focus,
.mobile-nav-accordion:hover,
.mobile-nav-accordion:focus {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-chevron {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.mobile-nav-accordion[aria-expanded="true"] .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-sub.is-open {
    max-height: 280px;
}

.mobile-nav-sub a {
    display: block;
    padding: 0.85rem 1.5rem 0.85rem 2.25rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-sub a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-footer {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem !important;
    font-size: 0.82rem !important;
}

.mobile-nav-cta.btn-outline-gold {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.mobile-nav-cta.btn-outline-gold:hover {
    background: var(--white);
    color: var(--brand-black);
    border-color: var(--white);
}

.mobile-nav-book,
.mobile-nav-brochure {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-silver);
}

.mobile-nav-book:hover,
.mobile-nav-brochure:hover {
    color: var(--white);
}

body.mobile-nav-open {
    overflow: hidden;
}

/* ── Mobile bar ── */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--green-dark);
    display: flex;
    z-index: 1030;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-bottom-bar .mb-item {
    flex: 1;
    text-align: center;
    padding: 0.85rem 0.5rem;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-bar .mb-item:last-child { border-right: none; }
.mobile-bottom-bar .mb-item i { display: block; font-size: 1.15rem; margin-bottom: 0.2rem; color: var(--brand-silver); }

/* ── Breadcrumb ── */
.breadcrumb-bar {
    background: var(--cream);
    padding: 6rem 0 1rem;
    margin-top: 0;
}

.breadcrumb-bar + .section,
body:not(.page-home) .section:first-of-type {
    padding-top: 2rem;
}

.breadcrumb { margin: 0; background: transparent; }
.breadcrumb-item a { color: var(--green-dark); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ── Page hero (inner pages) ── */
.page-hero {
    background: var(--green-dark);
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto; }

/* ── Modals ── */
.modal-content {
    border: none;
    border-radius: 4px;
}

.modal-header {
    background: var(--green-dark);
    color: var(--white);
    border: none;
}

.modal-header .btn-close { filter: invert(1); }
.modal-title { font-family: var(--font-display); }

/* ── Urgency banner (hidden on luxury hero) ── */
.urgency-banner { display: none; }

/* ── Config page extras ── */
.config-specs table { width: 100%; }
.config-specs th { color: var(--green-dark); font-weight: 600; width: 40%; padding: 0.65rem 0; }
.config-specs td { color: var(--text-muted); padding: 0.65rem 0; }

.hero-form-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.config-hero-img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .split-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-block.reverse .split-image { order: 0; }
    .split-block.reverse .split-content { order: 0; }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .amenity-categories { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    #mainNav.nav-transparent {
        background: rgba(10, 10, 10, 0.95);
    }

    #mainNav.nav-transparent .brand-logo-img {
        filter: brightness(0) invert(1);
    }

    #mainNav.nav-light-home.nav-transparent .brand-logo-img {
        filter: none;
    }

    #mainNav.nav-solid,
    #mainNav.nav-solid.scrolled {
        background: var(--cream);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    }

    #mainNav.nav-solid .brand-logo-img,
    #mainNav.nav-solid.scrolled .brand-logo-img {
        filter: none;
    }

    #mainNav.nav-solid .mobile-nav-toggle-line,
    #mainNav.nav-solid.scrolled .mobile-nav-toggle-line {
        background: var(--brand-black);
    }

    #mainNav .navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .hero-luxury { min-height: auto; padding-bottom: 3rem; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; text-align: center; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .brand-logo-cicada { height: 64px; max-width: 280px; }
    body { padding-bottom: 64px; }
}

@media (min-width: 992px) {
    :root { --nav-height: 120px; }

    body.page-home { padding-top: 0; }
    body.page-home #mainNav .container { max-width: 1400px; }

    #mainNav .navbar-nav { align-items: center; }
    #mainNav .nav-link { padding: 0.5rem 0.9rem !important; white-space: nowrap; }
    #mainNav .btn-gold { padding: 0.65rem 1.25rem; font-size: 0.78rem; }

    .hero-editorial-grid {
        min-height: auto;
        align-items: stretch;
    }

    .hero-editorial-copy {
        padding-top: clamp(1.5rem, 3vh, 3rem);
        padding-bottom: 3.5rem;
        padding-right: clamp(1.5rem, 4vw, 3rem);
    }

    .hero-editorial-visual {
        min-height: max(560px, calc(100vh - var(--nav-height) - 1.25rem));
    }

    body.page-home #mainNav.nav-light-home:not(.scrolled) .brand-logo-cicada {
        height: 72px;
        max-width: 300px;
    }
}

@media (min-width: 992px) and (max-height: 900px) {
    .hero-editorial-copy h1 {
        font-size: clamp(2rem, 4vw, 3.25rem);
        margin-bottom: 0.65rem;
    }

    .hero-editorial-copy .hero-tagline,
    .hero-editorial-copy .hero-desc {
        margin-bottom: 0.75rem;
    }

    .hero-editorial-copy .hero-cta-group {
        margin-bottom: 1rem;
    }

    .hero-editorial-copy .hero-form-panel {
        margin-top: 1rem;
    }
}

/* ── Editorial hero (original layout — not competitor template) ── */
.hero-editorial {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.25rem);
    background: var(--white);
}

.hero-editorial-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.hero-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: auto;
}

.hero-editorial-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 3.5rem clamp(1rem, 3vw, 2.5rem);
    border-right: none;
    min-width: 0;
}

.hero-editorial-copy .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.hero-editorial-copy h1 {
    font-size: clamp(2.75rem, 4.5vw, 4.25rem);
    color: var(--brand-black);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.05;
}

.hero-editorial-copy .brand-script { color: var(--brand-black); }

.hero-editorial-copy .hero-tagline {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--brand-black);
    font-weight: 500;
    margin-bottom: 1rem;
    max-width: 540px;
}

.hero-editorial-copy .hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.hero-editorial-copy .hero-rera {
    color: var(--brand-muted);
    margin-top: 0;
    margin-bottom: 0;
}

.hero-editorial-copy .hero-form-panel {
    margin-top: 2rem;
    max-width: 520px;
    width: 100%;
    position: static;
    transform: none;
}

.hero-editorial-visual {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: var(--brand-stone);
    align-self: stretch;
    overflow: hidden;
}

.hero-editorial-visual > img,
.hero-editorial-visual .img-placeholder,
.hero-editorial-visual .site-image-loaded {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Light nav on homepage editorial hero */
#mainNav.nav-light-home.nav-transparent .nav-link,
#mainNav.nav-light-home.nav-transparent .brand-sub {
    color: var(--brand-black) !important;
}

#mainNav.nav-light-home.nav-transparent .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.25);
}

#mainNav.nav-light-home.nav-transparent .navbar-toggler-icon {
    filter: none;
}

#mainNav.nav-light-home.scrolled .brand-logo-img,
#mainNav.nav-solid .brand-logo-img,
#mainNav.nav-solid.scrolled .brand-logo-img {
    filter: none;
}

/* Marquee stats strip */
.marquee-bar {
    background: var(--brand-black);
    color: var(--white);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    padding: 0.85rem 0;
    width: max-content;
    animation: marquee 28s linear infinite;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.marquee-track span {
    white-space: nowrap;
    opacity: 0.88;
}

.marquee-track span::before {
    content: '◆';
    margin-right: 3rem;
    opacity: 0.35;
    font-size: 0.55rem;
    vertical-align: middle;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Section numbering */
.section-numbered { position: relative; }
.section-numbered::before {
    content: attr(data-section);
    position: absolute;
    top: 5rem;
    left: max(1rem, calc((100vw - 1140px) / 2));
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    pointer-events: none;
}

/* Aliases & missing legacy classes */
.section-beige, .section-light { background: var(--cream); }
.bg-beige { background: var(--cream); }

.subtitle, .page-intro {
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-lead, .sub-headline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.page-hero-config .hero-lead,
.page-hero-config .sub-headline {
    margin-left: 0;
    margin-right: 0;
}

.page-hero-config {
    text-align: left;
    padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
    min-height: 28rem;
    position: relative;
    overflow: visible;
}

.page-hero-config .container {
    position: relative;
    z-index: 1;
}

.page-hero-config h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero-config .hero-cta-group { justify-content: flex-start; flex-wrap: wrap; }

.page-hero-config .hero-lead {
    color: rgba(255, 255, 255, 0.82);
}

.config-detail-section h2,
.config-detail-section h3 {
    color: var(--brand-black);
}

.config-detail-section > .container > .row {
    align-items: flex-start;
}

#enquiry {
    scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.config-enquiry-card {
    border: 1px solid var(--brand-line);
}

@media (min-width: 992px) {
    .config-detail-section #enquiry .config-enquiry-card {
        position: sticky;
        top: calc(var(--nav-height) + 1.25rem);
        z-index: 10;
        align-self: flex-start;
    }
}

.hero-form-card h3 {
    font-family: var(--font-display);
    color: var(--brand-black);
}

/* Config detail specs */
.spec-table,
.config-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
}

.spec-table tr,
.config-spec-table tr {
    border-bottom: 1px solid var(--brand-line);
}

.spec-table th,
.config-spec-table th {
    color: var(--brand-black);
    font-weight: 600;
    width: 38%;
    padding: 0.85rem 0;
    vertical-align: top;
    font-size: 0.92rem;
}

.spec-table td,
.config-spec-table td {
    color: var(--text-muted);
    padding: 0.85rem 0;
    font-size: 0.95rem;
}

.config-specs-layout {
    align-items: start;
}

.config-specs-visual {
    position: sticky;
    top: calc(var(--nav-height) + 1.25rem);
}

.floor-plan-panel {
    background: var(--white);
    border: 1px solid var(--brand-line);
    padding: 1.25rem 1.25rem 1rem;
}

.floor-plan-panel-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* Config page: show only top-left 2D plan from composite sheet */
.floor-plan-crop-config {
    aspect-ratio: 1100 / 810;
    max-height: none;
}

.floor-plan-crop-config .floor-plan-img,
.floor-plan-crop-config img,
.floor-plan-crop-config .site-image-loaded {
    width: 200%;
    height: auto;
    max-width: none !important;
    object-fit: unset;
    object-position: left top;
}

.floor-plan-img {
    width: 100%;
    background: var(--cream);
    border: 1px solid var(--brand-line);
    padding: 1rem;
}

/* Composite floor plans: 2D plan (left) + isometric / variants (right).
   Crop container shows only the top-left 2D plan portion. */
.floor-plan-crop {
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--brand-line);
    width: 100%;
    aspect-ratio: 1100 / 810;
    max-height: 480px;
}

.floor-plan-crop .floor-plan-img,
.floor-plan-crop img,
.floor-plan-crop .site-image-loaded {
    width: 200%;
    max-width: none !important;
    height: auto;
    display: block;
    padding: 0 !important;
    border: none !important;
    margin: 0;
    background: transparent;
    object-fit: unset;
    object-position: left top;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Thank you page */
.thank-you-section {
    padding: calc(var(--nav-height) + 4rem) 0 5rem;
    text-align: center;
    background: var(--cream);
    min-height: 70vh;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--brand-black);
    margin-bottom: 1.5rem;
}

.thank-you-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brand-black);
    margin-bottom: 1rem;
}

.thank-you-section .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Brochure page */
.page-brochure .hero-form-card i { color: var(--brand-black); }

@media (max-width: 991px) {
    .hero-editorial-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-editorial { min-height: auto; }
    .hero-editorial-copy {
        padding: 2rem clamp(1rem, 3vw, 2.5rem) 1rem;
        order: 1;
    }
    .hero-editorial-visual {
        order: 2;
        min-height: 320px;
    }
    .hero-editorial-visual > img,
    .hero-editorial-visual .img-placeholder,
    .hero-editorial-visual .site-image-loaded {
        min-height: 0 !important;
    }
    .hero-editorial-copy .hero-form-panel {
        max-width: none;
        margin-top: 1.5rem;
    }
    .section-numbered::before { display: none; }

    .page-hero { padding: calc(var(--nav-height) + 1.5rem) 0 2rem; }
    .page-hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .page-hero-config .row { text-align: left; }

    .feature-grid { grid-template-columns: 1fr; }
    .config-card-body .btn { width: 100%; }
    .floating-cta { bottom: 4.75rem; right: 0.75rem; }
    .float-btn { width: 46px; height: 46px; font-size: 1.15rem; }

    .config-detail-section #enquiry .config-enquiry-card {
        position: static !important;
        top: auto !important;
    }

    .split-image .img-placeholder,
    .split-image img { min-height: 240px; }

    .marquee-track { font-size: 0.68rem; gap: 2rem; }

    .contact-panel { padding: 1.25rem; }
    .lead-form-section { padding: 3.5rem 0; }

    .container { padding-left: 1rem; padding-right: 1rem; }

    .config-specs-visual {
        position: static;
    }
}

@media (max-width: 767px) {
    :root { --nav-height: 72px; }

    .section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
    .section-title h2 { font-size: clamp(1.65rem, 6vw, 2rem); }

    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; text-align: center; }

    .stats-row { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .stat-box { padding: 1rem 0.75rem; }
    .stat-box .num { font-size: 2rem; }

    .gallery-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .amenity-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .amenity-item { padding: 1rem 0.5rem; }

    .brand-logo-cicada { height: 58px; max-width: 260px; }
    .brand-logo-placeholder { height: 58px; min-width: 140px; font-size: 1rem; }

    body { padding-bottom: 72px; overflow-x: hidden; }

    .floor-carousel .carousel-item img,
    .floor-carousel .img-placeholder { max-height: 280px; }

    .map-container { height: 260px !important; }

    .site-footer { padding: 2.5rem 0 1.5rem; text-align: center; }
    .site-footer .col-lg-4,
    .site-footer .col-md-4 { margin-bottom: 1.5rem; }

    .breadcrumb-bar { padding-top: 5rem; }

    .config-spec-table th,
    .config-spec-table td { display: block; width: 100%; padding: 0.5rem 0; }
    .config-spec-table tr { border-bottom: 1px solid var(--brand-line); padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
}

@media (max-width: 575px) {
    .amenity-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .mobile-bottom-bar .mb-item { font-size: 0.65rem; padding: 0.65rem 0.25rem; }
}

/* ── Image placeholders (empty until URLs added in Web.config) ── */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(145deg, #efefec 0%, #e3e3df 100%);
    border: 2px dashed #c8c8c4;
    color: var(--brand-muted);
    text-align: center;
    padding: 1rem;
    width: 100%;
    overflow: hidden;
}

.img-placeholder-icon {
    font-size: 1.75rem;
    opacity: 0.45;
    line-height: 1;
}

.img-placeholder-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    max-width: 90%;
    line-height: 1.35;
}

.img-placeholder-key {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
}

.img-aspect-hero { min-height: 100%; min-height: 320px; }
.img-aspect-landscape { aspect-ratio: 4 / 3; min-height: 220px; }
.img-aspect-card { height: 220px; min-height: 220px; }
.img-aspect-gallery { aspect-ratio: 4 / 3; min-height: 200px; }
.img-aspect-split { aspect-ratio: 4 / 3; min-height: 280px; }
.img-aspect-floor { min-height: 360px; aspect-ratio: 3 / 4; max-height: 560px; }
.img-aspect-config-hero { aspect-ratio: 4 / 3; min-height: 240px; }
.img-aspect-plan { min-height: 280px; }

/* Master plan & site maps from brochure */
.master-plan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.master-plan-map {
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 0.75rem;
}

.location-map-wrap {
    background: var(--cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 0.75rem;
}

.location-map-frame {
    background: var(--cream);
    border-radius: 4px;
    padding: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.section-green .location-map-frame {
    background: var(--cream);
}

.location-map-frame img,
.location-map-frame .site-image-loaded,
.location-map-wrap img,
.location-map-wrap .site-image-loaded,
.location-advantages-map.site-image-loaded {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    border-radius: 2px;
}

.master-plan-img,
.location-advantages-map,
.master-plan-map .site-image-loaded,
.location-map-wrap .site-image-loaded {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.master-plan-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.legend-panel {
    background: var(--white);
    border: 1px solid var(--brand-line);
    padding: 1.25rem 1.5rem;
}

.legend-panel h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.legend-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    columns: 1;
    column-gap: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.legend-list-single li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.legend-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.2rem;
    border-radius: 50%;
    background: var(--brand-black);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.08rem;
}

.legend-icon-service {
    border-radius: 3px;
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.65rem;
    vertical-align: middle;
    margin-right: 0.15rem;
}

.legend-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: var(--brand-muted);
    font-family: var(--font-secondary);
}

.legend-list li {
    break-inside: avoid;
    margin-bottom: 0.45rem;
}

@media (max-width: 991px) {
    .master-plan-layout {
        grid-template-columns: 1fr;
    }

    .legend-list {
        columns: 1;
    }
}

.hero-editorial-visual .img-placeholder {
    min-height: 100%;
    height: 100%;
    border: none;
}

.split-image .img-placeholder,
.split-image img,
.config-card .img-placeholder,
.config-card img.site-image-loaded,
.gallery-item .img-placeholder,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .img-placeholder { aspect-ratio: 4 / 3; min-height: 200px; border: none; }

.config-card .img-placeholder { border: none; border-bottom: 1px solid var(--brand-line); }

.floor-plan-img,
.floor-plan-img.img-placeholder {
    object-fit: contain;
    background: var(--cream);
}

.brand-logo-placeholder,
.footer-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--brand-line);
    background: var(--brand-stone);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0 0.75rem;
}

.brand-logo-placeholder {
    height: 90px;
    min-width: 180px;
    color: var(--brand-black);
    font-size: 1.1rem;
}

.footer-logo-placeholder {
    height: 110px;
    min-width: 200px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.25rem;
}

#mainNav.scrolled .brand-logo-placeholder,
#mainNav.nav-solid .brand-logo-placeholder {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.site-image-loaded { max-width: 100%; height: auto; display: block; }
.config-card .site-image-loaded { width: 100%; height: 220px; object-fit: cover; }
.gallery-item .site-image-loaded { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.project-card-img.img-placeholder,
.project-card-img.site-image-loaded { min-height: 300px; object-fit: cover; }

.config-hero-img.img-placeholder,
.config-hero-img.site-image-loaded { width: 100%; object-fit: cover; }

.hero-editorial-visual .site-image-loaded { width: 100% !important; height: 100% !important; object-fit: cover; }

/* Gated media — blur plans & galleries until enquiry form submitted */
body:not(.media-unlocked) .gated-media-block {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

body:not(.media-unlocked) .gated-media-content {
    filter: blur(16px);
    transform: scale(1.05);
    pointer-events: none;
    user-select: none;
}

body:not(.media-unlocked) .gated-media-content img,
body:not(.media-unlocked) .gated-media-content .site-image-loaded,
body:not(.media-unlocked) .gated-media-content .img-placeholder-gated {
    pointer-events: none;
    -webkit-user-drag: none;
}

body:not(.media-unlocked) .gated-media-lock {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(245, 245, 243, 0.72);
    text-align: center;
}

body.media-unlocked .gated-media-lock {
    display: none !important;
}

body.media-unlocked .gated-media-content {
    filter: none;
    transform: none;
    pointer-events: auto;
}

.img-placeholder-gated {
    background: linear-gradient(145deg, #eceae6 0%, #ddd9d2 100%);
}

.gated-media-lock-inner {
    max-width: 300px;
}

.gated-media-lock-inner i {
    display: block;
    font-size: 1.75rem;
    color: var(--brand-black);
    margin-bottom: 0.75rem;
}

.gated-media-lock-inner p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.55;
}

.gated-media-lock-inner .gated-unlock-cta {
    border: none;
    cursor: pointer;
}

.gated-media-content.master-plan-map {
    min-height: 320px;
}

.gated-media-block .gated-media-content.row {
    width: 100%;
    margin: 0;
}
