/* City Modal */
.city-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}
.city-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.6)}
.city-modal__content{position:relative;background:#fff;border-radius:16px;padding:3rem;max-width:500px;width:90%;max-height:80vh;overflow-y:auto;text-align:center}
.city-modal__title{font-size:1.75rem;font-weight:700;color:#1a1a2e;margin-bottom:0.5rem}
.city-modal__subtitle{color:#7a7a8a;font-size:0.95rem;margin-bottom:2rem}
.city-modal__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0.75rem}
.city-modal__btn{padding:1rem;border:2px solid #e8e8e8;border-radius:12px;background:#fff;font-size:1rem;font-weight:600;color:#1a1a2e;cursor:pointer;transition:all 0.2s;font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:0.5rem}
.city-modal__btn:hover{border-color:#e8604c;background:#fef0ee;color:#e8604c}
.city-modal__icon{font-size:1.75rem;line-height:1}
.city-modal__icon svg{width:28px;height:28px}

/* City Indicator */
.hero__city-indicator{font-size:0.9rem;color:#7a7a8a;margin-bottom:1.5rem;display:flex;align-items:center;gap:0.5rem}

/* Hero */
.hero{padding:140px 0 6rem;position:relative;overflow:hidden;background-color:#f9f8f6;background-image:linear-gradient(90deg,#f9f8f6 0%,rgba(249,248,246,0.95) 35%,rgba(249,248,246,0.55) 70%,rgba(249,248,246,0.3) 100%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='xMidYMax slice'><g fill='%23e8604c' opacity='0.22'><rect x='0' y='200' width='70' height='200'/><rect x='80' y='140' width='95' height='260'/><rect x='185' y='220' width='60' height='180'/><rect x='255' y='90' width='105' height='310'/><rect x='370' y='180' width='80' height='220'/><rect x='460' y='230' width='70' height='170'/><rect x='540' y='110' width='100' height='290'/><rect x='650' y='200' width='80' height='200'/><rect x='740' y='70' width='115' height='330'/><rect x='865' y='160' width='80' height='240'/><rect x='955' y='230' width='80' height='170'/><rect x='1045' y='180' width='85' height='220'/><rect x='1140' y='250' width='60' height='150'/></g><g fill='%23ffffff' opacity='0.35'><rect x='95' y='160' width='4' height='6'/><rect x='105' y='160' width='4' height='6'/><rect x='115' y='160' width='4' height='6'/><rect x='125' y='160' width='4' height='6'/><rect x='135' y='160' width='4' height='6'/><rect x='145' y='160' width='4' height='6'/><rect x='155' y='160' width='4' height='6'/><rect x='95' y='180' width='4' height='6'/><rect x='105' y='180' width='4' height='6'/><rect x='115' y='180' width='4' height='6'/><rect x='125' y='180' width='4' height='6'/><rect x='135' y='180' width='4' height='6'/><rect x='145' y='180' width='4' height='6'/><rect x='155' y='180' width='4' height='6'/><rect x='270' y='110' width='4' height='6'/><rect x='285' y='110' width='4' height='6'/><rect x='300' y='110' width='4' height='6'/><rect x='315' y='110' width='4' height='6'/><rect x='330' y='110' width='4' height='6'/><rect x='345' y='110' width='4' height='6'/><rect x='270' y='130' width='4' height='6'/><rect x='285' y='130' width='4' height='6'/><rect x='300' y='130' width='4' height='6'/><rect x='315' y='130' width='4' height='6'/><rect x='330' y='130' width='4' height='6'/><rect x='345' y='130' width='4' height='6'/><rect x='755' y='90' width='4' height='6'/><rect x='770' y='90' width='4' height='6'/><rect x='785' y='90' width='4' height='6'/><rect x='800' y='90' width='4' height='6'/><rect x='815' y='90' width='4' height='6'/><rect x='830' y='90' width='4' height='6'/><rect x='755' y='110' width='4' height='6'/><rect x='770' y='110' width='4' height='6'/><rect x='785' y='110' width='4' height='6'/><rect x='800' y='110' width='4' height='6'/><rect x='815' y='110' width='4' height='6'/><rect x='830' y='110' width='4' height='6'/></g></svg>");background-position:center center,center bottom;background-size:cover,100% auto;background-repeat:no-repeat,no-repeat}
.hero__inner{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hero__content{position:relative;z-index:2}
.hero__title{font-size:3.5rem;line-height:1.1;margin-bottom:1.5rem;color:#1a1a2e;font-weight:700}
.hero__subtitle{color:#7a7a8a;font-size:1.05rem;margin-bottom:3rem;max-width:480px}
.hero__visual{position:relative}
.hero__image{border-radius:16px;overflow:hidden;height:480px;background:linear-gradient(135deg,#f0e6d3,#d4c4a8);position:relative}
.hero__image img{width:100%;height:100%;object-fit:cover}
.hero__badge{position:absolute;top:2rem;right:2rem;background:#fff;border-radius:12px;padding:1rem 1.5rem;box-shadow:0 4px 12px rgba(0,0,0,.08);text-align:center}
.hero__badge .badge-value{font-size:1.75rem;font-weight:700;color:#e8604c}
.hero__badge .badge-label{font-size:.75rem;color:#7a7a8a}

/* Search */
.search{background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.1);overflow:hidden;margin-top:3rem}
.search__tabs{display:flex;background:#1a1a2e;overflow-x:auto}
.search__tab{flex:1;padding:1rem 1.5rem;font-weight:500;font-size:.85rem;color:hsla(0,0%,100%,.6);background:transparent;border:none;cursor:pointer;transition:all .2s ease;white-space:nowrap;font-family:inherit}
.search__tab:hover{color:hsla(0,0%,100%,.9)}
.search__tab.is-active{background:#e8604c;color:#fff}
.search__form{padding:1.5rem}
.search__fields{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;align-items:end}
.search__field{display:flex;flex-direction:column;gap:.25rem}
.search__label{font-size:.75rem;font-weight:600;color:#7a7a8a;text-transform:uppercase;letter-spacing:.5px}
.search__input,.search__select{padding:.65rem 1rem;border:1.5px solid #e8e8e8;border-radius:8px;font-size:.9rem;color:#4a4a5a;background-color:#fff;transition:border-color .2s ease;font-family:inherit}
.search__input:focus,.search__select:focus{outline:none;border-color:#e8604c}
.search__submit{width:100%;padding:.65rem}

/* Section */
.section{padding:8rem 0}
.section--dark{background-color:#1a1a2e;color:#fff}
.section--dark h2,.section--dark h3,.section--dark h4{color:#fff}
.section--gray{background-color:#f9f8f6}
.section__header{margin-bottom:4rem}
.section__title{margin-bottom:.5rem;font-size:2rem;font-weight:700;color:#1a1a2e}
.section__subtitle{color:#7a7a8a;font-size:1rem;max-width:540px}
.section__header--center{text-align:center}
.section__header--center .section__subtitle{margin:0 auto}

/* Stats */
.stats{padding:6rem 0;background-color:#fff}
.stats__inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center}
.stats__numbers{display:flex;flex-direction:column;gap:2rem}
.stat-item{display:flex;align-items:baseline;gap:1rem}
.stat-item__value{font-size:3.5rem;font-weight:700;color:#1a1a2e;line-height:1}
.stat-item__label{font-size:.9rem;color:#7a7a8a}
.stats__testimonial{background:#f9f8f6;border-radius:16px;padding:4rem;position:relative}
.stats__quote{font-size:1.75rem;line-height:1.4;color:#1a1a2e;margin-bottom:2rem;font-weight:600}
.stats__quote em{color:#e8604c;font-style:italic}
.stats__author{display:flex;align-items:center;gap:1rem}
.stats__author-avatar{width:48px;height:48px;border-radius:9999px;background:#e8e8e8;overflow:hidden}
.stats__author-name{font-weight:600;color:#1a1a2e;font-size:.95rem}
.stats__author-role{font-size:.8rem;color:#7a7a8a}

/* Listings */
.listings__header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:4rem}
.listings__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.listings__tabs{display:flex;gap:0.5rem;margin-bottom:0.5rem}
.listings__tab{padding:0.5rem 1.1rem;border:1px solid #e8e8e8;background:#fff;border-radius:999px;font-size:0.875rem;cursor:pointer;font-family:inherit;color:#4a4a5a;transition:all 0.15s ease}
.listings__tab:hover{border-color:#e8604c;color:#e8604c}
.listings__tab.is-active{background:#e8604c;color:#fff;border-color:#e8604c}
.listings__footer{display:flex;justify-content:center;margin-top:2.5rem}
.listing-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:all .2s ease;text-decoration:none;color:inherit;display:block}
.listing-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px rgba(0,0,0,.08)}
.listing-card__image{position:relative;height:220px;background-color:#e8e8e8;overflow:hidden}
.listing-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.listing-card:hover .listing-card__image img{transform:scale(1.05)}
.listing-card__badge{position:absolute;top:1rem;left:1rem;padding:.25rem 1rem;background-color:#e8604c;color:#fff;font-size:.75rem;font-weight:600;border-radius:9999px;text-transform:uppercase;letter-spacing:.3px}
.listing-card__body{padding:1.5rem}
.listing-card__price{font-size:1.35rem;font-weight:700;color:#1a1a2e;margin-bottom:.25rem}
.listing-card__title{font-size:.95rem;font-weight:500;color:#4a4a5a;margin-bottom:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listing-card__location{font-size:.85rem;color:#7a7a8a;margin-bottom:1rem;display:flex;align-items:center;gap:.25rem}
.listing-card__features{display:flex;gap:1.5rem;padding-top:1rem;border-top:1px solid #e8e8e8}
.listing-card__feature{font-size:.8rem;color:#7a7a8a;display:flex;align-items:center;gap:.25rem}
.listing-card__feature strong{color:#1a1a2e;font-weight:600}

/* Features */
.features{background-color:#fff}
.features__inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center}
.features__image{position:relative;border-radius:16px;overflow:hidden;height:500px}
.features__image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#d4c4a8,#b8a88a);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem}
.features__content{max-width:480px}
.features__title{font-size:2.75rem;line-height:1.15;margin-bottom:1.5rem;color:#1a1a2e;font-weight:700}
.features__description{color:#7a7a8a;margin-bottom:4rem;line-height:1.7}
.features__list{display:flex;flex-direction:column;gap:1.5rem}
.feature-item{display:flex;align-items:flex-start;gap:1.5rem;padding:1.5rem;border-radius:12px;transition:all .2s ease;cursor:pointer}
.feature-item:hover{background:#f9f8f6}
.feature-item__icon{flex-shrink:0;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fef0ee;color:#e8604c;border-radius:8px;font-size:1.25rem}
.feature-item__title{font-size:1rem;font-weight:600;color:#1a1a2e;margin-bottom:.25rem}
.feature-item__text{font-size:.85rem;color:#7a7a8a;line-height:1.6}

/* Benefits */
.benefits__testimonial{text-align:center;max-width:600px;margin:0 auto 6rem}
.benefits__stars{color:#e8604c;font-size:1.25rem;margin-bottom:1rem;letter-spacing:2px}
.benefits__quote{font-size:1rem;color:#7a7a8a;font-style:italic}
.benefits__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem}
.step-card{text-align:center;padding:3rem 1.5rem;background:#fff;border-radius:16px;transition:all .2s ease}
.step-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}
.step-card__number{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fef0ee;color:#e8604c;border-radius:9999px;font-weight:700;font-size:1.1rem;margin:0 auto 1.5rem}
.step-card__title{font-size:1.05rem;font-weight:600;color:#1a1a2e;margin-bottom:.5rem}
.step-card__text{font-size:.85rem;color:#7a7a8a;line-height:1.6}

/* Help */
.help__inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center}
.help__content{max-width:480px}
.help__title{font-size:2.5rem;line-height:1.15;margin-bottom:1rem;color:#1a1a2e;font-weight:700}
.help__text{color:#7a7a8a;margin-bottom:3rem}
.help__stat-value{font-size:3rem;font-weight:700;color:#e8604c}
.help__stat-label{font-size:.85rem;color:#7a7a8a}
.help__features{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.help__feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#f9f8f6;border-radius:8px;margin-bottom:.5rem;font-size:1.25rem}
.help__feature-title{font-size:.85rem;font-weight:600;color:#1a1a2e}
.help__image{border-radius:16px;overflow:hidden;height:450px}
.help__image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#c4b396,#a89070);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem}

/* Testimonials */
.testimonials{background-color:#22223d}
.testimonials__inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center}
.testimonials__heading h2{color:#fff;font-size:2.75rem;line-height:1.15;font-weight:700}
.testimonials__heading h2 span{color:#e8604c;font-style:italic}
.testimonials__card{background:hsla(0,0%,100%,.06);border:1px solid hsla(0,0%,100%,.1);border-radius:16px;padding:4rem}
.testimonials__text{font-size:1.5rem;line-height:1.5;margin-bottom:2rem;color:hsla(0,0%,100%,.9);font-weight:500}
.testimonials__text span{color:#e8604c}
.testimonials__author{display:flex;align-items:center;gap:1rem}
.testimonials__author-avatar{width:48px;height:48px;border-radius:9999px;background:hsla(0,0%,100%,.15);overflow:hidden}
.testimonials__author-name{font-weight:600;font-size:.95rem}
.testimonials__author-role{font-size:.8rem;color:hsla(0,0%,100%,.5)}

/* FAQ */
.faq__inner{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start}
.faq__content{max-width:400px}
.faq__title{font-size:2.5rem;line-height:1.15;margin-bottom:1rem;color:#1a1a2e;font-weight:700}
.faq__text{color:#7a7a8a;margin-bottom:2rem}
.faq__list{display:flex;flex-direction:column;gap:.5rem}
.faq-item{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e8e8e8}
.faq-item__question{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;font-weight:500;font-size:.95rem;color:#1a1a2e;text-align:left;background:transparent;border:none;cursor:pointer;font-family:inherit;transition:color .2s ease}
.faq-item__question:hover{color:#e8604c}
.faq-item__icon{flex-shrink:0;font-size:1.25rem;transition:transform .2s ease}
.faq-item.is-open .faq-item__icon{transform:rotate(45deg)}
.faq-item__answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.is-open .faq-item__answer{max-height:300px}
.faq-item__answer-inner{padding:0 2rem 1.5rem;font-size:.9rem;color:#7a7a8a;line-height:1.7}

/* CTA */
.cta{background-color:#1a1a2e;padding:8rem 0;text-align:center;position:relative;overflow:hidden}
.cta__title{font-size:3rem;color:#fff;margin-bottom:1.5rem;max-width:500px;margin-left:auto;margin-right:auto;font-weight:700}
.cta__subtitle{color:hsla(0,0%,100%,.6);margin-bottom:3rem;font-size:1rem}
.btn--outline-white{border:2px solid hsla(0,0%,100%,.3);color:#fff;background:transparent;padding:.8rem 1.75rem;font-weight:600;font-size:.9rem;border-radius:9999px;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-flex;align-items:center}
.btn--outline-white:hover{background:#fff;color:#1a1a2e}

/* Developers */
.developers__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.developer-card{background:#fff;border:1px solid #e8e8e8;border-radius:16px;padding:2rem 1.5rem;text-align:center;transition:all .2s ease}
.developer-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}
.developer-card__icon{width:56px;height:56px;background:#f9f8f6;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:1.5rem;color:#e8604c}
.developer-card__name{font-size:1rem;font-weight:600;color:#1a1a2e;margin-bottom:.25rem}
.developer-card__count{font-size:.8rem;color:#7a7a8a}

/* Neighborhood cards */
.neighborhood-card{position:relative;border-radius:16px;overflow:hidden;height:180px;cursor:pointer;background:linear-gradient(135deg,#2a3a5c,#1a2a4c)}
.neighborhood-card:hover .neighborhood-card__bg{transform:scale(1.05)}
.neighborhood-card__bg{width:100%;height:100%;transition:transform .3s ease}
.neighborhood-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.6) 0%,transparent 60%)}
.neighborhood-card__info{position:absolute;bottom:0;left:0;right:0;padding:1.25rem;z-index:1;color:#fff}
.neighborhood-card__name{font-size:1.05rem;font-weight:600;color:#fff}
.neighborhood-card__count{font-size:.8rem;opacity:.85}

/* Cities grid */
.cities__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

/* Responsive */
@media(max-width:992px){
  .hero__inner{grid-template-columns:1fr;gap:3rem}
  .hero__visual{display:none}
  .stats__inner{grid-template-columns:1fr;gap:3rem}
  .listings__grid{grid-template-columns:repeat(2,1fr)}
  .listings__header{flex-direction:column;align-items:flex-start;gap:1rem}
  .features__inner{grid-template-columns:1fr;gap:3rem}
  .features__image{height:350px}
  .help__inner{grid-template-columns:1fr;gap:3rem}
  .help__image{height:300px}
  .testimonials__inner{grid-template-columns:1fr;gap:3rem}
  .faq__inner{grid-template-columns:1fr;gap:3rem}
  .cities__grid{grid-template-columns:repeat(3,1fr)}
  .developers__grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .cities__grid{grid-template-columns:repeat(2,1fr)}
  .developers__grid{grid-template-columns:repeat(2,1fr)}
  .hero__title{font-size:2.5rem}
  .hero{padding:100px 0 4rem}
  .search__fields{grid-template-columns:repeat(2,1fr)}
  .stat-item__value{font-size:2.5rem}
  .stats__quote{font-size:1.35rem}
  .features__title{font-size:2rem}
  .help__title{font-size:1.75rem}
  .faq__title{font-size:1.75rem}
  .testimonials__heading h2{font-size:2rem}
  .testimonials__text{font-size:1.15rem}
  .cta__title{font-size:2rem}
}
@media(max-width:576px){
  .search__fields{grid-template-columns:1fr}
  .listings__grid{grid-template-columns:1fr}
  .benefits__steps{grid-template-columns:1fr;gap:2rem}
  .help__features{grid-template-columns:1fr}
  .cities__grid{grid-template-columns:1fr 1fr}
  .developers__grid{grid-template-columns:1fr}
}
