/* ============================================================
   Владислав Васильев — лендинг (макет 1200px, верстка 1:1 с Figma)
   Дисплейный: Lebowski by Pragmatica. Текст: Inter Tight.
   Иконки/фото — реальные ассеты из Figma, кадрирование 1:1 (трансформы).
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Lebowski by Pragmatica";
  src:
    url("fonts/LebowskiByPragmatica-Regular.ttf") format("truetype"),
    url("fonts/LebowskiByPragmatica-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --accent: #a83635;
  --accent-700: #8f2c2b;
  --accent-link: #a31513; /* ссылки/подчёркивания */
  --underline: rgba(163, 21, 19, 0.4);
  --ink: #0a0a0c;
  --zinc: #27272a;
  --text: #5c5c65;
  --sub: #3f3f47;
  --ash: #a1a1aa;
  --canvas: #ffffff;
  --band: #f4f4f5;
  --border: #e6e6e9;
  --icon-border: #e6e6e6;
  --font-display: "Lebowski by Pragmatica", "Inter Tight", sans-serif;
  --font-text: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
/* Гладкий скролл намеренно отключен — иначе TanStack scrollRestoration
   при возврате назад/вперед визуально «уезжает» к блоку. Прыжок по
   якорю остается мгновенным; SiteHeader при клике сам решает, где скроллить. */
html {
  scroll-behavior: auto;
}
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
ul {
  list-style: none;
}

/* контент-ширина = 1200px (1248 - 2*24 паддинга) */
.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* единое подчёркивание-ссылка как в Figma */
.u-link {
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-skip-ink: none;
}

/* full-bleed скруглённая подложка секции */
.band-bg {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--band);
  border-radius: 40px;
}
.band-inner {
  max-width: 1248px;
  margin-inline: auto;
  padding: 88px 24px;
}

.section-head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.04;
  color: var(--ink);
}
.section-head--center {
  text-align: center;
}

/* единый вертикальный ритм для секций вне band-bg */
.section-pad {
  padding-top: 96px;
  padding-bottom: 96px;
}
.section-pad--tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* hero без портрета: дать дыхание перед следующей секцией */
.hero--standalone {
  padding-bottom: 80px;
}

/* ============================================================ SCROLL REVEAL */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.hero .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal[data-reveal-delay="1"].is-in {
  transition-delay: 0.06s;
}
.reveal[data-reveal-delay="2"].is-in {
  transition-delay: 0.12s;
}
.reveal[data-reveal-delay="3"].is-in {
  transition-delay: 0.18s;
}
.reveal[data-reveal-delay="4"].is-in {
  transition-delay: 0.24s;
}
.reveal[data-reveal-delay="5"].is-in {
  transition-delay: 0.3s;
}

/* ---------- Доступность и правила ---------- */
.availability-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
}
.availability-card__eyebrow {
  display: inline-flex;
  width: max-content;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  padding: 6px 9px;
  margin-bottom: 16px;
}
.availability-card p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  max-width: 640px;
  margin: 16px 0 0;
}
.availability-card__aside {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  display: grid;
  gap: 12px;
  color: var(--text);
}
.availability-card__count {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.8;
  color: var(--ink);
}
#rules {
  background: var(--band);
  border-radius: 40px;
}
.rules-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
}
.rules-head__lede {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
#rules .section-head {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1px;
}
#rules .section-head .accent,
#tasks .section-head .accent {
  color: var(--accent);
}
.rules-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.rules-controls button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--zinc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.rules-controls button:hover {
  background: var(--zinc);
  color: #fff;
  transform: translateY(-1px);
}
.rules-grid {
  display: flex;
  gap: 24px;
  padding: 0 0 6px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}
.rules-grid::-webkit-scrollbar {
  display: none;
}
.rule-card {
  position: relative;
  flex: 0 0 calc((100% - 72px) / 3.25);
  min-width: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  color: var(--sub);
  scroll-snap-align: start;
}
.rule-card__index {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}
.rule-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 52px;
}
.rule-card__body h3 {
  max-width: 300px;
  margin: 0;
  color: var(--zinc);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.4px;
}
.rule-card__line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: var(--border);
}
.rule-card__body p {
  max-width: 310px;
  margin: auto 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}
.book-rule {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.book-rule b {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}
.book-rule span {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}
.book-rule p {
  font-size: 13px;
  line-height: 1.4;
  margin: 8px 0 0;
}
.school-note {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 16px;
}
@media (max-width: 900px) {
  .availability-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .availability-card__aside {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0 0;
  }
  .rules-head {
    padding-bottom: 44px;
  }
  .rule-card {
    flex-basis: calc((100% - 32px) / 2.25);
    min-height: 400px;
  }
}
@media (max-width: 560px) {
  #rules {
    border-radius: 28px;
  }
  #rules .section-head {
    font-size: 36px;
  }
  .rules-head {
    align-items: flex-start;
    padding-bottom: 32px;
  }
  .rules-head__lede {
    font-size: 15px;
  }
  .rules-controls {
    display: none;
  }
  .rules-grid {
    margin-right: -24px;
    padding-right: 24px;
  }
  .rule-card {
    flex-basis: 84vw;
    min-height: 370px;
    padding: 26px 24px;
    border-radius: 24px;
  }
  .rule-card__body {
    margin-top: 42px;
  }
  .rule-card__body h3 {
    font-size: 28px;
  }
  .rule-card__body p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none;
  }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  padding: 16px 32px;
  border-radius: 18px;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-700);
}
.btn-zinc {
  background: var(--zinc);
  color: #fff;
}
.btn-zinc:hover {
  background: #34343a;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: #26262b;
}
.btn-light {
  background: var(--band);
  color: var(--ink);
}
.btn-light:hover {
  background: #e9e9eb;
}
.btn-sm {
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: -0.14px;
}

/* ============================================================ HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--sub);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--ink);
  transition: color 0.18s ease;
}
.nav__links a:hover {
  color: var(--accent-link);
}
.nav__links a.is-active {
  color: var(--accent-link);
}
.nav__links a img {
  width: 14px;
  height: 14px;
}
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--band);
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav__burger span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav__burger span::before {
  transform: translateY(-6px);
}
.nav__burger span::after {
  transform: translateY(6px);
}
.header.is-open .nav__burger span {
  background: transparent;
}
.header.is-open .nav__burger span::before {
  transform: rotate(45deg);
}
.header.is-open .nav__burger span::after {
  transform: rotate(-45deg);
}

/* ============================================================ HERO */
.hero {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 667px 514px;
  gap: 19px;
  justify-content: space-between;
  align-items: center;
}
.hero__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge img {
  width: 22px;
  height: 22px;
}
.badge span {
  font-size: 16px;
  letter-spacing: -0.16px;
  color: var(--accent);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.04;
  color: var(--ink);
  width: 667px;
  max-width: 100%;
}
.hero__title .accent {
  color: var(--accent);
}
.hero__sub {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.22px;
  color: var(--sub);
  width: 667px;
  max-width: 100%;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* кадрирование портрета как в Figma (заходит за фон следующей секции) */
.hero__media {
  width: 514px;
  height: 564px;
  max-width: 100%;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background: var(--band);
}
.hero__media img {
  position: absolute;
  max-width: none;
  width: 213.67%;
  height: 292.47%;
  left: -54.35%;
  top: -18.28%;
}

/* ============================================================ ЗАДАЧИ (заходит на портрет hero) */
#tasks {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}
.tasks__head {
  margin-bottom: 48px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.tab {
  padding: 16px 28px;
  border-radius: 20px;
  font-size: 17px;
  letter-spacing: -0.17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.tab:hover {
  border-color: var(--ink);
}
.tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tabs-wrap {
  position: relative;
  margin-bottom: 24px;
}
.tabs-wrap .tabs {
  margin-bottom: 0;
}
.tabs-hint {
  display: none;
}
@media (max-width: 720px) {
  .tabs-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background: linear-gradient(to left, var(--band) 10%, rgba(244, 244, 245, 0));
    pointer-events: none;
    z-index: 2;
  }
  .tabs-wrap .tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabs-wrap .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    pointer-events: none;
    z-index: 3;
    animation: hint-bounce 1.6s ease-in-out infinite;
  }
  @keyframes hint-bounce {
    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }
    50% {
      transform: translateY(-50%) translateX(3px);
    }
  }
}

.panel {
  background: var(--zinc);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel__row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.panel__row + .panel__row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}
.panel__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.panel__text {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.22px;
  color: #fff;
}
.panel__text .lead {
  color: var(--ash);
}

/* ============================================================ сетки/услуги */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.head-gap {
  margin-bottom: 40px;
}
#services {
  padding-top: 96px;
}
#services .head-gap {
  margin-bottom: 48px;
}

.service {
  background: var(--band);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.icon-tile {
  width: 64px;
  height: 64px;
  border: 1px solid var(--icon-border);
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
}
.icon-tile__inner {
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--icon-border);
  border-radius: 18.2px;
  display: grid;
  place-items: center;
}
.icon-tile__inner img {
  width: 26px;
  height: 26px;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.04;
  color: var(--zinc);
  margin-bottom: 16px;
}
.service__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
  margin-bottom: 32px;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.checklist li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.service .btn {
  margin-top: auto;
}
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.services-head__lede {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--text);
}
@media (max-width: 720px) {
  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* Флагманская услуга — инверсная карточка в ряду */
.service--featured {
  position: relative;
  background: var(--zinc);
}
.service__chip {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.13px;
}
.service--featured .icon-tile {
  border-color: rgba(255, 255, 255, 0.16);
}
.service--featured .icon-tile__inner {
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}
.service--featured .icon-tile__inner img {
  filter: brightness(0) invert(1);
}
.service--featured .service__title {
  color: #fff;
}
.service--featured .service__desc {
  color: #c9c9d1;
}
.service--featured .checklist li {
  color: #d9d9df;
}
.service--featured .checklist li img {
  filter: brightness(0) invert(1) opacity(0.75);
}

/* ============================================================ CTA */
#cta {
  padding-top: 128px;
  padding-bottom: 144px;
}
.cta-card {
  position: relative;
  background: var(--band);
  border-radius: 32px;
  overflow: hidden;
  min-height: 428px;
}
.cta-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 48px;
  max-width: 700px;
}
.cta-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.04;
  color: var(--zinc);
}
.cta-card__sub {
  font-size: 16px;
  letter-spacing: -0.16px;
  color: var(--text);
  margin-top: -16px;
}
.cta-card__note {
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--ash);
  margin-top: -14px;
}

/* ============================================================ ЗАГЛУШКИ «СКОРО» (материалы, опросы) */
.coming {
  padding-bottom: 96px;
}
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.coming-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  background: var(--band);
  min-height: 220px;
}
.coming-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--sub);
}
.coming-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}
.coming-card__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.coming-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--zinc);
}
.coming-cta p {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: #fff;
}
@media (max-width: 900px) {
  .coming-grid {
    grid-template-columns: 1fr;
  }
  .coming-card {
    min-height: 0;
  }
  .coming-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
}
.cta-card__media {
  position: absolute;
  top: -1px;
  left: 37.2%;
  width: 78.75%;
  height: 517px;
}
.cta-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Brief form (использует размеры из дизайн-системы: 16/14) */
.brief-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.brief-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.brief-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brief-field--wide {
  grid-column: 1 / -1;
}
.brief-field__label {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.16px;
  color: var(--ink);
}
.brief-field__req {
  color: var(--accent);
}
.brief-field__input {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s ease;
  resize: vertical;
  width: 100%;
}
.brief-field__input:focus {
  outline: none;
  border-color: var(--ink);
}
.brief-field__input::placeholder {
  color: #b4b4b8;
}
textarea.brief-field__input {
  min-height: 110px;
}
textarea.brief-field__input[rows="2"] {
  min-height: 78px;
}

.brief-form__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.brief-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.brief-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.brief-consent__text {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: var(--text);
}
.brief-form__submit {
  align-self: flex-start;
}
.brief-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.brief-form--done {
  background: var(--band);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.brief-form--done h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.brief-form--done p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* ============================================================ BRIEF MODAL (full-screen sheet) */
.brief-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  animation: brief-fade 0.2s ease;
}
.brief-modal__topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.brief-modal__eyebrow {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  color: var(--ash);
  letter-spacing: -0.14px;
}
.brief-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--band);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition:
    background 0.15s ease,
    transform 0.2s ease;
}
.brief-modal__close:hover {
  background: #e5e5e7;
  transform: rotate(90deg);
}
.brief-modal__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.brief-modal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  animation: brief-pop 0.25s ease;
}
.brief-modal__head {
  margin-bottom: 36px;
}
.brief-modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  color: var(--zinc);
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
}
.brief-modal__title .accent {
  color: var(--accent);
}
.brief-modal__sub {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--text);
  margin: 0;
  max-width: 560px;
}
@keyframes brief-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes brief-pop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .brief-modal__topbar {
    height: 56px;
    padding: 0 16px;
  }
  .brief-modal__close {
    width: 40px;
    height: 40px;
  }
  .brief-modal__inner {
    padding: 28px 20px 48px;
  }
  .brief-modal__title {
    font-size: 30px;
  }
  .brief-modal__sub {
    font-size: 15px;
  }
  .brief-modal__head {
    margin-bottom: 24px;
  }
  .brief-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .brief-form__submit {
    width: 100%;
  }
  .brief-form--done {
    padding: 24px;
  }
  .brief-form--done h3 {
    font-size: 22px;
  }
}

/* ============================================================ LETTERS MODAL (full-screen viewer) */
.letters-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0f0f10;
  display: flex;
  flex-direction: column;
  animation: brief-fade 0.2s ease;
  color: #fff;
}
.letters-modal__topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(15, 15, 16, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.letters-modal__eyebrow {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.14px;
}
.letters-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  transition:
    background 0.15s ease,
    transform 0.2s ease;
}
.letters-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
.letters-modal__stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 12px;
}
.letters-modal__frame {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.letters-modal__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  animation: brief-pop 0.25s ease;
}
.letters-modal__nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.letters-modal__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.letters-modal__nav:active {
  transform: scale(0.95);
}
.letters-modal__caption {
  padding: 8px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.letters-modal__title {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.17px;
  color: #fff;
  margin: 0;
  text-align: center;
  max-width: 720px;
}
.letters-modal__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 6px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.letters-modal__thumbs::-webkit-scrollbar {
  height: 6px;
}
.letters-modal__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}
.letters-modal__thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.letters-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.letters-modal__thumb:hover {
  transform: translateY(-2px);
}
.letters-modal__thumb.is-active {
  border-color: var(--accent);
}

@media (max-width: 720px) {
  .letters-modal__topbar {
    height: 56px;
    padding: 0 16px;
  }
  .letters-modal__close {
    width: 40px;
    height: 40px;
  }
  .letters-modal__stage {
    grid-template-columns: 40px 1fr 40px;
    padding: 12px 8px 8px;
    gap: 4px;
  }
  .letters-modal__nav {
    width: 36px;
    height: 36px;
  }
  .letters-modal__nav svg {
    width: 18px;
    height: 18px;
  }
  .letters-modal__caption {
    padding: 4px 16px 16px;
  }
  .letters-modal__title {
    font-size: 15px;
  }
  .letters-modal__thumb {
    width: 44px;
    height: 58px;
  }
}

/* Video poster (click-to-play) */
.tile-video__poster {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  background: #000;
  overflow: hidden;
}
.tile-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tile-video__poster:hover img {
  transform: scale(1.03);
}
.tile-video__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.tile-video__poster:hover .tile-video__play-btn {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
}
.tile-video__play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 5px;
}

/* Video poster (click-to-play) */
.tile-video__poster {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  background: #000;
  overflow: hidden;
}
.tile-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tile-video__poster:hover img {
  transform: scale(1.03);
}
.tile-video__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.tile-video__poster:hover .tile-video__play-btn {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
}
.tile-video__play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 5px;
}

/* ============================================================ ПОЧЕМУ — бенто */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 392px);
  gap: 12px;
  justify-content: center;
}
.bento__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile {
  background: #fff;
  border-radius: 32px;
  padding: 28px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.9;
  color: var(--accent);
}
.stat__label {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: var(--text);
}

.tile-20 {
  height: 121px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--accent);
}
.tile-20 .stat__num {
  font-size: 64px;
}
.tile-20 .stat__label {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.22px;
  color: var(--accent);
}

.tile-stack {
  height: 121px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.tile-stack__txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.tile-stack .stat__num {
  font-size: 40px;
  color: var(--ink);
}
.tile-stack__ic {
  margin-left: auto;
  width: 64px;
  height: 64px;
  border: 1px solid var(--band);
  border-radius: 24px;
  display: grid;
  place-items: center;
}
.tile-stack__ic .icon-tile__inner {
  background: var(--band);
  border-color: var(--band);
}

.tile-1000 {
  height: 120px;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding: 27px 28px;
}
.tile-1000__txt {
  width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.tile-1000 .stat__num {
  font-size: 40px;
  color: var(--ink);
}
.tile-1000__ic {
  margin-left: auto;
  width: 64px;
  height: 64px;
  border: 1px solid var(--band);
  border-radius: 24px;
  display: grid;
  place-items: center;
}
.tile-1000__ic .icon-tile__inner {
  background: var(--band);
  border-color: var(--band);
}

/* Цветовые акценты бенто-плиток */
.tile-clients {
  background: var(--zinc) url("/home/images/tile-clients-bg.svg") no-repeat;
  background-size: cover;
}
.tile-clients h3 {
  color: #fff;
}

.tile-book {
  height: 514px;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
}
.tile-book h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 8px;
}
.tile-book p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.tile-book .btn {
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.tile-book__head {
  padding: 28px;
  position: relative;
  z-index: 2;
}
.tile-book__img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 220px;
  overflow: hidden;
  z-index: 1;
  border-radius: 0 0 32px 32px;
}
.tile-book__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.tile-video {
  height: 780px;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.tile-video__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px;
  flex-shrink: 0;
}
.tile-video__head .ava {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.tile-video__head .ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile-video__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tile-video__name {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.22px;
  color: var(--ink);
}
.tile-video__cap {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: var(--ink);
}
.tile-video__cap .strong {
  color: var(--ink);
}
.tile-video__cap .muted {
  color: var(--ash);
}
.tile-video__media {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 32px;
  display: block;
}
.tile-video__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-video__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tile-clients {
  height: 411px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.tile-clients h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 0.9;
  color: #fff;
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  column-gap: 18px;
  row-gap: 22px;
  width: 100%;
  margin: 12px 0 0;
  padding: 10px 12px;
  list-style: none;
}
.client-logo {
  min-width: 0;
  height: 46px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
}
.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  mix-blend-mode: screen;
  opacity: 0.88;
}
.client-logo:nth-child(6) img {
  filter: none;
}
.client-logo:nth-child(6) {
  background: transparent;
}
.client-logo:nth-child(10) img {
  filter: none;
}
.client-logo--severstal img {
  transform: translateY(-7px) scale(1.08);
  transform-origin: center;
}
.client-logo--senezh img {
  transform: scale(0.94);
  transform-origin: center;
}
.client-logo--rospatriot img {
  transform: scale(1.14);
  transform-origin: center;
}
.client-logo--asi img {
  transform: translate(-5px, -7px) scale(1.07);
  transform-origin: center;
}
/* Логотипы выровнены без наклона и сдвигов (правка маркетолога, сентябрь 2026) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.16px;
}

.tile-about {
  height: 225px;
  position: relative;
  overflow: hidden;
}
.tile-about h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 0.9;
  color: var(--ink);
  width: 171px;
}
.tile-about .btn {
  position: absolute;
  left: 28px;
  top: 141px;
}
.tile-about__fig {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 150px;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/* ============================================================ КЕЙСЫ */
#cases {
  padding-top: 80px;
  padding-bottom: 114px;
}
.cases-preview__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.cases-preview__lede {
  max-width: 520px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
.cases-preview__action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.case__top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case__tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.16px;
}
.case__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.04;
  color: var(--zinc);
  margin-bottom: 16px;
}
.case__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.case__foot {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case__line {
  height: 1px;
  background: var(--border);
}
.case__result {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--accent);
}
.case__result img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.case--letters {
  position: relative;
  background: var(--band);
  border: 0;
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case--letters__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.04;
  color: var(--ink);
}
.case--letters__count {
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--ash);
  margin-top: -6px;
}
.case--letters .case--letters__btn {
  align-self: flex-start;
}
.case--letters__img {
  position: relative;
  aspect-ratio: 524/261;
  border-radius: 12px;
}
.case--letters__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 12px;
}

/* ============================================================ FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--sub);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links a,
.footer__link-btn {
  font-size: 14px;
  color: var(--text);
  transition: color 0.18s ease;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.footer__links a:hover,
.footer__link-btn:hover {
  color: var(--accent-link);
}

.footer__copy {
  font-size: 14px;
  color: var(--text);
  width: 100%;
}

/* ============================================================ АДАПТИВ */
@media (max-width: 1260px) {
  .hero__grid {
    grid-template-columns: 1fr 440px;
  }
  .hero__title,
  .hero__sub {
    width: 100%;
  }
  .hero__media {
    width: 100%;
  }
  .bento {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .tile-1000__txt {
    width: auto;
    flex: 1;
  }
}
@media (max-width: 1080px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento__col--video {
    grid-column: 1 / -1;
    order: 3;
  }
  .tile-video {
    height: 460px;
  }
  .tile-video__play {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
/* ============================================================ MOBILE MENU (overlay) */
.mobile-menu {
  display: none;
}
@media (max-width: 880px) {
  .section-head,
  .cta-card__title {
    font-size: 38px;
  }
  .nav {
    height: 76px;
  }
  .nav__logo {
    flex: 1;
    min-width: 0;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }

  .header.is-open {
    border-bottom-color: transparent;
  }
  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s;
    overflow-y: auto;
  }
  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 32px;
  }
  .mobile-menu__nav a {
    display: flex;
    align-items: center;
    padding: 18px 4px;
    font-size: 20px;
    letter-spacing: -0.2px;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu__nav a.is-active {
    color: var(--accent-link);
  }
  .mobile-menu__cta {
    margin-top: 20px;
    justify-content: center;
    border-bottom: 0 !important;
    padding: 16px 22px !important;
    font-size: 16px !important;
    color: #fff !important;
  }

  .hero {
    padding-top: 32px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__title {
    font-size: 40px;
  }
  .hero__sub {
    font-size: 18px;
  }
  .hero__media {
    order: 2;
    align-self: center;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 514/564;
  }
  .hero__col {
    order: 1;
  }
  #tasks {
    margin-top: 0;
  }

  #services {
    padding-top: 56px;
  }
  #cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  #cases {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .cases-preview__head {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
  }
  .cases-preview__lede {
    font-size: 16px;
  }
  .band-inner {
    padding: 56px 24px 64px;
  }
  .band-bg {
    border-radius: 32px;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
  /* Карточка «Благодарственные письма» — статичный поток на планшете */
  .case--letters {
    padding: 24px 24px 0;
  }

  .cta-card {
    min-height: 0;
  }
  .cta-card__body {
    padding: 32px;
    max-width: none;
  }
  .cta-card__title {
    font-size: 34px;
  }
  .cta-card__media {
    position: relative;
    left: auto;
    top: auto;
    width: 78%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 945/517;
    margin: 10px auto 0;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .bento__col--video {
    order: 0;
  }
  .tile-video {
    height: 460px;
  }
}
@media (max-width: 560px) {
  .container,
  .band-inner {
    padding-inline: 18px;
  }
  .section-head,
  .cta-card__title,
  .hero__title {
    font-size: 32px;
  }
  .panel {
    padding: 24px;
  }
  .panel__text {
    font-size: 18px;
  }
  .service,
  .case {
    padding: 24px;
  }
  .tile-20 .stat__num {
    font-size: 52px;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .tab {
    flex-shrink: 0;
    padding: 14px 22px;
    font-size: 16px;
  }
}

/* ============================================================ EVENTS (Где меня можно услышать) */
#events {
  padding-top: 0;
  padding-bottom: 0;
}
.events-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.events-head .section-head {
  margin-bottom: 0;
}
.events-head__sub {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.18px;
  color: var(--text);
  max-width: 460px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
}
.event__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.event__date-day {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
}
.event__date-rest {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--text);
}
.event__date-month {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event__tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--text);
  background: #fff;
}
.event__tag--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.event__tag--past {
  background: var(--band);
  color: var(--text);
  border-color: var(--band);
}
.event__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.08;
  color: var(--ink);
}
.event__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.event__cta {
  margin-top: auto;
  font-size: 14px;
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-underline-offset: 2px;
}
.events-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================================ BLOG (Пишу, снимаю, делюсь) */
#blog {
  padding-top: 96px;
  padding-bottom: 96px;
}
.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.blog-head .section-head {
  margin-bottom: 0;
}
.blog-head__sub {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.18px;
  color: var(--text);
  max-width: 460px;
}
.blog-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.blog-bento .post-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-bento .post-col .post {
  flex: 1;
}
.post {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.18s ease;
}
.post:hover {
  transform: translateY(-2px);
}
.post__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 14px;
  letter-spacing: -0.14px;
  width: fit-content;
}
.post__type--article {
  background: var(--band);
  color: var(--ink);
}
.post__type--video {
  background: var(--zinc);
  color: #fff;
}
.post__type--podcast {
  background: var(--accent);
  color: #fff;
}
.post__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.04;
  color: var(--ink);
}
.post__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
}
.post__meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  letter-spacing: -0.14px;
  color: var(--ash);
  margin-top: auto;
}
.post--featured {
  background: var(--band);
  border-color: var(--band);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.post--featured .post__title {
  font-size: 36px;
  line-height: 1.04;
}
.blog-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.blog-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* page hero (для /events и /blog) */
.page-hero {
  padding: 56px 0 24px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero__sub {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.22px;
  color: var(--sub);
  max-width: 760px;
}
.page-section {
  padding-top: 24px;
  padding-bottom: 96px;
}
.page-section + .page-section {
  padding-top: 0;
}
.subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 24px;
}

@media (max-width: 1080px) {
  .events-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-secondary {
    grid-template-columns: 1fr 1fr;
  }
  .blog-bento {
    grid-template-columns: 1fr;
  }
  .post--featured .post__cover {
    aspect-ratio: 16/9;
  }
  .post--featured .post__title {
    font-size: 28px;
  }
}
@media (max-width: 720px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event {
    min-height: 0;
    padding: 24px;
  }
  .post {
    padding: 24px;
  }
  .blog-bento {
    gap: 20px;
  }
  .blog-bento .post-col {
    gap: 20px;
  }
  .blog-secondary {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .page-hero__title {
    font-size: 40px;
  }
  .page-hero__sub {
    font-size: 18px;
  }

  /* Единый размер плашек-тегов на мобиле (исключая .tab — он живет в скролл-ленте) */
  .chip,
  .case__tag,
  .post__type,
  .event__tag {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: -0.12px;
    padding: 6px 12px;
    border-radius: 14px;
  }
}

/* ============================================================ BLOG covers */
.post {
  overflow: hidden;
  padding: 0;
}
.post__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--band);
}
.post__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px 32px;
  flex: 1;
}
.post--no-cover .post__body {
  padding: 32px;
  gap: 20px;
}
/* Featured-пост — редакционная карточка: текст поверх фото на градиентном скриме */
.post--featured {
  position: relative;
  min-height: 520px;
}
.post--featured .post__cover {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.post--featured .post__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  justify-content: flex-end;
  gap: 14px;
  padding: 120px 40px 36px;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.85) 30%, rgba(10, 10, 12, 0) 100%);
}
.post--featured .post__title {
  color: #fff;
}
.post--featured .post__desc {
  color: rgba(255, 255, 255, 0.82);
}
.post--featured .post__body .post__meta {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
}
.post__title {
  margin: 0;
}
.post__body .post__meta {
  margin-top: auto;
}
@media (max-width: 720px) {
  .post__body,
  .post--featured .post__body,
  .post--no-cover .post__body {
    padding: 24px;
  }
  .post__body,
  .post--featured .post__body,
  .post--no-cover .post__body {
    padding: 20px;
    gap: 12px;
  }
  .post__title {
    font-size: 22px;
  }
  .post--featured .post__title {
    font-size: 24px;
  }
  .post__desc {
    font-size: 14px;
    line-height: 1.45;
  }
  .post__cover,
  .post--featured .post__cover {
    aspect-ratio: 16/9;
    height: auto;
    min-height: 0;
  }
  .post__meta {
    font-size: 12px;
    gap: 12px;
  }
}

/* ============================================================ MOBILE COMPACT */
@media (max-width: 720px) {
  .container,
  .band-inner {
    padding-inline: 16px;
  }
  .band-inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .band-bg {
    border-radius: 28px;
  }

  /* Услуги — компактнее */
  .service {
    padding: 24px;
    border-radius: 28px;
  }
  .icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .icon-tile__inner {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .icon-tile__inner img {
    width: 22px;
    height: 22px;
  }
  .service__title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .service__desc {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .checklist {
    gap: 6px;
    margin-bottom: 24px;
  }
  .checklist li {
    font-size: 14px;
    line-height: 1.4;
  }
  .checklist li img {
    width: 18px;
    height: 18px;
  }

  /* Кейсы — компактнее */
  .case {
    padding: 24px;
    border-radius: 28px;
    gap: 20px;
  }
  .case__top {
    gap: 20px;
  }
  .case__title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .case__desc {
    font-size: 15px;
  }
  .case__foot {
    gap: 20px;
  }
  .case__result {
    font-size: 15px;
  }
  /* Карточка «Благодарственные письма» — статичный поток */
  .case--letters {
    padding: 24px 24px 0;
  }
  .case--letters__title {
    font-size: 24px;
  }
  .case--letters .case--letters__btn {
    width: 100%;
  }

  /* Панель задач */
  .panel {
    padding: 20px;
    border-radius: 24px;
    gap: 14px;
  }
  .panel__row {
    gap: 12px;
  }
  .panel__row + .panel__row {
    padding-top: 14px;
  }
  .panel__icon {
    width: 22px;
    height: 22px;
  }
  .panel__text {
    font-size: 16px;
    line-height: 1.35;
  }

  /* Бенто «Почему стоит обратиться» — двухколоночная мобильная сетка в духе awesomic */
  .bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .bento__col {
    display: contents;
  }
  .tile {
    padding: 20px;
    border-radius: 24px;
  }

  .tile-video {
    grid-column: 1 / -1;
    order: 1;
    height: auto;
    border-radius: 28px;
  }
  .tile-video__head {
    padding: 20px;
    gap: 12px;
  }
  .tile-video__head .ava {
    width: 56px;
    height: 56px;
  }
  .tile-video__meta {
    gap: 2px;
  }
  .tile-video__name {
    font-size: 18px;
  }
  .tile-video__cap {
    font-size: 13px;
  }
  .tile-video__media {
    aspect-ratio: 1/1;
    border-radius: 24px;
  }
  .tile-video__play {
    width: 64px;
    height: 64px;
  }
  .tile-video__play img.ring {
    width: 64px;
    height: 64px;
  }
  .tile-video__play img.tri {
    width: 24px;
    height: 24px;
    left: 20px;
    top: 20px;
  }

  .tile-20 {
    grid-column: span 1;
    order: 2;
    height: auto;
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px;
  }
  .tile-20 .stat__num {
    font-size: 36px;
  }
  .tile-20 .stat__label {
    font-size: 13px;
    line-height: 1.3;
  }

  .tile-stack {
    grid-column: span 1;
    order: 3;
    height: auto;
    min-height: 132px;
    padding: 18px;
    gap: 6px;
  }
  .tile-stack .stat__num {
    font-size: 36px;
  }
  .tile-stack .stat__label {
    font-size: 13px;
    line-height: 1.3;
  }
  .tile-stack__ic {
    display: none;
  }

  .tile-1000 {
    grid-column: 1 / -1;
    order: 4;
    height: auto;
    min-height: 100px;
    padding: 20px;
    align-items: center;
  }
  .tile-1000 .stat__num {
    font-size: 32px;
  }
  .tile-1000__ic {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .tile-book {
    grid-column: 1 / -1;
    order: 5;
    height: auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .tile-book__head {
    padding: 20px 20px 0;
  }
  .tile-book__head h3 {
    font-size: 24px;
  }
  .tile-book__head p {
    font-size: 15px;
  }
  .tile-book__img {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    height: 260px;
    margin: 20px 0 0;
    overflow: hidden;
  }
  .tile-book__img img {
    position: relative;
    left: auto;
    top: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    margin: 0;
  }

  .tile-clients {
    grid-column: 1 / -1;
    order: 6;
    height: auto;
    min-height: 430px;
    gap: 24px;
  }
  .tile-clients h3 {
    font-size: 22px;
  }
  .client-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 24px;
    width: 100%;
    margin: 16px 0 8px;
  }
  .client-logo {
    height: 44px;
  }
  .client-logo:nth-child(n) {
    transform: translateX(0);
  }

  .tile-about {
    grid-column: 1 / -1;
    order: 7;
    height: auto;
    min-height: 180px;
    padding: 20px;
  }
  .tile-about h3 {
    font-size: 22px;
    width: auto;
    max-width: 200px;
  }
  .tile-about .btn {
    position: static;
    margin-top: 14px;
    width: auto;
    padding: 10px 18px;
    font-size: 14px;
  }
  .tile-about__fig {
    width: 84px;
    height: 140px;
  }

  /* Hero */
  .hero {
    padding-top: 24px;
  }
  .hero__col {
    gap: 20px;
  }
  .hero__sub {
    font-size: 16px;
  }
  .badge span {
    font-size: 14px;
  }
  .hero__media {
    max-width: 100%;
    border-radius: 24px;
  }

  /* CTA */
  .cta-card {
    border-radius: 28px;
  }
  .cta-card__body {
    padding: 24px;
    gap: 20px;
    max-width: none;
  }
  .cta-card__sub {
    font-size: 15px;
    margin-top: -8px;
  }

  /* Section paddings — единая ритмика на мобильном */
  #services,
  #cases,
  #blog {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  #cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  #when {
    padding-top: 8px;
  }
  #how,
  #result,
  #faq {
    padding-top: 48px;
    padding-bottom: 0;
  }
  #faq {
    padding-bottom: 56px;
  }
  .head-gap {
    margin-bottom: 24px;
  }
  #services .head-gap {
    margin-bottom: 28px;
  }
  #how .head-gap {
    margin-bottom: 28px;
  }

  /* Все основные заголовки — единый размер на мобильном */
  .hero__title,
  .section-head,
  .cta-card__title,
  .result-split__head,
  .faq-aside__title,
  .page-hero__title {
    font-size: 32px;
    line-height: 1.04;
  }
  .tasks__head {
    margin-bottom: 20px;
  }

  /* Brief form — одна колонка */
  .brief-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .brief-form__submit {
    width: 100%;
  }
  .brief-form--done {
    padding: 24px;
  }
  .brief-form--done h3 {
    font-size: 22px;
  }

  /* События */
  .events-head,
  .blog-head {
    gap: 12px;
    margin-bottom: 24px;
  }
  .events-head__sub,
  .blog-head__sub {
    font-size: 15px;
  }
  .event {
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
  }
  .event__date-day {
    font-size: 32px;
  }
  .event__date-month {
    font-size: 16px;
  }
  .event__date-rest {
    font-size: 12px;
  }
  .event__title {
    font-size: 20px;
  }
  .event__desc {
    font-size: 14px;
  }

  /* Кнопки — позволяем перенос, чтобы не уезжали из карточек */
  .btn {
    white-space: normal;
    padding: 14px 22px;
    font-size: 15px;
    width: 100%;
  }
  .btn-sm {
    padding: 10px 18px;
    font-size: 13px;
    width: auto;
  }
  .nav__cta.btn-sm {
    width: auto;
  }

  /* Header — выпадающее меню */
  .nav {
    height: 64px;
  }
  .nav__logo {
    font-size: 18px;
  }
  .header.is-open .nav__cta {
    margin: 12px 24px 20px;
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero__title,
  .section-head,
  .cta-card__title {
    font-size: 30px;
  }
  .service__title,
  .case__title,
  .post--featured .post__title {
    font-size: 22px;
  }
  .event__date-day {
    font-size: 28px;
  }
}

/* ============================================================ SERVICE PAGE */
#when {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}
#how {
  padding-top: 96px;
  padding-bottom: 0;
}
#how .head-gap {
  margin-bottom: 48px;
}
#result {
  padding-top: 96px;
  padding-bottom: 0;
}
#faq {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Result split: headline + dark panel */
.result-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
}
.result-split__head {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--zinc);
  margin: 0;
}
.result-split__head .accent {
  color: var(--accent);
}
.result-split__panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.result-split__testi {
  grid-column: 1;
  grid-row: 2;
}

/* FAQ — split layout: aside + list of light pills */
.faq-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.faq-aside {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: sticky;
  top: 100px;
}
.faq-aside__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--zinc);
  margin: 0;
}
.faq-aside__card {
  background: var(--band);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-aside__card h3 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--ink);
  margin: 0;
}
.faq-aside__card p {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ash);
  margin: 0 0 8px 0;
}
.faq-aside__card .btn {
  align-self: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--band);
  border-radius: 28px;
  padding: 22px 28px;
  transition: padding 0.2s;
}
.faq-item[open] {
  padding-bottom: 26px;
}
.faq-item__sum {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  user-select: none;
}
.faq-item__sum::-webkit-details-marker {
  display: none;
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s,
    background 0.2s,
    color 0.2s;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: var(--zinc);
  color: #fff;
}
.faq-item__a {
  margin: 14px 0 0 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ash);
  max-width: 92%;
}

@media (max-width: 920px) {
  #when {
    margin-top: 0;
  }
  #how,
  #result,
  #faq {
    padding-top: 56px;
    padding-bottom: 0;
  }
  #faq {
    padding-bottom: 64px;
  }
  .result-split {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .result-split__head {
    font-size: 36px;
    order: 0;
    margin-bottom: 4px;
  }
  .result-split__panel {
    order: 1;
  }
  .result-split__testi {
    order: 2;
    margin-top: 0;
  }

  .faq-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-aside {
    position: static;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .faq-aside__title {
    font-size: 32px;
  }
  .faq-aside__card {
    display: none;
  }
}
@media (max-width: 560px) {
  .result-split__head {
    font-size: 32px;
  }
  .faq-item {
    padding: 18px 20px;
    border-radius: 22px;
  }
  .faq-item__q {
    font-size: 16px;
  }
  .faq-item__a {
    font-size: 14px;
    max-width: 100%;
  }
  .faq-item__icon {
    width: 30px;
    height: 30px;
  }
}

/* ============================================================ NAV DROPDOWN */
.nav__item {
  position: relative;
}
.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 280px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 50;
}
.nav__item:hover > .nav-drop,
.nav__item:focus-within > .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 8px);
}
.nav-drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav-drop__label {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ash);
  padding: 4px 12px 8px;
}
.nav-drop a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 15px !important;
  color: var(--ink) !important;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-drop a:hover {
  background: var(--band);
  color: var(--ink) !important;
}
.nav-drop a img {
  width: 18px !important;
  height: 18px !important;
  opacity: 0.85;
}
.nav__item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav__item > a img {
  transition: transform 0.2s ease;
}
.nav__item:hover > a img,
.nav__item:focus-within > a img {
  transform: rotate(180deg);
}
.nav__item:hover > a,
.nav__item:focus-within > a {
  color: var(--accent);
}

/* ============================================================ TESTIMONIAL */
.testi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
  max-width: 460px;
}
.testi__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi__ava {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--band);
}
.testi__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi__who {
  display: flex;
  flex-direction: column;
}
.testi__name {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.16px;
}
.testi__role {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 14px;
  color: var(--ash);
}
.testi__quote {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 920px) {
  .testi {
    max-width: none;
    margin-top: 4px;
  }
}

/* ============================================================ MOBILE SERVICES ACCORDION */
.mobile-menu__group {
  border-bottom: 1px solid var(--border);
}
.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  padding: 18px 4px;
  font-family: inherit;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.mobile-menu__toggle img {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.mobile-menu__group.is-open .mobile-menu__toggle img {
  transform: rotate(180deg);
}
.mobile-menu__toggle.is-active {
  color: var(--accent-link);
}
.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  padding: 4px 4px 16px;
  gap: 4px;
}
.mobile-menu__sub a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 12px !important;
  border-bottom: 0 !important;
  font-size: 16px !important;
  color: var(--ink) !important;
  border-radius: 14px;
  background: var(--band);
}
.mobile-menu__sub a.is-active {
  background: var(--zinc);
  color: #fff !important;
}
.mobile-menu__sub a img {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
.mobile-menu__group + a,
.mobile-menu__group + button {
  /* keep separation */
}

/* ============================================================ RICH FOOTER */
.footer--rich {
  background: var(--zinc);
  color: #fff;
  border-top: 0;
  padding-block: 64px 32px;
}
.footer--rich .footer__logo {
  color: #fff;
  font-size: 24px;
}
.footer__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer__tagline {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  margin: 0;
}
.footer__cta {
  margin-top: 8px;
}
.footer__title {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 18px;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__list a,
.footer__list .footer__link-btn {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.15s ease;
}
.footer__list a:hover,
.footer__list .footer__link-btn:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}
.footer--rich .footer__copy {
  color: rgba(255, 255, 255, 0.5);
  width: auto;
  font-size: 13px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s ease;
}
.footer__legal a:hover {
  color: #fff;
}

@media (max-width: 880px) {
  .footer--rich {
    padding-block: 48px 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ LEGAL PAGES */
.legal {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 24px;
}
.legal__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
  margin: 32px 0 12px;
}
.legal p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 14px;
}
.legal__note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--band);
  border-radius: 18px;
  font-size: 15px;
  color: var(--text);
}
@media (max-width: 720px) {
  .legal {
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .legal__title {
    font-size: 36px;
  }
  .legal h2 {
    font-size: 22px;
  }
}

/* ============================================================ CALENDAR PAGE */
.badge--link {
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.badge--link:hover {
  background: var(--band);
  transform: translateY(-1px);
}

.cal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ash);
  flex-shrink: 0;
}
.cal-dot--busy {
  background: #d4d4d8;
}
.cal-dot--limited {
  background: #f5a524;
}
.cal-dot--open {
  background: #16a34a;
}

.hero__grid--calendar {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 40px;
}
.hero__grid--calendar .hero__col {
  padding-bottom: 8px;
}

/* ---------- Виджет загрузки: светлая карточка в стиле .tile ---------- */
.cal-capacity {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cal-capacity__eyebrow {
  font-size: 14px;
  color: var(--ash);
}
.cal-capacity__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cal-capacity__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.9;
  color: var(--ink);
}
.cal-capacity__of {
  font-size: 18px;
  color: var(--ash);
}
.cal-capacity__label {
  font-size: 16px;
  line-height: 1.4;
  color: var(--sub);
}
.cal-capacity__bar {
  display: flex;
  gap: 6px;
}
.cal-capacity__seg {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--band);
}
.cal-capacity__seg.is-taken {
  background: var(--ink);
}
.cal-capacity__free {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.cal-capacity__free b {
  font-weight: 600;
  color: var(--accent);
}
.cal-capacity__cta {
  align-self: flex-start;
}

.calendar-section {
  background: var(--band);
}
.booking-calendar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.booking-calendar__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
}
.booking-calendar__intro p {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}
.booking-calendar__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
}
.booking-calendar__main {
  min-width: 0;
  padding: 20px;
}
.booking-calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.booking-calendar__month-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.booking-calendar__month-arrow {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
}
.booking-calendar__month-arrow:disabled {
  color: var(--border);
  cursor: default;
}
.booking-calendar__month-rail {
  position: relative;
  display: flex;
  gap: 4px;
  min-width: 0;
  max-width: 560px;
  padding: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: var(--band);
  border-radius: 14px;
}
.booking-calendar__month-rail::-webkit-scrollbar {
  display: none;
}
.booking-calendar__month-rail button {
  flex: 0 0 auto;
  min-width: 82px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}
.booking-calendar__month-rail button.is-active {
  background: var(--zinc);
  color: #fff;
}
.booking-calendar__year {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.booking-calendar__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 14px;
}
.booking-calendar__summary strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.booking-calendar__summary span {
  color: var(--text);
  font-size: 13px;
}
.booking-calendar__summary span b {
  color: var(--accent);
  font-weight: 600;
}
.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 12px;
}
.booking-calendar__legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.booking-calendar__swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.booking-calendar__swatch--project-a {
  background: #3d6fc2;
}
.booking-calendar__swatch--project-b {
  background: #c9433f;
}
.booking-calendar__swatch--project-c {
  background: #777780;
}
.booking-calendar__swatch--open {
  background: #369968;
}
.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.booking-calendar__weekdays {
  margin-bottom: 6px;
}
.booking-calendar__weekdays span {
  padding: 0 4px 5px;
  color: var(--ash);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}
.booking-day {
  position: relative;
  min-width: 0;
  height: 72px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
}
.booking-day:disabled {
  cursor: default;
  opacity: 1;
}
.booking-day__number {
  color: currentColor;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.booking-day__label {
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  opacity: 0.8;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-day--project-a {
  background: #e9f0fc;
  color: #315d9f;
}
.booking-day--project-b {
  background: #f9e9e7;
  color: #a33835;
}
.booking-day--project-c {
  background: #ededf0;
  color: #5c5c65;
}
.booking-day--open {
  background: #e6f4ec;
  color: #23774d;
  border-color: rgba(54, 153, 104, 0.28);
  cursor: pointer;
}
.booking-day--open:hover {
  border-color: #369968;
  transform: translateY(-1px);
}
.booking-day--open.is-selected {
  background: #2f875c;
  border-color: #2f875c;
  color: #fff;
}
.booking-day--empty {
  background: transparent;
}

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: 24px;
  background: var(--zinc);
  color: #fff;
}
.booking-panel__date {
  display: flex;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.booking-panel__order > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0;
}
.booking-panel__date strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.booking-panel h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.booking-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.45;
}
.booking-panel__times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.booking-panel__times button {
  min-width: 0;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}
.booking-panel__times button:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.booking-panel__times button.is-selected {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.booking-panel__order {
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.booking-panel__order strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.booking-panel__order em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
.booking-panel__order small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.4;
}
.booking-panel__cta {
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
}

.cal-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cal-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-step__n {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
}
.cal-step__t {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}
.cal-step__d {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

@media (max-width: 1000px) {
  .hero__grid--calendar {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__grid--calendar .hero__col {
    padding-bottom: 0;
  }
  .cal-capacity {
    order: 2;
  }
  .booking-calendar__intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .booking-calendar__intro p {
    max-width: 620px;
  }
  .booking-calendar__shell {
    grid-template-columns: 1fr;
  }
  .booking-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .booking-panel__date {
    grid-column: 1 / -1;
  }
  .booking-panel__order {
    margin-top: 0;
  }
  .booking-panel__cta {
    align-self: end;
  }
  .cal-steps {
    grid-template-columns: 1fr 1fr;
  }
  .hero--standalone {
    padding-bottom: 56px;
  }
  .section-pad {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-pad--tight {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 600px) {
  .cal-capacity {
    padding: 22px;
    border-radius: 24px;
  }
  .cal-capacity__num {
    font-size: 56px;
  }
  .booking-calendar {
    gap: 24px;
  }
  .booking-calendar__shell {
    margin-inline: -12px;
    padding: 6px;
    border-radius: 24px;
  }
  .booking-calendar__main {
    padding: 14px 10px 12px;
  }
  .booking-calendar__toolbar {
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
  }
  .booking-calendar__month-nav {
    gap: 4px;
  }
  .booking-calendar__month-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
  .booking-calendar__month-rail {
    max-width: none;
    padding: 3px;
  }
  .booking-calendar__month-rail button {
    min-width: 76px;
    padding: 7px 10px;
    font-size: 13px;
  }
  .booking-calendar__year {
    font-size: 23px;
  }
  .booking-calendar__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 16px 0 12px;
  }
  .booking-calendar__legend {
    gap: 7px 12px;
  }
  .booking-day {
    height: 50px;
    padding: 7px;
    border-radius: 10px;
  }
  .booking-day__number {
    font-size: 13px;
  }
  .booking-day__label {
    display: none;
  }
  .booking-panel {
    display: flex;
    gap: 13px;
    padding: 18px;
    border-radius: 20px;
  }
  .booking-panel__date {
    grid-column: auto;
    padding-bottom: 13px;
  }
  .booking-panel__date strong {
    font-size: 28px;
  }
  .booking-panel h3 {
    margin-bottom: 2px;
    font-size: 16px;
  }
  .booking-panel p {
    font-size: 12px;
  }
  .booking-panel__times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .booking-panel__times button {
    padding: 9px 3px;
    font-size: 11px;
  }
  .booking-panel__order {
    padding: 12px 0 0;
    gap: 4px;
  }
  .booking-panel__order strong {
    font-size: 13px;
  }
  .booking-panel__order em {
    font-size: 11px;
  }
  .booking-panel__order small {
    display: block;
    font-size: 10px;
    line-height: 1.35;
  }
  .booking-panel__cta {
    padding: 12px 16px;
  }
  .cal-steps {
    grid-template-columns: 1fr;
  }
  .hero--standalone {
    padding-bottom: 40px;
  }
}

/* ============================================================ HOME V2
   Иерархия и правила зафиксированы в DESIGN.md и UX.md. */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 88px;
}

body *,
body *::before,
body *::after {
  box-shadow: none !important;
}
.post:hover {
  transform: none;
}

.hero {
  padding: 48px 0 0;
}
.hero__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 56px;
  align-items: end;
}
.hero__col {
  gap: 24px;
  padding-bottom: 96px;
  align-self: center;
}
.hero__title {
  width: auto;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.86;
  letter-spacing: -2px;
  color: var(--ink);
}
.hero__position {
  max-width: 680px;
  color: var(--sub);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: -0.15px;
  color: var(--sub);
}
.hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__status-dot {
    animation: none;
  }
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 4px;
  color: var(--text);
  font-size: 15px;
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__actions {
  padding-top: 8px;
}
.hero__media {
  width: 100%;
  height: auto;
  /* точно совпадает с пропорцией процентного кропа — иначе портрет искажается */
  aspect-ratio: 514 / 564;
  border-radius: 28px;
}
.hero__media img {
  width: 213.67%;
  height: 292.47%;
}
/* Заголовки страниц услуг длиннее имени — кегль меньше, переносы не по 1–2 слова */
.hero__title--service {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -1px;
  max-width: 640px;
}

.offer {
  height: auto;
  padding: 0;
  border-top: 1px solid var(--border);
}
.offer__sticky {
  position: static;
  display: flex;
  align-items: center;
  padding: 96px 0;
  background: #fff;
}
.offer__composition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.offer__marker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.offer__title {
  width: 100%;
  max-width: 27ch;
  font-family: var(--font-display);
  font-size: clamp(40px, 10.8vw, 48px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.018em;
  text-align: center;
  text-wrap: balance;
}
.offer__word {
  --word-opacity: 1;
  color: rgba(20, 20, 22, var(--word-opacity));
}
.offer__word:nth-child(-n + 3) {
  --word-opacity: 1;
}
.offer__word--accent {
  color: rgba(181, 57, 55, var(--word-opacity));
}

@media (min-width: 721px) {
  .offer__sticky {
    padding-block: 96px;
  }
  .offer__composition {
    gap: 32px;
  }
  .offer__title {
    max-width: 34ch;
    font-size: clamp(36px, 3.6vw, 52px);
  }
}

#rules {
  background: var(--canvas);
  border-radius: 0;
}
#rules .container {
  overflow: hidden;
}
.rules-head {
  align-items: end;
}
.rules-controls button {
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.rules-controls button:hover {
  transform: none;
}
.rule-card {
  flex-basis: calc((100% - 72px) / 3.25);
  min-height: 360px;
  padding: 28px;
  background: var(--band);
  border: 0;
  border-radius: 24px;
}
.rule-card__index {
  font-size: 44px;
  letter-spacing: -1px;
}
.rule-card__body {
  margin-top: 34px;
}
/* Титулы до 3 строк — фиксируем зону, чтобы разделительные линии сидели на одной оси */
@media (min-width: 721px) {
  .rule-card__body h3 {
    min-height: 101px;
  }
}
.rule-card__body h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}
.rule-card__line {
  margin: 22px 0;
}
.rule-card__body p {
  font-size: 15px;
  line-height: 1.5;
}

#tasks {
  margin-top: 0;
  padding-top: 96px;
}
#tasks .band-bg {
  width: auto;
  margin-inline: 0;
  border-radius: 40px;
}
.tabs {
  gap: 8px;
}
.tab {
  padding: 12px 20px;
  min-height: 48px;
  border-radius: 14px;
  font-size: 15px;
}
.panel {
  padding: 28px;
  border-radius: 24px;
}
.panel__text {
  font-size: 19px;
}

#cta {
  padding: 0 !important;
}
.cta-card {
  min-height: 390px;
  border-radius: 28px;
}
.cta-card__body {
  padding: 44px;
  gap: 26px;
}
.cta-card__title {
  font-size: 50px;
}
.cta-card__media {
  opacity: 0.82;
}

#blog {
  padding-top: 96px;
}
.blog-head {
  align-items: end;
}
.post {
  transition: border-color 0.15s ease;
}
.post:hover {
  border-color: #cfcfd4;
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 32px;
  }
  .offer__grid {
    grid-template-columns: 180px 1fr;
    gap: 40px;
  }
}

@media (max-width: 880px) {
  .hero {
    padding-top: 32px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    max-width: none;
    aspect-ratio: 16 / 11;
  }
  /* На планшете/мобиле процентный кроп искажает пропорции — переходим на object-fit.
     scale приближает кадр к лицу, как в десктопном кропе */
  .hero__media img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 14%;
    transform: scale(1.45);
    transform-origin: 50% 12%;
  }
  .offer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offer__marker {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px 0 48px;
  }
  .hero__col {
    gap: 18px;
  }
  .hero__title {
    font-size: clamp(52px, 16vw, 72px);
    line-height: 0.88;
    letter-spacing: -1px;
  }
  .hero__position {
    font-size: 21px;
  }
  .hero__facts {
    display: grid;
    gap: 7px;
    font-size: 14px;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    padding-inline: 14px;
  }
  .hero__media {
    aspect-ratio: 4 / 3.25;
    border-radius: 22px;
  }

  .offer {
    padding: 0;
  }
  .offer__title {
    font-size: clamp(40px, 10.8vw, 48px);
  }

  #rules {
    padding: 48px 0;
    border-radius: 0;
  }
  #rules .section-head {
    font-size: 34px;
  }
  .rules-head {
    padding-bottom: 28px;
  }
  .rules-grid {
    margin-right: -16px;
    padding-right: 16px;
  }
  .rule-card {
    flex-basis: 82vw;
    min-height: 330px;
    padding: 24px;
  }
  .rule-card__body {
    margin-top: 30px;
  }
  .rule-card__body h3 {
    font-size: 24px;
  }

  #tasks {
    padding-top: 48px;
  }
  #tasks .band-bg {
    border-radius: 28px;
  }
  #tasks .band-inner {
    padding: 48px 16px;
  }
  .panel {
    padding: 20px;
  }
  .panel__text {
    font-size: 16px;
  }

  #cta {
    padding: 0 !important;
  }
  .cta-card {
    display: flex;
    flex-direction: column;
  }
  .cta-card__body {
    order: 1;
  }
  .cta-card__media {
    order: 2;
  }
  .cta-card__body {
    padding: 26px;
  }
  .cta-card__title {
    font-size: 34px;
  }

  #blog {
    padding-top: 48px;
  }
}

@media (max-width: 420px) {
  .rule-card__body h3 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer {
    height: auto;
  }
  .offer__sticky {
    position: static;
    min-height: auto;
    padding-block: 80px;
  }
  .offer__word {
    --word-opacity: 1 !important;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================ ABOUT (страница «Обо мне») */
.about-hero {
  padding: 56px 0 32px;
}
.about-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: var(--band);
}
.about-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.about-hero__eyebrow {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 20px;
}
.about-hero__lede {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.22px;
  color: var(--sub);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-stat__n {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  color: var(--ink);
}
.about-stat__l {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

.about-bio {
  display: grid;
  grid-template-columns: 1fr minmax(0, 760px) 1fr;
}
.about-bio__inner {
  grid-column: 2;
  font-size: 19px;
  line-height: 1.65;
  color: var(--sub);
}
.about-bio__inner > * + * {
  margin-top: 1.4em;
}
.about-bio__inner p {
  margin: 0;
}
.about-bio__inner p + p {
  margin-top: 1.4em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-card--dark {
  background: var(--zinc);
  border-color: var(--zinc);
  color: #fff;
}
.about-card--dark .about-card__title {
  color: #fff;
}
.about-card--dark .about-card__list li {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
}
.about-card--dark .about-card__list li b {
  color: #fff;
}
.about-card__eyebrow {
  font-size: 14px;
  color: var(--ash);
}
.about-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.about-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.about-card__list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-card__list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.about-card__list li b {
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--ink);
  font-size: 17px;
}

.about-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-roles li {
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.about-companies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-company {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px;
}
.about-company__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}
.about-company__role {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

@media (max-width: 1000px) {
  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-hero__title {
    font-size: 44px;
  }
  .about-hero__lede {
    font-size: 18px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .about-stat__n {
    font-size: 44px;
  }
  .about-bio {
    grid-template-columns: 1fr;
  }
  .about-bio__inner {
    grid-column: 1;
    font-size: 17px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 28px;
    border-radius: 24px;
  }
  .about-card__title {
    font-size: 26px;
  }
  .about-companies {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-stat__n {
    font-size: 36px;
  }
  .about-companies {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ ARTICLE (шаблон статьи блога) */
.article-hero {
  padding: 56px 0 24px;
}
.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 20px;
}
.article-hero__type {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--band);
  color: var(--ink);
  font-size: 13px;
}
.article-hero__type--video {
  background: var(--accent);
  color: #fff;
}
.article-hero__type--podcast {
  background: var(--ink);
  color: #fff;
}
.article-hero__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ash);
  display: inline-block;
}
.article-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 920px;
}
.article-hero__lede {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.22px;
  color: var(--sub);
  max-width: 820px;
}
.article-cover {
  margin: 32px 0 56px;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--band);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 720px) 1fr;
}
.article-body {
  grid-column: 2;
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.65;
  color: var(--sub);
}
.article-body > * + * {
  margin-top: 1.25em;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 2em;
}
.article-body h3 {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 1.6em;
}
.article-body p {
  margin: 0;
}
.article-body a {
  color: var(--accent-link);
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-underline-offset: 3px;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}
.article-body li + li {
  margin-top: 0.5em;
}
.article-body blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--band);
  border-radius: 0 18px 18px 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.article-body img {
  margin: 2em 0;
  border-radius: 18px;
}
.article-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--band);
  border-radius: 6px;
}

.article-foot {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.article-foot__back {
  font-size: 14px;
  color: var(--ink);
}
.article-foot__share {
  display: flex;
  gap: 8px;
}

@media (max-width: 720px) {
  .article-hero__title {
    font-size: 36px;
  }
  .article-hero__lede {
    font-size: 18px;
  }
  .article-cover {
    border-radius: 24px;
    margin: 24px 0 40px;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .article-body {
    grid-column: 1;
    font-size: 17px;
  }
  .article-body h2 {
    font-size: 28px;
  }
  .article-body h3 {
    font-size: 19px;
  }
  .article-body blockquote {
    padding: 18px 20px;
    font-size: 17px;
  }
}

/* Featured-пост: фото всегда заполняет карточку целиком (перебивает старые media-правила) */
.post--featured .post__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
}
@media (max-width: 720px) {
  .post--featured {
    min-height: 440px;
  }
  .post--featured .post__body {
    padding: 96px 20px 22px;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.88) 40%, rgba(10, 10, 12, 0) 100%);
  }
}

/* Блог: три ровные карточки в ряд */
.blog-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.blog-grid3 .post {
  height: 100%;
}
.blog-grid3 .post__title {
  font-size: 24px;
}
@media (max-width: 900px) {
  .blog-grid3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================ КРАСИВЫЕ ПЕРЕНОСЫ
   balance — строки заголовка выравниваются по длине, нет висячих слов;
   pretty — в абзацах не остаётся одинокого слова в последней строке */
h1,
h2,
h3,
h4,
.offer__title,
.post__title,
.cta-card__title {
  text-wrap: balance;
}
p,
.checklist li,
.panel__text,
.footer__tagline,
.hero__facts li {
  text-wrap: pretty;
}
/* Числа и единицы не разрываются */
.stat__num,
.post__meta span,
.case__tag,
.post__type,
.coming-card__tag {
  white-space: nowrap;
}

/* ============================================================ КНОПКИ HERO: на мобиле в столбик, текст в одну строку */
.hero__actions .btn {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .hero__actions {
    flex-direction: column;
    align-self: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================================ УСЛУГИ: типографическая таблица (референс ММ) */
.svc-table {
  border-top: 1px solid var(--border);
}
.svc-row {
  border-bottom: 1px solid var(--border);
}
.svc-row__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 56px;
  gap: 32px;
  align-items: start;
  width: 100%;
  padding: 36px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.svc-row__num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--ash);
  transition: color 0.15s ease;
}
.svc-row.is-open .svc-row__num {
  color: var(--accent);
}
.svc-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.svc-row__desc {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text);
  padding-top: 6px;
  text-wrap: pretty;
}
.svc-row__toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink);
  transition:
    transform 0.2s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.svc-row__head:hover .svc-row__toggle {
  border-color: var(--ink);
}
.svc-row.is-open .svc-row__toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.svc-row__body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.55fr) 56px;
  gap: 32px;
  padding: 0 0 40px;
}
.svc-row__body > * {
  grid-column: 2;
}
.svc-row__list {
  columns: 2;
  column-gap: 48px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.svc-row__list li {
  break-inside: avoid;
  position: relative;
  padding: 0 0 12px 22px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--sub);
  text-wrap: pretty;
}
.svc-row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
@media (max-width: 900px) {
  .svc-row__head {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas:
      "num toggle"
      "title toggle"
      "desc desc";
    gap: 10px 16px;
    padding: 28px 0;
  }
  .svc-row__num {
    grid-area: num;
    font-size: 20px;
  }
  .svc-row__title {
    grid-area: title;
    font-size: 30px;
  }
  .svc-row__desc {
    grid-area: desc;
    padding-top: 4px;
  }
  .svc-row__toggle {
    grid-area: toggle;
    align-self: start;
  }
  .svc-row__body {
    display: block;
    padding: 0 0 28px;
  }
  .svc-row__list {
    columns: 1;
  }
}

/* ============================================================ V2 — вариант в сторону ММ
   Бюро-композиция героя: заголовок активирует левый верхний угол,
   фото-якорь прижато к правому нижнему, контрпространство между ними.
   Поверхности белые, разделение волосяными линиями, а не плитами. */
.v2-hero {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 44%);
  gap: 32px;
  min-height: min(86svh, 820px);
}
.v2-hero__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 72px 0 64px;
}
.v2-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 8.6vw, 128px);
  line-height: 0.84;
  letter-spacing: -2.5px;
  color: var(--ink);
}
.v2-hero__position {
  max-width: 520px;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--sub);
  text-wrap: pretty;
}
.v2-hero__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Фото без карточки: белый фон снимка сливается со страницей,
   фигура стоит на нижней кромке секции */
.v2-hero__media {
  position: relative;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.v2-hero__media img {
  display: block;
  width: auto;
  height: min(78svh, 760px);
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}
@media (max-width: 900px) {
  .v2-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 8px;
  }
  .v2-hero__col {
    padding: 40px 0 8px;
    gap: 20px;
  }
  .v2-hero__media img {
    max-width: 420px;
  }
}

/* Оффер в v2 — компактный, слева, как манифест ММ */
.v2 .offer__composition {
  align-items: flex-start;
}
.v2 .offer__marker {
  text-align: left;
}
.v2 .offer__title {
  text-align: left;
  max-width: 24ch;
}

/* Правила — типографические колонки без карточек */
.v2-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
  margin: 0;
  padding: 48px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.v2-rule {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v2-rule__index {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
}
.v2-rule__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
}
.v2-rule__desc {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.15px;
  color: var(--text);
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .v2-rules {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }
}

/* Поверхности v2: полосы белые с линиями вместо серых плит */
.v2 .band-bg {
  background: var(--canvas);
  border-radius: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.v2 .tile,
.v2 .cta-card {
  border: 1px solid var(--border);
  background: #fff;
}
.v2 .tile-clients,
.v2 .panel {
  background: var(--zinc);
  border: 0;
}
.v2 .tile-book {
  background: var(--zinc);
  border: 0;
}
.v2 #cta {
  padding: 96px 0 0 !important;
}

/* Мобильный hero: без лишней пустоты между кнопками и фото */
@media (max-width: 900px) {
  .hero__col {
    padding-bottom: 0;
  }
  .hero__grid {
    gap: 32px;
  }
  .hero__media {
    border-radius: 24px 24px 0 0;
  }
}
@media (max-width: 900px) {
  .hero {
    padding-bottom: 0;
  }
}
