/* ===================================================
   XYLON FUNES REAL ESTATE — style.css
   =================================================== */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold:      #C9A96E;
    --gold-dim:  rgba(201, 169, 110, 0.15);
    --dark:      #211E1E;
    --dark2:     #282525;
    --dark3:     #2e2b2b;
    --white:     #F6FCFD;
    --gray:      #76869A;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.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;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 22px;
}

.section-body {
    font-size: 14px;
    line-height: 1.95;
    color: rgba(246, 252, 253, 0.62);
}

.section-body.mt { margin-top: 16px; }

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 15px 42px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold);
    transition: background 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                color      0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.btn-gold:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 14px 38px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(201, 169, 110, 0.5);
    transition: background  0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                color       0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* Hero button pair - Buy/Sell style */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold);
    color: var(--dark);
    padding: 22px 52px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}
.btn-hero-primary span {
    position: relative;
    z-index: 1;
}
.btn-hero-primary:hover {
    border-color: var(--white);
}
.btn-hero-primary:hover::before {
    transform: translateY(0);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    padding: 22px 52px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.btn-hero-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}
.btn-hero-secondary span {
    position: relative;
    z-index: 1;
}
.btn-hero-secondary:hover {
    color: var(--dark);
    border-color: var(--gold);
}
.btn-hero-secondary:hover::before {
    transform: translateY(0);
}

/* Button icons */
.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    transition: background 0.4s, padding 0.3s;
    background: linear-gradient(to bottom, rgba(33, 30, 30, 0.75), transparent);
}

#navbar.scrolled {
    background: rgba(33, 30, 30, 0.97);
    padding: 16px 48px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: rgba(246, 252, 253, 0.85);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }

.nav-logo {
    text-align: center;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo .monogram {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1;
    color: var(--white);
    letter-spacing: 2px;
}
.nav-logo .wordmark {
    font-size: 8px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(246, 252, 253, 0.65);
    margin-top: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}
.lang-active {
    color: var(--gold);
}
.lang-sep {
    color: rgba(201, 169, 110, 0.3);
}
.lang-link {
    color: rgba(246, 252, 253, 0.5);
    text-decoration: none;
    transition: color 0.25s;
}
.lang-link:hover { color: var(--white); }

.nav-cta {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 9px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    display: block;
    height: 1px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(33, 30, 30, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.25s;
}
#mobile-menu a:hover { color: var(--gold); }

/* ===== HERO ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1661224094420-2d84936d498e?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(33, 30, 30, 0.25) 0%,
        rgba(33, 30, 30, 0.50) 50%,
        rgba(33, 30, 30, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 0 32px;
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
    opacity: 0;
    animation: hero-rise 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.35s; }
.hero-content > *:nth-child(2) { animation-delay: 0.6s; }
.hero-content > *:nth-child(3) { animation-delay: 0.85s; }
.hero-content > *:nth-child(4) { animation-delay: 1.05s; }

.hero-eyebrow {
    font-size: 10px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 9vw, 108px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: rgba(246, 252, 253, 0.78);
}

.hero-sub {
    font-size: 13px;
    line-height: 1.95;
    color: rgba(246, 252, 253, 0.78);
    max-width: 560px;
    margin: 0 auto 44px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    right: 48px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(246, 252, 253, 0.62);
    text-decoration: none;
    transition: color 0.25s;
}
.hero-scroll-hint:hover { color: var(--gold); }
.hero-scroll-hint::before {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    background: currentColor;
}

/* ===== STATS BAR ===== */
#stats {
    background: var(--dark2);
    border-top: 1px solid rgba(201, 169, 110, 0.18);
    border-bottom: 1px solid rgba(201, 169, 110, 0.18);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 60px 32px;
    border-right: 1px solid rgba(201, 169, 110, 0.12);
    transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(201, 169, 110, 0.04); }

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--gold);
    line-height: 1;
}

.stat-lbl {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 14px;
}

/* ===== ABOUT ===== */
#about {
    padding: 120px 48px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    padding-bottom: 20px;
    padding-right: 20px;
}
.about-img-wrap img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    position: relative;
    z-index: 1;
}
.about-img-border {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1.5px solid var(--gold);
    opacity: 0.3;
    z-index: 0;
}

.about-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 36px 0;
}

.badge {
    background: rgba(201, 169, 110, 0.10);
    border: 1px solid rgba(201, 169, 110, 0.45);
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    transition: background 0.3s, border-color 0.3s;
    cursor: default;
}
.badge:hover {
    background: rgba(201, 169, 110, 0.18);
    border-color: var(--gold);
}

/* ===== SERVICES ===== */
#services {
    background: var(--dark2);
    padding: 120px 48px;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
}
.services-header .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;
    margin: 0 auto;
    border: 1px solid rgba(201, 169, 110, 0.12);
}

.service-card {
    padding: 64px 48px;
    border-right: 1px solid rgba(201, 169, 110, 0.12);
    transition: background 0.3s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(201, 169, 110, 0.07); }

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: var(--gold-dim);
    line-height: 1;
    margin-bottom: 28px;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 16px;
}

.service-body {
    font-size: 13px;
    line-height: 1.95;
    color: rgba(246, 252, 253, 0.55);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: gap 0.25s;
}
.service-link:hover { gap: 16px; }
.service-link::after { content: '→'; }

/* ===== COMMUNITIES ===== */
#communities {
    padding: 120px 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.communities-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    flex-wrap: wrap;
    gap: 20px;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.community-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.community-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.65s ease;
}
.community-card:hover img { transform: scale(1.06); }

.community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33, 30, 30, 0.88) 0%, rgba(33, 30, 30, 0.08) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 32px;
}

.community-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}
.community-state {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 6px;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
    background: var(--dark2);
    padding: 120px 48px;
    text-align: center;
}

#testimonials .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--dark3);
    padding: 52px 44px;
    text-align: left;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--gold);
    line-height: 0.7;
    margin-bottom: 20px;
}

.testimonial-body {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(246, 252, 253, 0.65);
    margin-bottom: 32px;
}

.testimonial-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.testimonial-loc {
    font-size: 11px;
    color: var(--gold);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ===== CONTACT ===== */
#contact {
    padding: 130px 48px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

#contact .section-title { margin-bottom: 16px; }
#contact .section-body {
    max-width: 480px;
    margin: 0 auto 52px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(246, 252, 253, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.2);
    color: var(--white);
    padding: 17px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
}

.contact-form select option { background: #282525; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--gold); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(246, 252, 253, 0.35); }

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

.contact-form button {
    width: 100%;
    padding: 18px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 0;
}
.form-success .check {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 16px;
}
.form-success p {
    font-size: 13px;
    color: rgba(246, 252, 253, 0.65);
    line-height: 1.8;
}

/* ===== TRUST BADGES (in footer) ===== */
.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    margin-top: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
    background: rgba(201, 169, 110, 0.15);
    border-color: var(--gold);
}

.trust-badge-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.trust-badge-label {
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(201, 169, 110, 0.8);
}

.trust-badge-value {
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.3px;
}

@media (max-width: 900px) {
    .footer-badges {
        gap: 20px 32px;
        padding: 32px 0;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .footer-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        padding: 28px 0;
    }
    .trust-badge-icon {
        width: 32px;
        height: 32px;
    }
    .trust-badge-icon svg {
        width: 15px;
        height: 15px;
    }
    .trust-badge-value {
        font-size: 10px;
    }
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(201, 169, 110, 0.15);
    padding: 64px 48px 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-wrap .monogram {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 2px;
}
.footer-logo-wrap .wordmark {
    font-size: 9px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 8px;
}
.footer-logo-wrap .tagline {
    font-size: 12px;
    color: rgba(246, 252, 253, 0.4);
    margin-top: 16px;
    max-width: 240px;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-col ul a {
    font-size: 12px;
    color: rgba(246, 252, 253, 0.5);
    text-decoration: none;
    transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy,
.footer-license {
    font-size: 11px;
    color: rgba(246, 252, 253, 0.28);
    letter-spacing: 0.5px;
}

/* ===== MARQUEE TICKER ===== */
.marquee-band {
    overflow: hidden;
    background: var(--dark);
    border-top: 1px solid rgba(201, 169, 110, 0.22);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    padding: 20px 0;
}
.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    white-space: nowrap;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(246, 252, 253, 0.58);
    flex-shrink: 0;
    padding-right: 52px;
}
.marquee-sep {
    color: var(--gold) !important;
    letter-spacing: 0 !important;
    font-size: 7px !important;
    opacity: 0.8;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== NOISE TEXTURE ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9996;
    pointer-events: none;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ===== RESPONSIVE ===== */

/* Mid-range: hide nav links and CTA, show hamburger */
@media (max-width: 1100px) {
    .nav-links  { display: none; }
    .nav-cta    { display: none; }
    .hamburger  { display: flex; }
}

@media (max-width: 1100px) and (min-width: 901px) {
    #navbar          { padding: 20px 32px; }
    #navbar.scrolled { padding: 14px 32px; }
}

@media (max-width: 900px) {
    #navbar          { padding: 16px 20px; }
    #navbar.scrolled { padding: 12px 20px; }

    .nav-logo .monogram  { font-size: 24px; }
    .nav-logo .wordmark  { font-size: 7px; letter-spacing: 4px; margin-top: 4px; }

    .nav-right { gap: 16px; }

    .lang-switch { font-size: 9px; letter-spacing: 1.5px; gap: 5px; }

    #about {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 80px 24px;
    }
    .about-img-border { display: none; }

    .services-grid    { grid-template-columns: 1fr; }
    .service-card {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    }
    .service-card:last-child { border-bottom: none; }

    #communities       { padding: 80px 24px; }
    .communities-grid  { grid-template-columns: 1fr; }

    #testimonials      { padding: 80px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }

    #contact  { padding: 80px 24px; }
    .form-row { grid-template-columns: 1fr; }

    footer         { padding: 48px 24px 32px; }
    .footer-top    { flex-direction: column; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .hero-scroll-hint { display: none; }

    #stats     { flex-direction: column; align-items: center; }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(201, 169, 110, 0.1);
        width: 100%;
    }
    .stat-item:last-child { border-bottom: none; }
}

/* ===== PHONE (iPhone 16 Pro Max and smaller) ===== */
@media (max-width: 480px) {
    /* Navbar */
    #navbar          { padding: 14px 16px; }
    #navbar.scrolled { padding: 10px 16px; }
    .nav-logo .monogram { font-size: 22px; }
    .nav-logo .wordmark { font-size: 6px; letter-spacing: 3px; }
    .nav-right { gap: 12px; }

    /* Hero */
    .hero-headline { font-size: 42px; }
    .hero-sub      { font-size: 12px; }
    .hero-eyebrow  { font-size: 9px; letter-spacing: 4px; }
    .hero-btns     { flex-direction: column; align-items: center; gap: 12px; }
    .hero-btns .btn-gold,
    .hero-btns .btn-outline,
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-secondary { width: 100%; justify-content: center; }

    /* Stats */
    .stat-item  { padding: 36px 20px; }
    .stat-num   { font-size: 38px; }

    /* About */
    #about { padding: 64px 20px; gap: 36px; }

    /* Services */
    #services { padding: 64px 20px; }
    .service-card { padding: 40px 28px; }
    .services-header { margin-bottom: 40px; }

    /* Communities */
    #communities { padding: 64px 20px; }
    .community-card img { aspect-ratio: 3 / 2; }

    /* Testimonials */
    #testimonials { padding: 64px 20px; }
    .testimonial-card { padding: 36px 28px; }

    /* Contact */
    #contact { padding: 64px 20px; }

    /* Footer */
    footer { padding: 40px 20px 28px; }
    .footer-nav { gap: 36px; }

    /* Mobile menu links */
    #mobile-menu a { font-size: 28px; }
}
