/* ====================================================================
   Дизайн оклейки авто — landing styles
   Extends tokens from design-system.css (Kovtun.studio)
   Radius scale per design system:
     --r-1 = 2px (micro)
     --r-2 = 4px (cards, frames — DEFAULT)
     --r-3 = 8px (buttons, inputs)
     --r-4 = 14px (large containers)
   ==================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--fg-2);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }

/* ─── Dark mode toggle on root ─────────────────────────────────────── */
body.theme-dark {
  --bg-1: #131312;
  --bg-2: #1c1c1b;
  --bg-3: #232322;
  --bg-dark: #0a0a0a;
  --fg-1: #ffffff;
  --fg-2: rgba(255,255,255,.86);
  --fg-3: rgba(255,255,255,.55);
  --fg-4: rgba(255,255,255,.32);
  --line-1: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);
}

/* ─── Layout primitives ────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 20px; }
}

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 72px 0; } }

.dot {
  display: inline-block; width: .42em; height: .42em;
  border-radius: 50%; background: var(--ks-red);
  vertical-align: .14em; margin-left: .04em;
}

.overline {
  font: 700 12px/1.2 var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: none;
  align-items: center; gap: 10px;
}
.overline .bullet {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ks-red);
}

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
  font: 700 14px/1 var(--font-display);
  letter-spacing: 0.01em;
  padding: 16px 24px;
  border-radius: var(--r-3);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  border: none;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn:active { opacity: .9; }
.btn-primary { background: var(--ks-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--ks-red-700); }
.btn-dark { background: var(--ks-charcoal); color: #fff; }
/* keep white text on hover — overrides the global a:hover red for anchor-buttons */
.btn-dark:hover { background: var(--ks-charcoal-700); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost-dark { background: transparent; color: var(--fg-1); border: 1px solid var(--line-2); }
.btn-ghost-dark:hover { border-color: var(--fg-1); }
.btn-white { background: #fff; color: var(--ks-charcoal); }
.btn-white:hover { background: rgba(255,255,255,.92); }
.btn-lg { padding: 20px 28px; font-size: 15px; }

.btn .arrow { font-size: 18px; line-height: 1; transform: translateY(-1px); }

/* ─── Header ───────────────────────────────────────────────────────── */
.k-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-1);
  transition: background var(--dur-base);
}
body.theme-dark .k-header {
  background: rgba(19,19,18,.84);
}
.k-header .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
.k-header .brand {
  display: inline-flex; align-items: center;
  text-decoration: none; border: 0;
}
.k-header .brand img { height: 26px; width: auto; display: block; }
.k-header .brand .logo-dark  { display: block; }
.k-header .brand .logo-light { display: none; }
body.theme-dark .k-header .brand .logo-dark  { display: none; }
body.theme-dark .k-header .brand .logo-light { display: block; }
.k-header nav {
  display: flex; align-items: center; gap: 36px;
}
.k-header nav a {
  font: 500 14px/1 var(--font-body);
  color: var(--fg-1);
  text-decoration: none;
  border: 0;
  padding: 6px 0;
  position: relative;
  transition: color var(--dur-fast);
}
.k-header nav a:hover { color: var(--ks-red); }
.k-header .actions { display: flex; align-items: center; gap: 12px; }
.k-header .menu-btn { display: none; }
/* header CTA: text turns black on hover (bright red kept for contrast) */
.k-header .btn-primary:hover { color: #000; background: var(--ks-red); }

@media (max-width: 900px) {
  .k-header nav { display: none; }
  .k-header .actions .btn-secondary-text { display: none; }
}

/* ─── Hero base ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  isolation: isolate;
}
.hero .inner {
  position: relative; z-index: 2;
  padding-top: 120px;
  padding-bottom: 110px;
}
.hero .eyebrow {
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.22em; text-transform: uppercase;
  display: none;
  align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.hero h1 {
  font: 800 clamp(48px, 8vw, 112px)/0.96 var(--font-display);
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; }
.hero p.lede {
  font: 400 clamp(17px, 1.4vw, 21px)/1.5 var(--font-body);
  max-width: 56ch; margin: 0 0 48px;
}
.hero .ctas {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.hero .meta-row {
  margin-top: 80px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.hero .meta-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: currentColor; opacity: .25;
}
.hero .meta-row .item .num {
  font: 800 36px/1 var(--font-display);
  letter-spacing: -0.02em;
  display: block; margin-bottom: 8px;
}
.hero .meta-row .item .num .accent { color: var(--ks-red); }
.hero .meta-row .item .lbl {
  font: 500 12px/1.4 var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: .7;
}
@media (max-width: 700px) {
  .hero .meta-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ─── Hero variant A: Red Wall ─────────────────────────────────────── */
.hero-red {
  background: var(--ks-red);
  color: #fff;
  min-height: 760px;
  display: flex; align-items: flex-end;
}
.hero-red::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1400px 700px at 90% 5%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 600px at 5% 100%, rgba(0,0,0,.20), transparent 60%);
  pointer-events: none;
}
.hero-red::after {
  /* huge faint wordmark behind */
  content: "АВТО"; position: absolute;
  right: -4vw; bottom: -6vw; z-index: 1;
  font: 800 36vw/0.85 var(--font-display);
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  user-select: none;
}
.hero-red h1 { color: #fff; }
.hero-red h1 em { color: var(--ks-charcoal); }
.hero-red .lede { color: rgba(255,255,255,.92); }
.hero-red .btn-primary { background: #fff; color: var(--ks-red); box-shadow: none; }
.hero-red .btn-primary:hover { background: rgba(255,255,255,.92); }
.hero-red .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-red .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.10); }
.hero-red .eyebrow { color: rgba(255,255,255,.85); }
.hero-red .eyebrow .bullet { background: #fff; }

/* ─── Hero variant B: Dark Editorial ───────────────────────────────── */
.hero-dark {
  background: #0d0d0c;
  color: #fff;
  min-height: 780px;
  display: flex; align-items: center;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(239,28,36,.18), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 100%);
}
.hero-dark .inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
  padding: 100px 0;
}
@media (max-width: 900px) { .hero-dark .inner { grid-template-columns: 1fr; } }
.hero-dark h1 { color: #fff; }
.hero-dark h1 em { color: var(--ks-red); }
.hero-dark .lede { color: rgba(255,255,255,.7); }
.hero-dark .eyebrow { color: var(--ks-red); }
.hero-dark .eyebrow .bullet { background: var(--ks-red); }
.hero-dark .hero-image {
  aspect-ratio: 4/5;
  background: #1a1a19;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
  border-radius: var(--r-2);
}
.hero-dark .hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-dark .meta-row { color: rgba(255,255,255,.9); }

/* ─── Hero variant C: Split Editorial ──────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 780px;
}
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }
.hero-split .left {
  background: var(--ks-red);
  color: #fff;
  padding: 100px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-split .right {
  background: var(--ks-charcoal);
  position: relative;
  overflow: hidden;
}
.hero-split .right img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-split h1 {
  font-size: clamp(44px, 6vw, 88px);
  color: #fff;
  max-width: 14ch;
}
.hero-split h1 em { color: var(--ks-charcoal); }
.hero-split .lede { color: rgba(255,255,255,.92); max-width: 44ch; }
.hero-split .eyebrow { color: rgba(255,255,255,.85); }
.hero-split .eyebrow .bullet { background: #fff; }
.hero-split .btn-primary { background: #fff; color: var(--ks-red); box-shadow: none; }
.hero-split .btn-primary:hover { background: rgba(255,255,255,.92); }
.hero-split .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-split .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.10); }
@media (max-width: 900px) {
  .hero-split .left { padding: 72px 24px; }
  .hero-split .right { min-height: 480px; }
}

/* ─── Marquee strip (logos / for B2B trust) ────────────────────────── */
.marquee {
  background: var(--ks-charcoal);
  color: #fff;
  padding: 28px 0;
  overflow: hidden;
}
.marquee .track {
  display: flex; gap: 64px; align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font: 700 18px/1 var(--font-display);
  letter-spacing: 0.04em;
}
.marquee .track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee .track .dot-sep {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ks-red);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Section header ───────────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}
.section-head h2 {
  font: 800 clamp(40px, 5vw, 72px)/1.0 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0;
  max-width: 18ch;
}
.section-head .aside {
  font: 400 17px/1.55 var(--font-body);
  color: var(--fg-3);
  max-width: 38ch;
}

/* ─── What I do (services) ─────────────────────────────────────────── */
.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .what-grid { grid-template-columns: 1fr; } }
.what-card {
  background: var(--bg-2);
  border-radius: var(--r-2);
  padding: 40px 36px 44px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out);
  min-height: 360px;
}
.what-card:hover { transform: translateY(-3px); }
.what-card.is-featured {
  background: var(--ks-charcoal);
  color: #fff;
}
.what-card.is-featured h3 { color: #fff; }
.what-card.is-featured p { color: rgba(255,255,255,.7); }

.what-card .big-num {
  font: 800 220px/0.85 var(--font-display);
  letter-spacing: -0.06em;
  color: var(--ks-red);
  margin: -10px 0 28px -8px;
  display: block;
  font-feature-settings: "tnum";
}
.what-card h3 {
  font: 700 26px/1.15 var(--font-display);
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0 0 14px;
}
.what-card p {
  font: 400 16px/1.55 var(--font-body);
  color: var(--fg-3);
  margin: 0;
  max-width: 32ch;
}
@media (max-width: 800px) {
  .what-card .big-num { font-size: 180px; }
}

/* ─── Portfolio gallery (many small thumbnails) ─────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2);
  background: var(--ks-charcoal);
  cursor: zoom-in;
  aspect-ratio: 1/1;
  border: 0; padding: 0;
  display: block;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.gallery-more {
  display: flex; justify-content: center;
  margin-top: 40px;
}
.gallery-more .btn { min-width: 260px; justify-content: center; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 600ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65) 100%);
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .hover-zoom {
  position: absolute; right: 10px; top: 10px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-2);
  display: grid; place-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.gallery-item .hover-zoom svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.gallery-item:hover .hover-zoom { opacity: 1; }
.gallery-item .gi-label {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  color: #fff;
  font: 600 12px/1.25 var(--font-display);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-base), transform var(--dur-base);
  z-index: 1;
  pointer-events: none;
  text-align: left;
}
.gallery-item:hover .gi-label { opacity: 1; transform: translateY(0); }

/* ─── Lightbox ─────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-stage {
  position: relative;
  width: 100%; height: 100%;
  max-width: 1400px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
}
.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: var(--r-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  user-select: none;
  background: #111;
}
.lightbox-caption {
  color: rgba(255,255,255,.85);
  font: 500 13px/1.4 var(--font-display);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 14px;
}
.lightbox-caption .counter {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.6);
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
}
.lightbox-btn {
  position: absolute;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--dur-fast);
  z-index: 2;
}
.lightbox-btn:hover { background: rgba(255,255,255,.2); }
.lightbox-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-btn.prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-btn.next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-btn.close { right: 24px; top: 24px; }
@media (max-width: 700px) {
  .lightbox-btn.prev  { left: 12px; }
  .lightbox-btn.next  { right: 12px; }
  .lightbox-btn.close { right: 12px; top: 12px; }
  .lightbox-btn { width: 42px; height: 42px; }
  .lightbox-image { max-height: calc(100vh - 160px); }
}
.lightbox-thumbs {
  display: flex; gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 0 12px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.lightbox-thumbs::-webkit-scrollbar { height: 5px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 3px; }
.lightbox-thumb {
  flex: 0 0 64px;
  width: 64px; height: 48px;
  background: #111;
  border-radius: var(--r-1);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  opacity: .55;
  transition: opacity var(--dur-fast), border-color var(--dur-fast);
}
.lightbox-thumb:hover { opacity: .9; }
.lightbox-thumb.is-active {
  opacity: 1;
  border-color: var(--ks-red);
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }

body.lightbox-locked { overflow: hidden; }

/* ─── Pricing ──────────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.tier {
  background: var(--bg-2);
  display: flex; flex-direction: column;
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* example image on top of tier */
.tier .tier-example {
  aspect-ratio: 4/3;
  background: var(--ks-charcoal);
  position: relative;
  overflow: hidden;
}
.tier .tier-example img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 700ms var(--ease-out);
}
.tier:hover .tier-example img { transform: scale(1.03); }
.tier .tier-example .example-tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 10px/1 var(--font-display);
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 12px; border-radius: var(--r-pill);
}
.tier .tier-thumbs {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; gap: 8px;
}
.tier .tier-thumbs .thumb {
  flex: 1;
  aspect-ratio: 1/1;
  border-radius: var(--r-1);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.85);
  background: #1a1a19;
}
.tier .tier-thumbs .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

/* tier content area */
.tier .tier-body {
  padding: 36px 32px 36px;
  display: flex; flex-direction: column; flex: 1;
}
.tier .tier-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.tier .tier-num {
  font: 800 13px/1 var(--font-display);
  letter-spacing: 0.16em;
  color: var(--fg-3);
}
.tier .tier-badge {
  font: 700 10px/1 var(--font-display);
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ks-red); color: #fff;
  padding: 6px 10px; border-radius: var(--r-pill);
}
.tier h3 {
  font: 700 28px/1.15 var(--font-display);
  letter-spacing: -0.012em;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.tier .price {
  font: 800 48px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--fg-1);
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 8px;
}
.tier .price .from {
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.tier .price .ruble {
  font: 700 28px/1 var(--font-display); color: var(--ks-red);
}
.tier .price-note {
  font: 500 12px/1.4 var(--font-body);
  color: var(--fg-3);
  margin-bottom: 28px;
}
.tier .summary {
  font: 400 15px/1.5 var(--font-body);
  color: var(--fg-2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}
.tier .feat-label {
  font: 700 11px/1 var(--font-display);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.tier ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.tier ul li {
  font: 400 14.5px/1.45 var(--font-body);
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
}
.tier ul li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ks-red);
}
.tier .tier-cta { margin-top: auto; }
.tier .tier-cta .btn { width: 100%; justify-content: center; }

.tier.highlight {
  background: var(--ks-charcoal);
  color: #fff;
}
.tier.highlight h3,
.tier.highlight .price { color: #fff; }
.tier.highlight .summary { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.14); }
.tier.highlight .tier-num,
.tier.highlight .feat-label,
.tier.highlight .price-note { color: rgba(255,255,255,.55); }
.tier.highlight ul li { color: rgba(255,255,255,.9); }
.tier.highlight ul li::before { background: var(--ks-red-300); }

.pricing-note {
  margin-top: 32px;
  font: 400 14px/1.55 var(--font-body);
  color: var(--fg-3);
  max-width: 60ch;
}

/* ─── Process ──────────────────────────────────────────────────────── */
.process {
  background: var(--bg-dark);
  color: #fff;
}
.process .section-head h2 { color: #fff; }
.process .section-head .aside { color: rgba(255,255,255,.7); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding-top: 28px;
  border-top: 2px solid var(--ks-red);
}
.step .step-num {
  font: 800 16px/1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--ks-red);
  margin-bottom: 20px;
}
.step h3 {
  font: 700 22px/1.2 var(--font-display);
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.step p {
  font: 400 15px/1.55 var(--font-body);
  color: rgba(255,255,255,.65);
  margin: 0;
}

/* ─── FAQ ──────────────────────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 48px; } }
.faq .left h2 {
  font: 800 clamp(40px, 5vw, 72px)/1.0 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 24px;
}
.faq .left p {
  font: 400 16px/1.55 var(--font-body);
  color: var(--fg-3);
  margin: 0 0 24px;
  max-width: 36ch;
}
.faq-item {
  border-bottom: 1px solid var(--line-1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font: 700 19px/1.35 var(--font-display);
  color: var(--fg-1);
  letter-spacing: -0.005em;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font: 400 28px/1 var(--font-display);
  color: var(--ks-red);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 0 28px;
  max-width: 60ch;
}
.faq-item .answer p {
  font: 400 16px/1.6 var(--font-body);
  color: var(--fg-3);
  margin: 0 0 12px;
}
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ─── Form ─────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--ks-red);
  color: #fff;
  padding: 120px 0;
  position: relative; overflow: hidden;
}
.cta-section::after {
  content: "."; position: absolute;
  right: 6%; top: 4%;
  font: 800 360px/0.7 var(--font-display);
  color: rgba(0,0,0,.06);
  pointer-events: none;
}
.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .cta-wrap { grid-template-columns: 1fr; gap: 48px; } }
.cta-wrap .pitch h2 {
  font: 800 clamp(40px, 5.5vw, 80px)/1.0 var(--font-display);
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 24px;
  max-width: 12ch;
}
.cta-wrap .pitch p {
  font: 400 19px/1.55 var(--font-body);
  color: rgba(255,255,255,.92);
  margin: 0 0 36px;
  max-width: 40ch;
}
.cta-wrap .pitch .telegram-direct {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff;
  font: 700 16px/1 var(--font-display);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 2px solid rgba(255,255,255,.4);
  transition: border-color var(--dur-base);
}
.cta-wrap .pitch .telegram-direct:hover { border-color: #fff; }
.cta-wrap .pitch .telegram-direct svg { width: 22px; height: 22px; }

.k-form {
  background: var(--ks-white);
  color: var(--fg-1);
  padding: 48px 44px 44px;
  display: grid; gap: 30px;
  border-radius: var(--r-2);
}
/* fields live inside #form-fields / #form-success — space them there, not on the outer grid */
.k-form #form-fields,
.k-form #form-success { display: grid; gap: 30px; }
body.theme-dark .k-form { background: #1c1c1b; color: #fff; }

.k-form .form-head {
  margin-bottom: 8px;
}
.k-form .form-head .overline {
  color: var(--ks-red);
  margin-bottom: 8px;
}
.k-form .form-head h3 {
  font: 700 24px/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0;
}
/* Outlined field with notched (floating) label */
.k-form .field { position: relative; }
.k-form .field input,
.k-form .field textarea {
  width: 100%;
  font: 400 16px/1.4 var(--font-body);
  color: var(--fg-1);
  background: var(--ks-white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-3);
  padding: 20px 16px 14px;
  outline: none;
  transition: border-color var(--dur-fast);
}
.k-form .field textarea { resize: vertical; min-height: 84px; }
.k-form .field input::placeholder,
.k-form .field textarea::placeholder { color: var(--fg-4); }
.k-form .field input:focus,
.k-form .field textarea:focus { border-color: var(--ks-red); }
.k-form .field > .lbl {
  position: absolute; top: -7px; left: 12px;
  background: var(--ks-white);
  padding: 0 7px;
  font: 700 10px/1 var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
  pointer-events: none;
}
.k-form .field input:focus ~ .lbl,
.k-form .field textarea:focus ~ .lbl { color: var(--ks-red); }
body.theme-dark .k-form .field input,
body.theme-dark .k-form .field textarea,
body.theme-dark .k-form .field > .lbl { background: #1c1c1b; }
.k-form .field-error {
  display: block;
  font: 500 12px/1.3 var(--font-body); color: var(--ks-red);
  margin-top: 6px;
}
.k-form .submit-row {
  display: flex; align-items: center; gap: 20px;
  margin-top: 8px;
}
.k-form .submit-row .privacy {
  font: 400 12px/1.4 var(--font-body);
  color: var(--fg-3);
  flex: 1;
}
.k-form .submit-row .privacy a { color: inherit; border-bottom: 1px solid var(--line-2); }
.k-form .submit-row .submit-btn {
  background: var(--ks-charcoal);
  color: #fff;
  flex-shrink: 0;
}
.k-form .submit-row .submit-btn:hover { background: var(--ks-charcoal-700); }

.k-form .success {
  background: var(--ks-red);
  color: #fff;
  padding: 20px 24px;
  margin: 0;
  font: 500 15px/1.4 var(--font-body);
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--r-2);
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.k-footer {
  background: var(--ks-charcoal);
  color: #fff;
  padding: 80px 0 36px;
}
body.theme-dark .k-footer { background: #0a0a0a; }
.k-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) { .k-footer .top { grid-template-columns: 1fr 1fr; gap: 40px; } }
.k-footer .brand {
  display: inline-flex; align-items: center;
}
.k-footer .brand img {
  height: 30px; width: auto; display: block;
}
.k-footer .tag {
  font: 400 15px/1.55 var(--font-body);
  color: rgba(255,255,255,.65);
  max-width: 32ch; margin: 20px 0 0;
}
.k-footer h4 {
  font: 700 11px/1 var(--font-display);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 18px;
}
.k-footer a, .k-footer .v {
  display: block;
  font: 400 15px/1.95 var(--font-body);
  color: #fff;
  text-decoration: none;
  border: 0;
  transition: color var(--dur-fast);
}
.k-footer a:hover { color: var(--ks-red); }
.k-footer .bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font: 500 12px/1 var(--font-mono);
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
}

/* ─── image-slot styling ───────────────────────────────────────────── */
image-slot {
  --is-bg: var(--ks-charcoal);
  --is-fg: rgba(255,255,255,.5);
  --is-border: rgba(255,255,255,.08);
  --is-accent: var(--ks-red);
}

/* ─── Pricing — example showcase variant for tier-tag ─────────────── */
.tier .tier-cta .btn { width: 100%; justify-content: center; border-radius: var(--r-3); }
.tier-detail-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font: 500 12px/1.4 var(--font-body);
  color: var(--fg-3);
}
.tier.highlight .tier-detail-row { color: rgba(255,255,255,.55); }
.tier-detail-row svg {
  width: 14px; height: 14px; flex-shrink: 0;
  stroke: var(--ks-red); fill: none; stroke-width: 2;
}
