/* Общая часть сайтов АН, пересобранных с Creatium (05.11.2026): шрифт, сброс, окна, ролики, слайдер,
   просмотр картинок, кнопка «наверх». Оформление самого сайта — в его site.css (ниже в этом же файле). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-400-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-400-lat.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-500-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/montserrat-500-lat.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-700-cyr.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/montserrat-700-lat.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }

/* Inter (Дом на набережной): переменный шрифт, один файл на все начертания 100–900 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-var-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
html.is-locked { overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Окна (вместо модальных окон Creatium) ---- */
.mdl { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto;
  padding: 50px 15px; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s; -webkit-overflow-scrolling: touch; }
.mdl.is-open { opacity: 1; }
.mdl__panel { position: relative; width: 100%; margin: auto; transform: translateY(12px); transition: transform .3s; }
.mdl.is-open .mdl__panel { transform: none; }
.mdl__x { position: absolute; top: -10px; right: -10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.mdl__x::before, .mdl__x::after { content: ""; position: absolute; left: 7px; top: 14px; width: 16px; height: 2px; background: #000; transform: rotate(45deg); }
.mdl__x::after { transform: rotate(-45deg); }

/* окно-ролик */
.mdl--video .mdl__panel { max-width: 1000px; align-self: center; }
.mdl--video .mdl__frame { position: relative; padding-top: 56.25%; background: #000; }
.mdl--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* сообщение после заявки / ошибки */
.mdl--msg .mdl__panel { max-width: 410px; align-self: center; background: #fafafa; border-radius: 10px; padding: 34px 25px 30px; text-align: center; }
.mdl--msg .msg__title { font-weight: 700; font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.mdl--msg .msg__text { font-size: 16px; line-height: 1.5; white-space: pre-line; }
.mdl--msg .msg__ok { margin-top: 22px; min-width: 160px; padding: 13px 24px; border-radius: 25px; color: #fff; background: var(--accent, #10986d); }

/* ---- Ролик YouTube: обложка у нас, плеер по нажатию ---- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px;
  background: rgba(33, 33, 33, .8); transition: background .2s; }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 15px; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { background: #f00; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Слайдер на прокрутке (галерея, менеджеры) ---- */
.sl { position: relative; }
.sl__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.sl__track::-webkit-scrollbar { display: none; }
.sl__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }

/* ---- Просмотр картинок ---- */
.lb { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88);
  opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.lb.is-open { opacity: 1; }
.lb__img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); object-fit: contain; background: #fff; }
.lb__img.is-photo { background: transparent; }
.lb__btn { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.lb__btn::before { content: ""; position: absolute; left: 19px; top: 17px; width: 12px; height: 12px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(45deg); }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb__next::before { left: 15px; transform: rotate(-135deg); }
.lb__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; }
.lb__x::before, .lb__x::after { content: ""; position: absolute; left: 8px; top: 19px; width: 24px; height: 2px; background: #fff; transform: rotate(45deg); }
.lb__x::after { transform: rotate(-45deg); }
.lb__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 767px) {
  .lb__img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lb__btn { top: auto; bottom: 10px; margin: 0; }
}

/* ---- Кнопка «наверх» (как на Creatium: слева внизу, полупрозрачная) ---- */
.goup { position: fixed; left: 15px; bottom: 15px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; opacity: 0; visibility: hidden;
  transition: opacity .6s, visibility .6s; }
.goup.is-on { opacity: .5; visibility: visible; }
.goup:hover { opacity: .8; }
.goup svg { width: 44px; height: 44px; display: block; }

/* ---- Карта Яндекса через API (без рекламы виджета) ---- */
.ymap { position: relative; width: 100%; height: 368px; background: rgba(0, 0, 0, .04); }
.ymap__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: inherit; font-weight: 600; }

/* ====== ЖК «Токсово Life» — оформление как на Creatium (05.11.2026) ======
   Размеры сняты с оригинала (content/index-1440.txt и index-390.txt): контейнер 1140, поля виджетов по 5px,
   заголовки 32px с зелёной чертой 12% ширины, кнопки-«таблетки» с радиусом 25px. Телефон — до 767px. */
:root {
  --green: #10986d; --green-d: #3d8d5e; --green-dd: #0d7a57; --mint: #d4ecde; --blue: #084885;
  --text: #333; --dark: #202224; --line: rgba(16, 152, 109, .65);
  --accent: #10986d;
}
body { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.43; color: var(--text); background: #fff; }
html { scroll-padding-top: 90px; }
.wrap { width: 1140px; max-width: calc(100% - 30px); margin: 0 auto; padding: 0 5px; }
/* версии для компьютера и телефона (на Creatium были разные блоки) */
@media (min-width: 768px) { .m-only { display: none !important; } }
@media (max-width: 767px) { .d-only { display: none !important; } }

/* ---- кнопки ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 28px; border-radius: 25px;
  font-size: 16px; line-height: 22.86px; text-decoration: none; text-align: center; white-space: nowrap; transition: background-color .2s, box-shadow .2s, transform .2s; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #0e8a62; }
.btn--dark { background: var(--green-d); }
.btn--dark:hover { background: #367e54; }
.btn--shadow { box-shadow: 0 2px 2px rgba(0, 0, 0, .25); }
.btn--b2 { border: 2px solid var(--green); padding: 12.5px 28px; }
.btn--line { border: 2px solid #fff; color: #fff; padding: 12.5px 28px; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.btn svg { flex: none; }

/* ---- шапка ---- */
.hdr { position: sticky; top: 0; z-index: 800; background: #fff; }
.hdr__in { display: flex; align-items: center; height: 89px; }
.hdr__logo { flex: none; width: 230px; padding-right: 25px; }
.hdr__logo img { width: 205px; height: 68px; object-fit: contain; }
.hdr__addr { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14px; line-height: 20px; color: var(--dark); text-decoration: none; }
.hdr__tel { margin-left: 25px; padding: 8px 0; font-weight: 700; font-size: 18px; line-height: 25.7px; color: var(--dark); text-decoration: none; white-space: nowrap; }
.hdr--short .hdr__tel { margin-left: auto; }
.hdr__cb { margin-left: 30px; padding: 13px 20px; font-size: 15px; line-height: 21.43px; }
.hdr__burger { margin-left: 30px; width: 41px; height: 41px; display: inline-flex; align-items: center; justify-content: center; color: var(--dark); }

/* ---- первый экран ---- */
.hero { position: relative; color: #fff; background: #3a3f3c; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .44); }
.hero__in { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 200px; }
.hero__pre { padding: 5px 0; font-size: 28px; line-height: 44.8px; letter-spacing: 1.68px; }
.hero__ttl { padding: 16px 0 5px; font-size: 48px; line-height: 67.2px; font-weight: 700; }
.hero__sub { padding: 16px 0 10px; font-size: 28px; line-height: 33.6px; }
.hero__btns { display: flex; align-items: center; gap: 23px; padding: 55px 0 20px; }

/* ---- общие блоки ---- */
.sec { padding: 60px 0; }
.ttl { padding: 5px 0 0; font-size: 32px; line-height: 35.2px; font-weight: 700; color: var(--text); }
.ttl::after { content: ""; display: block; width: 12%; height: 3px; margin: 10px 0 32px; background: var(--line); }
.green { background: var(--mint); }
.vid-s { width: 210px; flex: none; padding: 5px; }
.vid-s .yt { border-radius: 10px; }
.head-vid { display: grid; grid-template-columns: 900px 210px; justify-content: space-between; align-items: center; }
.head-vid__v { margin: 0; }

/* кнопка «смотреть видео» (круг 70px) */
.vbtn { display: inline-flex; align-items: center; gap: 22px; color: #255538; }
.vbtn__c { position: relative; width: 70px; height: 70px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-dd); color: #fff; box-shadow: 0 0 0 13px #fff, 0 0 0 14px rgba(13, 122, 87, .14); margin: 5px; transition: transform .2s; }
.vbtn__c svg { margin-left: 4px; }
.vbtn:hover .vbtn__c { transform: scale(1.06); }
.vbtn__t { font-weight: 700; font-size: 14px; letter-spacing: 1.87px; opacity: .75; }
.vbtn--light { color: #fff; }
.vbtn--light .vbtn__c { background: #fff; color: var(--green); box-shadow: none; margin: 0; width: 50px; height: 50px; }
.vbtn--light .vbtn__t { opacity: .85; }

/* ---- «Все о жилом комплексе» ---- */
.about { padding-bottom: 60px; }
.about__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.about__txt { width: 900px; padding: 10px 0; font-size: 16px; line-height: 25.6px; }
.about__vid { margin-right: 5px; }
.about__vb { display: flex; justify-content: center; padding-top: 20px; }

/* ---- преимущества 01–06 ---- */
.feats { padding: 52px 0 41px; }
.feats__grid { display: grid; grid-template-columns: repeat(3, 353px); justify-content: space-between; row-gap: 20px; }
.feat { position: relative; padding: 5px; }
.feat__top { position: relative; height: 112px; }
.feat__num { position: absolute; left: 8px; top: 2px; font-weight: 700; font-size: 164px; line-height: 164px; letter-spacing: -2px; color: rgba(0, 0, 0, .05); pointer-events: none; user-select: none; }
.feat__vid { position: absolute; right: 0; top: 10px; width: 132px; }
.feat__vid .yt { border-radius: 8px; }
.feat__vid .yt__play { transform: scale(.55); }
.feat__ttl { position: relative; padding: 31px 5px 12px; font-size: 14px; line-height: 17.6px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.feat__ttl::before { content: ""; position: absolute; left: 5px; top: 5px; width: 41px; height: 3px; background: var(--line); }
.feat__txt { position: relative; padding: 5px; font-size: 16px; line-height: 24px; color: rgba(51, 51, 51, .6); }

/* ---- зелёные блоки с формой ---- */
.green .ask { padding: 0; }
.green.sec { padding: 60px 0; }
.ask { display: grid; grid-template-columns: 460px 650px; justify-content: space-between; align-items: center; padding: 5px 0; min-height: 173px; }
.ask__ttl { padding: 10px 5px; font-size: 32px; line-height: 48px; font-weight: 700; }
.ask__sub { padding: 5px; font-size: 14px; line-height: 16.8px; }
.ask__card { background: #fff; border-radius: 5px; padding: 26px 12px 17px; margin: 5px; }
.frm__row { min-height: 76px; }
.ask--plain { grid-template-columns: 495px 615px; padding: 0; margin-top: 0; }
.ask--plain .ask__ttl { font-size: 26px; line-height: 39px; }
.ask--plain .ask__card { padding: 31px 12px 12px; background: none; }
.ask--wide { grid-template-columns: 397px 680px; background: none; padding: 28px 0 29px 24px; min-height: 0; }
.ask--wide .ask__ttl { font-size: 30px; line-height: 36px; }
.ask--wide .ask__card { padding: 28px 23px 22px; margin: -28px 0 -29px; }
.green.green--last { padding: 30px 0; }

/* форма на странице: два поля-черты + кнопка в строку, согласие ниже */
.frm__row { display: flex; align-items: center; gap: 0; }
.fld { flex: 1 1 0; min-width: 0; padding: 5px; }
.frm__row .fld + .fld { margin-left: 30px; }
.fld input { width: 100%; padding: 12px 9.6px; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .25); background: transparent; font-size: 14px; line-height: 16.8px; color: #333; outline: none; border-radius: 0; }
.fld input::placeholder { color: rgba(0, 0, 0, .5); }
.fld input:focus { border-bottom-color: var(--green); }
.frm__row .btn { flex: none; margin-left: 30px; padding: 14px 27px; font-size: 15px; line-height: 21.43px; }
.consent { padding: 10px 5px; font-size: 12px; line-height: 19.2px; }
.consent a { color: var(--blue); }

/* ---- галерея ---- */
.gal { padding: 40px 0 47px; }
.gal__sl { padding: 5px 63px 0; }
.gal__sl .sl__track { border-radius: 5px; }
.gal__sl .sl__slide img { width: 100%; aspect-ratio: 1014 / 575; object-fit: cover; border-radius: 5px; }
.sl__arr { position: absolute; top: calc(50% - 30px); width: 38px; height: 38px; border-radius: 50%; background: #e6e6e6; opacity: .8; color: #000;
  display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.sl__arr:hover { opacity: 1; }
.sl__prev { left: 0; }
.sl__next { right: 0; }
.sl__dots { display: flex; justify-content: center; gap: 12px; padding-top: 24px; }
.sl__dots button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(51, 51, 51, .2); }
.sl__dots button.is-on { background: #e6e6e6; }

/* ---- «Бесплатная экскурсия / Помощь в продаже» (вкладки tabs5) ---- */
.offers { background: var(--mint); padding: 40px 0; }
.tabs5 { padding-top: 0; }
.tabs5__nav { display: flex; padding: 0 5px; }
.tabs5__tab { flex: 1 1 auto; padding: 0 5px 10px; text-align: left; font-weight: 700; font-size: 18px; line-height: 25px; color: rgba(51, 51, 51, .75); border-bottom: 3px solid rgba(51, 51, 51, .15); }
.tabs5__tab.is-on { color: #31714b; border-bottom-color: #31714b; }
.tabs5__tab:first-child { flex-basis: 530px; margin-right: 0; }
.tabs5__pane { padding: 20px 5px 0; }
.offer { display: flex; justify-content: space-between; align-items: center; min-height: 438px; background: #e5f3ea; border-radius: 5px; padding: 30px 32px 30px 40px; }
.offer__main { width: 780px; }
.offer__ttl { padding: 5px 5px 0; font-size: 32px; line-height: 41.6px; font-weight: 700; }
.offer__ttl::after { content: ""; display: block; width: 12%; height: 3px; margin: 17px 0 32px; background: var(--line); }
.offer__txt { padding: 5px 5px 7px; font-size: 16px; line-height: 24px; }
.offer__card { margin: 20px 17px 0; background: #fff; border-radius: 5px; padding: 20px 17px 5px; }
.offer__vid { width: 234px; flex: none; }
.offer__vid .yt { border-radius: 10px; }

/* ---- планировки ---- */
.plans { padding: 60px 0; }
.plans .head-vid { padding: 10px 0 20px; }
.tabs3__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding: 10px 0 20px; }
.plan__sl { margin-top: 25px; }
.tabs3__tab { margin: 0 5px; padding: 10px 20px; border-radius: 100px; background: rgba(51, 51, 51, .035); color: rgba(51, 51, 51, .6); font-size: 16px; line-height: 22px; }
.tabs3__tab.is-on { background: rgba(51, 51, 51, .1); color: var(--text); }
.tabs3__tab sup { font-size: 10px; line-height: 0; }
.plan__sl .sl__track { gap: 30px; padding: 10px; margin: -10px; }
.plan__sl .sl__slide { flex: 0 0 calc((100% - 60px) / 3); }
.plan__sl--4 .sl__slide { flex-basis: calc((100% - 90px) / 4); }
.plan__card { display: block; height: 368px; padding: 5px; background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .14); }
.plan__card img { width: 100%; height: 100%; object-fit: contain; }
.plan__price { padding: 10px 5px; margin-top: 10px; text-align: center; font-weight: 700; font-size: 20px; line-height: 32px; }
.plans .ask--plain { margin-top: 10px; }

/* ---- ипотека ---- */
.mort { padding: 60px 0; }
.mort__lead { padding: 10px 0; font-size: 18px; line-height: 28.8px; }
.mort__rate { padding: 10px 0; font-weight: 700; font-size: 16px; line-height: 25.6px; color: var(--blue); }
.mort__list { list-style: none; padding: 10px 0; }
.mort__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 25.6px; padding: 4px 0; }
.mort__list img { width: 20px; height: 20px; flex: none; }
.mort__row { display: flex; align-items: center; padding: 30px 0 10px; min-height: 113px; }
.mort__play { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(51, 51, 51, .25); color: var(--green-d); display: inline-flex; align-items: center; justify-content: center; }
.mort__play svg { width: 14px; height: 16px; margin-left: 3px; }
.mort__link { margin-left: 21px; padding: 14px 5px; font-size: 16px; line-height: 22.86px; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.bubble { margin-left: 25px; max-width: 663px; background: rgba(214, 239, 255, .57); border-radius: 12px 12px 12px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.bubble p { padding: 14px 5px 14px 22px; font-size: 14px; line-height: 21px; }

/* ---- расположение ---- */
.loc { padding: 40px 0; }
.loc .head-vid { padding: 10px 0 32px; }
.loc__txt { padding: 10px 0; font-size: 16px; line-height: 25.6px; }
.loc__map { padding: 6px 0 17px; }
.loc__map iframe { display: block; width: 100%; height: 368px; border: 0; }

/* ---- квиз Marquiz ---- */
.quiz { padding: 40px 0; }

/* ---- документы ---- */
.docs { padding: 40px 0 60px; }
.docs .ttl::after { margin-top: 15px; }
.doc { background: #fff; border-radius: 5px; box-shadow: 0 2.67px 8px rgba(52, 60, 68, .1); padding: 0 25px; margin: 0 0 24px; }
.doc:first-of-type { margin-top: 12px; }
.doc:last-child { margin-bottom: 12px; }
.doc__head { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 102px; padding: 15px 0 15px 5px; cursor: pointer;
  font-weight: 400; font-size: 15px; line-height: 24px; letter-spacing: 1.71px; text-transform: uppercase; color: #191919; }
.doc__head::-webkit-details-marker { display: none; }
.doc__head svg { flex: none; transition: transform .25s; }
.doc[open] .doc__head svg { transform: rotate(180deg); }
.doc__body { display: flex; align-items: center; gap: 20px; border-top: 1px solid rgba(0, 0, 0, .1); padding: 35px 5px 35px 10px; }
.doc__body img { width: 48px; height: 48px; }
.doc__body a { font-size: 16px; line-height: 25.6px; color: var(--blue); }

/* ---- отдел продаж ---- */
.cont { padding: 40px 0; }
.cont__intro { display: flex; align-items: center; gap: 15px; padding: 10px 0; }
.cont__intro p { padding: 0 5px 14px; font-size: 16px; line-height: 22.4px; }
.cont__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 5px 0; }
.cont__mgrs { border-left: 1px solid rgba(0, 0, 0, .08); padding-left: 20px; }
.cont__h { padding: 20px 5px 5px; font-size: 24px; line-height: 26.4px; font-weight: 700; }
.cont__lab { margin: 0; padding: 5px; font-weight: 700; font-size: 12px; line-height: 15.1px; letter-spacing: 1.37px; }
.cont__h + .cont__lab { margin-top: 24px; }
.cont__addr { padding: 4px 70px 24px 5px; font-size: 16px; line-height: 24px; }
.cont__tel { display: table; padding: 18px 5px; font-weight: 700; font-size: 16px; color: var(--dark); text-decoration: none; }
.vk { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: #fff; margin: 5px 0; }
.vk:hover { background: #0e8a62; }
.mgrs { padding: 10px; }
.sl__ctrl { display: flex; align-items: center; gap: 0; font-size: 16px; padding: 0 5px 0 0; }
.sl__mini { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(51, 51, 51, .2); opacity: .8; color: #333; display: inline-flex; align-items: center; justify-content: center; }
.sl__mini:hover { opacity: 1; }
.sl__count { margin: 0 10.67px; min-width: 40px; text-align: center; }
.mgrs .sl__ctrl { padding-left: 5px; }
.mgrs .sl__track { margin-top: 10px; }
.mgrs .sl__slide { flex: 0 0 50%; padding: 10px 5px; }
.mgr__ph { padding: 10px 5px; }
.mgr__ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mgr__name { padding: 10px 5px; font-weight: 700; font-size: 16px; line-height: 22.4px; }

/* ---- подвал ---- */
.ftr { padding: 60px 0; text-align: center; }
.ftr__row { display: flex; align-items: center; justify-content: space-between; min-height: 115px; }
.ftr__logo img { width: 154px; height: 95px; object-fit: contain; margin: 10px 5px; }
.ftr__menu { display: flex; gap: 10px; }
.ftr__menu a { padding: 8px 0; margin: 0 5px; font-size: 12px; line-height: 17.1px; color: var(--dark); text-decoration: none; }
.ftr__menu a:hover { color: var(--green); }
.ftr__contact { display: flex; flex-direction: column; align-items: flex-start; width: 221px; }
.ftr__tel { padding: 13px 0; font-weight: 700; font-size: 16px; color: var(--dark); text-decoration: none; }
.ftr__link { display: table; margin: 0 auto; padding: 13px 5px; font-size: 12px; line-height: 17.1px; color: var(--blue); text-decoration: none; }
.ftr__link:hover { text-decoration: underline; }
button.ftr__link { padding: 15px 5px; }

/* ---- окна ---- */
.mdl--form .mdl__panel { max-width: 410px; background: #fafafa; border-radius: 10px; padding: 35px 34px 25px; align-self: center; }
.mf__ttl { font-weight: 700; font-size: 28px; line-height: 30.8px; letter-spacing: .8px; text-align: center; }
.mf__sub { margin-top: 10px; font-size: 16px; line-height: 22.4px; text-align: center; }
.frm--modal { margin-top: 20px; }
.frm--modal .frm__row { flex-direction: column; align-items: stretch; }
.frm--modal .fld { padding: 0 0 24px; }
.frm--modal .frm__row .fld + .fld { margin-left: 0; }
.fld__l { display: block; margin-bottom: 7px; font-size: 14px; line-height: 20px; }
.frm--modal .fld input { background: #fff; }
.frm--modal .frm__row .btn { margin: 0; padding: 14px 20px; font-size: 16px; }
.frm--modal .consent { margin-top: 10px; font-size: 13px; line-height: 20.8px; text-align: center; padding: 5px 0 0; }
.mdl--text .mdl__panel { max-width: 640px; background: #fafafa; border-radius: 10px; padding: 35px 30px 30px; }
.mt__ttl { font-weight: 700; font-size: 24px; line-height: 1.25; text-align: center; margin-bottom: 18px; }
.mdl--text p { font-size: 15px; line-height: 1.6; margin-top: 10px; }
.mdl--side { padding: 0; justify-content: flex-end; align-items: stretch; }
.mdl--side .mdl__panel { width: 320px; max-width: 86vw; margin: 0; min-height: 100%; background: #fff; padding: 30px 30px 40px; transform: translateX(40px); display: flex; flex-direction: column; align-items: center; }
.mdl--side.is-open .mdl__panel { transform: none; }
.side__x { position: absolute; top: 10px; right: 16px; font-size: 34px; line-height: 1; color: #333; }
.side__logo img { width: 150px; height: auto; margin: 10px auto 26px; }
.side__nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.side__nav a { padding: 8px 0; font-size: 16px; color: var(--dark); text-decoration: none; }
.side__nav a:hover { color: var(--green); }
.side__tel { margin-top: 22px; font-weight: 700; font-size: 18px; color: var(--dark); text-decoration: none; }
.side__cb { margin-top: 18px; padding: 13px 24px; font-size: 15px; }

/* ---- страницы политики и «спасибо» ---- */
.pp { padding: 60px 0; }
.pp__in { max-width: 920px; margin: 0 auto; padding: 0 15px; }
.pp__h1 { font-size: 32px; line-height: 38.4px; font-weight: 700; text-align: center; padding: 5px; margin-bottom: 30px; }
.pp__h { font-size: 16px; line-height: 1.6; font-weight: 700; margin: 26px 0 8px; }
.pp__p { font-size: 16px; line-height: 1.6; }
.thx { padding: 120px 0; text-align: center; }
.thx__h { font-size: 40px; font-weight: 700; }
.thx__p { margin: 16px 0 30px; font-size: 18px; line-height: 1.5; }

/* ====== планшет ====== */
@media (max-width: 1199px) {
  .head-vid { grid-template-columns: 1fr 200px; gap: 20px; }
  .about__txt { width: auto; flex: 1; }
  .feats__grid { grid-template-columns: repeat(3, 1fr); column-gap: 30px; }
  .ask, .ask--plain, .ask--wide { grid-template-columns: 1fr 1.4fr; gap: 30px; }
  .offer__main { width: auto; flex: 1; }
  .offer__vid { width: 200px; margin-left: 24px; }
  .hdr__addr { display: none; }
  .hdr__tel { margin-left: auto; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .feats__grid { grid-template-columns: repeat(2, 1fr); }
  .ask, .ask--plain, .ask--wide { grid-template-columns: 1fr; }
  .frm__row { flex-wrap: wrap; }
  .bubble { display: none; }
  .ftr__row { flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
  .ftr__menu { order: 3; width: 100%; justify-content: center; }
  .plan__sl--4 .sl__slide, .plan__sl .sl__slide { flex-basis: calc((100% - 30px) / 2); }
}

/* ====== телефон (до 767px — мобильная версия Creatium) ====== */
@media (max-width: 767px) {
  .wrap { max-width: none; width: auto; padding: 0 15px; }
  html { scroll-padding-top: 72px; }
  .hdr__in { height: 72px; }
  .hdr__logo { width: auto; padding: 0; }
  .hdr__logo img { width: 97px; height: 22px; }
  .hdr__cb { display: none; }
  .hdr__tel { margin-left: auto; font-size: 16px; line-height: 22px; }
  .hdr__burger { margin-left: 18px; width: 30px; justify-content: flex-end; }
  .hdr--short .hdr__cb { display: none; }

  .hero__in { padding: 85px 5px 0; min-height: 600px; }
  .hero__pre { font-size: 22px; line-height: 26.4px; letter-spacing: 0; padding: 5px 0 10px; }
  .hero__ttl { font-size: 28px; line-height: 36.4px; padding: 5px 0; }
  .hero__sub { font-size: 16px; line-height: 25.6px; padding: 10px 0; }
  .hero__btns { flex-direction: column; align-items: flex-start; gap: 35px; padding: 48px 5px 0; }
  .hero__btns .btn { padding: 14px 32px; font-size: 15px; line-height: 21.43px; }

  .sec { padding: 40px 0; }
  .ttl { font-size: 26px; line-height: 28.6px; }
  .ttl::after { width: 42px; margin: 10px 0 23px; }
  .about .ttl { line-height: 33.8px; }
  .about__row { flex-direction: column-reverse; align-items: stretch; padding: 0; gap: 14px; }
  .about__vid { width: 100%; margin: 0; }
  .about__txt { font-size: 14px; line-height: 22.4px; padding: 5px; }
  .vid-s { width: 100%; padding: 0; }
  .vid-s .yt { border-radius: 12px; }
  .head-vid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 !important; }
  .head-vid__v { margin: 0 0 14px; }

  .feats { padding: 37px 0 30px; }
  .feats__grid { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .feat { background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .16); border-radius: 3px; padding: 15px 10px 10px; }
  .feat__top { height: auto; min-height: 112px; display: flex; flex-direction: column; }
  .feat__vid { position: relative; right: auto; top: auto; width: 100%; padding: 5px; order: -1; }
  .feat__vid .yt { border-radius: 12px; }
  .feat__vid .yt__play { transform: none; }
  .feat__num { position: relative; left: 3px; top: auto; height: 82px; margin-top: 14px; overflow: visible; }
  .feat--novid .feat__num { margin-top: 30px; }
  .feat__ttl { padding-top: 37px; }
  .feat__ttl::before { top: 10px; }
  .feat__txt { font-size: 14px; line-height: 21px; padding-bottom: 10px; }

  .green.sec, .green--last { padding: 30px 0; }
  .ask, .ask--plain, .ask--wide { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; min-height: 0; }
  .ask--wide .ask__card { margin: 30px 15px 0; }
  .ask__head { text-align: center; padding: 34px 16px 0; }
  .ask__ttl { font-size: 22px; line-height: 26.4px; padding: 0 0 10px; }
  .ask--plain .ask__ttl, .ask--wide .ask__ttl { font-size: 22px; line-height: 26.4px; }
  .ask__sub { font-size: 15px; line-height: 18px; padding: 0; }
  .ask__card, .ask--plain .ask__card, .ask--wide .ask__card { margin: 30px 15px 0; padding: 25px 20px 10px; background: #fff; border-radius: 5px; }
  .ask--plain { background: var(--mint); margin-top: 40px !important; padding-bottom: 30px; }
  .frm__row { flex-direction: column; align-items: stretch; }
  .frm__row .fld + .fld { margin: 12px 0 0; }
  .frm__row .btn { margin: 22px auto 0; padding: 17px 28px; }
  .consent { text-align: center; padding: 6px 5px; }

  .gal { padding: 40px 0 30px; }
  .gal__sl { padding: 5px 0 0; }
  .gal__sl .sl__arr { display: none; }
  .gal__sl .sl__slide img { aspect-ratio: 350 / 201; }
  .sl__dots { padding-top: 20px; }
  .sl__dots button.is-on { background: var(--green); border-color: var(--green); }

  .offers { background: #fff; padding: 40px 0; }
  .tabs5__nav { padding: 0; }
  .tabs5__tab { font-size: 13px; line-height: 17px; padding: 0 3px 8px; }
  .tabs5__tab:first-child { flex-basis: auto; width: 50%; }
  .tabs5__tab + .tabs5__tab { width: 50%; }
  .tabs5__pane { padding: 18px 0 0; }
  .offer { display: block; min-height: 0; background: #e5f3ea; padding: 21px 16px 30px; }
  .offer__ttl { font-size: 24px; line-height: 31.2px; padding: 5px 5px 0; }
  .offer__ttl::after { width: 42px; margin: 14px 0 20px; }
  .plan__sl { margin-top: 0; }
  .frm__row { min-height: 0; }
  .offer__vid { width: 100%; margin: 0 0 20px; }
  .offer__txt { font-size: 14px; line-height: 21px; }
  .offer__card { margin: 20px 0 0; padding: 25px 20px 10px; }

  .plans { padding: 60px 0 40px; }
  .tabs3__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 0; padding: 10px 0 30px; }
  .tabs3__tab { background: none; border: 1px solid transparent; }
  .tabs3__tab.is-on { background: none; border: 2px solid rgba(51, 51, 51, .12); color: var(--green); }
  .plan__sl .sl__track { gap: 0; padding: 0; margin: 0; }
  .plan__sl .sl__slide, .plan__sl--4 .sl__slide { flex-basis: 100%; padding: 0 15px; }
  .plan__card { height: 358px; box-shadow: none; }
  .plan__sl .sl__ctrl { padding: 0 0 18px; }
  .plan__price { margin-top: 10px; }

  .mort { padding: 60px 0 40px; }
  .mort__vid { margin-bottom: 0; }
  .mort__vid .yt { border-radius: 12px; }
  .mort__lead { font-size: 16px; line-height: 25.6px; padding: 20px 0 10px; }
  .mort__list li { font-size: 14px; line-height: 22.4px; }
  .mort__pic { width: 100%; height: 290px; object-fit: contain; }
  .mort__row { justify-content: center; padding: 10px 0 0; }
  .mort__link { margin: 0; font-size: 14px; }

  .loc { padding: 25px 0 40px; }
  .loc .ttl::after { margin-bottom: 23px; }
  .loc__txt { font-size: 14px; line-height: 22.4px; padding: 5px 0 15px; }
  .loc__map { padding: 6px 0 0; }

  .docs { padding: 40px 0; }
  .doc { padding: 0 20px; margin: 12px 0 20px; }
  .doc__head { min-height: 0; padding: 30px 0 30px 2px; font-size: 12px; line-height: 20px; letter-spacing: 1.37px; gap: 15px; }
  .doc__body { padding: 25px 5px 30px 5px; gap: 0; }
  .doc__body img { display: none; }
  .doc__body a { font-size: 14px; line-height: 22.4px; }

  .cont { padding: 40px 0; }
  .cont__intro { flex-direction: column; align-items: stretch; padding: 10px 5px; gap: 20px; }
  .cont__intro .vid-s { width: 100%; }
  .cont__intro p { font-size: 14px; line-height: 19.6px; padding: 0; }
  .cont__cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cont__mgrs { border: 0; padding: 0; }
  .cont__addr { font-size: 14px; line-height: 21px; padding-right: 5px; }
  .mgrs .sl__ctrl { padding: 20px 5px 0; }
  .mgrs .sl__slide { flex-basis: 100%; }
  .mgr__ph img { aspect-ratio: 340 / 330; }

  .ftr { padding: 60px 0 40px; }
  .ftr__row { flex-direction: column; }
  .ftr__menu { flex-direction: column; gap: 0; }
  .ftr__contact { align-items: center; width: auto; }
  .ftr__logo img { width: 160px; height: 97px; }

  .mdl { padding: 40px 10px; }
  .mdl--form .mdl__panel { padding: 30px 20px 20px; }
  .mf__ttl { font-size: 24px; line-height: 28px; }
  .pp__h1 { font-size: 24px; line-height: 30px; }
  .thx { padding: 80px 0; }
}

/* 06.11.2026: команда как на flatroom.agency — портреты 4:5 в квадратной рамке, лицо сверху; один экран — стрелки не нужны */
.mgr__ph img { object-position: 50% 18%; }
.mgrs.is-single .sl__ctrl { visibility: hidden; }
