﻿:root {
  --paper: #f3f4f5;
  --paper-warm: #fbfaf7;
  --mist: #e7ebe8;
  --accent: #d6ddd5;
  --accent-strong: #bcc9bd;
  --gray: #949492;
  --ink: #1d2846;
  --ink-soft: rgba(29, 40, 70, .72);
  --ink-faint: rgba(29, 40, 70, .1);
  --white-soft: rgba(255, 255, 255, .72);
  --shadow: 0 28px 80px rgba(29, 40, 70, .12);
  --shadow-soft: 0 14px 36px rgba(29, 40, 70, .08);
  --radius: 8px;
  --max: 1160px;
  --edge: clamp(18px, 4vw, 56px);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(29,40,70,.032) 1px, transparent 1px) 0 0 / 110px 110px,
    linear-gradient(180deg, #f9faf8 0%, var(--paper) 42%, #eef1ef 100%);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 14% 4%, rgba(214,221,213,.75), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(148,148,146,.16), transparent 26%),
    linear-gradient(120deg, transparent, rgba(255,255,255,.34));
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure > a { display: block; height: 100%; }
.image-link { display: block; color: inherit; }
.social-hero__visual a { display: block; min-width: 0; }
p { margin: 0; color: var(--ink-soft); font-size: 17px; }
button, input, textarea, select { font: inherit; }

.site-shell { overflow: hidden; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px var(--edge);
  background: rgba(243,244,245,.84);
  border-bottom: 1px solid rgba(29,40,70,.08);
  backdrop-filter: blur(22px);
  transition: background .2s, box-shadow .2s;
}
.topbar.is-scrolled {
  background: rgba(243,244,245,.97);
  box-shadow: var(--shadow-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 860;
  letter-spacing: .01em;
}
.brand img { width: auto; height: 46px; max-width: min(220px, 56vw); border-radius: 0; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  min-width: 0;
  color: rgba(29,40,70,.70);
  font-size: 13px;
  font-weight: 780;
}
.nav a { white-space: nowrap; transition: color .18s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav .cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-warm);
}
.nav .cta:hover,
.nav .cta:focus-visible {
  background: #121827;
  color: var(--paper-warm);
  box-shadow: 0 12px 28px rgba(29,40,70,.16);
}
.nav .cta::after, .btn::after, .text-arrow::after { content: none; }
.menu {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border: 1px solid rgba(29,40,70,.28);
  border-radius: var(--radius);
  background: rgba(251,250,247,.92);
  box-shadow: 0 10px 24px rgba(29,40,70,.08);
  cursor: pointer;
}
.menu::before,
.menu span {
  content: "";
  position: absolute;
  left: 11px;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
}
.menu::before { top: 12px; }
.menu span:nth-child(1) { top: 20px; }
.menu span:nth-child(2) { top: 28px; }
.menu.open span:nth-child(1),
.menu.open span:nth-child(2) {
  background: var(--ink);
}

.hero {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  padding-top: 74px;
  background:
    linear-gradient(90deg, rgba(243,244,245,.05) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(135deg, #111726 0%, var(--ink) 54%, #121827 100%);
  color: var(--paper-warm);
}
.hero-copy {
  min-height: calc(92svh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 88px);
}
.kicker {
  margin: 0 0 20px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: 0; }
.hero h1 {
  max-width: 760px;
  color: var(--paper-warm);
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 850;
  line-height: .96;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  max-width: 680px;
  margin-top: 30px;
  color: rgba(243,244,245,.78);
  font-size: clamp(18px, 1.55vw, 22px);
}
.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--accent);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn.dark { background: var(--ink); color: var(--paper-warm); }
.btn.dark:hover,
.btn.dark:focus-visible { background: #121827; color: var(--paper-warm); }
.btn.light { background: rgba(255,255,255,.06); color: var(--paper-warm); border-color: rgba(243,244,245,.22); }
.btn.ghost { background: rgba(255,255,255,.5); }
.btn:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
  box-shadow: none;
}

main { padding-bottom: clamp(42px, 6vw, 86px); }

.hero-media {
  position: relative;
  min-height: calc(92svh - 74px);
  padding: 18px 18px 18px 0;
}
.photo-stage {
  position: relative;
  height: 100%;
  min-height: calc(92svh - 110px);
  overflow: hidden;
  border-radius: 0 0 0 10px;
  box-shadow: -24px 34px 100px rgba(0,0,0,.22);
}
.photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(.08) saturate(.86) contrast(.96);
}
.photo-stage::after, .image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(180deg, transparent 54%, rgba(29,40,70,.28));
  mix-blend-mode: soft-light;
}
.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 5px;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius);
  background: rgba(17,23,38,.55);
  backdrop-filter: blur(18px);
}
.hero-note span { color: rgba(243,244,245,.66); font-size: 12px; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.hero-note strong { color: var(--paper-warm); font-size: 16px; }
.proof-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 780px;
  margin-top: 30px;
}
.proof-line div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(243,244,245,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}
.proof-line b { display: block; color: var(--paper-warm); font-size: 26px; line-height: 1; margin-bottom: 8px; }
.proof-line span { color: rgba(243,244,245,.66); font-size: 13px; font-weight: 680; }
.hero-scene-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(520px, 100%);
  margin-top: 20px;
}
.hero-scene-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(243,244,245,.13);
  border-radius: 8px;
  filter: sepia(.08) saturate(.86) contrast(.96);
}

.section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(92px, 10vw, 150px) var(--edge) 0;
  box-sizing: border-box;
}
main > section + section {
  margin-top: clamp(18px, 2.8vw, 34px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 440px);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: 36px;
}
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; font-weight: 830; }
h3 { font-size: clamp(20px, 1.65vw, 25px); line-height: 1.14; font-weight: 830; }
h2 + p { margin-top: 22px; }
h3 + p { margin-top: 13px; }
.section-head p { font-size: 17px; }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
  transform: none;
  margin-top: clamp(28px, 4vw, 54px);
  margin-bottom: 0;
}
.signal-grid a,
.signal-grid div {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 24px;
  border-right: 1px solid var(--ink-faint);
  color: inherit;
  transition: transform .18s, background .18s, box-shadow .18s, border-color .18s;
}
.signal-grid a:last-child,
.signal-grid div:last-child { border-right: 0; }
.signal-grid a:hover,
.signal-grid a:focus-visible {
  z-index: 1;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.signal-grid strong { display: block; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; color: var(--ink); }
.signal-grid span { display: block; margin-top: 10px; color: rgba(29,40,70,.74); font-size: 14px; font-weight: 700; }

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}
.quote-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper-warm);
}
.quote-panel h2 { color: var(--paper-warm); }
.quote-panel p { margin-top: 24px; color: rgba(243,244,245,.72); font-size: 18px; }
.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.74);
}
.step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 860;
}
.step p { margin-top: 8px; }

.service-grid, .case-grid, .course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.checklist-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .68fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checklist-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(29,40,70,.1);
  border-radius: 12px;
  background: rgba(251,250,247,.84);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
}
.checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.checklist-item input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.checklist-item strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.24;
}
.checklist-item span {
  display: block;
  margin-top: 8px;
  color: rgba(29,40,70,.68);
  font-size: 14px;
  line-height: 1.45;
}
.checklist-item.is-checked {
  border-color: rgba(29,40,70,.24);
  background: linear-gradient(135deg, rgba(214,221,213,.92), rgba(251,250,247,.92));
}
.checklist-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--paper-warm);
}
.checklist-summary h3,
.checklist-summary strong,
.checklist-summary b { color: var(--paper-warm); }
.checklist-summary p,
.checklist-summary li { color: rgba(243,244,245,.74); }
.checklist-score {
  display: inline-grid;
  gap: 4px;
  width: fit-content;
  padding: 14px 16px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
}
.checklist-score b {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
}
.checklist-score span {
  color: rgba(243,244,245,.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.checklist-summary ul {
  margin: 0;
  padding-left: 18px;
}
.checklist-summary li + li { margin-top: 8px; }
.checklist-summary .actions {
  margin-top: 2px;
}
.checklist-summary .btn {
  width: 100%;
}
.checklist-summary .btn.ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(243,244,245,.16);
  color: var(--paper-warm);
}
.checklist-summary.is-mid {
  background: linear-gradient(135deg, #1d2846, #27355f);
}
.checklist-summary.is-high {
  background: linear-gradient(135deg, #1d2846, #17203a 52%, #31422a);
}
.checklist-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(243,244,245,.78);
  font-size: 14px;
}
.service, .case, .course {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.78);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.service {
  position: relative;
}
.service:hover, .service:focus-visible,
.case:hover, .case:focus-visible,
.course:hover, .course:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(29,40,70,.22);
}
.service.featured {
  background:
    linear-gradient(135deg, rgba(214,221,213,.95), rgba(251,250,247,.84));
}
.label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 999px;
  color: var(--gray);
  background: rgba(255,255,255,.42);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.service p, .case p, .course p { margin-top: 16px; }
.service p + p, .case p + p, .course p + p { margin-top: 12px; }
.service::after {
  content: "Подробнее об услуге";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  margin-top: 22px;
  padding: 10px 13px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-warm);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}
.service.featured::after {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: rgba(29,40,70,.18);
}
.price {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 860;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.trust-photo {
  display: grid;
  align-items: end;
  background: #d6ddd5;
}
.trust-photo img {
  object-fit: contain;
  object-position: center bottom;
  background: #d6ddd5;
}
.image-card--about {
  min-height: clamp(560px, 72vw, 760px);
}
.image-card--about img {
  height: 100%;
  min-height: clamp(560px, 72vw, 760px);
  aspect-ratio: auto;
  object-position: center 12%;
  transform: scale(1.08);
}
.story-copy p + p { margin-top: 18px; }
.story-copy h2 { margin-bottom: 2px; }
.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 850;
}
.story-link {
  margin-top: 26px;
  width: fit-content;
}

.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(243,244,245,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(135deg, var(--ink), #121827);
  color: var(--paper-warm);
}
.stack h2 { color: var(--paper-warm); }
.stack p { margin-top: 22px; color: rgba(243,244,245,.72); font-size: 17px; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.badges span {
  padding: 9px 11px;
  border: 1px solid rgba(243,244,245,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(243,244,245,.82);
  font-size: 13px;
  font-weight: 760;
}
.stack-visual img {
  width: 100%;
  border-radius: 10px;
  filter: sepia(.1) saturate(.85);
}

.case {
  background: var(--ink);
  color: var(--paper-warm);
}
.case h3 { color: var(--paper-warm); font-size: clamp(30px, 3vw, 45px); }
.case p { color: rgba(243,244,245,.72); }
.case .label { border-color: rgba(243,244,245,.16); background: rgba(255,255,255,.06); color: rgba(243,244,245,.58); }

.visual-system {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 14px;
}
.visual-system figure {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.visual-system img { width: 100%; height: 100%; object-fit: cover; }
.visual-system figure:first-child { grid-row: span 2; min-height: 854px; }

.editorial-photos {
  display: grid;
  grid-template-columns: 1.05fr .95fr 1.05fr .95fr;
  gap: 14px;
}
.editorial-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  background: var(--paper-warm);
}
.editorial-photos img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  filter: sepia(.08) saturate(.9) contrast(.97);
}
.editorial-photos figure:nth-child(2),
.editorial-photos figure:nth-child(4) { margin-top: 44px; }

.book-band {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.76);
}
.book-band p { margin-top: 18px; }

.section.faq {
  padding-bottom: clamp(48px, 6vw, 84px);
}
.faq details {
  border-top: 1px solid var(--ink-faint);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--ink-faint); }
summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  transition: color .24s ease;
}
summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-faint);
  border-radius: 999px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: transform .24s ease, background-color .24s ease, border-color .24s ease, color .24s ease;
}
.faq details:hover summary {
  color: var(--accent-dark);
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(29,40,70,.06);
  border-color: rgba(29,40,70,.18);
}
details p {
  max-width: 840px;
  margin-top: 13px;
  overflow: hidden;
  transform-origin: top;
  animation: faqReveal .28s ease;
}
.faq details:not([open]) p { animation: none; }
@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.faq-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-faint);
  display: grid;
  gap: 16px;
  max-width: 840px;
}
.faq-cta p {
  margin: 0;
  color: var(--ink-muted);
}
.faq-cta .btn {
  width: fit-content;
  margin-bottom: 8px;
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, .92fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding-bottom: clamp(80px, 10vw, 140px);
}
.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.contact-links a { color: var(--ink); font-weight: 850; }
.form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.88);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 830; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(29,40,70,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}
textarea { min-height: 124px; resize: vertical; }
input[type="file"] {
  padding: 11px;
  background: rgba(255,255,255,.88);
}
input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: 7px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(29,40,70,.48);
  box-shadow: 0 0 0 3px rgba(214,221,213,.72);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 650;
}
.check input { width: 18px; height: 18px; margin-top: 2px; }
.file-field span {
  display: block;
  color: rgba(29,40,70,.58);
  font-size: 12px;
  font-weight: 680;
}
.selected-files {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 10px;
  background: rgba(214,221,213,.34);
}
.selected-files[hidden] { display: none; }
.selected-files strong {
  color: var(--ink);
  font-size: 13px;
}
.selected-files ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.selected-files li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(29,40,70,.1);
  border-radius: 8px;
  background: rgba(251,250,247,.82);
}
.selected-files span {
  min-width: 0;
  overflow: hidden;
  color: rgba(29,40,70,.78);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selected-files button {
  cursor: pointer;
  padding: 7px 10px;
  border: 1px solid rgba(29,40,70,.14);
  border-radius: 8px;
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}
.selected-files button:hover {
  background: var(--ink);
  color: var(--paper-warm);
}
.consult-calendar {
  display: grid;
  gap: 14px;
  margin: 2px 0;
  padding: 18px;
  border: 1px solid rgba(29,40,70,.14);
  border-radius: 10px;
  background: rgba(243,244,245,.66);
}
.consult-calendar legend {
  padding: 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 880;
}
.consult-calendar p {
  color: rgba(29,40,70,.7);
  font-size: 14px;
}
.consult-calendar__date {
  margin-top: 2px;
}
.consult-calendar--compact {
  gap: 12px;
  padding: 16px;
}
.consult-calendar__compact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 10px;
}
.consult-calendar__days {
  display: grid;
  gap: 12px;
}
.consult-calendar__day {
  display: grid;
  gap: 8px;
}
.consult-calendar__day h4 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 860;
  text-transform: capitalize;
}
.consult-calendar__slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-height: 38px;
}
.slot {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.slot:hover {
  transform: translateY(-1px);
  border-color: rgba(29,40,70,.28);
}
.slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-warm);
}
.slot--busy,
.slot--closed {
  cursor: not-allowed;
  border-style: dashed;
  background: rgba(148,148,146,.1);
  color: rgba(29,40,70,.38);
  text-decoration: line-through;
}
.slot--closed {
  grid-column: 1 / -1;
  text-decoration: none;
}
.consult-calendar__empty {
  margin-top: 0;
  font-size: 13px;
}
.form-status {
  display: none;
  margin: 0;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 780;
}
.form-status.is-loading,
.form-status.is-success,
.form-status.is-error {
  display: block;
}
.form-status.is-loading {
  border: 1px solid rgba(29,40,70,.14);
  background: rgba(243,244,245,.78);
  color: rgba(29,40,70,.72);
}
.form-status.is-success {
  border: 1px solid rgba(29, 92, 54, .22);
  background: rgba(214,221,213,.78);
  color: #173a27;
}
.form-status.is-error {
  border: 1px solid rgba(144, 38, 38, .22);
  background: rgba(144, 38, 38, .08);
  color: #7f2323;
}

.page-hero {
  padding: 150px var(--edge) 92px;
  background:
    linear-gradient(90deg, rgba(243,244,245,.05) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(135deg, var(--ink), #121827);
  color: var(--paper-warm);
}
.page-hero-inner { width: 100%; max-width: none; margin: 0; }
.page-hero h1 { max-width: 860px; color: var(--paper-warm); font-size: clamp(36px, 4.8vw, 62px); line-height: 1; }
.page-hero p { max-width: 760px; margin-top: 24px; color: rgba(243,244,245,.76); font-size: 18px; }
.page-grid { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(28px, 5vw, 78px); }
.long-copy p + p { margin-top: 18px; }

.social-page {
  background:
    linear-gradient(90deg, rgba(29,40,70,.035) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(180deg, #fffefb 0%, #f3f4f5 44%, #e9eee9 100%);
}
.social-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(126px, 13vw, 176px) var(--edge) clamp(34px, 6vw, 76px);
  box-sizing: border-box;
}
.social-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 8vw, 112px);
  line-height: .92;
  letter-spacing: 0;
}
.social-hero p {
  max-width: 660px;
  margin-top: 26px;
  font-size: clamp(18px, 1.5vw, 22px);
}
.social-hero__visual {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 12px;
  align-items: end;
}
.social-hero__visual img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.social-hero__visual img:nth-child(2) {
  min-height: 360px;
  margin-bottom: 42px;
  filter: sepia(.08) saturate(.86);
}
.social-links-section {
  display: grid;
  gap: 18px;
  padding-top: 26px;
}
.social-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.82);
  box-shadow: var(--shadow-soft);
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.social-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.social-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
}
.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(29,40,70,.24);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.social-link.primary {
  background: linear-gradient(135deg, rgba(214,221,213,.92), rgba(255,255,255,.78));
}
.social-link__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(29,40,70,.14);
}
.social-link__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.social-link__content {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.social-link__content span {
  color: rgba(29,40,70,.58);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.social-link__content strong {
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.social-link--site .social-link__icon { background: linear-gradient(135deg, #1d2846, #4e648f); }
.social-link--telegram .social-link__icon { background: #229ed9; }
.social-link--email .social-link__icon { background: linear-gradient(135deg, #5d6b8f, #1d2846); }
.social-link--phone .social-link__icon { background: linear-gradient(135deg, #5f7c53, #31422a); }
.social-link--instagram .social-link__icon { background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4); }
.social-link--youtube .social-link__icon { background: #ff0033; }
.social-link--linkedin .social-link__icon { background: #0a66c2; }
.social-link--dzen .social-link__icon { background: #111; }
.social-link--rutube .social-link__icon { background: linear-gradient(135deg, #111827, #36d45f); }
.social-link--vk .social-link__icon { background: #0077ff; }
.social-link--tiktok .social-link__icon { background: linear-gradient(135deg, #111, #25f4ee); }
.social-link--tenchat .social-link__icon { background: linear-gradient(135deg, #0f172a, #2563eb); }
.social-link--habr .social-link__icon { background: #65a3be; }
.social-link--pikabu .social-link__icon { background: #8cc63f; }
.social-link--vc .social-link__icon { background: #111827; }
.social-link--livejournal .social-link__icon { background: linear-gradient(135deg, #2c6c94, #79b0d0); }
.social-note {
  max-width: 780px;
  margin-top: 18px;
  color: rgba(29,40,70,.58);
  font-size: 13px;
}
.list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.list div {
  padding: 18px;
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.74);
  color: var(--ink-soft);
}

.service-hero {
  padding: 150px var(--edge) 96px;
  background:
    linear-gradient(90deg, rgba(243,244,245,.05) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(135deg, var(--ink), #121827);
  color: var(--paper-warm);
}
.service-hero__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
}
.service-hero h1 {
  max-width: 820px;
  color: var(--paper-warm);
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
}
.service-hero p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(243,244,245,.76);
  font-size: 18px;
}
.service-aside {
  padding: 24px;
  border: 1px solid rgba(243,244,245,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.service-aside__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.service-aside strong {
  display: block;
  color: var(--paper-warm);
  font-size: 26px;
  line-height: 1.1;
}
.service-aside span {
  display: block;
  margin-top: 10px;
  color: rgba(243,244,245,.68);
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.article-flow {
  display: grid;
  gap: 34px;
}
.article-block {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.74);
}
.article-block h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}
.article-block p,
.article-block li {
  color: var(--ink-soft);
  font-size: 17px;
}
.article-block p { margin-top: 16px; }
.article-block ul,
.article-block ol {
  margin: 20px 0 0;
  padding-left: 20px;
}
.article-block li + li { margin-top: 10px; }
.sticky-cta {
  position: sticky;
  top: 96px;
  padding: 26px;
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-warm);
  box-shadow: var(--shadow);
}
.sticky-cta h3 { color: var(--paper-warm); }
.sticky-cta p { margin-top: 14px; color: rgba(243,244,245,.7); }
.sticky-cta .btn { margin-top: 22px; width: 100%; }
.mini-facts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.mini-facts div {
  padding: 13px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 8px;
  color: rgba(243,244,245,.78);
}
.consult-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), rgba(251,250,247,.9));
  border: 1px solid rgba(29,40,70,.12);
}
.consult-band p { margin-top: 14px; max-width: 760px; }

.breakdown-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: calc(74px + clamp(76px, 9vw, 122px)) var(--edge) clamp(42px, 7vw, 80px);
  box-sizing: border-box;
  scroll-margin-top: 96px;
}
.breakdown-hero__copy {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(29,40,70,.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(251,250,247,.92), rgba(243,244,245,.78)),
    var(--paper-warm);
  box-shadow: var(--shadow);
}
.breakdown-hero__copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
.breakdown-hero__copy p:not(.kicker) {
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(17px, 1.4vw, 20px);
}
.breakdown-hero__photo {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.breakdown-hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.92) contrast(.98) sepia(.07);
}
.breakdown-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.breakdown-facts span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 999px;
  background: rgba(214,221,213,.64);
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}
.breakdown-layout {
  display: grid;
  grid-template-columns: minmax(280px, .66fr) minmax(340px, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}
.breakdown-card {
  position: sticky;
  top: 96px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper-warm);
  box-shadow: var(--shadow);
}
.breakdown-card h2 {
  margin: 0;
  color: var(--paper-warm);
}
.breakdown-card p,
.breakdown-card li {
  color: rgba(243,244,245,.72);
}
.breakdown-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 20px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
}
.breakdown-card ul {
  margin: 24px 0;
  padding-left: 20px;
}
.breakdown-card li + li { margin-top: 12px; }
.breakdown-form {
  box-shadow: var(--shadow);
}
.social-showcase {
  padding-bottom: 0;
}
.social-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.social-logo-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "logo small"
    "logo strong";
  gap: 3px 14px;
  min-height: 112px;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(29,40,70,.1);
  border-radius: 12px;
  background: var(--paper-warm);
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.social-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29,40,70,.2);
  box-shadow: var(--shadow);
}
.social-logo-card small {
  grid-area: small;
  color: rgba(29,40,70,.62);
  font-size: 13px;
  font-weight: 760;
}
.social-logo-card strong {
  grid-area: strong;
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.social-logo {
  grid-area: logo;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}
.social-logo-card.telegram .social-logo { background: #229ed9; }
.social-logo-card.instagram .social-logo { background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4); }
.social-logo-card.youtube .social-logo { background: #ff0033; }
.social-logo-card.vk .social-logo { background: #0077ff; }
.social-logo-card.dzen .social-logo { background: #111; }
.social-logo-card.rutube .social-logo { background: #101820; }
.social-note {
  margin-top: 18px;
  color: rgba(29,40,70,.56);
  font-size: 13px;
}

.privacy-banner {
  position: fixed;
  left: var(--edge);
  right: var(--edge);
  bottom: 16px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: auto;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(29,40,70,.2);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(214,221,213,.78), rgba(251,250,247,.96) 38%),
    rgba(251,250,247,.98);
  box-shadow: 0 24px 74px rgba(29,40,70,.2);
  backdrop-filter: blur(18px);
}
.privacy-banner[hidden] { display: none; }
.privacy-banner strong {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}
.privacy-banner strong::before {
  content: "152-ФЗ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-warm);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
}
.privacy-banner p {
  display: block;
  max-width: 760px;
  color: rgba(29,40,70,.72);
  font-size: 14px;
  line-height: 1.45;
}
.privacy-banner p a {
  color: var(--ink);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 360px;
}
.privacy-banner__actions .btn {
  min-height: 40px;
  padding: 10px 13px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(210px, .72fr) minmax(260px, .9fr) auto;
  align-items: start;
  gap: 28px;
  margin-top: clamp(38px, 5vw, 74px);
  padding: 34px var(--edge);
  border-top: 1px solid rgba(243,244,245,.12);
  background: var(--ink);
  color: var(--paper-warm);
}
.footer img { width: auto; height: 48px; filter: none; }
.footer p { margin-top: 10px; max-width: 520px; color: rgba(243,244,245,.64); }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: rgba(243,244,245,.78); font-size: 14px; font-weight: 760; }
.footer-contacts {
  display: grid;
  gap: 8px;
  color: rgba(243,244,245,.76);
  font-size: 14px;
  font-weight: 740;
}
.footer-contacts strong {
  color: var(--paper-warm);
  font-size: 15px;
}
.footer-contacts a {
  color: var(--paper-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-services {
  display: grid;
  gap: 8px;
  color: rgba(243,244,245,.78);
  font-size: 14px;
  font-weight: 740;
}
.footer-services strong {
  color: var(--paper-warm);
  font-size: 15px;
}
.footer-services nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}
.footer-services a {
  color: rgba(243,244,245,.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-cta {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.footer-course-promo {
  display: grid;
  gap: 8px;
  width: min(320px, 100%);
  padding: 14px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}
.footer-course-promo strong {
  color: var(--paper-warm);
  font-size: 14px;
}
.footer-course-promo span {
  color: rgba(243,244,245,.66);
  font-size: 13px;
  line-height: 1.5;
}
.footer-course-promo a {
  color: var(--paper-warm);
  font-size: 13px;
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-cta .btn {
  min-height: 42px;
  padding: 11px 14px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(29,40,70,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,40,70,.045) 1px, transparent 1px),
    var(--paper);
  background-size: 78px 78px;
  color: var(--ink);
}
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.admin-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.95);
  box-shadow: var(--shadow);
}
.admin-card h1 {
  margin: 8px 0 24px;
  font-size: 42px;
}
.admin-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}
.admin-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink-faint);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.admin-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(144, 38, 38, .22);
  border-radius: 8px;
  background: rgba(144, 38, 38, .08);
  color: #7f2323;
  font-weight: 760;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 28px var(--edge);
  border-bottom: 1px solid var(--ink-faint);
  background: rgba(243,244,245,.92);
}
.admin-header h1 {
  margin: 5px 0 0;
  font-size: clamp(28px, 4vw, 50px);
}
.admin-header nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 70px;
}
.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.admin-summary article,
.admin-empty,
.admin-lead {
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.94);
  box-shadow: 0 14px 42px rgba(29,40,70,.06);
}
.admin-summary article {
  padding: 20px;
}
.admin-summary strong {
  display: block;
  font-size: 30px;
}
.admin-summary span {
  color: var(--muted);
  font-weight: 720;
}
.admin-empty {
  padding: 30px;
}
.admin-empty h2 {
  margin: 0 0 10px;
}
.admin-leads {
  display: grid;
  gap: 16px;
}
.admin-lead {
  padding: 22px;
}
.admin-lead__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
.admin-lead h2 {
  margin: 0;
  font-size: 26px;
}
.admin-lead time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}
.admin-lead dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 14px;
  margin: 0;
}
.admin-lead dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-lead dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.admin-message {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--paper-warm);
  line-height: 1.65;
}
.admin-help {
  margin-bottom: 22px;
}
.admin-help code {
  color: var(--ink);
  font-weight: 850;
}
.admin-notice {
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(29, 70, 45, .18);
  border-radius: 8px;
  background: rgba(214, 221, 213, .62);
  color: var(--ink);
  font-weight: 780;
}
.admin-editor-shell {
  display: grid;
  gap: 16px;
}
.admin-editor {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--ink-faint);
  border-radius: 10px;
  background: rgba(251,250,247,.95);
  box-shadow: 0 14px 42px rgba(29,40,70,.06);
}
.admin-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 14px;
}
.admin-editor textarea {
  min-height: 96px;
}
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 8px;
  background: rgba(243,244,245,.72);
}
.admin-toolbar button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(29,40,70,.16);
  border-radius: 7px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}
.admin-toolbar button:hover {
  border-color: rgba(29,40,70,.32);
  background: #fff;
}
.admin-wysiwyg,
.admin-raw {
  min-height: 560px;
  max-height: 72vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(29,40,70,.18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}
.admin-wysiwyg:focus,
.admin-raw:focus {
  border-color: rgba(29,40,70,.48);
  box-shadow: 0 0 0 3px rgba(214,221,213,.72);
}
.admin-wysiwyg h1,
.admin-wysiwyg h2,
.admin-wysiwyg h3 {
  margin: 20px 0 12px;
}
.admin-wysiwyg p,
.admin-wysiwyg li {
  color: var(--ink-soft);
  font-size: 16px;
}
.admin-wysiwyg img {
  max-width: 320px;
  height: auto;
  margin: 12px 0;
}
.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.book-hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 132px var(--edge) 70px;
  background:
    linear-gradient(90deg, rgba(243,244,245,.05) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(135deg, var(--ink), #121827);
  color: var(--paper-warm);
}
.book-hero h1 {
  max-width: 900px;
  color: var(--paper-warm);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: .96;
}
.book-hero p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(243,244,245,.76);
  font-size: clamp(18px, 1.45vw, 22px);
}
.book-cover {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(243,244,245,.18);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(214,221,213,.14), rgba(255,255,255,.04)),
    rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.book-cover__title {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(243,244,245,.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(29,40,70,.92), rgba(18,24,39,.88)),
    var(--ink);
}
.book-cover__title strong {
  color: var(--paper-warm);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}
.book-cover__title span {
  color: var(--accent);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.book-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.book-price div {
  padding: 16px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}
.book-price b {
  display: block;
  color: var(--paper-warm);
  font-size: 26px;
}
.book-price span {
  color: rgba(243,244,245,.68);
  font-size: 13px;
}
.book-order-form {
  align-self: start;
}
.promo-course {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(29,40,70,.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(29,40,70,.96), rgba(18,24,39,.92)),
    var(--ink);
  box-shadow: var(--shadow);
}
.promo-course h2,
.promo-course strong {
  color: var(--paper-warm);
}
.promo-course p {
  color: rgba(243,244,245,.74);
}
.promo-course__copy .actions {
  margin-top: 24px;
}
.promo-course__copy .btn.ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(243,244,245,.16);
  color: var(--paper-warm);
}
.promo-course__meta {
  display: grid;
  gap: 12px;
}
.promo-course__price {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.promo-course__price strong {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}
.promo-course__price span {
  color: rgba(243,244,245,.66);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.promo-course__list {
  display: grid;
  gap: 10px;
}
.promo-course__list div {
  padding: 14px 16px;
  border: 1px solid rgba(243,244,245,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: rgba(243,244,245,.82);
  font-size: 14px;
  font-weight: 720;
}
.course-release {
  margin: 12px 0 8px;
}
.course-release__badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 40, 70, 0.18);
  background: rgba(214, 221, 213, 0.55);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.course-hero .hero-actions {
  margin-top: 26px;
}
.course-hero p {
  max-width: 760px;
}
.course-bullets {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.course-bullets div {
  padding: 14px 16px;
  border: 1px solid rgba(243,244,245,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(243,244,245,.82);
  font-size: 15px;
  font-weight: 720;
}
.course-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.course-metric {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.82);
  box-shadow: var(--shadow-soft);
}
.course-metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}
.course-metric span {
  display: block;
  margin-top: 10px;
  color: rgba(29,40,70,.64);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.course-metric p {
  margin-top: 14px;
}
.course-outline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.course-module {
  padding: 24px;
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.84);
  box-shadow: var(--shadow-soft);
}
.course-module strong {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.course-module h3 {
  margin-bottom: 12px;
}
.course-module ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}
.course-module li + li {
  margin-top: 8px;
}
.course-proof {
  display: grid;
  gap: 12px;
}
.course-proof article {
  padding: 20px;
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  background: rgba(251,250,247,.82);
}
.course-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}
.course-proof--warn article {
  border-color: rgba(29,40,70,.14);
  background: linear-gradient(135deg, rgba(214,221,213,.42), rgba(251,250,247,.88));
}
.course-proof--warn strong {
  font-size: 16px;
}

@media (max-width: 1240px) {
  .menu { display: block; }
  .nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--ink-faint);
    border-radius: 12px;
    background: rgba(251,250,247,.97);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero, .manifesto, .split, .stack, .book-band, .brief, .page-grid, .social-hero, .book-hero, .breakdown-hero, .breakdown-layout, .checklist-shell { grid-template-columns: 1fr; }
  .service-hero__inner, .content-grid, .consult-band { grid-template-columns: 1fr; }
  .hero-media { min-height: 540px; padding: 0 var(--edge) 34px; }
  .photo-stage { min-height: 540px; border-radius: 10px; }
  .hero-copy { min-height: auto; padding-top: 58px; padding-bottom: 36px; }
  .proof-line, .signal-grid, .service-grid, .case-grid, .course-grid, .visual-system, .editorial-photos, .social-grid, .social-grid.compact, .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-system figure:first-child { grid-row: auto; min-height: 420px; }
  .editorial-photos figure:nth-child(2),
  .editorial-photos figure:nth-child(4) { margin-top: 0; }
  .social-hero__visual img,
  .social-hero__visual img:nth-child(2) { min-height: 360px; margin-bottom: 0; }
  .breakdown-hero__copy,
  .breakdown-hero__photo,
  .breakdown-hero__photo img { min-height: 480px; }
  .breakdown-card { position: static; }
  .social-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-metric-grid,
  .course-outline,
  .promo-course { grid-template-columns: 1fr; }
}

@media (min-width: 1241px) and (max-width: 1360px) {
  .topbar { gap: 14px; }
  .brand img { height: 40px; }
  .nav {
    gap: 10px;
    font-size: 12px;
  }
  .nav .cta {
    min-height: 38px;
    padding: 9px 12px;
  }
}

@media (max-width: 680px) {
  .topbar { height: 64px; padding-inline: 16px; }
  .brand img { height: 34px; }
  .nav { inset-top: 64px; }
  .hero { padding-top: 64px; }
  .hero-media { padding: 0 16px 28px; min-height: 430px; }
  .photo-stage { min-height: 430px; }
  .hero h1 { font-size: clamp(36px, 10.6vw, 48px); }
  .hero-lead { font-size: 17px; margin-top: 22px; }
  .hero-actions { margin-top: 22px; }
  .section, .brief { width: 100%; max-width: none; }
  .section-head, .proof-line, .signal-grid, .service-grid, .case-grid, .course-grid, .visual-system, .hero-scene-strip, .editorial-photos, .social-grid, .social-grid.compact, .social-hero__visual, .social-logo-grid, .checklist-grid { grid-template-columns: 1fr; }
  .consult-calendar__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-calendar__compact { grid-template-columns: 1fr; }
  .signal-grid {
    transform: none;
    width: calc(100% - 32px);
    margin: 24px auto 0;
    border-radius: 10px;
  }
  .signal-grid a,
  .signal-grid div { padding: 22px 18px; border-right: 0; border-bottom: 1px solid var(--ink-faint); }
  .signal-grid a:last-child,
  .signal-grid div:last-child { border-bottom: 0; }
  .proof-line div,
  .service,
  .case,
  .course,
  .article-block,
  .social-card,
  .quote-panel,
  .step,
  .form,
  .sticky-cta { padding-left: 18px; padding-right: 18px; }
  .contact-links,
  .badges,
  .actions,
  .hero-actions { max-width: 100%; }
  .service {
    min-height: auto;
    border-width: 1.5px;
    background: rgba(251,250,247,.96);
    box-shadow: 0 12px 34px rgba(29,40,70,.08);
  }
  .service.featured {
    background: linear-gradient(135deg, rgba(214,221,213,.98), rgba(251,250,247,.96));
    border-color: rgba(29,40,70,.24);
  }
  .service .label {
    margin-bottom: 18px;
    background: var(--ink);
    color: var(--paper-warm);
    border-color: var(--ink);
  }
  .service h3 {
    font-size: 23px;
    line-height: 1.12;
  }
  .service::after {
    width: 100%;
    margin-top: 20px;
    min-height: 46px;
    padding: 10px 8px;
    font-size: 12px;
    background: var(--ink);
    color: var(--paper-warm);
  }
  .service.featured::after {
    background: var(--ink);
    color: var(--paper-warm);
  }
  .step { grid-template-columns: 1fr; }
  .stack, .book-band { padding: 24px; }
  .checklist-item {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 18px;
  }
  .checklist-summary {
    position: static;
    padding: 22px 18px;
  }
  .visual-system figure, .visual-system figure:first-child { min-height: 320px; }
  .editorial-photos img { min-height: 300px; }
  .social-hero { width: calc(100% - 32px); padding-top: 108px; }
  .social-hero h1 { font-size: clamp(46px, 15vw, 72px); }
  .social-hero__visual img,
  .social-hero__visual img:nth-child(2) { min-height: 310px; }
  .social-link { min-height: 92px; }
  .social-link__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .breakdown-hero {
    width: calc(100% - 32px);
    padding-top: 132px;
    gap: 16px;
  }
  .breakdown-hero__copy {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 12px;
  }
  .breakdown-hero__copy h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.02;
  }
  .breakdown-hero__copy p:not(.kicker) {
    margin-top: 20px;
    font-size: 16px;
  }
  .breakdown-hero__photo,
  .breakdown-hero__photo img {
    min-height: 390px;
    border-radius: 12px;
  }
  .breakdown-facts { gap: 8px; }
  .breakdown-facts span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .breakdown-card,
  .social-logo-card { padding-left: 18px; padding-right: 18px; }
  .social-logo-card {
    min-height: 96px;
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .social-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .book-hero h1 {
    max-width: 100%;
    font-size: clamp(27px, 8.9vw, 36px);
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }
  .footer { grid-template-columns: 1fr; padding-inline: 18px; }
  .footer-services nav { grid-template-columns: 1fr; }
  .book-hero { padding-top: 108px; }
  .book-price { grid-template-columns: 1fr; }
  .book-cover__title { min-height: 300px; }
  .course-metric,
  .course-module { padding: 20px 18px; }
  .promo-course {
    padding: 24px 18px;
  }
  .promo-course__price,
  .promo-course__list div {
    padding: 18px;
  }
  .privacy-banner { left: 12px; right: 12px; bottom: 12px; width: auto; grid-template-columns: 1fr; padding: 14px; }
  .privacy-banner p { display: block; font-size: 13px; }
  .privacy-banner strong { margin-bottom: 8px; font-size: 14px; }
  .privacy-banner__actions { display: grid; grid-template-columns: 1fr 1fr; max-width: none; justify-content: stretch; }
  .privacy-banner__actions .btn { width: 100%; min-height: 38px; padding: 9px 8px; font-size: 12px; }
  .sticky-cta { position: static; }
  .admin-header { align-items: flex-start; flex-direction: column; padding-inline: 18px; }
  .admin-shell { width: calc(100% - 28px); }
  .admin-summary { grid-template-columns: 1fr; }
  .admin-lead__top { flex-direction: column; }
  .admin-lead dl { grid-template-columns: 1fr; }
  .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-wysiwyg,
  .admin-raw { min-height: 420px; padding: 16px; }
}

/* Landing late overrides: brandbook-driven home style without gradients. */
.landing-ai {
  --paper: #f3f4f5;
  --paper-warm: #ffffff;
  --mist: #d6ddd5;
  --accent: #d6ddd5;
  --accent-strong: #c75a00;
  --gray: #949492;
  --ink: #1d2846;
  --ink-soft: rgba(29, 40, 70, .72);
  --ink-faint: rgba(29, 40, 70, .12);
  --shadow: 0 22px 60px rgba(29, 40, 70, .10);
  --shadow-soft: 0 12px 34px rgba(29, 40, 70, .08);
  background: #f3f4f5;
  color: #1d2846;
}
.landing-ai::before { content: none; }
.landing-ai .topbar {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.landing-ai .topbar.is-scrolled {
  background: rgba(243, 244, 245, .98);
  border-bottom-color: rgba(29, 40, 70, .10);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}
.landing-ai .topbar:not(.is-scrolled) .nav {
  color: rgba(255, 255, 255, .82);
}
.landing-ai .topbar:not(.is-scrolled) .nav a:hover,
.landing-ai .topbar:not(.is-scrolled) .nav a.active {
  color: #fff;
}
.landing-ai .topbar:not(.is-scrolled) .nav .cta {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: none;
}
.landing-ai .topbar:not(.is-scrolled) .nav .cta:hover,
.landing-ai .topbar:not(.is-scrolled) .nav .cta:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
}
.landing-ai .topbar:not(.is-scrolled) .menu {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: none;
}
.landing-ai .topbar:not(.is-scrolled) .menu::before,
.landing-ai .topbar:not(.is-scrolled) .menu span {
  background: #fff;
}
.landing-ai .brand-logo {
  width: auto;
  height: 46px;
  max-width: min(220px, 56vw);
}
.landing-ai .brand-logo--default {
  display: none;
}
.landing-ai .topbar.is-scrolled .brand-logo--on-dark {
  display: none;
}
.landing-ai .topbar.is-scrolled .brand-logo--default {
  display: block;
}
.landing-ai .nav { color: rgba(29, 40, 70, .68); }
.landing-ai .nav a:hover,
.landing-ai .nav a.active { color: #1d2846; }
.landing-ai .nav .cta,
.landing-ai .btn {
  border-color: #1d2846;
  background: #1d2846;
  color: #f3f4f5;
  box-shadow: none;
}
.landing-ai .btn.light,
.landing-ai .btn.ghost {
  background: #f3f4f5;
  color: #1d2846;
  border-color: rgba(29, 40, 70, .22);
  box-shadow: none;
}
.landing-ai .btn:hover,
.landing-ai .btn:focus-visible,
.landing-ai .nav .cta:hover {
  background: #c75a00;
  border-color: #c75a00;
  color: #fff;
}
.landing-ai .btn.dark { background: #1d2846; color: #f3f4f5; }
.landing-ai .menu {
  background: #ffffff;
  border-color: rgba(29, 40, 70, .22);
}
.landing-ai .menu::before,
.landing-ai .menu span { background: #1d2846; }
.landing-ai .hero-ai {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  box-sizing: border-box;
  padding: 74px var(--edge) 0;
  overflow: hidden;
  background: url("../images/site-background.png") center center / cover no-repeat;
  border-bottom: 3px solid #c75a00;
}
.landing-ai .hero-ai .hero-copy {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(12px, 2.5vh, 28px) 0;
  text-align: left;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1.4vh, 16px);
  overflow: hidden;
}
.landing-ai .hero-ai .kicker {
  margin-bottom: clamp(6px, 1vh, 14px);
  color: #1d2846;
}
.landing-ai .hero-ai .hero-lead {
  margin-top: 0;
}
.landing-ai .hero-ai .hero-actions {
  margin-top: 0;
}
.landing-ai .hero.hero-ai h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(34px, 5.6vh, 80px);
  line-height: 1.12;
}
.landing-ai .hero-ai .hero-lead {
  color: #fff;
  font-size: clamp(16px, 2vh, 22px);
}
.landing-ai .hero-ai .proof-line b { color: #1d2846; }
.landing-ai .hero-ai .proof-line span { color: rgba(29, 40, 70, .72); }
.landing-ai .hero-ai .proof-line div {
  border-color: rgba(29, 40, 70, .14);
  background: rgba(255, 255, 255, .82);
}
.landing-ai .hero-ai .hero-actions .btn.light {
  background: #1d2846;
  border-color: #1d2846;
  color: #fff;
}
.landing-ai .kicker { color: #c75a00; }
.landing-ai .hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: .9;
  color: #f3f4f5;
}
.landing-ai .hero-lead {
  max-width: 720px;
  color: rgba(243, 244, 245, .82);
  font-size: clamp(20px, 1.7vw, 25px);
}
.landing-ai .hero-actions .btn {
  background: #d6ddd5;
  border-color: #d6ddd5;
  color: #1d2846;
}
.landing-ai .hero-actions .btn:not(.light) {
  background: #fff;
  border-color: rgba(29, 40, 70, .18);
  color: #1d2846;
}
.landing-ai .hero-actions .btn.light {
  background: #1d2846;
  border-color: #1d2846;
  color: #fff;
}
.landing-ai .hero-actions .btn:not(.light):hover,
.landing-ai .hero-actions .btn:not(.light):focus-visible {
  background: #1d2846;
  border-color: #1d2846;
  color: #fff;
}
.landing-ai .hero-actions .btn.light:hover,
.landing-ai .hero-actions .btn.light:focus-visible {
  background: #fff;
  border-color: rgba(29, 40, 70, .18);
  color: #1d2846;
}
.landing-ai .photo-stage {
  border: 1px solid rgba(243, 244, 245, .18);
  background: #d6ddd5;
  box-shadow: none;
}
.landing-ai .photo-stage::after { content: none; }
.landing-ai .photo-stage img { filter: none; }
.landing-ai .proof-line div,
.landing-ai .signal-grid,
.landing-ai .step,
.landing-ai .service,
.landing-ai .case,
.landing-ai .quote-panel,
.landing-ai .faq details,
.landing-ai .consult-band,
.landing-ai .image-card {
  border-color: rgba(29, 40, 70, .14);
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}
.landing-ai h2,
.landing-ai h3,
.landing-ai summary,
.landing-ai .price,
.landing-ai .signal-grid strong { color: #1d2846; }
.landing-ai .proof-line b { color: #f3f4f5; }
.landing-ai p,
.landing-ai .signal-grid span,
.landing-ai .service p,
.landing-ai .case p,
.landing-ai .step p { color: rgba(29, 40, 70, .72); }
.landing-ai .proof-line span { color: rgba(243, 244, 245, .72); }
.landing-ai .proof-line div {
  border-color: rgba(243, 244, 245, .18);
  background: rgba(243, 244, 245, .06);
}
.landing-ai .landing-signal {
  width: 100%;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: clamp(20px, 3vw, 40px) var(--edge) 0;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  box-sizing: border-box;
}
.landing-ai main > .section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--edge);
  box-sizing: border-box;
}

@font-face {
  font-family: "Compressa VF";
  src: url("https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 5% 200%;
}

.landing-ai .text-pressure-zone {
  width: 100%;
  padding: clamp(56px, 10vw, 132px) var(--edge);
  margin: 0;
  overflow: hidden;
}

.landing-ai .hero-ai .text-pressure-zone {
  width: 100%;
  padding: 0;
  margin: clamp(-22px, -2.8vh, -14px) 0 clamp(10px, 1.8vh, 18px);
}

.landing-ai .text-pressure-zone__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-ai .hero-ai .text-pressure-zone__inner {
  width: 100%;
  margin: 0;
  justify-content: flex-start;
}

.landing-ai .text-pressure-title {
  color: #1d2846;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  font-family: "Compressa VF", sans-serif;
  font-variation-settings: "wght" 400, "wdth" 100, "ital" 0;
  font-size: clamp(36px, 12vw, 120px);
  line-height: 1;
  cursor: default;
}

.landing-ai .hero-ai .text-pressure-title {
  color: #fff;
  text-align: left;
  font-size: clamp(15px, 5.5vw, 58px);
  line-height: 0.88;
}

.landing-ai .text-pressure-title.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
}

.landing-ai .hero-ai .text-pressure-title.flex {
  justify-content: flex-start;
}

.landing-ai .hero-ai .proof-line {
  margin-top: 0;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1vh, 10px);
}
.landing-ai .hero-ai .proof-line div {
  min-height: auto;
  padding: clamp(8px, 1.2vh, 12px);
}
.landing-ai .hero-ai .proof-line b {
  font-size: clamp(18px, 2.4vh, 24px);
  margin-bottom: 4px;
}
.landing-ai .hero-ai .proof-line span {
  font-size: clamp(11px, 1.3vh, 13px);
  line-height: 1.35;
}

.landing-ai .hero-ai--right {
  padding: 74px var(--edge) 18px;
  border-bottom: none;
  box-sizing: border-box;
}
.landing-ai .hero-ai--right:not(.hero-ai--solid) {
  background: url("../images/services-hero-background.png") 28% center / cover no-repeat;
}
.landing-ai .hero-ai--solid {
  background: linear-gradient(135deg, #1d2846, #121827);
}
.landing-ai .hero-ai--right .kicker {
  color: rgba(255, 255, 255, .82);
}
.landing-ai .hero-ai--right .hero-copy {
  position: relative;
  height: 100%;
  text-align: right;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(12px, 2.5vh, 28px) 0 0;
  max-width: 100%;
  overflow: hidden;
}
.landing-ai .hero-ai--right .hero-copy__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.landing-ai .hero-ai--right .hero-copy__head h1 {
  width: 100%;
  max-width: 100%;
}
.landing-ai .hero-ai--right .hero-copy__head h1 .hero-title-br {
  display: inline;
}
.landing-ai .hero-ai--right .hero-copy__head h1 .hero-title-br--mobile-only {
  display: none;
}
.landing-ai .hero-ai--right .hero-copy__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: clamp(10px, 1.6vh, 16px);
}
.landing-ai .hero-ai--right .hero-copy__intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(8px, 1.2vh, 12px);
}
.landing-ai .hero-ai--right .hero-actions {
  justify-content: flex-end;
}
.landing-ai .hero-ai .hero-actions .btn.hero-ai__cta {
  background: #1d2846;
  border-color: #1d2846;
  color: #fff;
}
.landing-ai .hero-ai .hero-actions .btn.hero-ai__cta:hover,
.landing-ai .hero-ai .hero-actions .btn.hero-ai__cta:focus-visible {
  background: #121827;
  border-color: #121827;
  color: #fff;
}
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta {
  background: #fff;
  border-color: #fff;
  color: #1d2846;
}
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta:hover,
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta:focus-visible {
  background: #d6ddd5;
  border-color: #d6ddd5;
  color: #1d2846;
}
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta-ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta-ghost:hover,
.landing-ai .hero-ai--solid .hero-actions .btn.hero-ai__cta-ghost:focus-visible {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
}
.landing-ai .hero-ai--solid .hero-copy__intro {
  max-width: min(640px, 100%);
}
.landing-ai .hero-ai--solid .hero-copy {
  text-align: left;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: clamp(96px, 14vh, 132px);
}
.landing-ai .hero-ai--solid .hero-copy__top,
.landing-ai .hero-ai--solid .hero-actions {
  width: min(100%, 720px);
  max-width: 100%;
  align-self: flex-start;
}
.landing-ai .hero-ai--solid .hero-copy__top,
.landing-ai .hero-ai--solid .hero-copy__head,
.landing-ai .hero-ai--solid .hero-copy__intro {
  align-items: flex-start;
  text-align: left;
}
.landing-ai .hero-ai--solid .hero-actions {
  justify-content: flex-start;
}
.landing-ai .hero-ai--solid .hero-clock {
  position: absolute;
  right: 0;
  bottom: clamp(10px, 1.8vh, 18px);
  align-self: auto;
  width: auto;
  max-width: min(100%, 520px);
  margin: 0;
}
.landing-ai .hero-ai--right .proof-line div {
  text-align: right;
}

.hero-clock {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: clamp(-10px, -1.2vh, 0) 0 clamp(10px, 1.8vh, 18px);
  color: #fff;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
}
.hero-clock__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(8px, 1.2vh, 14px);
  font-size: clamp(10px, 1.1vh, 12px);
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.hero-clock__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dfff00;
  box-shadow: 0 0 12px rgba(223, 255, 0, .45);
}
.hero-clock__time {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(52px, 11vw, 132px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  padding-bottom: 0.1em;
  box-sizing: border-box;
}
.hero-clock__hours,
.hero-clock__minutes {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1;
  overflow: hidden;
}
.hero-clock__colon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.22em;
  margin: 0 0.08em;
  padding: 0;
  height: 1em;
}
.hero-clock__colon span {
  flex: 0 0 auto;
  width: 0.12em;
  height: 0.12em;
  border-radius: 50%;
  background: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-clock__colon span {
    animation: hero-clock-blink 1.2s ease-in-out infinite;
  }
  .hero-clock__colon span:last-child {
    animation-delay: .6s;
  }
}
@keyframes hero-clock-blink {
  0%, 45%, 100% { opacity: 1; }
  55%, 95% { opacity: .22; }
}
.hero-clock__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 520px);
  margin-top: clamp(8px, 1.2vh, 14px);
  font-size: clamp(10px, 1.1vh, 12px);
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.landing-ai .hero-ai--right .hero-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  margin-top: auto;
  padding-bottom: 2px;
  overflow: hidden;
  contain: layout paint;
}
.landing-ai .hero-ai--right .hero-clock__time {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-content: flex-end;
  align-items: center;
  line-height: 1;
  flex-shrink: 1;
  font-size: clamp(56px, min(9vw, 14vh), 128px);
  transform-origin: right center;
}
.landing-ai .hero-ai--right .hero-clock__meta {
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 36px);
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(6px, 0.8vh, 10px);
}

.landing-ai .text-pressure-title span {
  display: inline-block;
}
.landing-ai .section { padding-top: clamp(78px, 8vw, 120px); }
.landing-ai .section-head { align-items: start; }
.landing-ai .service-grid--priority { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-ai .service { min-height: 330px; overflow: hidden; }
.landing-ai .service:hover,
.landing-ai .service:focus-visible,
.landing-ai .case:hover,
.landing-ai .case:focus-visible,
.landing-ai .landing-signal a:hover,
.landing-ai .landing-signal a:focus-visible,
.landing-ai .trust-metrics div:hover {
  border-color: rgba(199, 90, 0, .46);
  box-shadow: 0 18px 48px rgba(29, 40, 70, .14);
}
.landing-ai .service.featured {
  border-color: #1d2846;
  background: #1d2846;
}
.landing-ai .service.featured h3,
.landing-ai .service.featured .price { color: #f3f4f5; }
.landing-ai .service.featured p { color: rgba(243, 244, 245, .74); }
.landing-ai .label {
  border-color: rgba(29, 40, 70, .28);
  color: #1d2846;
  background: #d6ddd5;
}
.landing-ai .service.featured .label {
  border-color: rgba(243, 244, 245, .38);
  color: #f3f4f5;
  background: rgba(243, 244, 245, .14);
}
.landing-ai .service::after {
  content: "Подробнее";
  background: #f3f4f5;
  color: #1d2846;
  border-color: rgba(29, 40, 70, .16);
}
.landing-ai .service.featured::after {
  background: #d6ddd5;
  color: #1d2846;
}
.landing-ai .step span {
  background: #1d2846;
  color: #f3f4f5;
  border: 1px solid #1d2846;
}
.landing-ai .feature-grid .case {
  min-height: 250px;
  background: #1d2846;
}
.landing-ai .feature-grid .case h3,
.landing-ai .feature-grid .case p { color: rgba(243, 244, 245, .76); }
.landing-ai .feature-grid .case .label {
  border-color: rgba(243, 244, 245, .34);
  color: #f3f4f5;
  background: rgba(243, 244, 245, .14);
}
.landing-ai .feature-grid .case h3 { color: #f3f4f5; }
.landing-ai .trust-metrics b { color: #1d2846; }
.landing-ai .stack {
  border: 1px solid #1d2846;
  background: #1d2846;
}
.landing-ai .stack .kicker { color: #d6ddd5; }
.landing-ai .stack h2 { color: #f3f4f5; }
.landing-ai .stack p { color: rgba(243, 244, 245, .74); }
.landing-ai .badges span {
  border-color: rgba(243, 244, 245, .20);
  background: transparent;
  color: rgba(243, 244, 245, .82);
}
.landing-ai .trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.landing-ai .trust-metrics div {
  padding: 16px;
  border: 1px solid rgba(29, 40, 70, .14);
  border-radius: 8px;
  background: #ffffff;
}
.landing-ai .trust-metrics b {
  display: block;
  font-size: 28px;
  line-height: 1;
}
.landing-ai .trust-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(29, 40, 70, .66);
  font-size: 13px;
  font-weight: 720;
}
.landing-ai .faq details {
  padding: 22px 24px;
  margin-top: 10px;
  border-radius: 8px;
  border-top: 1px solid rgba(29, 40, 70, .14);
}
.landing-ai .consult-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 8px;
  background: #d6ddd5;
}
.landing-ai .footer {
  border-top-color: rgba(216, 232, 255, .10);
  background: #1d2846;
}

@media (max-width: 1240px) {
  .landing-ai .nav {
    background: #ffffff;
    border-color: rgba(29, 40, 70, .14);
  }
  .landing-ai .topbar:not(.is-scrolled) .nav.open {
    color: rgba(29, 40, 70, .68);
  }
  .landing-ai .topbar:not(.is-scrolled) .nav.open a {
    color: rgba(29, 40, 70, .82);
  }
  .landing-ai .topbar:not(.is-scrolled) .nav.open a:hover,
  .landing-ai .topbar:not(.is-scrolled) .nav.open a.active {
    color: #1d2846;
  }
  .landing-ai .topbar:not(.is-scrolled) .nav.open .cta {
    background: #1d2846;
    border-color: #1d2846;
    color: #fff;
  }
  .landing-ai .topbar:not(.is-scrolled) .nav.open .cta:hover,
  .landing-ai .topbar:not(.is-scrolled) .nav.open .cta:focus-visible {
    background: #c75a00;
    border-color: #c75a00;
    color: #fff;
  }
  .landing-ai .landing-signal,
  .landing-ai .service-grid--priority,
  .landing-ai .trust-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-ai .consult-band { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .landing-ai .hero {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .landing-ai .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .landing-ai .hero.hero-ai h1 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.14;
  }
  .landing-ai .hero-ai {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding-top: 64px;
    padding-inline: 16px;
    padding-bottom: clamp(12px, 2vh, 18px);
  }
  .landing-ai .hero-ai:not(.hero-ai--right) {
    background-position: 72% center;
  }
  .landing-ai .hero-ai--right:not(.hero-ai--solid) {
    background-color: #2a2f38;
    background-image: url("../images/services-hero-background.png");
    background-repeat: no-repeat;
    /* cover fills height exactly on portrait — vertical % has no effect; overscale to allow pan */
    background-size: auto 132%;
    background-position: 36% 58%;
  }
  .landing-ai .hero-ai .hero-copy {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    gap: clamp(6px, 1vh, 12px);
    justify-content: flex-start;
    flex: 1;
    min-height: 0;
  }
  .landing-ai .hero-ai .proof-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin-top: 0;
    margin-bottom: clamp(22px, 4.5vh, 36px);
  }
  .landing-ai .hero-ai .hero-clock {
    margin-top: auto;
    margin-bottom: 15px;
  }
  .landing-ai .hero-ai .text-pressure-zone {
    margin-top: clamp(16px, 3vh, 28px);
    margin-bottom: clamp(4px, 0.8vh, 8px);
    padding-top: clamp(4px, 1vh, 8px);
  }
  .landing-ai .hero-ai .text-pressure-title {
    font-size: clamp(28px, 13vw, 54px);
    line-height: 0.9;
  }
  .landing-ai .hero-copy {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    padding-left: 24px;
    padding-right: 24px;
    overflow: hidden;
  }
  .landing-ai .hero-ai .hero-copy > * {
    width: 100%;
    max-width: none;
  }
  .landing-ai .hero-copy > *:not(.proof-line):not(.hero-clock):not(.hero-actions):not(.hero-copy__top):not(.hero-copy__head):not(.hero-copy__intro) {
    width: min(100%, 342px);
    max-width: 342px;
  }
  .landing-ai .hero-ai--right .hero-copy > *:not(.proof-line):not(.hero-clock):not(.hero-actions):not(.hero-copy__top):not(.hero-copy__head):not(.hero-copy__intro) {
    margin-left: auto;
  }
  .landing-ai .hero-ai--right .hero-copy {
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 0;
    gap: clamp(8px, 1.2vh, 14px);
  }
  .landing-ai .hero-ai--right .hero-copy__top {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1;
  }
  .landing-ai .hero-ai--right .hero-copy__head h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 40px);
    line-height: 1.06;
  }
  .landing-ai .hero-ai--right .hero-copy__head h1 .hero-title-br--mobile-only {
    display: inline;
  }
  .landing-ai .hero-ai--right .hero-copy__head .kicker {
    margin-bottom: clamp(6px, 1vh, 10px);
  }
  .landing-ai .hero-ai--right:not(.hero-ai--solid) .hero-copy__intro {
    width: min(52%, 280px);
    max-width: 280px;
    align-self: flex-end;
  }
  .landing-ai .hero-ai--solid .hero-copy {
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    padding-bottom: clamp(88px, 13vh, 120px);
  }
  .landing-ai .hero-ai--solid .hero-copy__top {
    position: static;
    left: auto;
    right: auto;
    align-items: flex-start;
    text-align: left;
    width: min(100%, 720px);
    align-self: flex-start;
  }
  .landing-ai .hero-ai--solid .hero-copy__intro {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    align-items: flex-start;
  }
  .landing-ai .hero-ai--right .hero-copy__intro .hero-lead {
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.42;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .landing-ai .hero-ai--right .hero-clock {
    margin-top: 0;
    margin-bottom: 0;
  }
  .landing-ai .hero-ai--right .hero-clock__time {
    font-size: clamp(48px, min(20vw, 12vh), 104px);
  }
  .landing-ai .hero-ai--right .hero-actions {
    width: min(100%, 342px);
    max-width: 342px;
  }
  .landing-ai .hero-ai--solid .hero-actions {
    width: min(100%, 720px);
    max-width: 100%;
    align-self: flex-start;
    justify-content: flex-start;
  }
  .landing-ai .hero-ai--solid .hero-clock {
    position: absolute;
    right: 0;
    bottom: clamp(10px, 1.8vh, 18px);
    align-self: auto;
    margin-top: 0;
  }
  .landing-ai .hero-lead {
    max-width: 100%;
    font-size: 17px;
    overflow-wrap: anywhere;
  }
  .landing-ai .hero-media {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .landing-ai .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .landing-ai .hero-actions .btn,
  .landing-ai .actions .btn {
    width: 100%;
  }
  .landing-ai .landing-signal,
  .landing-ai .service-grid--priority,
  .landing-ai .trust-metrics {
    grid-template-columns: 1fr;
  }
  .landing-ai .landing-signal {
    width: 100%;
    margin-top: clamp(32px, 7vw, 56px);
    padding: clamp(20px, 4vw, 36px) 16px 0;
  }
  .landing-ai main > .section {
    width: 100%;
    padding-inline: 16px;
  }
  .landing-ai .service {
    min-height: auto;
    padding: 22px 18px;
  }
  .landing-ai .faq details,
  .landing-ai .consult-band {
    padding: 18px;
  }
}

.landing-ai .privacy-banner {
  border: 1px solid rgba(29, 40, 70, .16);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(29, 40, 70, .14);
  backdrop-filter: none;
}
.landing-ai .privacy-banner strong {
  color: #1d2846;
}
.landing-ai .privacy-banner p,
.landing-ai .privacy-banner a {
  color: rgba(29, 40, 70, .74);
}
.landing-ai .privacy-banner .btn.ghost {
  background: #f3f4f5;
  color: #1d2846;
}

/* Brandbook cleanup across the site: flat colors, no decorative gradients. */
body {
  background: #f3f4f5;
}
body::before {
  content: none;
}
.hero,
.page-hero,
.social-hero,
.service-hero,
.book-hero,
.breakdown-hero__copy,
.stack,
.promo-course,
.footer {
  background: #1d2846;
}
.topbar,
.admin-header {
  background: rgba(243, 244, 245, .96);
}
.btn,
.nav .cta {
  background: #1d2846;
  color: #f3f4f5;
}
.btn.light,
.btn.ghost {
  background: #f3f4f5;
  color: #1d2846;
}
.btn:hover,
.nav .cta:hover,
.btn:focus-visible,
.nav .cta:focus-visible {
  background: #c75a00;
  border-color: #c75a00;
  color: #fff;
}
.service.featured,
.checklist-item.is-checked,
.course-proof--warn article,
.promo-course__price,
.promo-course__list div,
.book-cover,
.book-cover__title,
.consult-band {
  background: #d6ddd5;
}
.case,
.checklist-summary,
.checklist-summary.is-mid,
.checklist-summary.is-high,
.social-link__icon,
.social-logo {
  background: #1d2846;
}
.social-link--telegram .social-link__icon,
.social-link--youtube .social-link__icon,
.social-link--instagram .social-link__icon,
.social-link--rutube .social-link__icon,
.social-link--vk .social-link__icon,
.social-link--dzen .social-link__icon,
.social-link--vc .social-link__icon,
.social-link--habr .social-link__icon,
.social-link--tiktok .social-link__icon,
.social-link--tenchat .social-link__icon,
.social-link--livejournal .social-link__icon,
.social-logo-card.instagram .social-logo,
.social-logo-card.telegram .social-logo,
.social-logo-card.youtube .social-logo,
.social-logo-card.vk .social-logo,
.social-logo-card.rutube .social-logo,
.social-logo-card.dzen .social-logo {
  background: #1d2846;
}
.photo-stage::after,
.image-card::after {
  content: none;
}

/* Hotfix for visible section collisions on local file views. */
html {
  scroll-padding-top: 110px;
}
.landing-ai .feature-section {
  padding-bottom: clamp(72px, 8vw, 120px);
}
.landing-ai .feature-section + .stack {
  margin-top: clamp(72px, 8vw, 120px) !important;
}
.landing-ai .feature-grid {
  gap: clamp(24px, 2.4vw, 34px);
}
.landing-ai .feature-grid .case {
  min-height: 280px;
  border-radius: 8px;
}
.landing-ai .feature-grid .case .label {
  margin-bottom: 28px;
}
.landing-ai .feature-grid .case:hover,
.landing-ai .feature-grid .case:focus-visible {
  transform: translateY(-4px);
}

/* Book page refresh: clearer product signal and readable cover. */
.book-hero {
  min-height: auto;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .58fr);
  padding-top: 126px;
  padding-bottom: 72px;
}
.book-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.02;
}
.book-hero p {
  max-width: 700px;
  font-size: clamp(17px, 1.25vw, 20px);
}
.book-hero .hero-actions .btn:first-child,
.book-order-form .btn.dark {
  background: #c75a00;
  border-color: #c75a00;
  color: #fff;
}
.book-hero .hero-actions .btn.light {
  background: #f3f4f5;
  border-color: #f3f4f5;
  color: #1d2846;
}
.book-cover {
  background: #d6ddd5;
  border-color: rgba(29, 40, 70, .16);
  box-shadow: none;
}
.book-cover__title {
  min-height: 360px;
  background: #1d2846;
  border-color: #1d2846;
}
.book-cover__title strong {
  font-size: clamp(30px, 3.2vw, 44px);
}
.book-cover__title span {
  color: #d6ddd5;
  letter-spacing: .08em;
}
.book-price div {
  background: #f3f4f5;
  border-color: rgba(29, 40, 70, .14);
}
.book-price b {
  color: #1d2846;
  font-size: 22px;
}
.book-price span {
  color: rgba(29, 40, 70, .66);
}
.book-page main > section + section {
  margin-top: clamp(88px, 9vw, 150px);
}
.book-page .book-hero + .manifesto {
  margin-top: clamp(72px, 8vw, 124px);
}
.book-page .manifesto {
  align-items: stretch;
  gap: clamp(34px, 5vw, 88px);
}
.book-page .manifesto + .stack {
  margin-top: clamp(110px, 11vw, 180px) !important;
}
.book-page .stack {
  margin-bottom: clamp(88px, 9vw, 140px);
}
.book-page .brief,
.book-page .faq {
  scroll-margin-top: 120px;
}
.book-page .book-cover__title {
  min-height: 390px;
}
.book-page .book-cover__title strong {
  max-width: 10ch;
}
.book-cover__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(243,244,245,.16);
  aspect-ratio: 4 / 5;
  background: rgba(18,24,39,.6);
}
.book-cover__video,
.book-cover__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-cover__poster {
  position: absolute;
  inset: 0;
  transition: opacity .5s ease;
}
.book-cover__video {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.book-cover__media.is-video-ready .book-cover__video {
  opacity: 1;
}
.book-cover__media.is-video-ready .book-cover__poster {
  opacity: 0;
  pointer-events: none;
}
.book-cover__media.is-video-fallback .book-cover__video {
  display: none;
}
.book-cover__media.is-video-fallback .book-cover__poster {
  opacity: 1;
  position: absolute;
  inset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .book-cover__video { display: none; }
  .book-cover__media.is-video-ready .book-cover__poster { opacity: 1; }
}
.book-gallery {
  padding-inline: var(--edge);
}
.book-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
.book-gallery__lead {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(29,40,70,.1);
  box-shadow: var(--shadow);
}
.book-gallery__lead img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.book-gallery__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.book-gallery__strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(29,40,70,.08);
}
.book-gallery__strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.book-gallery__strip figure:hover img {
  transform: scale(1.04);
}
.book-stack-visual img {
  object-fit: cover;
}
.book-price--editions {
  display: grid;
  gap: 12px;
}
.book-price__edition--primary b {
  color: #0a5c38;
}
.book-litres__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 16px;
  border: 1px solid rgba(29, 40, 70, 0.12);
  background: linear-gradient(145deg, rgba(214, 221, 213, 0.55), rgba(255, 255, 255, 0.92));
}
.book-litres__facts {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.book-litres__facts li {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 40, 70, 0.08);
}
.book-litres__aside {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.book-litres__aside img {
  width: min(100%, 320px);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(29, 40, 70, 0.18);
}
.book-litres__aside p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(29, 40, 70, 0.72);
}
a.litres-cta.btn {
  background: #ff4d00;
  border-color: #ff4d00;
  color: #fff;
}
a.litres-cta.btn:hover {
  filter: brightness(1.06);
}
.book-litres--compact .book-litres__card {
  padding: clamp(20px, 2.5vw, 28px);
}
@media (max-width: 900px) {
  .book-litres__card { grid-template-columns: 1fr; }
}
.delivery-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid rgba(29, 40, 70, 0.14);
  background: rgba(214, 221, 213, 0.35);
}
.delivery-note__badge {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #1d2846);
  font-weight: 800;
}
.delivery-note p {
  margin: 0;
  color: rgba(29, 40, 70, 0.72);
  font-size: 0.95rem;
}
.book-order-form textarea[name='delivery_address'] {
  min-height: 88px;
}
@media (max-width: 900px) {
  .book-gallery__grid { grid-template-columns: 1fr; }
  .book-gallery__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Final UX pass: compact headings, stable spacing, visible CTAs, flat brand colors. */
h2 {
  font-size: clamp(24px, 2.45vw, 36px);
  line-height: 1.12;
}
h3 {
  font-size: clamp(19px, 1.35vw, 23px);
}
.hero h1,
.landing-ai .hero h1,
.page-hero h1,
.service-hero h1,
.book-hero h1,
.breakdown-hero__copy h1 {
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.08;
}
.social-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: .98;
}
.hero-lead,
.landing-ai .hero-lead,
.page-hero p,
.service-hero p,
.social-hero p {
  font-size: clamp(16px, 1.25vw, 20px);
}
.section {
  padding-top: clamp(64px, 7vw, 104px);
}
main > section + section {
  margin-top: clamp(26px, 4vw, 54px);
}
.service-grid,
.case-grid,
.course-grid {
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
}
.service,
.case,
.course {
  min-height: auto;
  padding: clamp(22px, 2.6vw, 28px);
}
.service-grid + .consult-band,
.section.service-grid + .consult-band {
  margin-top: clamp(72px, 8vw, 112px);
}
.consult-band {
  position: relative;
  z-index: 1;
}
.label {
  margin-bottom: 20px;
}
.service::after {
  margin-top: 20px;
}
.price {
  font-size: 15px;
  line-height: 1.25;
  color: rgba(29, 40, 70, .78);
}
.service.featured .price,
.landing-ai .service.featured .price {
  color: rgba(243, 244, 245, .86);
}
.consult-band .btn,
.service-inline-form .btn.dark,
.sticky-cta .btn,
.breakdown-card .btn,
.faq-cta .btn.dark,
.footer-cta .btn,
.page-hero .btn,
.service-hero .btn,
.social-hero .btn.dark {
  background: #c75a00;
  border-color: #c75a00;
  color: #fff;
}
.consult-band .btn:hover,
.service-inline-form .btn.dark:hover,
.sticky-cta .btn:hover,
.breakdown-card .btn:hover,
.faq-cta .btn.dark:hover,
.footer-cta .btn:hover,
.page-hero .btn:hover,
.service-hero .btn:hover,
.social-hero .btn.dark:hover {
  background: #1d2846;
  border-color: #1d2846;
  color: #f3f4f5;
}
.social-page {
  background: #f3f4f5;
}
.social-hero {
  background: transparent;
}
.social-hero__copy {
  min-width: 0;
}
.social-hero__copy p,
.social-link__content strong,
.social-link__content span {
  overflow-wrap: anywhere;
}
.social-hero__visual a {
  min-height: 360px;
}
.social-hero__visual a:first-child {
  min-height: 470px;
}
.social-hero__visual a:nth-child(2) {
  min-height: 360px;
  margin-bottom: 42px;
}
.social-hero__visual a img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.social-hero__visual a:nth-child(2) img {
  margin-bottom: 0;
  filter: sepia(.08) saturate(.86);
}
.social-card,
.social-link,
.social-link.primary {
  background: #ffffff;
}
.social-link__icon,
.social-logo,
.social-link--site .social-link__icon,
.social-link--telegram .social-link__icon,
.social-link--email .social-link__icon,
.social-link--phone .social-link__icon,
.social-link--instagram .social-link__icon,
.social-link--youtube .social-link__icon,
.social-link--linkedin .social-link__icon,
.social-link--dzen .social-link__icon,
.social-link--rutube .social-link__icon,
.social-link--vk .social-link__icon,
.social-link--tiktok .social-link__icon,
.social-link--tenchat .social-link__icon,
.social-link--habr .social-link__icon,
.social-link--vc .social-link__icon,
.social-link--livejournal .social-link__icon {
  background: #1d2846;
  color: #fff;
}
.social-link__icon svg,
.social-link__icon svg path {
  color: #fff;
  fill: currentColor;
}
.privacy-banner {
  left: auto;
  right: 18px;
  max-width: min(460px, calc(100% - 32px));
  grid-template-columns: 1fr;
  padding: 14px 16px;
}
.privacy-banner__actions {
  justify-content: start;
}
.privacy-banner p {
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 1240px) {
  .social-hero__visual a,
  .social-hero__visual a:first-child,
  .social-hero__visual a:nth-child(2) {
    min-height: 340px;
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .hero h1,
  .landing-ai .hero h1,
  .page-hero h1,
  .service-hero h1,
  .book-hero h1,
  .breakdown-hero__copy h1,
  .social-hero h1 {
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.1;
  }
  .section {
    padding-top: 54px;
  }
  .book-page main > section + section,
  .book-page .book-hero + .manifesto,
  .book-page .manifesto + .stack {
    margin-top: 64px !important;
  }
  .book-page .book-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
  .book-page .book-hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 8.2vw, 36px);
    line-height: 1.08;
  }
  .book-page .stack {
    margin-bottom: 64px;
  }
  .book-page .book-cover__title {
    min-height: 340px;
  }
  .book-page .book-cover__title strong {
    max-width: 100%;
  }
  .service-grid + .consult-band,
  .section.service-grid + .consult-band {
    margin-top: 64px;
  }
  .social-hero__visual a,
  .social-hero__visual a:first-child,
  .social-hero__visual a:nth-child(2) {
    min-height: 300px;
  }
  .social-hero {
    overflow: hidden;
  }
  .social-hero__copy > * {
    max-width: 100%;
  }
  .social-hero .actions,
  .social-hero .actions .btn {
    width: 100%;
  }
  .privacy-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: none;
    max-height: 34svh;
    overflow: auto;
  }
  .privacy-banner__actions {
    grid-template-columns: 1fr;
  }
}

/* Site preloader — handwritten jogov.ru */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(29,40,70,.032) 1px, transparent 1px) 0 0 / 110px 110px,
    linear-gradient(180deg, #f9faf8 0%, var(--paper) 42%, #eef1ef 100%);
  transition: opacity var(--preloader-transition, 650ms) var(--preloader-easing, ease-in-out);
}

.site-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 14% 4%, rgba(214,221,213,.75), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(148,148,146,.16), transparent 26%),
    linear-gradient(120deg, transparent, rgba(255,255,255,.34));
}

.site-preloader.is-hiding {
  opacity: 0;
  pointer-events: none;
}

.site-preloader__inner {
  position: relative;
  width: min(82vw, 680px);
  min-height: clamp(180px, 28vw, 280px);
  display: grid;
  place-items: center;
}

.site-preloader__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}

.site-preloader__fallback.is-visible {
  opacity: 1;
}

.site-preloader__art {
  width: 100%;
  min-height: clamp(180px, 28vw, 280px);
  margin: 0 auto;
}

.site-preloader__art svg,
.site-preloader__art .jogov-preloader {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(180px, 28vw, 280px);
  overflow: visible;
  color: var(--ink);
  opacity: 1;
  filter: drop-shadow(0 10px 28px rgba(29, 40, 70, .08));
}

.site-preloader__art #jogov-preloader-word {
  opacity: 0;
}

.site-preloader__art .preloader-mask {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  will-change: stroke-dashoffset;
}

@media (max-width: 680px) {
  .site-preloader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 16px;
  }

  .site-preloader__inner {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    justify-items: center;
  }

  .site-preloader__art {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 0;
  }

  .site-preloader__art svg,
  .site-preloader__art .jogov-preloader {
    width: min(100%, 320px);
    height: auto;
    min-height: 0;
    margin-inline: auto;
  }

  .site-preloader__fallback {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    transition-duration: .2s;
  }
}
