@font-face{font-family:Montserrat;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/montserrat-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Montserrat;font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/montserrat-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --accent:#36bada;        /* фирменный голубой: акценты на тёмном */
  --accent-btn:#0b7a9b;    /* тот же оттенок, но с контрастом 4.5:1 под белый текст */
  --accent-btn-h:#096680;
  --dark:#2e2a27;
  --ink:#1d1b1a;
  --muted:#5b5652;
  --bg:#f0f0f0;
  --line:#d9d6d3;
  --wrap:1150px;
  --gutter:20px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:16px;-webkit-text-size-adjust:100%}
body{margin:0;font:400 16px/1.65 Montserrat,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-btn)}
h1,h2,h3{line-height:1.2;margin:0 0 .6em;font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:8px 14px;z-index:100}
.skip:focus{left:8px;top:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* кнопки */
.btn{display:inline-block;border:0;cursor:pointer;font:600 15px/1 Montserrat,sans-serif;letter-spacing:.02em;text-transform:uppercase;text-decoration:none;color:#fff;background:var(--accent-btn);padding:18px 32px;box-shadow:0 7px 25px rgba(0,0,0,.3);transition:background .2s,transform .2s}
.btn:hover{background:var(--accent-btn-h)}
.btn:active{transform:translateY(1px)}
.btn--small{padding:12px 18px;font-size:13px;box-shadow:none}
.btn--ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.btn--ghost:hover{background:var(--ink);color:#fff}

/* hero */
.hero{position:relative;color:#fff;background:#223;min-height:min(100vh,860px);min-height:min(100svh,860px);display:flex;flex-direction:column;isolation:isolate}
.hero__bg{position:absolute;inset:0;z-index:-2}
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(0,0,0,.54)}
.topbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;padding-top:18px;padding-bottom:18px}
.topbar__logo{flex:none}
.topbar__logo img{width:92px;height:70px}
.topbar__item{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.35;max-width:300px}
.topbar__item i{flex:none;width:22px;height:22px;margin-top:2px;background-repeat:no-repeat;background-position:center}
.i-pin{background-image:url(../img/i-pin.png)}.i-clock{background-image:url(../img/i-clock.png)}.i-phone{background-image:url(../img/i-phone.png)}
.topbar__phone{margin-left:auto;text-align:right}
.topbar__phone a{color:#fff;font-size:24px;font-weight:600;text-decoration:none;white-space:nowrap}
.topbar__phone button{display:block;margin:2px 0 0 auto;background:none;border:0;color:#fff;text-decoration:underline;font:inherit;font-size:14px;cursor:pointer;padding:4px 0}
.hero__body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px var(--gutter) 150px}
.hero h1{font-weight:300;font-size:clamp(30px,5.2vw,58px);text-transform:uppercase;letter-spacing:.01em;margin-bottom:56px}
.hero h1 strong{display:block;font-weight:700}

/* преимущества */
.facts{position:relative;z-index:2;margin:-96px auto 0;max-width:600px;background:var(--dark);color:#fff;padding:28px 34px;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:22px 28px;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.facts li{display:flex;gap:14px;align-items:center;font-size:15px;line-height:1.35}
.facts i{flex:none;width:26px;height:26px;background-repeat:no-repeat;background-position:center}
.i-sea{background-image:url(../img/i-sea.png)}.i-area{background-image:url(../img/i-area.png)}.i-height{background-image:url(../img/i-height.png)}
.i-mountain{background-image:url(../img/i-mountain.png)}.i-cctv{background-image:url(../img/i-cctv.png)}.i-parking{background-image:url(../img/i-parking.png)}

/* секции */
.section{padding:84px 0}
.section--gray{background:var(--bg)}
.section h2{font-size:clamp(20px,2.4vw,26px);text-transform:uppercase;letter-spacing:.02em}
.section__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}
.section__head h2{margin:0}
.hint{margin:0;font-size:14px;color:var(--muted)}

/* галерея */
.gallery{position:relative}
.gallery__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:12px;-webkit-overflow-scrolling:touch}
.gallery__item{display:block;line-height:0;align-self:flex-start;flex:0 0 min(664px,86%);scroll-snap-align:start;margin:0;padding:0;border:0;background:none;cursor:zoom-in}
.gallery__item img{width:100%;aspect-ratio:741/491;object-fit:cover;background:#ddd}
.gallery__nav{display:flex;gap:10px;margin-top:14px}
.gallery__nav button,.dlg-close{width:46px;height:46px;border:0;background:var(--accent-btn);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.gallery__nav button:hover,.dlg-close:hover{background:var(--accent-btn-h)}
.gallery__cta{margin-top:26px}

/* описание */
.about{max-width:820px}
.about .lead{font-weight:600}
.about h3{font-size:18px;margin:1.6em 0 .6em}
.about ul{padding-left:1.2em;margin:0 0 1em}
.about li{margin-bottom:.3em}
.cols-2{columns:2;column-gap:40px}
.cols-2 li{break-inside:avoid}
.video{position:relative;aspect-ratio:16/9;max-width:620px;margin:1.4em 0;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.about .btn{margin-top:20px}

/* цены */
.prices{position:relative;color:#fff;isolation:isolate;background:#3b3836}
.prices__bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.prices::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(40,38,36,.78)}
.table-wrap{overflow-x:auto;background:#fff;color:var(--ink)}
table{width:100%;border-collapse:collapse;min-width:640px}
caption{text-align:left;position:absolute;left:-9999px}
th,td{padding:16px 18px;text-align:left;font-size:15px;border-bottom:1px solid var(--line)}
thead th{font-size:13px;text-transform:uppercase;letter-spacing:.03em;background:#fff;border-bottom:2px solid var(--ink)}
tbody tr:hover{background:#f7fbfd}
td .link-btn{background:none;border:0;padding:0;font:600 14px Montserrat,sans-serif;color:var(--accent-btn);text-decoration:underline;cursor:pointer}
.prices__cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.prices .btn--ghost{color:#fff;box-shadow:inset 0 0 0 2px #fff}
.prices .btn--ghost:hover{background:#fff;color:var(--ink)}

/* планировки */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.plans figure{margin:0}
.plans button{border:1px solid var(--line);background:#fff;padding:0;width:100%;cursor:zoom-in}
.plans img{width:100%;aspect-ratio:741/491;object-fit:contain}
.plans figcaption{font-size:14px;color:var(--muted);margin-top:8px}

/* FAQ */
.faq{max-width:860px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:6px;top:14px;font-size:28px;font-weight:300;color:var(--accent-btn)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 0 20px;margin:0;color:#3b3836}

/* футер */
.footer{background:var(--dark);color:#d9d6d3;padding:56px 0 40px;font-size:15px}
.footer h2{color:#fff;font-size:18px;text-transform:uppercase;margin-bottom:18px}
.footer a{color:#fff}
.footer__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:start}
.footer dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 14px}
.footer dt{color:#a39e99}.footer dd{margin:0}
.callback{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.callback input{flex:1 1 200px}
.field{width:100%;font:inherit;font-size:16px;padding:15px 16px;border:1px solid #000;border-radius:0;background:#fff;color:#000}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;cursor:pointer;color:#5b5652}
.consent input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--accent-btn);cursor:pointer}
.dlg label.consent{display:flex;margin:4px 0 14px}
.callback .consent{flex:1 1 100%;color:#c9c4bf;margin-top:6px}
.footer .consent a{color:#fff}
.copy{margin-top:40px;padding-top:22px;border-top:1px solid #4a4541;font-size:13px;color:#a39e99;display:flex;flex-wrap:wrap;gap:6px 24px}
.up{position:fixed;right:20px;bottom:24px;width:46px;height:46px;border:0;background:var(--accent-btn);color:#fff;font-size:20px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}
.up.is-on{opacity:.85;pointer-events:auto}

/* модальные окна */
dialog{border:0;padding:0;max-width:min(94vw,520px);width:100%;background:#fff;color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.4)}
dialog::backdrop{background:rgba(20,18,17,.7)}
dialog.dlg-wide{max-width:min(96vw,1100px);background:#111;color:#fff}
.dlg{padding:34px 32px 30px;position:relative}
.dlg h2{font-size:20px;text-transform:uppercase;margin-right:40px}
.dlg-x{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:inherit}
.dlg label{display:block;margin:0 0 12px}
.dlg .field{margin-top:6px}
.dlg textarea.field{min-height:84px;resize:vertical}
.dlg .btn{width:100%;margin-top:6px}
.dlg-wide .dlg{padding:12px}
.dlg-wide img{width:100%;max-height:82vh;object-fit:contain}
.dlg-wide .dlg-x{color:#fff;z-index:2;background:rgba(0,0,0,.4)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{margin:12px 0 0;font-size:14px}
.form-msg.ok{color:#116a2b;font-weight:600}.form-msg.err{color:#a11}
.footer .form-msg.ok{color:#8fe3a8}.footer .form-msg.err{color:#ffb3b3}

/* внутренние страницы */
.page-head{background:var(--dark);color:#fff;padding:20px 0}
.page-head .wrap{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.page-head img{width:70px;height:53px}
.crumbs{font-size:14px;margin:0;color:#d9d6d3}.crumbs a{color:#fff}
.doc{max-width:820px;padding:56px var(--gutter) 72px}
.doc h1{font-size:clamp(26px,3.4vw,36px)}
.doc h2{font-size:20px;text-transform:none;margin-top:1.6em}

@media (max-width:900px){
  .topbar__phone{margin-left:0;text-align:left}.topbar__phone button{margin-left:0}
  .footer__grid{grid-template-columns:1fr}
  .plans{grid-template-columns:1fr}
  .cols-2{columns:1}
}
@media (max-width:640px){
  :root{--gutter:16px}
  table{min-width:0}thead{display:none}
  tbody tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;padding:14px 16px;border-bottom:1px solid var(--line)}
  td{display:block;border:0;padding:0;font-size:14px}
  td:first-child{font-weight:600}
  td:nth-child(4){color:var(--muted)}
  td:last-child{flex-basis:100%;padding-top:6px}
  .section{padding:56px 0}
  #photo{padding-top:90px!important}
  .topbar{gap:10px 16px}.topbar__item{max-width:none;font-size:14px}
  .hero__body{padding-bottom:130px}
  .facts{grid-template-columns:1fr;margin-left:var(--gutter);margin-right:var(--gutter);padding:22px 22px}
  .btn{padding:17px 24px}
  .dlg{padding:30px 20px 24px}
  .up{right:12px;bottom:84px}
  .callbar{display:flex}
}
.callbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--dark);padding:10px 16px;gap:10px}
.callbar a,.callbar button{flex:1;text-align:center;text-decoration:none;font:600 14px/1 Montserrat,sans-serif;padding:15px 8px;border:0;cursor:pointer;text-transform:uppercase}
.callbar a{background:#fff;color:var(--ink)}.callbar button{background:var(--accent-btn);color:#fff}
@media (max-width:640px){body{padding-bottom:64px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
[hidden]{display:none!important}
.todo{background:#fff3a3;color:#000;padding:0 3px}
.doc__meta{color:var(--muted);font-size:14px;margin-bottom:1.6em}
.doc li{margin-bottom:.4em}
.copy a{color:#fff}
/* --- общие компоненты генератора --- */
.hero__sub{margin:0 0 10px;font-size:clamp(16px,2vw,20px);max-width:760px}
.hero h1 strong{display:inline}
.facts--plain li{align-items:flex-start}
.facts--plain li::before{content:"";flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.7 2.7L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.facts--plain{margin-bottom:-40px}
.pic{margin:1.2em 0}
.pic img{max-width:100%;height:auto}
.about h3{font-size:18px;margin:1.6em 0 .6em}
.about .btn,.section .btn{margin-top:14px}
.about img{max-width:100%;height:auto}
.prices .about,.prices .faq{color:#fff}
.hero{background:#1f2326}
.caption{font-size:14px;color:var(--muted);margin:.2em 0}
:focus-visible{outline-color:var(--accent-btn)}
.footer :focus-visible,.hero :focus-visible{outline-color:#fff}
/* --- оформление по донору: регистр, меню, форма в шапке, темы секций --- */
.hero h1,.section h2{text-transform:none}
.u{text-transform:uppercase}
.hero h1{font-weight:600}
.hero h1 strong{font-weight:700}
.nav{background:rgba(0,0,0,.35);backdrop-filter:blur(4px);border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15)}
.nav .wrap{display:flex;flex-wrap:wrap;gap:4px 26px;justify-content:center;padding-top:12px;padding-bottom:12px}
.nav a{color:#fff;text-decoration:none;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:4px 0}
.nav a:hover{text-decoration:underline}
.hero__form{background:rgba(0,0,0,.45);padding:22px 26px;max-width:620px;margin:18px auto 0;text-align:left}
.hero__form-title{margin:0 0 12px;font-weight:600;font-size:18px;text-align:center}
.hero__form-row{display:flex;flex-wrap:wrap;gap:10px}
.hero__form-row input{flex:1 1 220px}
.hero__form .consent{color:#e8e4e0;margin-top:10px}
.hero__form .consent a{color:#fff}
.hero__form .form-msg.ok{color:#9fe6b2}.hero__form .form-msg.err{color:#ffb3b3}
.section--dark{background:var(--dark);color:#fff}
.section--dark .about,.section--dark .faq,.section--dark .hint{color:#fff}
.section--dark .faq details p{color:#e3dfdb}
.prices--light{background:var(--bg);color:var(--ink)}
.prices--light::before{display:none}
.prices--light .btn--ghost{color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.plans figcaption{text-align:center}
@media (max-width:640px){.hero__form{padding:16px}.nav .wrap{gap:2px 14px}.nav a{font-size:12px}}
.field--bad{border-color:#c0392b!important;box-shadow:0 0 0 2px rgba(192,57,43,.25)}

/* карточка квартиры */
.listing .gallery{margin:20px 0 8px}
.specs{margin:20px 0 24px;border-top:1px solid #e3dfdb}
.specs div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e3dfdb}
.specs dt{color:#6b6661}
.specs dd{margin:0;font-weight:600;text-align:right}
.listing .btn{margin-top:18px}
.caption{color:#6b6661;font-size:14px}
.pic--one button{border:1px solid #e3dfdb;background:#fff;padding:0;cursor:zoom-in;display:block;max-width:100%}
.pic--one img{display:block;max-width:100%;height:auto}

/* --- донор, тёмный шаблон: секция цен серая, таблица полосами --- */
.skin-dark .prices{background:#888;color:#fff}
.skin-dark .prices::before,.skin-dark .prices .prices__bg{display:none}
.skin-dark .prices .table-wrap{background:transparent}
.skin-dark .prices thead th{background:#fff;color:var(--ink);border-bottom:0}
.skin-dark .prices tbody td{border-bottom:0}
.skin-dark .prices tbody tr:nth-child(odd){background:#524e4b;color:#fff}
.skin-dark .prices tbody tr:nth-child(even){background:#e2e2e2;color:var(--ink)}
.skin-dark .prices tbody tr:nth-child(odd):hover{background:#625d5a}
.skin-dark .prices tbody tr:nth-child(even):hover{background:#d3d3d3}
.skin-dark .prices tbody tr:nth-child(odd) .link-btn{color:#fff}
.skin-dark .prices tbody tr:nth-child(even) .link-btn{color:var(--ink)}
.skin-dark .prices__cta{justify-content:center}

/* --- донор, светлый шаблон: белая шапка, цветное меню, центрированные цветные заголовки, светлый подвал --- */
.skin-light .lt-top{background:#fff;color:#333;border-bottom:1px solid #eee}
.skin-light .topbar__item{color:#444}
.skin-light .topbar__name{font-weight:700;font-size:20px;color:#222;text-decoration:none;text-transform:uppercase;letter-spacing:.01em}
.skin-light .topbar__phone a{color:#222}
.skin-light .topbar__phone button{color:var(--heading,var(--accent));border:1px solid currentColor;text-decoration:none;padding:6px 14px;margin-top:6px;font-size:13px;text-transform:uppercase;font-weight:600}
.skin-light .nav{background:var(--nav-bg,var(--accent));border:0;backdrop-filter:none}
.skin-light .nav a{color:var(--nav-fg,#fff);font-weight:500}
.skin-light .hero{min-height:520px}
.skin-light .hero__body{padding:56px var(--gutter) 130px}
.skin-light .hero h1{font-weight:400;font-size:clamp(26px,3.6vw,40px);margin-bottom:22px}
.skin-light .hero h1 strong{font-weight:600}
.skin-light .section--gray{background:#f9f8f8}
.skin-light .section h2,.skin-light .faq h2{text-align:center;color:var(--heading,var(--accent));font-weight:400;font-size:clamp(24px,3.2vw,36px)}
.skin-light .section__head{flex-direction:column;align-items:center;justify-content:center;text-align:center}
.skin-light .about,.skin-light .faq{margin-left:auto;margin-right:auto}
.skin-light .faq details{background:#fff;border:1px solid #e3e3e3;margin:0 0 14px;padding:0 24px}
.skin-light .faq summary{padding:18px 36px 18px 0}
.skin-light .faq summary::after{color:var(--heading,var(--accent))}
.skin-light .prices--light thead th{border-bottom:1px solid #ccc}
.skin-light td .link-btn{color:var(--heading,var(--accent));border:1px solid currentColor;padding:6px 12px;text-decoration:none;font-weight:500}
.skin-light .footer{background:#e7e7ee;color:#444}
.skin-light .footer h2{color:#222}
.skin-light .footer a{color:#222}
.skin-light .footer dt{color:#777}
.skin-light .footer .consent,.skin-light .callback .consent{color:#555}
.skin-light .footer .consent a{color:#222}
.skin-light .copy{border-top-color:#cfcfd8;color:#777}
.skin-light .page-head{background:var(--nav-bg,var(--accent));color:var(--nav-fg,#fff)}
.skin-light .page-head .crumbs,.skin-light .page-head .crumbs a{color:var(--nav-fg,#fff)}
.skin-light .footer :focus-visible{outline-color:var(--heading,var(--accent))}
.skin-dark .prices tbody tr:nth-child(odd) td:nth-child(4){color:#e9e5e2}
.skin-dark .prices tbody tr:nth-child(even) td:nth-child(4){color:#4a4643}
