body { background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 30%); min-height: 100vh; }
.hero.is-soft { background: linear-gradient(135deg, #17324d 0%, #1f6feb 54%, #00a884 100%); border-radius: 1.25rem; box-shadow: 0 18px 45px rgba(31, 111, 235, 0.22); overflow: hidden; }
.hero.is-soft .hero-body { padding: 2rem; }
.homepage-hero .hero-body { padding: 1.35rem 2rem; }
.hero.is-soft .title, .hero.is-soft .subtitle, .hero.is-soft a { color: white; }
.hero.is-soft .subtitle { opacity: 0.9; }
.hero-search { max-width: 840px; }
.hero-search .input, .hero-search .button { border: 0; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16); }
#building-map { min-height: 400px; border-radius: 1rem; overflow: hidden; box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12); }
#building-detail-map { min-height: 280px; border-radius: 1rem; overflow: hidden; }
.numbered-marker { width: 2rem; height: 2rem; border-radius: 999px; background: #1f6feb; color: white; border: 3px solid white; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28); display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.detail-shell { background: white; border: 1px solid #e7ecf3; border-radius: 1rem; box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08); overflow: hidden; }
.detail-main { padding: 2rem; }
.contact-list { display: grid; gap: 0.85rem; }
.contact-row { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem; border: 1px solid #edf1f7; border-radius: 0.85rem; background: #fbfcff; }
.contact-row .icon { color: #1f6feb; margin-top: 0.15rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.detail-actions .button { border-radius: 999px; }
.favorite-button { color: #e11d48; border-radius: 999px; }
.favorite-button:hover { color: #be123c; background: #fff1f2; }
.stars { color: #f59e0b; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.75rem; border: 1px solid #edf1f7; }
.photo-input-status { font-size: 0.9rem; color: #4a5568; }
.review-tag-toggle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 0.65rem; }
.review-tag-toggle { min-height: 4.7rem; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.35rem; padding: 0.75rem 0.55rem; border: 1px solid #dce5f1; border-radius: 0.75rem; background: #fbfcff; color: #1f2937; text-align: center; font-size: 0.86rem; font-weight: 700; line-height: 1.15; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease; }
.review-tag-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.review-tag-toggle:hover { border-color: #8bb5f8; box-shadow: 0 10px 20px rgba(31, 111, 235, 0.11); transform: translateY(-1px); }
.review-tag-toggle:has(input:focus-visible) { outline: 3px solid rgba(31, 111, 235, 0.28); outline-offset: 2px; }
.review-tag-toggle:has(input:checked) { border-color: #1f6feb; background: #eef6ff; color: #174ea6; box-shadow: inset 0 0 0 1px rgba(31, 111, 235, 0.18), 0 12px 24px rgba(31, 111, 235, 0.14); }
.review-tag-toggle-icon { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 999px; background: white; color: #1f6feb; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1); }
.review-tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: -0.35rem 0 0.85rem; }
.review-tag { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.28rem 0.55rem; border-radius: 999px; background: #eef6ff; color: #174ea6; font-size: 0.78rem; font-weight: 700; }
.review-tag .icon { width: 1rem; height: 1rem; font-size: 0.75rem; }
.review-form-box { scroll-margin-top: 1.5rem; }
.review-field-label { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.review-optional-tag { flex: none; font-size: 0.7rem; padding: 0.1rem 0.4rem; }
.pro-promo { border: 1px solid #cfe0ff; background: linear-gradient(135deg, #f5f9ff, #ffffff); box-shadow: 0 16px 34px rgba(31, 111, 235, 0.08); }
.pro-home-cta { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr); gap: 2rem; padding: 2.5rem; border-radius: 1.25rem; background: linear-gradient(135deg, #102f56, #1d63bd); color: white; box-shadow: 0 22px 48px rgba(17, 58, 105, 0.24); }
.pro-home-copy h2 { margin: 0.5rem 0 1rem; color: white; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.pro-home-copy > p { max-width: 42rem; font-size: 1.08rem; line-height: 1.55; opacity: 0.92; }
.pro-home-kicker { color: #f9cf6b; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; }
.pro-home-perks { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.pro-home-perks span { padding: 0.45rem 0.7rem; border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; font-size: 0.88rem; }
.pro-home-offer { align-self: center; padding: 1.5rem; border-radius: 1rem; background: #ffffff; color: #1f2937; box-shadow: 0 12px 28px rgba(5, 29, 61, 0.22); }
.pro-home-offer .title { color: #17324d; }
.pro-home-offer .button { width: 100%; height: auto; min-height: 2.5em; white-space: normal; line-height: 1.2; }
@media screen and (max-width: 768px) { #building-map { min-height: 340px; } .pro-home-cta { grid-template-columns: 1fr; padding: 1.5rem; } }
.pro-hero { border-radius: 1rem; background: linear-gradient(135deg, #12345b, #1f6feb); color: white; padding: 2.5rem; }
.pro-hero .title, .pro-hero .subtitle { color: white; }
.pro-benefit { height: 100%; border: 1px solid #e2eaf5; }
.pro-nav-link { font-weight: 800; color: #174ea6; }
.pro-nav-icon { color: #d97706; }
.pro-review-reward { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid #f4d58d; border-radius: 0.85rem; background: linear-gradient(135deg, #fff9e8, #ffffff); color: #7c4a03; }
.pro-review-reward .icon { color: #d97706; }
.pro-review-reward a { color: #174ea6; text-decoration: none; }
.pro-review-reward a:hover { text-decoration: underline; }
.pro-free-offer { display: flex; align-items: center; gap: 1.5rem; padding: 2.25rem; border: 1px solid #f1cf7c; border-radius: 1rem; background: linear-gradient(135deg, #fff8e4, #ffffff 65%); box-shadow: 0 18px 38px rgba(217, 119, 6, 0.1); }
.pro-free-offer-icon { width: 4rem; height: 4rem; flex: none; display: grid; place-items: center; border-radius: 999px; background: #fff; color: #d97706; font-size: 1.65rem; box-shadow: 0 8px 22px rgba(217, 119, 6, 0.16); }
.pro-free-steps { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.pro-free-steps span { padding: 0.35rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.82); color: #5d3a05; font-size: 0.9rem; }
.pro-pricing-card { border: 1px solid #d5e3fa; }
.quiz-home-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.25rem; color: #fff; border-radius: 1.25rem; background: linear-gradient(120deg, #7c3aed, #2563eb); box-shadow: 0 18px 40px rgba(79, 70, 229, .2); }
.quiz-home-cta .title, .quiz-home-cta p { color: inherit; }
.quiz-home-cta > div { max-width: 46rem; }
.quiz-shell { max-width: 1050px; margin: 0 auto; }
.quiz-hero { padding: 2.5rem; border-radius: 1.25rem; color: #fff; background: radial-gradient(circle at top right, #38bdf8, transparent 36%), linear-gradient(135deg, #172554, #4c1d95); }
.quiz-hero .title, .quiz-hero .subtitle { color: #fff; }
.quiz-panel { margin-top: 1.5rem; padding: 1.5rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; box-shadow: 0 12px 30px rgba(15, 23, 42, .07); }
.quiz-progress { height: .55rem; margin: 1.15rem 0 0; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.22); }
.quiz-progress > span { display: block; height: 100%; border-radius: inherit; background: #fcd34d; transition: width .25s ease; }
.quiz-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.quiz-photo-option { position: relative; min-height: 180px; padding: 0; overflow: hidden; text-align: left; cursor: pointer; border: 2px solid transparent; border-radius: .85rem; background: #172554; color: #fff; box-shadow: 0 6px 16px rgba(15,23,42,.13); transition: transform .15s ease, border-color .15s ease; }
.quiz-photo-option:hover { transform: translateY(-2px); }
.quiz-photo-option.is-selected { border-color: #fcd34d; }
.quiz-photo-option img { width: 100%; height: 180px; display: block; object-fit: cover; opacity: .85; }
.quiz-photo-option span { position: absolute; right: .65rem; bottom: .55rem; left: .65rem; font-weight: 800; text-shadow: 0 1px 5px #000; }
.quiz-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.quiz-choice { display: flex; align-items: center; gap: .65rem; min-height: 3.3rem; padding: .8rem; border: 1px solid #dbe4f0; border-radius: .7rem; cursor: pointer; background: #fbfdff; font-weight: 700; }
.quiz-choice input { accent-color: #4f46e5; }
.quiz-neighborhoods { display: flex; flex-wrap: wrap; gap: .65rem; }
.quiz-neighborhood { border-radius: 999px; }
.quiz-ranked { margin-top: 1.25rem; }
.quiz-rank { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem; margin-bottom: .5rem; border: 1px solid #dbe4f0; border-radius: .65rem; }
.quiz-rank-number { display: inline-grid; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 999px; background: #ede9fe; color: #5b21b6; font-weight: 800; }
.quiz-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quiz-result-card { padding: 1.25rem; border-radius: .9rem; border: 1px solid #dae4f2; background: #fff; }
.quiz-result-card:first-child { border-color: #f5c451; box-shadow: 0 12px 28px rgba(217,119,6,.13); }
@media screen and (max-width: 768px) { .quiz-home-cta { align-items: flex-start; flex-direction: column; padding: 1.5rem; } .quiz-hero { padding: 1.5rem; } .quiz-results { grid-template-columns: 1fr; } }
@media screen and (max-width: 768px) { .pro-free-offer { align-items: flex-start; padding: 1.5rem; } }
