/* ===================================
   THE BROOKFIELD APARTMENT HOMES
   Modern Vibrant Apartment Website
   Deep Navy + Warm Gold Palette
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --navy: #0A1F44;
    --navy-light: #132D5E;
    --navy-dark: #060F24;
    --gold: #D4A843;
    --gold-light: #E8C76A;
    --gold-dark: #B8912E;
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --cream: #FDF9F0;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.05);
    --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 31, 68, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 31, 68, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

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

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
}

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

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

/* --- Button Base --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 15, 36, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    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-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: var(--gold);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===================================
   HERO — Split Layout
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -100px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: -150px;
    left: -100px;
    opacity: 0.04;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(212, 168, 67, 0.05);
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-dots {
    position: absolute;
    bottom: 15%;
    right: 8%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    opacity: 0.15;
}

.geo-dots::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background: radial-gradient(circle, var(--gold) 2px, transparent 2px);
    background-size: 12px 12px;
    -webkit-mask: radial-gradient(circle, black 50%, transparent 50%);
    mask: radial-gradient(circle, black 50%, transparent 50%);
}

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

.hero-content {
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}

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

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

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

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

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

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

.stat-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

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

/* Hero Image */
.hero-image-wrap {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.6;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.hero-floating-card span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===================================
   COLOR BLOCK DIVIDER
   =================================== */
.color-block {
    padding: 48px 0;
    overflow: hidden;
}

.gold-block {
    background: var(--gold);
}

.color-block-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--navy);
}

.color-block-content svg {
    flex-shrink: 0;
}

.color-block-content p {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
}

/* ===================================
   RESIDENCES
   =================================== */
.residences {
    background: var(--off-white);
}

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

.residence-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.residence-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.residence-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    position: relative;
}

.residence-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    z-index: 1;
}

.residence-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 500/320;
}

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

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

.residence-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 1;
}

.residence-badge.gold-badge {
    background: var(--gold);
    color: var(--navy);
}

.residence-card-body {
    padding: 28px;
}

.residence-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.residence-card-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.residence-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

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

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

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

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

.amenity-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 168, 67, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.amenity-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.amenity-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   LOCATION
   =================================== */
.location {
    background: var(--off-white);
}

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

.location-content .section-tag {
    justify-content: flex-start;
}

.location-content .section-title {
    text-align: left;
}

.location-content .section-desc {
    text-align: left;
    margin-bottom: 40px;
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.lh-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 67, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-highlight strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-highlight span {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper {
    aspect-ratio: 4/3;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

.map-address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
}

/* ===================================
   COMMUNITY / WHY CHOOSE US
   =================================== */
.community {
    background: var(--white);
    overflow: hidden;
}

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

.community-images {
    position: relative;
}

.community-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

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

.community-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
    z-index: 2;
}

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

.community-geo-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--gold);
    opacity: 0.2;
    border-radius: var(--radius-md);
    transform: rotate(12deg);
    z-index: 0;
}

.community-content .section-tag {
    justify-content: flex-start;
}

.community-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.community-content .section-desc {
    text-align: left;
    margin-bottom: 40px;
}

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

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

.cf-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.community-feature h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.community-feature p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

.community-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-note {
    font-size: 14px;
    color: var(--gray-500);
    font-style: italic;
}

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

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-geo {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.cta-geo.cga-1 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: -150px;
    left: -100px;
}

.cta-geo.cga-2 {
    width: 250px;
    height: 250px;
    background: var(--gold);
    bottom: -80px;
    right: 10%;
}

.cta-geo.cga-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 20%;
    right: 5%;
    opacity: 0.03;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    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-weight: 700;
    font-size: 18px;
    color: var(--white);
}

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

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-phone {
    color: var(--white);
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* ===================================
   SCROLL REVEAL (progressive enhancement)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-floating-card {
        left: -20px;
        bottom: 20px;
    }

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

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

    .community-img-secondary {
        right: -16px;
        bottom: -16px;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 15, 36, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

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

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding: 0;
        text-align: center;
    }

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

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

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

    .hero-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-floating-card {
        left: 10px;
        bottom: 16px;
    }

    .hero-image-accent {
        display: none;
    }

    /* Color block */
    .color-block-content {
        justify-content: center;
        text-align: center;
    }

    /* Residences */
    .residence-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Location */
    .location-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content .section-tag,
    .location-content .section-title,
    .location-content .section-desc {
        text-align: center;
        justify-content: center;
    }

    /* Community */
    .community-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .community-content .section-tag,
    .community-content .section-title,
    .community-content .section-desc {
        text-align: center;
        justify-content: center;
    }

    .community-images {
        max-width: 480px;
        margin: 0 auto;
    }

    .community-img-secondary {
        right: -10px;
        bottom: -10px;
    }

    .community-cta {
        align-items: center;
        text-align: center;
    }

    /* CTA */
    .cta-section {
        padding: 72px 0;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
