/* ============================================
   ROLANDA ZEPHIRIN - SOUTH FLORIDA REAL ESTATE
   Luxury Branding: Navy + Gold + Coastal Teal
   ============================================ */

:root {
    --navy: #0B1D3A;
    --navy-deep: #071428;
    --navy-light: #132B52;
    --gold: #C9A96E;
    --gold-light: #D4B97E;
    --gold-dark: #A88B55;
    --teal: #2A8B8B;
    --teal-light: #3BA5A5;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --border: #E8E4DE;
    --shadow: rgba(11, 29, 58, 0.08);
    --shadow-lg: rgba(11, 29, 58, 0.15);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner { text-align: center; }

.preloader-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: preload 1.5s ease-in-out forwards;
}

@keyframes preload {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    padding: 10px 24px !important;
    border-radius: 0;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-fast);
}

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

.mobile-menu-contact {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-contact a {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

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

.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-video-bg #heroVideo,
.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 177.78vh; /* 16:9 ratio */
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,29,58,0.82) 0%, rgba(19,43,82,0.72) 40%, rgba(42,139,139,0.45) 100%);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--navy-deep), transparent);
    z-index: 2;
}

/* Fallback for old hero-bg (inner pages) */
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--navy-deep);
}

.hero-bg .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,29,58,0.92) 0%, rgba(19,43,82,0.85) 50%, rgba(42,139,139,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201,169,110,0.4);
    padding: 8px 24px;
    margin-bottom: 32px;
    font-weight: 500;
    animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-bottom: 8px;
    animation: fadeInDown 0.8s ease 0.5s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInDown 0.8s ease 0.7s both;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInDown 0.8s ease 0.9s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInDown 0.8s ease 1.1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,169,110,0.3);
}

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

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

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

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

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

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

.btn-full { width: 100%; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--navy-deep);
    padding: 48px 0;
    border-bottom: 1px solid rgba(201,169,110,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

/* ===== SECTION HEADERS ===== */
.section-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-label.light { color: var(--gold-light); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-title em {
    font-style: italic;
    color: var(--teal);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview { background: var(--cream); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image-frame:hover img { transform: scale(1.03); }

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid var(--gold);
    z-index: -1;
}

.about-floating-card {
    position: absolute;
    bottom: 24px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 20px 28px;
    box-shadow: 0 12px 40px var(--shadow-lg);
}

.floating-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.floating-text {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.about-quote {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--teal);
    border-left: 3px solid var(--gold);
    padding-left: 20px;
    margin: 24px 0;
    line-height: 1.6;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.credential {
    padding: 16px;
    border: 1px solid var(--border);
    background: var(--white);
}

.credential strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.credential span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ===== SERVICES ===== */
.services { background: var(--white); }

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px var(--shadow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cream-dark);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.service-card:hover .service-number { color: var(--gold); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== LISTINGS ===== */
.featured-listings { background: var(--cream); }

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

.listing-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow-lg);
}

.listing-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.listing-card:hover .listing-image img { transform: scale(1.06); }

.listing-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
}

.listing-badge.sold { background: var(--navy); }
.listing-badge.active { background: var(--teal); }
.listing-badge.pending { background: var(--gold-dark); color: var(--white); }
.listing-badge.rental { background: var(--teal); }

.listing-details { padding: 24px; }

.listing-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.listing-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.listing-address {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 4px 0;
}

.listing-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.listing-specs {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.listing-specs span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

/* ===== COMMUNITIES ===== */
.communities { background: var(--white); }

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

.community-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    background: var(--navy);
}

.community-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.community-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,29,58,0.85) 0%, rgba(11,29,58,0.2) 60%);
    transition: var(--transition);
}

.community-card:hover .community-overlay {
    background: linear-gradient(to top, rgba(42,139,139,0.85) 0%, rgba(11,29,58,0.3) 60%);
}

.community-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
}

.community-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.community-content p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px var(--shadow);
    border-color: transparent;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--navy-deep);
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 50%, var(--teal) 100%);
    opacity: 0.9;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content h2 em { color: var(--gold); }

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== INSTAGRAM ===== */
.instagram-section { background: var(--white); text-align: center; }

.instagram-cta { margin-top: 24px; }

/* ===== CONTACT PREVIEW ===== */
.contact-preview { background: var(--cream); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details { margin: 32px 0; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon { font-size: 1.4rem; }

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-item a:hover { color: var(--teal); }

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--navy);
}

.social-links a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 8px 30px var(--shadow);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-form > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition-fast);
    margin-bottom: 16px;
    border-radius: 0;
    -webkit-appearance: none;
    outline: none;
}

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

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

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-deep);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

.footer-brand > p {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    transition: var(--transition-fast);
}

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

.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
    line-height: 1.5;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
}

.footer-disclaimer {
    margin-top: 4px;
    font-size: 0.7rem !important;
}

/* ===== PAGE SPECIFIC: ABOUT, LISTINGS, etc ===== */
.page-hero {
    padding: 180px 0 100px;
    background: var(--navy-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,20,40,0.88) 0%, rgba(19,43,82,0.78) 50%, rgba(42,139,139,0.35) 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.page-hero.fade-to-cream::after {
    background: linear-gradient(to top, var(--cream), transparent);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero .section-label { color: var(--gold); }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero h1 em { color: var(--gold); font-style: italic; }

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content sections for inner pages */
.content-section { padding: 80px 0; }
.content-section.alt { background: var(--cream); }

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.content-block h2 em { color: var(--teal); font-style: italic; }

.content-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-block ul {
    margin: 16px 0 24px 20px;
}

.content-block ul li {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.content-block ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

/* Steps / Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px var(--shadow);
}

.process-step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Sold Listings Grid */
.sold-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.sold-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.sold-card:hover { box-shadow: 0 8px 24px var(--shadow); }

.sold-info h4 {
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.sold-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sold-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal);
    font-size: 1.1rem;
}

/* Community Cards Inner */
.community-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.community-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 40px;
    transition: var(--transition);
}

.community-detail-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px var(--shadow);
    transform: translateY(-4px);
}

.community-detail-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.community-detail-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.community-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid var(--teal);
    padding: 4px 12px;
    margin-top: 16px;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    
    .services-grid,
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    
    .communities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .community-large {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16/9;
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 2rem; }
    
    .services-grid,
    .listings-grid { grid-template-columns: 1fr; }
    
    .communities-grid { grid-template-columns: 1fr; }
    .community-card { aspect-ratio: 16/9; }
    
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    
    .hero-content { padding: 140px 20px 80px; }
    .hero-scroll { display: none; }
    
    .about-image-accent { display: none; }
    .about-floating-card { right: 0; }
    
    .about-credentials { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { padding: 14px 28px; font-size: 0.75rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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