/* v0.1.14 — visual identity: contemporary regional real estate, warm materials and a restrained Ingush architectural reference. */
:root {
  --ink: #19352b;
  --ink-soft: #38564a;
  --green: #245640;
  --green-dark: #173f32;
  --green-deep: #102f26;
  --mint: #e5ede4;
  --cream: #f7f4ec;
  --sand: #eee4d3;
  --gold: #c9a46b;
  --line: #e5e2d8;
  --muted: #78867d;
  --white: #fff;
  --danger: #a84236;
  --shadow: 0 22px 55px rgba(25, 53, 43, .095);
}

html { scroll-padding-top: 94px; }
body {
  background: #fbfaf7;
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: -.08px;
}
.container { width: min(1200px, calc(100% - 52px)); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(201, 164, 107, .8); outline-offset: 3px; }

/* Header and logo */
.site-header {
  height: 82px;
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(218, 220, 211, .82);
  box-shadow: 0 5px 22px rgba(30, 50, 39, .025);
}
.header-inner { gap: 36px; }
.brand { gap: 0; min-width: 242px; flex: 0 0 auto; }
.brand-logo { display: block; width: 218px; max-width: 100%; height: auto; object-fit: contain; }
.footer-brand-logo { display: block; width: 218px; max-width: 100%; height: auto; margin-bottom: 10px; object-fit: contain; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: grid; place-items: center;
  border-radius: 15px 15px 6px 6px;
  background: linear-gradient(145deg, #285d45, #143d30);
  color: #e3c38c;
  box-shadow: inset 0 0 0 1px rgba(236, 217, 176, .2), 0 7px 15px rgba(23, 63, 50, .16);
}
.brand-mark svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; letter-spacing: -.5px; }
.brand small { font-size: 10px; letter-spacing: .35px; color: #738176; margin-top: 2px; }
.main-nav { gap: 30px; }
.main-nav a, .login-link { font-size: 13px; color: #425a4c; font-weight: 700; position: relative; }
.main-nav a:after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -10px; background: var(--gold); transition: right .18s ease; }
.main-nav a:hover:after { right: 0; }
.header-actions { gap: 18px; }
.btn { border-radius: 11px; min-height: 44px; padding: 12px 19px; font-size: 13px; font-weight: 750; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #2b684d, #1d4c39); box-shadow: 0 7px 18px rgba(34, 83, 61, .19); }
.btn-primary:hover { background: linear-gradient(135deg, #317554, #174431); box-shadow: 0 10px 24px rgba(34, 83, 61, .24); }
.btn-light { background: #edf0e9; color: #294b3b; }
.btn-secondary { color: #1c4a36; background: #e5eee4; }
.btn-cream { background: #ead8b6; color: #274536; }
.link-button { color: #285c43; }

/* Hero: inviting home photography first, local heritage as a quiet detail. */
.hero {
  background: linear-gradient(115deg, #f9f7f1 0%, #f5f2e8 56%, #e9eee5 100%);
  position: relative;
  isolation: isolate;
}
.hero:before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(138, 116, 76, .028) 0 1px, transparent 1px 23px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 73%);
}
.hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(38px, 5.4vw, 78px); min-height: 535px; padding-block: 64px 60px; }
.hero-copy { max-width: 700px; }
.eyebrow { color: #71846f; font-size: 10px; letter-spacing: 1.55px; font-weight: 800; }
.hero .eyebrow { padding: 8px 12px; border: 1px solid rgba(190, 166, 121, .35); background: rgba(255,255,255,.56); border-radius: 99px; letter-spacing: 1.3px; }
.hero .eyebrow:before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: #b68d54; box-shadow: 0 0 0 4px rgba(182, 141, 84, .12); }
.hero h1, .auth-aside h1 {
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.8vw, 65px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.75px;
  margin: 22px 0 19px;
  color: #19392c;
}
.hero h1 em { color: #8a6a3d; font-style: normal; }
.hero-copy > p { max-width: 490px; color: #647469; font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.search-panel {
  grid-template-columns: 1.45fr .86fr 1.12fr auto;
  max-width: 780px;
  padding: 8px;
  gap: 2px;
  border: 1px solid rgba(222, 221, 210, .95);
  border-radius: 17px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 34px rgba(44, 60, 43, .09);
}
.search-panel label { padding: 8px 12px; gap: 6px; border-color: #ecebe4; }
.search-panel label span { font-size: 10px; color: #728175; letter-spacing: .15px; }
.search-panel input, .search-panel select { color: #254535; font-size: 12px; }
.search-panel input::placeholder { color: #9ba69c; }
.search-submit { min-height: 49px; border-radius: 12px; padding-inline: 20px; }
.hero-footnote { margin-top: 17px; gap: 10px; color: #738077; font-size: 11px; }
.status-dot { width: 7px; height: 7px; background: #ba9459; box-shadow: 0 0 0 4px rgba(186,148,89,.13); }
.hero-art { height: 385px; min-width: 0; position: relative; isolation: isolate; }
.hero-photo {
  inset: 2px 14px 8px 28px;
  border-radius: 22px 104px 22px 22px;
  background: linear-gradient(180deg, rgba(24, 56, 40, .025) 38%, rgba(18, 46, 32, .22) 100%), url('../images/ingushetia-hero-house.jpg') center/cover no-repeat;
  box-shadow: 0 24px 54px rgba(31, 53, 38, .16);
}
.hero-art-outline { position: absolute; inset: -9px 3px 0 19px; border: 1px solid rgba(160, 130, 81, .34); border-radius: 26px 113px 26px 26px; pointer-events: none; }
.hero-tower-ornament { position: absolute; z-index: 1; width: min(57%, 250px); height: auto; right: 4px; bottom: 6px; opacity: .44; filter: drop-shadow(0 4px 9px rgba(248,244,233,.18)); }
.hero-bubble { z-index: 2; border: 1px solid rgba(233, 231, 218, .88); box-shadow: 0 13px 28px rgba(30, 48, 35, .12); padding: 12px 15px; border-radius: 13px; gap: 10px; }
.hero-bubble > span:first-child { width: 38px; height: 38px; border-radius: 11px; background: #edf2e8; color: #326248; }
.bubble-tower svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.hero-bubble strong { color: #233f30; font-size: 12px; }
.hero-bubble small { color: #7d8b7f; font-size: 10px; }
.bubble-top { left: -16px; top: 48px; }
.bubble-bottom { right: -4px; bottom: 24px; }
.hero-bubble .bubble-icon { background: #f4ead8; color: #8c6b37; }
.hero-stamp { width: 86px; height: 86px; right: -7px; top: 0; border-color: rgba(183, 145, 83, .65); background: rgba(249, 247, 239, .92); color: #8c6f3f; font-size: 8px; letter-spacing: 1.1px; }
.hero-locality-badge {
  position: absolute; left: -13px; bottom: 31px; z-index: 3; display: flex; align-items: center; gap: 10px;
  max-width: 230px; border: 1px solid rgba(230, 226, 210, .92); padding: 11px 14px 11px 10px;
  border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 12px 28px rgba(26, 46, 32, .14); backdrop-filter: blur(10px);
}
.hero-tower-icon { width: 37px; height: 39px; flex: 0 0 37px; display: grid; place-items: center; border-radius: 10px; background: #eef1e7; color: #947649; }
.hero-tower-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.hero-locality-badge strong { display: block; color: #244632; font-size: 11px; }
.hero-locality-badge small { display: block; margin-top: 3px; color: #7e8c80; font-size: 9px; }

/* Catalog and categories */
.section { padding-block: 66px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 37px); font-weight: 500; letter-spacing: -.8px; color: #1b3b2d; margin-top: 8px; }
.section-heading > p { color: #748178; font-size: 12px; line-height: 1.8; }
.deal-panels { gap: 22px; }
.panel-decoration { display: none; }
.deal-panel {
  min-height: 270px; padding: 29px 30px; border-radius: 22px; border: 1px solid rgba(200, 207, 191, .7); isolation: isolate;
  box-shadow: 0 10px 28px rgba(31, 57, 40, .035); isolation: isolate;
}
.deal-panel:after { content: ""; position: absolute; z-index: -1; right: -34px; bottom: -38px; width: 220px; height: 165px; background: url("../images/ingush-tower-ornament.svg") center/contain no-repeat; opacity: .15; pointer-events: none; }
.rent-panel { background: linear-gradient(135deg, #e9f0e7, #e2eade); }
.sale-panel { background: linear-gradient(135deg, #f4ecdd, #efe5d3); border-color: rgba(213, 198, 172, .86); }
.deal-panel-heading { align-items: center; }
.deal-kicker { font-size: 9px; letter-spacing: 1.15px; color: #708475; }
.deal-panel h3 { font-family: Georgia, "Times New Roman", serif; font-size: 35px; font-weight: 500; letter-spacing: -.9px; margin-top: 6px; }
.deal-symbol { width: 40px; height: 40px; background: rgba(255,255,255,.5); border-color: rgba(49, 91, 63, .2); color: #356147; transition: transform .18s ease, background .18s ease; }
.deal-panel:hover .deal-symbol { transform: translate(2px,-2px); background: rgba(255,255,255,.82); }
.listing-intent-links { gap: 10px; margin-top: 20px; }
.intent-link { padding: 10px 14px; border: 1px solid rgba(54, 90, 60, .17); border-radius: 10px; background: rgba(255,255,255,.76); color: #24553d; font-size: 11px; font-weight: 800; box-shadow: 0 3px 8px rgba(38, 61, 38, .025); }
.intent-link:hover { color: #fff; background: #285a40; border-color: #285a40; }
.intent-link span { color: #9b7b46; }
.intent-link:hover span { color: #f1d8a9; }
.category-links { margin-top: 24px; max-width: 490px; gap: 11px 24px; }
.category-links a { font-size: 12px; color: #485e4d; border-bottom-color: rgba(55, 86, 59, .15); padding-bottom: 9px; }
.category-links a span { color: #9f875e; }
.category-links a:hover { color: #916c36; }

/* Listing cards — photography and price are the primary scan targets. */
.listings-section { padding-top: 3px; }
.listing-heading { margin-bottom: 19px; }
.result-count { background: #f0f1e9; color: #65786a; border: 1px solid #e4e5d9; padding: 8px 13px; }
.listing-intent-tabs { margin: 0 0 27px; padding: 7px; width: fit-content; max-width: 100%; border: 1px solid #e3e4d9; border-radius: 14px; background: #f2f1e9; gap: 6px; }
.listing-intent-tabs a { border: 1px solid transparent; border-radius: 10px; padding: 10px 15px; color: #607164; background: transparent; font-size: 11px; }
.listing-intent-tabs a:hover { color: #234d37; background: rgba(255,255,255,.72); border-color: #e2e4d9; }
.listing-intent-tabs a.active { background: #245640; color: #fff; border-color: #245640; box-shadow: 0 4px 10px rgba(29, 75, 51, .16); }
.listing-grid { gap: 22px; }
.listing-card { border: 1px solid #e6e4da; border-radius: 18px; box-shadow: 0 5px 18px rgba(35, 50, 37, .035); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(30, 54, 37, .11); border-color: #d8ddcf; }
.featured-card { border-color: #d5b77e; box-shadow: 0 7px 23px rgba(173, 135, 67, .08); }
.listing-image { height: 225px; background: #e4e9df; }
.listing-image img { transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.image-placeholder { background: linear-gradient(135deg,#edf1e8,#dce5d8); color: #839985; }
.image-placeholder span { font-family: Georgia, serif; font-size: 54px; }
.image-placeholder small { color: #738775; }
.featured-tag { top: 13px; left: 13px; border: 1px solid rgba(178, 141, 76, .22); background: #f5e6c7; color: #77582a; border-radius: 7px; padding: 6px 9px; }
.image-category { bottom: 13px; left: 13px; border: 1px solid rgba(255,255,255,.45); background: rgba(249, 249, 243, .94); border-radius: 7px; color: #2d533d; padding: 6px 9px; }
.listing-body { padding: 18px 18px 17px; }
.listing-price { color: #1e4632; font-size: 23px; letter-spacing: -.75px; }
.listing-price small { font-size: 11px; }
.listing-title { color: #243f30; font-size: 14px; margin: 8px 0 7px; }
.listing-title:hover { color: #8c6b3d; }
.listing-location { color: #748277; line-height: 1.6; }
.listing-meta { border-top-color: #eeeae0; color: #748176; padding-top: 13px; }
.empty-state { background: #f7f6f0; border: 1px dashed #d6dbcf; border-radius: 20px; }
.empty-state h3 { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 500; }

/* CTA and footer create a confident finish without aggressive sales language. */
.cta-band { background: linear-gradient(115deg, #173f32, #245941); border: 1px solid rgba(210, 190, 143, .23); border-radius: 22px; padding: 38px 42px; box-shadow: 0 18px 38px rgba(20, 55, 39, .1); }
.cta-band .eyebrow { color: #d9c69d; }
.cta-band h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 32px; letter-spacing: -.6px; }
.cta-band p { color: #d2dfd2; line-height: 1.7; }
.cta-mark { right: 175px; top: -58px; font-size: 260px; color: rgba(255,255,255,.04); }
.site-footer { background: #14372d; border-top: 0; color: #f0f1e8; padding: 0 0 27px; position: relative; overflow: hidden; }
.footer-geometric-rule { height: 7px; margin-bottom: 24px; opacity: .6; background: url("../images/ingush-geometric-border.svg") repeat-x left center / 60px 10px; }
.footer-inner { align-items: center; }
.footer-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 600; color: #fff8eb; }
.footer-brand p { margin: 5px 0 3px; color: #d4dfd4; font-size: 12px; }
.footer-brand small { color: #b7c9bb; font-size: 10px; }
.footer-note { color: #b7c9bb; font-size: 10px; line-height: 1.8; max-width: 370px; }

/* Inner pages: consistent paper surfaces, calm spacing and visible actions. */
.page-section, .form-page { padding-block: 44px 76px; }
.back-link { color: #7b877d; font-size: 12px; margin-bottom: 22px; }
.back-link:hover { color: #946f3b; }
.detail-layout { gap: 34px; grid-template-columns: minmax(0,1fr) 340px; }
.detail-gallery { gap: 12px; }
.detail-gallery img { border-radius: 15px; height: 245px; }
.detail-gallery img:only-child { height: 455px; border-radius: 20px; }
.detail-placeholder { border-radius: 18px; background: linear-gradient(135deg,#e9eee4,#dce5d9); }
.detail-description { padding-top: 28px; }
.detail-description h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.7px; font-size: clamp(31px,3.5vw,43px); color: #193c2c; }
.detail-description h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 25px; }
.detail-facts { flex-wrap: wrap; gap: 26px; border-color: #e5e2d8; }
.detail-facts strong { color: #254834; font-size: 15px; }
.detail-facts small { font-size: 10px; color: #77877a; }
.description-text { color: #566b5c; font-size: 14px; line-height: 1.95; }
.contact-card { background: #fff; border: 1px solid #e6e3d9; border-radius: 19px; padding: 26px; box-shadow: 0 13px 33px rgba(29, 53, 37, .07); }
.detail-price { font-family: Georgia, "Times New Roman", serif; font-size: 32px; letter-spacing: -.6px; color: #1d4632; }
.contact-separator { background: #eae7de; }
.contact-label { color: #809083; font-size: 10px; letter-spacing: .25px; }
.contact-person { color: #264632; }
.contact-phone { font-size: 19px; color: #245a40; }
.privacy-note { color: #758176; line-height: 1.75; border-top-color: #e8e6dd; }

.form-shell { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: clamp(25px, 4.5vw, 62px); }
.form-intro {
  padding: 34px 29px; top: 105px; border-radius: 22px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(145deg, #1d4a38, #13372c); box-shadow: 0 17px 38px rgba(23, 63, 50, .12);
}
.form-intro:after { content: ""; position: absolute; z-index: -1; right: -67px; bottom: -36px; width: 250px; height: 190px; background: url("../images/ingush-tower-ornament.svg") center/contain no-repeat; opacity: .2; }
.form-intro .eyebrow { color: #d8c298; }
.form-intro h1 { font-family: Georgia, "Times New Roman", serif; font-size: 37px; line-height: 1.12; letter-spacing: -.8px; color: #fff9ed; }
.form-intro > p { color: #d4e0d4; line-height: 1.8; }
.form-step-note { position: relative; z-index: 1; gap: 12px; }
.form-step-note > span { background: rgba(245, 239, 222, .13); border: 1px solid rgba(234, 214, 173, .2); border-radius: 11px; color: #e1c68f; }
.form-step-note strong { color: #fff8ec; }
.form-step-note small { color: #c2d1c3; }
.form-card, .auth-card { border: 1px solid #e6e3d9; border-radius: 21px; padding: clamp(22px, 3vw, 34px); background: #fff; box-shadow: 0 13px 38px rgba(30, 50, 34, .055); }
.form-card h2, .auth-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 26px; letter-spacing: -.4px; color: #1d402e; }
.form-subheading { font-family: Georgia, "Times New Roman", serif; font-size: 21px; color: #234631; border-color: #e9e5d9; }
.form-field label { color: #435b49; font-size: 12px; }
.form-field input, .form-field select, .form-field textarea, .auth-card input:not([type=hidden]) { border: 1px solid #dadfd4; border-radius: 10px; background: #fcfcf9; color: #244432; padding: 12px 13px; font-size: 13px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .auth-card input:focus { border-color: #709778; box-shadow: 0 0 0 4px rgba(56, 109, 73, .1); }
.field-help { color: #7f8c7f; font-size: 11px; line-height: 1.7; }
.field-error { color: #a84236; font-size: 11px; }
.form-field-choice { padding: 15px; background: #f7f8f2; border-color: #e2e4d9; border-radius: 13px; }
.consent-box { background: #f5f6ef; border: 1px solid #e4e6db; border-radius: 12px; }
.consent-info { border-left-color: #c9a46b; background: #faf8f1; color: #758174; }
.required-photo-field { background: #f8f8f2; border-color: #d6dfd0; border-radius: 13px; }
.photo-card { border-radius: 12px; border-color: #e4e5da; box-shadow: 0 5px 12px rgba(24, 54, 35, .04); }
.photo-card-main { border-color: #52805b; }
.photo-main-badge { background: rgba(24, 73, 49, .94); }
.photo-action { border-color: #e0e4d9; background: #f7f8f2; color: #315c40; }
.form-errors { border-radius: 11px; }

/* Authentication and personal account */
.auth-page { gap: clamp(30px, 6vw, 80px); }
.auth-aside { padding: 31px 32px; min-height: 395px; border-radius: 22px; background: linear-gradient(145deg, #1d4b38, #14382d); overflow: hidden; color: #fff; isolation: isolate; }
.auth-aside:after { content: ""; position: absolute; z-index: -1; right: -28px; bottom: -45px; width: 280px; height: 210px; background: url("../images/ingush-tower-ornament.svg") center/contain no-repeat; opacity: .23; }
.auth-aside .eyebrow { color: #d9c494; }
.auth-aside h1 { font-family: Georgia, "Times New Roman", serif; color: #fff9ed; font-weight: 500; letter-spacing: -.9px; font-size: 43px; }
.auth-aside p { color: #d1dfd3; line-height: 1.85; }
.auth-aside-mark { color: rgba(245, 234, 204, .055); }
.auth-card { justify-self: stretch; max-width: 470px; }
.auth-card .muted { color: #758479; }
.auth-switch a { color: #275940; }
.messages { padding-top: 15px; }
.message { border: 1px solid #d6e5d3; border-radius: 11px; background: #edf5e9; color: #2e613c; }
.message.warning { border-color: #e7d3a5; background: #fbf1db; color: #775c2b; }

.dashboard-page { padding-top: 48px; }
.dashboard-top h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 38px; letter-spacing: -.7px; color: #1c402f; }
.dashboard-top p { color: #78867b; }
.dashboard-stats { gap: 16px; }
.dashboard-stats > div { border: 1px solid #e4e3d8; border-radius: 15px; padding: 20px; background: #fff; box-shadow: 0 5px 16px rgba(30, 51, 33, .025); }
.dashboard-stats strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; color: #214833; }
.dashboard-stats span { color: #7e8b80; font-size: 11px; }
.dashboard-listing { background: #fff; border: 1px solid #e4e3d8; border-radius: 15px; padding: 14px; box-shadow: 0 4px 13px rgba(30, 51, 33, .025); }
.dashboard-thumb { border-radius: 10px; background: #edf0e7; }
.dashboard-listing-actions a, .dashboard-listing-actions button { font-size: 11px; color: #2c6446; font-weight: 750; }
.dashboard-listing-actions .danger-link { color: #a84236; }
.moderation-note { line-height: 1.6; }
.status-pill { padding: 5px 9px; border-radius: 7px; }

/* Responsive polish */
@media (max-width: 980px) {
  .container { width: min(100% - 40px, 900px); }
  .header-inner { gap: 20px; }
  .brand { min-width: 185px; }
  .brand-logo { width: 185px; }
  .footer-brand-logo { width: 205px; }
  .brand strong { font-size: 17px; }
  .hero-inner { grid-template-columns: minmax(0, 1.04fr) minmax(280px, .96fr); gap: 30px; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel label:nth-child(2) { border-right: 0; }
  .search-submit { min-height: 43px; }
  .hero h1 { font-size: clamp(40px, 5.2vw, 54px); }
  .hero-art { height: 340px; }
  .hero-bubble { padding: 10px 12px; }
  .bubble-top { left: -4px; }
  .form-shell { grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 30px, 560px); }
  .site-header { height: 70px; }
  .brand-logo { width: 160px; }
  .footer-brand-logo { width: 195px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-block: 38px 28px; }
  .hero h1 { font-size: clamp(37px, 8.3vw, 47px); line-height: 1.07; letter-spacing: -1.2px; margin-top: 19px; }
  .hero-copy > p { font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
  .search-panel { grid-template-columns: 1fr 1fr; border-radius: 15px; gap: 4px; }
  .search-panel label { padding: 9px 10px; }
  .search-panel label:first-child { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid #ecebe4; padding-bottom: 12px; }
  .search-panel label:nth-child(2) { border-right: 1px solid #ecebe4; }
  .search-submit { grid-column: 1/-1; min-height: 44px; }
  .hero-art { width: 100%; max-width: 490px; height: 280px; align-self: center; }
  .hero-photo { inset: 2px 10px 5px 20px; border-radius: 19px 80px 19px 19px; }
  .hero-art-outline { inset: -5px 2px 0 14px; border-radius: 22px 86px 22px 22px; }
  .hero-tower-ornament { width: 54%; right: 0; bottom: 2px; }
  .bubble-top { top: 20px; left: -2px; }
  .bubble-bottom { right: 0; bottom: 11px; }
  .hero-bubble { padding: 9px 10px; }
  .hero-bubble > span:first-child { width: 31px; height: 31px; }
  .hero-bubble strong { font-size: 10px; }
  .hero-bubble small { font-size: 9px; }
  .hero-locality-badge { left: -2px; bottom: 16px; padding: 8px 10px; gap: 7px; }
  .hero-tower-icon { width: 30px; height: 31px; flex-basis: 30px; }
  .hero-tower-icon svg { width: 25px; height: 25px; }
  .hero-locality-badge strong { font-size: 10px; }
  .hero-locality-badge small { font-size: 8px; }
  .section { padding-block: 43px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { max-width: none; }
  .deal-panels { grid-template-columns: 1fr; gap: 13px; }
  .deal-panel { min-height: auto; padding: 23px 21px; border-radius: 18px; }
  .deal-panel h3 { font-size: 30px; }
  .listing-intent-links { gap: 7px; }
  .intent-link { padding: 9px 11px; font-size: 10px; }
  .category-links { margin-top: 20px; gap: 10px 15px; }
  .category-links a { font-size: 11px; }
  .listing-intent-tabs { width: 100%; gap: 5px; flex-wrap: wrap; padding: 5px; margin-bottom: 19px; }
  .listing-intent-tabs a { padding: 9px 10px; font-size: 10px; flex: 0 0 auto; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .listing-image { height: 155px; }
  .listing-body { padding: 12px; }
  .listing-price { font-size: 18px; }
  .listing-title { font-size: 12px; line-height: 1.4; }
  .listing-meta { gap: 8px; flex-wrap: wrap; font-size: 9px; }
  .cta-band { margin-bottom: 42px; padding: 25px; border-radius: 18px; flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 27px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-sidebar { position: static; order: -1; }
  .contact-card { padding: 21px; }
  .detail-gallery img { height: 165px; }
  .detail-gallery img:only-child { height: 280px; }
  .detail-description { padding-top: 9px; }
  .detail-description h1 { font-size: 32px; }
  .detail-facts { gap: 18px 24px; }
  .form-shell, .auth-page { grid-template-columns: 1fr; gap: 18px; }
  .form-intro { position: relative; top: auto; padding: 24px 22px; }
  .form-intro h1 { font-size: 32px; }
  .form-step-note { margin-top: 17px; }
  .form-card, .auth-card { padding: 22px 18px; }
  .auth-page { padding-block: 26px 45px; min-height: auto; }
  .auth-aside { min-height: auto; padding: 23px; }
  .auth-aside h1 { font-size: 33px; margin-top: 9px; }
  .auth-aside p { font-size: 12px; }
  .auth-card { max-width: none; }
  .dashboard-top { align-items: flex-start; flex-direction: column; gap: 15px; }
  .dashboard-top h1 { font-size: 31px; }
  .dashboard-stats { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .dashboard-stats > div { padding: 14px 16px; }
  .dashboard-listing { grid-template-columns: 75px minmax(0,1fr); gap: 12px; }
  .dashboard-thumb { height: 77px; }
  .dashboard-listing-actions { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 9px 13px; }
  .dashboard-listing-info .listing-title { font-size: 12px; }
}
@media (max-width: 390px) {
  .brand-logo { width: 140px; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-image { height: 205px; }
  .category-links { grid-template-columns: 1fr; }
  .hero h1 { font-size: 35px; }
  .hero-locality-badge { left: 0; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
