/* ═══════════════════════════════════════════════════════════════════
   Arraazi.com — Master Stylesheet
   
   DESIGN.md compliant. All colors via CSS variables.
   Mobile-first: base styles are mobile, breakpoints scale up.
   
   Sections:
   1. CSS Variables & Reset
   2. Typography
   3. Navigation
   4. Mobile Menu
   5. Buttons
   6. Cards
   7. Sticky CTA
   8. Scroll Reveal Animation
   9. Hero Section
   10. Sections & Layout
   11. Footer
   12. Forms
   13. Gallery
   14. Stats Counter
   15. Testimonials
   16. Responsive Breakpoints
   17. Utility Classes
   18. Reduced Motion
═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   1. CSS VARIABLES & RESET
   DESIGN.md §2: Color Palette & Roles
───────────────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --surface-alt: #F3F4F6;
    --surface-hover: #F9FAFB;

    /* Borders */
    --border: #E5E7EB;
    --border-hover: #D1D5DB;

    /* Text */
    --text: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;

    /* Accent (Golden Bronze) */
    --accent: #D97706;
    --accent-hover: #B45309;
    --accent-light: #FEF3C7;

    /* RGB variants for rgba() */
    --bg-rgb: 250, 250, 250;
    --accent-rgb: 217, 119, 6;
    --surface-rgb: 255, 255, 255;
    --text-rgb: 15, 23, 42;

    /* Semantic */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Spacing */
    --section-padding: 4rem;
    --container-padding: 1.25rem;
    --container-max: 1280px;
    --container-narrow: 800px;

    /* Nav height (for scroll offset) */
    --nav-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    /* DESIGN.md §10 */
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

/* ─────────────────────────────────────────────
   2. TYPOGRAPHY
   DESIGN.md §3: Typography Rules
───────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 600;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

.label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ─────────────────────────────────────────────
   3. NAVIGATION
   DESIGN.md §4: Navigation component
───────────────────────────────────────────── */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--container-padding) 1rem;
    color: white;
    /* White text on transparent dark background */
}

.nav-header .nav-logo-text,
.nav-header .nav-link {
    color: white;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow:
        0 0 2px rgba(0,0,0,0.8),
        0 1px 3px rgba(0,0,0,0.6),
        1px 1px 0 rgba(0,0,0,0.5),
        -1px -1px 0 rgba(0,0,0,0.5);
}

.nav-header .hamburger-line {
    background-color: white;
    transition: background-color 0.3s ease;
}

.nav-header.scrolled {
    background-color: rgba(var(--surface-rgb), 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* color: var(--text);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); */
    /* Dark text on light background */
}

.nav-header.scrolled .nav-logo-text,
.nav-header.scrolled .nav-link {
    color: var(--text);
    text-shadow: none;
}

.nav-header.scrolled .hamburger-line {
    background-color: var(--text);



}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 60;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.1em;
}

/* Desktop nav links — hidden on mobile */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link-active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link-active::after {
    width: 100%;
}

/* Desktop CTA — hidden on mobile */
.nav-cta {
    display: none;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* ─────────────────────────────────────────────
   HAMBURGER BUTTON (Mobile)
   44×44px minimum touch target (DESIGN.md §10)
───────────────────────────────────────────── */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav-hamburger.is-active .hamburger-line-1 {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active .hamburger-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.is-active .hamburger-line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   4. MOBILE MENU OVERLAY
   Full-screen, thumb-friendly (DESIGN.md §10)
───────────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background-color: var(--surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    padding: 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.75rem 2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link-active {
    color: var(--accent);
}

.mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: #25D366;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    min-height: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.mobile-menu-cta:hover {
    background-color: #20bd5a;
    transform: scale(1.05);
}

/* ─────────────────────────────────────────────
   5. BUTTONS
   DESIGN.md §4: Button component
───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    /* Touch target */
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--surface);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background-color: var(--border);
    color: var(--text-tertiary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-light);
}

.btn-ghost {
    background-color: transparent;
    color: var(--accent);
    padding: 0.5rem 0;
    border-radius: 0;
}

.btn-ghost:hover {
    color: var(--accent-hover);
}

.btn-ghost svg {
    transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

/* ─────────────────────────────────────────────
   6. CARDS
   DESIGN.md §4: Property card component
───────────────────────────────────────────── */
.property-card {
    background-color: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.property-card:hover,
.property-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: var(--border-hover);
}

.property-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-ongoing {
    background-color: rgba(var(--accent-rgb), 0.9);
    color: white;
}

.badge-completed {
    background-color: rgba(16, 185, 129, 0.9);
    color: white;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.card-stat {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.card-stat strong {
    color: var(--text);
    font-weight: 600;
}

/* ─────────────────────────────────────────────
   7. STICKY CTA (WhatsApp)
   DESIGN.md §4: Sticky Contact CTA
   DESIGN.md §10: env(safe-area-inset-bottom)
───────────────────────────────────────────── */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.sticky-cta svg {
    width: 28px;
    height: 28px;
}

.sticky-cta:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

.sticky-cta-text {
    display: none;
}

/* ─────────────────────────────────────────────
   8. SCROLL REVEAL ANIMATION
   DESIGN.md §7: Entrance Animation
───────────────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─────────────────────────────────────────────
   9. HERO SECTION
───────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* Lock to exact viewport height */
    display: flex;
    align-items: flex-end;
    padding: 2rem var(--container-padding);
    padding-bottom: 3rem; /* Reduced bottom padding for mobile */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.6) 0%,
            rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero h1 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 0.95rem; /* Slightly smaller for mobile fit */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    margin-bottom: 1.5rem; /* Reduced margin */
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-actions .btn {
    width: 100%;
    justify-content: center;
}

.btn-white {
    background-color: white;
    color: var(--text);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ─────────────────────────────────────────────
   10. SECTIONS & LAYOUT
───────────────────────────────────────────── */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--surface-alt);
}

.section-dark {
    background-color: var(--text);
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .label {
    margin-bottom: 0.75rem;
    display: block;
}

.section-header p {
    max-width: 600px;
    margin: 0.75rem auto 0;
    color: var(--text-secondary);
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ─────────────────────────────────────────────
   11. FOOTER
───────────────────────────────────────────── */
.site-footer {
    background-color: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    display: inline-block;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-bottom p {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ─────────────────────────────────────────────
   12. FORMS
───────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--surface);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px;
    /* Touch target */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.field-error {
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 0.375rem;
}

.field-invalid {
    border-color: var(--error);
}

.field-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* ─────────────────────────────────────────────
   13. GALLERY (Scroll Snap for Mobile)
───────────────────────────────────────────── */
.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border);
    transition: all 0.3s ease;
}

.gallery-dot-active {
    background-color: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ─────────────────────────────────────────────
   14. STATS COUNTER
───────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.section-dark .stat-value {
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

/* ─────────────────────────────────────────────
   15. TESTIMONIALS (Horizontal Scroll)
───────────────────────────────────────────── */
.testimonials-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-message {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

/* ─────────────────────────────────────────────
   16. TRUST BAR
───────────────────────────────────────────── */
#trust-bar {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.trust-item {
    flex: 0 0 calc(50% - 0.375rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    white-space: normal;
    text-align: center;
}

.trust-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    border-radius: 8px;
    color: var(--accent);
    flex-shrink: 0;
}

.trust-item-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .trust-bar {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .trust-item {
        flex: 1;
        flex-direction: row;
        text-align: left;
        padding: 0.75rem 1rem;
    }
}

/* ─────────────────────────────────────────────
   17. FEATURE / HIGHLIGHT CARDS
───────────────────────────────────────────── */
.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   18. PROGRESS BAR
───────────────────────────────────────────── */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 999px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────
   19. BLOG CARDS
───────────────────────────────────────────── */
.blog-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.blog-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   20. CTA BANNER
───────────────────────────────────────────── */
.cta-banner {
    text-align: center;
    padding: 4rem var(--container-padding);
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(var(--accent-rgb), 0.4);
}

/* ─────────────────────────────────────────────
   21. PAGE HERO (Inner Pages)
───────────────────────────────────────────── */
.page-hero {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    background-color: var(--surface-alt);
    text-align: center;
}

.page-hero .label {
    margin-bottom: 0.75rem;
    display: block;
}

.page-hero p {
    max-width: 600px;
    margin: 0.75rem auto 0;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   DESIGN.md §9: Mobile-first, scale up
   Mobile (<768px) → Tablet (768-1024px) → Desktop (>1024px)
═══════════════════════════════════════════════ */

/* ── Tablet (768px+) ── */
@media (min-width: 768px) {
    :root {
        --section-padding: 5rem;
        --container-padding: 2rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .hero-actions .btn {
        width: auto;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .bento-large {
        grid-column: span 7;
    }

    .bento-small {
        grid-column: span 5;
    }

    .bento-full {
        grid-column: span 12;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-value {
        font-size: 3rem;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 45%;
    }

    .gallery-item {
        flex: 0 0 60%;
    }

    .sticky-cta {
        width: auto;
        height: auto;
        padding: 0.875rem 1.25rem;
        border-radius: 9999px;
        gap: 0.5rem;
    }

    .sticky-cta svg {
        width: 22px;
        height: 22px;
    }

    .sticky-cta-text {
        display: inline;
    }

    .cta-banner-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ── Desktop (1024px+) ── */
@media (min-width: 1024px) {
    :root {
        --section-padding: 6rem;
    }

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    /* Show desktop nav, hide hamburger */
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-hamburger {
        display: none;
    }

    .nav-header {
        padding: 1.25rem 2rem;
    }

    .hero {
        padding-bottom: 6rem;
    }

    .hero-subtitle {
        font-size: 1.125rem; /* Restore size on desktop */
        margin-bottom: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .testimonial-card {
        flex: 0 0 32%;
    }

    .gallery-item {
        flex: 0 0 45%;
    }

    .sticky-cta {
        bottom: 2rem;
        right: 2rem;
    }

    .cta-banner {
        padding: 5rem 2rem;
    }
}


/* ═══════════════════════════════════════════════
   REDUCED MOTION
   DESIGN.md §7: Accessibility
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .btn-primary:hover,
    .property-card:hover,
    .blog-card:hover {
        transform: none;
    }

    .card-image img,
    .blog-card-image img {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════ */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-white {
    color: white;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

/* ═══════════════════════════════════════════════
   AMENITY TILE GRID (mobile-first, 2-col)
═══════════════════════════════════════════════ */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0;
}

.amenity-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.625rem;
    padding: 1.25rem 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.amenity-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #F59E0B);
    border-radius: 16px 16px 0 0;
}

.amenity-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.3);
}

.amenity-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 14px;
    flex-shrink: 0;
}

.amenity-icon-wrap svg {
    color: var(--accent);
    stroke: var(--accent);
}

.amenity-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.amenity-desc {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    line-height: 1.4;
    display: none; /* Hidden on mobile to save space */
}

@media (min-width: 640px) {
    .amenity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .amenity-desc {
        display: block;
    }
    .amenity-label {
        font-size: 0.85rem;
    }
}

@media (min-width: 960px) {
    .amenity-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ═══════════════════════════════════════════════
   MAP / MASTER PLAN SECTION
═══════════════════════════════════════════════ */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.map-pdf-iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

.map-png-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    cursor: zoom-in;
}

.map-zoom-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    background: var(--surface-alt);
    margin: 0;
    border-top: 1px solid var(--border);
}

.map-mobile-fallback {
    display: none;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 639px) {
    .map-pdf-iframe {
        display: none;
    }
    .map-mobile-fallback {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .map-mobile-fallback svg {
        color: var(--accent);
    }
    .map-mobile-fallback p {
        font-size: 0.95rem;
        color: var(--text-secondary);
    }
}

.map-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: var(--text);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.map-download-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    color: white;
}

/* ═══════════════════════════════════════════════
   BADGE: PRE-LAUNCH
═══════════════════════════════════════════════ */
.badge-pre-launch {
    background: rgba(139, 92, 246, 0.15);
    color: #7C3AED;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* ═══════════════════════════════════════════════
   MODERN GALLERY & LIGHTBOX
═══════════════════════════════════════════════ */
.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .modern-gallery {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .lightbox-modal {
        padding: 1rem;
    }
}