/* ============================================
   Blue Mountain View Apartments
   Fresh & Airy | Midnight Blue + Mint
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0A2540;
    --midnight-light: #133B5C;
    --midnight-dark: #061A2E;
    --mint: #7DD3C0;
    --mint-light: #A8E6D8;
    --mint-pale: #D4F1EB;
    --mint-ghost: #EFF8F5;
    --cream: #FAFBFB;
    --warm-white: #F7F9FC;
    --sand: #E8EDE8;
    --text-dark: #0A2540;
    --text-body: #2C4A66;
    --text-muted: #6B8A9E;
    --text-light: #9BB5C5;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    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;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}

.btn-primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--midnight);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 251, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(250, 251, 251, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--midnight);
    font-weight: 400;
}

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

.nav-menu a {
    font-size: 0.938rem;
    color: var(--text-body);
    font-weight: 400;
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--midnight);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--midnight);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500 !important;
    transition: all var(--transition) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--midnight-light) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--midnight);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--midnight);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--midnight);
    padding: 8px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--midnight);
    padding: 12px 24px;
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--mint);
}

.mobile-cta-link {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--midnight);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--midnight);
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(10, 37, 64, 0.92) 0%, 
        rgba(10, 37, 64, 0.75) 40%,
        rgba(10, 37, 64, 0.5) 70%,
        rgba(10, 37, 64, 0.3) 100%);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 37, 64, 0.4) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125, 211, 192, 0.15);
    border: 1px solid rgba(125, 211, 192, 0.3);
    color: var(--mint-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 640px;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--mint);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Card */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.hero-card-img {
    height: 280px;
    overflow: hidden;
}

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

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

.hero-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-card-tag {
    display: inline-flex;
    align-items: center;
    background: var(--mint-pale);
    color: var(--midnight);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    width: fit-content;
}

.hero-card-content h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.hero-card-content p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--midnight);
    transition: gap var(--transition);
}

.hero-card-link:hover {
    gap: 12px;
    color: var(--mint);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.813rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Section Shared --- */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    background: var(--mint-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 20px;
    color: var(--midnight);
}

.section-desc {
    font-size: 1.063rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Apartments --- */
.apartments {
    background: var(--warm-white);
}

.floor-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.floor-plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.floor-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.fp-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

.floor-plan-card:hover .fp-img img {
    transform: scale(1.06);
}

.fp-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--mint);
    color: var(--midnight);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.fp-header h3 {
    font-size: 1.375rem;
}

.fp-size {
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.fp-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.938rem;
    color: var(--text-body);
}

.fp-features svg {
    flex-shrink: 0;
}

.fp-content .btn {
    margin-top: 4px;
}

/* --- Amenities --- */
.amenities {
    background: var(--cream);
}

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

.amenity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--mint-pale);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.amenity-card:hover .amenity-icon {
    background: var(--mint);
}

.amenity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.amenity-card p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Neighborhood --- */
.neighborhood {
    background: var(--warm-white);
}

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

.neigh-content {
    max-width: 520px;
}

.neigh-content .section-tag {
    margin-bottom: 20px;
}

.neigh-content .section-title {
    margin-bottom: 20px;
}

.neigh-content .section-desc {
    margin-bottom: 40px;
}

.neigh-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.neigh-highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.neigh-highlight-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--midnight);
    line-height: 1;
}

.neigh-highlight-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.neigh-images {
    position: relative;
    height: 700px;
}

.neigh-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.neigh-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neigh-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 45%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--warm-white);
}

.neigh-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Community --- */
.community {
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 211, 192, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.community::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 211, 192, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.community .container {
    position: relative;
    z-index: 1;
}

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

.community-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
}

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

.community-content .section-tag {
    background: rgba(125, 211, 192, 0.15);
    color: var(--mint);
    margin-bottom: 20px;
}

.community-content .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.community-content .section-desc {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 44px;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.comm-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.comm-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(125, 211, 192, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comm-feature h4 {
    font-size: 1.063rem;
    color: var(--white);
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 600;
}

.comm-feature p {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* --- Contact --- */
.contact {
    background: var(--cream);
}

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

.contact-info .section-tag {
    margin-bottom: 20px;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info .section-desc {
    margin-bottom: 44px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    background: var(--mint-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.938rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(125, 211, 192, 0.15);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--midnight);
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.938rem;
}

/* --- Map --- */
.map-section {
    height: 400px;
    background: var(--sand);
}

/* --- Footer --- */
.footer {
    background: var(--midnight-dark);
    padding: 80px 0 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--mint);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

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

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 340px;
        gap: 40px;
    }
    
    .floor-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floor-plan-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .neigh-layout,
    .community-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .neigh-images {
        height: 500px;
        order: -1;
    }
    
    .community-img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 100px 24px 100px;
    }
    
    .hero-card {
        display: none;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.375rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .floor-plans {
        grid-template-columns: 1fr;
    }
    
    .floor-plan-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .neigh-images {
        height: 400px;
    }
    
    .neigh-highlights {
        grid-template-columns: 1fr 1fr;
    }
    
    .community-img {
        height: 350px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .neigh-highlights {
        grid-template-columns: 1fr;
    }
    
    .neigh-img-main {
        width: 85%;
    }
    
    .neigh-img-secondary {
        width: 60%;
    }
}
