
:root{--text:#302c28;--muted:#675f57;--line:#e5ddd2;--soft:#f5f1ea;--accent:#8b715a;--dark:#221f1d;--white:#fff}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fcfbf8;line-height:1.65;font-size:17px}
img{max-width:100%;display:block} a{color:inherit;text-decoration:none}
.container{max-width:1140px;margin:0 auto;padding:0 22px}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:saturate(140%) blur(10px)}
.header-row{display:flex;align-items:center;gap:18px;padding:12px 22px}
.brand{display:flex;align-items:center;min-width:150px}.brand img{height:70px;width:auto;max-width:220px;object-fit:contain}
.main-nav{display:flex;flex-wrap:wrap;gap:10px 16px;margin-left:auto;align-items:center}
.nav-link{font-size:14px;color:#5b534b;padding:6px 0;border-bottom:2px solid transparent}.nav-link:hover,.nav-link.active{color:#111;border-bottom-color:var(--accent)}
.header-contact{background:var(--dark);color:#fff;border-radius:24px;padding:10px 18px;font-weight:700;white-space:nowrap}
.menu-toggle{display:none!important}
.hero{background:linear-gradient(180deg,#f5f1ea 0%,#faf8f4 100%);padding:60px 0 38px;border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:700}
.hero h1,.page-hero h1,.article-narrow h2,.section-title,.feed-title,.contact-card h2{font-family:Georgia,'Times New Roman',serif;color:#171412;line-height:1.12}
.hero h1{font-size:52px;margin:12px 0 10px}.hero-tag{display:inline-block;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#6d5a49;font-weight:700;border:1px solid var(--line);border-radius:20px;padding:5px 12px;background:#fff;margin-bottom:14px}
.hero p{max-width:620px}.hero-lead{font-size:23px;color:#3f3832;margin:0 0 12px}.hero-material{font-family:Georgia,'Times New Roman',serif;font-size:32px;color:#171412;margin:6px 0 6px}.hero-strong{font-size:22px;color:#1f1a16;margin:0}.hero-strong strong{letter-spacing:.04em}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-block;border-radius:28px;padding:12px 22px;font-weight:700}.btn.dark{background:#222;color:#fff}.btn.light{background:#fff;border:1px solid var(--line);color:#222}
.hero-collage{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hero-collage img{height:220px;width:100%;object-fit:cover;border-radius:14px;box-shadow:0 16px 34px rgba(0,0,0,.08)}.hero-collage img:first-child{grid-row:span 2;height:454px}
.feed-section{padding:60px 0}.section-title{font-size:34px;margin:0 0 26px}.feed-list{display:flex;flex-direction:column;gap:30px}
.feed-item{display:grid;grid-template-columns:260px 1fr;gap:30px;align-items:center;border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff;transition:.2s}.feed-item:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.07)}.feed-item:nth-child(even){grid-template-columns:1fr 260px}.feed-item:nth-child(even) .feed-thumb{order:2}.feed-thumb{height:210px;width:100%;object-fit:cover;border-radius:14px}.feed-title{font-size:28px;margin:0 0 8px;color:#111}.feed-desc{color:#555;margin:0 0 12px}.feed-link{font-weight:700;color:var(--accent);text-transform:uppercase;font-size:13px;letter-spacing:.04em}
.page-hero{background:var(--soft);padding:36px 0;border-bottom:1px solid var(--line)}.page-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:38px;align-items:center}.page-hero h1{font-size:42px;margin:14px 0}.page-hero p{font-size:20px;color:#555}.page-hero img{width:100%;height:320px;object-fit:cover;border-radius:16px}.back-link{display:inline-block;color:#666;font-weight:700;margin-bottom:8px}
.article-section{padding:46px 0}.article-narrow{max-width:900px}.article-narrow p{margin:0 0 18px}.article-narrow h2{font-size:30px;margin:34px 0 14px}.article-narrow h3{font-size:22px;margin:26px 0 8px;color:#1d1d1d}.article-narrow ul,.article-narrow ol{padding-left:24px;margin:0 0 20px}.article-narrow li{margin-bottom:8px}
.note{background:var(--soft);border-left:4px solid var(--accent);padding:18px 20px;border-radius:0 10px 10px 0;margin:24px 0}.quote{font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.4;color:#222}
.house-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:34px 0;background:#fff}.house-images{display:grid;grid-template-columns:1.1fr .9fr;gap:0;background:#eee}.house-images img{width:100%;height:320px;object-fit:cover}.house-images img.plan{object-fit:contain;background:#fafafa;padding:10px}.house-body{padding:24px}.house-body h2{margin-top:0}.badge{display:inline-block;background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:4px 10px;margin:0 8px 8px 0;font-weight:700;color:#5c5147;font-size:14px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;margin:24px 0;background:#fff}.heat-table{width:100%;border-collapse:collapse;font-size:15px;min-width:780px}.heat-table th,.heat-table td{border-bottom:1px solid #eee;padding:10px 12px;text-align:left;vertical-align:top}.heat-table th{background:var(--soft);font-weight:700;color:#333}.heat-table tr.group td{background:#fbfaf8;font-weight:700;color:#6b6258}.num{text-align:right;white-space:nowrap}
.contact-band{background:var(--soft);padding:50px 0;border-top:1px solid var(--line)}.contact-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:start}.contact-card h2{font-size:32px;margin:0 0 10px}.contact-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.contact-form input,.contact-form textarea{width:100%;border:1px solid #ddd;border-radius:8px;padding:13px 14px;margin-bottom:12px;font:inherit}.contact-form button{width:100%;border:0;border-radius:28px;background:#222;color:#fff;padding:14px 20px;font-weight:700;font-size:17px;cursor:pointer}.contact-form small{display:block;text-align:center;color:#777;margin-top:10px}.hidden-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.phone-box{display:inline-block;margin:18px 0 28px}.phone-box img{max-width:760px;width:100%;border-radius:18px}
.site-footer{background:#222;color:#eee;padding:28px 0}.footer-grid{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.footer-grid span{color:#bbb}.footer-links{display:flex;flex-direction:column;gap:8px;text-align:right}.footer-links a{color:#ddd;text-decoration:underline}.small-muted{color:var(--muted);font-size:15px}.accent-line{border-top:1px solid var(--line);padding-top:22px;margin-top:28px}

.form-note{color:#554b43;background:#faf8f4;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:16px 0 0}
.old-site-link-inline{font-weight:700;color:#5f432b;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.old-site-link{display:inline-block;background:#222;color:#fff!important;border-radius:24px;padding:10px 18px;font-weight:700;margin:4px 0 14px}
.price-answer{border-left-color:#222}
.plan-link{display:block;position:relative;background:#fafafa}
.plan-link::after{content:"увеличить";position:absolute;right:12px;bottom:10px;background:rgba(34,31,29,.82);color:#fff;border-radius:18px;padding:4px 10px;font-size:13px}
.plan-link:hover::after{background:#111}


.bottom-back{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}
.bottom-back a{font-weight:700;color:#5f432b;text-decoration:underline;text-underline-offset:3px}
.big-back{font-size:18px}
.plan-viewer{max-width:1180px}
.plan-viewer img{width:100%;height:auto;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px}
.emph-word{font-weight:900;background:#f0e6d8;border-radius:6px;padding:0 4px}


.feed-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.feed-item-static{cursor:default}
.old-feed-link{color:#3d332b}
.author-hero-img{object-fit:contain!important;object-position:center top!important;background:#f5f1ea}

@media(max-width:900px){.header-row{flex-wrap:wrap}.brand{min-width:auto}.brand img{height:58px;max-width:190px}.main-nav{order:5;width:100%;padding-top:10px;margin-left:0}.hero-grid,.page-hero-grid,.contact-card,.house-images{grid-template-columns:1fr}.hero h1{font-size:40px}.page-hero h1{font-size:34px}.hero-collage img,.hero-collage img:first-child{height:220px}.feed-item,.feed-item:nth-child(even){grid-template-columns:1fr}.feed-item:nth-child(even) .feed-thumb{order:0}.footer-grid{flex-direction:column}.footer-links{text-align:left}}
@media(max-width:560px){.page-hero img.author-hero-img{height:300px;object-fit:contain!important}body{font-size:16px}.container{padding:0 16px}.hero{padding-top:34px}.hero h1{font-size:34px}.hero-lead,.hero-strong,.page-hero p{font-size:18px}.hero-collage{grid-template-columns:1fr}.hero-collage img,.hero-collage img:first-child{height:220px}.form-row{grid-template-columns:1fr}.feed-title{font-size:24px}.page-hero img,.house-images img{height:240px}}

/* VS 1.6: мобильная шапка */
@media(max-width:760px){
  .site-header{position:static;top:auto;backdrop-filter:none}
  .header-row{flex-wrap:nowrap;justify-content:space-between;gap:12px;padding:10px 16px}
  .brand{min-width:auto;flex:0 1 auto}
  .brand img{height:46px;max-width:150px}
  .main-nav{display:none!important}
  .header-contact{flex:0 0 auto;border-radius:24px;padding:9px 16px;font-size:16px}
}


/* VS 1.7: мобильная шапка — принудительно */
@media screen and (max-width:900px){
  .site-header{position:static!important;top:auto!important;backdrop-filter:none!important}
  .site-header .header-row{flex-wrap:nowrap!important;justify-content:space-between!important;gap:12px!important;padding:10px 16px!important}
  .site-header .brand{min-width:auto!important;flex:0 1 auto!important}
  .site-header .brand img{height:46px!important;max-width:150px!important}
  .site-header .main-nav{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;padding:0!important;margin:0!important}
  .site-header .header-contact{flex:0 0 auto!important;border-radius:24px!important;padding:9px 16px!important;font-size:16px!important}
}

/* VS 1.9: цены и мобильное меню */
.price-intro{margin:18px 0 24px;background:#f7f2ea}
.price-intro p{margin:0}
.price-intro strong{font-size:18px}
.house-price{margin-top:18px;padding:16px 18px;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:14px;background:#fbf7ef}
.house-price-title{font-weight:800;margin:0 0 12px;color:#261e18}
.price-rows{display:grid;grid-template-columns:1.1fr auto;gap:7px 16px;align-items:end}
.price-label{color:#5c5147;font-size:15px;line-height:1.25}
.price-value{font-weight:900;font-size:26px;line-height:1;white-space:nowrap;color:#171412}
.price-examples-link a{text-decoration:underline;text-underline-offset:3px;color:#5f432b}

@media screen and (max-width:900px){
  .site-header{position:static!important;top:auto!important;backdrop-filter:none!important}
  .site-header .header-row{flex-wrap:wrap!important;justify-content:space-between!important;gap:10px!important;padding:10px 16px!important}
  .site-header .brand{min-width:auto!important;flex:1 1 auto!important}
  .site-header .brand img{height:42px!important;max-width:140px!important}
  .site-header .menu-toggle{display:inline-block!important;order:2;border:1px solid var(--line);border-radius:22px;background:#fff;color:#222;padding:8px 12px;font-weight:700;font-size:15px;white-space:nowrap}
  .site-header .header-contact{order:3;flex:0 0 auto!important;border-radius:24px!important;padding:8px 13px!important;font-size:15px!important}
  .site-header .main-nav{order:4;display:none!important;visibility:hidden!important;width:100%!important;height:auto!important;overflow:hidden!important;padding:10px 0 0!important;margin:0!important;border-top:1px solid var(--line);flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
  .site-header.menu-open .main-nav{display:flex!important;visibility:visible!important}
  .site-header.menu-open .nav-link{font-size:17px;padding:6px 0}
}
@media(max-width:560px){
  .price-intro{padding:14px 16px}
  .price-intro strong{font-size:16px}
  .house-price{padding:14px 16px}
  .price-rows{grid-template-columns:1fr;gap:3px}
  .price-label{font-size:14px}
  .price-value{font-size:27px;margin:0 0 9px}
}
