/* Self-hosted fonts — subset (Latin + Cyrillic), replaces Google Fonts. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/manrope-300.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope-800.woff2') format('woff2'); }
@font-face { font-family: 'Russo One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/russo-one-400.woff2') format('woff2'); }

:root {
    /* Светлая тёплая палитра как в макете Forcemontage */
    --bg-cream: #f4f4f2;        /* основной светло-серый фон без желтизны */
    --bg-white: #ffffff;        /* белые карточки */
    --bg-paper: #ececea;        /* мягкие светло-серые плашки */
    --bg-dark: #1a1a1a;         /* тёмные акценты */
    --bg-darker: #0f0f0f;       /* самый тёмный */

    --text-dark: #1a1a1a;
    --text-body: #3a3530;
    --text-muted: #8a847a;
    --text-light: #f5f3ef;
    --text-light-muted: rgba(245, 243, 239, 0.65);

    --accent: #b8956a;          /* как в макете — приглушённое золото */
    --accent-soft: #c9a86a;
    --accent-bg: rgba(184, 149, 106, 0.08);

    --border: rgba(26, 26, 26, 0.08);
    --border-dark: rgba(245, 243, 239, 0.1);

    --serif: 'Manrope', -apple-system, sans-serif;
    --sans: 'Manrope', -apple-system, sans-serif;

    --shadow-card: 0 1px 3px rgba(26,26,26,0.04), 0 4px 12px rgba(26,26,26,0.04);
    --shadow-hover: 0 8px 32px rgba(26,26,26,0.08);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
  }

  body {
    font-family: var(--sans);
    background: var(--bg-cream);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img, picture {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    background: var(--text-dark);
    color: var(--text-light);
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* === COMMON === */
  .container { max-width: 1280px; margin: 0 auto; }
  section { padding: 100px 48px; position: relative; }
  section[id] { scroll-margin-top: 88px; }

  .section-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
  }

  .section-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.12;
    letter-spacing: 0;
    max-width: 900px;
    margin-bottom: 24px;
    color: var(--text-dark);
  }

  .section-title em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
  }

  .section-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 56px;
    font-weight: 400;
  }

  /* === BUTTONS === */
  .btn {
    padding: 16px 32px;
    border: none;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    min-height: 48px;
    text-align: center;
    white-space: normal;
  }
  .btn-primary {
    background: var(--text-dark);
    color: var(--bg-cream);
  }
  .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-1px);
  }
  .btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(26, 26, 26, 0.2);
  }
  .btn-secondary:hover {
    border-color: var(--text-dark);
    background: rgba(26, 26, 26, 0.04);
  }
  .btn-light {
    background: var(--bg-cream);
    color: var(--text-dark);
  }
  .btn-light:hover {
    background: var(--accent);
    color: var(--text-light);
  }
  .btn-arrow { font-size: 16px; transition: transform 0.25s; }
  .btn:hover .btn-arrow { transform: translateX(3px); }

  /* === NAVIGATION === */
  /* === Site header (two-tier: topbar + nav) === */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
  }
  .topbar {
    background: var(--bg-dark);
    color: rgba(245, 243, 239, 0.78);
    font-size: 12px;
    padding: 8px 48px;
    border-bottom: 1px solid rgba(245, 243, 239, 0.06);
  }
  .topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
  }
  .topbar-item:hover { color: var(--accent); }
  .topbar-icon {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    color: var(--accent);
  }
  .topbar-icon svg { width: 100%; height: 100%; }
  .topbar-address { margin-right: auto; }
  .topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(245, 243, 239, 0.12);
  }

  .nav {
    position: relative;
    padding: 16px 48px;
    background: rgba(244, 244, 242, 0.94);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .nav-logo {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--text-dark);
    text-decoration: none;
  }
  /* Обёртка пунктов и правой группы. На десктопе не участвует в раскладке,
     на узком экране становится выезжающей справа панелью. */
  .nav-panel { display: contents; }
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .nav-links a[aria-current='page'] { color: var(--accent); font-weight: 600; }
  .nav-logo { display: inline-flex; align-items: center; }
  .nav-logo img { height: 30px; width: auto; display: block; filter: brightness(0); transition: filter 0.3s ease; }
  .site-header:not(.scrolled) .nav-logo img { filter: none; }
  .footer-logo img { height: 46px; width: auto; display: block; }
  .nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 11px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
  }
  .nav-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
  }
  .nav-cta-arrow {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s;
  }
  .nav-cta:hover .nav-cta-arrow { transform: translateX(2px); }
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Прозрачная шапка над фото HERO (до прокрутки) */
  .site-header:not(.scrolled) {
    background: linear-gradient(to bottom,
      rgba(18,16,13,0.62) 0%,
      rgba(18,16,13,0.20) 58%,
      rgba(18,16,13,0) 100%);
  }
  .site-header:not(.scrolled) .topbar {
    background: transparent;
    border-bottom-color: rgba(245,243,239,0.14);
  }
  .site-header:not(.scrolled) .nav {
    background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .site-header:not(.scrolled) .nav-logo { color: var(--text-light); }
  .site-header:not(.scrolled) .nav-links a { color: rgba(245,243,239,0.86); }
  .site-header:not(.scrolled) .nav-links a:hover { color: var(--accent); }
  .site-header:not(.scrolled) .nav-phone { color: var(--text-light); }
  .site-header:not(.scrolled) .nav-toggle {
    background: rgba(245,243,239,0.12);
    border-color: rgba(245,243,239,0.4);
  }
  .site-header:not(.scrolled) .nav-toggle span { background: var(--text-light); }
  /* плавный переход при появлении плашки */
  .nav { transition: background 0.3s ease, border-color 0.3s ease; }

  /* Изящная кривая-переход от фото к фону блока 2 */
  .hero { overflow: hidden; position: relative; z-index: 0; }
  .hero-media { position:absolute; inset:0; z-index:-1; background-color:#15120f;  background-size:cover; background-position:center; }
  .hero-bg-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; opacity:0; transition:opacity .8s ease; pointer-events:none; }
  .hero-bg-video.is-ready { opacity:1; }
  .hero-bg-overlay { position:absolute; inset:0; z-index:-1; pointer-events:none;
    background: linear-gradient(100deg, rgba(18,16,13,0.9) 0%, rgba(18,16,13,0.66) 40%, rgba(18,16,13,0.24) 72%, rgba(18,16,13,0.06) 100%);
  }
  .hero-divider {
    position: absolute;
    left: -1px; right: -1px; bottom: -1px;
    width: calc(100% + 2px);
    height: 300px;
    z-index: 2;
    pointer-events: none;
    display: block;
  }
  .hero-divider svg { display: block; width: 100%; height: 100%; }
  @media (max-width: 700px) { .hero-divider { height: 80px; } }
  .hero-teaser {
    position: absolute; right: 48px; bottom: 60px;
    width: min(34%, 408px); aspect-ratio: 16 / 9; height: auto; z-index: 4;
    background: linear-gradient(135deg,#26261f,#161614);
    border-radius: 16px; overflow: hidden; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .hero-teaser::before { content:''; position:absolute; left:0; right:0; top:0; height:3px; background: var(--accent); opacity:0.9; }
  .hero-teaser .teaser-inner { text-align:center; color: rgba(245,243,239,0.82); }
  .hero-teaser .teaser-play { width:56px; height:56px; border:2px solid rgba(245,243,239,0.65); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-size:18px; padding-left:4px; }
  .hero-teaser .teaser-label { font-size:11px; letter-spacing:0.22em; text-transform:uppercase; }
  .hero-teaser .teaser-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .hero-teaser::after {
    content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
    background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0.18) 100%);
  }
  .hero-teaser-badge {
    position:absolute; top:12px; left:12px; z-index:2;
    background: var(--accent); color:#1a1a1a;
    font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
    padding:5px 11px; border-radius:100px;
  }
  .hero-teaser-play {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2;
    width:58px; height:58px; border-radius:50%;
    background: rgba(255,255,255,0.94); color:#1a1a1a;
    display:flex; align-items:center; justify-content:center;
    font-size:19px; padding-left:4px;
    box-shadow:0 8px 24px rgba(0,0,0,0.34);
    transition: transform .25s ease, background .25s ease;
  }
  .hero-teaser:hover .hero-teaser-play { transform: translate(-50%,-50%) scale(1.08); background:#fff; }
  .hero-teaser-caption {
    position:absolute; left:14px; right:14px; bottom:12px; z-index:2;
    color:#f5f3ef; font-family: var(--serif); font-weight:700; font-size:15px; line-height:1.25;
    text-shadow:0 1px 8px rgba(0,0,0,0.6);
  }
  @media (max-width: 900px) {
    .hero-teaser { position:relative; right:auto; bottom:auto; width:100%; max-width:none; height:auto; aspect-ratio:16/9; margin-top:28px; }
    /* Мобайл: порядок Заголовок → Описание → Видео → Кнопка (разворачиваем обёртки и переставляем) */
    .hero-content, .hero-grid, .hero-grid > div { display: contents !important; }
    .hero { justify-content: center !important; }
    .hero h1 { order: 1; }
    .hero p.lead { order: 2; }
    .hero-teaser { order: 3; }
    .hero-cta { order: 4; }
    /* Небольшое видео, выровнено влево под описанием (попап всё равно открывает полноразмер) */
    .hero-teaser { width: 100%; max-width: 264px; align-self: flex-start; margin: 2px 0 30px; }
    /* пропорционально уменьшаем элементы маленького превью */
    .hero-teaser .hero-teaser-play { width: 46px; height: 46px; font-size: 15px; }
    .hero-teaser .hero-teaser-caption { font-size: 12px; left: 11px; right: 11px; bottom: 10px; }
    .hero-teaser .hero-teaser-badge { font-size: 9px; padding: 4px 9px; top: 10px; left: 10px; }
    .hero-divider { height: 140px; }
  }

  /* === BLOCK 1 — HERO === */
  .hero {
    min-height: 100vh; min-height: 100dvh;
    padding: 130px 48px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
  }
  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 72px;
    line-height: 1.06;
    letter-spacing: 0;
    margin-bottom: 28px;
    color: var(--text-light);
  }
  .hero h1 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800;
  }
  .hero p.lead {
    font-size: 17px;
    line-height: 1.55;
    max-width: 580px;
    color: rgba(245,243,239,0.82);
    margin-bottom: 40px;
  }
  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero .btn-secondary { color: var(--text-light); border-color: rgba(245,243,239,0.5); }
  .hero .btn-secondary:hover { background: rgba(245,243,239,0.12); }
  .hero-visual.has-photo::after { content: none; }
  .hero-visual {
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    background: linear-gradient(135deg, #5a554d 0%, #2a2620 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }
  .hero-visual::after {
    content: 'ГЛАВНОЕ ФОТО · РЕАЛИЗОВАННЫЙ ДОМ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(245, 243, 239, 0.4);
    text-align: center;
  }
  .hero-visual-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: var(--text-light);
    font-family: var(--serif);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    z-index: 2;
  }
  .hero-meta {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }
  .hero-meta-item {
    font-size: 13px;
    color: var(--text-muted);
  }
  .hero-meta-item strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-right: 8px;
  }

  /* === BLOCK 2 — NUMBERS === */
  .numbers {
    background: var(--bg-cream);
    padding-top: 120px;
    padding-bottom: 56px;
  }
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-card);
  }
  .number-card {
    padding: 36px 28px;
    border-right: 1px solid var(--border);
    transition: background 0.25s;
    border-radius: 12px;
  }
  .number-card:last-child { border-right: none; }
  .number-card:hover {
    background: var(--bg-paper);
  }
  .number-value {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 12px;
    color: var(--text-dark);
  }
  .number-label {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-muted);
  }
  .number-suffix { font-size: 40px; font-weight: 700; color: var(--text-dark); letter-spacing: 0.02em; }
  .number-sro { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .number-sro span { display: flex; flex-direction: column; line-height: 1.3; font-size: 11px; color: var(--text-muted); }
  .number-sro strong { font-size: 12px; font-weight: 600; color: var(--text-dark); letter-spacing: 0.01em; }

  /* === BLOCK 3 — FOUNDER === */
  .founder {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .founder-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
  }
  .founder-portrait {
    background: transparent;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .founder-portrait::after { content: none; }
  .founder-tile {
    background: linear-gradient(135deg, #dededb 0%, #b9b9b5 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease;
  }
  .founder-tile:hover { transform: translateY(-3px); }
  .founder-tile-main { aspect-ratio: 1 / 1; }            /* квадрат под портрет */
  .founder-portrait-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .founder-portrait-row .founder-tile { aspect-ratio: 1 / 1; }   /* квадратные плитки-плейсхолдеры */
  .founder-tile-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.55);
    font-weight: 600;
  }
  .founder-portrait-row .founder-tile:has(img) .founder-tile-label {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
    z-index: 3;
  }
  .founder-portrait-row .founder-tile:has(img)::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
    z-index: 2;
    pointer-events: none;
  }
  .founder-tile-main .founder-tile-label {
    bottom: 14px;
    left: 16px;
    font-size: 11px;
  }
  .founder h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  .founder h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .founder-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
  }
  .founder-text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 20px;
  }
  .founder-text strong {
    font-weight: 600;
    color: var(--text-dark);
  }
  .founder-living {
    margin: 36px 0;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
  }
  .founder-living-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 700;
  }
  .founder-living-headline {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: 0;
  }
  .founder-living-headline em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
  }
  .founder-living-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
  }
  .founder-living-card {
    padding: 18px 16px;
    background: var(--bg-cream);
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  .founder-living-card-num {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .founder-living-card-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-dark);
  }
  .founder-living-card-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
  }
  .founder-living-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 132px;
    gap: 10px;
    margin-top: 24px;
  }
  .founder-living-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--bg-cream);
    transition: transform 0.25s ease;
  }
  .founder-living-tile:hover { transform: translateY(-2px); }
  .founder-living-tile--wide { grid-column: span 2; }
  .founder-living-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
  }
  .founder-living-tile--photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(26,26,26,0.6), rgba(26,26,26,0) 55%);
  }
  .founder-living-tile-label {
    position: relative; z-index: 2;
    padding: 10px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,243,239,0.94);
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  }
  .founder-living-tile--note {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    align-items: stretch;
  }
  .founder-living-note {
    padding: 14px 14px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .founder-living-note-quote {
    font-family: var(--serif); font-weight: 700;
    font-size: 14px; line-height: 1.3;
    color: var(--text-dark); margin-bottom: 6px;
  }
  .founder-living-note-text {
    font-size: 11.5px; line-height: 1.45; color: var(--text-muted);
  }
  @media (max-width: 520px) {
    .founder-living-gallery { grid-auto-rows: 120px; }
  }
  .founder-pull-quote {
    margin: 40px 0;
    padding: 36px 0 36px 56px;
    font-family: var(--serif);
    font-weight: 500;
    font-style: normal;
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--text-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .founder-pull-quote em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
  }
  .founder-pull-mark {
    position: absolute;
    left: 0;
    top: 28px;
    font-family: var(--serif);
    font-size: 84px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.35;
  }
  .founder-signature {
    margin-top: 24px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
  }

  
/* === BLOCK 3.5 — PARTNERSHIP (дизайнеры) === */
  .partners {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .partners-container {
    max-width: 1280px;
    margin: 0 auto;
  }

  /* ROW 1 — intro: текст слева, аватары справа */
  .partners-intro {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 0;
  }
  .partners-intro-text { align-self: start; }
  .partners-intro h2 {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 22px;
    color: var(--text-dark);
  }
  .partners-intro h2 em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800;
  }
  .partners-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
  }
  .partners-lead strong { color: var(--text-dark); font-weight: 600; }

  /* Аватары дизайнеров */
  .partners-people {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px 14px;
    margin-bottom: 40px;
  }
  .partners-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .partners-person-photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a544a 0%, #2a2620 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s;
    flex-shrink: 0;
  }
  .partners-person:hover .partners-person-photo {
    transform: scale(1.08);
  }
  .partners-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .partners-person-photo:has(img)::after { display: none; }
  .partners-person-photo:has(img) { background: transparent; border: none; }
  .partners-person-photo::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 17px; height: 17px;
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.12);
  }
  .partners-person-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    color: var(--text-dark);
  }
  .partners-roster-head {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 24px;
  }
  .partners-studios-band {
    padding-top: 26px;
    border-top: 1px solid var(--border);
  }
  .partners-studios-text {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--text-dark);
  }
  .partners-studios-band .partners-studios-logos {
    border-top: none;
    padding-top: 0;
    margin-top: 18px;
  }

  /* ROW 2 — quote + studios */
  .partners-mid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    
    margin-bottom: 64px;
  }
  .partners-quote {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 44px 48px;
    border-radius: 16px;
    position: relative;
  }
  .partners-quote-mark {
    font-family: var(--serif);
    font-size: 80px;
    line-height: 0.8;
    color: var(--accent);
    opacity: 0.4;
    font-weight: 800;
    margin-bottom: 12px;
  }
  .partners-quote-text {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: var(--text-light);
    letter-spacing: 0;
    margin-bottom: 24px;
  }
  .partners-quote-text em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
  }
  .partners-quote-divider {
    width: 36px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 14px;
  }
  .partners-quote-author {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 4px;
  }
  .partners-quote-role {
    font-size: 12px;
    color: rgba(245, 243, 239, 0.55);
    line-height: 1.4;
  }

  /* Studios card */
  .partners-studios {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .partners-studios-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
  }
  .partners-studios-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: 0;
  }
  .partners-studios-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .partners-studios-logo {
    height: 32px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-family: var(--serif);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.04em;
    opacity: 0.7;
    transition: opacity 0.25s;
  }
  .partners-studios-logo:hover { opacity: 1; }
  .partners-studios-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
  }

  /* ROW 3 — five steps band: что мы берём на себя у дизайнера */
  .partners-steps {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
  }

  /* === BLOCK 4 — partners — Row 2.5: bridge quote === */
  .partners-bridge {
    margin: 24px 0 40px;
    padding: 36px 48px;
    background: var(--accent-bg);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
  }
  .partners-bridge-text {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--text-dark);
  }
  .partners-bridge-text em {
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
  }

  /* === BLOCK 4 — partners — Case Александр === */
  .partners-case {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 80px;
  }
  .partners-case-media {
    position: relative;
    min-height: 480px;
    background: var(--bg-paper);
  }
  .partners-case-photo {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(184, 149, 106, 0.18), rgba(26, 26, 26, 0.15)),
      var(--bg-paper);
  }
  .partners-case-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    padding-left: 4px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(184, 149, 106, 0.35);
    transition: transform .2s ease;
  }
  .partners-case-play:hover { transform: translate(-50%, -50%) scale(1.08); }
  .partners-case-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(26, 26, 26, 0.85);
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 8px 14px;
    border-radius: 100px;
  }

  .partners-case-body { padding: 48px 48px 48px 0; }
  .partners-case-tag {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    font-weight: 600;
  }
  .partners-case-title {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
    margin: 0 0 28px;
    color: var(--text-dark);
  }
  .partners-case-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 800;
  }

  .partners-case-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 36px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
  .partners-case-stat-num {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 8px;
  }
  .partners-case-stat-label {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }

  .partners-case-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 28px;
    max-width: 580px;
  }
  .partners-case-text strong { color: var(--text-dark); font-weight: 600; }

  .partners-case-quote {
    position: relative;
    padding: 24px 28px 24px 56px;
    background: var(--bg-paper);
    border-radius: 8px;
  }
  .partners-case-quote-mark {
    position: absolute;
    left: 18px;
    top: 14px;
    font-family: var(--serif);
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.55;
  }
  .partners-case-quote-text {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 0 10px;
    font-weight: 500;
  }
  .partners-case-quote-text em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
  }
  .partners-case-quote-author {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .partners-case-videolink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent, #b5663f);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, opacity .2s;
    cursor: pointer;
  }
  .partners-case-videolink:hover { border-bottom-color: currentColor; opacity: .85; }
  .partners-case-videolink-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent, #b5663f);
    color: #fff;
    font-size: 9px;
    flex-shrink: 0;
  }

  /* --- Reusable: author line with avatar (regламент: кружок у каждой подписи человека) --- */
  .quote-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
  }
  .quote-person-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a544a 0%, #2a2620 100%);
    flex-shrink: 0;
    position: relative;
  }
  .quote-person-avatar::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.2);
  }
  .quote-person-avatar--photo { overflow: hidden; background: #2a2620; }
  .quote-person-avatar--photo::after { content: none; }
  .quote-person-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .quote-person-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .quote-person-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    letter-spacing: 0;
  }
  .quote-person-role {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }
  /* On dark story cards keep the name light */
  .story-card .quote-person-name { color: var(--text-dark); }
  /* Dark background variant (e.g. care signature) */
  .quote-person--on-dark .quote-person-name { color: var(--text-light); }
  .quote-person--on-dark .quote-person-role { color: var(--accent); }
  .quote-person--on-dark .quote-person-avatar {
    background: linear-gradient(135deg, #8a8073 0%, #4a443c 100%);
  }

  /* --- YODEZEEN case: media list (texts left, smart tiles right) --- */
  .partners-case--yodezeen {
    grid-template-columns: 6fr 6fr;
  }
  .partners-case--yodezeen .partners-case-body {
    padding: 48px 0 48px 48px;
  }
  .partners-case-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
    padding: 14px;
    background: var(--bg-paper);
    grid-auto-flow: dense;
  }
  /* Compact tile gallery used for the Geometrium (left media column) case */
  .partners-case-gallery--compact {
    grid-template-rows: 3fr 2fr 2fr;
    grid-auto-rows: auto;
    height: 100%;
    min-height: 480px;
  }
  .partners-case-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(184, 149, 106, 0.16), rgba(26, 26, 26, 0.12)),
      var(--bg-cream);
    display: flex;
    align-items: flex-end;
    transition: transform .25s ease;
  }
  .partners-case-tile:hover { transform: translateY(-3px); }
  .partners-case-tile--tall { grid-row: span 2; }
  .partners-case-tile--wide { grid-column: span 2; }
  .partners-case-tile-label {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.55);
    font-weight: 600;
  }
  .partners-case-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
  }
  .partners-case-tile--photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(26,26,26,0.55), rgba(26,26,26,0) 50%);
  }
  .partners-case-tile--photo .partners-case-tile-label {
    color: rgba(245,243,239,0.94);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
  }
  .partners-case-tile--video.has-poster::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(26,26,26,0.4), rgba(26,26,26,0.62));
    transition: background .25s ease;
  }
  .partners-case-tile--video.has-poster:hover::before { background: linear-gradient(135deg, rgba(26,26,26,0.25), rgba(26,26,26,0.5)); }
  .partners-case-tile--video.has-poster .partners-case-tile-play,
  .partners-case-tile--video.has-poster .partners-case-tile-label { z-index: 2; }
  .partners-case-tile--video {
    background:
      linear-gradient(135deg, rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.78));
    align-items: center;
    justify-content: center;
  }
  .partners-case-tile--video .partners-case-tile-label {
    color: var(--text-light-muted);
  }
  .partners-case-tile-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding-left: 3px;
    box-shadow: 0 8px 22px rgba(184, 149, 106, 0.4);
    z-index: 2;
  }
  .partners-case-systems {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }
  .partners-case-systems li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-body);
  }
  .partners-case-systems li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
  }
  /* Short object-detail chips */
  .partners-case-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
  }
  .partners-case-fact {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--bg-paper);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .partners-case-subtitle {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0 0 12px;
  }

  @media (max-width: 900px) {
    .partners-case--yodezeen { grid-template-columns: 1fr; }
    .partners-case--yodezeen .partners-case-body { padding: 32px 28px; }
    .partners-case-systems { grid-template-columns: 1fr; }
    .partners-case-gallery { grid-auto-rows: 130px; }
  }

  /* === BLOCK 4 — 72 PROCESSES === */
  .processes {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
  }
  .processes-bignum {
    position: absolute;
    top: -40px;
    right: -40px;
    font-family: var(--serif);
    font-size: 420px;
    font-weight: 300;
    line-height: 1;
    color: rgba(245, 243, 239, 0.04);
    pointer-events: none;
    letter-spacing: 0;
  }
  .processes .section-tag { color: var(--accent); }
  .processes-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    position: relative;
    align-items: start;
  }
  .processes h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--text-light);
  }
  .processes h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .processes-text {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(245, 243, 239, 0.75);
    margin-bottom: 20px;
  }
  .processes-text strong {
    color: var(--text-light);
    font-weight: 500;
  }
  .processes-list {
    background: rgba(245, 243, 239, 0.04);
    border: 1px solid var(--border-dark);
    padding: 32px;
    border-radius: 12px;
    margin-top: 28px;
  }
  .processes-list-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--accent);
  }
  .processes-list-sub {
    font-size: 12px;
    color: rgba(245, 243, 239, 0.45);
    margin-bottom: 22px;
  }

  /* Accordion of process groups */
  .proc-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .proc-group {
    background: rgba(245, 243, 239, 0.03);
    border: 1px solid rgba(245, 243, 239, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
  }
  .proc-group[open] {
    background: rgba(184, 149, 106, 0.06);
    border-color: rgba(184, 149, 106, 0.35);
  }
  .proc-group-summary {
    display: grid;
    grid-template-columns: 40px 1fr auto 24px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
  }
  .proc-group-summary::-webkit-details-marker { display: none; }
  .proc-group-summary:hover {
    background: rgba(184, 149, 106, 0.08);
  }
  .proc-group-num {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
    line-height: 1;
  }
  .proc-group-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.3;
  }
  .proc-group-count {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 243, 239, 0.45);
    font-weight: 600;
    white-space: nowrap;
  }
  .proc-group-arrow {
    width: 24px;
    height: 24px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
  }
  .proc-group-arrow svg {
    width: 18px;
    height: 18px;
  }
  .proc-group[open] .proc-group-arrow {
    transform: rotate(180deg);
  }

  .proc-group-items {
    list-style: none;
    padding: 0 20px 18px 20px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
    border-top: 1px solid rgba(184, 149, 106, 0.2);
    padding-top: 16px;
  }
  .proc-group-items li {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(245, 243, 239, 0.78);
    padding-left: 18px;
    position: relative;
  }
  .proc-group-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 1px;
    background: var(--accent);
  }
  .mini-case {
    background: var(--bg-cream);
    color: var(--text-dark);
    padding: 36px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 3px solid var(--accent);
  }
  .mini-case-quote {
    font-family: var(--serif);
    font-weight: 700;
    font-style: normal;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  .mini-case-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.78);
    margin-bottom: 16px;
  }
  .mini-case-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 8px;
  }
  .mini-case-thumbs {
    display: flex;
    gap: 8px;
    margin: 16px 0 16px;
    flex-wrap: wrap;
  }
  .mini-case-thumbs img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  /* === BLOCK 4.5 — TEMNIKOVA HERO CASE === */
  .temnikova {
    background: var(--bg-cream);
    padding: 56px 48px 100px;
  }
  .temnikova-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: start;
  }
  .temnikova-left {
    position: sticky;
    top: 100px;
  }
  .temnikova-tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .temnikova-tag::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--accent);
  }
  .temnikova h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 24px;
    color: var(--text-dark);
  }
  .temnikova h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .temnikova-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 36px;
  }
  .temnikova-lead strong { font-weight: 600; color: var(--text-dark); }
  .temnikova-facts {
    border-top: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .temnikova-fact {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
  }
  .temnikova-fact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
  }
  .temnikova-fact-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-dark);
    font-weight: 500;
  }
  .temnikova-fact-text strong {
    font-family: var(--serif);
    font-weight: 800;
    color: var(--accent);
    font-size: 16px;
  }
  .temnikova-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .temnikova-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .temnikova-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .temnikova-photo {
    background: linear-gradient(135deg, #4a443c 0%, #2a2620 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
  }
  .temnikova-photo::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(245, 243, 239, 0.3);
    text-align: center;
    width: 80%;
  }
  .temnikova-photo-main {
    grid-row: 1 / 2;
    aspect-ratio: 16/10;
  }
  .temnikova-photo-side {
    grid-row: 1 / 2;
    aspect-ratio: 4/5;
  }
  .temnikova-photo-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .temnikova-photo-small {
    aspect-ratio: 1/1.2;
    background: linear-gradient(135deg, #5a5048 0%, #2f2a24 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }
  .temnikova-photo-small::after {
    content: attr(data-label);
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(245, 243, 239, 0.4);
    text-align: left;
  }
  .temnikova-photo img, .temnikova-photo video, .temnikova-photo-small img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1;
  }
  .temnikova-photo:has(img)::after, .temnikova-photo:has(video)::after { display: none; }
  .temnikova-photo:has(img)::before, .temnikova-photo-small:has(img)::before {
    content: ''; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none;
  }
  .temnikova-photo-side:has(img)::after, .temnikova-photo-small:has(img)::after {
    top: auto; bottom: 12px; left: 12px; right: 12px; transform: none;
    width: auto; text-align: left; z-index: 3;
    color: rgba(245,243,239,0.92); font-weight: 700; letter-spacing: 0.12em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
  }
  .temnikova-photo-main .video-caption {
    position: absolute; left: 14px; bottom: 12px; z-index: 4;
    font-size: 10px; letter-spacing: 0.16em; font-weight: 700; text-transform: uppercase;
    color: rgba(245,243,239,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.55);
  }
  .temnikova-photo-main .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.25s;
  }
  .temnikova-photo-main .video-play-icon:hover {
    transform: translate(-50%, -50%) scale(1.08);
  }
  .temnikova-photo-main .video-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent var(--text-dark);
    margin-left: 4px;
  }
  .temnikova-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .temnikova-quote-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    gap: 18px;
  }
  .temnikova-quote-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a544a 0%, #2a2620 100%);
    flex-shrink: 0;
    position: relative;
  }
  .temnikova-quote-avatar::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.2);
  }
  .temnikova-quote-avatar--photo { overflow: hidden; background: none; }
  .temnikova-quote-avatar--photo::after { content: none; }
  .temnikova-quote-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .temnikova-quote-mark {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
  }
  .temnikova-quote-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-body);
    margin-bottom: 16px;
  }
  .temnikova-quote-divider {
    width: 30px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 10px;
  }
  .temnikova-quote-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
  }
  .temnikova-quote-role {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* === BLOCK 5 — MOSAIC === */
  .mosaic-section {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .mosaic-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
  }
  .mosaic-row {
    display: flex;
    gap: 14px;
    align-items: stretch;
  }
  .mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-width: 0;
    flex: 1 1 0;
    background: var(--bg-paper);
  }
  .mosaic-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(.16,1,.3,1);
  }
  .mosaic-item:hover img { transform: scale(1.045); }

  /* Видео-тизеры в мозаике */
  .mosaic-item.video { background: linear-gradient(135deg, #2a2620 0%, #131310 100%); cursor: pointer; }
  .mosaic-item.video::after { display: none; }
  .mosaic-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(245, 243, 239, 0.12);
    border: 1px solid rgba(245, 243, 239, 0.55);
    display: flex; align-items: center; justify-content: center;
    color: #F5F3EF; font-size: 16px; padding-left: 3px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  }
  .mosaic-item.video:hover .mosaic-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent); color: #1a1a1a;
    border-color: var(--accent);
  }
  .mosaic-vid-label {
    position: absolute; left: 14px; bottom: 12px;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(245, 243, 239, 0.72); font-weight: 700;
  }
  .mosaic-item.video video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0;
  }
  .mosaic-item.video:has(video) { background: #131310; cursor: pointer; }
  .mosaic-item.video:has(video) .mosaic-play { display: none; }
  .mosaic-item.video:has(video)::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0) 45%);
  }
  .mosaic-item.video:has(video) .mosaic-vid-label { z-index: 2; color: rgba(245,243,239,0.92); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }

  /* Кнопка «Смотреть больше» */
  .mosaic-more-wrap { text-align: center; margin-top: 28px; }
  .mosaic-more-btn {
    font-family: inherit; font-size: 14px; font-weight: 600;
    letter-spacing: 0.02em; color: var(--text-dark);
    background: transparent; border: 1px solid var(--text-dark);
    border-radius: 999px; padding: 13px 30px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .mosaic-more-btn:hover { background: var(--text-dark); color: var(--bg-cream); }
  .mosaic-more-btn .mm-arrow { transition: transform 0.3s ease; }
  .mosaic-more-btn[aria-expanded="true"] .mm-arrow { transform: rotate(180deg); }

  /* Скрытый второй блок — плавное раскрытие */
  .mosaic-more {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.7s ease, opacity 0.5s ease, margin-top 0.7s ease;
    margin-top: 0;
  }
  .mosaic-more.is-open { opacity: 1; margin-top: 14px; }
  .mosaic-more .mosaic-grid { margin-top: 0; }
  .mosaic-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }
  .mosaic-cta p {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  /* === BLOCK 6 — STORIES === */
  .stories {
    background: var(--bg-cream);
    padding-top: 80px;
  }
  .stories-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
  }
  .story-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 0;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    min-height: 460px;
    transition: box-shadow 0.3s;
  }
  .story-card:hover { box-shadow: var(--shadow-hover); }
  .story-card:nth-child(even) {
    grid-template-columns: 7fr 5fr;
  }
  .story-card:nth-child(even) .story-image { order: 2; }
  .story-image {
    background: linear-gradient(135deg, #4a443c 0%, #1f1c18 100%);
    position: relative;
    min-height: 460px;
  }
  .story-image::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(245, 243, 239, 0.3);
    text-transform: uppercase;
    text-align: center;
    width: 80%;
  }
  .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.25s;
  }
  .video-play-icon:hover { transform: translate(-50%, -50%) scale(1.1); }
  .video-play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent var(--text-dark);
    margin-left: 4px;
  }
  .story-content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .story-meta {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .story-card h3 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  .story-card h3 em { font-style: normal; color: var(--accent); font-weight: 800; }

  /* Умная плитка-галерея внутри карточки истории */
  .story-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    height: 100%;
    background: var(--bg-white);
  }
  .story-gallery::after { content: none; }
  .story-gallery.rows-3 { grid-template-rows: repeat(3, 1fr); }
  .story-gallery.rows-4 { grid-template-rows: repeat(4, 1fr); }
  .story-gallery.rows-5 { grid-template-rows: repeat(5, 1fr); }
  .story-gallery.rows-6 { grid-template-rows: repeat(6, 1fr); }
  .story-tile {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    background:
      linear-gradient(135deg, rgba(184,149,106,0.18), rgba(26,26,26,0.14)),
      var(--bg-cream);
    transition: transform 0.25s ease;
  }
  .story-tile:hover { transform: translateY(-2px); }
  .story-tile--tall { grid-row: span 2; }
  .story-tile--wide { grid-column: span 2; }
  .story-tile-label {
    position: relative;
    z-index: 2;
    padding: 9px 11px;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(26,26,26,0.5);
    font-weight: 600;
    line-height: 1.3;
  }
  .story-tile--video {
    background: linear-gradient(135deg, rgba(26,26,26,0.62), rgba(26,26,26,0.84));
    align-items: center;
    justify-content: center;
  }
  .story-tile--video .story-tile-label {
    position: absolute;
    left: 10px;
    bottom: 8px;
    color: rgba(245,243,239,0.7);
  }
  .story-tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
  }
  .story-tile--photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(26,26,26,0.58), rgba(26,26,26,0) 46%);
  }
  .story-tile--photo .story-tile-label {
    color: rgba(245,243,239,0.94);
    text-shadow: 0 1px 5px rgba(0,0,0,0.55);
  }
  [data-video] { cursor: pointer; }
  .story-tile--plan { background: #f4f4f2; }
  .story-tile--plan img { object-fit: contain; padding: 6px; }
  .story-tile--video.has-poster { background: #1a1a1a; }
  .story-tile--video.has-poster::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(26,26,26,0.42), rgba(26,26,26,0.62));
    transition: background .25s ease;
  }
  .story-tile--video.has-poster:hover::before { background: linear-gradient(135deg, rgba(26,26,26,0.28), rgba(26,26,26,0.5)); }
  .story-tile--video.has-poster .story-tile-play,
  .story-tile--video.has-poster .story-tile-label { z-index: 2; }
  .video-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center; padding: 24px;
  }
  .video-modal.is-open { display: flex; }
  .video-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(15,13,11,0.84); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  .video-modal-box { position: relative; width: min(960px, 100%); }
  .video-modal-frame {
    position: relative; padding-top: 56.25%; width: 100%;
    background: #000; border-radius: 12px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  }
  .video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-modal-close {
    position: absolute; top: -46px; right: 0;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(245,243,239,0.14); color: #f5f3ef;
    font-size: 24px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s ease;
  }
  .video-modal-close:hover { background: rgba(245,243,239,0.3); }
  @media (max-width: 560px) { .video-modal-close { top: auto; bottom: -46px; } }
  .story-tile-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding-left: 3px;
    box-shadow: 0 8px 20px rgba(184,149,106,0.4);
    z-index: 2;
  }
  .story-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 18px;
  }
  .story-quote {
    padding: 22px 26px;
    border-left: 3px solid var(--accent);
    font-family: var(--serif);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dark);
    margin-bottom: 20px;
    background: var(--bg-paper);
    border-radius: 0 8px 8px 0;
  }
  .story-quote-author {
    display: block;
    margin-top: 10px;
    font-family: var(--sans);
    font-style: normal;
    font-size: 13px;
    color: var(--text-muted);
  }
  .story-author-line {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
  }
  .story-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
    align-self: start;
    transition: color 0.2s;
  }
  .story-link:hover { color: var(--accent); }

  /* Умная плитка с фото инженерии (тёмный раздел) */
  .eng-gallery-subtitle {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin: 56px 0 20px;
  }
  .eng-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 165px;
    gap: 12px;
  }
  .eng-tile {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, rgba(245,243,239,0.16), rgba(245,243,239,0.05));
    border: 1px solid rgba(245,243,239,0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }
  .eng-tile:hover { transform: translateY(-3px); border-color: rgba(184,149,106,0.5); }
  .eng-tile--wide { grid-column: span 2; }
  .eng-tile--tall { grid-row: span 2; }
  .eng-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .eng-tile--contain img { object-fit: contain; background: #0f0f0f; }
  .eng-tile--photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(15,15,15,0.66), rgba(15,15,15,0) 52%);
  }
  .eng-tile--photo .eng-tile-label {
    z-index: 2; color: rgba(245,243,239,0.96); text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  }
  .eng-tile-label {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245,243,239,0.62);
    font-weight: 600;
    line-height: 1.3;
  }
  .eng-tile--video {
    background: linear-gradient(135deg, rgba(184,149,106,0.32), rgba(26,26,26,0.62));
    align-items: center;
    justify-content: center;
  }
  .eng-tile--video .eng-tile-label {
    position: absolute;
    left: 13px;
    bottom: 10px;
    color: rgba(245,243,239,0.78);
  }
  .eng-tile-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    padding-left: 3px;
    box-shadow: 0 8px 22px rgba(184,149,106,0.45);
    z-index: 2;
  }
  @media (max-width: 900px) {
    .eng-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
    .eng-tile--wide { grid-column: span 2; }
  }

  /* === BLOCK 7 — ENGINEERING === */
  .engineering {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 48px;
  }
  .engineering .section-tag { color: var(--accent); }
  .engineering h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: 0;
    max-width: 900px;
    margin-bottom: 28px;
    color: var(--text-light);
  }
  .engineering h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .engineering-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-light-muted);
    max-width: 720px;
    margin-bottom: 56px;
  }
  .engineering-quote {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
    padding: 40px 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 56px;
  }
  .engineering-quote-label {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--accent);
  }
  .engineering-quote-text {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(245, 243, 239, 0.82);
  }
  .engineering-quote-text strong { color: var(--text-light); }
  .engineering-systems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-dark);
  }
  .system-card {
    padding: 32px 28px;
    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    display: grid;
    grid-template-columns: 24px 1fr auto;
    gap: 16px;
    align-items: start;
  }
  .system-card:nth-child(2n) { border-right: none; }
  .system-plus {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1;
    margin-top: 4px;
  }
  .system-number {
    font-size: 14px;
    color: rgba(245, 243, 239, 0.4);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 6px;
  }
  .system-card h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.25;
    color: var(--text-light);
  }
  .system-card p {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(245, 243, 239, 0.6);
  }

  /* === BLOCK 8 — CARE === */
  .care {
    background: var(--bg-cream);
    padding: 100px 48px;
  }

  /* === BLOCK 9 — OPEN PROCESS === */
  .open {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .open h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 28px;
    max-width: 900px;
    color: var(--text-dark);
  }
  .open h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .open-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 56px;
  }
  .open-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
    align-items: stretch;
  }
  .open-card {
    padding: 28px 28px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .open-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
  }
  .open-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  .open-card-plus {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1;
  }
  .open-card-num {
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 500;
  }
  .open-card h4 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--text-dark);
  }
  .open-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
  }

  /* Open card with background photo */
  .open-card.has-bg .open-card-plus {
    color: var(--text-light);
  }
  .open-card.has-bg .open-card-num {
    color: rgba(245, 243, 239, 0.7);
  }
  .open-card.has-bg .open-card-content {
    margin-top: auto;
  }
  .open-card.has-bg h4 {
    color: var(--text-light);
  }
  .open-card.has-bg p {
    color: rgba(245, 243, 239, 0.85);
  }
  .open-card.has-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }

  .open-videos-head {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin: 8px 0 22px;
  }
  .open-videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  .open-video { cursor: pointer; }
  .open-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: var(--shadow-card);
  }
  .open-video-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.45s ease;
  }
  .open-video:hover .open-video-thumb img { transform: scale(1.05); }
  .open-video-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.94); color: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; padding-left: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.32);
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .open-video:hover .open-video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
  .open-video-title {
    margin-top: 11px;
    font-size: 14px; line-height: 1.35;
    color: var(--text-dark); font-weight: 600;
  }
  @media (max-width: 900px) { .open-videos { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
  @media (max-width: 520px) { .open-videos { grid-template-columns: 1fr; } }

  /* === BLOCK 15 — СТАТЬИ / БЛОГ (горизонтальный скролл) === */
  .articles { background: var(--bg-white); }
  .articles h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 24px;
    max-width: 900px;
    color: var(--text-dark);
  }
  .articles h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .articles-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 48px;
  }
  .articles-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
  }
  .articles-scroller.is-dragging { scroll-snap-type: none; cursor: grabbing; }
  .articles-scroller.is-dragging .article-card { pointer-events: none; }
  .articles-scroller::-webkit-scrollbar { height: 8px; }
  .articles-scroller::-webkit-scrollbar-track { background: var(--bg-paper); border-radius: 8px; }
  .articles-scroller::-webkit-scrollbar-thumb { background: rgba(184,149,106,.55); border-radius: 8px; }
  .articles-scroller::-webkit-scrollbar-thumb:hover { background: var(--accent); }

  .article-card {
    flex: 0 0 calc((100% - 72px) / 4); /* 4 карточки в ряд на десктопе */
    scroll-snap-align: start;
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,26,26,.10); }
  .article-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-paper); }
  .article-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
  .article-card:hover .article-card-img img { transform: scale(1.05); }
  .article-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
  }
  .article-card-cat {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
  }
  .article-card h3 {
    font-size: 19px;
    line-height: 1.32;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
  }
  .article-card-cta {
    margin-top: auto;
    padding-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .article-card-cta .arr { transition: transform 0.25s; }
  .article-card:hover .article-card-cta .arr { transform: translateX(4px); }

  @media (max-width: 900px) {
    .articles h2 { font-size: 34px; }
    .article-card { flex-basis: calc((100% - 24px) / 2); } /* 2 в ряд на планшете */
  }
  @media (max-width: 600px) {
    .article-card { flex-basis: 82%; } /* почти одна карточка, остальные свайпом */
    .article-card h3 { font-size: 18px; }
  }

  .youtube-banner {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 36px 44px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
  }
  .youtube-banner-text {
    display: flex;
    align-items: baseline;
    gap: 32px;
    flex-wrap: wrap;
  }
  .youtube-stat {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--accent);
  }
  .youtube-stat-label {
    font-size: 13px;
    color: rgba(245, 243, 239, 0.6);
    margin-left: 6px;
  }

  /* === BLOCK 10 — SCOPE (что берём на себя + команда) === */
  .scope {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .scope-top {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
    margin-bottom: 80px;
  }
  .scope-title {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: 0;
    margin-bottom: 24px;
    color: var(--text-dark);
  }
  .scope-title em {
    font-style: normal;
    color: var(--accent);
    font-weight: 800;
  }
  /* Racing-style mark for "Formula-1" */
  .f1-mark {
    font-family: 'Russo One', 'Arial Black', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #E10600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-block;
    transform: skewX(-8deg);
    padding: 0 2px;
    position: relative;
    line-height: 1;
    font-size: 0.92em;
    vertical-align: baseline;
    white-space: nowrap;
  }
  .f1-mark::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #E10600 18%, #E10600 82%, transparent 100%);
    transform: skewX(-8deg);
  }
  .scope-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 520px;
  }
  .scope-lead strong { color: var(--text-dark); font-weight: 600; }

  /* Team — round avatars */
  .scope-team-wrap {
    position: relative;
  }
  .scope-team-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
  }
  .scope-team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }
  .scope-team-label {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: -0.005em;
    text-transform: none;
    color: var(--text-dark);
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.1;
  }
  .scope-team-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .scope-team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 6px;
    justify-items: center;
  }
  .scope-team-card {
    text-align: center;
    transition: transform 0.25s;
  }
  .scope-team-card:hover { transform: translateY(-3px); }
  .scope-team-avatar {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: var(--bg-paper);
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
  }
  .scope-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .scope-team-avatar:has(img)::after { display: none; }
  .scope-team-avatar::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.12);
  }
  /* Алексей Николаев — фото-аватар (встроен один раз, переиспользуется) */
  .is-alexey::after { display: none !important; }
  .founder-tile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
  .scope-team-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 2px;
  }
  .scope-team-role {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  /* 6 service cards */
  .scope-services {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Umbrella: служба заказчика над всеми работами */
  .scope-umbrella {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: 16px;
    padding: 36px 40px 60px;
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
  }
  .scope-umbrella::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
  }
  .scope-umbrella-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .scope-umbrella-title {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text-light);
  }
  .scope-umbrella-desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-light-muted);
    margin: 0;
  }
  .scope-umbrella-desc strong {
    color: var(--text-light);
    font-weight: 600;
  }
  .scope-umbrella-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
  }
  .scope-umbrella-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
  }
  .scope-umbrella-arrow {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  .scope-umbrella-arrow svg {
    width: 22px;
    height: 22px;
  }

  /* Подзаголовок над сеткой */
  .scope-services-subhead {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
    margin-top: 8px;
  }

  /* Сетка из 5 направлений */
  .scope-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .scope-service {
    padding: 24px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  }
  .scope-service:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent);
  }
  .scope-service-num {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0.02em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1;
  }
  .scope-service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
  }
  .scope-service-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--text-dark);
    stroke-width: 1.5;
    fill: none;
  }
  .scope-service-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text-dark);
    min-height: 38px;
  }
  .scope-service-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
  }

  /* === BLOCK 11 — ROUTE === */
  .route {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .route-steps {
    margin-top: 56px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }
  .route-step {
    display: grid;
    grid-template-columns: 80px 1fr 1.2fr;
    gap: 40px;
    padding: 36px 40px;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .route-step:last-child { border-bottom: none; }
  .route-step-num {
    font-family: var(--serif);
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
    font-weight: 300;
  }
  .route-step h4 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.2;
    color: var(--text-dark);
  }
  .route-step-time {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
  }
  .route-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
  }
  .route-note {
    margin-top: 40px;
    text-align: center;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .route-cta {
    text-align: center;
    margin-top: 28px;
  }

  /* === BLOCK 12 — LANDSCAPE === */
  .landscape {
    background: var(--bg-cream);
    padding: 100px 48px;
  }

  /* === BLOCK 13 — FAQ === */
  .faq {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 48px;
  }
  .faq .section-tag { color: var(--accent); }
  .faq h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 16px;
    color: var(--text-light);
  }
  .faq h2 em { font-style: normal; color: var(--accent); font-weight: 800; }
  .faq-lead {
    font-size: 16px;
    color: var(--text-light-muted);
    margin-bottom: 56px;
    max-width: 600px;
  }
  .faq-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 56px;
    align-items: start;
  }
  .faq-item {
    border-bottom: 1px solid var(--border-dark);
    padding: 22px 0;
    cursor: pointer;
    transition: padding 0.2s;
  }
  .faq-item:first-child { border-top: 1px solid var(--border-dark); }
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    color: var(--text-light);
  }
  .faq-toggle {
    color: var(--accent);
    font-size: 24px;
    font-weight: 300;
    margin-left: 24px;
    transition: transform 0.25s;
  }
  .faq-answer {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(245, 243, 239, 0.72);
    max-width: 680px;
  }
  .faq-answer a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
  }
  .faq-form {
    background: rgba(245, 243, 239, 0.05);
    border: 1px solid var(--border-dark);
    padding: 36px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
  }
  .faq-form h3 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--text-light);
  }
  .faq-form p {
    font-size: 14px;
    color: rgba(245, 243, 239, 0.7);
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .form-field {
    margin-bottom: 12px;
  }
  .form-input {
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid rgba(245, 243, 239, 0.15);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--sans);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-input:focus { border-color: var(--accent); }
  .form-input::placeholder { color: rgba(245, 243, 239, 0.35); }
  .faq-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    background: var(--accent);
    color: var(--text-dark);
  }
  .faq-form .btn:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
  }
  .form-disclaimer {
    margin-top: 14px;
    font-size: 11px;
    color: rgba(245, 243, 239, 0.4);
    line-height: 1.4;
    text-align: center;
  }

  /* === BLOCK 14 — FINAL CTA === */
  /* === BLOCK 17 — OFFICE INVITATION === */
  .office {
    background: var(--bg-cream);
    padding: 100px 48px;
  }
  .office-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
  }
  .office-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-top: 16px;
  }

  /* Photo gallery: умная плитка (masonry, родные пропорции фото) */
  .office-gallery {
    column-count: 4;
    column-gap: 14px;
    margin-bottom: 80px;
  }
  .office-tile {
    break-inside: avoid;
    margin: 0 0 14px;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    background: #1a1a1a;
  }
  .office-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.45s ease;
  }
  .office-tile:hover img { transform: scale(1.04); }

  /* Team */
  .office-team-section { margin-bottom: 72px; }
  .office-section-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 28px;
  }
  .office-team {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }
  .office-team-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  }
  .office-team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent);
  }
  .office-team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6d2c8 0%, #b5b0a3 100%);
    margin: 0 auto 16px;
  }
  .office-team-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 4px;
  }
  .office-team-role {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }

  /* Contacts + map */
  .office-contacts {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 48px;
    /* Отступ снизу держал подпись под блоком; подписи больше нет,
       и низ секции задаёт её собственный padding. */
  }
  .office-contacts-info { display: flex; flex-direction: column; }
  .office-info-block {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
  }
  .office-info-block:last-of-type { border-bottom: none; }
  .office-info-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
  }
  .office-info-value {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 19px;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .office-info-note {
    font-size: 13px;
    color: var(--text-muted);
  }
  .office-cta {
    margin-top: 24px;
    align-self: flex-start;
  }
  .office-map {
    background: linear-gradient(135deg, #e8e4dc 0%, #d6d2c8 100%);
    border-radius: 14px;
    min-height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .office-map::after {
    content: attr(data-label);
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
  }
  .office-map .office-photo-fallback {
    color: rgba(0, 0, 0, 0.3);
  }
  .office-map { overflow: hidden; }
  .office-map::after { display: none; }              /* лейбл не перекрывает карту */
  .office-map iframe,
  .office-map ymaps,
  .office-map > div { width: 100% !important; height: 100% !important; border: 0; display: block; }

  /* === MISTAKE (Ошибка управления) === */
  .mistake {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
  }

  /* Фоновое видео */
  .mistake-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
  }
  /* Затемняющий слой для читаемости текста поверх видео */
  .mistake-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(15, 15, 15, 0.92) 0%,
      rgba(15, 15, 15, 0.78) 55%,
      rgba(15, 15, 15, 0.55) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .mistake-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 110px 48px;
  }

  .mistake-head {
    max-width: 820px;
    margin-bottom: 40px;
  }
  .mistake-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .mistake-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text-light);
    margin-bottom: 18px;
  }
  .mistake-title em {
    font-style: normal;
    color: var(--accent-soft);
    font-weight: 700;
  }
  .mistake-lead {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-light-muted);
    max-width: 720px;
  }
  .mistake-lead strong {
    color: var(--text-light);
    font-weight: 600;
  }

  /* Сравнительные карточки */
  .mistake-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .mistake-card {
    border-radius: 14px;
    padding: 28px 28px;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .mistake-card--bad {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(245, 243, 239, 0.1);
  }
  .mistake-card--good {
    background: rgba(184, 149, 106, 0.12);
    border: 1px solid rgba(184, 149, 106, 0.3);
  }

  .mistake-card-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .mistake-card--bad .mistake-card-label { color: rgba(245, 243, 239, 0.5); }
  .mistake-card--good .mistake-card-label { color: var(--accent-soft); }

  .mistake-card-title {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--text-light);
    margin-bottom: 16px;
  }

  .mistake-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mistake-card-list li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light-muted);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(245, 243, 239, 0.06);
  }
  .mistake-card-list li:last-child { border-bottom: none; padding-bottom: 0; }
  .mistake-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 1px;
    background: var(--accent-soft);
  }
  .mistake-card--bad .mistake-card-list li::before {
    background: rgba(245, 243, 239, 0.3);
  }
  .mistake-card-list li strong {
    color: var(--text-light);
    font-weight: 600;
  }

  /* Адаптив для блока */
  @media (max-width: 900px) {
    .mistake { min-height: 0; }
    .mistake-inner { padding: 80px 24px; }
    .mistake-compare {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .mistake-card { padding: 22px 22px; }
    .mistake-overlay {
      background: linear-gradient(180deg, rgba(15,15,15,0.88) 0%, rgba(15,15,15,0.85) 100%);
    }
    .processes-list { padding: 22px 18px; }
    .proc-group-summary {
      grid-template-columns: 32px 1fr 22px;
      gap: 12px;
      padding: 14px 16px;
    }
    .proc-group-count { display: none; }
    .proc-group-name { font-size: 15px; }
    .proc-group-items {
      grid-template-columns: 1fr;
      padding: 14px 16px 16px;
    }
  }

  /* === NAV (дополнения) === */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .nav-whatsapp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .nav-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  }
  .nav-whatsapp svg {
    width: 20px;
    height: 20px;
  }

  /* === BLOCK 9 — CREW (бригада) === */
  .crew {
    position: relative;
    background: var(--bg-darker);
    color: var(--text-light);
    min-height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  /* Фоновый слайдер «Люди в работе» */
  .crew-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .crew-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0;
    transition: opacity 1.4s ease;
    will-change: opacity;
  }
  .crew-slide.is-active { opacity: 1; }

  /* Точки-навигация слайдера */
  .crew-dots {
    position: absolute;
    z-index: 4;
    left: 48px;
    bottom: 36px;
    display: flex;
    gap: 10px;
  }
  .crew-dot {
    width: 28px;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(245, 243, 239, 0.3);
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
  }
  .crew-dot.is-active { background: var(--accent-soft); width: 40px; }

  /* Затемняющий слой для читаемости текста */
  .crew-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.15);
    z-index: 1;
  }

  /* Текстура: мелкие точки скрывают артефакты сжатия фото */
  .crew-texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,0.10) 0.5px, transparent 0.9px);
    background-size: 3px 3px;
    mix-blend-mode: soft-light;
  }

  .crew-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  /* Левая колонка — текст */
  .crew-content { max-width: 700px; }
  .crew-tag {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 22px;
  }
  .crew-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--text-light);
    margin-bottom: 24px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55);
  }
  .crew-title em {
    font-style: normal;
    color: var(--accent-soft);
    font-weight: 700;
  }
  .crew-lead {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-light-muted);
    max-width: 560px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  }

  /* Правая колонка — асимметричная мозаика */
  .crew-mini {
    display: grid;
    grid-template-columns: 110px 110px 110px;
    grid-template-rows: 130px 130px;
    gap: 10px;
    justify-content: end;
    justify-self: end;
  }

  /* Большая горизонтальная плашка слева — занимает 2 колонки × 1 ряд */
  .crew-mini-photo--big {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  /* Вертикальная высокая плашка справа — 1 колонка × 2 ряда */
  .crew-mini-photo--tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }

  /* Три маленьких квадрата внизу */
  .crew-mini-photo--sm1 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .crew-mini-photo--sm2 { grid-column: 2 / 3; grid-row: 2 / 3; }

  .crew-mini-photo {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    background: #5a5a5a;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    border: 1px solid rgba(245, 243, 239, 0.2);
    position: relative;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.4s, transform 0.4s, background 0.3s;
    cursor: pointer;
  }
  .crew-mini-photo:hover {
    filter: grayscale(0%);
    background: #6a6a6a;
    transform: scale(1.03);
    border-color: var(--accent);
    z-index: 3;
  }
  /* === BLOCK 9 — CREW: адаптив === */
  @media (max-width: 900px) {
    .crew { min-height: 0; }
    .crew-inner {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 56px 24px;
    }
    .crew-content { max-width: 100%; }
    .crew-mini {
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 90px 90px;
      justify-self: stretch;
      justify-content: stretch;
    }
    .crew-overlay {
      background: linear-gradient(180deg, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.85) 100%);
    }
    .crew-dots { left: 24px; bottom: 22px; }
    .crew-dot { width: 22px; }
    .crew-dot.is-active { width: 32px; }
  }

  /* === FOOTER === */
  .footer {
    background: var(--bg-darker);
    color: rgba(245, 243, 239, 0.7);
    padding: 72px 48px 28px;
    font-size: 14px;
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  /* Top section: 4 columns */
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(245, 243, 239, 0.1);
  }

  .footer-logo {
    font-family: var(--serif);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 18px;
  }
  .footer-tagline {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(245, 243, 239, 0.55);
    margin-bottom: 28px;
    max-width: 320px;
  }

  /* Socials */
  .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(245, 243, 239, 0.05);
    border: 1px solid rgba(245, 243, 239, 0.1);
    border-radius: 24px;
    color: rgba(245, 243, 239, 0.75);
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .footer-social:hover {
    background: rgba(184, 149, 106, 0.15);
    border-color: var(--accent);
    color: var(--text-light);
  }
  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  /* Columns */
  .footer-col-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
  }
  .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-list li {
    margin-bottom: 11px;
  }
  .footer-list a {
    color: rgba(245, 243, 239, 0.6);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-list a:hover {
    color: var(--accent-soft);
  }

  /* Contacts column */
  .footer-col--contacts a {
    color: rgba(245, 243, 239, 0.75);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col--contacts a:hover {
    color: var(--accent-soft);
  }
  .footer-contact--main {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px !important;
    color: var(--text-light) !important;
    margin-bottom: 22px;
    display: block;
  }
  .footer-contact-block {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .footer-contact-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 243, 239, 0.4);
    font-weight: 600;
  }
  .footer-contact-text {
    font-size: 14px;
    color: rgba(245, 243, 239, 0.75);
  }

  /* Requisites */
  .footer-requisites {
    padding: 36px 0;
    border-bottom: 1px solid rgba(245, 243, 239, 0.1);
  }
  .footer-requisites-title {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 24px;
  }
  .footer-requisites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 40px;
  }
  .footer-requisites-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: rgba(245, 243, 239, 0.85);
  }
  .footer-requisites-grid span {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 243, 239, 0.4);
    font-weight: 600;
  }
  .footer-requisites-wide {
    grid-column: span 2;
  }

  /* Bottom: copyright + legal */
  .footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-copy {
    font-size: 12px;
    color: rgba(245, 243, 239, 0.4);
  }
  .footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-legal a {
    color: rgba(245, 243, 239, 0.45);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-legal a:hover {
    color: var(--accent-soft);
  }

  /* Footer adaptive */
  @media (max-width: 1100px) {
    .footer-top {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .footer-requisites-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .footer-requisites-wide {
      grid-column: span 2;
    }
  }
  @media (max-width: 700px) {
    .footer {
      padding: 56px 24px 24px;
    }
    .footer-top {
      grid-template-columns: 1fr;
      gap: 36px;
      padding-bottom: 36px;
    }
    .footer-requisites-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .footer-requisites-wide {
      grid-column: span 1;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
    .nav-actions .nav-phone { display: none; }
  }

  /* === RESPONSIVE === */
  @media (max-width: 1024px) {
    .topbar { display: none; }
    .nav { padding: 16px 24px; }
    section, .hero { padding-left: 24px !important; padding-right: 24px !important; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .number-card { border-right: 1px solid var(--border); }
    .number-card:nth-child(2n) { border-right: none; }
    .hero-grid, .processes-grid, .care-grid, .landscape-grid, .faq-grid, .temnikova-grid, .scope-top {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .temnikova-left { position: relative; top: 0; }
    .temnikova-quotes { grid-template-columns: 1fr; }
    .temnikova-photo-row { grid-template-columns: repeat(2, 1fr); }
    .open-cards { grid-template-columns: 1fr; }
    .scope-team-grid { grid-template-columns: repeat(3, 1fr); }
    .scope-team-avatar { width: 90px; height: 90px; }
    .scope-services-grid { grid-template-columns: repeat(2, 1fr); }
    .scope-umbrella {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 28px 28px 52px;
    }
    .scope-umbrella-arrow { bottom: 12px; width: 28px; height: 28px; }
    .scope-umbrella-arrow svg { width: 20px; height: 20px; }
    .engineering-systems { grid-template-columns: 1fr; }
    .system-card { border-right: none; }
    .story-card, .story-card:nth-child(even) {
      grid-template-columns: 1fr;
    }
    .story-card:nth-child(even) .story-image { order: 0; }
    .mosaic-row { flex-wrap: wrap; height: auto !important; }
    .mosaic-item { flex: 1 1 calc(50% - 7px) !important; height: 210px; }
  }
  @media (max-width: 560px) {
    .mosaic-item { flex: 1 1 100% !important; height: 240px; }
    .final-options { grid-template-columns: 1fr; }
    .office { padding: 64px 24px; }
    .office-gallery { column-count: 2; column-gap: 10px; margin-bottom: 48px; }
    .office-team {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .office-team-photo { width: 80px; height: 80px; }
    .office-contacts {
      grid-template-columns: 1fr;
      padding: 28px;
      gap: 24px;
    }
    .office-map { min-height: 240px; }
    .route-step { grid-template-columns: 60px 1fr; }
    .route-step p { grid-column: 2; }
    .processes-bignum { font-size: 240px; }
    .partners-intro { grid-template-columns: 1fr; gap: 32px; }
    .partners-people { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .partners-person-name { font-size: 13px; }
    .partners-mid { grid-template-columns: 1fr; }
    .partners-bridge { padding: 24px 28px; margin: 16px 0 32px; }
    .partners-case { grid-template-columns: 1fr; gap: 0; }
    .partners-case-media { min-height: 280px; }
    .partners-case-body { padding: 32px 28px; }
    .partners-case-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .partners-case-stat-num { font-size: 22px; }
    .youtube-banner { grid-template-columns: 1fr; gap: 24px; }
  }
/* === CURRENT FOUNDER + NAV COMPATIBILITY === */
@media (max-width: 1024px) {
  body.nav-open { overflow: hidden; }
  /* В шапке остаются только логотип и гамбургер: телефон и кнопка уезжают
     внутрь панели, поэтому наложиться друг на друга им негде. */
  .nav { gap: 14px; justify-content: space-between; }
  .nav-toggle {
    display: inline-flex;
    flex: 0 0 44px;
    position: relative;
    z-index: 1002;
  }

  /* Панель выезжает справа и держит только пункты меню: заявка и мессенджеры
     живут в нижней панели действий, телефон остаётся в шапке. */
  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(340px, 86vw);
    height: 100dvh;
    padding: 92px 20px 28px;
    background: var(--bg-cream);
    border-left: 1px solid var(--border);
    box-shadow: -18px 0 44px rgba(26, 26, 26, 0.16);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open .nav-panel { transform: translateX(0); }

  /* Затемнение под панелью: клик по нему закрывает меню (main.js). */
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(18, 16, 13, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  .nav.is-open::before { opacity: 1; visibility: visible; }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-links a {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
  }
  .nav-links a:hover { background: var(--bg-paper); }
  .nav-links a[aria-current='page'] { background: var(--accent-bg); color: var(--accent); }
  /* Над прозрачной шапкой пункты светлые — в панели фон светлый, возвращаем тёмный. */
  .site-header:not(.scrolled) .nav-links a { color: var(--text-dark); }
  .site-header:not(.scrolled) .nav-links a[aria-current='page'] { color: var(--accent); }

  /* В шапке рядом с гамбургером остаётся только телефон. Телефон и кнопку
     держим одной группой справа, иначе space-between разгоняет их по краям. */
  .nav { justify-content: flex-start; }
  .nav-right { gap: 12px; margin-left: auto; }
  .nav-phone { font-size: 15px; }
  .nav-cta { display: none; }

  /* === Нижняя панель действий ==============================================
     Компонент ActionBar, есть на каждой странице. Порог тот же, что у меню:
     как только кнопка заявки уходит из шапки, обращаться можно только отсюда.
     --actionbar-h — её собственная высота (кнопка 42px + 8px сверху и снизу);
     от неё же считается запас у подвала, чтобы числа не разъезжались. */
  :root { --actionbar-h: 58px; }
  .m-actionbar {
    display: flex;
    align-items: center;
    gap: 7px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1400;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 24, 22, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.28);
  }
  .m-act-cta {
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
    background: var(--accent);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 8px;
    border-radius: 10px;
    text-decoration: none;
  }
  .m-act-ic {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(245, 243, 239, 0.12);
    color: #f5f3ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .m-act-ic svg { width: 20px; height: 20px; fill: currentColor; }
  .m-wa { background: #25d366; color: #fff; }
  .m-tg { background: #2aabee; color: #fff; }
  /* Место под панель отдаём подвалу, а не body: иначе под тёмным подвалом
     остаётся светлая полоса фона страницы, которую видно из-под панели.
     Запас — высота панели плюс воздух, чтобы последняя строка не липла к ней. */
  .footer {
    padding-bottom: calc(var(--actionbar-h) + 20px + env(safe-area-inset-bottom, 0px));
  }

  /* Чат Jivo — над нижней панелью. Кнопка чата и всплывающее приглашение
     оператора лежат в одном фиксированном контейнере, поэтому поднимаем только
     его: окно чата — отдельный элемент во весь экран, его это не задевает.
     Цепляемся за __jivoMobileButton — единственный стабильный класс виджета,
     остальные Jivo генерирует с хешем (wrap__YO3mG) и меняет при обновлениях.
     !important обязателен: своё bottom: 0 виджет задаёт собственными стилями. */
  jdiv.__jivoMobileButton {
    bottom: calc(var(--actionbar-h) + 10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Открытая панель светлая: крестик на ней должен остаться тёмным даже над
     прозрачной шапкой, где полоски гамбургера светлые. */
  .site-header:not(.scrolled) .nav.is-open .nav-toggle {
    background: var(--bg-white);
    border-color: var(--border);
  }
  .site-header:not(.scrolled) .nav.is-open .nav-toggle span { background: var(--text-dark); }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-portrait { position: relative; top: 0; }
  .founder-living-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .founder h2 {
    font-size: 36px;
    line-height: 1.12;
  }
}
@media (max-width: 520px) {
  .nav-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .nav { padding: 14px 16px; gap: 8px; }
  .nav-logo img { height: 26px; }
  .nav-phone { font-size: 13.5px; }
  .founder h2 { font-size: 32px; }
  .founder-living { padding: 26px 20px; }
  .founder-stats,
  .founder-living-cards {
    grid-template-columns: 1fr;
  }
}
/* Preserve approved hero scale. */
.hero h1 {
  font-size: 49px;
  letter-spacing: 0;
}
@media (max-width: 1024px) {
  .hero h1 { font-size: 41px; }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 29px;
    line-height: 1.08;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 25px; }
}


  /* === FLOATING REVIEWS WIDGET (якорь справа внизу) === */
  .review-fab {
    position: fixed; left: 22px; bottom: 22px; z-index: 1500;
    animation: reviewFabIn .5s ease both;
  }
  @keyframes reviewFabIn { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform:none; } }
  .review-fab.is-hidden { display: none; }
  .review-fab-card {
    position: relative; cursor: pointer; width: 190px;
    background: linear-gradient(135deg, #2a2620 0%, #131310 100%);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 14px 38px rgba(0,0,0,0.42);
    border: 1px solid rgba(184,149,106,0.45);
    display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .review-fab-card:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(0,0,0,0.52); }
  .review-fab-thumb {
    position: relative; aspect-ratio: 16/10;
    background: #131310;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .review-fab-thumb video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; display: block;
  }
  .review-fab-thumb::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.42), rgba(0,0,0,0.12));
  }
  .review-fab-badge { z-index: 2; }
  .review-fab-play { z-index: 2; }
  .review-fab-badge {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    background: var(--accent); color: #1a1a1a;
    font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 100px;
  }
  .review-fab-play {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; padding-left: 3px; position: relative;
    box-shadow: 0 6px 18px rgba(184,149,106,0.55);
  }
  .review-fab-play::before {
    content: ''; position: absolute; inset: -8px; border-radius: 50%;
    border: 2px solid rgba(184,149,106,0.55);
    animation: reviewPulse 2s ease-out infinite;
  }
  @keyframes reviewPulse { 0%{ transform: scale(1); opacity:.8; } 100%{ transform: scale(1.55); opacity:0; } }
  .review-fab-text { padding: 9px 12px 11px; }
  .review-fab-title { color:#f5f3ef; font-family: var(--serif); font-weight:700; font-size:13px; line-height:1.2; }
  .review-fab-sub { color: rgba(245,243,239,0.6); font-size:11px; margin-top:2px; letter-spacing:.03em; }
  .review-fab-close {
    position: absolute; top: -9px; right: -9px; z-index: 4;
    width: 24px; height: 24px; border-radius: 50%;
    background: #1a1a1a; color:#f5f3ef; border:1px solid rgba(245,243,239,0.28);
    font-size: 15px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .review-fab-close:hover { background:#000; }
  @media (max-width: 560px) {
    .review-fab { left: 14px; bottom: 14px; }
    .review-fab-card { width: 150px; }
    .review-fab-play { width: 40px; height: 40px; }
  }

  /* ====================== MOBILE OPTIMIZATION (iPhone 13 ≈ 390px) ====================== */
  .m-contacts { display: none; }
  /* Нижняя панель действий — только мобильная; на десктопе её роль играет
     кнопка в шапке. Показ описан в мобильном блоке выше, здесь — скрытие. */
  @media (min-width: 1025px) {
    .m-actionbar { display: none; }
  }

  @media (max-width: 600px) {
    /* 1 — overflow guard (+ адаптация реальных виновников ниже) */
    /* Никакой обрезки overflow на html/body — иначе на iOS ломается position:fixed шапки.
       Горизонтальный выезд (email в .m-contacts) гасится её собственным overflow-x:auto. */
    html, body { max-width: 100%; overflow-x: visible; }
    img, video, iframe, svg, table { max-width: 100%; }
    .container { max-width: 100%; }

    /* 6 — единый регламент отступов */
    section, .hero { padding-left: 20px !important; padding-right: 20px !important; }
    .numbers, .temnikova, .founder, .engineering, .mosaic-section, .stories,
    .open, .processes, .partners, .scope, .route, .faq, .office, .crew, .mistake, .geometry {
      padding-top: 58px !important; padding-bottom: 58px !important;
    }
    .section-tag, .temnikova-tag { margin-bottom: 12px !important; }

    /* 5 — типографика: hero сильнее всех */
    .hero h1 { font-size: 32px !important; line-height: 1.1 !important; }
    .section-title,
    .temnikova h2, .processes h2, .engineering h2, .open h2, .faq h2,
    .partners-intro h2, .mosaic-section h2, .geometry h2, .route h2, .office h2,
    .scope-title, .crew-title, .mistake-title {
      font-size: 24px !important; line-height: 1.18 !important; margin-bottom: 16px !important;
    }
    h3, .story-card h3 { font-size: 20px !important; line-height: 1.25 !important; }

    /* «Она в цифрах» — крупные цифры в экран */
    .numbers-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    /* Высокую карточку «2 СРО» — на всю ширину и в конец, чтобы 121 и 40% встали рядом без пустоты */
    .numbers-grid .number-card:nth-child(4) { grid-column: 1 / -1 !important; order: 1; }
    .number-card { padding: 18px 12px !important; }
    .number-value { font-size: 34px !important; }
    .number-label { font-size: 12px !important; }

    /* 8 — «121 процесс» */
    .processes { overflow: hidden; }
    .processes-bignum { display: none !important; }
    .processes-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
    .processes-list { padding: 20px 16px !important; }
    .proc-group-items { grid-template-columns: 1fr !important; }
    .mini-case { padding: 22px 18px !important; }

    /* 7 — «Главный объект»: фото больше не налезает на видео */
    .temnikova-grid { grid-template-columns: 1fr !important; gap: 26px !important; }
    .temnikova-left { position: static !important; }
    .temnikova-gallery { grid-template-columns: 1fr !important; }
    .temnikova-photo-main, .temnikova-photo-side {
      grid-row: auto !important; grid-column: auto !important; aspect-ratio: 16/10 !important;
    }
    .temnikova-photo-row { grid-template-columns: repeat(2, 1fr) !important; }
    .temnikova-quotes { grid-template-columns: 1fr !important; }
    .temnikova-photo-main video { width: 100%; height: 100%; object-fit: cover; }

    /* прочие сетки в один/меньше столбцов */
    .hero-grid, .engineering-systems, .scope-services-grid, .open-cards, .open-videos,
    .founder-living-gallery, .faq-grid, .office-contacts, .footer-grid, .geometry-grid {
      grid-template-columns: 1fr !important;
    }
    .scope-team-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 14px 8px !important; }
    .scope-team-avatar { width: 86px !important; height: 86px !important; }
    .partners-people { grid-template-columns: repeat(3, 1fr) !important; gap: 18px 8px !important; }
    .partners-person-photo { width: 74px !important; height: 74px !important; }
    .partners-case, .partners-case--yodezeen { grid-template-columns: 1fr !important; }
    .office-team, .office-gallery { grid-template-columns: repeat(2, 1fr) !important; }

    /* карточки / отзывы / истории / формы / медиа — единые отступы */
    .stories-list { gap: 22px !important; }
    .story-card { grid-template-columns: 1fr !important; }
    .story-image { order: -1 !important; }
    .story-content { padding: 26px 20px !important; }
    .faq-form { position: static !important; padding: 24px 20px !important; }
    .faq-form input, .faq-form textarea, .faq-form select { max-width: 100%; box-sizing: border-box; }
    .mosaic-grid { gap: 10px !important; }
    .eng-gallery, .partners-case-gallery, .partners-case-gallery--compact { gap: 10px !important; }

    /* 2 — гамбургер: позиционирование и доступность */
    .nav { position: relative; z-index: 1001; }
    .nav-toggle { display: inline-flex !important; }

    /* 4 — отдельный кроп hero под мобильный */
    .hero {
      background: var(--bg-cream) !important;
      min-height: auto !important;
      padding-top: 0 !important; padding-bottom: 40px !important;
      justify-content: flex-start !important;
    }
    /* === Мобильный hero: горизонтальное видео целиком сверху + контент на бежевом === */
    .hero-media {
      position: relative !important; inset: auto !important; z-index: 0 !important;
      order: -1; width: auto; margin: 0 -20px;
      aspect-ratio: 1280 / 822;
    }
    .hero-bg-overlay {
      background: linear-gradient(to bottom, rgba(18,16,13,0.62) 0%, rgba(18,16,13,0.20) 44%, transparent 72%) !important;
    }
    .hero h1 { color: var(--text-dark) !important; margin-top: 30px !important; }
    .hero p.lead { color: var(--text-body) !important; }
    .hero-teaser {
      position: relative !important; right: auto !important; bottom: auto !important;
      width: 100% !important; max-width: 264px !important; align-self: flex-start !important;
      margin: 2px 0 28px !important;
    }

    /* 3 — контакты в шапке + нижняя панель действий */
    .m-contacts {
      display: flex; align-items: center; gap: 16px;
      padding: 8px 20px;
      background: rgba(244,244,242,0.97);
      border-top: 1px solid var(--border);
      font-size: 12px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
    }
    .m-contacts a { color: var(--text-body); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
    .m-contacts svg { width: 13px; height: 13px; fill: var(--accent); flex: 0 0 auto; }
    /* Полоса контактов прозрачна над hero (видно фон), читаема после скролла */
    .site-header:not(.scrolled) .m-contacts {
      background: transparent;
      border-top-color: rgba(245,243,239,0.18);
    }
    .site-header:not(.scrolled) .m-contacts a { color: rgba(245,243,239,0.92); }

    /* Сдвиг виджета отзывов выше нижней панели. */
    .review-fab { bottom: 84px !important; left: 12px !important; }
    .review-fab-card { width: 134px; }
  }

  @media (max-width: 360px) {
    .m-act-ic { width: 38px; height: 38px; }
    .m-act-cta { font-size: 13px; padding: 11px 6px; }
    .number-value { font-size: 30px !important; }
    .partners-people, .scope-team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  }

  /* === BIG CALC BUTTON (градиент + стрелка, Marquiz) === */
  .btn-calc {
    display: inline-flex; align-items: center; gap: 20px;
    background: linear-gradient(135deg, #cdab6e 0%, #b8956a 50%, #946e42 100%);
    color: #1a1a1a; text-align: left; text-decoration: none; max-width: 580px;
    padding: 16px 18px 16px 26px; border-radius: 16px; border: none; cursor: pointer;
    position: relative; overflow: hidden;
    box-shadow: 0 10px 24px rgba(148,110,66,0.32), inset 0 1px 0 rgba(255,255,255,0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .btn-calc::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
    transform: skewX(-18deg); transition: left 0.6s ease; pointer-events: none;
  }
  .btn-calc:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(148,110,66,0.46), inset 0 1px 0 rgba(255,255,255,0.42); }
  .btn-calc:hover::after { left: 130%; }
  .btn-calc-text { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
  .btn-calc-title { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0.01em; }
  .btn-calc-sub { font-size: 12.5px; line-height: 1.45; font-weight: 500; color: rgba(26,26,26,0.72); }
  .btn-calc-arrow {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
    background: #1a1a1a; color: #f4ede0; display: flex; align-items: center; justify-content: center;
    font-size: 20px; position: relative; z-index: 1; transition: transform 0.25s ease;
  }
  .btn-calc:hover .btn-calc-arrow { transform: translateX(3px); }
  @media (max-width: 600px) {
    .btn-calc { width: 100%; max-width: 100%; padding: 14px 14px 14px 20px; gap: 12px; }
    .btn-calc-title { font-size: 16px; }
    .btn-calc-sub { font-size: 12px; }
    .btn-calc-arrow { width: 40px; height: 40px; font-size: 18px; }
  }

  /* ===== QA FIXES (v161) ===== */
  a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible, .form-input:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 2px;
  }
  .section-tag, .open-videos-head { color: #8a6638; }
  .form-input.is-error { border-color: #d9534f !important; }
  .form-status { margin-top: 12px; font-size: 13px; line-height: 1.4; min-height: 1em; }
  .form-status.is-err { color: #e8908a; }
  .form-status.is-ok { color: #9ccc8f; }
  @media (max-width: 1024px) and (min-width: 601px) {
    .numbers-grid { grid-template-columns: repeat(3, 1fr); }
    .partners-people { grid-template-columns: repeat(4, 1fr); }
    .scope-team-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 600px) {
    .mosaic-row { flex-wrap: wrap; height: auto !important; gap: 8px; }
    .mosaic-item { flex: 1 1 calc(50% - 4px) !important; aspect-ratio: 4 / 3; }
    .mosaic-item img { position: static !important; width: 100%; height: 100%; object-fit: cover; display: block; }
    section h2 { font-size: 24px !important; line-height: 1.18 !important; }
    section h3 { font-size: 20px !important; line-height: 1.25 !important; }
    .review-fab { bottom: 92px !important; }
  }

.partners-studios-logo--img{height:auto;opacity:.7;transition:opacity .25s}
.partners-studios-logo--img img{height:38px;width:auto;display:block}
.partners-studios-logo--img:hover{opacity:1}

.temnikova-video-trigger{cursor:pointer}
.temnikova-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:74px; height:74px; border-radius:50%;
  background:rgba(20,18,16,0.42);
  border:2px solid rgba(255,255,255,0.9);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:26px; padding-left:5px; line-height:1;
  box-shadow:0 6px 24px rgba(0,0,0,0.35);
  transition:transform .25s ease, background .25s ease;
  z-index:5; pointer-events:none;
}
.temnikova-video-trigger:hover .temnikova-play,
.temnikova-video-trigger:focus-visible .temnikova-play{
  transform:translate(-50%,-50%) scale(1.08);
  background:rgba(20,18,16,0.62);
}
.temnikova-video-trigger:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}

/* ============================================================
   BLOCK — НАША СПЕЦИАЛИЗАЦИЯ (#specialization)
   ============================================================ */
.spec { background: var(--bg-cream); }
.spec-lead { max-width: 820px; margin-bottom: 48px; }
.spec-lead-strong { color: var(--text-body); }

.spec-subhead {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; margin: 56px 0 22px;
}

/* «В чём наша специализация» — 3 карточки */
.spec-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.spec-pillar {
  padding: 30px 26px; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.spec-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.spec-pillar-num {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 18px;
}
.spec-pillar-title {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  line-height: 1.25; margin-bottom: 12px; color: var(--text-dark);
}
.spec-pillar-text { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.spec-pillar-text strong { color: var(--text-body); font-weight: 700; }
.spec-pillar--accent { background: var(--bg-dark); border-color: var(--bg-dark); }
.spec-pillar--accent .spec-pillar-num { color: var(--accent-soft); }
.spec-pillar--accent .spec-pillar-title { color: var(--text-light); }
.spec-pillar--accent .spec-pillar-text { color: var(--text-light-muted); }
.spec-pillar--accent .spec-pillar-text strong { color: var(--text-light); }
.spec-pillar--accent:hover { border-color: var(--accent); }

/* «С какими домами работаем» — 4 карточки по материалу стен */
.spec-materials {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.spec-material {
  padding: 26px 22px; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.spec-material:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.spec-material-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.spec-material-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.spec-material-title {
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  line-height: 1.25; margin-bottom: 12px; color: var(--text-dark);
}
.spec-material-text { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* Честная плашка «С чем не работаем» */
.spec-honest {
  margin-top: 22px; padding: 24px 28px;
  background: var(--bg-paper); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 12px;
  display: flex; gap: 18px; align-items: flex-start;
}
.spec-honest-ic {
  flex: 0 0 auto; width: 28px; height: 28px; color: var(--accent);
}
.spec-honest-ic svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.spec-honest-text { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.spec-honest-text strong { color: var(--text-dark); font-weight: 700; }

/* Форматы объектов — чипы */
.spec-formats { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-chip {
  padding: 9px 16px; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--text-body);
  transition: border-color 0.2s, color 0.2s;
}
.spec-chip:hover { border-color: var(--accent); color: var(--accent); }
.spec-formats-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.spec-formats-note strong { color: var(--text-body); font-weight: 700; }

/* Релевантный опыт — фото Алексея + текст (аналог «6 лет у официалов») */
.spec-experience {
  margin-top: 26px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0;
  background: var(--bg-dark); border-radius: 20px; overflow: hidden;
}
.spec-experience-photo { position: relative; min-height: 340px; }
.spec-experience-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec-experience-body { padding: 44px 44px; align-self: center; }
.spec-experience-tag {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-soft); font-weight: 700; margin-bottom: 18px;
}
.spec-experience-headline {
  font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.25;
  color: var(--text-light); margin-bottom: 18px;
}
.spec-experience-headline em { font-style: normal; color: var(--accent-soft); }
.spec-experience-text { font-size: 15px; line-height: 1.65; color: var(--text-light-muted); margin-bottom: 20px; }
.spec-experience-sign { font-size: 14px; color: var(--text-light); font-weight: 600; }

/* Свобода выбора — 3 сценария */
.spec-freedom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec-scenario {
  display: flex; flex-direction: column;
  padding: 28px 26px; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.spec-scenario:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.spec-scenario-title {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  line-height: 1.25; margin-bottom: 12px; color: var(--text-dark);
}
.spec-scenario-text { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin-bottom: 22px; flex: 1 1 auto; }
.spec-scenario .btn { align-self: flex-start; }

/* Нижний CTA секции */
.spec-bottom-cta { margin-top: 40px; }
.spec-article-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: gap 0.2s;
}
.spec-article-link:hover { gap: 12px; }
.spec-article-link[data-pending="true"] { display: none; }

/* ============================================================
   BLOCK — ПРОДУКТОВАЯ ЛИНЕЙКА / УСЛУГИ (#products)
   ============================================================ */
.products { background: var(--bg-cream); }
.products-lead { max-width: 760px; margin-bottom: 34px; }

/* Фильтр-табы */
.products-filters {
  display: flex; gap: 8px; margin-bottom: 34px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; scrollbar-width: none;
}
.products-filters::-webkit-scrollbar { display: none; }
.products-tab {
  flex: 0 0 auto; padding: 10px 18px; border-radius: 100px;
  background: var(--bg-white); border: 1px solid var(--border);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--text-body); cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.products-tab:hover { border-color: var(--accent); }
.products-tab[aria-selected="true"] { background: var(--text-dark); color: var(--bg-cream); border-color: var(--text-dark); }

/* Сетка карточек */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.products-hidden { display: none !important; }

/* Карточка услуги */
.svc-card {
  display: flex; flex-direction: column;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.svc-card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.svc-card-cat {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.svc-card-badge {
  flex: 0 0 auto; padding: 5px 12px; border-radius: 100px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.svc-card-badge--flagship { background: var(--text-dark); color: var(--bg-cream); }
.svc-card-title {
  font-family: var(--serif); font-weight: 700; font-size: 18px;
  line-height: 1.25; margin-bottom: 10px; color: var(--text-dark);
}
.svc-card-teaser { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin-bottom: 16px; }
.svc-card-includes { list-style: none; margin: 0 0 18px; padding: 0; }
.svc-card-includes li {
  position: relative; padding-left: 24px; margin-bottom: 8px;
  font-size: 13px; line-height: 1.45; color: var(--text-body);
}
.svc-card-includes li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8956a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.svc-card-meta {
  display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
}
.svc-card-price { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--text-dark); }
.svc-card-price small { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.svc-card-price--note { font-size: 15px; color: var(--text-body); }
.svc-card-duration { font-size: 13px; color: var(--text-muted); }
.svc-card-duration::before { content: '·'; margin-right: 12px; color: var(--border); }
/* .svc-card-meta (цена + срок) больше не рендерится — прижим низа карточки и
   разделитель переехали сюда, иначе карточки в ряду перестают выравниваться. */
.svc-card-actions {
  display: flex; gap: 8px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
}
.svc-card-actions .btn { flex: 1 1 auto; padding: 12px 14px; min-height: 44px; font-size: 13px; }
.svc-btn-estimate.is-added { background: #2f8f5b; color: #fff; }
.svc-btn-estimate.is-added:hover { background: #2a7f51; }

/* Флагман — широкая карточка на всю ширину, выделена акцентным фоном */
.svc-card--flagship {
  grid-column: 1 / -1;
  background: var(--accent-bg);
  border-color: rgba(184, 149, 106, 0.35);
}
.svc-card--flagship .svc-card-title { font-size: 22px; }
@media (min-width: 900px) {
  .svc-card--flagship .svc-card-body { padding: 34px 38px; }
  .svc-card--flagship .svc-card-title { font-size: 27px; }
  .svc-card--flagship .svc-card-teaser { font-size: 15px; max-width: 760px; }
  .svc-card--flagship .svc-card-includes {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px;
  }
  .svc-card--flagship .svc-card-actions { max-width: 460px; }
}

.products-more-wrap { text-align: center; margin-top: 32px; }

/* ============================================================
   СМЕТА — липкая панель
   ============================================================ */
.estimate-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1450;
  transform: translateY(120%); transition: transform 0.3s ease;
  background: rgba(26,24,22,0.98); color: var(--text-light);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -6px 22px rgba(0,0,0,0.28);
  padding: 14px 48px calc(14px + env(safe-area-inset-bottom, 0px));
}
.estimate-bar.is-visible { transform: translateY(0); }
.estimate-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.estimate-bar-info { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.estimate-bar-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px; border-radius: 100px;
  background: var(--accent); color: #1a1a1a; font-weight: 700; font-size: 13px;
}
.estimate-bar-label strong { font-weight: 700; }
.estimate-bar-actions { display: flex; align-items: center; gap: 10px; }
.estimate-bar .btn { min-height: 44px; }
.estimate-bar-clear {
  background: none; border: none; cursor: pointer;
  color: var(--text-light-muted); font-size: 13px; font-family: var(--sans);
  text-decoration: underline; padding: 8px;
}
.estimate-bar-clear:hover { color: var(--text-light); }

/* ============================================================
   МОДАЛКИ (смета + быстрый заказ)
   ============================================================ */
.svc-modal {
  position: fixed; inset: 0; z-index: 1600;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.svc-modal.is-open { display: flex; }
.svc-modal-backdrop { position: absolute; inset: 0; background: rgba(15,13,11,0.72); }
.svc-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg-dark); border: 1px solid var(--border-dark);
  border-radius: 18px; padding: 34px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.svc-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(245,243,239,0.08); border: 1px solid rgba(245,243,239,0.15);
  color: var(--text-light); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.svc-modal-close:hover { background: rgba(245,243,239,0.16); }
.svc-modal-title {
  font-family: var(--serif); font-weight: 700; font-size: 23px;
  line-height: 1.2; color: var(--text-light); margin-bottom: 8px; padding-right: 40px;
}
.svc-modal-sub { font-size: 14px; color: var(--text-light-muted); line-height: 1.5; margin-bottom: 22px; }

/* Список услуг в смете */
.estimate-list { list-style: none; margin: 0 0 22px; padding: 0; }
.estimate-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border-dark);
}
.estimate-list-item:first-child { border-top: 1px solid var(--border-dark); }
.estimate-list-name { flex: 1 1 auto; font-size: 14px; color: var(--text-light); line-height: 1.4; }
.estimate-list-price { font-size: 13px; color: var(--text-light-muted); white-space: nowrap; }
.estimate-list-remove {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: none; border: 1px solid rgba(245,243,239,0.2);
  color: var(--text-light-muted); cursor: pointer; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.estimate-list-remove:hover { border-color: #e8908a; color: #e8908a; }
.estimate-empty { font-size: 14px; color: var(--text-light-muted); padding: 14px 0 22px; }

/* Форма в модалке — переиспользуем .form-input/.form-field токены */
.svc-modal .form-field { margin-bottom: 12px; }
.svc-modal-consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 14px 0 4px; font-size: 12px; line-height: 1.45; color: var(--text-light-muted);
}
.svc-modal-consent input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); }
.svc-modal-consent a { color: var(--accent-soft); }
.svc-modal .btn {
  width: 100%; justify-content: center; margin-top: 14px;
  background: var(--accent); color: #1a1a1a;
}
.svc-modal .btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
.svc-modal-success { text-align: center; padding: 20px 0; }
.svc-modal-success-ic {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(47,143,91,0.16); color: #6dcf96;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.svc-modal-success h3 { font-family: var(--serif); font-size: 22px; color: var(--text-light); margin-bottom: 10px; }
.svc-modal-success p { font-size: 14px; color: var(--text-light-muted); line-height: 1.5; }

/* ============================================================
   RESPONSIVE — новые блоки
   ============================================================ */
@media (max-width: 1024px) {
  .spec-pillars, .spec-freedom { grid-template-columns: 1fr; }
  .spec-materials { grid-template-columns: repeat(2, 1fr); }
  .spec-experience { grid-template-columns: 1fr; }
  .spec-experience-photo { min-height: 260px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card--flagship { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .spec-materials { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr !important; }
  .spec-experience-body { padding: 28px 22px !important; }
  .spec-experience-headline { font-size: 22px !important; }
  .estimate-bar { padding-left: 16px; padding-right: 16px; }
  .estimate-bar-inner { gap: 10px; }
  .estimate-bar-info { font-size: 13px; }
  .estimate-bar-clear { display: none; }
  .estimate-bar .btn { padding: 12px 16px; font-size: 13px; }
  .svc-modal-box { padding: 26px 20px; }
  /* смета-панель встаёт над мобильным action bar */
  .estimate-bar.is-visible ~ .m-actionbar,
  body.estimate-active .m-actionbar { transform: translateY(100%); transition: transform 0.3s ease; }
  .estimate-bar { bottom: 0; }
}
@media (max-width: 360px) {
  .svc-card-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .estimate-bar, .svc-card, .spec-pillar, .spec-material, .spec-scenario { transition: none; }
}
