/* Rabia — стили */

/* ---------- шрифты (лежат в папке fonts, ничего внешнего не грузится) ---------- */
@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/pt-serif-cyrillic-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/pt-serif-cyrillic-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/pt-serif-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/pt-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- основа ---------- */
:root {
  --bg: #F5F5F5;
  --card: #FFFFFF;
  --ink: #262626;
  --muted: #6E6E6E;
  --line: #E6E6E6;
  --dark: #262626;
  --dark-muted: #BDBDBD;
  --display: 'PT Serif', Georgia, 'Times New Roman', serif;
  --display-weight: 400;
  --display-style: normal;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --r-xl: clamp(28px, 4vw, 48px);
  --r-l: clamp(20px, 2.6vw, 32px);
  --gap-section: clamp(104px, 14vw, 184px);
  --pad-card: clamp(28px, 5vw, 64px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

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

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- заголовки ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-synthesis-weight: none;
}
h1 { font-size: clamp(28px, 3.9vw, 50px); line-height: 1.02; letter-spacing: 0.012em; }
h2 { font-size: clamp(24px, 2.9vw, 38px); letter-spacing: 0.022em; }
h3 { font-size: clamp(17px, 1.7vw, 22px); letter-spacing: 0.045em; }
h4 {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.section { margin-top: var(--gap-section); scroll-margin-top: 96px; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section-intro { margin-top: 28px; font-size: 19px; line-height: 1.65; }
.section-foot { margin-top: clamp(40px, 6vw, 64px); }

.card {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: var(--pad-card);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn--sm { min-height: 44px; padding: 0 24px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 17px; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #404040; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #E9E9E9; }
.tariff--dark :focus-visible { outline-color: #fff; }

/* ---------- шапка ---------- */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  padding-block: 12px;
}
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border-radius: 999px;
  padding: 8px 8px 8px 32px;
  max-width: calc(1248px - 2 * clamp(16px, 4vw, 48px));
  width: calc(100% - 2 * clamp(16px, 4vw, 48px));
}
.wordmark {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.05em;
}
.nav { display: flex; gap: clamp(20px, 3vw, 40px); font-size: 15px; font-weight: 400; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; }
.lang button {
  font: inherit;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.menu-btn {
  display: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- первый экран ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding-top: clamp(24px, 3.5vw, 48px);
}
.hero-text .lead { margin-top: 16px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 420px; }
.hero-actions { margin-top: 36px; }
.hero-text .note { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 460px; }

.demo { padding: clamp(20px, 3vw, 32px); }
.demo-tag { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); padding: 4px 8px 16px; }

/* сцена масштабируется вместе с шириной карточки (единицы cqw) */
.stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #F7F6F2;
  border-radius: var(--r-l);
  overflow: hidden;
  --green: #1F3A2D;
  --sand: #C9B79C;
  --cream: #E6DCC8;
  --clay: #7A4E3A;
}
.stage > * { position: absolute; }

.p-mark {
  left: 35cqw; top: 35cqw; width: 30cqw; height: 30cqw;
  border-radius: 50%;
  background: var(--green);
  color: #F5F5F5;
  display: flex; align-items: center; justify-content: center;
  transition: transform 900ms cubic-bezier(.2, .7, .2, 1);
  transform-origin: 50% 50%;
}
.p-mark span { font-family: var(--display); font-size: 17cqw; line-height: 1; padding-bottom: 1.2cqw; }
.stage[data-mode="system"] .p-mark { transform: translate(-32.5cqw, -32.5cqw) scale(.7); }

.p-palette, .p-type, .p-card, .p-poster, .p-pack {
  opacity: 0;
  transform: translateY(2cqw);
  transition: opacity 600ms ease, transform 600ms ease;
}
.stage[data-mode="system"] .p-palette,
.stage[data-mode="system"] .p-type,
.stage[data-mode="system"] .p-card,
.stage[data-mode="system"] .p-poster,
.stage[data-mode="system"] .p-pack { opacity: 1; transform: none; }
.stage[data-mode="system"] .p-palette { transition-delay: 350ms; }
.stage[data-mode="system"] .p-type    { transition-delay: 450ms; }
.stage[data-mode="system"] .p-card    { transition-delay: 550ms; }
.stage[data-mode="system"] .p-poster  { transition-delay: 650ms; }
.stage[data-mode="system"] .p-pack    { transition-delay: 750ms; }

.p-palette { left: 36cqw; top: 7cqw; display: flex; gap: 2cqw; }
.p-palette i { display: block; width: 13cqw; height: 13cqw; border-radius: 4cqw; }
.p-palette i:nth-child(1) { background: var(--green); }
.p-palette i:nth-child(2) { background: var(--sand); }
.p-palette i:nth-child(3) { background: var(--cream); }
.p-palette i:nth-child(4) { background: var(--clay); }

.p-type { left: 36cqw; top: 25cqw; font-family: var(--display); font-size: 14cqw; line-height: 1; color: var(--green); }

.p-card {
  left: 7cqw; top: 44cqw; width: 52cqw; height: 28cqw;
  border-radius: 5cqw; background: var(--green); color: #F5F5F5;
  padding: 4cqw; display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mono); font-size: 3.2cqw; line-height: 1.2;
}
.p-card .dot { width: 6cqw; height: 6cqw; border-radius: 50%; border: 0.4cqw solid var(--cream); }

.p-poster {
  left: 64cqw; top: 31cqw; width: 29cqw; height: 41cqw;
  border-radius: 5cqw; background: var(--cream); color: var(--green);
  padding: 3.5cqw; display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--mono); font-size: 3.2cqw; line-height: 1.2;
}
.p-poster .disc { width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--green); }

.p-pack {
  left: 7cqw; top: 78cqw; width: 86cqw; height: 14cqw;
  border-radius: 999px; background: var(--sand); color: #262626;
  padding: 0 6cqw; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 3.2cqw;
}
.p-pack .dot { width: 5.5cqw; height: 5.5cqw; border-radius: 50%; background: var(--green); }

.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-inline: 4px; }
.demo-controls button {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.demo-controls button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo-cap { margin: 16px 4px 4px; min-height: 3.2em; font-size: 15px; color: var(--muted); }

/* ---------- кейс Kinni ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.step:nth-child(even) .step-media { order: -1; }
.step--solo { grid-template-columns: minmax(0, 1fr); }
.step-text .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 28px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
}
.step-text h3 { margin-bottom: 16px; }
.step-text p { max-width: 380px; }

.media { border-radius: var(--r-l); overflow: hidden; background: #EDEDED; aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--empty { display: flex; align-items: center; justify-content: center; padding: 24px; }
.media-hint { font-family: var(--mono); font-size: 13px; font-weight: 400; color: #5C5C5C; text-align: center; max-width: 260px; }

.video { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.video-text { max-width: 520px; }
.video-text .media-hint { text-align: left; max-width: none; }
.video-text h3 { margin-bottom: 16px; }
.video-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- проекты ---------- */
.projects { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.project--solo { grid-template-columns: minmax(0, 1fr); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-main { grid-column: 1 / -1; aspect-ratio: 1883 / 1527; }
.gallery-more { aspect-ratio: 1 / 1; }
.project-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.facts { display: flex; flex-direction: column; gap: 32px; }
.fact dt { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.fact dd { max-width: 480px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.stat-v { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1; margin-bottom: 12px; }
.stat-t { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.project-note { margin-top: 32px; font-size: 14px; color: var(--muted); max-width: 440px; }
.project-btn { margin-top: 40px; }
.project--soon { display: block; text-align: left; padding-block: clamp(40px, 6vw, 72px); background: transparent; border: 1px solid #D9D9D9; }
.project--soon h3 { margin-bottom: 12px; }
.project--soon p { color: var(--muted); max-width: 520px; }
.project--soon h3 { max-width: 520px; }

/* ---------- услуги ---------- */
.strat { margin: 32px 0 8px; padding: clamp(24px, 3vw, 32px); border-radius: 28px; background: var(--bg); }
.tariff .strat h4 { margin: 20px 0 12px; }
.strat h5 { margin: 32px 0 20px; font-size: 15px; font-weight: 500; }
.strat-lead { font-size: 15px; color: var(--muted); }
.questions { margin-top: 20px; display: flex; flex-direction: column; }
.questions li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 400; }
.questions li:last-child { border-bottom: 1px solid var(--line); }
.dots { display: flex; flex-direction: column; gap: 16px; }
.dots li { position: relative; padding-left: 24px; }
.dots li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.extras li { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 400; }
.tariff--dark .strat { background: #333; }
.tariff--dark .strat-lead { color: var(--dark-muted); }
.tariff--dark .questions li { border-color: #4A4A4A; }
.tariff--dark .strat .chip, .tariff--dark .extras li { background: #262626; color: #fff; }
.tariff .part { margin-top: 40px; }
.tariff--dark .more { margin-top: 28px; }

.tariffs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(20px, 2.5vw, 32px); align-items: stretch; }
.tariff { display: flex; flex-direction: column; }
.tariff h3 { margin-bottom: 28px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.price-num { font-family: var(--mono); font-size: clamp(32px, 3.8vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.time { font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--muted); }
.fit { margin-top: 28px; font-size: 16px; color: var(--muted); }
.base { margin-top: 28px; display: inline-flex; align-self: flex-start; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 999px; background: #3A3A3A; font-size: 15px; font-weight: 400; }
.tariff h4 { margin-top: 36px; margin-bottom: 4px; }
.lines { margin-top: 28px; display: flex; flex-direction: column; }
.tariff h4 + .lines { margin-top: 12px; }
.lines li { padding: 16px 0; border-top: 1px solid var(--line); }
.lines li:last-child { border-bottom: 1px solid var(--line); }
.lines.plus li { position: relative; padding-left: 28px; }
.lines.plus li::before { content: '+'; position: absolute; left: 0; top: 16px; font-family: var(--mono); font-weight: 500; }
.tariff .dots { margin-top: 20px; }
.tariff-cta { margin-top: auto; align-self: flex-start; }
.tariff > ul:last-of-type { margin-bottom: 48px; }
.tariff .strat ul:last-child { margin-bottom: 0; }

.tariff--dark { background: var(--dark); color: #fff; }
.tariff--dark .time { color: var(--dark-muted); }
.tariff--dark .lines li { border-color: #4A4A4A; }
.tariff--dark .lines li:last-child { border-color: #4A4A4A; }
.tariff--dark h4 { color: #fff; }
.tariff--dark .dots li { color: #E6E6E6; }

.diff { margin-top: clamp(40px, 5vw, 56px); max-width: 640px; font-size: 18px; font-weight: 400; }
.foot { margin-top: 16px; max-width: 640px; font-size: 15px; color: var(--muted); }

/* ---------- как мы работаем ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.process-head .note { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 340px; }
.steps-list { counter-reset: s; display: flex; flex-direction: column; }
.steps-list li {
  counter-increment: s;
  display: grid; grid-template-columns: 40px 1fr; gap: 24px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 400;
}
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list li::before {
  content: counter(s);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
}
.steps-list li { line-height: 1.5; }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about--solo { grid-template-columns: minmax(0, 1fr); }
.about--solo .about-text { max-width: 640px; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
.about-text h2 { margin-bottom: 40px; }
.paras { display: flex; flex-direction: column; gap: 28px; max-width: 560px; font-size: 18px; line-height: 1.7; }

/* ---------- контакты ---------- */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}
.contacts-main h2 { margin-bottom: 28px; }
.contacts-main p { max-width: 440px; margin-bottom: 44px; }
.template { background: var(--bg); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); }
.template h3 { font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; margin-bottom: 16px; }
.template-text { font-size: 17px; font-weight: 400; margin-bottom: 28px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 40px; padding-left: 8px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 400; text-underline-offset: 6px; }

.footer { padding-block: 96px 48px; font-size: 15px; color: var(--ink); }
.noscript { padding: 24px; text-align: center; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 28px;
    background: var(--card);
    border-radius: var(--r-l);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-top: 1px solid var(--line); font-size: 17px; }
  .nav a:first-child { border-top: 0; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hero, .step, .project, .process, .about, .contacts { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-media { order: 0; }
  .step-media { order: 2; }
  .gallery { position: static; }
  .tariffs { grid-template-columns: minmax(0, 1fr); }
  .portrait { aspect-ratio: 4 / 5; max-width: 480px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { padding-left: 24px; }
  .header-write { display: none; }
  .demo { padding: 16px; }
  .btn--lg { width: 100%; padding: 0 24px; }
  .hero-actions { margin-top: 36px; }
  .project-btn, .tariff-cta { width: 100%; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .steps-list li { font-size: 17px; gap: 16px; }
  .links { gap: 4px 28px; }
}

/* ---------- уважение к настройке «уменьшить движение» ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* стратегия внутри тарифов: доводка */
.strat .chip { background: #fff; }
.extras li { border-radius: 22px; padding-block: 8px; min-height: 40px; }
.tariff--dark .fit { color: var(--dark-muted); }


/* подвал: серая панель с белыми карточками внутри */
.footer-panel { padding: clamp(16px, 2.5vw, 32px); border-radius: clamp(28px, 4vw, 48px); background: #EBEBEB; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.fcard { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; min-height: 260px; padding: clamp(24px, 2.8vw, 36px); border-radius: clamp(22px, 3vw, 32px); background: #fff; }
.flabel { font-family: var(--display); font-weight: 400; font-size: 17px; text-transform: uppercase; color: #767676; letter-spacing: 0.01em; }
.fbody { display: flex; flex-direction: column; gap: 6px; }
.fbody p { color: var(--muted); }
.fbody .footer-name { color: var(--ink); font-weight: 500; font-size: 17px; margin-bottom: 8px; }
.flinks { display: flex; flex-direction: column; }
.flinks a { display: inline-flex; align-items: center; min-height: 40px; font-size: 17px; text-decoration: none; }
.flinks a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 28px 8px 0; color: var(--muted); font-size: 14px; }
.footer-bottom a { color: var(--ink); text-underline-offset: 5px; display: inline-flex; min-height: 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .fcard { min-height: 0; gap: 32px; } }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 8px; } }

#identity .section-head h2, #contacts .contacts-main h2 { white-space: pre-line; }


/* карточка «Следующий проект»: заголовок крупнее */
.project--soon h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; max-width: 900px; text-wrap: balance; margin-bottom: 20px; letter-spacing: 0.015em; }

/* «Следующий проект»: заголовок в одну строку на широких экранах, размер подстраивается под ширину карточки */
.project--soon { container-type: inline-size; }
@media (min-width: 641px) {
  .project--soon h3 { font-size: clamp(20px, 4.3cqw, 44px); white-space: nowrap; max-width: none; text-wrap: nowrap; }
}

/* логотип-надпись «RABIA TATHIRI» */
.wordmark { white-space: nowrap; font-size: clamp(15px, 1.7vw, 21px); font-weight: 400; }
@media (max-width: 380px) { .wordmark { font-size: 13px; letter-spacing: 0; } .header-actions { gap: 6px; } .menu-btn { padding-inline: 14px; } .site-header { padding-inline: 14px; } }
#projects .section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }

/* подписи в подвале: тот же шрифт и кегль, что у «Можно начать так» */
.flabel, .template h3 { font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); }

/* «Индивидуальный предприниматель…» того же размера и цвета, что ИНН */
.fbody .footer-name { color: var(--muted); font-weight: inherit; font-size: inherit; margin-bottom: 0; }

/* первый экран: слева карточка с заголовком и кнопкой, справа карточка с системой */
.hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; padding-top: clamp(40px, 6vw, 88px); }
.hero-text { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(28px, 4vw, 56px); }
.hero-text h1 { font-size: clamp(20px, 7cqw, 44px); line-height: 1.08; white-space: pre-line; }
.hero-bottom { margin-top: auto; }
.hero-text .hero-actions { margin-top: 0; }
.hero-text .note { margin-top: 12px; }
.demo { padding: clamp(12px, 1.6vw, 20px); }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-text { gap: 32px; } }

/* ---------- три пакета, этапы и условия ---------- */

/* бренд-стратегия: широкая карточка над пакетами */
.shared { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.shared .chip { background: var(--bg); }
.shared-main h3 { margin: 24px 0 16px; }
.shared-main .strat-lead { max-width: 380px; }
.shared-do h4 { margin-bottom: 24px; }
.shared .extras li { background: var(--bg); }

/* три пакета в ряд */
.tariffs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(12px, 1.6vw, 20px); }
.tariff { padding: clamp(24px, 3vw, 40px); }
.tariff h3 { margin-bottom: 20px; }
.price-num { font-size: clamp(28px, 2.6vw, 36px); }
.terms { margin-top: 12px; font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted); }
.tariff--dark .terms { color: var(--dark-muted); }
.fit { margin-top: 20px; font-size: 16px; }
.tariff .lines { margin-top: 24px; }
.tariff .lines li { padding-block: 14px; font-size: 16px; }
.tariff .lines.plus li::before { top: 14px; }

/* «Рекомендую» */
.rec {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 32px; margin-bottom: 20px; padding: 0 16px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-family: var(--mono); font-size: 13px; font-weight: 400;
}

/* «Всё из минимального» */
.base { margin-top: 24px; background: var(--bg); color: var(--ink); }
.tariff--dark .base { background: #3A3A3A; color: #fff; }
.tariff .more { margin-top: 24px; margin-bottom: 0; }

/* сроки по этапам */
.stages { margin-top: clamp(12px, 1.6vw, 20px); }
.stages-head { max-width: 560px; margin-bottom: clamp(24px, 3vw, 36px); }
.stages-head h3 { margin-bottom: 12px; }
.stages-list { display: flex; flex-direction: column; }
.stages-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stage-name { font-size: 17px; }
.stage-days { flex: none; font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--muted); }
.stages-total { margin-top: clamp(24px, 3vw, 36px); font-size: 17px; max-width: 560px; }

/* условия */
.terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.term { padding: clamp(24px, 3vw, 44px); }
.term .chip { background: var(--bg); }
.term-big { margin-top: 24px; font-family: var(--mono); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.term .dots, .term .lines { margin-top: 24px; }
.term-text { margin-top: 20px; font-size: 16px; }
.term-note { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 960px) {
  .shared { grid-template-columns: minmax(0, 1fr); }
  .tariffs { grid-template-columns: minmax(0, 1fr); }
  .terms-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .stages-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .stage-days { text-align: left; }
}

/* промежуточные ширины: шесть пунктов меню, логотип и кнопка должны помещаться в шапку */
@media (min-width: 961px) and (max-width: 1140px) {
  .nav { gap: 18px; font-size: 14px; }
  .wordmark { font-size: 16px; }
  .header-write { padding-inline: 18px; }
}

/* ---------- страница кейса ---------- */
.case { max-width: 1000px; padding-top: clamp(32px, 4.5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }
.case-head { margin-top: 28px; max-width: 760px; }
.case-head h1 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; }
.case-head .chip { margin-top: 20px; background: #fff; }
.case-head .lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; }
.case-content { margin-top: clamp(40px, 5vw, 64px); }
.case-content .facts { max-width: 760px; }
.case-content .stats { margin-top: clamp(32px, 4vw, 48px); }
.case-content .project-note { margin-top: 24px; max-width: 640px; }
.case-text { max-width: 680px; margin-top: clamp(48px, 6vw, 80px); }
.case-text h2 { font-size: clamp(21px, 2.1vw, 27px); margin-bottom: 14px; }
.case-media { margin: 0; border-radius: 0; overflow: hidden; background: var(--card); }
.case-gallery { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 12px; }
/* тёмная лента: картинки вплотную на чёрном фоне */
.case-gallery--dark, .case-gallery--light { gap: 0; }
.case-gallery--dark, .case-gallery--dark .case-media { background: #000; }
.case-gallery--light, .case-gallery--light .case-media { background: #fff; }
.case-media img { display: block; width: 100%; height: auto; }
.case-caption { padding: 14px 4px 0; font-size: 15px; color: var(--muted); }
.case-foot { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.case-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.case-nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }

/* карточка проекта на главной ведёт в кейс */
.gallery-link { display: block; text-decoration: none; color: inherit; border-radius: var(--r-l); }
.gallery-link:hover .gallery-main img { transform: scale(1.02); }
.gallery-main img { transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.project-actions { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .gallery-main img { transition: none; } .gallery-link:hover .gallery-main img { transform: none; } }
.case-media.media--empty { aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .case-media.media--empty { aspect-ratio: 4 / 3; } }

/* ---------- плавные переходы между страницами ---------- */
@media (prefers-reduced-motion: no-preference) {
  body { animation: page-in 480ms cubic-bezier(.2, .7, .2, 1) backwards; transition: opacity 260ms ease; }
  html.is-leaving body { opacity: 0; }
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

[id^="project-"] { scroll-margin-top: 96px; }

/* картинка кейса проявляется, когда загрузилась; до этого место уже занято */
.case-media:not(.media--empty):not(.has-ratio) { aspect-ratio: 3 / 2; }
.case-media.is-loaded:not(.has-ratio) { aspect-ratio: auto; }
.case-media img { opacity: 0; transition: opacity 600ms ease; }
.case-media.is-loaded img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .case-media img { transition: none; } }

/* «О проекте» на странице кейса */
.about-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin-bottom: clamp(28px, 3.5vw, 44px); }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.about-col { display: flex; flex-direction: column; gap: 32px; }
.about-label { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.about-item p:not(.about-label) { max-width: 36em; }
.about-list { gap: 14px; }
.about-list li { font-size: 16px; line-height: 1.5; }
.case-content .case-about + .stats { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

/* просвет после отдельных картинок: 1% ширины = белая щель в центре картинки 06 Vivante */
.case-gallery .case-media.gap-after{margin-bottom:1%}

/* почта в подвале без подчёркивания */
#f-email a { text-decoration: none; color: inherit; }
#f-email a:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-all { font-size: 17px; text-decoration: none; color: var(--ink); }
.case-all:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- слайдер кейса Kinni ---------- */
.kslider-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.kslider-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; }
.kslider-tab { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.kslider-tab.is-on { background: #232323; color: #fff; }
.kslider-tab:focus-visible, .kslider-btn:focus-visible, .kslider-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.kslider-count { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.kslider-stage { position: relative; padding: clamp(10px, 2vw, 28px); border-radius: var(--r-xl); background: #fff; }
.kslider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: clamp(12px, 1.6vw, 20px); background: #fff; }
.kslider-track::-webkit-scrollbar { display: none; }
.kslide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.kslide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kslider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 20px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.kslider-btn:disabled { opacity: 0; pointer-events: none; }
.kslider-prev { left: clamp(20px, 3vw, 44px); }
.kslider-next { right: clamp(20px, 3vw, 44px); }
.kslider-foot { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 640px) { .kslider-btn { width: 40px; height: 40px; } .kslider-prev { left: 14px; } .kslider-next { right: 14px; } }
@media (prefers-reduced-motion: reduce) { .kslider-track { scroll-behavior: auto; } }

/* пояснение к кейсу Kinni */
.kinfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-bottom: clamp(32px, 4vw, 56px); }
.kinfo-card { display: flex; flex-direction: column; gap: 16px; }
.kinfo-label { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink); }
.kinfo-card p:not(.kinfo-label) { color: var(--muted); }
.kinfo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.kinfo-list li { padding-left: 16px; position: relative; }
.kinfo-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
@media (max-width: 960px) { .kinfo { grid-template-columns: minmax(0, 1fr); } }

/* выделенная фраза: «на примере этого бренда показываю, как я работаю» */
.kcallout { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; padding: clamp(20px, 2.4vw, 28px) clamp(22px, 3vw, 36px); max-width: 760px; border-radius: var(--r-l); background: #fff; }
.kcallout-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #232323; color: #fff; }
.kcallout p { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: var(--ink); }

/* первый экран: картинки Kinni по кругу */
.hero-kinni { position: relative; padding: 0; overflow: hidden; min-height: 340px; background: #fff; }
.hero-kinni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms ease; }
.hero-kinni img.is-on { opacity: 1; }
.hero-kinni-tag { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 500; }
@media (max-width: 960px) { .hero-kinni { min-height: 0; height: 0; padding-bottom: 56.25%; } }
@media (prefers-reduced-motion: reduce) { .hero-kinni img { transition: none; } }

/* слайдер: кнопка «Увеличить» и крупный просмотр */
.kslider-zoom { position: absolute; z-index: 2; right: clamp(20px, 3vw, 44px); top: clamp(20px, 3vw, 44px); min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.kslider-zoom:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.kslide img { cursor: zoom-in; }
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(12,12,12,.97); display: flex; }
.lb-scroll { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 64px 16px; -webkit-overflow-scrolling: touch; }
.lb-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; cursor: zoom-in; }
.lb.is-zoom .lb-scroll { display: block; }
.lb.is-zoom .lb-img { max-width: none; max-height: none; width: 220%; min-width: 1400px; cursor: zoom-out; margin: 0 auto; }
.lb-btn { position: fixed; z-index: 2; min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #151515; font: inherit; font-size: 18px; cursor: pointer; }
.lb-btn:disabled { opacity: 0; pointer-events: none; }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lb-close { top: 14px; right: 14px; font-size: 26px; line-height: 1; }
.lb-zoom { top: 14px; left: 14px; font-size: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #151515; font-family: var(--mono); font-size: 13px; }

/* кнопка на первом экране: обычного размера, не на всю ширину */
.hero-actions .btn--lg { width: auto; min-height: 52px; padding: 0 28px; font-size: 16px; }

.kteaser-btn { margin-top: 24px; width: auto; }

.case .kcallout { margin-bottom: 16px; }

.kteaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); }
.kteaser h2 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; margin: 0 0 12px; }
.kteaser p { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.5; color: var(--ink-2, #555); }
.kteaser-btn { margin-top: 0; }
@media (max-width: 760px) { .kteaser { grid-template-columns: 1fr; } .kteaser-btn { justify-self: start; } }

/* обложка проекта остаётся на экране, пока читается текст карточки */
.gallery-link { position: sticky; top: 104px; align-self: start; }
@media (max-width: 960px) { .gallery-link { position: static; } }

.case .kinfo:not(.kinfo--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kinfo--one { grid-template-columns: minmax(0, 1fr); }
.kcollat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 40px 0; }
@media (max-width: 760px) { .case .kinfo:not(.kinfo--one) { grid-template-columns: minmax(0, 1fr); } .kcollat { grid-template-columns: minmax(0, 1fr); } }

/* ---------- первый экран: «Логотип есть, а бренда нет?» ---------- */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.hero-text { justify-content: flex-start; gap: 0; }
.hero-text h1 { margin: 0 0 22px; font-size: clamp(26px, 2.9vw, 42px); }
.hero-lead { margin: 0; font-size: 16px; line-height: 1.6; max-width: 46ch; }
.hero-text .hero-bottom { margin-top: auto; }
.hero-side { padding: clamp(14px, 1.6vw, 20px); display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.hero-kinni { position: relative; overflow: hidden; min-height: 0; height: 0; padding-bottom: 56.25%; border-radius: var(--r-l); background: var(--bg); }
.hero-kinni img { object-fit: contain; }
.syschecks { list-style: none; margin: 0; padding: 0 clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); }
.syschecks li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.syschecks li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.syschecks-k { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-text .hero-bottom { margin-top: 28px; } }
@media (max-width: 480px) { .syschecks { grid-template-columns: 1fr; } .syschecks li:nth-child(2) { border-top: 0; } }
