/* ============================================================
   alt-web.ru — редакционный минимализм
   Бумага, волосяные линии, крупная типографика, воздух.
   Бордо #6E1023 — только тонкий акцент: ссылки, hover, линии.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --wash: #f2f2f2;
  --ink: #0a0a0a;
  --body: #333333;
  --muted: #6f6f6f;
  --line: #dedede;
  --accent: #6e1023;
  --accent-light: #e7b8bf;
  --sans: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1360px;
  --pad: clamp(20px, 4.2vw, 56px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}
.skip-link:focus { top: 12px; }

.screen-reader-text,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 1px;
  background: var(--accent);
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.06), 0 18px 48px rgba(10, 10, 10, 0.06);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-head { background: #ffffff; }
}
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-head { top: 46px; }
}

.head-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { transform: scaleX(1); }

.head-cta {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}
.head-cta:hover { opacity: 0.55; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: var(--pad);
  background: var(--paper);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__close {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.mobile-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu__links li { border-bottom: 1px solid var(--line); }
.mobile-menu__links a {
  display: block;
  padding: 18px 0;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.mobile-menu__links a:hover { color: var(--accent); }
.mobile-menu .btn { align-self: flex-start; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.text-link {
  position: relative;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.45s var(--ease), color 0.3s var(--ease);
}
.text-link:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
}
.hero--portrait { background: var(--paper); }

/* Запасной вариант героя: фото фоном, если портрет не выбран */
.hero--image { position: relative; min-height: 72vh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.15) 100%);
}
.hero--image .hero-grid { position: relative; z-index: 2; display: block; width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(36px, 5vw, 72px);
}

.hero-copy { max-width: none; }
.hero h1 {
  margin: 0 0 32px;
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.058em;
  animation: heroTitle 1.15s cubic-bezier(.16, 1, .3, 1) 0.05s both;
}
@keyframes heroTitle {
  from {
    opacity: 0;
    clip-path: inset(-0.35em -0.8em 100% -0.8em);
    transform: translateY(0.07em);
  }
  to {
    opacity: 1;
    clip-path: inset(-0.35em -0.8em -0.35em -0.8em);
    transform: none;
  }
}
.hero .lead { animation: heroFade 0.9s var(--ease) 0.34s both; }
.hero .actions { animation: heroFade 0.9s var(--ease) 0.44s both; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero h1 .line { display: block; }
.hero h1 .line-inner { display: block; }
.hero .lead {
  max-width: 38ch;
  margin: 0;
  color: var(--body);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.58;
}
.hero .actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Портрет: фото + стеклянная панель метрик внутри кадра */
.hero-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(400px, 48vw, 640px);
  background: #141414;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.hero-portrait__media {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
}
.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
@supports not (backdrop-filter: blur(1px)) {
  .hero-badge { background: rgba(20, 20, 20, 0.72); }
}
.hero-portrait__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: transform 1.6s var(--ease);
}
.hero-portrait:hover .hero-portrait__media img { transform: scale(1.02); }

.hero-metrics {
  position: relative;
  margin-top: auto;
  padding: 16px 20px 14px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.26), rgba(12, 12, 12, 0.54));
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 -18px 40px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  color: #fff;
}
@supports not (backdrop-filter: blur(1px)) {
  .hero-metrics { background: rgba(16, 16, 16, 0.88); }
}
.hero-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-metric:first-child { padding-left: 0; border-left: 0; }
.hero-metric__label,
.hero-metric__delta {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-metric__label { color: rgba(255, 255, 255, 0.62); }
.hero-metric__value {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-metric__delta { color: var(--accent-light); }
.hero-metrics__source {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.section-label {
  margin: 0;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}
.section-body { min-width: 0; }
.section h2,
.section-body h2 {
  margin: 0 0 clamp(28px, 3.4vw, 44px);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.section p { color: var(--body); }

@media (min-width: 981px) {
  .section .section-label,
  .case-section .section-label,
  .contact-section .section-label {
    position: sticky;
    top: calc(72px + 28px);
    align-self: start;
  }
}

/* ---------- Services: rows ---------- */
.rows {
  margin-top: 4px;
  border-top: 1px solid var(--ink);
}
.row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1.55fr) 118px 18px;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.row__thumb {
  width: 96px;
  height: 118px;
  overflow: hidden;
  background: var(--wash);
}
.row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transition: transform 0.8s var(--ease);
}
.row:hover .row__thumb img { transform: scale(1.04); }
.row h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease);
}
.row p { margin: 0; font-size: 14px; line-height: 1.55; }
.row .format {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.row__arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.3s var(--ease);
}
.row:hover h3 { color: var(--accent); }
.row:hover .row__arrow { transform: translateX(4px); color: var(--accent); }

/* ---------- Statement ---------- */
.statement-band {
  padding: clamp(64px, 9vw, 128px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-kicker {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.statement-kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}
.statement-text {
  max-width: 18ch;
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.statement-text em {
  font-style: normal;
  color: var(--accent);
}

/* ---------- Case ---------- */
.case-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.case-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 0.98;
}
.case-meta {
  margin: 0 0 40px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.case-grid h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--muted);
}
.case-grid h3 + p { margin: 0 0 28px; }
.case-grid p { font-size: 15px; line-height: 1.6; }
.case-actions {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.case-actions li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
}
.case-actions strong { color: var(--ink); font-weight: 500; }

.compare { width: 100%; border-collapse: collapse; }
.compare th,
.compare td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  font-weight: 400;
}
.compare th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare td { color: var(--body); font-variant-numeric: tabular-nums; }
.compare tr td:last-child { color: var(--accent); font-weight: 500; }
.source {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Approach: steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.steps h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.steps p { margin: 0; font-size: 14px; line-height: 1.6; }

/* ---------- Formats ---------- */
.formats-rows { border-top: 1px solid var(--ink); }
.format-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.format-row__price {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.format-row h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.format-row p { margin: 0; font-size: 14px; line-height: 1.55; }
.formats-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}
.formats-action p {
  margin: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-copy p { max-width: 46ch; font-size: 15.5px; line-height: 1.65; }
.principles {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.principles li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}
.about-aside { display: grid; gap: 24px; }
.about-photo {
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--wash);
}
.about-photo img {
  width: 100%;
  filter: grayscale(1) contrast(1.04);
}
.mini-label {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stack li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--body);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 18px 32px 18px 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.faq details[open] summary::after { content: "−"; color: var(--accent); }
.faq details p {
  margin: 0;
  padding: 0 64px 20px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body);
}

/* ---------- Contact ---------- */
.contact-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 0.98;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-grid p { max-width: 42ch; font-size: 15.5px; }
.contact-line { margin: 0 0 6px; }
.contact-line a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-line a:hover { color: var(--accent); border-color: var(--accent); }
.contact-cta {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.contact-cta__label {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-cta__note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--ink);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-row a { border-bottom: 1px solid transparent; }
.footer-row a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Page head / body ---------- */
.page-head {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.page-lead {
  max-width: 52ch;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: var(--body);
}
.page-head .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-body { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.content-narrow { max-width: 58rem; }

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.meta-grid > div { min-width: 120px; }
.meta-grid .mini-label { display: block; margin-bottom: 6px; }
.meta-grid span:last-child { font-size: 14px; color: var(--body); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Content typography ---------- */
.entry-content { font-size: 16px; line-height: 1.7; color: var(--body); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 {
  margin: 2em 0 0.5em;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.entry-content h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.1rem;
  color: var(--ink);
}
.entry-content a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.entry-content a:hover { color: var(--accent); border-color: var(--accent); }
.entry-content ul,
.entry-content ol { padding-left: 1.1em; }
.entry-content li { margin: 0.4em 0; }
.entry-content blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.entry-content img { border: 1px solid var(--line); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.article-image {
  margin: 0 0 32px;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.article-image img { width: 100%; filter: grayscale(1) contrast(1.03); }
.about-page-photo {
  max-width: 420px;
  margin: 0 0 36px;
  border: 1px solid var(--ink);
  overflow: hidden;
}
.about-page-photo img { filter: grayscale(1) contrast(1.04); }

.includes {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.includes li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
}
.includes strong { color: var(--ink); font-weight: 500; }

.quote {
  margin: 40px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink);
}
.quote p {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.quote cite {
  font-family: var(--mono);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.gallery img { border: 1px solid var(--line); }
.service-cta { margin-top: 32px; }

/* ---------- Lists ---------- */
.list-rows { border-top: 1px solid var(--ink); }
.list-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.2fr) 18px;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.list-row__meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.list-row__title {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: color 0.3s var(--ease);
}
.list-row__excerpt { font-size: 13.5px; line-height: 1.55; color: var(--body); }
.list-row__arrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.3s var(--ease);
}
.list-row:hover .list-row__title { color: var(--accent); }
.list-row:hover .list-row__arrow { transform: translateX(4px); color: var(--accent); }

.pagination {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pagination .nav-links { display: flex; gap: 12px; }
.pagination a { border-bottom: 1px solid var(--line); }
.pagination a:hover { color: var(--accent); border-color: var(--accent); }
.pagination .current { color: var(--ink); }

/* Cards (архивы, если шаблон карточки подключён) */
.card-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.card-item__media { overflow: hidden; border: 1px solid var(--line); background: var(--wash); }
.card-item__media img { width: 100%; filter: grayscale(1); transition: transform 0.8s var(--ease); }
.card-item:hover .card-item__media img { transform: scale(1.03); }
.card-item__meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-item__title {
  margin: 8px 0 10px;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.card-item__excerpt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body); }
.card-item:hover .card-item__title { color: var(--accent); }

.article-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.article-nav a { border-bottom: 1px solid var(--line); }
.article-nav a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 404 / search ---------- */
.error-code {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 420px;
  margin: 24px 0 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}
.search-form input[type="search"] {
  flex: 1;
  border: 0;
  background: none;
  padding: 6px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.search-form input[type="search"]:focus { outline: none; }
.search-form button {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}

/* ---------- Modal / form ---------- */
body.modal-open { overflow: hidden; }
/* ---------- Попап заявки ---------- */
.lead-modal {
  width: min(94vw, 600px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.lead-modal::backdrop { background: rgba(10, 10, 10, 0.5); }
.lead-modal__inner { position: relative; padding: 38px 40px 32px; }
.lead-modal__close {
  position: absolute;
  top: 16px;
  right: 22px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lead-modal__close:hover { color: var(--accent); border-color: var(--accent); }
.lead-modal__kicker {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead-modal__kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}
.lead-modal h2 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.lead-modal__lead {
  margin: 0 0 26px;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}
.lead-modal__note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.lead-modal__alt { margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.lead-modal__alt a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.lead-modal__alt a:hover { opacity: 0.6; }

.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.lead-form p { margin: 0 0 18px; }
.lead-form label,
.lead-modal .wpcf7 label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea,
.lead-modal .wpcf7 input[type="text"],
.lead-modal .wpcf7 input[type="tel"],
.lead-modal .wpcf7 textarea {
  width: 100%;
  min-height: 38px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.lead-form textarea { height: 96px; min-height: 96px; max-height: 180px; resize: none; }
.lead-form input::placeholder,
.lead-form textarea::placeholder,
.lead-modal .wpcf7 input::placeholder,
.lead-modal .wpcf7 textarea::placeholder { color: #a9a9a9; font-size: 14px; }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-modal .wpcf7 input:focus,
.lead-modal .wpcf7 textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.lead-form__optional {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.lead-form__consent {
  margin: 0 0 16px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.lead-form__consent a { color: var(--ink); border-bottom: 1px solid var(--line); }
.lead-form__consent a:hover { color: var(--accent); border-color: var(--accent); }
.lead-form__submit input[type="submit"],
.lead-modal .wpcf7 input[type="submit"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.lead-form__submit input[type="submit"]:hover,
.lead-modal .wpcf7 input[type="submit"]:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lead-modal .wpcf7-spinner { display: none; }
.wpcf7-response-output {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
@media (max-width: 720px) {
  .lead-modal { width: 100%; height: 100%; max-height: 100vh; border: 0; }
  .lead-modal__inner { padding: 30px 20px 24px; }
  .lead-form__row { grid-template-columns: 1fr; gap: 0; }
  .lead-modal__close { top: 14px; right: 16px; }
}

/* ---------- Motion: только то, что не читается как трюк ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Швейцарская линия: верхняя граница секции прорисовывается */
.section { position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.2s var(--ease-out);
}
.section.is-visible::before { transform: scaleX(1); }
.section:first-of-type::before { display: none; }

/* Портрет: занавес снизу и мягкая посадка кадра */
.hero-portrait__media {
  clip-path: inset(0 0 100% 0);
  animation: portraitCurtain 1.3s var(--ease-out) 0.12s forwards;
}
@keyframes portraitCurtain {
  to { clip-path: inset(0); }
}
.hero-portrait__media img {
  animation: portraitSettle 1.7s var(--ease-out) 0.12s;
}
@keyframes portraitSettle {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait__media,
  .hero-portrait__media img { animation: none !important; clip-path: none !important; }
  .section::before { transition: none !important; transform: scaleX(1) !important; }
}

.media-reveal.is-visible img { animation: mediaIn 1.1s var(--ease); }
@keyframes mediaIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .media-reveal.is-visible img,
  .hero-portrait__media img,
  .row__thumb img,
  .card-item__media img,
  .hero h1,
  .hero .lead,
  .hero .actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) 110px 18px; }
  .row__thumb { display: none; }
  .list-row { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) 18px; }
}

@media (max-width: 980px) {
  .nav,
  .head-cta { display: none; }
  .menu-toggle { display: block; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-portrait { min-height: 0; }
  .hero-portrait__media { height: clamp(320px, 62vw, 480px); flex: none; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }

  .section-grid,
  .page-body .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-label {
    position: static !important;
    padding-top: 0;
  }
  .section h2 { margin-bottom: 28px; }

  .case-grid,
  .about-grid,
  .contact-grid,
  .steps { grid-template-columns: 1fr; gap: 28px; }

  .row { grid-template-columns: 1fr; gap: 6px; align-items: start; }
  .row .format { text-align: left; }
  .row__arrow { display: none; }
  .row p { margin-top: 2px; }

  .format-row { grid-template-columns: 1fr; gap: 6px; }
  .list-row { grid-template-columns: 1fr; gap: 6px; }
  .list-row__arrow { display: none; }
  .card-item { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .meta-grid { gap: 20px; }
}

@media (max-width: 720px) {
  .head-row { min-height: 64px; }
  .hero-metrics__grid { grid-template-columns: 1fr; gap: 0; }
  .hero-metric {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .hero-metric:first-child { border-top: 0; }
  .hero-metric__label { order: 2; text-align: right; }
  .hero-metric__value { order: 1; font-size: 17px; }
  .hero-metric__delta { order: 3; display: none; }
  .formats-action { flex-direction: column; align-items: flex-start; }
  .faq details p { padding-right: 24px; }
  .page-head h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
}

/* ---------- Слайдер кейсов ---------- */
[hidden] { display: none !important; }

.cases-section { border-top: 1px solid var(--line); }
.cases-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.cases-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.cases-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
}
.cases-counter {
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cases-counter__sep { margin: 0 5px; color: var(--line); }
.cases-arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: none;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cases-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cases-arrow:disabled { opacity: 0.28; cursor: default; }

.cases-viewport {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline-offset: 6px;
}
.cases-viewport::-webkit-scrollbar { display: none; }

.case-slide {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 min(620px, 82%);
  scroll-snap-align: start;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.4s var(--ease);
}
.case-slide:hover { border-color: var(--ink); }
.case-slide__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.case-slide__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.case-slide__meta {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.case-slide__title {
  display: block;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  transition: color 0.3s var(--ease);
}
.case-slide:hover .case-slide__title { color: var(--accent); }
.case-slide__stats {
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.case-slide__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.case-slide__stat-name { font-size: 12.5px; color: var(--muted); }
.case-slide__stat-value {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.case-slide__before { color: var(--muted); }
.case-slide__stat-arrow { margin: 0 6px; color: var(--line); }
.case-slide__after { color: var(--accent); }
.case-slide__more {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.cases-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}
.cases-source {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cases-progress {
  position: relative;
  flex: 0 0 38%;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.cases-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 30%;
  background: var(--ink);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}

@media (max-width: 980px) {
  .cases-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cases-tools { padding-bottom: 0; }
  .case-slide { flex-basis: 88%; padding: 20px; }
  .cases-progress { flex: 0 0 46%; }
  .cases-source { font-size: 8.5px; }
}

/* ---------- Текстовые блоки главной и услуг ---------- */
.section-lead {
  max-width: 54ch;
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: var(--body);
}
.section-note {
  max-width: 62ch;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.section-note:first-child { margin-top: 0; }

.need-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.need-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.need-list li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--accent);
}
.need-list strong { font-weight: 500; }

.step-index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cta-section {
  padding: clamp(56px, 8vw, 112px) 0;
  border-top: 1px solid var(--ink);
}
.cta-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .steps--four { grid-template-columns: 1fr; }
  .section-note { font-size: 13px; }
}

/* ---------- Первый экран: пример и цена ---------- */
.hero-example {
  max-width: 46ch;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-note {
  max-width: 46ch;
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Пример из работы: текст + карточка кейса ---------- */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.proof__text h3 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.proof__text p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--body); }
.proof__text .section-note { margin-top: 20px; }
.proof__text .text-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof__card .cases-head--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.cases-kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.proof__card .case-slide { flex-basis: 100%; }
.proof__card .cases-foot { margin-top: 14px; }
.proof__card .cases-progress { flex: 0 0 42%; }

@media (max-width: 980px) {
  .proof { grid-template-columns: 1fr; }
  .proof__card .case-slide { flex-basis: 88%; }
}

/* ---------- Первый экран: фото справа, стекло под текстом ---------- */
.hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(36px, 4.6vw, 72px);
}
.hero--split .hero-copy { max-width: none; }
.hero-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--ink);
}
.hero-caption__name {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-caption__role {
  position: relative;
  padding-left: 15px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-caption__role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.35;
}
.hero--split h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  line-height: 0.92;
}
.hero--split .lead {
  max-width: 40ch;
  margin: 0 0 30px;
  color: var(--body);
}
.hero--split .actions { margin-top: 0; }
.hero--split .hero-portrait {
  min-height: clamp(460px, 54vw, 700px);
  border: 1px solid var(--ink);
}
.hero--split .hero-portrait__media { flex: 1; }

/* Стекло под текстом: белое, полупрозрачное, заходит на фотографию */
.hero--split .hero-metrics {
  position: relative;
  z-index: 3;
  margin-top: clamp(28px, 3.6vw, 44px);
  width: calc(100% + clamp(80px, 9vw, 180px));
  max-width: none;
  padding: 18px 22px 14px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  color: var(--ink);
}
@supports not (backdrop-filter: blur(1px)) {
  .hero--split .hero-metrics { background: #ffffff; }
}
.hero--split .hero-metric { border-left-color: var(--line); }
.hero--split .hero-metric__label { color: var(--muted); }
.hero--split .hero-metric__value { color: var(--ink); }
.hero--split .hero-metric__delta { color: var(--accent); }
.hero--split .hero-metrics__source { margin-top: 12px; color: var(--muted); }

@media (max-width: 980px) {
  .hero--split { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 40px; }
  .hero--split h1 { font-size: clamp(2.4rem, 9.6vw, 3.6rem); }
  .hero--split .hero-portrait { min-height: 0; }
  .hero--split .hero-portrait__media { height: clamp(320px, 72vw, 460px); flex: none; }
  .hero--split .hero-metrics { width: 100%; }
}
