/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
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 1.5rem; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; line-height: 1.15; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'DM Sans', sans-serif; font-weight: 700;
    border: 2px solid transparent; border-radius: 50px;
    cursor: pointer; transition: all .25s ease; font-size: .9375rem;
}
.btn-primary {
    background: #7B2D3B; color: #fff; border-color: #7B2D3B;
}
.btn-primary:hover { background: #5C1A26; border-color: #5C1A26; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(123,45,59,.35); }
.btn-outline {
    background: transparent; color: #7B2D3B; border-color: #7B2D3B;
}
.btn-outline:hover { background: #7B2D3B; color: #fff; transform: translateY(-2px); }
.btn-outline-light {
    background: transparent; color: #fff; border-color: #fff;
}
.btn-outline-light:hover { background: #fff; color: #7B2D3B; transform: translateY(-2px); }
.btn-nav { background: #F5D5D8; color: #7B2D3B; border-color: #F5D5D8; padding: .5rem 1.25rem; font-size: .875rem; }
.btn-nav:hover { background: #fff; border-color: #fff; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: .875rem 2rem; font-size: 1rem; }
.btn-burgundy { background: #7B2D3B; color: #fff; border-color: #7B2D3B; }
.btn-burgundy:hover { background: #5C1A26; border-color: #5C1A26; }

/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123,45,59,.08);
    transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(123,45,59,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .625rem; }
.logo-text { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.0625rem; color: #7B2D3B; line-height: 1.2; }
.logo-sub { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: .75rem; color: #A84456; letter-spacing: .04em; text-transform: uppercase; }
.logo--light .logo-text { color: #F5D5D8; }
.logo--light .logo-sub { color: #F5D5D8; opacity: .7; }
#mainNav { display: flex; align-items: center; gap: 2rem; }
#mainNav a:not(.btn) { font-size: .9375rem; font-weight: 500; color: #1a1a1a; transition: color .2s; }
#mainNav a:not(.btn):hover { color: #7B2D3B; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #7B2D3B; border-radius: 2px; transition: all .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #7B2D3B 0%, #A84456 35%, #C4606A 60%, #F5D5D8 100%);
    overflow: hidden; padding: 6rem 0 0;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.gradient-blob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.gradient-blob--1 { width: 500px; height: 500px; background: #F5D5D8; top: -10%; right: -5%; opacity: .3; }
.gradient-blob--2 { width: 350px; height: 350px; background: #5C1A26; bottom: 5%; left: -3%; opacity: .25; }
.gradient-blob--3 { width: 200px; height: 200px; background: #fff; top: 40%; left: 30%; opacity: .1; }
.geo-shape { position: absolute; }
.geo-shape--circle {
    width: 120px; height: 120px; border: 3px solid rgba(245,213,216,.3);
    border-radius: 50%; top: 15%; left: 8%;
}
.geo-shape--ring {
    width: 80px; height: 80px; border: 3px solid rgba(245,213,216,.2);
    border-radius: 50%; bottom: 25%; right: 12%;
}
.geo-shape--triangle {
    width: 0; height: 0;
    border-left: 40px solid transparent; border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(245,213,216,.15);
    top: 20%; right: 20%;
}
.geo-shape--dot-grid {
    width: 100px; height: 100px;
    background-image: radial-gradient(circle, rgba(245,213,216,.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px; bottom: 18%; left: 15%;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 2rem; padding-bottom: 4rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
    padding: .5rem 1.25rem; color: #F5D5D8; font-size: .8125rem; font-weight: 500;
    margin-bottom: 2rem;
}
.badge-dot { width: 8px; height: 8px; background: #F5D5D8; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }
.hero-title {
    font-size: clamp(2.75rem, 7vw, 5.5rem); color: #fff;
    margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.hero-title br { display: none; }
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.85);
    max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 2rem;
    color: #fff;
}
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 800; }
.stat-label { font-size: .8125rem; opacity: .75; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.25); }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ── Section Shared ── */
.section { padding: 6rem 0; }
.section-label {
    display: flex; align-items: center; gap: .75rem;
    font-size: .8125rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: #A84456; margin-bottom: 1rem;
}
.label-line { width: 32px; height: 3px; background: #A84456; border-radius: 2px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: #1a1a1a; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.0625rem; color: #555; max-width: 560px; line-height: 1.7; }

/* ── Apartments ── */
.apartments { background: #fff; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.plan-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(123,45,59,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(123,45,59,.12); }
.plan-img { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.plan-card:hover .plan-img img { transform: scale(1.05); }
.plan-badge {
    position: absolute; top: 1rem; right: 1rem;
    background: #7B2D3B; color: #fff; font-size: .6875rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: .3125rem .75rem; border-radius: 50px;
}
.plan-badge--blush { background: #F5D5D8; color: #7B2D3B; }
.plan-body { padding: 1.5rem; }
.plan-body h3 { font-size: 1.25rem; margin-bottom: 1rem; color: #1a1a1a; }
.plan-specs { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.plan-specs li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: #555; }
.plan-specs li svg { flex-shrink: 0; }

/* ── Amenities ── */
.amenities { background: #FFF5F6; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.amenity-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    border: 1px solid rgba(123,45,59,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(123,45,59,.1); }
.amenity-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #7B2D3B, #A84456);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.amenity-card h4 { font-size: 1.0625rem; margin-bottom: .5rem; color: #1a1a1a; }
.amenity-card p { font-size: .9375rem; color: #666; line-height: 1.6; }

/* ── Location ── */
.location { background: #fff; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.location-list { margin: 2rem 0; display: flex; flex-direction: column; gap: .875rem; }
.location-list li { display: flex; align-items: center; gap: .75rem; font-size: .9375rem; color: #333; }
.loc-icon { width: 36px; height: 36px; border-radius: 10px; background: #FFF5F6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.location-list a { color: #7B2D3B; font-weight: 700; }
.location-list a:hover { text-decoration: underline; }
.location-landmarks { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.landmark-chip {
    display: inline-flex; align-items: center; gap: .375rem;
    background: #7B2D3B; color: #F5D5D8; font-size: .8125rem; font-weight: 500;
    padding: .375rem .875rem; border-radius: 50px;
}
.location-map { border-radius: 16px; overflow: hidden; }
.map-link { display: block; position: relative; }
.map-link img { width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: 16px; }
.map-overlay {
    position: absolute; inset: 0; border-radius: 16px;
    background: rgba(123,45,59,.6);
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    color: #fff; font-weight: 700; font-size: 1rem;
    opacity: 0; transition: opacity .3s;
}
.map-link:hover .map-overlay { opacity: 1; }

/* ── Community ── */
.community { background: #7B2D3B; color: #fff; }
.community .section-label { color: #F5D5D8; }
.community .label-line { background: #F5D5D8; }
.community .section-title { color: #fff; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.community-card { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); transition: transform .3s ease; }
.community-card:hover { transform: translateY(-4px); }
.cc-visual { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.cc-body { padding: 1.5rem; }
.cc-body h4 { font-size: 1.125rem; margin-bottom: .5rem; color: #F5D5D8; }
.cc-body p { font-size: .9375rem; color: rgba(255,255,255,.75); line-height: 1.65; }

/* ── CTA ── */
.cta {
    position: relative; padding: 6rem 0; overflow: hidden;
    background: linear-gradient(135deg, #5C1A26 0%, #7B2D3B 50%, #A84456 100%);
}
.cta-shape { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta-shape--1 { width: 400px; height: 400px; background: #F5D5D8; opacity: .12; top: -15%; right: -5%; }
.cta-shape--2 { width: 250px; height: 250px; background: #fff; opacity: .08; bottom: -10%; left: 10%; }
.cta-shape--3 { width: 150px; height: 150px; background: #F5D5D8; opacity: .1; top: 50%; left: 40%; }
.cta-content { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-title { font-size: clamp(2rem, 4.5vw, 3.25rem); color: #fff; margin-bottom: 1rem; }
.cta-desc { font-size: 1.0625rem; color: rgba(255,255,255,.8); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Modal ── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(92,26,38,.6); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.modal-overlay[hidden] { display: none; }
.modal {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    max-width: 520px; width: 100%; position: relative;
    box-shadow: 0 24px 64px rgba(92,26,38,.3);
    animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: #FFF5F6; border: none; border-radius: 50%;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s; color: #7B2D3B;
}
.modal-close:hover { background: #F5D5D8; }
.modal-header { margin-bottom: 1.5rem; }
.modal-header h3 { font-size: 1.5rem; color: #7B2D3B; margin-bottom: .375rem; }
.modal-header p { font-size: .9375rem; color: #666; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-group label { font-size: .8125rem; font-weight: 700; color: #1a1a1a; }
.form-group input, .form-group select, .form-group textarea {
    font-family: 'DM Sans', sans-serif; font-size: .9375rem;
    padding: .625rem .875rem; border: 1.5px solid #e0d0d2; border-radius: 10px;
    color: #1a1a1a; background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #7B2D3B;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #bbb; }
.form-success { text-align: center; padding: 1rem 0; }
.success-icon { margin-bottom: 1rem; }
.form-success h4 { font-size: 1.375rem; color: #7B2D3B; margin-bottom: .5rem; }
.form-success p { font-size: .9375rem; color: #555; margin-bottom: .5rem; }
.success-phone { font-size: .875rem; color: #888; }
.success-phone a { color: #7B2D3B; font-weight: 700; }

/* ── Footer ── */
.site-footer { background: #1a1a1a; color: rgba(255,255,255,.65); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-tagline { font-size: .9375rem; margin-top: 1rem; max-width: 280px; line-height: 1.6; }
.footer-links h5, .footer-contact h5 { color: #F5D5D8; font-family: 'DM Sans', sans-serif; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .9375rem; transition: color .2s; }
.footer-links a:hover { color: #F5D5D8; }
.footer-contact address { font-style: normal; font-size: .9375rem; line-height: 1.7; }
.footer-contact a { color: #F5D5D8; font-weight: 700; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; font-size: .8125rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .location-grid { grid-template-columns: 1fr; }
    .location-map { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    #mainNav {
        position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 1.5rem 2rem 2rem;
        gap: 1rem; border-bottom: 2px solid #F5D5D8;
        box-shadow: 0 12px 32px rgba(123,45,59,.1);
        transform: translateY(-120%); opacity: 0;
        transition: transform .35s ease, opacity .35s ease;
        pointer-events: none;
    }
    #mainNav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    #mainNav a:not(.btn) { font-size: 1.0625rem; }
    .hero-title br { display: none; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { width: 40px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (min-width: 769px) {
    .hero-title br { display: block; }
}

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