/* ===================================
   Mirissa Beachfront Villas — Project Page Styles
   Inherits design system from main SP Global site
   =================================== */

/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
}

:root {
    --primary-color: #0C1C3E;
    --secondary-color: #F8F9FA;
    --accent-color: #1a3a5e;
    --navy-dark: #0C1C3E;
    --navy-medium: #1a3a5e;
    --navy-light: #2d5a8e;
    --text-dark: #0C1C3E;
    --text-light: #F8F9FA;
    --text-muted: rgba(248, 249, 250, 0.85);
    --overlay-dark: rgba(12, 28, 62, 0.8);
    --overlay-light: rgba(248, 249, 250, 0.1);
    --overlay-navy: rgba(26, 58, 94, 0.9);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-navy: 0 4px 20px rgba(12, 28, 62, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Shared Utility Classes
   =================================== */
.text-gradient {
    background: linear-gradient(135deg, #4c9aff 0%, #7b61ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }

/* ===================================
   WhatsApp Float (Global)
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 1.1rem 0.65rem 0.85rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { flex-shrink: 0; display: inline-block; max-width: none; }
.whatsapp-float-label { line-height: 1; }

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 5.5rem;
        right: 1rem;
        padding: 0.7rem;
        border-radius: 50%;
    }
    .whatsapp-float-label { display: none; }
}

/* ===================================
   Header (Same as main site)
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, rgba(12, 28, 62, 0.6) 0%, rgba(12, 28, 62, 0) 100%);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: fit-content;
    text-decoration: none;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo .tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu { flex: 1; display: flex; justify-content: center; }
.nav-menu ul { display: flex; list-style: none; gap: var(--spacing-lg); }

.nav-link {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active { opacity: 1; text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.social-media { display: flex; align-items: center; gap: 0.75rem; }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-light);
    background: rgba(248, 249, 250, 0.1);
    border: 1px solid rgba(248, 249, 250, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(248, 249, 250, 0.2);
    border-color: rgba(248, 249, 250, 0.4);
    transform: translateY(-2px);
}

.btn-primary {
    background: #c79365;
    color: #ffffff;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(199, 147, 101, 0.3);
}

.btn-primary:hover {
    background: #b07d50;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(199, 147, 101, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* ===================================
   Section Shared Styles
   =================================== */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy-dark);
    padding: 0.5rem 1.25rem;
    background: rgba(10, 22, 40, 0.05);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.section-label.light, .section-label.light-label {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title.light { color: #ffffff; }

.section-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #6b7280;
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
}

.section-description.light { color: rgba(255,255,255,0.6); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

.section-label-wrapper { display: flex; justify-content: center; }

.section-label-line {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.label-line {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #4c9aff, #7b61ff);
    border-radius: 2px;
}

.section-label-line span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4c9aff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ===================================
   1. HERO SECTION
   =================================== */
.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(4, 8, 20, 1) 0%, rgba(6, 12, 30, 0.97) 30%, rgba(8, 16, 38, 0.6) 60%, rgba(8, 16, 38, 0.15) 80%, transparent 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 6vw 60px;
}

.hero-inner {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Breadcrumb */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hero-breadcrumb a:hover { color: #ffffff; }

.breadcrumb-sep {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: rgba(255,255,255,0.85);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 2rem;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-badge span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-badge-dot.completed-dot {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Headline */
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    opacity: 0;
}

.hero-headline-accent {
    display: block;
    background: linear-gradient(135deg, #4c9aff 0%, #7b61ff 50%, #36d1dc 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 0 2.5rem;
    font-weight: 400;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
    opacity: 0;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4c9aff 0%, #7b61ff 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(76, 154, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(76, 154, 255, 0.45);
}

.hero-cta-primary svg { transition: transform 0.3s ease; }
.hero-cta-primary:hover svg { transform: translateX(4px); }

.hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #c79365;
    color: #ffffff;
    border: 1px solid #c79365;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(199, 147, 101, 0.3);
}

.hero-cta-outline:hover {
    background: #b07d50;
    border-color: #b07d50;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(199, 147, 101, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 50;
    cursor: pointer;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
    opacity: 0;
}

.scroll-indicator:hover { opacity: 0.65 !important; }

.scroll-indicator-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.scroll-indicator-text {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ===================================
   2. AT A GLANCE — Stats Strip
   =================================== */
.at-a-glance {
    background: #ffffff;
    padding: 0;
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.glance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.glance-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: 0 20px 60px rgba(12, 28, 62, 0.1), 0 1px 4px rgba(0,0,0,0.05);
}

.glance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    flex: 1;
    padding: 0 1.5rem;
}

.glance-icon {
    color: #4c9aff;
    margin-bottom: 0.5rem;
}

.glance-icon.icon-green { color: #10b981; }

.glance-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.glance-value.status-sold {
    color: #10b981;
}

.glance-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.glance-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
    flex-shrink: 0;
}

/* ===================================
   3. PROJECT OVERVIEW — Redesigned
   =================================== */
.project-overview {
    padding: 6rem var(--spacing-lg) 5rem;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #f4f6fb 100%);
    position: relative;
    overflow: hidden;
}

.overview-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.overview-bg-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(76, 154, 255, 0.07) 0%, transparent 70%);
}

.overview-bg-shape-2 {
    width: 450px;
    height: 450px;
    bottom: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.05) 0%, transparent 70%);
}

/* Section Intro */
.overview-intro {
    max-width: 780px;
    margin: 0 auto 3.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.overview-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.overview-intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto;
}

/* Project DNA Stats Strip */
.overview-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 32px rgba(12, 28, 62, 0.08), 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid rgba(12, 28, 62, 0.05);
    padding: 2rem 2.5rem;
    max-width: 1000px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 2;
}

.overview-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
}

.ostat-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--navy-dark);
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.ostat-unit {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
}

.ostat-sold {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ostat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ostat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
    flex-shrink: 0;
    margin: 0 1rem;
}

/* Main container */
.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Two-column content grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
    margin-bottom: 4.5rem;
}

/* Chapter headings */
.overview-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.overview-chapter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overview-chapter-title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: -0.01em;
}

.chapter-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c9aff, #7b61ff);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
}

.overview-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #6b7280;
    margin: 0;
}

/* Details checklist grid */
.overview-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.overview-detail {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.04);
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

.overview-detail:hover {
    background: #ffffff;
    border-color: rgba(76, 154, 255, 0.2);
    box-shadow: 0 2px 8px rgba(76, 154, 255, 0.08);
}

.overview-detail svg {
    flex-shrink: 0;
    color: #10b981;
}

/* Photo Mosaic */
.overview-visual {
    position: relative;
    display: flex;
    flex-direction: column;
}

.overview-mosaic {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    position: relative;
    flex: 1;
    min-height: 0;
}

.mosaic-img {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(12, 28, 62, 0.12);
    min-height: 0;
}

.mosaic-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic-img:hover img { transform: scale(1.05); }

.mosaic-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.375rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(12, 28, 62, 0.12), 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.mosaic-badge-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4c9aff, #7b61ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.mosaic-badge-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Feature Pillars */
.overview-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1rem;
}

.pillar-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    border: 1px solid rgba(12, 28, 62, 0.06);
    box-shadow: 0 2px 12px rgba(12, 28, 62, 0.05);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(12, 28, 62, 0.1);
    border-color: rgba(12, 28, 62, 0.08);
}

/* Colored accent bar at top */
.pillar-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.pillar-accent-blue  { background: linear-gradient(90deg, #4c9aff, #3b82f6); }
.pillar-accent-purple { background: linear-gradient(90deg, #7b61ff, #a855f7); }
.pillar-accent-teal  { background: linear-gradient(90deg, #36d1dc, #10b981); }

.pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon-blue   { background: rgba(76, 154, 255, 0.1);  color: #4c9aff; }
.pillar-icon-purple { background: rgba(123, 97, 255, 0.1); color: #7b61ff; }
.pillar-icon-teal   { background: rgba(54, 209, 220, 0.1);  color: #36d1dc; }

.pillar-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.35;
}

.pillar-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6b7280;
    flex: 1;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.pillar-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: var(--radius-full);
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.02em;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.pillar-card:hover .pillar-tags span {
    background: #f0f4ff;
    border-color: rgba(76, 154, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
    .overview-pillars { grid-template-columns: 1fr 1fr; }
    .overview-mosaic { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .overview-stats-strip { flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; }
    .ostat-divider { display: none; }
    .overview-stats-strip .overview-stat { flex: 0 0 calc(50% - 0.75rem); }
    .overview-pillars { grid-template-columns: 1fr; }
    .overview-details-grid { grid-template-columns: 1fr; }
    .overview-mosaic { flex-direction: column; }
    .mosaic-img img { min-height: 220px; }
}

/* ===================================
   4. PHOTO GALLERY — Ultra Modern
   =================================== */
.gallery-section {
    padding: 7rem 0 6rem;
    background: #07101f;
    position: relative;
}

.gallery-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Header row */
.gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.gallery-header-left .section-label-line span { color: rgba(255,255,255,0.45); }
.gallery-header-left .label-line { background: linear-gradient(90deg, #4c9aff, #7b61ff); }

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0;
}

/* Filter tabs */
.gallery-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 6px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: var(--font-primary);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.filter-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.18);
}

.filter-btn.active {
    background: #ffffff;
    color: #07101f;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.filter-btn.active .filter-count {
    background: rgba(0,0,0,0.1);
}

/* Bento Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 10px;
}

/* Bento layout:
   [0: 2col 2row HERO] [1: col3 row1]
   [0 continues      ] [2: col3 row2]
   [3] [4] [5]
   [6: 2col] [7]
*/
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #0e1a2d;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img { transform: scale(1.05); }

/* Permanent bottom gradient */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(3,8,20,0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Top info strip: category chip + expand icon */
.gi-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gi-top {
    opacity: 1;
    transform: translateY(0);
}

.gi-category {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

.gi-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.gallery-item:hover .gi-expand { background: rgba(255,255,255,0.18); }

/* Bottom caption slide up */
.gi-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.125rem 1.125rem 0.9rem;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gi-bottom {
    opacity: 1;
    transform: translateY(0);
}

.gi-caption {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    margin: 0;
    line-height: 1.4;
}

/* ================================
   Upgraded Lightbox
   ================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 6, 16, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

/* Top bar */
.lb-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}

.lb-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.12em;
    font-family: var(--font-primary);
    min-width: 60px;
}

.lb-caption-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-align: center;
    flex: 1;
    padding: 0 1.5rem;
}

.lightbox-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lightbox-close:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }

/* Nav arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.06);
}

.lightbox-prev { left: 1.75rem; }
.lightbox-next { right: 1.75rem; }

/* Main image area */
.lightbox-content {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6rem 0;
    min-height: 0;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 200px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    display: block;
}

/* Thumbnail strip */
.lb-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1.25rem 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    justify-content: center;
}

.lb-thumbs::-webkit-scrollbar { display: none; }

.lb-thumb {
    width: 58px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.38;
    background: none;
    padding: 0;
}

.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-thumb:hover { opacity: 0.7; }
.lb-thumb.active { border-color: #ffffff; opacity: 1; }

/* Gallery responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(7) { grid-column: span 2; }
}

@media (max-width: 640px) {
    .gallery-container { padding: 0 1rem; }
    .gallery-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
        gap: 6px;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery-item:nth-child(7) { grid-column: span 2; }
    .lightbox-content { padding: 68px 1rem 0; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lb-header { padding: 1rem; }
}

.lightbox-caption { display: none; }

/* ===================================
   5. FLOOR PLANS & VILLA TYPES
   =================================== */
.floorplans-section {
    padding: 6rem var(--spacing-lg);
    background: #ffffff;
}

.floorplans-container {
    max-width: 1200px;
    margin: 0 auto;
}

.villa-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.villa-tab {
    padding: 0.75rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-full);
    background: #ffffff;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.villa-tab:hover {
    border-color: #4c9aff;
    color: #4c9aff;
}

.villa-tab.active {
    background: var(--navy-dark);
    color: #ffffff;
    border-color: var(--navy-dark);
}

.villa-panel {
    display: none;
    animation: fadeSlideUp 0.5s ease forwards;
}

.villa-panel.active { display: block; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.villa-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.villa-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(12, 28, 62, 0.1);
}

.villa-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.villa-image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.villa-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.villa-units {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4c9aff;
    background: rgba(76, 154, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    vertical-align: middle;
    margin-left: 0.5rem;
}

.villa-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 2rem;
}

.villa-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.villa-spec {
    text-align: center;
    padding: 1rem;
    background: #f8f9fc;
    border-radius: var(--radius-md);
    border: 1px solid #f0f1f3;
}

.spec-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
}

.spec-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.villa-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.villa-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

.villa-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================================
   6. AMENITIES
   =================================== */
.amenities-section {
    padding: 6rem var(--spacing-lg);
    background: #f4f6fb;
}

.amenities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.amenity-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12, 28, 62, 0.1);
    border-color: rgba(76, 154, 255, 0.15);
}

.amenity-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(76, 154, 255, 0.08) 0%, rgba(123, 97, 255, 0.08) 100%);
    color: #4c9aff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: linear-gradient(135deg, #4c9aff, #7b61ff);
    color: #ffffff;
    transform: scale(1.05);
}

.amenity-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.amenity-card p {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* ===================================
   7. VIDEO SECTION
   =================================== */
.video-section {
    padding: 6rem var(--spacing-lg);
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(76, 154, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(12, 28, 62, 0.4);
    transition: background 0.3s ease;
    cursor: pointer;
}

.video-play-overlay:hover { background: rgba(12, 28, 62, 0.5); }

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.play-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===================================
   8. TIMELINE
   =================================== */
.timeline-section {
    padding: 6rem var(--spacing-lg);
    background: #ffffff;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #4c9aff 0%, #7b61ff 50%, #10b981 100%);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-left: 0;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #4c9aff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(76, 154, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: #4c9aff;
    box-shadow: 0 8px 24px rgba(76, 154, 255, 0.35);
}

.timeline-dot.dot-final {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.timeline-item-final:hover .timeline-dot.dot-final {
    background: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.timeline-card {
    background: #f8f9fc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    flex: 1;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-card {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(12, 28, 62, 0.08);
    border-color: rgba(76, 154, 255, 0.15);
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4c9aff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.timeline-card h4 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.timeline-card p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ===================================
   9. TESTIMONIALS
   =================================== */
.testimonials-section {
    padding: 6rem var(--spacing-lg);
    background: #f4f6fb;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12, 28, 62, 0.08);
}

.testimonial-card.featured {
    background: var(--navy-dark);
    border-color: transparent;
}

.testimonial-card.featured blockquote { color: rgba(255,255,255,0.85); }
.testimonial-card.featured .author-info strong { color: #ffffff; }
.testimonial-card.featured .author-info span { color: rgba(255,255,255,0.5); }

.testimonial-stars { display: flex; gap: 0.2rem; }

.testimonial-card blockquote {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
    font-style: normal;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.testimonial-card.featured .testimonial-author {
    border-top-color: rgba(255,255,255,0.1);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c9aff, #7b61ff);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.author-info span {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ===================================
   10. INVESTMENT HIGHLIGHTS
   =================================== */
.investment-section {
    padding: 6rem var(--spacing-lg);
    background: #ffffff;
}

.investment-container {
    max-width: 1200px;
    margin: 0 auto;
}

.investment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.investment-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.investment-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.investment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.inv-stat { text-align: center; }

.inv-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: -0.03em;
}

.inv-stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4c9aff;
}

.inv-stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.investment-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inv-card {
    background: #f8f9fc;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(12, 28, 62, 0.08);
    border-color: rgba(76, 154, 255, 0.15);
}

.inv-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(76, 154, 255, 0.1), rgba(123, 97, 255, 0.1));
    color: #4c9aff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.35rem;
}

.inv-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.55;
}

.inv-card p strong {
    color: var(--navy-dark);
}

/* ===================================
   11. LOCATION & MAP
   =================================== */
.location-section {
    padding: 6rem var(--spacing-lg);
    background: #f4f6fb;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 12px 40px rgba(12, 28, 62, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.location-details {
    padding: 0.5rem 0;
}

.location-details h3 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 2rem;
}

.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nearby-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.nearby-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(12, 28, 62, 0.06);
}

.nearby-distance {
    min-width: 60px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(76, 154, 255, 0.1), rgba(123, 97, 255, 0.1));
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4c9aff;
    letter-spacing: 0.02em;
}

.nearby-info strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.15rem;
}

.nearby-info span {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ===================================
   12. INQUIRY / CTA SECTION
   =================================== */
.inquiry-section {
    position: relative;
    padding: 6rem var(--spacing-lg);
    background: #0f172a;
    color: #ffffff;
    overflow: hidden;
}

.inquiry-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.inquiry-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.inquiry-content { max-width: 500px; }

.inquiry-content .light-label {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.inquiry-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    color: #ffffff;
}

.inquiry-heading .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.inquiry-text {
    font-size: 1.0625rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.inquiry-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.inquiry-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.9375rem;
    font-weight: 500;
}

.inquiry-feature svg { color: #10b981; flex-shrink: 0; }

/* Form */
.inquiry-form-wrapper {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #f0f4f8;
    box-shadow: 0 20px 60px -10px rgba(12, 28, 62, 0.1);
    position: relative;
    overflow: hidden;
}

.inquiry-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0C1C3E, #1a3a5e);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #0C1C3E;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #0C1C3E;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control::placeholder { color: #cbd5e1; }

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: #0C1C3E;
    box-shadow: 0 0 0 3px rgba(12, 28, 62, 0.1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #0C1C3E 0%, #1a3a5e 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    font-family: var(--font-primary);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(12, 28, 62, 0.3);
    filter: brightness(1.08);
}

.submit-btn svg { transition: transform 0.3s ease; }
.submit-btn:hover svg { transform: translateX(4px); }

/* ===================================
   13. RELATED PROJECTS
   =================================== */
.related-section {
    padding: 6rem var(--spacing-lg);
    background: #ffffff;
}

.related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-card {
    text-decoration: none;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12, 28, 62, 0.1);
}

.related-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover .related-image img { transform: scale(1.06); }

.related-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.related-badge.ongoing {
    background: rgba(255,255,255,0.9);
    color: #4c9aff;
}

.related-badge.completed {
    background: rgba(16, 185, 129, 0.9);
    color: #065f46;
}

.related-info {
    padding: 1.25rem 1.5rem;
}

.related-info h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.3rem;
}

.related-info p {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ===================================
   FOOTER (Same as main site)
   =================================== */
.footer {
    background: #ffffff;
    padding: 6rem var(--spacing-lg) 2rem;
    color: var(--navy-dark);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.footer-bg-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.brand-column { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-dark);
    text-decoration: none;
    line-height: 1;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.75rem;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-top: 0.25rem;
}

.footer-desc {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-social { display: flex; gap: 1rem; margin-top: 0.5rem; }

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.social-icon:hover {
    background: #e0f2fe;
    color: #0ea5e9;
    transform: translateY(-2px);
    border-color: #bae6fd;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--navy-dark);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    font-weight: 500;
    display: inline-block;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-newsletter-text {
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.35rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.footer-newsletter-form:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.footer-newsletter-form input {
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    flex: 1;
    font-size: 0.9375rem;
    color: var(--navy-dark);
    background: transparent;
    min-width: 0;
}

.footer-newsletter-form button {
    background: var(--navy-dark);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-newsletter-form button:hover { background: #38bdf8; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.footer-credits { font-weight: 500; color: #6b7280; }

.credit-link {
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
    position: relative;
}

.credit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #38bdf8;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.credit-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Mobile Nav */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem;
        transition: right var(--transition-normal);
        z-index: 200;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; gap: var(--spacing-lg); align-items: flex-start; }
    .nav-link { font-size: 1.5rem; font-weight: 600; }
    .mobile-only { display: block; width: 100%; margin-top: var(--spacing-md); padding-top: var(--spacing-md); border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .btn-mobile-nav { background: var(--text-light); color: var(--navy-dark); padding: 0.75rem 1.5rem; border-radius: var(--radius-full); text-align: center; display: inline-block; font-size: 1.125rem; }
    .menu-toggle { display: flex; z-index: 300; width: 44px; height: 44px; align-items: center; justify-content: center; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); background: white; }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: white; }

    .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
    .overview-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .villa-panel-grid { grid-template-columns: 1fr; gap: 2rem; }
    .investment-grid { grid-template-columns: 1fr; gap: 3rem; }
    .inquiry-grid { grid-template-columns: 1fr; gap: 3rem; }
    .location-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (min-width: 1025px) {
    .mobile-only { display: none; }
}

@media (max-width: 768px) {
    .header { padding: var(--spacing-md) 0; }
    .header-container { padding: 0 var(--spacing-md); }
    .logo h1 { font-size: 1.5rem; }
    .logo .tagline { font-size: 0.65rem; }
    .social-media { display: none; }
    .btn-primary { display: none; }

    /* Hero */
    .hero-content { padding: 100px var(--spacing-md) 80px; justify-content: center; }
    .hero-inner { text-align: center; align-items: center; max-width: 100%; }
    .hero-overlay { background: rgba(8, 16, 38, 0.75); }
    .hero-subtext { margin: 0 auto 2.5rem; }

    /* At a Glance */
    .at-a-glance { margin-top: -40px; }
    .glance-grid {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    .glance-divider { width: 60px; height: 1px; }
    .glance-item { padding: 0.5rem 0; }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item-tall { grid-row: span 1; }
    .gallery-item-wide { grid-column: span 1; }

    /* Amenities */
    .amenities-grid { grid-template-columns: 1fr 1fr; }

    /* Villa specs */
    .villa-specs-grid { grid-template-columns: repeat(2, 1fr); }
    .villa-features { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Investment stats */
    .investment-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .inv-stat-value { font-size: 1.75rem; }

    /* Timeline */
    .timeline-line { left: 24px; }

    /* Related */
    .related-grid { grid-template-columns: 1fr; }

    /* Location */
    .location-map { min-height: 350px; }
    .location-map iframe { min-height: 350px; }

    /* Inquiry form */
    .inquiry-form-wrapper { padding: 2rem; }
    .inquiry-heading { font-size: 2rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-primary, .hero-cta-outline { width: 100%; justify-content: center; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .amenities-grid { grid-template-columns: 1fr; }
    .investment-stats { grid-template-columns: 1fr; }
    .villa-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
