/*
 * Варианты оформления. Включаются классами на <body> из site.json:
 * v-<секция>-<вариант>, m-<анимация>, p-<паттерн>, r-<форма>, fx-<эффект>, t-upper.
 */

/* ---------- Общие дополнения ---------- */
body { --pattern: repeating-linear-gradient(90deg, color-mix(in srgb, var(--steel) 13%, transparent) 0 32.5px, transparent 32.5px 65px); }
.hero, .tile-feature, .page-head, .news-card__img, .cta-box { background-size: var(--pattern-size, auto); }
.section-paper { background: var(--paper); }
.logo-img { display: inline-flex; align-items: center; flex: none; }
.logo-img img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.logo-plate { background: #fff; border-radius: calc(var(--radius-sm) * .7); padding: 5px 10px; }
.logo-plate img { height: 36px; }
.site-footer .logo-img img { height: 36px; }
.tile-body > p { margin-bottom: 18px; color: var(--ink-soft); }
.tile-feature .tile-body > p { color: var(--on-dark-soft); }
.about-num { display: none; }
.trust-num { display: block; margin-bottom: 22px; font-family: var(--display); font-weight: var(--dw, 600); font-size: 15px; letter-spacing: .12em; color: var(--mint); }
img.parallax { scale: 1.08; will-change: transform; }
.hero h1 { font-size: calc(clamp(44px, 6.4vw, 88px) * var(--h-scale, 1)); }
.section-head h2 { font-size: calc(clamp(34px, 4.4vw, 58px) * var(--h-scale, 1)); }
.section-dark .about-points p, .section-dark .faq-a, .section-dark .step p { color: var(--on-dark-soft); }

/* ---------- Паттерны фона ---------- */
.p-grid {
  --pattern: linear-gradient(color-mix(in srgb, var(--steel) 18%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--steel) 18%, transparent) 1px, transparent 1px);
  --pattern-size: 56px 56px;
}
.p-dots { --pattern: radial-gradient(color-mix(in srgb, var(--steel) 34%, transparent) 1.4px, transparent 1.6px); --pattern-size: 22px 22px; }
.p-diagonal { --pattern: repeating-linear-gradient(135deg, color-mix(in srgb, var(--steel) 14%, transparent) 0 1.5px, transparent 1.5px 20px); }
.p-glow { --pattern: radial-gradient(60% 90% at 88% 6%, color-mix(in srgb, var(--lime) 24%, transparent), transparent 62%), radial-gradient(55% 80% at 0% 100%, color-mix(in srgb, var(--mint) 22%, transparent), transparent 60%); }
.p-none { --pattern: none; }

/* ---------- Формы ---------- */
.r-soft { --radius: 16px; --radius-sm: 11px; --btn-radius: 12px; }
.r-sharp { --radius: 4px; --radius-sm: 3px; --btn-radius: 3px; }
.r-soft .tab, .r-soft .nav a, .r-soft .pagination .page-numbers { border-radius: 10px; }
.r-sharp .tab, .r-sharp .tab span, .r-sharp .nav a, .r-sharp .pagination .page-numbers, .r-sharp .plate, .r-sharp .menu-btn, .r-sharp .legal summary i, .r-sharp .faq-item summary i { border-radius: 3px; }
.r-sharp .step::before { border-radius: 3px; }

/* ---------- Заголовки ---------- */
.t-upper :is(h1, h2) { text-transform: uppercase; letter-spacing: .005em; }
.t-upper .hero h1 { font-size: calc(clamp(38px, 5.4vw, 76px) * var(--h-scale, 1)); line-height: 1.02; }
.t-upper .section-head h2 { font-size: calc(clamp(30px, 3.8vw, 50px) * var(--h-scale, 1)); }
.t-upper .logo-word { letter-spacing: .08em; }

/* ---------- Шапка ---------- */
.v-header-light .site-header { background: color-mix(in srgb, #fff 94%, transparent); color: var(--ink); border-bottom: 1px solid var(--line-light); }
.v-header-light .site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .35); }
.v-header-light .nav a { color: var(--ink-soft); }
.v-header-light .nav a:hover { color: var(--ink); background: var(--paper); }
.v-header-light .header-call span { color: var(--slate); }
.v-header-light .logo { color: var(--ink); }
.v-header-light .logo-word small { color: var(--ink-soft); }
.v-header-light .menu-btn { border-color: var(--line-light); }
.v-header-light :focus-visible { outline-color: var(--slate); }

.v-header-float .site-header { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding-top: 12px; margin-bottom: -92px; }
.v-header-float .header-row {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter));
  height: 68px; padding: 0 12px 0 22px;
  background: color-mix(in srgb, var(--slate-night) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6);
}
.v-header-float .hero-grid { padding-top: calc(clamp(48px, 8vw, 104px) + 84px); }
.v-header-float .page-head { padding-top: calc(clamp(48px, 7vw, 96px) + 84px); }

/* ---------- Первый экран ---------- */
.hero-figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--slate-deep); }
.hero-figure img, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
}
.hero-badge span { font-size: 13px; color: var(--ink-soft); }
.hero-badge strong { font-family: var(--display); font-weight: var(--dw, 600); font-size: 21px; font-variant-numeric: tabular-nums; }

/* photo: фото во всю ширину под затемнением */
.hero--photo.has-photo { background: var(--slate-night); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--slate-night) 94%, transparent) 0%, color-mix(in srgb, var(--slate-night) 76%, transparent) 46%, color-mix(in srgb, var(--slate-night) 30%, transparent) 100%); }
.hero--photo.has-photo::after { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--slate-night) 90%, transparent)); }
.hero--photo .stats { background: color-mix(in srgb, var(--slate-night) 55%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; margin-bottom: clamp(40px, 5vw, 64px); }

/* media: светлый экран, фото справа */
.hero--media { background: var(--paper); background-image: none; color: var(--ink); }
.hero--media::after { display: none; }
.hero--media .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy figure" "lookup figure"; align-items: start; row-gap: 32px; }
.hero--media .hero-copy { grid-area: copy; }
.hero--media .lookup { grid-area: lookup; box-shadow: 0 24px 50px -34px rgba(10, 25, 30, .45); border: 1px solid var(--line-light); }
.hero--media .hero-figure { grid-area: figure; align-self: stretch; min-height: 560px; }
.hero--media .eyebrow { color: var(--slate); }
.hero--media .hero-lead { color: var(--ink-soft); }
.hero--media h1 em { color: var(--slate); }
.hero--media .btn-ghost { border-color: var(--line-light); color: var(--ink); }
.hero--media .btn-ghost:hover { border-color: var(--ink); background: transparent; }
.hero--media .stats { border-top-color: var(--line-light); }
.hero--media .stat span { color: var(--ink-soft); }
.hero--media .stat { border-left-color: var(--slate); }
.hero--media .stat:nth-child(even) { border-left-color: var(--lime); }
.hero--media :focus-visible { outline-color: var(--slate); }

/* center: по центру, фото-лента снизу */
.hero--center .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "lookup" "figure"; justify-items: center; text-align: center; }
.hero--center .hero-copy { grid-area: copy; max-width: 940px; }
.hero--center .hero-lead { margin-left: auto; margin-right: auto; }
.hero--center .hero-actions { justify-content: center; }
.hero--center .lookup { grid-area: lookup; width: min(720px, 100%); text-align: left; }
.hero--center .hero-figure { grid-area: figure; width: 100%; aspect-ratio: 21 / 8; }
.hero--center .stats { text-align: left; }

/* ---------- О компании ---------- */
.about-figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about--image.has-photo { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "figure main" "figure points"; row-gap: 36px; }
.about--image .about-figure { grid-area: figure; aspect-ratio: 4 / 5; position: sticky; top: 110px; }
.about--image .about-main { grid-area: main; }
.about--image .about-points { grid-area: points; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.about--image blockquote { font-size: clamp(24px, 2.6vw, 36px); }
.about--image .about-num, .about--cards .about-num { display: block; margin-bottom: 12px; font-family: var(--display); font-weight: var(--dw, 600); font-size: 14px; letter-spacing: .14em; color: var(--slate); }
.about--cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.about--cards .about-main { max-width: 1000px; }
.about--cards .about-points { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 0; }
.about--cards .about-point { background: var(--paper); border-radius: var(--radius); padding: 30px 28px; }
.section-paper .about--cards .about-point { background: var(--white); }
.about--cards .about-num { font-size: 42px; letter-spacing: -.02em; margin-bottom: 22px; line-height: 1; }
.about--cards .about-figure { order: 3; aspect-ratio: 21 / 8; }

/* ---------- Услуги ---------- */
.bento--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
.bento--cards .tile-feature { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; align-items: start; }
.bento--cards .tile-feature .tile-body { grid-column: 1; }
.bento--cards .tile-feature ul { grid-column: 2; grid-row: 1 / span 2; }
.bento--cards .tile-feature .tile-call { grid-column: 1; margin-top: 0; padding-top: 12px; }
.bento--cards .tile-wide { grid-column: auto; }
.bento--cards .tile-wide ul { grid-template-columns: 1fr; }
.bento--cards .tile.has-photo { padding: 0; overflow: hidden; }
.tile-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile-photo img { transform: scale(1.04); }
.bento--cards .tile.has-photo .tile-body { padding: 0 clamp(24px, 2.6vw, 34px); }
.bento--cards .tile.has-photo ul { padding: 0 clamp(24px, 2.6vw, 34px) clamp(26px, 2.8vw, 36px); }
.bento--cards .tile.has-photo .tile-icon { position: relative; margin-top: -26px; background: var(--white); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }

.bento--rows { display: block; border-top: 1px solid var(--line-light); }
.bento--rows .tile { display: grid; grid-template-columns: 56px minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 32px; align-items: start; padding: 30px 0; background: none; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0; }
.bento--rows .tile .tile-body { display: contents; }
.bento--rows .tile-icon { grid-column: 1; grid-row: 1 / span 3; margin: 0; background: var(--white); border: 1px solid var(--line-light); }
.bento--rows .tile h3 { grid-column: 2; margin-bottom: 8px; }
.bento--rows .tile-body > p { grid-column: 2; }
.bento--rows .tile ul { grid-column: 3; grid-row: 1 / span 3; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.bento--rows .tile-feature { grid-template-columns: 56px minmax(0, .8fr) minmax(0, 1.2fr); padding: 34px; margin: 0 0 18px; border: 0; border-radius: var(--radius); background-color: var(--slate); color: var(--white); background-image: var(--pattern); }
.bento--rows .tile-feature .tile-icon { border: 0; background: var(--lime); }
.bento--rows .tile-feature .tile-call { grid-column: 2; padding-top: 18px; margin: 0; }

/* ---------- Почему нам доверяют ---------- */
.trust--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 0; }
.trust.trust--cards .trust-item { padding: 30px 28px 32px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); }
.trust--cards .trust-num { font-size: 40px; letter-spacing: -.02em; line-height: 1; color: var(--slate); margin-bottom: 26px; }
.trust--cards .trust-item p { color: var(--ink-soft); }
.trust--cards .trust-item b { color: var(--slate); }

.trust-layout--split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trust-layout--split .trust-aside { position: sticky; top: 110px; }
.trust-layout--split .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 0; }
.trust-figure { margin: 32px 0 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.trust-figure img { width: 100%; height: 100%; object-fit: cover; }
.trust--split { grid-template-columns: minmax(0, 1fr); }
.trust.trust--split .trust-item { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-right: 0; border-left: 0; }
.trust--split .trust-num { margin: 2px 0 0; font-size: 26px; letter-spacing: 0; color: var(--lime); }

/* ---------- Заявки ---------- */
.v-requests-horizontal .requests { grid-template-columns: minmax(0, 1fr); }
.v-requests-horizontal .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v-requests-horizontal .step { grid-template-columns: minmax(0, 1fr); padding: 30px 28px; }
.v-requests-horizontal .step::before { grid-row: auto; margin-bottom: 22px; }
.v-requests-horizontal .step + .step::after { left: -16px; top: 56px; width: 16px; height: 2px; }
.v-requests-horizontal .app-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 6px 40px; align-items: center; }
.v-requests-horizontal .app-badge { grid-row: 1 / span 2; margin: 0; }
.v-requests-horizontal .app-badge span { display: none; }
.v-requests-horizontal .app-card h3 { grid-column: 2; margin: 0; }
.v-requests-horizontal .app-card > p { grid-column: 2; }
.v-requests-horizontal .app-card ul { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.section-paper .step { background: var(--white); }

/* ---------- Дома ---------- */
.v-objects-cards .streets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; background: none; border: 0; }
.v-objects-cards .street { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; border: 1px solid var(--line-light); border-radius: var(--radius-sm); background: var(--white); }
.v-objects-cards .street:nth-child(-n + 2) { border-top: 1px solid var(--line-light); }
.v-objects-cards .section-white .street { background: var(--paper); }
.v-objects-cards .street-name { padding-top: 0; font-size: 17px; }

/* ---------- Новости ---------- */
.v-news-list .news-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.v-news-list .news-card { flex-direction: row; }
.v-news-list .news-card__img { width: min(300px, 36%); flex: none; aspect-ratio: auto; }
.section-white .news-card { background: var(--paper); }

/* ---------- Фото домов ---------- */
.gallery { display: grid; gap: 12px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--slate); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 7px 12px; border-radius: var(--radius-sm); font-size: 14px; color: #fff;
  background: color-mix(in srgb, var(--slate-night) 62%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gallery--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; }
.gallery--mosaic .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.gallery--strip .gallery-item { flex: 0 0 min(440px, 82%); aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gallery--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--duo .gallery-item { aspect-ratio: 3 / 2; }
.gallery--duo .gallery-item:nth-child(3n + 1) { grid-column: span 2; aspect-ratio: 21 / 9; }

/* ---------- Полоса с телефоном ---------- */
.cta { padding: clamp(40px, 6vw, 84px) 0; background: var(--paper); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 26px 56px; align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius);
  background-color: var(--slate); background-image: var(--pattern); color: var(--white);
}
.cta-copy h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: var(--dw, 600); }
.cta-copy p { margin-top: 14px; max-width: 34em; color: var(--on-dark-soft); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-phone { display: flex; flex-direction: column; text-decoration: none; font-family: var(--display); font-weight: var(--dw, 600); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; color: var(--lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-phone span { margin-bottom: 6px; font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--mint); }
.cta--band .cta-box { background: var(--lime); background-image: none; color: var(--on-accent, var(--ink)); }
.cta--band .cta-copy p, .cta--band .cta-phone span { color: inherit; opacity: .78; }
.cta--band .cta-phone { color: inherit; }
.cta--band .btn-ghost { border-color: currentColor; color: inherit; }
.cta--band .btn-ghost:hover { background: rgba(0, 0, 0, .06); }
.cta--card .cta-box.has-photo { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding-right: 0; padding-top: 0; padding-bottom: 0; }
.cta--card .cta-copy { padding-top: clamp(28px, 4vw, 56px); }
.cta--card .cta-actions { padding-bottom: clamp(28px, 4vw, 56px); }
.cta-photo { margin: 0; grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-height: 320px; position: relative; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Вопросы ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin: 0; position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: var(--dw5, 500); font-size: 20px; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-light); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item summary i svg { width: 16px; height: 16px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--slate); border-color: var(--slate); color: var(--white); }
.faq-a { padding: 0 56px 24px 0; color: var(--ink-soft); }
.faq-a p + p { margin-top: .7em; }
.section-dark .faq, .section-dark .faq-item { border-color: var(--line-dark); }
.section-dark .faq-item summary i { border-color: var(--line-dark); }

/* ---------- Документы ---------- */
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc a, .doc-static { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-light); background: var(--paper); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.section-paper .doc a, .section-paper .doc-static { background: var(--white); }
.doc a:hover { border-color: var(--slate); transform: translateY(-2px); }
.doc i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: calc(var(--radius-sm) * .9); background: var(--slate); color: var(--white); }
.doc i svg { width: 20px; height: 20px; }
.doc span { flex: 1; min-width: 0; }
.doc strong { display: block; font-weight: var(--dw5, 500); line-height: 1.3; }
.doc small { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-soft); }
.doc b { flex: none; color: var(--slate); }
.doc b svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.doc a:hover b svg { transform: translateX(3px); }

/* ---------- Подвал ---------- */
.site-footer--night { background: var(--slate-night); }
.site-footer--light { background: var(--white); color: var(--ink); border-top: 1px solid var(--line-light); }
.site-footer--light .footer-top .lead, .site-footer--light .legal dt, .site-footer--light .footer-bottom { color: var(--ink-soft); }
.site-footer--light .contact, .site-footer--light .legal, .site-footer--light .footer-bottom { border-top-color: var(--line-light); }
.site-footer--light .contact span { color: var(--slate); }
.site-footer--light .contact a:hover, .site-footer--light .contact-hot a { color: var(--slate); }
.site-footer--light .contact-hot a:hover { color: var(--ink); }
.site-footer--light .contact-mail a { color: var(--ink); }
.site-footer--light .legal summary i { border-color: var(--line-light); }
.site-footer--light .logo { color: var(--ink); }
.site-footer--light :focus-visible { outline-color: var(--slate); }

/* ---------- Анимации ---------- */
.js .reveal:nth-child(2) { transition-delay: .06s; }
.js .reveal:nth-child(3) { transition-delay: .12s; }
.js .reveal:nth-child(4) { transition-delay: .18s; }
.js .reveal:nth-child(5) { transition-delay: .24s; }
.js .reveal:nth-child(6) { transition-delay: .3s; }

@keyframes kb { from { scale: 1.2; } to { scale: 1.08; } }
.js .hero-bg img, .js .hero-figure img { animation: kb 2.6s var(--ease) both; }

@keyframes slide-in { from { opacity: 0; transform: translateX(-44px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-r { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes blur-in { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes wipe-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.js .m-slide .reveal { transform: translateX(-36px); }
.js .m-slide .reveal:nth-child(even) { transform: translateX(36px); }
.js .m-slide .reveal.is-in, .js .m-slide .reveal.is-in:nth-child(even) { transform: none; }
.js .m-slide .hero-copy > * { animation-name: slide-in; }
.js .m-slide .lookup, .js .m-slide .hero-figure { animation: slide-in-r .9s var(--ease) .25s both; }

.js .m-zoom .reveal { transform: scale(.94); transition-duration: .8s; }
.js .m-zoom .reveal.is-in { transform: none; }
.js .m-zoom .hero-copy > *, .js .m-zoom .lookup { animation-name: zoom-in; }

.js .m-blur .reveal { transform: translateY(10px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .m-blur .reveal.is-in { transform: none; filter: none; }
.js .m-blur .hero-copy > *, .js .m-blur .lookup { animation-name: blur-in; animation-duration: 1.1s; }

.js .m-wipe .reveal { opacity: 1; transform: translateY(26px); clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.js .m-wipe .reveal.is-in { transform: none; clip-path: inset(0 0 0 0); }
.js .m-wipe .hero h1 { animation: wipe-in 1.1s var(--ease) .1s both; }

@media (prefers-reduced-motion: reduce) {
  .js body .reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .v-header-light .nav.is-open { background: #fff; border-bottom-color: var(--line-light); }
  .v-header-light .nav.is-open a { color: var(--ink); border-bottom-color: var(--line-light); }
  .v-header-light .nav.is-open a:hover { color: var(--slate); }
  .v-header-float .nav.is-open { top: 84px; border-radius: var(--radius); left: var(--gutter); right: var(--gutter); background: var(--slate-night); }
}
@media (max-width: 960px) {
  .hero--media .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "figure" "lookup"; }
  .hero--media .hero-figure { min-height: 340px; }
  .hero--center .hero-figure { aspect-ratio: 16 / 9; }
  .about--image.has-photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "figure" "main" "points"; }
  .about--image .about-figure { position: static; aspect-ratio: 16 / 10; }
  .about--cards .about-points { grid-template-columns: minmax(0, 1fr); }
  .bento--cards { grid-template-columns: minmax(0, 1fr); }
  .bento--cards .tile-feature { display: flex; }
  .bento--rows .tile, .bento--rows .tile-feature { grid-template-columns: 48px minmax(0, 1fr); }
  .bento--rows .tile ul { grid-column: 2; grid-row: auto; margin-top: 16px; }
  .trust--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-layout--split { grid-template-columns: minmax(0, 1fr); }
  .trust-layout--split .trust-aside { position: static; }
  .v-requests-horizontal .steps { grid-template-columns: minmax(0, 1fr); }
  .v-requests-horizontal .step + .step::after { left: 53px; top: -13px; width: 2px; height: 14px; }
  .v-requests-horizontal .app-card { display: flex; }
  .v-requests-horizontal .app-badge span { display: inline; }
  .v-objects-cards .streets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .section-head { position: static; }
  .cta-box, .cta--card .cta-box.has-photo { grid-template-columns: minmax(0, 1fr); padding: clamp(28px, 4vw, 56px); }
  .cta-photo { display: none; }
  .cta--card .cta-copy, .cta--card .cta-actions { padding: 0; }
}
@media (max-width: 720px) {
  .v-header-float .header-row { height: 60px; padding: 0 8px 0 16px; }
  .v-header-float .site-header { margin-bottom: -80px; }
  .v-header-float .hero-grid { padding-top: calc(clamp(48px, 8vw, 104px) + 72px); }
  .logo-img img { height: 36px; max-width: 170px; }
  .about--image .about-points { grid-template-columns: minmax(0, 1fr); }
  .trust--cards { grid-template-columns: minmax(0, 1fr); }
  .bento--rows .tile ul { grid-template-columns: minmax(0, 1fr); }
  .v-objects-cards .streets { grid-template-columns: minmax(0, 1fr); }
  .v-news-list .news-card { flex-direction: column; }
  .v-news-list .news-card__img { width: 100%; aspect-ratio: 16 / 10; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .gallery--duo { grid-template-columns: minmax(0, 1fr); }
  .gallery--duo .gallery-item:nth-child(3n + 1) { grid-column: auto; aspect-ratio: 3 / 2; }
  .faq-a { padding-right: 0; }
  .faq-item summary { font-size: 18px; }
}

/* Заголовок в узких колонках первого экрана */
.hero--media h1 { font-size: calc(clamp(38px, 4.6vw, 68px) * var(--h-scale, 1)); }
.t-upper .hero--media h1 { font-size: calc(clamp(34px, 4vw, 58px) * var(--h-scale, 1)); }
.hero--center h1 { font-size: calc(clamp(42px, 5.8vw, 84px) * var(--h-scale, 1)); }

.v-objects-cards .street { align-content: start; }

/* Антиква в заголовках: кнопки, номера и телефоны — текстовым шрифтом (ровные цифры) */
.t-serif :is(.btn, .plate, .tab, .contact-list a, .header-call strong, .cta-phone, .tile-call a, .contact a, .hero-badge strong, .doc strong, .news-card .more, .article-back) { font-family: var(--body); letter-spacing: 0; }
.t-serif .btn { font-weight: 600; font-size: 15px; }
/* Карточки услуг: под главной плиткой — три в ряд */
.bento--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 961px) { .bento--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .bento--cards { grid-template-columns: minmax(0, 1fr); } }
/* Анимации сдвига не должны раздувать ширину страницы на телефоне */
html, body { overflow-x: clip; }

.footer-bottom .credits { flex-basis: 100%; font-size: 12px; opacity: .75; }
