/* ============================================
   Oakwood Gardens Apartments — Stylesheet
   Forest Green + Off-White | Vibrant Modern
   ============================================ */

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

:root {
    --green-900: #052e16;
    --green-800: #14532d;
    --green-700: #166534;
    --green-600: #15803d;
    --green-500: #16a34a;
    --green-400: #22c55e;
    --green-300: #4ade80;
    --green-200: #86efac;
    --green-100: #bbf7d0;
    --green-50:  #dcfce7;

    --accent: #f59e0b;
    --accent-light: #fcd34d;
    --accent-dark: #d97706;

    --off-white: #fafaf5;
    --cream: #f5f5ef;
    --sand: #e8e6d8;
    --warm-gray: #6b6860;
    --dark: #1a1a16;
    --dark-soft: #2d2d26;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-700);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: white;
    border-color: var(--green-700);
}
.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}
.btn-secondary:hover {
    background: var(--green-700);
    color: white;
    transform: translateY(-2px);
}

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

.btn-outline-light {
    background: rgba(255,255,255,0.12);
    color: white;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
    background: white;
    color: var(--green-700);
    border-color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 250, 245, 0.96);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--green-700);
}

.logo--light {
    color: white;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-soft);
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--green-50);
    color: var(--green-700);
}

.nav-links .btn-primary {
    margin-left: 8px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--green-900);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(22, 101, 52, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 10% 90%, rgba(21, 128, 61, 0.3) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(134, 239, 172, 0.15);
    border: 1px solid rgba(134, 239, 172, 0.3);
    color: var(--green-200);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--green-200) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

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

/* Floating Stat Cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 380px;
    margin-left: auto;
}

.stat-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--primary {
    background: var(--green-600);
    color: white;
    grid-column: 1;
    grid-row: 1;
}

.stat-card--accent {
    background: var(--accent);
    color: var(--dark);
    grid-column: 2;
    grid-row: 1;
}

.stat-card--white {
    background: white;
    color: var(--dark);
    grid-column: 1;
    grid-row: 2;
}

.stat-card--green {
    background: var(--green-500);
    color: white;
    grid-column: 2;
    grid-row: 2;
}

.stat-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.18);
}

.stat-card__icon--dark {
    background: var(--green-50);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.78rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Geometric Accents */
.geo {
    position: absolute;
    pointer-events: none;
}

.geo--circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo--circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
}

.geo--triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 70px 40px;
    border-color: transparent transparent rgba(134, 239, 172, 0.15) transparent;
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
}

.geo--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 15%;
    right: 38%;
    transform: rotate(15deg);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid var(--green-100);
}

.section-tag--light {
    background: rgba(255,255,255,0.15);
    color: var(--green-200);
    border-color: rgba(255,255,255,0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-title--light {
    color: white;
}

.text-green {
    color: var(--green-700);
}

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

.section-desc {
    font-size: 1.08rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.section-desc--light {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   APARTMENTS / FLOOR PLANS
   ============================================ */
.apartments {
    background: var(--cream);
}

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

.floorplan-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

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

.floorplan-card--featured {
    border: 2px solid var(--green-500);
    position: relative;
}

.floorplan-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.floorplan-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--green-700);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 100px;
}

.floorplan-card__badge--featured {
    background: var(--accent);
    color: var(--dark);
}

.floorplan-card__body {
    padding: 28px;
}

.floorplan-card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.floorplan-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--green-50);
    color: var(--green-800);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
}

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

/* ============================================
   AMENITIES
   ============================================ */
.amenities {
    background: var(--off-white);
    overflow: hidden;
}

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

.amenities-content .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.amenity-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-200);
}

.amenity-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: var(--green-50);
    color: var(--green-700);
}

.amenity-card__icon--pool { background: #dbeafe; color: #1d4ed8; }
.amenity-card__icon--fitness { background: #fce7f3; color: #be185d; }
.amenity-card__icon--laundry { background: #fef3c7; color: #92400e; }
.amenity-card__icon--parking { background: #e0e7ff; color: #3730a3; }
.amenity-card__icon--green { background: var(--green-50); color: var(--green-700); }
.amenity-card__icon--package { background: #f3e8ff; color: #6b21a8; }

.amenity-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.amenity-card p {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.amenities-visual {
    position: relative;
}

.amenities-img-stack {
    position: relative;
    height: 560px;
}

.amenities-img-main {
    width: 85%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

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

.amenities-img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
    z-index: 3;
}

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

.geo-accent {
    position: absolute;
    pointer-events: none;
}

.geo-accent--ring {
    width: 200px;
    height: 200px;
    border: 3px solid var(--green-200);
    border-radius: 50%;
    top: -30px;
    right: 20%;
    opacity: 0.5;
}

/* ============================================
   NEIGHBORHOOD
   ============================================ */
.neighborhood {
    background: var(--cream);
}

.nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.nearby-card {
    background: white;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.nearby-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-200);
}

.nearby-card__icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    color: var(--green-700);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nearby-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.nearby-card p {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--off-white);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,46,22,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--green-900);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(22, 163, 74, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
}

.cta-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 60px;
    backdrop-filter: blur(12px);
}

.cta-pattern {
    display: none;
}

.cta-form-wrap {
    position: relative;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    background: rgba(255,255,255,0.12);
}

.form-group select option {
    background: var(--green-800);
    color: white;
}

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

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

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--warm-gray);
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 20px;
}

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

.footer-col a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--green-300);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--green-300);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-cards {
        margin: 40px auto 0;
        max-width: 320px;
    }

    .amenities-layout {
        grid-template-columns: 1fr;
    }

    .amenities-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .amenities-img-stack {
        height: 400px;
    }

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

    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,250,245,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(22,101,52,0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .nav-links .btn-primary {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active .hamburger {
        background: white;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    .floorplans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .nearby-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .cta-card {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-cards {
        grid-template-columns: 1fr;
        max-width: 240px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
