/* ============================================================
   FLAT360 — component styles (header, sections, quiz...)
   ============================================================ */

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--kraft) 86%, transparent);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
}
.site-header[data-scrolled="true"] { box-shadow: 0 8px 24px -20px rgba(34,32,28,.7); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 72px;
}
.site-header__rule { height: 1px; background: var(--hairline); opacity: .8; }
.site-header[data-scrolled="true"] .site-header__rule { background: var(--blue); opacity: .35; }

.site-header__bar { flex-wrap: nowrap; }
.site-nav { display: none; gap: 22px; flex-wrap: nowrap; white-space: nowrap; }
.site-nav a {
  font-size: 15px; color: var(--graphite-2); text-decoration: none;
  position: relative; padding: 4px 0; transition: color .15s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--terra); transition: right .2s ease;
}
.site-nav a:hover { color: var(--graphite); }
.site-nav a:hover::after { right: 0; }

.site-header__right { display: flex; align-items: center; gap: 14px; }
.hdr-phone {
  display: none; align-items: center; gap: 8px; text-decoration: none;
  color: var(--graphite); font-family: var(--f-mono); font-size: 13.5px; white-space: nowrap;
}
.hdr-phone svg { color: var(--terra); font-size: 16px; }
.hdr-msgr { display: none; }
.hdr-cta { display: none; white-space: nowrap; }
.burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1.4px solid var(--graphite); border-radius: 3px;
  color: var(--graphite); font-size: 22px; cursor: pointer;
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; overflow: hidden; }
.drawer--open { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(20,18,15,.42);
  opacity: 0; transition: opacity .25s ease;
}
.drawer--open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  width: min(86vw, 380px); background: var(--kraft-2);
  border-left: 1.5px solid var(--graphite);
  padding: 22px 26px calc(22px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .28s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto; z-index: 1;
  box-shadow: -30px 0 60px -30px rgba(0,0,0,.5);
}
.drawer--open .drawer__panel { transform: none; }
.drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.drawer__nav a {
  font-family: var(--f-head); font-weight: 600; font-size: 20px; color: var(--graphite);
  text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline;
}
.drawer__phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--f-mono); font-size: 16px; color: var(--graphite); text-decoration: none;
}
.drawer__phone svg { color: var(--terra); }
.drawer__phone + .drawer__phone { margin-top: 12px; }
.drawer__rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; text-decoration: none; color: var(--graphite-3); }
.drawer__rating .mono-cap { color: var(--graphite-3); }

@media (min-width: 700px) {
  .hdr-phone { display: inline-flex; }
}
@media (min-width: 880px) {
  .hdr-cta { display: inline-flex; }
}
@media (min-width: 1040px) {
  .site-nav { display: flex; }
  .hdr-msgr { display: block; }
  .burger { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 70px) clamp(48px, 8vw, 96px); }
.hero__rail { padding-inline: var(--gut); margin-bottom: clamp(24px, 4vw, 46px); }
.hero__rail .dim { color: var(--blue); opacity: .55; }
.hero__grid { display: grid; gap: clamp(34px, 5vw, 64px); grid-template-columns: 1fr; align-items: stretch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__cta { margin-top: 34px; }

@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* hero visual sheet */
.hero__visual { position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero__sheet { position: relative; padding: 0; flex: 1; display: flex; flex-direction: column; }
.hero__sheet-inner { padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.hero__vfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero__vfact { border: 1.5px solid var(--hairline); border-radius: var(--radius); background: var(--paper); padding: 13px 14px; display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center; }
.hero__vfact b { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); color: var(--blue); letter-spacing: -.03em; line-height: 1; }
.hero__vfact .mono-cap { color: var(--graphite-3); }
.hero__cap { margin-top: 12px; text-align: right; }
.hero__seal {
  position: absolute; left: -18px; bottom: -22px; background: var(--scan);
  width: 100px; height: 100px; font-size: 10px;
}

/* schematic plan */
.plan {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0; border: 1.5px solid var(--blue); flex: 1; min-height: 220px;
}
.plan__room { border: 1px solid var(--blue-soft); display: grid; place-items: center; position: relative; }
.plan__room .mono-cap { font-size: 10px; color: var(--blue); opacity: .78; }

/* hero hook */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.hero__link {
  font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--graphite);
  background: transparent; border: 0; cursor: pointer; padding: 6px 2px; position: relative;
}
.hero__link::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1.5px;
  background: var(--terra); transform: scaleX(.4); transform-origin: left; transition: transform .2s ease;
}
.hero__link:hover::after { transform: scaleX(1); }
.hero__subrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.cta-today {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green);
}
.cta-today i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 0 rgba(90,125,90,.5); animation: pulse-today 2.2s ease-out infinite;
}
@keyframes pulse-today {
  0% { box-shadow: 0 0 0 0 rgba(90,125,90,.5); }
  70% { box-shadow: 0 0 0 7px rgba(90,125,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(90,125,90,0); }
}
@media (prefers-reduced-motion: reduce) { .cta-today i { animation: none; } }
.hero__fine {
  margin: 16px 0 0; font-size: 14.5px; color: var(--graphite-2); max-width: 460px; line-height: 1.45;
}
.hero__fine-amt { font-family: var(--f-head); font-weight: 700; color: var(--terra); }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid var(--hairline);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--graphite-3);
  text-transform: uppercase;
}
.hero__meta i { color: var(--terra); font-style: normal; }

/* ---------------- Двойная выгода ---------------- */
.dbl { display: grid; grid-template-columns: 1fr; gap: 22px; }
.dbl__card { padding: clamp(24px, 3vw, 38px); position: relative; display: flex; flex-direction: column; }
.dbl__title { font-family: var(--f-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(27px, 3.3vw, 40px); color: var(--graphite); }
.dbl__body { flex: 1; }
.dbl__foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--hairline); }
.dbl__foot-mark { font-weight: 700; font-size: 16px; color: var(--terra); flex: none; }
.dbl__foot .mono-cap { text-transform: none; letter-spacing: .02em; line-height: 1.4; }
.dbl__mark {
  font-family: var(--f-head); font-weight: 700; font-size: 46px; color: var(--terra);
  line-height: 1; letter-spacing: -.03em;
  display: inline-block; transform: rotate(-4deg);
  border: 2.5px solid var(--terra); border-radius: 6px; padding: 6px 12px;
  box-shadow: inset 0 0 0 3px rgba(199,91,51,.08);
}
.dbl__sum {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 16px;
  background: var(--blue); color: var(--paper); border-radius: var(--radius);
  padding: 22px 26px; text-align: center; flex-wrap: wrap;
}
.dbl__sum-text { font-family: var(--f-head); font-weight: 600; font-size: clamp(17px, 2.4vw, 24px); margin: 0; }
.dbl__sum-text strong { color: #fff; }
.dbl__sum-arrow { font-size: 28px; color: var(--terra); flex: none; }
@media (min-width: 760px) { .dbl { grid-template-columns: 1fr 1fr; } }

/* ---------------- Почему так дёшево ---------------- */
.why__grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.why__seal { margin-top: 26px; }
.why__facts { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.why__fact { flex: 1; min-width: 96px; border: 1.5px solid var(--hairline); border-radius: var(--radius); background: var(--paper); padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.why__fact b { font-family: var(--f-head); font-weight: 700; font-size: clamp(26px,3vw,34px); letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.why__fact .mono-cap { color: var(--graphite-3); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.why__item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px dashed var(--hairline);
}
.why__item:first-child { border-top: 1px dashed var(--hairline); }
.why__check {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--green); font-size: 26px; border: 1.5px solid var(--green-soft);
  border-radius: 3px; background: var(--green-soft);
}
@media (min-width: 900px) { .why__grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------------- Состав проекта ---------------- */
.compo { padding: clamp(16px, 2.4vw, 28px) clamp(14px, 2.4vw, 30px); }
.compo__head, .compo__row {
  display: grid; grid-template-columns: 1fr 46px 46px 46px; align-items: center; gap: 6px;
}
.compo__head { padding: 6px 0 14px; border-bottom: 1.5px solid var(--graphite); }
.compo__head .mono-cap { line-height: 1.1; }
.compo__list { list-style: none; margin: 0; padding: 0; }
.compo__row { padding: 13px 0; border-bottom: 1px dashed var(--hairline); }
.compo__row:last-child { border-bottom: 0; }
.compo__label { display: flex; align-items: baseline; gap: 12px; font-size: 15.5px; line-height: 1.35; }
.compo__num { color: var(--terra); font-size: 12px; flex: none; }
.compo__cell { display: grid; place-items: center; }
.compo__check {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 3px;
  background: var(--green-soft); color: var(--green); border: 1.4px solid var(--green);
  font-size: 16px;
}
.compo__check--terra { background: var(--terra-soft); color: var(--terra); border-color: var(--terra); }
.compo__dash { color: var(--hairline); font-size: 18px; display: grid; place-items: center; height: 28px; }
.compo__price {
  font-size: 11.5px; letter-spacing: .02em; color: var(--terra); white-space: nowrap;
  border: 1.3px solid var(--terra); border-radius: 3px; padding: 5px 7px; line-height: 1;
  background: var(--terra-soft);
}
.compo__group { display: flex; align-items: center; gap: 14px; padding: 22px 0 8px; }
.compo__group:first-child { padding-top: 6px; }
.compo__group .mono-cap { color: var(--blue); white-space: nowrap; }
.compo__group-line { flex: 1; height: 1px; background: var(--blue-soft); }
@media (min-width: 620px) { .compo__head, .compo__row { grid-template-columns: 1fr 96px 96px 96px; } }
.compo__ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1.5px solid var(--graphite); }
.compo__cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
.compo__cta > .mono-cap { color: var(--graphite); }
.compo__cta--feat > .mono-cap { color: var(--terra); }
.compo__cta-note { text-transform: none; letter-spacing: .02em; opacity: .65; font-size: 11px; }

/* ---------------- Цены: тарифы ---------------- */
.roomtog {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: clamp(28px, 4vw, 40px);
}
.roomtog__label, .roomtog__note { color: var(--graphite-3); }
.roomtog__seg {
  display: inline-flex; background: var(--kraft-deep); border: 1.5px solid var(--graphite);
  border-radius: 4px; padding: 4px; gap: 4px;
}
.roomtog__btn {
  font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--graphite-2);
  background: transparent; border: 0; border-radius: 2px; padding: 9px 16px; min-height: 40px;
  cursor: pointer; transition: all .15s ease;
}
.roomtog__btn:hover { color: var(--graphite); }
.roomtog__btn.is-on { background: var(--terra); color: #fff; box-shadow: 2px 2px 0 var(--terra-deep); }

.tiers { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
@media (min-width: 740px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tier {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1.5px solid var(--graphite); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-card);
}
.tier--entry { background: var(--kraft-2); }
.tier--feat { border-color: var(--terra); border-width: 2px; box-shadow: 0 18px 40px -24px rgba(199,91,51,.6); }
.tier__tagwrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; }
.tier__tag { color: var(--graphite-3); }
.tier__badge {
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--terra); padding: 4px 9px; border-radius: 2px;
}
.tier__badge--blue { background: var(--blue); }
.tier__name { font-size: 25px; margin-top: 10px; min-height: 62px; }
.tier__cap, .tier__slots--top { min-height: 96px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tier__price { margin-top: 14px; min-height: 58px; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; }
.tier__old { font-size: 14px; }
.tier__now { font-family: var(--f-head); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--blue); white-space: nowrap; }
.tier__now--feat { color: var(--terra); }
.tier__blurb { margin-top: 14px; color: var(--graphite-2); font-size: 15px; }
.tier__feats { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--hairline); display: grid; gap: 11px; flex: 1; }
.tier__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.tier__check {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px;
  border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 13px;
}
.tier--feat .tier__check { background: var(--terra-soft); color: var(--terra); }
.tier__pay {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding: 12px 14px;
  background: var(--blue-grid); border-left: 2px solid var(--blue); border-radius: 2px;
  text-transform: none; letter-spacing: .02em; line-height: 1.45; color: var(--blue);
}
.tier__pay svg { margin-top: 2px; }
.tier__micro { margin-top: 10px; text-align: center; text-transform: none; letter-spacing: .02em; line-height: 1.4; color: var(--graphite-3); }

/* Лимит проектов / рассрочка / слоты (итерация 1) */
.tier__cap {
  margin-top: 10px; padding: 10px 12px; border-radius: 2px;
  background: var(--blue-grid); border-left: 2px solid var(--blue);
  color: var(--blue); text-transform: none; letter-spacing: .01em;
  font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; line-height: 1.5;
}
.tier__inst { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; }
.tier__inst-amt { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--graphite-2); }
.tier__inst-note { text-transform: none; letter-spacing: .02em; color: var(--graphite-3); line-height: 1.4; }
.tier__slots {
  display: flex; flex-direction: column; gap: 4px; margin-top: 14px;
  padding: 11px 13px; border-radius: 2px;
  background: var(--terra-soft); border-left: 2px solid var(--terra);
}
.tier__slots-amt { font-weight: 700; color: var(--terra); text-transform: none; letter-spacing: .02em; line-height: 1.35; }
.tier__slots-note { text-transform: none; letter-spacing: .02em; color: var(--graphite-3); line-height: 1.4; }
.tier__slots--top { margin-top: 4px; }
.tier__rassrochka { font-size: 13.5px; min-height: 44px; }

/* Приёмка квартиры — микропродукт */
.priemka { padding: clamp(24px, 3vw, 40px); }
.priemka__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.priemka__bridge {
  margin-top: 16px; padding: 10px 14px; display: inline-block;
  background: var(--terra-soft); border-left: 2px solid var(--terra); border-radius: 2px;
  color: var(--terra); text-transform: none; letter-spacing: .02em; line-height: 1.4;
}
.priemka__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.priemka__feats li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px dashed var(--hairline); }
.priemka__feats li:last-child { border-bottom: none; padding-bottom: 0; }
.priemka__num { color: var(--terra); font-size: 13px; flex: none; padding-top: 2px; }
@media (max-width: 720px) { .priemka__grid { grid-template-columns: 1fr; } }

/* Условия — единый чертёжный блок (зачёт · рассрочка · гарантия) */
.assure { margin-top: 30px; padding: 0; overflow: hidden; }
.assure__row {
  display: flex; gap: clamp(16px, 2.6vw, 30px); align-items: flex-start;
  padding: clamp(20px, 2.6vw, 30px);
}
.assure__row:first-of-type { padding-top: clamp(26px, 3vw, 36px); }
.assure__row + .assure__row { border-top: 1.5px dashed var(--hairline); }
.assure__chip {
  flex: none; width: 116px; height: 86px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  border: 2px solid var(--terra); border-radius: 6px; background: var(--terra-soft);
  transform: rotate(-2deg);
}
.assure__amt { font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1; color: var(--terra); letter-spacing: -.03em; }
.assure__chip .mono-cap { color: var(--terra-deep); }
.assure__seal { flex: none; width: 100px; height: 100px; }
.assure__txt { flex: 1; min-width: 0; }
.assure__h { font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 23px); letter-spacing: -.01em; color: var(--graphite); line-height: 1.15; }
.assure__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.assure__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.assure__list .pcheck { font-size: 20px; margin-top: 1px; }
@media (max-width: 560px) {
  .assure__row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ТЗ-18 — линейные иконки условий (заменяют круглые печати) */
.assure__icon {
  flex: none; width: 84px; height: 84px; display: grid; place-items: center;
  border: 1.5px solid var(--hairline); border-radius: 16px;
  color: var(--terra); font-size: 42px; background: var(--scan);
}
@media (max-width: 560px) { .assure__icon { width: 66px; height: 66px; font-size: 34px; } }

/* ТЗ-21 — схемы оплаты по тарифам (2 / 3 / 4 этапа) */
.payplan { margin-top: 18px; display: grid; gap: 12px; }
.payplan__row { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.payplan__tier { display: flex; flex-direction: column; gap: 2px; color: var(--terra-deep); }
.payplan__n { font-style: normal; color: var(--graphite-3); font-size: 10px; }
.payplan__bar { display: flex; gap: 6px; }
.payplan__seg {
  flex: 1; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center;
  min-width: 0; padding: 11px 6px; border: 1.5px solid var(--hairline); border-radius: 9px;
  background: var(--scan); text-align: center;
}
.payplan__seg b { font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--graphite); line-height: 1; }
.payplan__seg .mono-cap { font-size: 9.5px; text-transform: none; letter-spacing: .01em; color: var(--graphite-3); line-height: 1.2; }
@media (max-width: 620px) {
  .payplan__row { grid-template-columns: 1fr; gap: 5px; }
  .payplan__tier { flex-direction: row; align-items: baseline; gap: 8px; }
  .payplan__seg { padding: 9px 4px; }
}

/* ТЗ-22 — оффер фиксации цены в квизе */
.quiz__lock {
  margin-top: 14px; display: flex; gap: 13px; align-items: flex-start;
  padding: 14px 16px; border: 1.5px solid var(--terra); border-radius: 12px;
  background: var(--terra-soft);
}
.quiz__lock-ic { flex: none; font-size: 27px; color: var(--terra); line-height: 1; margin-top: 1px; }
.quiz__lock-h { display: block; font-family: var(--f-head); font-weight: 700; font-size: 16.5px; color: var(--graphite); line-height: 1.2; }
.quiz__lock-slots { display: block; margin-top: 7px; color: var(--terra-deep); text-transform: none; letter-spacing: .02em; }
.quiz__lock-fine { display: block; margin-top: 7px; color: var(--graphite-3); text-transform: none; letter-spacing: .02em; line-height: 1.4; }

/* Тейзер фиксации цены в квизе (виден до формы) */
.quiz__teaser {
  display: flex; gap: 10px; align-items: center; margin-top: 14px;
  padding: 11px 14px; border: 1.5px solid var(--terra); border-radius: 10px;
  background: var(--terra-soft); color: var(--graphite); font-size: 14px; line-height: 1.35;
}
.quiz__teaser b { color: var(--terra-deep); }
.quiz__teaser-ic { flex: none; font-size: 22px; color: var(--terra); line-height: 1; }

/* Строка фиксации цены под тарифами */
.pricelock-line {
  display: inline-flex; gap: 13px; align-items: center; justify-content: center;
  margin: 0 16px 16px 0; padding: 14px 24px; border: 2px solid var(--green); border-radius: 999px;
  background: var(--green-soft); color: var(--graphite); font-size: 16px; line-height: 1.35; text-align: left;
  box-shadow: 0 6px 20px rgba(90,125,90,.16);
}
.pricelock-line b { color: var(--green); }
.pricelock-line__ic {
  flex: none; font-size: 22px; color: #fff; line-height: 1;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--green); border-radius: 50%;
}

/* ---------------- Портфолио сканы ---------------- */
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--graphite); background: transparent; color: var(--graphite);
  font-size: 20px; cursor: pointer; transition: all .15s ease;
}
.round-btn:hover { background: var(--terra); border-color: var(--terra-deep); color: #fff; }
.portfolio__scroll-wrap { position: relative; }
.port-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(247,243,233,.82); backdrop-filter: blur(2px);
}
.port-nav--l { left: -6px; }
.port-nav--r { right: -6px; }
.port-nav--disabled { opacity: .3; pointer-events: none; }
@media (max-width: 780px) { .port-nav { display: none; } }
.portfolio__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  font-family: var(--f-body); font-size: 14px; color: var(--graphite-2);
  border: 1.4px solid var(--hairline); background: transparent; border-radius: 40px;
  padding: 9px 16px; cursor: pointer; transition: all .15s ease; display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--graphite); color: var(--graphite); }
.chip--on { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.chip--on .compo__num, .chip--on .mono { color: var(--terra); }
.portfolio__scroll { padding-bottom: 14px; }
.port-sheet { width: min(86vw, 460px); cursor: zoom-in; margin: 0; }
.port-sheet__frame { position: relative; }
.port-sheet__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.port-sheet__tag {
  position: absolute; top: 12px; left: 14px; z-index: 1;
  background: rgba(247,243,233,.9); color: var(--terra);
  padding: 3px 9px; border-radius: 3px; letter-spacing: .04em;
}
.port-sheet__cap { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 14.5px; }
.port-sheet__capbody { display: flex; flex-direction: column; gap: 4px; }
.port-sheet__capline { color: var(--graphite-2); font-weight: 400; font-size: 13.5px; line-height: 1.4; }

/* ---------------- Sheet lightbox ---------------- */
.sheet-lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.sheet-lb__scrim { position: absolute; inset: 0; background: rgba(20,18,15,.86); }
.sheet-lb__stage {
  position: relative; z-index: 1; width: min(92vw, 1100px); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.sheet-lb__img {
  max-width: 100%; max-height: 74vh; width: auto; height: auto;
  border: 1px solid #E2DAC9; box-shadow: var(--shadow-sheet); background: var(--scan);
}
.sheet-lb__cap {
  display: flex; flex-direction: column; gap: 4px; text-align: center; color: var(--paper);
  max-width: 640px;
}
.sheet-lb__cap b { font-family: var(--f-head); font-size: 18px; }
.sheet-lb__cap span:last-child { color: #cdd9e8; font-size: 14.5px; line-height: 1.4; }
.sheet-lb__close, .sheet-lb__nav {
  position: absolute; z-index: 2; background: var(--paper); border-color: var(--paper);
}
.sheet-lb__close { top: 22px; right: 22px; }
.sheet-lb__nav--l { left: 16px; top: 50%; transform: translateY(-50%); }
.sheet-lb__nav--r { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .sheet-lb__nav--l { left: 6px; }
  .sheet-lb__nav--r { right: 6px; }
}

/* ---------------- ЖК ---------------- */
.zk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.zk {
  position: relative; text-align: left; font-family: var(--f-body); display: flex; flex-direction: column;
  background: var(--kraft-2); border: 1.5px solid var(--hairline); border-radius: var(--radius);
  padding: 0; display: flex; flex-direction: column; overflow: hidden;
  transition: all .16s ease;
}
.zk:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-card); }
.zk:focus-within { border-color: var(--terra); }
.zk__illu {
  position: relative; display: block; aspect-ratio: 16 / 10; width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(31,58,95,.06) 0 9px, transparent 9px 18px),
    var(--kraft-deep);
  border-bottom: 1.5px solid var(--hairline);
  display: grid; place-items: center;
}
.zk__illu-ph { color: var(--graphite-3); opacity: .8; }
.zk__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zk__corner {
  position: absolute; top: 8px; right: 8px; width: 18px; height: 18px;
  border-top: 1.5px solid var(--blue-soft); border-right: 1.5px solid var(--blue-soft);
}
.zk:hover .zk__illu { background:
    repeating-linear-gradient(135deg, rgba(199,91,51,.08) 0 9px, transparent 9px 18px),
    var(--kraft-deep); }
.zk__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.zk__n { font-family: var(--f-head); font-weight: 700; font-size: 40px; line-height: 1; color: var(--blue); letter-spacing: -.03em; }
.zk:hover .zk__n { color: var(--terra); }
.zk__name { font-size: 14.5px; color: var(--graphite-2); line-height: 1.3; }
.zk__btn {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: flex-start; gap: 7px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--terra); background: transparent; border: 0; cursor: pointer; text-align: left;
  line-height: 1.4; transition: gap .16s ease;
}
.zk__btn svg { flex: none; margin-top: 1px; font-size: 13px; transition: transform .16s ease; }
.zk__btn:hover { gap: 10px; }
.zk__btn:hover svg { transform: translateX(2px); }
.zk--link { text-decoration: none; color: inherit; cursor: pointer; }
.zk__cta {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--terra); font-size: 11px; transition: gap .16s ease;
}
.zk__cta svg { flex: none; font-size: 13px; transition: transform .16s ease; }
.zk--link:hover .zk__cta { gap: 10px; }
.zk--link:hover .zk__cta svg { transform: translateX(2px); }
@media (min-width: 680px) { .zk-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .zk-grid { grid-template-columns: repeat(4, 1fr); } }

.rooms { margin-top: 26px; border-top: 1.5px solid var(--hairline); padding-top: 22px; }
.rooms__title { display: block; margin-bottom: 14px; }
.rooms__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rooms__cell { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rooms__n { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 4vw, 40px); color: var(--graphite); letter-spacing: -.03em; }
@media (max-width: 460px) { .rooms__row { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ---------------- Сравнение ---------------- */
.cmp { padding: clamp(10px,2vw,20px) clamp(8px,2vw,22px); }
.cmp__head, .cmp__row { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1fr; align-items: center; gap: 6px; }
.cmp__head { padding: 10px 0 16px; border-bottom: 1.5px solid var(--graphite); }
.cmp__col { text-align: center; display: flex; justify-content: center; }
.cmp__col--us { }
.cmp__row { padding: 14px 0; border-bottom: 1px dashed var(--hairline); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__rowlabel { font-size: 14.5px; line-height: 1.35; padding-right: 6px; }
.cmp__cell { display: grid; place-items: center; }
.cmp__cell--us { background: var(--green-soft); border-radius: var(--radius); align-self: stretch; }
.cmp__row--pathos { background: rgba(31,58,95,.04); border-radius: var(--radius); }
.pencil-note { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--terra); margin-top: 3px; }
.cmp-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 17px; }
.cmp-yes { background: var(--green-soft); color: var(--green); }
.cmp-us { background: var(--green); color: #fff; }
.cmp-no { color: var(--hairline); }
.cmp-part { color: var(--graphite-3); font-size: 18px; }
.cmp__cell--us .cmp-no { background: transparent; color: #3f5c3f; }
@media (max-width: 560px) {
  .cmp__head, .cmp__row { grid-template-columns: 1.3fr .7fr .7fr .8fr; }
  .cmp__col .h3 { font-size: 12px; }
  .cmp__rowlabel { font-size: 13px; }
}

/* ---------------- Этапы ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 24px 0; border-top: 1px solid rgba(205,217,232,.22);
}
.step:last-child { border-bottom: 1px solid rgba(205,217,232,.22); }
.step__n {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(26px,4vw,40px);
  color: var(--terra); letter-spacing: -.03em; line-height: 1;
  min-width: 56px;
}
.step__opt { margin-left: 12px; align-self: center; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ---------------- Как мы работаем (flow2) ---------------- */
.btn--ghost-light {
  --bg: transparent; --fg: var(--paper);
  border: 1.5px solid rgba(246,241,230,.5); box-shadow: 3px 3px 0 rgba(246,241,230,.18);
}
.btn--ghost-light:hover { background: rgba(246,241,230,.08); box-shadow: 4px 4px 0 rgba(246,241,230,.18); }
.btn--ghost-light:active { box-shadow: 0 0 0 rgba(246,241,230,.18); }

.flow2__entries { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .flow2__entries { grid-template-columns: 1fr 1fr; } }
.flow2__entry {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(205,217,232,.32);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px);
}
.flow2__entry--accent { border-color: var(--terra); background: rgba(199,91,51,.1); }
.flow2__entry-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow2__entry-note { color: #8ea4c2; }
.flow2__entry-price { font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--terra); white-space: nowrap; }
.flow2__entry-name { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px,2.4vw,27px); letter-spacing: -.02em; color: var(--paper); margin-top: 10px; }
.flow2__entry-desc { margin: 12px 0 20px; color: #cdd9e8; font-size: 15px; line-height: 1.5; flex: 1; }

.flow2__merge { display: flex; align-items: center; gap: 16px; margin: clamp(22px,3vw,32px) 0; }
.flow2__merge-line { flex: 1; height: 1px; background: rgba(205,217,232,.3); }
.flow2__merge-text { color: #e7eef7; white-space: nowrap; }

.flow2__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: none; }
@media (min-width: 620px) { .flow2__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .flow2__steps { grid-template-columns: repeat(3, 1fr); } }
.flow2__step {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.035); border: 1px solid rgba(205,217,232,.22);
  border-radius: var(--radius); padding: clamp(18px,2vw,24px);
}
.flow2__step-n {
  flex: none; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px,3.4vw,42px);
  line-height: .9; color: var(--terra); letter-spacing: -.03em;
}
.flow2__step-body { min-width: 0; }
.flow2__step-t { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--paper); letter-spacing: -.01em; }
.flow2__opt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #e9a487; border: 1.3px solid #e9a487; border-radius: 3px; padding: 3px 7px; }
.flow2__step-d { margin: 8px 0 0; color: #c2cee0; font-size: 14px; line-height: 1.5; }
.flow2__foot { margin-top: clamp(26px,3.4vw,38px); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }

.port-cta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center;
  justify-content: space-between; padding: clamp(20px,2.6vw,28px);
  background: var(--paper); border: 1.5px solid var(--hairline); border-radius: var(--radius);
}
.port-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* ---------------- Регионы ---------------- */
.reg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .reg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .reg-grid { grid-template-columns: repeat(3, 1fr); } }
.reg {
  display: flex; flex-direction: column; text-align: left;
  background: var(--paper); border: 1.5px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.reg:hover { border-color: var(--terra); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.reg__illu {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 3; width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(31,58,95,.06) 0 9px, transparent 9px 18px),
    var(--kraft-deep);
  border-bottom: 1.5px solid var(--hairline); padding: 14px; text-align: center;
}
.reg__illu-ph { color: var(--graphite-3); opacity: .85; line-height: 1.4; }
.reg__illu-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.reg__illu-cap {
  position: absolute; left: 8px; bottom: 8px; z-index: 1;
  background: rgba(246,241,230,.88); color: var(--graphite-2);
  padding: 3px 9px; border: 1px solid var(--hairline); border-radius: 5px;
  text-transform: none; letter-spacing: .02em; max-width: calc(100% - 16px);
}
.reg__corner { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-top: 1.5px solid var(--blue-soft); border-right: 1.5px solid var(--blue-soft); }
.reg:hover .reg__illu { background: repeating-linear-gradient(135deg, rgba(199,91,51,.09) 0 9px, transparent 9px 18px), var(--kraft-deep); }
.reg__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 16px 18px; }
.reg__city { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--blue); }
.reg:hover .reg__city { color: var(--terra); }
.reg__text { font-size: 13.5px; line-height: 1.45; color: var(--graphite-2); margin: 0; flex: 1; }
.reg__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  color: var(--terra); background: transparent; border: 0; padding: 0; cursor: pointer;
  text-transform: none; letter-spacing: .02em; text-align: left; line-height: 1.35;
}
.reg__cta svg { flex: none; transition: transform .16s ease; }
.reg--link { text-decoration: none; color: inherit; }
.reg--link:hover .reg__cta svg { transform: translateX(4px); }
.reg--cta { background: var(--blue); border-color: var(--blue); }
.reg--cta:hover { transform: translateY(-3px); border-color: var(--terra); box-shadow: var(--shadow-card); }
.reg__ctabody { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: clamp(18px,2.4vw,24px); height: 100%; }
.reg__ctabody .reg__text { flex: 0 1 auto; }

/* ---------------- Доверие ---------------- */
.trust__stamps { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 44px; }
.trust__stamp {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid var(--blue); color: var(--blue); border-radius: 4px; padding: 12px 18px;
  box-shadow: inset 0 0 0 3px rgba(31,58,95,.06); transform: rotate(-2deg);
}
.trust__stamp:nth-child(even) { transform: rotate(1.5deg); }
.trust__stamp--terra { border-color: var(--terra); color: var(--terra); box-shadow: inset 0 0 0 3px rgba(199,91,51,.07); }
.reviews { column-count: 1; column-gap: 22px; }
@media (min-width: 720px) { .reviews { column-count: 2; } }
@media (min-width: 1080px) { .reviews { column-count: 3; } }
.review { margin: 0 0 22px; break-inside: avoid; display: block; }
.review__frame { position: relative; }
.review__img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ig { margin-top: 52px; border-top: 1.5px solid var(--hairline); padding-top: 26px; }
.ig__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ig__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ig__row .scan-sheet { aspect-ratio: 1; }
@media (min-width: 720px) { .ig__row { grid-template-columns: repeat(6, 1fr); } }

/* ---------------- Footer ---------------- */
.footer { color: var(--paper); padding-block: clamp(48px,7vw,84px) 28px; position: relative; z-index: 2; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer__col span.mono-cap { display: block; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { color: #d7e0ee; text-decoration: none; font-size: 15px; transition: color .15s ease; }
.footer__col a:hover { color: var(--terra); }
@media (min-width: 880px) { .footer__top { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

.footer__seo { margin-top: 48px; border-top: 1px solid rgba(205,217,232,.2); padding-top: 18px; }
.footer__seo-toggle { background: transparent; border: 0; color: #8ea4c2; cursor: pointer; padding: 4px 0; }
.footer__seo-toggle:hover { color: var(--terra); }
.footer__seo-cloud { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.footer__seo-cloud a { font-size: 12px; color: #6f86a6; text-decoration: none; }
.footer__seo-cloud a:hover { color: #c2cee0; }
.footer__legal { margin-top: 30px; border-top: 1px solid rgba(205,217,232,.2); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: start; }
.footer__legal .mono-cap { color: #8ea4c2; }
.footer__dev { color: #8ea4c2; text-decoration: none; transition: color .15s ease; }
.footer__dev:hover { color: var(--terra); }
.footer__rating { display: inline-flex; border-radius: 6px; overflow: hidden; line-height: 0; opacity: .95; }
.footer__rating:hover { opacity: 1; }

.compo__row { transition: background-color .15s ease; margin-inline: -12px; padding-inline: 12px; border-radius: 6px; }
.compo__row:hover { background-color: rgba(34,32,28,.055); }

/* Hero — виджет рейтинга Яндекса */
.hero__rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; text-decoration: none; width: fit-content; }
.hero__rating iframe { border-radius: 6px; overflow: hidden; display: block; box-shadow: 0 4px 14px rgba(30,30,30,.1); }
.hero__rating .mono-cap { color: var(--graphite-3); text-transform: none; letter-spacing: .02em; }
.hero__rating:hover .mono-cap { color: var(--graphite); }

/* ---------------- Посадочные страницы городов ---------------- */
.cityhero__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(246,241,230,.94); border: 1.5px solid var(--graphite);
  border-radius: 6px; padding: 8px 14px;
}
.cityhero__badge .mono-cap { color: var(--blue); }
.cityhero__badge b { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--terra-deep); letter-spacing: -.01em; }

.citylocal { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(28px,3.6vw,42px); }
@media (min-width: 720px) { .citylocal { grid-template-columns: repeat(3, 1fr); } }
.citylocal__card { padding: clamp(20px,2.4vw,28px); background: var(--paper); }
.citylocal__n { color: var(--terra); font-size: 13px; }
.citylocal__t { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 10px 0 8px; color: var(--graphite); }
.citylocal__d { font-size: 15px; line-height: 1.5; color: var(--graphite-2); margin: 0; }

.faq__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,52px); align-items: start; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.85fr 1.15fr; } }
.faq__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1.5px solid var(--hairline); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: border-color .16s ease; }
.faq__item.is-open { border-color: var(--terra); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-head); font-weight: 600; font-size: 16.5px; color: var(--graphite); line-height: 1.35;
}
.faq__ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hairline); display: grid; place-items: center; color: var(--terra); font-size: 15px; transition: transform .2s ease, background .16s ease; transform: rotate(90deg); }
.faq__item.is-open .faq__ic { transform: rotate(-90deg); background: var(--terra-soft); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__item.is-open .faq__a { max-height: 320px; }
.faq__a p { margin: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.55; color: var(--graphite-2); }

/* ---------------- Офис — фиксированная сетка ---------------- */
.office__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.office__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.office__slide { margin: 0; }
.office__slide .office__frame {
  display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 14px; box-shadow: 0 10px 28px rgba(30,30,30,.1);
}
.office__slide .office__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.office__cap { margin-top: 12px; color: var(--graphite-3); }
@media (max-width: 900px) { .office__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .office__grid { grid-template-columns: 1fr; } }

/* ---------------- Контакты ---------------- */
.contacts { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 34px; align-items: stretch; }
@media (min-width: 900px) { .contacts { grid-template-columns: 1fr 1fr; gap: 32px; } }
.contacts__info { display: flex; flex-direction: column; gap: 20px; }
.contacts__phone {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 3.4vw, 32px);
  color: var(--graphite); letter-spacing: -.01em; line-height: 1;
}
.contacts__phone svg { color: var(--terra); font-size: .82em; }
.contacts__mail {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--graphite-2); font-size: 16px; margin-top: -6px;
}
.contacts__mail svg { color: var(--terra); font-size: 18px; }
.contacts__mail:hover { color: var(--terra); }
.contacts__block { display: flex; flex-direction: column; gap: 10px; }
.contacts__label { color: var(--graphite-3); }
.contacts__chan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contacts__chan-a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 11px 14px; border: 1.4px solid var(--hairline); border-radius: 4px;
  color: var(--graphite); font-size: 15px; background: rgba(255,255,255,.35);
  transition: all .15s ease;
}
.contacts__chan-a svg { color: var(--cc); font-size: 19px; transition: color .15s ease; }
.contacts__chan-a:hover { border-color: var(--cc); background: var(--cc); color: #fff; }
.contacts__chan-a:hover svg { color: #fff; }
.contacts__addr { display: flex; gap: 12px; margin: 0; font-size: 16.5px; line-height: 1.45; color: var(--graphite); }
.contacts__addr-ic { flex: none; color: var(--terra); font-size: 22px; line-height: 1; margin-top: 1px; }
.contacts__addr i { font-style: normal; color: var(--graphite-3); font-size: 14.5px; }
.contacts__coords { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-family: var(--f-mono); font-size: 14px; color: var(--graphite-2); }
.contacts__coords svg { color: var(--terra); font-size: 18px; }
.contacts__coords .mono-cap { text-transform: none; letter-spacing: .02em; color: var(--graphite-3); }
.contacts__ymaps {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; text-decoration: none;
  color: var(--terra-deep); font-weight: 600; font-size: 15px;
}
.contacts__ymaps svg { font-size: 17px; transition: transform .15s ease; }
.contacts__ymaps:hover svg { transform: translateX(3px); }
.contacts__rating { margin-top: 4px; border-radius: 6px; overflow: hidden; line-height: 0; align-self: flex-start; box-shadow: 0 4px 14px rgba(30,30,30,.08); }
.contacts__map {
  border-radius: var(--radius); overflow: hidden; min-height: 340px;
  border: 1.5px solid var(--hairline); box-shadow: 0 10px 30px rgba(30,30,30,.1);
}
.contacts__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
