/* Elefterri — единый дизайн всех страниц (05.11.2026).
   Те же токены, шапка, подвал и кнопки, что на главной.
   Подключается после style.css на каждой странице, body.v2. */

body.v2 {
  --bg: #e6e3dd;
  --surface: #d9d5cd;
  --ink: #1e1b17;
  --muted: #4d483f;
  --accent: #7a5a22;
  --accent-hover: #634819;
  --accent-ink: #ffffff;
  --field: #1e1b17;
  --field-ink: #eceae6;
  --field-gold: #d2b47a;
  --text: var(--ink);
  --text-secondary: var(--ink);
  --text-light: var(--muted);
  --bg-alt: var(--surface);
  --bg-dark: var(--field);

  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lead: 22px;
  --fs-head: clamp(32px, 3.4vw, 50px);
  --fs-display: clamp(48px, 7vw, 104px);

  --m: clamp(16px, 5vw, 72px);
  --gap: clamp(12px, 1.6vw, 24px);
  --sec: clamp(48px, 5vw, 72px);
  --section-pad: var(--sec);
  --radius: 0px;
  --radius-sm: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
}

:where(body.v2) h1, :where(body.v2) h2, :where(body.v2) h3, :where(body.v2) h4 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.06; text-align: left;
}
:where(body.v2) h1 { font-size: var(--fs-head); }
:where(body.v2) h2 { font-size: var(--fs-head); }
:where(body.v2) h3 { font-size: var(--fs-lead); line-height: 1.2; }
:where(body.v2) p, :where(body.v2) li { color: var(--ink); font-size: var(--fs-body); line-height: 1.55; font-weight: 400; }
:where(body.v2) a { color: inherit; }
body.v2 :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- шапка ---------- */
body.v2 .header {
  background: var(--bg);
  -webkit-backdrop-filter: none; backdrop-filter: none; /* taste-skill-ignore */
  border: 0; box-shadow: none; /* taste-skill-ignore */
}
body.v2 .header__inner { max-width: none; padding: 0 var(--m); min-height: 72px; }
body.v2 .header__logo { font-size: var(--fs-lead); color: var(--ink); }
body.v2 .header__logo span { font-size: var(--fs-small); letter-spacing: .12em; color: var(--muted); }
body.v2 .nav a { font-size: var(--fs-small); color: var(--ink); font-weight: 500; }
body.v2 .nav a:hover { color: var(--accent); }
body.v2 .nav .nav__more { display: none; }
body.v2 .nav__cta {
  background: var(--accent); color: var(--accent-ink) !important;
  border-radius: 0; box-shadow: none; /* taste-skill-ignore */ min-width: 0; padding: 0 22px; min-height: 44px;
}
body.v2 .nav__cta:hover { background: var(--accent-hover); }
@media (max-width: 1023px) {
  body.v2 .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; } /* taste-skill-ignore */
  body.v2 .nav .nav__more { display: inline-flex; }
  body.v2 .nav.active { top: 72px; bottom: auto; height: calc(100svh - 72px); padding: 24px 20px; gap: 6px; }
}

/* ---------- кнопки и ссылки ---------- */
body.v2 .btn, body.v2 .h-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 0; border: 0;
  font-size: var(--fs-body); font-weight: 500; text-decoration: none;
  box-shadow: none; /* taste-skill-ignore */
  -webkit-backdrop-filter: none; backdrop-filter: none; /* taste-skill-ignore */
  transition: background .25s var(--ease), transform .25s var(--ease);
}
body.v2 .btn--primary, body.v2 .h-btn { background: var(--accent); color: var(--accent-ink) !important; }
body.v2 .btn--primary:hover, body.v2 .h-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: none; } /* taste-skill-ignore */
body.v2 .btn--glass { background: var(--surface); color: var(--ink) !important; }
body.v2 .btn--glass:hover { background: #cdc8bf; transform: translateY(-2px); box-shadow: none; } /* taste-skill-ignore */
body.v2 .btn:active, body.v2 .h-btn:active { transform: translateY(0) scale(.98); }
body.v2 .h-link {
  font-size: var(--fs-body); font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px;
}
body.v2 .h-link:hover { color: var(--accent); }

/* ---------- общие блоки старых страниц ---------- */
body.v2 .container { max-width: none; padding: 0 var(--m); }
body.v2 .section { padding: var(--sec) 0; }
body.v2 .section--compact { padding: calc(var(--sec) * .7) 0; }
body.v2 .section--alt { background: var(--surface); }
body.v2 .section--glass { background: var(--surface); }
body.v2 .section--dark { background: var(--field); }
body.v2 .section--dark h2, body.v2 .section--dark h3, body.v2 .section--dark p, body.v2 .section--dark li { color: var(--field-ink); }
body.v2 .section__header { text-align: left; max-width: 760px; margin: 0 0 28px; }
body.v2 .section__header p { margin-top: 10px; }
body.v2 .section__eyebrow, body.v2 .hero__badge, body.v2 .card__icon, body.v2 .module-card__icon,
body.v2 .contact-info__icon, body.v2 .page-hero::before, body.v2 .page-hero::after,
body.v2 .cta-section::before, body.v2 .cta-section::after, body.v2 .hero::before, body.v2 .hero::after,
body.v2 .hero__flower { display: none !important; }
body.v2 .text-gradient { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
body.v2 .grid { gap: var(--gap); }

/* шапка страницы: заголовок слева, фото справа */
body.v2 .page-hero {
  background: var(--bg); text-align: left; padding: calc(72px + 28px) var(--m) var(--sec);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
}
body.v2 .page-hero > * { grid-column: 1 / 8; }
body.v2 .page-hero > .container { grid-column: 1 / 8; padding: 0; max-width: none; margin: 0; }
body.v2 .page-hero .page-hero__content { grid-column: 1 / 8; max-width: none; margin: 0; text-align: left; }
body.v2 .page-hero h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -0.02em; }
body.v2 .page-hero p, body.v2 .page-hero__subtitle { font-size: var(--fs-lead); line-height: 1.4; max-width: 46ch; margin: 16px 0 0; color: var(--ink); }
body.v2 .page-hero .breadcrumb { grid-column: 1 / 13; justify-content: flex-start; padding: 0 0 16px; }
body.v2 .page-hero__pic { grid-column: 8 / 13; grid-row: 1 / span 3; margin: 0; align-self: stretch; overflow: hidden; background: var(--surface); min-height: 360px; max-height: 62svh; }
body.v2 .page-hero__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.v2 .page-hero:has(.page-hero__pic) .breadcrumb { grid-column: 1 / 8; }
body.v2 .breadcrumb { font-size: var(--fs-small); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
body.v2 .breadcrumb a { color: var(--muted); }
body.v2 .breadcrumb .current { color: var(--ink); }

/* первый экран шоурума (старый .hero) */
body.v2 .hero { background: var(--bg); min-height: 0; padding: calc(72px + 28px) 0 var(--sec); }
body.v2 .hero > .container { text-align: left; }
body.v2 .hero h1 { font-size: var(--fs-display); line-height: .98; max-width: 14ch; }
body.v2 .hero__subtitle { font-size: var(--fs-lead); color: var(--ink); max-width: 46ch; margin: 16px 0 24px; }
body.v2 .hero__actions { justify-content: flex-start; }

/* карточки: тон вместо рамок, теней и стекла */
body.v2 .card, body.v2 .card--glass, body.v2 .module-card, body.v2 .contact-info__item, body.v2 .contact-form,
body.v2 .showroom-card, body.v2 .archive-cta-box, body.v2 .step {
  background: var(--surface); border: 0; border-radius: 0;
  box-shadow: none; /* taste-skill-ignore */
  -webkit-backdrop-filter: none; backdrop-filter: none; /* taste-skill-ignore */
  padding: 28px 26px; text-align: left;
}
body.v2 .section--alt .card, body.v2 .section--alt .module-card, body.v2 .section--alt .showroom-card, body.v2 .section--glass .card { background: var(--bg); }
body.v2 .card:hover, body.v2 .module-card:hover, body.v2 .contact-info__item:hover, body.v2 .showroom-card:hover { transform: none; box-shadow: none; } /* taste-skill-ignore */
body.v2 .card__title, body.v2 .module-card__title, body.v2 .showroom-card__title { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); font-weight: 400; color: var(--ink); }
body.v2 .card__text, body.v2 .module-card__desc, body.v2 .showroom-card__desc { font-size: var(--fs-body); color: var(--ink); }
body.v2 .module-card__tag, body.v2 .showroom-badge { background: var(--bg); color: var(--ink); border-radius: 0; font-size: var(--fs-small); letter-spacing: 0; text-transform: none; padding: 6px 12px; }
body.v2 .showroom-card__img-wrap, body.v2 .showroom-card__img, body.v2 .archive-photo-card, body.v2 .archive-photo-card img,
body.v2 .review-photo-item, body.v2 .review-photo-item img { border-radius: 0 !important; box-shadow: none !important; }
body.v2 .step__number { display: none; }
body.v2 .step__title { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); font-weight: 400; }

/* тёмный блок «Soul Style» на странице услуг */
body.v2 .case-hero { background: var(--field); border-radius: 0; }
body.v2 .case-hero h2, body.v2 .case-hero h3, body.v2 .case-hero p { color: var(--field-ink); }
body.v2 .case-hero__stat-number { color: var(--field-gold); font-family: 'Cormorant Garamond', serif; }
body.v2 .case-hero__stat-label { color: var(--field-ink); font-size: var(--fs-small); }

/* таймлайн истории без вертикальной линии */
body.v2 .timeline { padding-left: 0; }
body.v2 .timeline::before, body.v2 .timeline__item::before { display: none !important; }
body.v2 .timeline__item { padding-left: 0; display: grid; grid-template-columns: 7ch 1fr; column-gap: var(--gap); margin-bottom: 28px; }
body.v2 .timeline__year { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-head); color: var(--accent); grid-row: 1 / span 3; line-height: 1; letter-spacing: 0; text-transform: none; }
body.v2 .timeline__title { font-size: var(--fs-lead); }

/* призыв внизу страниц — тёмное поле */
body.v2 .cta-section { background: var(--field); text-align: left; padding: var(--sec) var(--m); }
body.v2 .cta-section .container { padding: 0; }
body.v2 .cta-section h2 { color: var(--field-ink); }
body.v2 .cta-section p { color: var(--field-ink); max-width: 52ch; margin: 12px 0 22px; }

/* блог */
body.v2 .blog-card { background: var(--surface); border-radius: 0; box-shadow: none; } /* taste-skill-ignore */
body.v2 .blog-card:hover { transform: none; box-shadow: none; } /* taste-skill-ignore */
body.v2 .blog-card__img { background: var(--surface); border-radius: 0; }
body.v2 .blog-card__img img { border-radius: 0; }
body.v2 .blog-card__title { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); font-weight: 400; color: var(--ink); }
body.v2 .blog-card__excerpt { color: var(--ink); font-size: var(--fs-body); }
body.v2 .blog-card__tag, body.v2 .blog-card__date { font-size: var(--fs-small); color: var(--muted); text-transform: none; letter-spacing: 0; background: none; padding: 0; }
body.v2 .blog-card__link { color: var(--accent); }

/* статья */
body.v2 .article-content, body.v2 .article-body { max-width: 68ch; margin: 0 auto 0 var(--m); padding: 0 0 var(--sec); font-size: var(--fs-body); }
body.v2 .article-content h1, body.v2 .article-title { font-size: var(--fs-display); line-height: .98; letter-spacing: -0.02em; margin: 8px 0 16px; }
body.v2 .article-content h2 { font-size: var(--fs-head); margin: 40px 0 14px; }
body.v2 .article-content h3 { font-size: var(--fs-lead); margin: 28px 0 10px; }
body.v2 .article-content p, body.v2 .article-content li { font-size: var(--fs-body); line-height: 1.65; color: var(--ink); }
body.v2 .article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
body.v2 .article-content blockquote { border: 0; background: var(--surface); padding: 18px 22px; font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); }
body.v2 .article-content table { border-collapse: collapse; }
body.v2 .article-content th, body.v2 .article-content td { border: 1px solid var(--surface); padding: 8px 12px; }
body.v2 .article-meta { font-size: var(--fs-small); color: var(--muted); }
body.v2 .article-meta * { font-size: var(--fs-small); color: var(--muted); background: none; text-transform: none; letter-spacing: 0; }
body.v2 .article-hero { border-radius: 0; box-shadow: none; max-width: none; margin: 0 0 28px; } /* taste-skill-ignore */
body.v2 .article-hero img { border-radius: 0; }
body.v2 .blog-article__tldr { background: var(--surface); border: 0; border-radius: 0; padding: 18px 22px; }
body.v2 .article-content .breadcrumb, body.v2 .breadcrumb { padding-top: 8px; }

/* форма контактов: поля сохраняют рамку */
body.v2 .contact-form input, body.v2 .contact-form textarea, body.v2 .contact-form select {
  border-radius: 0; background: var(--bg); border: 1px solid #b9b3a8; font-size: var(--fs-body); color: var(--ink);
}

/* ---------- подвал ---------- */
body.v2 .h-foot { background: var(--field); color: var(--field-ink); padding: 32px var(--m) 20px; overflow: hidden; }
body.v2 .h-foot__name { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-display); line-height: .9; color: var(--field-ink); white-space: nowrap; letter-spacing: -0.02em; }
body.v2 .h-foot__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 24px; align-items: start; }
body.v2 .h-foot__places { grid-column: 1 / 6; list-style: none; margin: 0; padding: 0; }
body.v2 .h-foot__places li + li { margin-top: 4px; }
body.v2 .h-foot__places a, body.v2 .h-foot__places span { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); line-height: 1.1; color: var(--field-gold); text-decoration: none; }
body.v2 .h-foot__places a:hover { color: var(--field-ink); }
body.v2 .h-foot__links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px var(--gap); list-style: none; margin: 0; padding: 0; align-content: start; }
body.v2 .h-foot__links a { font-size: var(--fs-body); color: var(--field-ink); text-decoration: none; }
body.v2 .h-foot__links a:hover { color: var(--field-gold); }
body.v2 .h-foot__legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
body.v2 .h-foot__legal p, body.v2 .h-foot__legal a { font-size: var(--fs-small); color: var(--field-ink); }
body.v2 .tg-float { box-shadow: none; } /* taste-skill-ignore */

@media (max-width: 767px) {
  body.v2 { --fs-head: 32px; --fs-lead: 20px; --fs-display: 40px; }
  body.v2 .tg-float { display: none; }
  body.v2 .page-hero { padding-top: calc(72px + 16px); }
  body.v2 .page-hero > *, body.v2 .page-hero > .container, body.v2 .page-hero .page-hero__content, body.v2 .page-hero:has(.page-hero__pic) .breadcrumb { grid-column: 1 / 13; }
  body.v2 .page-hero__pic { grid-column: 1 / 13; grid-row: auto; margin-top: 24px; min-height: 0; aspect-ratio: 4 / 3; max-height: none; }
  body.v2 .timeline__item { grid-template-columns: 1fr; }
  body.v2 .timeline__year { grid-row: auto; margin-bottom: 6px; }
  body.v2 .article-content, body.v2 .article-body { margin: 0 var(--m); }
  body.v2 .h-foot__name { font-size: 13vw; }
  body.v2 .h-foot__places, body.v2 .h-foot__links { grid-column: 1 / 13; }
  body.v2 .h-foot__links { grid-template-columns: 1fr 1fr; margin-top: 20px; }
}

/* ---------- страницы со встроенными стилями (шоурум, отзывы) ---------- */
body.v2 [style*="box-shadow"] { box-shadow: none !important; } /* taste-skill-ignore */
body.v2 [style*="border-radius"] { border-radius: 0 !important; }
body.v2 [style*="border: 1px solid"] { border: 0 !important; }
body.v2 [style*="background: rgba(255, 248, 240"] { background: var(--surface) !important; }
body.v2 [style*="hero-ocean.webp"] { background: var(--bg) !important; } /* taste-skill-ignore: снимаем градиент с фото */
body.v2 [style*="color: #9E7D3B"] { display: none !important; }
body.v2 [style*="color: var(--text-secondary)"] { color: var(--ink) !important; }
body.v2 [style*="font-family: var(--font-display)"] { font-family: 'Cormorant Garamond', serif !important; font-size: var(--fs-head) !important; }
body.v2 [style*="text-align: center"] { text-align: left !important; }
body.v2 [style*="margin: 16px auto 0"], body.v2 [style*="margin: 0 auto 32px"], body.v2 [style*="margin: 0 auto 40px"] { margin-left: 0 !important; margin-right: 0 !important; }
body.v2 [style*="justify-content: center"] { justify-content: flex-start !important; }
body.v2 .showroom-card, body.v2 .archive-photo-card, body.v2 .archive-cta-box, body.v2 .showroom-badge, body.v2 .review-photo-item {
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; /* taste-skill-ignore */
}
body.v2 .showroom-card__meta { border-top: 0 !important; }
body.v2 .archive-photo-card, body.v2 .showroom-card__img-wrap { background: var(--surface) !important; }
body.v2 .review-photo-item { background: var(--surface) !important; }
body.v2 .module-card__tag:empty, body.v2 .card__icon:empty { display: none !important; }
body.v2 .showroom-card__meta, body.v2 .showroom-card__meta * { color: var(--ink) !important; font-size: var(--fs-small) !important; }
body.v2 .showroom-badge { font-size: var(--fs-small) !important; color: var(--ink) !important; }
body.v2 .page-hero h1, body.v2 .hero h1 { font-size: var(--fs-head) !important; max-width: none; line-height: 1.04; }
@media (max-width: 767px) { body.v2:not(.home) { --fs-head: 28px; } }
body.v2 .cta-section .btn--primary, body.v2 .section--dark .btn--primary, body.v2 .case-hero .btn--primary { background: var(--field-gold) !important; color: var(--ink) !important; }
body.v2 .cta-section .btn--primary:hover, body.v2 .section--dark .btn--primary:hover { background: #e2c891 !important; }
body.v2 .cta-section .btn--glass, body.v2 .section--dark .btn--glass { background: transparent !important; color: var(--field-ink) !important; outline: 1px solid var(--field-gold); }

/* ---------- этап 2: плотность, акцент первого экрана, движение ---------- */
.js-rise .r-in { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--ri, 0) * 70ms); }
.js-rise .r-in.r-on { opacity: 1; transform: none; }
body.v2 .fade-in { opacity: 1 !important; transform: none !important; }
body.v2 .page-hero__pic img, body.v2 .hero__pic img { transition: transform 1.2s var(--ease); }
body.v2 .page-hero__pic:hover img, body.v2 .hero__pic:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .js-rise .r-in { opacity: 1; transform: none; transition: none; } }

/* хлебные крошки на общем поле */
body.v2 div.breadcrumb { margin-top: 72px; padding: 14px var(--m) 0; }
body.v2 div.breadcrumb .container { padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
body.v2 div.breadcrumb + .page-hero, body.v2 div.breadcrumb + section.page-hero { padding-top: 16px; }
body.v2 nav.breadcrumb { padding-left: var(--m); padding-right: var(--m); }

/* первый экран внутренних страниц: текст по центру слева, большое фото справа */
body.v2 .page-hero { align-items: center; min-height: 0; }
body.v2 .page-hero > *, body.v2 .page-hero > .container { grid-column: 1 / 6; }
body.v2 .page-hero h1 { font-size: clamp(30px, 2.7vw, 42px) !important; line-height: 1.08; }
body.v2 .page-hero__pic { grid-column: 6 / 13 !important; grid-row: 1 / span 4; height: calc(100svh - 72px - 72px); min-height: 460px; max-height: 760px; }
body.v2 .page-hero .btn { margin-top: 22px; }
body.v2 .hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-left: var(--m); padding-right: var(--m); }
body.v2 .hero > .container { grid-column: 1 / 6; padding: 0; }
body.v2 .hero h1 { font-size: clamp(30px, 2.7vw, 42px) !important; }
body.v2 .hero__pic { grid-column: 6 / 13; margin: 0; height: calc(100svh - 72px - 72px); min-height: 460px; max-height: 760px; overflow: hidden; }
body.v2 .hero__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* карточки без коробок: колонки текста */
body.v2 .card, body.v2 .card--glass, body.v2 .step, body.v2 .module-card { background: transparent !important; padding: 0 !important; }
body.v2 .section--alt .card, body.v2 .section--alt .module-card, body.v2 .section--glass .card { background: transparent !important; }
body.v2 .grid { row-gap: 32px; }
body.v2 .card__text, body.v2 .step__text, body.v2 .module-card__desc, body.v2 .module-card li { font-size: var(--fs-body) !important; color: var(--ink) !important; }
body.v2 [style*="border-top"], body.v2 [style*="border-bottom"] { border-top: 0 !important; border-bottom: 0 !important; }
body.v2 .case-hero__stats > div { display: flex; align-items: baseline; gap: 10px; }

/* призыв: заголовок слева, текст и кнопка справа */
body.v2 .cta-section .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; max-width: none; text-align: left; }
body.v2 .cta-section .container > h2 { grid-column: 1 / 7; grid-row: 1 / span 3; margin: 0; }
body.v2 .cta-section .container > :not(h2) { grid-column: 7 / 13; }
body.v2 .cta-section .container > p { margin: 0 0 18px; }
body.v2 .cta-section .container > .btn, body.v2 .cta-section .container > a { justify-self: start; }

/* полоса из четырёх фото */
body.v2 .h-strip { padding: var(--sec) var(--m) 0; }
body.v2 .h-strip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
body.v2 .h-strip__row { display: grid; grid-template-columns: 5fr 3fr 4fr 3fr; gap: var(--gap); align-items: start; }
body.v2 .h-strip figure { margin: 0; overflow: hidden; background: var(--surface); }
body.v2 .h-strip figure:nth-child(1) { aspect-ratio: 4 / 5; }
body.v2 .h-strip figure:nth-child(2) { aspect-ratio: 3 / 4; margin-top: 48px; }
body.v2 .h-strip figure:nth-child(3) { aspect-ratio: 1 / 1; }
body.v2 .h-strip figure:nth-child(4) { aspect-ratio: 3 / 4; margin-top: 24px; }
body.v2 .h-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
body.v2 .h-strip figure:hover img { transform: scale(1.04); }

/* истории: таймлайн в две колонки */
@media (min-width: 1024px) {
  body.v2 .timeline { display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(var(--gap) * 3); }
}

/* контакты и блог: читаемые подписи */
body.v2 .contact-info__label { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--fs-small) !important; color: var(--muted) !important; }
body.v2 .contact-info__value { font-size: var(--fs-body) !important; color: var(--ink) !important; }
body.v2 .blog-card__date, body.v2 .blog-card__tag, body.v2 .blog-card__excerpt, body.v2 .blog-card__link { font-size: var(--fs-small) !important; }
body.v2 .blog-card__excerpt { font-size: var(--fs-body) !important; color: var(--ink) !important; }
body.v2 .blog-card__link { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
body.v2 .blog-card__body { padding: 18px 20px 22px; }

/* статьи */
body.v2 .article-content h2 { font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.15; }
body.v2 .article-content h3 { font-size: var(--fs-lead) !important; }
body.v2 .blog-article__tldr strong, body.v2 .blog-article__tldr b, body.v2 .blog-article__tldr [class*="label"] { text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; font-size: var(--fs-body) !important; }
body.v2 .faq-section { border: 0 !important; }
body.v2 .article-content [style*="font-size: 0.7"], body.v2 .article-content [style*="font-size: 0.75"], body.v2 .article-content [style*="font-size: 0.8"],
body.v2 .article-content [style*="font-size:0.7"], body.v2 .article-content [style*="font-size:0.75"], body.v2 .article-content [style*="font-size:0.8"] { font-size: var(--fs-small) !important; }

@media (max-width: 1023px) {
  body.v2 .page-hero > *, body.v2 .page-hero > .container, body.v2 .hero > .container { grid-column: 1 / 13; }
  body.v2 .page-hero__pic, body.v2 .hero__pic { grid-column: 1 / 13 !important; grid-row: auto; height: auto; min-height: 0; aspect-ratio: 4 / 3; margin-top: 24px; }
  body.v2 .cta-section .container > h2, body.v2 .cta-section .container > :not(h2) { grid-column: 1 / 13; grid-row: auto; }
  body.v2 .cta-section .container > h2 { margin-bottom: 12px; }
  body.v2 .h-strip__row { grid-template-columns: 1fr 1fr; }
  body.v2 .h-strip figure:nth-child(2), body.v2 .h-strip figure:nth-child(4) { margin-top: 0; }
}
@media (max-width: 767px) {
  body.v2 .article-content h2 { font-size: 22px !important; }
  body.v2 .page-hero h1, body.v2 .hero h1 { font-size: 28px !important; }
}

/* ---------- этап 2: второй круг ---------- */
.js-rise .r-in { opacity: 1 !important; transform: translateY(26px); }
.js-rise .r-in.r-on { transform: none; }
body.v2 .breadcrumb .current, body.v2 .breadcrumb .current + .separator { display: none; }
body.v2 .breadcrumb a + .separator:last-of-type { display: none; }
body.v2 .section:not(:has(> .container)) { padding-left: var(--m); padding-right: var(--m); }
body.v2 .cta-section { background: var(--surface); }
body.v2 .cta-section h2, body.v2 .cta-section p { color: var(--ink) !important; }
body.v2 .cta-section .btn--primary { background: var(--accent) !important; color: var(--accent-ink) !important; }
body.v2 .cta-section .btn--glass { background: var(--bg) !important; color: var(--ink) !important; outline: 0; }
body.v2 .h-foot { padding-top: 56px; }
body.v2 .article-content, body.v2 .article-body { max-width: min(68ch, calc(100% - 2 * var(--m))); margin-left: auto; margin-right: auto; }
body.v2 .article-hero { width: 100%; }
@media (max-width: 1023px) { body.v2 .breadcrumb { display: none !important; } body.v2 div.breadcrumb + .page-hero { padding-top: calc(72px + 16px); } }
body.v2 .case-hero__stats { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 20px 28px; }
body.v2 .case-hero__stats > div { display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 7em; }
body.v2 .page-hero h1, body.v2 .page-hero p, body.v2 .hero h1 { text-align: left !important; }
body.v2 .page-hero .btn, body.v2 .hero .btn { justify-self: start; width: auto; }
body.v2 .breadcrumb { display: none !important; }
body.v2 div.breadcrumb + .page-hero, body.v2 div.breadcrumb + section.page-hero { padding-top: calc(72px + 28px); }
body.v2 .section p { max-width: 75ch; }
body.v2 .page-hero h1, body.v2 .page-hero p, body.v2 .page-hero__subtitle { margin-left: 0 !important; margin-right: 0 !important; max-width: 46ch; }
body.v2 .page-hero { align-content: center; }

/* ---------- документы, согласие на аналитику (06.11.2026) ---------- */
body.v2 .h-foot__legal { flex-wrap: wrap; align-items: baseline; }
body.v2 .h-foot__docs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; }
body.v2 .h-foot__docs a, body.v2 .h-foot__docs button { font: inherit; font-size: var(--fs-small); color: var(--field-ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
body.v2 .h-foot__docs a:hover, body.v2 .h-foot__docs button:hover { color: var(--field-gold); }
body.v2 .h-foot__note { margin: 14px 0 0; font-size: var(--fs-small); color: var(--field-ink); opacity: .8; }

.el-consent { position: fixed; left: 24px; bottom: 24px; z-index: 1000; width: min(420px, calc(100% - 32px)); box-sizing: border-box;
  background: #eceae6; color: #1e1b17; padding: 22px 22px 20px; box-shadow: 0 0 0 1px #b9b3a8; font-family: 'Montserrat', sans-serif; }
.el-consent[hidden] { display: none; }
.el-consent h2 { margin: 0 32px 8px 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 26px; line-height: 1.1; color: #1e1b17; }
.el-consent p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: #1e1b17; }
.el-consent > a { font-size: 14px; color: #7a5a22; text-underline-offset: 3px; }
.el-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.el-consent__actions button { min-height: 46px; padding: 10px 12px; font: 600 14px/1.2 'Montserrat', sans-serif; cursor: pointer; border-radius: 0;
  border: 1px solid #1e1b17; background: transparent; color: #1e1b17; }
.el-consent__actions button[data-consent="accept"] { background: #7a5a22; border-color: #7a5a22; color: #fff; }
.el-consent__actions button:hover { background: #1e1b17; border-color: #1e1b17; color: #eceae6; }
.el-consent__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  font-size: 0; color: #1e1b17; }
.el-consent__close::before { content: '×'; font-size: 26px; line-height: 32px; }
.el-consent button:focus-visible, .el-consent a:focus-visible { outline: 2px solid #7a5a22; outline-offset: 2px; }
@media (max-width: 600px) {
  .el-consent { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 18px 16px 16px; }
  .el-consent__actions { grid-template-columns: 1fr; }
}

body.v2 .contact-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.5; color: var(--ink); cursor: pointer; }
body.v2 .contact-form__consent input { width: 20px; height: 20px; min-width: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
body.v2 .contact-form__consent a { color: var(--accent); text-underline-offset: 3px; }

/* страницы документов */
body.v2 .doc-page { max-width: min(72ch, calc(100% - 2*var(--m))); margin: 0 auto; padding: calc(72px + 40px) 0 var(--sec); }
body.v2 .doc-page h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 12px; }
body.v2 .doc-page h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 32px 0 10px; }
body.v2 .doc-page p, body.v2 .doc-page li { font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
body.v2 .doc-page ul { padding-left: 1.2em; margin: 8px 0; }
body.v2 .doc-page a { color: var(--accent); text-underline-offset: 3px; }
body.v2 .doc-page .doc-date { color: var(--muted); font-size: var(--fs-small); }
body.v2 .doc-page .doc-settings { display: block; width: fit-content; margin-top: 12px; min-height: 44px; padding: 10px 18px; font: 600 14px/1.2 'Montserrat', sans-serif; background: var(--accent); color: #fff; border: 0; border-radius: 0; cursor: pointer; }
body.v2 .doc-page .doc-settings:hover { background: #634819; }
