/* =========================================================================
   LOCAL CUSTOM TYPOGRAPHY ENGINE (INTEL ONE DISPLAY)
   ========================================================================= */
@font-face {
    font-family: 'IntelOne Display';
    src: url('assets/fonts/intelone/intelone-display-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'IntelOne Display';
    src: url('assets/fonts/intelone/intelone-display-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IntelOne Display';
    src: url('assets/fonts/intelone/intelone-display-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IntelOne Display';
    src: url('assets/fonts/intelone/intelone-display-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Color Palette & Structural Variables */
:root {
    --color-bg-ivory: #FCFAF6;
    --color-bg-secondary: #f7f7f7;
    --color-bg-ivory-tint: #F5F1E8;
    --color-plum: #5e1634; 
    --color-gold: #C6A15B;
    --color-charcoal: #121212;
    --color-text-muted: #4E4E4E;
    --color-border: rgba(26, 26, 26, 0.08);

    /* Unified Editorial Typography Engine pointing to local assets */
    --font-heading: 'IntelOne Display', sans-serif;
    --font-body: 'IntelOne Display', sans-serif;
}

/* Global Foundations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================================
   GLOBAL TAPPING RESET (REMOVES MOBILE BLUE HIGHLIGHT FLASH)
   ========================================================================= */
a, 
button, 
select,
.accordion-trigger,
.custom-select-wrapper {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Fallback for older mobile webkit engines */
}

body {
    background-color: #fff;
    color: var(--color-charcoal);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 6%;
}

.section {
    padding: clamp(80px, 10vw, 160px) 0;
}

/* Unified Typography Hierarchy */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-charcoal);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(42px, 5.5vw, 86px);
    font-weight: 300;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.1;
}

.italic-accent {
    font-style: normal;
    font-weight: 600;
    color: var(--color-plum);
}

.section-pretitle {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(11px, 1vw, 13px);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(34px, 4vw, 58px);
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: clamp(24px, 2.5vw, 34px);
    letter-spacing: -0.01em;
    font-weight: 400;
    margin-bottom: 1rem;
}

.body-lead {
    font-size: clamp(17px, 1.5vw, 22px);
    color: var(--color-charcoal);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.body-text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.7;
}

/* Floating Navbar Structure */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    padding: 14px 32px;
    border-radius: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}



.nav-links {
    display: flex;
    gap: 2.5rem;
    margin-right: 180px;
}

.nav-item {
    text-decoration: none;
    color: var(--color-charcoal);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}



.nav-item:hover { color: var(--color-gold); }

.btn-nav {
    text-decoration: none;
    background-color: var(--color-plum);
    color: var(--color-bg-ivory);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-nav:hover {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    color: var(--color-plum);
    transform: translateY(-1px);
}

/* =====================================
   NAVBAR RERA PLACEMENT ENGINE
===================================== */

.nav-rera-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    border: 1px solid var(--color-gold);
    border-radius: 6px;
}

/* Micro sizing constraints for the navbar QR code graphic asset */
.nav-rera-barcode {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-rera-barcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-rera-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-rera-id {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-charcoal, #1a1a1a);
    line-height: 1.2;
    text-transform: uppercase;
}

.nav-rera-subtext {
    font-size: 0.58rem;
    color: #777777;
    line-height: 1.2;
    margin-top: 1px;
}

/* =====================================
   RESPONSIVE LAYOUT RESPONSES
===================================== */

@media (max-width: 1110px) {
    .nav-links { 
        display: none; 
    }
    .navbar { 
        padding: 12px 20px; 
    }
}

/* On phones, hide the text details and show only the QR code badge */
@media (max-width: 650px) {
    .nav-rera-details {
        display: none; /* Safely strips text parameters under small viewport limits */
    }
    
    .nav-rera-wrapper {
        padding: 4px; /* Tightens padding into a clean box contour frame */
        background-color: #ffffff;
    }

    .nav-brand-group .brand-logo {
        height: 32px;
    }
    .secondary-logo {
        margin-right: 15px;
    }
    .nav-brand-group{
        gap: 8px;
    }
    .logo-separator {
        height: 18px;
    }
}

@media (max-width: 410px) {
    .nav-brand-group .brand-logo {
        height: 26px;
    }
    .secondary-logo {
        height: 26px;
        margin-right: 10px;
    }
}

.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* This is the key */
.hero-media {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Video respects natural ratio inside container */
.hero-video {
    width: 100%;
    height: auto;
    object-fit: contain; /* IMPORTANT: no cropping */
    display: block;
}


/* Marquee Framework */
.luxury-marquee {
    width: 100%;
    background: linear-gradient(
        135deg,
        #661d59 0%,
        #571c33 50%,
        #260f27 100%
    );
    border-top: 1px solid rgba(252, 250, 246, 0.1);
    border-bottom: 1px solid rgba(252, 250, 246, 0.1);
    padding: clamp(18px, 2.2vw, 26px) 0;
    overflow: hidden;
    display: flex;
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-content {
    font-family: var(--font-heading);
    font-size: clamp(18px, 1.8vw, 24px);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--color-bg-ivory);
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding-right: 20px;
}

.marquee-content .star {
    color: var(--color-gold);
    margin: 0 clamp(1.5rem, 2vw, 3rem);
    display: inline-block;
}

/* Story Modules */
.story-section {
    background-color: var(--color-bg-secondary);
}

.grid-editorial-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.story-visual-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.story-visual-frame img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.story-editorial-content {
    padding: 0;
}

.editorial-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 2rem 0;
}

.dev-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.dev-box {
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.dev-box:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.dev-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.dev-initial {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold);
}

/* =========================================================================
   STORY SECTION DEVELOPER LOGO ENGINES
   ========================================================================= */
.dev-logo-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px; /* Optional subtle corner smoothing */
    flex-shrink: 0; /* Prevents browser flex distortion */
}

.dev-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps logo geometric ratios intact */
    display: block;
}
/* Structural Cursor Fallbacks for Pointer Interactions */
.dev-box-link,
.dev-box-link * {
    cursor: pointer;
}

/* =========================================================================
   THE AGGRESSIVE CAROUSEL FLOUTING OVERFLOW MATRIX
   ========================================================================= */
/* Since the track is bleeding, we must place an absolute lock directly on the parent wrappers */

.upcoming-section, 
.upcoming-container,
.upcoming-phase-section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important; /* Forces layout masking directly at the viewport limit */
    box-sizing: border-box;
}

/* Safety Fallback: Enforces block layouts to strict screenspace margins */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

.dev-box h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.dev-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.dev-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dev-pills span {
    font-size: 0.6rem;
    background: rgba(198, 161, 91, 0.05);
    padding: 4px 8px;
    color: var(--color-gold);
    border: 1px solid rgba(198, 161, 91, 0.2);
}


/* Clickable Developer Box Mechanics */
.dev-box-link {
    text-decoration: none;
    color: inherit; /* Keeps your muted body typography colors intact */
    display: block; /* Guarantees the anchor takes up the full width/height space of the grid block */
}


/* =========================================================================
   HARDWARE-ACCELERATED AMENITIES CAROUSEL SUBSYSTEM
   ========================================================================= */
.amenities-section {
    background-color: #fff;
    overflow: hidden;
}

.amenities-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.amenities-carousel-controls {
    display: flex;
    gap: 12px;
}

/* =========================================================================
   REFINED LUXURY CONTRAST AMENITIES NAVIGATION CONTROLS
   ========================================================================= */
.amenities-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Darkened and slightly thickened border to match gallery style */
    border: 1.5px solid var(--color-charcoal, #767676); 
    background: #ffffff;
    cursor: pointer;
    
    /* Perfect Absolute Centering Matrix */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* Enforce physical layout constraints on the amenities vector arrow graphics */
.amenities-nav-btn svg {
    width: 22px; 
    height: 22px;
    fill: var(--color-charcoal, #222222); /* Bold matching arrow interior fill */
    display: block;
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* Hover Physics Interactions */
.amenities-nav-btn:hover:not(:disabled) {
    background: var(--color-plum, #4a154b);
    border-color: var(--color-plum, #4a154b); /* Seamless edge blend on hover background */
    transform: scale(1.05);
}

.amenities-nav-btn:hover:not(:disabled) svg {
    fill: var(--color-plum);
}

.upcoming-phase-section .amenities-nav-btn:hover:not(:disabled) svg {
    fill: white;
}

/* Micro-interaction shifts on click trigger actions */
.amenities-nav-btn.prev:active:not(:disabled) svg {
    transform: translateX(-2px);
}

.amenities-nav-btn.next:active:not(:disabled) svg {
    transform: translateX(2px);
}

/* Clear UI state styling for tracking boundary thresholds */
.amenities-nav-btn:disabled {
    opacity: 0.2; /* Fades out both arrow and the darkened border cleanly at boundaries */
    cursor: not-allowed;
    background: #ffffff;
    border-color: var(--color-charcoal, #767676);
    transform: none;
}

.amenities-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.amenities-carousel-track {
    display: flex;
    gap: 30px;
    width: 100%;
    will-change: transform;
    cursor: grab;
}

.amenities-carousel-track:active {
    cursor: grabbing;
}

.amenity-card {
    flex: 0 0 calc((100% - (30px * 2)) / 3); /* 3 Items Baseline Desktop */
    display: flex;
    flex-direction: column;
    gap: 15px;
    user-select: none;
    -webkit-user-drag: none;
}

.amenity-card .img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-bg-ivory-tint);
}

.amenity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
    pointer-events: none;
}

.amenity-card:hover img {
    transform: scale(1.05);
}

.amenity-card h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-top: 5px;
    color: var(--color-gold);
}

.amenity-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}



/* Ready Privileges Section: Premium Deep Plum Gradient Engine */
.ready-phase-section {
    background: linear-gradient(
        135deg,
        #661d59 0%,
        #571c33 50%,
        #260f27 100%
    );
    color: var(--color-bg-ivory); /* Flip text to light for high contrast */
}

/* Enforce high contrast typography variations inside the plum block */
.ready-phase-section .section-title {
    color: #ffffff;
}

.ready-phase-section .amenity-card p {
    color: rgba(252, 250, 246, 0.7); /* Soft light ivory-tint muted text */
}

/* Adjust navigation buttons to pop beautifully over the dark layout */
.ready-phase-section .amenities-nav-btn {
    border-color: var(--color-gold);
    background: transparent;
}

.ready-phase-section .amenities-nav-btn svg {
    fill: var(--color-gold);
}

.ready-phase-section .amenities-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    color: var(--color-plum);
}

.ready-phase-section .amenities-nav-btn:disabled {
    opacity: 0.3;
    background: transparent;
    border-color: rgba(252, 250, 246, 0.2);
}
/* =========================================================================
   SCOPED DESIGN MATRIX: READY AMENITIES OVERLAY CONFIGURATIONS
   ========================================================================= */

/* 1. The Parent Card: Multi-Column Distribution Engine */
.ready-phase-section .ready-card {
    position: relative;
    flex: 0 0 calc((100% - (30px * 2)) / 3); /* Matches your 3-column baseline desktop layout */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    user-select: none;
    -webkit-user-drag: none;
    
    /* Perfect Metallic Border Architecture via Gradient Padding Mask */
    border-radius: 8px; /* Smooth card rounded corners */
    padding: 2px; /* This determines the exact physical thickness of the border */
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive constraints maintaining absolute alignment */
@media (max-width: 1024px) {
    .ready-phase-section .ready-card { flex: 0 0 calc((100% - 30px) / 2); }
}
@media (max-width: 640px) {
    .ready-phase-section .ready-card { flex: 0 0 100%; }
}

/* 2. Anchor the visual wrapper inside the gold border framework */
.ready-phase-section .card-visual-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    border-radius: 6px; /* Slightly tighter radius to nest perfectly inside the outer card border */
    background-color: var(--color-bg-ivory-tint);
}

/* Asset scaling matrix config */
.ready-phase-section .ready-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 6px;
    display: block;
    pointer-events: none;
}

.ready-phase-section .ready-card:hover img {
    transform: scale(1.06);
}

/* 3. Ultra-Realistic Liquid Metallic Gold Overlay Title Banner */
.ready-phase-section .ready-overlay-title {
    position: absolute;
    left: 0;
    bottom: 24px; /* Clearance floating baseline distance up from the bottom edge */
    
    /* Multiphase Reflective Real Gold Gradient */
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 30%, #B38728 70%, #FBF5B7 85%, #AA771C 100%);
    color: #121212; /* Dark charcoal text to maintain premium legibility over light reflections */
    
    /* Spacing Framework */
    padding: 12px 28px 12px 20px;
    margin: 0;
    
    /* Typography System styling */
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.15;
    
    /* Shape boundaries: Hits left edge perfectly, wraps closely around the text layout on the right */
    border-radius: 0 4px 4px 0; 
    box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.35);
    z-index: 5;
    
    /* Hardware acceleration processing layers */
    transform: translate3d(0, 0, 0);
    transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4. Interactive Hover State Over Title Overlay Banner */
.ready-phase-section .ready-card:hover .ready-overlay-title {
    filter: brightness(1.1); /* Subtle premium glint shimmer enhancement on hover */
}

/* =========================================================================
   PHASE 1 TEXT OVERLAY ARCHITECTURE (FIXED SIZE MATRIX)
   ========================================================================= */

/* The structural column container that groups the card and its description */
.ready-phase-section .ready-card-container {
    flex: 0 0 calc((100% - (30px * 2)) / 3); /* Maintains 3-column desktop layout */
    display: flex;
    flex-direction: column;
    gap: 16px; /* Clean spacing between gold card and text below */
}

/* FIX: Force the gold card to wrap ONLY the image height and never stretch */
.ready-phase-section .ready-card {
    flex: 0 0 auto; /* Prevents vertical stretching */
    width: 100%;
    height: max-content; /* Locks it tightly to the content size */
    
    /* Re-enforce your core gold card properties */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 2px; /* Thin physical border frame line */
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Premium Ivory/White Description Styling */
.ready-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    padding: 0 4px;
    font-weight: 300;
}

/* Responsive breakpoint sync overrides matching your layout matrix */
@media (max-width: 1024px) {
    .ready-phase-section .ready-card-container { 
        flex: 0 0 calc((100% - 30px) / 2); /* 2 Items on Tablet */
    }
}
@media (max-width: 640px) {
    .ready-phase-section .ready-card-container { 
        flex: 0 0 100%; /* 1 Item on Mobile */
    }
}


/* Smooth mobile fallbacks for standard containers */
@media (max-width: 640px) {
    .upcoming-phase-section .amenities-carousel-viewport {
        overflow: hidden;
    }
}

/* Carousel Responsive Configurations */
@media (max-width: 1024px) {
    .amenity-card {
        flex: 0 0 calc((100% - 30px) / 2); /* 2 Items Tablet */
    }
}

@media (max-width: 640px) {
    .amenities-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .amenity-card {
        flex: 0 0 100%; /* 1 Item Mobile */
    }
}


/* Centered Title Layout Architecture for Upcoming Section */
.upcoming-centered-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    width: 100%;
}

.upcoming-centered-header .section-title {
    margin-bottom: 0; /* Tightens alignment to the track below */
}

/* Dedicated Amenities Footer Context */
.amenities-section-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(40px, 5vw, 60px); /* Seamless responsive gap below edge-to-edge images */
}

/* Luxury Dot Matrix Pagination Layout Engine (Refined for Center Placement) */
.amenities-dot-pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    height: auto; /* Drops absolute button matches to allow normal block layout flowing */
}

.amenities-dot-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 0;
    background-color: var(--color-plum, #5e1634);
    cursor: pointer;
    transform: scale(1);
    transition: background-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#readyDots .dot {
    background-color: #d9becc;
}

/* State shifts */
.amenities-dot-pagination .dot.active {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 30%, #B38728 70%, #FBF5B7 85%, #AA771C 100%);
    transform: scale(1.3);
}

.amenities-dot-pagination .dot:hover:not(.active) {
    background-color: rgba(94, 22, 52, 0.7);
}

/* Fluid Viewport handling adjustment override for clean footer handling */
@media (min-width: 641px) {
    .upcoming-phase-section .amenities-carousel-viewport {
        overflow: visible;
    }
}

/* =========================================================================
   SCOPED DESIGN MATRIX: UPCOMING AMENITIES PLUM MATRIX CONFIGURATIONS
   ========================================================================= */

/* 1. Target the upcoming section block cards explicitly with edge-to-edge tracking */
.upcoming-phase-section .amenity-card {
    position: relative;
    background: linear-gradient(
        135deg,
        #661d59 0%,
        #571c33 50%,
        #260f27 100%
    );
    
    /* Perfect Subtle Border Layout Mask matching the structural profile of Phase 1 */
    border-radius: 8px;
    padding: 4px; /* Determines the thin edge thickness frame around the image asset */
    
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove baseline gaps so content flows naturally inside our padded container */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* Premium elevation physics shift on hover context */
.upcoming-phase-section .amenity-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* 2. Image Wrapper drops down to line up cleanly with the edge tracking boundaries */
.upcoming-phase-section .amenity-card .img-wrap {
    width: 100%;
    /*aspect-ratio: 16/9; */
    overflow: hidden;
    border-radius: 8px; /* Smooth corners on top to nest cleanly, sharp on bottom */
}

/* 3. Text content box layout isolation containing localized item padding margins */
.upcoming-phase-section .amenity-card h3,
.upcoming-phase-section .amenity-card p {
    padding-left: 24px;
    padding-right: 24px;
}

/* Typography spacing architecture */
.upcoming-phase-section .amenity-card h3 {
    color: #ffffff; /* Bright white presentation */
    font-size: 1.35rem;
    font-weight: 500;
    margin-top: 20px; /* Space baseline directly between image boundary and header */
    margin-bottom: 8px;
}

.upcoming-phase-section .amenity-card p {
    color: rgba(252, 250, 246, 0.75); /* Ivory-tinted readability legibility engine */
    font-size: 0.92rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 24px; /* Clearance gap pushing up cleanly from card bottom edge */
}

/* 1. Structural Section Container */
.upcoming-section {
    width: 100%;
    overflow-x: hidden /* Prevents the bleeding cards from causing an ugly global horizontal scrollbar on the page */
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2. The Inner Content Wrapper (Matches your site's standard max-width grid consistency) */
.upcoming-container {
    max-width: var(--site-max-width, 1200px); /* Use your existing site layout max-width variable */
    margin: 0 auto;
    padding: 0 30px; /* Aligns perfectly with the padding of your other sections */
}

/* 3. The Viewport Context (Your requested setup) */
.upcoming-carousel-viewport {
 
    overflow: visible !important; /* Overrides any hidden rules so cards remain visible when scrolling out of bounds */

}

/* 4. The Upcoming Track Engine */
#trackUpcoming {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px; /* Keeps item gap spacing consistent with Phase 1 */
    width: 100%;
    will-change: transform;
}

/* Responsive Gaps matching your Tablet/Mobile Matrix Engine Specs */
@media (max-width: 1024px) {
    .upcoming-container {
        padding: 0 24px;
    }
    #trackUpcoming {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .upcoming-container {
        padding: 0 20px;
    }
    #trackUpcoming {
        gap: 20px;
    }
}

/* =========================================================================
   AMENITIES COMPLIANCE DISCLAIMER STYLING ENGINE
   ========================================================================= */

/* Stack the pagination dots and the disclaimer tag cleanly */
.phase-footer-stacked {
    flex-direction: column !important;
    gap: 16px;
    margin-top: clamp(30px, 4vw, 45px);
}

/* Base compliance typography setup */
.amenity-compliance-tag {
    font-family: var(--font-body, sans-serif);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.amenity-compliance-tag:hover {
    opacity: 0.8; /* Interactive glint reveal */
}

/* Phase 1 Specification: Ivory White Tint Over Deep Plum Background */
.ready-phase-section .amenity-compliance-tag {
    color: rgba(255, 255, 255, 0.9);
}

/* Phase 2 Specification: Muted Charcoal Over Light Section Background */
.upcoming-phase-section .amenity-compliance-tag.imminent-tag {
    color: var(--color-charcoal, #222222);
    opacity: 0.6;
}

/* =========================================================================
   COMPREHENSIVE LAYOUTS & REFINED ACCORDION MATRIX SYSTEM
   ========================================================================= */
.plans-section {
    background-color: var(--color-bg-secondary);
    position: relative;
    z-index: 10;
}

.plans-header {
    margin-bottom: 50px;
    text-align: center;
}

.plan-configurator-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid var(--color-border, #eaeaea);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.02);
}

.plan-configurator-bar.architectural-two-col {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 8px;
}

.config-selector-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-selector-group label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold, #8c8276);
    font-weight: 600;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper select {
    width: 100%;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border, #eaeaea);
    color: var(--color-charcoal, #1a1a1a);
    padding: 14px 48px 14px 20px;
    font-size: 0.85rem;
    font-family: var(--font-body, inherit);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease;
}

.custom-select-wrapper select:focus {
    outline: none;
    border-color: var(--color-gold, #8c8276);
    background-color: #ffffff;
}

.custom-select-wrapper::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 5 5-5z' fill='%231A1A1A'/%3E%3C/svg%3E") no-repeat center;
    background-size: 10px 6px;
    pointer-events: none;
}

/* Base Configuration Grid Split */
.plan-display-frame {
    width: 100%;
}

.plan-grid-split {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 40px;
    align-items: stretch; /* Equal height matching across columns on desktop */
}

/* =========================================================================
   LEFT SIDEBAR COLUMN: DEEP PLUM BRAND MATRICES
   ========================================================================= */
.plan-specs-column {
    background: linear-gradient(135deg, #661d59 0%, #571c33 50%, #260f27 100%);
    padding: 50px 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pins specs at top, button layout at bottom */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}



.plan-specs-column .spec-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 12px;
}

.plan-specs-column .spec-title {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.plan-specs-column .divider-micro {
    width: 50px;
    height: 1px;
    background-color: var(--color-gold);
    margin-bottom: 35px;
}

.plan-specs-column .spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-specs-column .spec-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(252, 250, 246, 0.15);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-specs-column .spec-list li .spec-name {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(252, 250, 246, 0.6);
    font-weight: 400;
}

.plan-specs-column .spec-list li .spec-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    text-align: left;
}

/* =========================================================================
   THE LIQUID METALLIC GOLD BUTTON
   ========================================================================= */
.plan-specs-column .btn-luxury-action {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 40px;
    
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    color: var(--color-plum);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.plan-specs-column .btn-luxury-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* =========================================================================
   RIGHT ACCORDION COLUMN SYSTEM (EDITORIAL ARCHITECTURE)
   ========================================================================= */
.plan-presentation-column {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-accordion-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #ebe9e4;
    transition: all 0.3s ease;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-trigger .feature-heading {
    font-family: var(--font-heading, serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-charcoal);
    margin: 0;
    transition: color 0.3s ease;
}

/* Sophisticated Geometric Line Arrow Dynamic Toggle Engine */
.accordion-icon {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-charcoal);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.accordion-icon::before {
    width: 100%;
    height: 1px;
}

.accordion-icon::after {
    width: 1px;
    height: 100%;
}

/* Active Hover Transitions */
.accordion-item:hover .accordion-trigger .feature-heading {
    color: var(--color-gold);
}
.accordion-item:hover .accordion-icon::before,
.accordion-item:hover .accordion-icon::after {
    background-color: var(--color-gold);
}

.accordion-item.active .accordion-trigger .feature-heading {
    color: var(--color-gold);
}

/* Transform vertical bar into linear minus tracking state safely */
.accordion-item.active .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.accordion-item.active .accordion-icon::before {
    background-color: var(--color-gold);
}

/* Animated Content Height Matrix Processing */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
    max-height: 300px; /* Safe upper ceiling for descriptions tracking */
}

.accordion-content-inner {
    padding-bottom: 24px;
}

.accordion-content .feature-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

/* =========================================================================
   RESPONSIVE GRID MATRIX OVERRIDES (PULLS BUTTON BELOW ACCORDION)
   ========================================================================= */
@media (max-width: 991px) {
    /* Break grid down into a clean single flexible column context */
    .plan-grid-split {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    /* Break open internal components so we can rearrange text vs buttons */
    .plan-specs-column {
        width: 100%;
        padding: 40px 30px;
        background: none; /* Strip background container from left column wrapper boundary */
        border: none;
        box-shadow: none;
        display: contents; /* Dissolves wrapper layer completely so children float directly in parent */
    }
    
    /* Reconstruct a fake card explicitly for text parameters safely at the top */
    .plan-specs-column .specs-content-inner {
        order: 1; /* First Block */
        background: linear-gradient(135deg, #661d59 0%, #571c33 50%, #260f27 100%);
        padding: 40px 30px;
        border-radius: 8px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    /* Squeeze the dynamic accordion block smoothly into the second track slot */
    .plan-presentation-column {
        order: 2; /* Second Block */
        padding: 30px 24px;
    }

    /* Pull brochure download out to position it elegantly underneath the accordion card */
    .plan-specs-column .btn-luxury-action {
        order: 3; /* Final Block at the very bottom */
        margin-top: 10px;
        position: static;
    }
}

@media (max-width: 850px) {
    .plan-configurator-bar.architectural-two-col {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}
/* =========================================================================
   HARDWARE-ACCELERATED NATIVE GALLERY ENGINE (STRICT SINGLE-SLIDE MOBILE)
   ========================================================================= */

.gallery-section {
    background-color: #fff;
    overflow: hidden;
}

/* 1. Header & Centered Navigation Controls Subsystem */
.gallery-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.gallery-carousel-controls {
    display: flex;
    gap: 12px;
}

/* =========================================================================
   REFINED LUXURY CONTRAST NAVIGATION CONTROLS
   ========================================================================= */
.gallery-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Darkened and slightly thickened border for strong definition */
    border: 1.5px solid var(--color-charcoal, #767676); 
    background: #ffffff;
    cursor: pointer;
    
    /* Perfect Absolute Centering Matrix */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* Enforce physical layout constraints on the vector arrow graphics */
.gallery-nav-btn svg {
    width: 22px; 
    height: 22px;
    fill: var(--color-charcoal, #222222); /* Bold matching arrow interior fill */
    display: block;
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* Hover Physics Interactions */
.gallery-nav-btn:hover:not(:disabled) {
    background: var(--color-plum, #4a154b);
    border-color: var(--color-plum, #4a154b); /* Seamless edge blend on hover background */
    transform: scale(1.05);
}

.gallery-nav-btn:hover:not(:disabled) svg {
    fill: #ffffff;
}

/* Micro-interaction shifts on click trigger actions */
#galleryPrev:active:not(:disabled) svg {
    transform: translateX(-2px);
}

#galleryNext:active:not(:disabled) svg {
    transform: translateX(2px);
}

/* Clear UI state styling for tracking boundary thresholds */
.gallery-nav-btn:disabled {
    opacity: 0.2; /* Fades out both arrow and the darkened border cleanly at boundaries */
    cursor: not-allowed;
    background: #ffffff;
    border-color: var(--color-charcoal, #767676);
    transform: none;
}

/* 2. Slider Viewport & Drag Track Engine */
.gallery-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.gallery-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content; /* Critical for Desktop: Allows track to scale around dynamic slide sizes */
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-carousel-track:active {
    cursor: grabbing;
}

/* 3. Desktop & Tablet Mode: Natural Variable Aspect Ratio Proportions */
.gallery-card {
    flex: 0 0 auto;
    height: 500px; /* Base structural track anchor layout height */
    width: auto;   /* Force card wrapper to shrink-wrap around raw image proportions */
    box-sizing: border-box;
}

.gallery-card .img-wrap {
    height: 100%;
    width: auto;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5; /* Subtle clean light gray baseline background */
    box-sizing: border-box;
}

.gallery-card img {
    height: 100% !important;
    width: auto !important; /* CRITICAL: Forces browser to track native image geometries without warping */
    object-fit: contain;    /* Guarantees 0% cropping occurs across widescreen/vertical monitors */
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Immersive Kinetic Frame Scale Focus Trigger */
.gallery-card:hover img {
    transform: scale(1.03);
}

/* 4. Responsive Device Scale Breakpoints */
@media (max-width: 1024px) {
    .gallery-section {
        padding: 60px 0;
    }
    .gallery-card {
        height: 420px; /* Compress horizontal presentation profile on laptops */
    }
}

@media (max-width: 768px) {
    .gallery-card {
        height: 380px; /* Tablet view optimization scaling anchor */
    }
    .gallery-carousel-track {
        gap: 20px; /* Tighten column gutters */
    }
}

/* 5. Mobile Layout Mode: Pure Unbreakable 1:1 Single Slide Container */
@media (max-width: 640px) {
    .gallery-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .gallery-carousel-viewport {
        width: 100%;
        /* Utilizing layout percentages inside your standard site container system prevents overflow */
    }

    .gallery-carousel-track {
        width: 100%; /* Align framework boundaries directly with the inner container limits */
        gap: 0px;    /* Drop the gap entirely to prevent tracking offset calculation creep */
    }

    .gallery-card {
        height: auto;
        width: 100% !important;          /* Force exactly ONE card to equal 100% of its viewport layout container */
        max-width: 100% !important;      /* Zero screen spillover possible */
        aspect-ratio: 1 / 1 !important;  /* Locks structural box to a perfect square proportion */
    }

    .gallery-card .img-wrap {
        width: 100% !important;
        height: 100% !important;
        background-color: #ededed;       /* Soft premium gray backdrop for letterboxing */
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .gallery-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;  /* Perfectly scales the full asset image uncropped within the square */
    }
}

/* =========================================================================
   LUXURY LOCATION GRID MATRIX SETUP (STRICT MULTI-ROW MATRIX)
   ========================================================================= */

.location-section {
    background-color: var(--color-bg-secondary);
    overflow: hidden;
}

.location-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

/* Updated Matrix Layout Engine Track */
.connectivity-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.location-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.location-tab {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 14px 26px;
    border-radius: 50px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;
    transition: all .3s ease;
}

.location-tab:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.location-tab.active {
    background: var(--color-plum);
    color: #fff;
    border-color: var(--color-plum);
}

/* Individual Location Item Blocks */
.conn-item {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
        user-select: none;
    -webkit-user-drag: none;
}

.conn-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.conn-item .icon-wrap {
    width: 46px;
    height: 46px;
    background-color: rgba(94, 22, 52, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.conn-item .icon-wrap svg {
    width: 20px;
    height: 20px;
    fill: var(--color-plum);
}

.conn-item .conn-time {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    margin-bottom: 10px;
    display: inline-block;
}

.conn-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-charcoal);
    margin: 0 0 6px 0;
}

.conn-item p {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* Navigation Controllers */
.location-carousel-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 25px;
}

.location-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--color-charcoal, #767676);
    background: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.location-nav-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--color-charcoal, #222222);
}

.location-nav-btn:hover:not(:disabled) {
    background: var(--color-plum, #4a154b);
    border-color: var(--color-plum, #4a154b);
}

.location-nav-btn:hover:not(:disabled) svg {
    fill: #ffffff;
}

.location-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .location-tab{ padding: 10px;font-size: 10px;}
    .conn-item h3 {
        font-size: 14px;
    }
}

/* =========================================================================
   RESPONSIVE LAYOUT CALCULATION ADJUSTMENTS
   ========================================================================= */

@media (max-width: 1200px) {

    .connectivity-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {

    .connectivity-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .conn-item {
        padding: 25px 20px;
    }

}

/* =========================================================================
   CONTACT MODULE MATRIX WITH ISOLATED LENIS STICKY FIX
   ========================================================================= */

/* Targeted global override: Switches overflow to clip ONLY when the contact section exists */
html:has(.contact-section),
body:has(.contact-section) {
    overflow-x: clip !important;
}

/* Ensure section wrappers do not clamp scrolling context dimensions */
.contact-section,
.contact-section .container {
    overflow: visible !important;
    height: auto !important;
}

/* Core Grid Setup */
.contact-grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 120px;
    align-items: start !important; /* CRITICAL: Stops column items stretching to equal height */
}

/* Clear out the legacy center/height rules that fight sticky position tracking code */
.contact-form-wrap {
    display: block !important;
    position: -webkit-sticky !important; /* Legacy Safari Engine */
    position: sticky !important;
    top: 120px !important; /* Distance from your viewport frame view path */
    height: fit-content !important; /* Constrains boundaries to child form contents */
}

#site-visit-form {
    display: flex;
    flex-direction: column;
    height: auto !important;
    gap: 20px;
}

/* Rest of your module definitions */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.contact-details-grid {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    border-left: 1px solid var(--color-gold);
    padding-left: 25px;
}

.info-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-plum);
    margin-bottom: 8px;
}

.contact-icon {
    width: 14px;
    height: 14px;
    stroke: var(--color-gold);
}

.contact-phone-link{
    display:block;
    font-family:var(--font-heading);
    font-size:1.2rem;
    font-weight:400;
    color:var(--color-charcoal);
    text-decoration:none;
    line-height:1.5;
    transition:0.3s ease;
}

.contact-phone-link:hover{
    color:var(--color-gold);
}

.info-card a, .info-card p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-charcoal);
    text-decoration: none;
    line-height: 1.4;
    margin: 0;
}

.contact-details { margin-top: 40px; }
.contact-details p { margin-bottom: 20px; line-height: 1.6; }
.rera-text { font-size: 0.75rem; color: #888; margin-top: 40px; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; color: var(--color-gold); font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; border: none; border-bottom: 1px solid #ccc; background: transparent; padding: 10px 0; font-family: var(--font-body); outline:none;
}
.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-primary { 
    background: var(--color-plum); color: #fff; padding: 20px 40px; border: none; 
    text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: 0.3s;
    border-radius: 8px; font-family: var(--font-body); font-weight: 500;
}

.btn-primary:hover { background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    color: var(--color-plum); }

.hidden { display: none; }

/* Responsive Google Map Wrapper */
.map-embed-container {
    margin-top: 40px;
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.map-embed-container iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-form-wrap { position: static !important; }
}

@media (min-width: 850px) {
    .grid-editorial-split { grid-template-columns: 40% 60%; gap: 4vw; }
}

@media (min-width: 768px) {
    .story-editorial-content { padding-left: 2vw; }
    .cell-hero { grid-column: span 8; grid-row: span 2; }
    .cell-tall { grid-column: span 4; grid-row: span 3; }
    .cell-standard-1 { grid-column: span 4; grid-row: span 1; }
    .cell-standard-2 { grid-column: span 4; grid-row: span 1; }
}

@media (min-width: 1024px) {
    .configurator-wrapper { grid-template-columns: 40% 60%; gap: 5vw; }
    .grid-35-65 { grid-template-columns: 38% 62%; gap: 6vw; }
}

@media (max-width: 1360px) {
    .nav-links { margin-right: 0px; }
}

@media (max-width: 1300px) {
    .nav-links { display: none; }
    .navbar { padding: 12px 15px; }
    .btn-nav { background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%); color: var(--color-plum); }
    .hero-ivory-overlay {
        background: linear-gradient(180deg, rgba(252,250,246,0.98) 0%, rgba(252,250,246,0.9) 50%, rgba(252,250,246,0.4) 100%);
    }
    .hero-text-block { margin-top: 60px; }
}

/* Footer Architecture Layouts */
/* =====================================
   FOOTER
===================================== */

.site-footer{
    background: linear-gradient(
        135deg,
        #661d59 0%,
        #571c33 50%,
        #260f27 100%
    );

    padding: 90px 0 30px;
    overflow: hidden;
}

/* =====================================
   MAIN GRID
===================================== */

.footer-grid{
    display:grid;

    /* logo gets most space */
    grid-template-columns:
        minmax(180px,1fr)
        minmax(380px,520px)
        minmax(220px,1fr);

    gap:60px;

    margin-bottom:70px;
}

/* =====================================
   CENTER LOGO
===================================== */

.footer-center{
    display:flex;
    justify-content:center;
    align-items:center;
}

.footer-logo{
    width:100%;
    max-width:230px;
    height:auto;
    display:block;
    transform: scale(1.3);
}

/* =====================================
   SIDE COLUMNS
===================================== */

.footer-column{
    display:flex;
    flex-direction:column;
}

.footer-left{
    align-items:flex-start;
    text-align:left;
}

.footer-right{
    align-items:flex-end;
    text-align:right;
}

/* =====================================
   HEADINGS
===================================== */

.footer-title{
    color:var(--color-gold);

    font-size:12px;
    font-weight:600;

    letter-spacing:2px;
    text-transform:uppercase;

    margin-bottom:24px;
}

/* =====================================
   LINKS
===================================== */

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    text-decoration:none;
    color:rgba(255,255,255,.65);

    transition:.3s;
}

.footer-links a:hover{
    color:#fff;
}

/* =====================================
   footer phone
===================================== */

.footer-phone-group{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    margin-bottom:12px;
    flex-wrap:wrap;
}

.footer-phone{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-family:var(--font-heading);
    transition:.3s ease;
}

.footer-phone:hover{
    color:var(--color-gold);
}

.footer-phone-divider{
    color:rgba(255,255,255,.3);
}

.footer-phone a{
    color:#fff;
    text-decoration:none;
    font-size:22px;
}

.footer-address{
    color:rgba(255,255,255,.55);
    line-height:1.7;
}

/* =====================================
   RERA
===================================== */

.footer-rera{
    display:flex;
    align-items:center;
    gap:15px;

    margin-top:24px;
}

.footer-rera-qr{
    width:72px;
    height:72px;

    background:#fff;
    padding:5px;
    border-radius:6px;
}

.footer-rera-info{
    text-align:left;
}

.footer-rera-badge{
    display:inline-block;

    border:1px solid rgba(255,255,255,.2);

    padding:6px 12px;

    font-size:10px;
    letter-spacing:1px;

    color:#fff;
}

.footer-rera-info p{
    margin-top:8px;
    font-size:12px;
    color:rgba(255,255,255,.5);
}

/* =====================================
   COPYRIGHT
===================================== */

/* =====================================
   COPYRIGHT & DISCLAIMER ZONE
===================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.3);
    max-width: 900px;
    margin: 0 auto 24px auto; /* Centers the text box and keeps spacing below */
    text-align: center;
    text-justify: inter-word;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Adjust layout alignment for mobile screens */
@media (max-width: 768px) {
    .footer-disclaimer {
        text-align: center; /* Better layout balance for center-stacked mobile screens */
        padding: 0 15px;
    }
}

/* =====================================
   TABLET
===================================== */

@media (max-width:1024px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .footer-left,
    .footer-right{
        align-items:center;
        text-align:center;
    }

    .footer-rera{
        justify-content:center;
    }

    .footer-logo{
        max-width:360px;
        transform: scale(1);
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width:768px){

    .footer-logo{
        max-width:260px;
    }

    .footer-rera{
        flex-direction:column;
    }

    .footer-rera-info{
        text-align:center;
    }
}

/* Custom Cursor Rules */
@media (min-width: 1025px) {
    html, body, a, button, select { cursor: none !important; }

    .custom-cursor-dot {
        width: 6px;
        height: 6px;
        background-color: var(--color-plum);
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 2147483647; /* Highest possible stack level */
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    .custom-cursor-circle {
        width: 40px;
        height: 40px;
        border: 1px solid var(--color-gold);
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 2147483646; /* One layer below the dot element */
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    background-color 0.3s ease, 
                    border-color 0.3s ease;
        will-change: transform;
    }

    .custom-cursor-circle.is-hovered {
        width: 60px;
        height: 60px;
        background-color: rgba(198, 161, 91, 0.08);
        border-color: var(--color-gold);
    }
    
    /* Force hide default OS cursor when hovering inside open lightbox overlays */
    #reraBarcodeLightbox,
    #reraBarcodeLightbox * {
        cursor: none !important;
    }
}

/* Hardware Compositing Layer Acceleration */
.hero-bg-image, .story-visual-frame img, .amenity-card img, .gallery-cell img {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

@media (min-width: 1025px) {
    .custom-cursor-dot, .custom-cursor-circle {
        backface-visibility: hidden;
        transform-style: preserve-3d;
        will-change: transform;
    }
}

/* Luxury Return Engine */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 10000; 
    
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(198, 161, 91, 0.3);
    background-color: #FFFFFF;
    color: var(--color-charcoal);
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-body), sans-serif;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                visibility 0.4s ease,
                background-color 0.3s ease,
                color 0.3s ease;
}

#backToTop:hover {
    background-color: var(--color-plum);
    color: var(--color-bg-ivory);
    border-color: var(--color-plum);
}

#backToTop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 24px;
        right: 24px;

    }
}

/* Dual Logo Branding Layout Matrix */
.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 16px; /* Spacing between logos and separator */
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Base configuration matching your existing 180px width */
.nav-brand-group .brand-logo {
    vertical-align: middle;
    width: auto;
    height: 50px; /* Using height instead of explicit width ensures layout proportional scaling */
    object-fit: contain;
    border-radius: 4px;
}

.secondary-logo {
    margin-right: 5px;
    
}

/* Premium Minimalist Visual Separator Engine */
.logo-separator {
    width: 1px;
    height: 24px;
    background-color: var(--color-border, rgba(26, 26, 26, 0.08));
}


/* Responsive Mobile Scaling Constraints */
@media (max-width: 650px) {
    .nav-brand-group .brand-logo {
        height: 36px; /* Smooth downscale to match compressed mobile nav constraints */
    }
    .nav-rera-barcode{
        width: 40px;
        height: 40px;
    }
    .secondary-logo {
    margin-right: 5px;
}
    .nav-brand-group{
        gap: 8px;
    }
    .logo-separator {
        height: 18px;
    }
}
@media (max-width: 410px) {

    .btn-nav{
        font-size:0.5rem;
    }
}


/* =========================================================================
   HARDWARE-ACCELERATED FIXED SOCIAL HUB
   ========================================================================= */
.fixed-social-hub {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0; /* Remove gap, we will control it via padding/margins */
}

.social-trigger-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(198, 161, 91, 0.4);
    
    /* Use box-sizing to ensure padding doesn't break the centering */
    box-sizing: border-box; 
    padding: 12px; /* Adjusted padding for better fit */
    
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.12);
    cursor: pointer;
    
    /* Flexbox centering */
    display: flex;
    align-items: center;    /* Vertically centers */
    justify-content: center; /* Horizontally centers */
    
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    background-color: #581b34;
    z-index: 2;
    
}

.social-trigger-btn img {
    width: 100%;
    height: 100%;
    /* Ensures the image fills the space without distorting */
    object-fit: contain; 
    pointer-events: none;
    /* Remove any margins that might be pushing it off-center */
    display: block; 
    scale: 1.2;
}

/* Upward Drawer */
.social-drawer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Create an invisible bridge at the bottom of the drawer */
    padding-bottom: 20px;
    margin-bottom: -10px;
}

.social-handle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(198, 161, 91, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-handle svg { width: 28px; height: 28px; fill: #581b34; }

.social-handle img {
    width: 60%; 
    height: 60%;
    object-fit: contain;
}

.social-handle:hover { transform: scale(1.1); }

/* Desktop Hover Logic */
@media (min-width: 1025px) {
    .social-trigger-btn:hover + .social-drawer,
    .social-drawer:hover {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Toggle State */
.fixed-social-hub.is-active .social-drawer {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .fixed-social-hub { bottom: 24px; left: 24px; }
}

@media (max-width: 650px) {
    .social-trigger-btn, 
    .social-handle { width: 60px; height: 60px; }
    
    .social-handle img { width: 40px; height: 40px; }
    .social-handle svg { width: 20px; height: 20px; }
}

@media (max-width:650px){
    #backToTop {
        width: 60px;
        height: 60px;
    }
    .ready-card-desc {
        text-align: center;
    }
}

/* =========================================================================
   FOOTER RERA QR BARCODE ALIGNMENT LAYOUT ENGINE
   ========================================================================= */
.footer-rera-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 100%;
}

/* Premium QR Container Bounds */
.rera-barcode-wrap {
    width: 70px;
    height: 70px;
    background-color: #ffffff; /* Contrast backdrop so QR scanners instantly grab details */
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents flex columns from crushing the QR code geometry */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rera-barcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Clean text vertical stacking offset logic */
.rera-metadata-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

/* Cleanup layout for your existing RERA rules */
.rera-pill {
    margin-right: 0 !important; /* Disables original standalone layout margins */
    margin-bottom: 0 !important;
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
}

.rera-portal-link {
    margin: 0;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Responsive Adaptive Mobile Breakpoint Overrides */
@media (max-width: 480px) {
    .footer-rera-container {
        flex-direction: column; /* Stack vertically on small phone screens */
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .rera-metadata-details {
        align-items: center;
    }
}

/* =========================================================================
   SPECIFIC SCOPED LIGHTBOX FOR RERA QR BARCODE 
   ========================================================================= */
.rera-barcode-wrap[data-lightbox] {
    cursor: zoom-in !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rera-barcode-wrap[data-lightbox]:hover {
    transform: scale(1.05);
}

/* Fullscreen Overlay Mask */
.rera-barcode-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 999999; /* Confirms layer priority above custom cursor frames */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(8px);
}

/* Dynamic State class toggled by JS */
.rera-barcode-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Lightbox Content Container System */
.rera-barcode-lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rera-barcode-lightbox.is-open .rera-barcode-lightbox-content {
    transform: scale(1);
}

.rera-barcode-lightbox-content img {
    max-width: 320px;
    max-height: 320px;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.rera-barcode-lightbox-caption {
    color: var(--color-gold, #C6A15B);
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Minimalist Close Button Engine */
.rera-barcode-lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 42px;
    font-weight: 200;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.rera-barcode-lightbox-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .rera-barcode-lightbox-close {
        top: 24px;
        right: 24px;
        font-size: 36px;
    }
}

@media (max-width: 1210px) {
    .dev-header {
        flex-direction: column;
        
        align-items: flex-start;
    }
}


@media (max-width: 600px) {
    .dev-box-grid { grid-template-columns: 1fr; }
    .dev-header { flex-direction:row; align-items: center; }
}

.form-alert{
    padding:16px 20px;
    border-radius:8px;
    margin-bottom:25px;
    font-size:14px;
}

.success-alert{
    background:#e8f5e9;
    color:#1b5e20;
}

.error-alert{
    background:#ffebee;
    color:#b71c1c;
}

.phone-input-wrap{
    display:flex;
    align-items:center;
    border:1px solid rgba(255,255,255,0.15);
    border-radius:8px;
    overflow:hidden;
}

.phone-prefix{
        padding: 11px 0;
    color: var(--color-charcoal);
    border-bottom: 1px solid #ccc;
    flex-shrink: 0;
}

.phone-input-wrap input{
    background:transparent !important;
    width:100%;
    padding:16px 0 16px 16px;
}

.phone-input-wrap input:focus{
    outline:none;
}