/* =========================================
   POINTE MARQUIS — Main Stylesheet
   Palette: Deep Sea Navy · Sand Gold · Coral · White
   ========================================= */

:root {
    --navy: #0d2b45;
    --navy-light: #1a3f60;
    --gold: #c8a96e;
    --gold-light: #e2c98a;
    --coral: #d4634a;
    --sand: #f5efe6;
    --white: #ffffff;
    --text: #1c1c1c;
    --text-muted: #6b7280;
    --border: #e5ddd0;
    --available: #2d7a4f;
    --reserved: #b07d2a;
    --sold: #c0392b;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 4px 24px rgba(13,43,69,0.12);
    --shadow-lg: 0 12px 48px rgba(13,43,69,0.18);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 76px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, height 0.3s ease, box-shadow 0.3s ease, border-color 0.4s ease;
    /* Prevent navbar from causing horizontal scroll */
    max-width: 100vw;
    overflow: visible;
    box-sizing: border-box;
}

/* ALL pages start transparent over their hero */
.navbar.transparent {
    background: transparent;
    border-bottom-color: transparent;
}

.navbar.transparent .nav-links a {
    color: rgba(255,255,255,0.92);
}

.navbar.transparent .nav-logo-text span:first-child {
    color: var(--white);
}

.navbar.transparent .nav-links a:hover,
.navbar.transparent .nav-links a.active {
    color: var(--gold);
}

.navbar.transparent .hamburger span {
    background: white;
}

/* Solid state — after scrolling */
.navbar.scrolled {
    height: 62px;
    background: rgba(13, 43, 69, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(200,169,110,0.2);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-mark {
    width: 38px;
    height: 38px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-text span:first-child {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.05em;
}

.nav-logo-text span:last-child {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links .btn-nav {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
}

.nav-links .btn-nav:hover {
    background: var(--gold-light);
    color: var(--navy) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,43,69,0.75) 0%,
        rgba(13,43,69,0.3) 60%,
        rgba(13,43,69,0.6) 100%
    );
}

/* Gradient placeholder slides since we can't serve actual images */
.hero-slide:nth-child(1) { background: linear-gradient(135deg, #0d2b45 0%, #1a5276 40%, #2e86ab 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #0d3b29 0%, #1a6b4a 40%, #2e8b57 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #2d1b00 0%, #7b4f2e 40%, #c8a96e 100%); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, #1a0a2e 0%, #3d1a6e 40%, #7b2fbe 100%); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    padding-top: 72px;
}

.hero-content .eyebrow {
    margin-bottom: 1.2rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    color: var(--white);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 0.3rem;
}

.hero-title strong {
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin: 1.5rem 0 2.5rem;
    max-width: 480px;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.03em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 3px;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(200,169,110,0.6), transparent);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200,169,110,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

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

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

/* ---- STATS BAR ---- */
.stats-bar {
    background: var(--navy);
    padding: 2.5rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 3px solid var(--gold);
}

.stat-item {
    text-align: center;
    padding: 1rem 2rem;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(200,169,110,0.25);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 0.4rem;
    display: block;
}

/* ---- SECTIONS ---- */
.section {
    padding: 6rem 2.5rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
    margin-top: 0.25rem;
}

.section-lead {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.75;
}

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

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

.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: rgba(255,255,255,0.65); }

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-stack {
    position: relative;
    height: 520px;
}

.about-img-main,
.about-img-accent {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
}

.about-img-main {
    width: 80%;
    height: 420px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #0d2b45, #2e86ab);
}

.about-img-accent {
    width: 55%;
    height: 240px;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #c8a96e, #f5efe6);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-main img,
.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 50%;
    right: -1.5rem;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 1.5rem;
    text-align: center;
    width: 110px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.about-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.about-text h2 { margin-bottom: 1.25rem; }

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ---- UPDATES / PHASES ---- */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.update-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.update-card.sold-out::before { background: var(--coral); }
.update-card.available::before { background: var(--available); }
.update-card.coming-soon::before { background: var(--gold); }

.update-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.update-phase {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.update-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.update-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-sold { background: rgba(212,99,74,0.1); color: var(--coral); }
.badge-available { background: rgba(45,122,79,0.1); color: var(--available); }
.badge-coming { background: rgba(200,169,110,0.15); color: #8a6d1a; }

/* ---- FEATURES ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    border-left: 2px solid rgba(200,169,110,0.3);
    transition: var(--transition);
}

.feature-item:hover {
    border-left-color: var(--gold);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ---- PROXIMITY ---- */
.proximity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.proximity-item {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.proximity-item:hover { background: var(--sand); }

.proximity-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.proximity-info strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
}

.proximity-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- LOTS TABLE ---- */
.lots-section {
    padding: 6rem 2.5rem;
    background: var(--sand);
}

.lots-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.lots-filter {
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    font-size: 0.82rem;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.lots-filter:focus {
    outline: 2px solid var(--gold);
    border-color: var(--gold);
}

.lots-search {
    flex: 1;
    min-width: 220px;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    font-size: 0.82rem;
    font-family: var(--font-body);
}

.lots-table-wrap {
    overflow-x: auto;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.lots-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.88rem;
}

.lots-table th {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.lots-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.lots-table tr:last-child td { border-bottom: none; }

.lots-table tr:hover td { background: rgba(245,239,230,0.5); }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pill-available { background: rgba(45,122,79,0.1); color: var(--available); }
.pill-available::before { background: var(--available); }

.pill-reserved { background: rgba(176,125,42,0.1); color: var(--reserved); }
.pill-reserved::before { background: var(--reserved); }

.pill-sold { background: rgba(192,57,43,0.1); color: var(--sold); }
.pill-sold::before { background: var(--sold); }

.lot-price {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

/* ---- MAP PLACEHOLDER ---- */
.map-container {
    width: 100%;
    height: 420px;
    background: var(--navy);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- CONTACT ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    background: rgba(200,169,110,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.contact-detail-text span, .contact-detail-text a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}

.contact-detail-text a:hover { color: var(--navy); }

/* ---- FORM ---- */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group.full { grid-column: span 2; }

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--sand);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
}

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

.form-message {
    padding: 0.75rem 1rem;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(45,122,79,0.1);
    color: var(--available);
    border: 1px solid rgba(45,122,79,0.2);
    display: block;
}

.form-message.error {
    background: rgba(212,99,74,0.1);
    color: var(--coral);
    border: 1px solid rgba(212,99,74,0.2);
    display: block;
}

/* ---- GALLERY ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 0.75rem;
}

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-placeholder::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}

.gp-1 { background: linear-gradient(135deg, #0d2b45, #1a5276); }
.gp-2 { background: linear-gradient(135deg, #1a3a1a, #2d7a4f); }
.gp-3 { background: linear-gradient(135deg, #3d1a00, #8b5e3c); }
.gp-4 { background: linear-gradient(135deg, #0d0d3b, #2b2b8b); }
.gp-5 { background: linear-gradient(135deg, #2b0d0d, #7a2d1a); }
.gp-6 { background: linear-gradient(135deg, #1a2b0d, #4a7a2d); }
.gp-7 { background: linear-gradient(135deg, #0d2b2b, #1a7a7a); }
.gp-8 { background: linear-gradient(135deg, #2b2b0d, #7a7a1a); }

.gallery-item:nth-child(1) .gallery-placeholder { padding-bottom: 55%; }

.gallery-item:hover .gallery-placeholder::after {
    background: rgba(200,169,110,0.2);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 4rem 2.5rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(200,169,110,0.15);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover { color: var(--gold); }

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

/* Facebook — blue */
.social-link.social-fb {
    background: #1877F2;
    border: 2px solid #1877F2;
}
.social-link.social-fb:hover {
    background: #0d5dbf;
    border-color: #0d5dbf;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,119,242,0.4);
}

/* Instagram — gradient */
.social-link.social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: 2px solid transparent;
}
.social-link.social-ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220,39,67,0.4);
}

/* WhatsApp — green */
.social-link.social-wa {
    background: #25D366;
    border: 2px solid #25D366;
}
.social-link.social-wa:hover {
    background: #1aad52;
    border-color: #1aad52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-stack { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
    .stats-bar { grid-template-columns: repeat(3, 1fr); }
    .hero-content { padding: 0 1.5rem; padding-top: 76px; }
    .hero-title { font-size: clamp(2.2rem, 5vw, 4rem); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .proximity-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile large */
@media (max-width: 768px) {
    /* ── NAVBAR MOBILE FIX ── */
    .navbar {
        padding: 0 0.875rem;
        height: 56px;
        /* Force contained within viewport — no horizontal overflow */
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    .navbar.scrolled { height: 52px; }

    /* Logo shrink on small screens */
    .nav-logo img { height: 34px !important; }
    .nav-logo-text span:first-child { font-size: 0.9rem !important; }
    .nav-logo-text span:last-child { display: none; }

    /* Hamburger — always visible, always on top */
    .hamburger {
        display: flex !important;
        flex-shrink: 0;
        z-index: 10001;
        padding: 8px;
        margin-right: -4px;
    }
    .hamburger span { width: 22px; height: 2px; }

    /* Full-screen nav overlay */
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(13,43,69,0.99);
        padding: 5rem 1.5rem 2rem;
        flex-direction: column;
        gap: 0.25rem;
        overflow-y: auto;
        z-index: 10000;
        box-sizing: border-box;
    }
    .nav-links.open { display: flex; }
    .nav-close-row { display: flex !important; }
    .nav-links a {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-radius: 6px;
        color: rgba(255,255,255,0.85);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .btn-nav {
        margin-top: 1rem;
        background: var(--gold);
        color: var(--navy) !important;
        text-align: center;
        justify-content: center;
        border-bottom: none !important;
    }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 1.25rem; padding-top: 80px; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: 0.95rem; margin: 1rem 0 1.75rem; }
    .hero-actions { gap: 0.75rem; }
    .hero-actions .btn { padding: 0.75rem 1.5rem; font-size: 0.78rem; }
    .hero-scroll-hint { display: none; }

    /* Stats */
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 2rem 1.25rem; gap: 1px; background: rgba(200,169,110,0.15); }
    .stat-item { background: var(--navy); padding: 1.25rem 0.75rem; }
    .stat-item + .stat-item::before { display: none; }
    .stat-number { font-size: 2.2rem; }

    /* Sections */
    .section { padding: 3.5rem 1.25rem; }
    .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .section-header { margin-bottom: 1.25rem; }

    /* About */
    .about-image-stack { display: none; }

    /* Features */
    .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .feature-item { padding: 1.25rem; }

    /* Proximity */
    .proximity-grid { grid-template-columns: 1fr 1fr; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) { grid-column: span 2; }
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) { display: none; }

    /* Contact form */
    .contact-form { padding: 1.5rem; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .form-group.full { grid-column: span 1; }
    .form-group { margin-bottom: 0.85rem; }

    /* Lots table */
    .lots-toolbar { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .lots-search { min-width: unset; width: 100%; }
    .lots-table th:nth-child(3),
    .lots-table td:nth-child(3),
    .lots-table th:nth-child(7),
    .lots-table td:nth-child(7) { display: none; }

    /* Updates grid */
    .updates-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer { padding: 3rem 1.25rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* Newsletter */
    .newsletter-bar { flex-direction: column; padding: 2rem 1.25rem; gap: 1.25rem; }
    .newsletter-form { max-width: 100%; width: 100%; }

    /* Map */
    .map-container { height: 280px; }

    /* Buttons */
    .btn { padding: 0.75rem 1.5rem; }
}

/* Mobile small */
@media (max-width: 400px) {
    .stats-bar { grid-template-columns: 1fr; }
    .proximity-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.9rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .lots-table { font-size: 0.78rem; }
    .lots-table th, .lots-table td { padding: 0.75rem 0.5rem; }
}

/* ---- ANIMATIONS ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ---- DIVIDER ---- */
.gold-rule {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 0.6rem 0 0.75rem;
    display: block;
}

/* ---- NEWSLETTER ---- */
.newsletter-bar {
    background: var(--gold);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-bar h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.newsletter-bar p {
    font-size: 0.85rem;
    color: rgba(13,43,69,0.7);
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
}

.newsletter-form input:focus { outline: none; }

.newsletter-form button {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.newsletter-form button:hover { background: var(--navy-light); }

/* ---- LIGHTBOX ---- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.open { display: flex; }

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

/* ---- FLASH MESSAGES ---- */
.flash {
    padding: 0.9rem 1.5rem;
    border-radius: 3px;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}

.flash-success { background: rgba(45,122,79,0.1); color: var(--available); border: 1px solid rgba(45,122,79,0.2); }
.flash-error { background: rgba(212,99,74,0.1); color: var(--coral); border: 1px solid rgba(212,99,74,0.2); }


/* ---- SITE ADS / POPUP OVERLAY ---- */
.site-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 30, 0.82);
    z-index: 8000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.site-popup-overlay.open {
    display: flex;
    animation: fadeInOverlay 0.35s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.site-popup {
    position: relative;
    background: var(--navy);
    border-radius: 12px;
    overflow: hidden;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,169,110,0.2);
    animation: slideUpPopup 0.4s cubic-bezier(0.16,1,0.3,1);
}

@keyframes slideUpPopup {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.site-popup-header {
    padding: 1.25rem 1.5rem;
    background: rgba(200,169,110,0.08);
    border-bottom: 1px solid rgba(200,169,110,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-popup-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    margin: 0;
}

.site-popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem;
    transition: color 0.2s;
}

.site-popup-close:hover { color: white; }

.site-popup-media {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
}

.site-popup-media iframe,
.site-popup-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.site-popup-body {
    padding: 1.25rem 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    line-height: 1.6;
}

.site-popup-footer {
    padding: 0.75rem 1.5rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.popup-dont-show {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: auto;
    cursor: pointer;
}

.popup-dont-show input { cursor: pointer; }

/* ---- BROCHURE CARDS ---- */
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.brochure-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: all 0.25s;
    text-decoration: none;
    color: var(--text);
}

.brochure-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13,43,69,0.12);
    border-color: var(--gold);
}

.brochure-icon {
    width: 56px;
    height: 56px;
    background: rgba(200,169,110,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.brochure-card strong {
    font-size: 0.88rem;
    color: var(--navy);
    line-height: 1.3;
}

.brochure-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.brochure-download {
    margin-top: auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ---- ICON FEATURE ITEMS (investment page) ---- */
.feature-icon-svg {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .site-popup { max-width: 100%; border-radius: 12px 12px 0 0; margin-top: auto; }
    .site-popup-overlay { align-items: flex-end; padding: 0; }
    .brochure-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- FOOTER 2-COLUMN RESPONSIVE ---- */
@media (max-width: 768px) {
    footer .footer-inner > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    footer .footer-inner > div:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* ---- ABOUT PAGE VIDEO+NEWSLETTER 2-COL ---- */
@media (max-width: 768px) {
    .section-inner > div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}
