/* ============================================================
   ТЕНДЕРГРАД — КРИСТАЛЛ
   Полный набор стилей для лендинга.
   Палитра: сапфировый монохром + платиновый акцент.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
  --c-ink:       #050828;
  --c-paper:     #F2F4FA;
  --c-paper-2:   #E8EAF4;
  --c-paper-3:   #DCDFEE;
  --c-line:      rgba(11, 16, 82, 0.10);
  --c-line-2:    rgba(11, 16, 82, 0.22);
  --c-line-dark: rgba(201, 205, 227, 0.18);
  --c-blue:      #1B2185;
  --c-blue-l:    #3A40B8;
  --c-blue-d:    #0B1052;
  --c-blue-x:    #050828;
  --c-platinum:  #C9CDE3;
  --c-platinum-d:#8B91D2;
  --c-mute:      #4F557B;
  --c-mute-2:    #6E7396;
  --c-discount:  #136C66;
  --c-discount-bg:#D6EAE6;
  --c-shadow-soft: 0 10px 28px rgba(11, 16, 82, 0.08);
  --c-shadow-mid:  0 18px 40px rgba(11, 16, 82, 0.12);
  --c-shadow-big:  0 28px 64px rgba(11, 16, 82, 0.20);
}

.cr-page {
  background: linear-gradient(180deg, #F2F4FA 0%, #E8EAF4 100%);
  color: var(--c-ink);
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* ---- Eyebrow / shared text ---- */
.cr-eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 8px;
}
.cr-eyebrow-light { color: var(--c-platinum); }
.cr-eyebrow-mute { color: var(--c-mute-2); }
.cr-eyebrow::before {
  content: ""; display: inline-block;
  width: 14px; height: 1px; background: currentColor;
  margin-right: 2px;
}

.cr-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  max-width: 18ch;
  color: var(--c-ink);
  text-wrap: balance;
}
.cr-h2 .cr-h-accent {
  background: linear-gradient(120deg, #1B2185 0%, #3A40B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.cr-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 15px;
  border: none;
  border-radius: 999px;
  transition: all 200ms cubic-bezier(.2,0,0,1);
  box-shadow: 0 8px 20px rgba(5, 8, 40, 0.18);
  white-space: nowrap;
  cursor: pointer;
}
.cr-btn:hover {
  background: var(--c-blue);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(5, 8, 40, 0.30);
}
.cr-btn:active { transform: translateY(0); }
.cr-btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.cr-btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-line-2);
  box-shadow: none;
}
.cr-btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}
.cr-btn-platinum {
  background: var(--c-platinum);
  color: var(--c-blue-d);
  box-shadow: 0 10px 26px rgba(201, 205, 227, 0.4);
}
.cr-btn-platinum:hover {
  background: #FFFFFF;
  color: var(--c-blue-d);
  box-shadow: 0 16px 36px rgba(201, 205, 227, 0.5);
}
.cr-btn-sm { padding: 10px 18px; font-size: 13px; }
.cr-btn-block { width: 100%; justify-content: center; }

/* ============================================================
   1. HEADER (sticky)
   ============================================================ */
.cr-header {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 48px;
  background: rgba(242, 244, 250, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.cr-logo {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--c-ink);
}
.cr-logo .cr-mark { width: 34px; height: 34px; color: var(--c-blue); }
.cr-logo .cr-name {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}
.cr-logo .cr-name strong {
  font-size: 15px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.cr-logo .cr-name span {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 4px;
}
.cr-nav {
  display: flex; gap: 2px; padding: 5px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  justify-self: center;
}
.cr-nav a {
  padding: 9px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--c-ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-nav a:hover { background: rgba(11, 16, 82, 0.06); }
.cr-nav a.cr-nav-active { background: var(--c-ink); color: var(--c-paper); }
.cr-header-cta {
  display: flex; align-items: center; gap: 12px;
}
.cr-phone {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cr-phone:hover { color: var(--c-blue); }
.cr-msg-row { display: inline-flex; gap: 6px; }
.cr-msg-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-blue);
  border: 1px solid var(--c-line);
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-msg-btn:hover { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.cr-msg-btn svg { width: 15px; height: 15px; }

.cr-burger {
  display: none;
  width: 40px; height: 40px; padding: 0;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.7);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.cr-burger span {
  display: block; width: 16px; height: 2px;
  background: var(--c-ink); border-radius: 2px;
}

/* ============================================================
   2. HERO
   ============================================================ */
.cr-hero {
  position: relative;
  padding: 80px 48px 96px;
  overflow: hidden;
}
.cr-hero-crystal {
  position: absolute;
  top: -100px; right: -160px;
  width: 920px; height: 920px;
  z-index: 0;
  pointer-events: none;
}
.cr-hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 16, 82, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}
.cr-hero-inner {
  position: relative; z-index: 2;
  max-width: 72%;
}
.cr-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 96px;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 32px 0 0;
  text-wrap: balance;
  color: var(--c-ink);
}
.cr-hero h1 .cr-h-accent {
  background: linear-gradient(120deg, #1B2185 0%, #3A40B8 60%, #4046C2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.cr-hero-sub {
  font-size: 19px; line-height: 1.5;
  color: var(--c-mute);
  max-width: 50ch;
  margin: 28px 0 36px;
}
.cr-hero-actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-bottom: 56px;
}

.cr-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  box-shadow: var(--c-shadow-soft);
  max-width: 980px;
}
.cr-trust > div {
  border-right: 1px solid var(--c-line);
  padding: 0 24px;
}
.cr-trust > div:first-child { padding-left: 0; }
.cr-trust > div:last-child { border-right: none; padding-right: 0; }
.cr-trust .cr-tn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
  margin-bottom: 6px;
}
.cr-trust .cr-tn span {
  color: var(--c-blue-l);
  font-size: 26px;
}
.cr-trust .cr-tk {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-mute);
  line-height: 1.3;
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.cr-section { padding: 48px 48px; position: relative; }
.cr-section-tight { padding-top: 24px; }
.cr-section-inner { max-width: 1320px; margin: 0 auto; }
.cr-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.cr-section-head h2 { margin: 12px 0 0; }
.cr-section-head .cr-meta-block {
  max-width: 320px;
  font-size: 14px; line-height: 1.5;
  color: var(--c-mute);
  text-align: right;
}

/* ============================================================
   ВРЕМЕННО СКРЫТО: блок «Кейсы» — до подключения реальной БД
   Восстановить можно удалив этот блок (всё ниже не удалено, только скрыто).
   ============================================================ */
#cases,                              /* секция «Кейсы» на главной */
a[href*="Кейс"],                     /* любые ссылки на Кейс*.html */
a[href="#cases"]                     /* якорь «Кейсы» в футере */
{ display: none !important; }

/* ============================================================
   3. PROJECTS — asymmetric grid
   ============================================================ */
.cr-projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
/* When showing only active projects (no empty state), use 3 equal columns */
.cr-projects-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cr-projects-grid-3 .cr-pc.cr-pc-feat { grid-row: auto; }
.cr-projects-grid-3 .cr-pc.cr-pc-feat .cr-pc-photo { aspect-ratio: 16 / 10; }
.cr-projects-grid-3 .cr-pc.cr-pc-feat .cr-pc-title { font-size: 26px; }
.cr-projects-grid-3 .cr-pc.cr-pc-feat .cr-pc-yield { font-size: 56px; }
.cr-projects-grid-3 .cr-pc.cr-pc-feat .cr-pc-stats { grid-template-columns: repeat(3, 1fr); }
/* When the grid has fewer than 3 cards, center them at the column width they'd
   have in the full 3-card row (so layout stays consistent). */
.cr-projects-grid--n1,
.cr-projects-grid--n2 {
  justify-content: center;
}
.cr-projects-grid--n1 {
  grid-template-columns: minmax(0, calc((100% - 40px) / 3));
}
.cr-projects-grid--n2 {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 40px) / 3)));
}
/* Projects expand + pagination */
.cr-projects-expand {
  margin-top: 32px;
  display: flex; justify-content: center;
}
.cr-projects-expand-open {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cr-projects-expand .cr-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.cr-pager {
  display: inline-flex; align-items: center; gap: 8px;
}
.cr-pager-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--c-line-2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-pager-btn:hover:not([disabled]) {
  background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink);
}
.cr-pager-btn[disabled] {
  opacity: 0.35; cursor: not-allowed;
}
.cr-pager-dots {
  display: inline-flex; gap: 4px;
  padding: 0 6px;
}
.cr-pager-dot {
  min-width: 40px; height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-mute);
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  font-feature-settings: "tnum" 1;
  cursor: pointer;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-pager-dot:hover { color: var(--c-ink); background: rgba(255, 255, 255, 0.6); }
.cr-pager-dot-on {
  background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink);
}

@media (max-width: 720px) {
  .cr-projects-expand-open { flex-direction: column; }
}
.cr-pc {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 240ms cubic-bezier(.2,0,0,1);
  text-decoration: none;
  color: inherit;
}
.cr-pc-link {
  position: absolute; inset: 0; z-index: 3;
}
/* let clicks fall through inner card content to the link overlay */
.cr-case-card > .cr-case-photo,
.cr-case-card > .cr-cc-body { pointer-events: none; }
.cr-case-card .cr-arrow-link { pointer-events: auto; }
.cr-pc > .cr-pc-photo { pointer-events: none; }
.cr-pc > .cr-pc-body .cr-pc-meta,
.cr-pc > .cr-pc-body .cr-pc-title,
.cr-pc > .cr-pc-body .cr-pc-yield,
.cr-pc > .cr-pc-body .cr-pc-stats { pointer-events: none; }
.cr-pc > .cr-pc-photo,
.cr-pc > .cr-pc-body {
  position: relative;
  z-index: 0;
}
.cr-pc-foot .cr-btn,
.cr-pc-foot .cr-pc-arrow {
  position: relative; z-index: 2;
}
.cr-pc:hover {
  transform: translateY(-3px);
  box-shadow: var(--c-shadow-mid);
}
.cr-pc.cr-pc-feat {
  grid-row: span 2;
  background: linear-gradient(155deg, #1B2185 0%, #050828 100%);
  color: var(--c-paper);
  border-color: transparent;
  box-shadow: var(--c-shadow-big);
}
.cr-pc-photo {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--c-sapphire-900);
}
.cr-pc-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-pc-feat .cr-pc-photo { aspect-ratio: 16 / 9; }
.cr-pc-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.cr-pc-pill {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-ink);
}
.cr-pc-pill-open {
  background: var(--c-platinum);
  color: var(--c-blue-d);
}
.cr-pc-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--c-mute);
  margin-bottom: 6px;
}
.cr-pc-feat .cr-pc-meta { color: var(--c-platinum); }
.cr-pc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px; letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--c-ink);
}
.cr-pc-feat .cr-pc-title { font-size: 32px; color: var(--c-paper); }
.cr-pc-yield {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.015em;
  color: var(--c-blue);
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.cr-pc-feat .cr-pc-yield { font-size: 72px; color: var(--c-platinum); }
.cr-pc-yield small {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 14px;
  color: var(--c-mute);
  margin-left: 6px;
}
.cr-pc-feat .cr-pc-yield small { color: var(--c-platinum); opacity: 0.85; }
.cr-pc-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
}
.cr-pc-feat .cr-pc-stats {
  border-top-color: rgba(201, 205, 227, 0.2);
  grid-template-columns: repeat(3, 1fr);
}
.cr-pc-stats > div { display: flex; flex-direction: column; gap: 2px; }
.cr-st-k {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mute-2);
}
.cr-pc-feat .cr-st-k { color: var(--c-platinum); }
.cr-st-v {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  color: var(--c-ink);
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
.cr-pc-feat .cr-st-v { color: var(--c-paper); font-size: 18px; }
.cr-pc-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
}
.cr-pc-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: all 200ms cubic-bezier(.2,0,0,1);
  flex: 0 0 44px;
}
.cr-pc:hover .cr-pc-arrow {
  background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink);
}
.cr-pc-feat .cr-pc-arrow {
  background: var(--c-platinum); color: var(--c-blue-d); border-color: transparent;
}
.cr-pc-feat:hover .cr-pc-arrow {
  background: var(--c-platinum);
  color: var(--c-blue-d);
  border-color: transparent;
  transform: translateX(2px);
}
.cr-pc-arrow svg { width: 18px; height: 18px; }

.cr-pc-empty {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed var(--c-line-2);
  box-shadow: none;
}
.cr-pc-empty:hover { box-shadow: none; transform: none; border-color: var(--c-blue); }
.cr-pc-empty-body {
  padding: 28px 36px;
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  gap: 32px;
  flex: 1;
}
.cr-pc-empty h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.015em; line-height: 1.15;
  margin: 6px 0 6px; color: var(--c-ink);
}
.cr-pc-empty p {
  margin: 0; color: var(--c-mute); font-size: 14px; line-height: 1.5;
}

/* ============================================================
   3b. PROJECTS — EMPTY STATE («в поиске»)
   ============================================================ */
.cr-empty-wrap {
  position: relative;
  background: linear-gradient(155deg, #1B2185 0%, #0B1052 60%, #050828 100%);
  color: var(--c-paper);
  border-radius: 32px;
  overflow: hidden;
  padding: 56px 64px 48px;
  box-shadow: var(--c-shadow-big);
  isolation: isolate;
}
.cr-empty-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 205, 227, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
  animation: v2-drift 14s ease-in-out infinite;
}
.cr-empty-crystal {
  position: absolute;
  right: -120px; top: -100px;
  width: 540px; height: 540px;
  opacity: 0.14;
  color: var(--c-platinum);
  pointer-events: none;
  z-index: 0;
  animation: v2-float-slow 12s ease-in-out infinite;
}
.cr-empty-crystal > svg { width: 100%; height: 100%; }
.cr-empty-crystal-2 {
  right: auto; left: -160px; top: auto; bottom: -180px;
  width: 380px; height: 380px;
  opacity: 0.06;
  animation-duration: 16s;
  animation-direction: reverse;
}
.cr-empty-inner { position: relative; z-index: 1; max-width: 920px; }

.cr-empty-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(201, 205, 227, 0.10);
  border: 1px solid rgba(201, 205, 227, 0.22);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-platinum);
  margin-bottom: 24px;
}
.cr-empty-pulse {
  display: inline-flex; gap: 3px;
}
.cr-empty-pulse > span {
  display: block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--c-platinum);
  animation: cr-empty-blink 1.4s ease-in-out infinite;
}
.cr-empty-pulse > span:nth-child(2) { animation-delay: 0.2s; }
.cr-empty-pulse > span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cr-empty-blink {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1); box-shadow: 0 0 8px var(--c-platinum); }
}

.cr-empty-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--c-paper);
  text-wrap: balance;
}
.cr-empty-accent {
  background: linear-gradient(120deg, #C9CDE3 0%, #FFFFFF 60%, #C9CDE3 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: v2-grad 7s ease-in-out infinite;
}
.cr-empty-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(201, 205, 227, 0.88);
  margin: 0 0 36px;
  max-width: 58ch;
}

.cr-empty-criteria {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 205, 227, 0.16);
  border-radius: 22px;
  padding: 26px 28px 28px;
  margin-bottom: 32px;
}
.cr-empty-criteria-h {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-platinum);
  margin-bottom: 18px;
}
.cr-empty-criteria-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cr-empty-c { display: flex; align-items: flex-start; gap: 12px; }
.cr-empty-c-icon {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: rgba(201, 205, 227, 0.16);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
}
.cr-empty-c-icon svg { width: 18px; height: 18px; }
.cr-empty-c-t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-paper);
  letter-spacing: -0.005em;
}
.cr-empty-c-d {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(201, 205, 227, 0.75);
  margin-top: 2px;
}

.cr-empty-notify { margin-bottom: 36px; }
.cr-empty-notify-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  background: rgba(5, 8, 40, 0.45);
  border: 1px solid rgba(201, 205, 227, 0.22);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 640px;
}
.cr-empty-notify-row input {
  flex: 1; min-width: 200px;
  background: transparent;
  border: none; outline: none;
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
}
.cr-empty-notify-row input::placeholder {
  color: rgba(201, 205, 227, 0.55);
}
.cr-empty-notify-row .cr-btn { white-space: nowrap; }
.cr-empty-notify-note {
  font-size: 12px;
  color: rgba(201, 205, 227, 0.6);
  margin-top: 12px;
  margin-left: 22px;
}

.cr-empty-success {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: rgba(201, 205, 227, 0.10);
  border: 1px solid rgba(201, 205, 227, 0.28);
  border-radius: 18px;
  max-width: 640px;
}
.cr-empty-check {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: var(--c-platinum);
  color: var(--c-blue-d);
  display: inline-flex; align-items: center; justify-content: center;
}
.cr-empty-success strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-paper);
  margin-bottom: 2px;
}
.cr-empty-success span {
  display: block;
  font-size: 13px;
  color: rgba(201, 205, 227, 0.78);
}

.cr-empty-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 205, 227, 0.14);
}
.cr-empty-foot-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
}
.cr-empty-fk {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(201, 205, 227, 0.55);
  margin-bottom: 4px;
}
.cr-empty-fv {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-paper);
}
.cr-empty-foot .cr-btn-ghost {
  background: rgba(201, 205, 227, 0.10);
  border-color: rgba(201, 205, 227, 0.28);
  color: var(--c-paper);
}
.cr-empty-foot .cr-btn-ghost:hover {
  background: var(--c-platinum);
  color: var(--c-blue-d);
  border-color: var(--c-platinum);
}

@media (max-width: 1180px) {
  .cr-empty-wrap { padding: 44px 36px 40px; }
  .cr-empty-title { font-size: 40px; }
  .cr-empty-criteria-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cr-empty-crystal { width: 380px; height: 380px; right: -180px; }
  .cr-empty-crystal-2 { display: none; }
}
@media (max-width: 720px) {
  .cr-empty-wrap { padding: 32px 24px 28px; }
  .cr-empty-title { font-size: 30px; }
  .cr-empty-sub { font-size: 15px; }
  .cr-empty-criteria { padding: 20px; }
  .cr-empty-criteria-grid { grid-template-columns: 1fr; }
  .cr-empty-crystal { width: 280px; height: 280px; right: -180px; opacity: 0.08; }
  .cr-empty-notify-row { padding: 12px; border-radius: 18px; flex-direction: column; }
  .cr-empty-notify-row input { padding: 8px 12px; }
  .cr-empty-notify-row .cr-btn { width: 100%; justify-content: center; }
  .cr-empty-notify-note { margin-left: 0; }
  .cr-empty-foot-stats { gap: 20px; }
  .cr-empty-foot { flex-direction: column; align-items: flex-start; }
}
.cr-directions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px; margin-bottom: 56px;
}
.cr-direction {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  padding: 36px;
  overflow: hidden;
  isolation: isolate;
}
.cr-direction-bg {
  position: absolute; right: -80px; bottom: -80px;
  width: 240px; height: 240px;
  opacity: 0.06;
  z-index: 0;
}
.cr-direction-num {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--c-platinum-d);
  margin-bottom: 4px;
}
.cr-direction-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.cr-direction-icon svg { width: 28px; height: 28px; }
.cr-direction h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  max-width: 16ch;
  position: relative; z-index: 1;
}
.cr-direction p {
  margin: 0 0 24px; color: var(--c-mute);
  font-size: 15px; line-height: 1.55;
  max-width: 44ch;
  position: relative; z-index: 1;
}
.cr-direction-stats {
  display: flex; gap: 32px; align-items: baseline;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  position: relative; z-index: 1;
}
.cr-direction-stats > div { display: flex; flex-direction: column; gap: 4px; }
.cr-direction-stats .cr-ds-k {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-mute-2);
}
.cr-direction-stats .cr-ds-v {
  font-family: var(--font-display);
  font-weight: 800; font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  font-feature-settings: "tnum" 1;
}
.cr-direction-stats .cr-ds-v.cr-discount { color: var(--c-discount); }

/* Process — 6 step cards */
.cr-track {
  margin-top: 56px;
}
.cr-track-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; margin-bottom: 24px;
}
.cr-track-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--c-ink);
}
.cr-track-sub {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--c-mute-2);
  letter-spacing: 0.04em;
}
.cr-process {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
.cr-process li {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 22px 20px 22px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-process li:hover { transform: translateY(-2px); box-shadow: var(--c-shadow-soft); }
.cr-process li .cr-step-bub {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
  font-feature-settings: "tnum" 1;
}
.cr-process.cr-process-inv li .cr-step-bub {
  background: var(--c-discount-bg); color: var(--c-discount);
}
.cr-process li h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px; line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--c-ink);
}
.cr-process li p {
  font-size: 13px; line-height: 1.45; color: var(--c-mute);
  margin: 0;
}

.cr-min-entry {
  margin-top: 48px;
  position: relative;
  background: linear-gradient(135deg, #1B2185 0%, #050828 100%);
  color: var(--c-paper);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  overflow: hidden;
}
.cr-min-entry-mark {
  position: absolute; right: -50px; top: -60px;
  width: 280px; height: 280px;
  opacity: 0.10; color: var(--c-platinum);
  pointer-events: none;
}
.cr-min-entry .cr-min-text { position: relative; z-index: 1; }
.cr-min-entry h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 4px 0 0; color: var(--c-paper);
}
.cr-min-entry h4 .cr-min-accent {
  color: var(--c-platinum);
}
.cr-min-entry .cr-btn { position: relative; z-index: 1; }

/* ============================================================
   5. CALCULATOR
   ============================================================ */
/* Project select */
.cc-select-wrap { position: relative; margin: 14px 0 8px; }
.cc-select {
  width: 100%;
  appearance: none; -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 205, 227, 0.25);
  border-radius: 14px;
  padding: 16px 48px 16px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-paper);
  outline: none; cursor: pointer;
  letter-spacing: -0.005em;
  transition: border-color 200ms cubic-bezier(.2,0,0,1);
}
.cc-select:hover, .cc-select:focus { border-color: var(--c-platinum); }
.cc-select option {
  background: var(--c-blue-d); color: var(--c-paper);
  font-family: var(--font-sans); font-weight: 500;
}
.cc-select-arrow {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-platinum); pointer-events: none;
}

.cc-project-summary {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(5, 8, 40, 0.35);
  border: 1px solid rgba(201, 205, 227, 0.16);
  border-radius: 14px;
}
.cc-ps-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; font-size: 13px;
}
.cc-ps-row + .cc-ps-row {
  border-top: 1px solid rgba(201, 205, 227, 0.10);
  margin-top: 4px; padding-top: 10px;
}
.cc-ps-k { color: rgba(201, 205, 227, 0.72); }
.cc-ps-v {
  font-family: var(--font-mono); font-weight: 500;
  color: var(--c-paper); font-feature-settings: "tnum" 1;
}

.cc-scenarios {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 14px 0 8px;
}
.cc-scenario {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 205, 227, 0.20);
  border-radius: 12px;
  cursor: pointer; text-align: left;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cc-scenario:hover { border-color: var(--c-platinum); }
.cc-scenario-on { background: var(--c-platinum); border-color: var(--c-platinum); }
.cc-sc-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--c-paper);
  letter-spacing: -0.005em;
}
.cc-scenario-on .cc-sc-label { color: var(--c-blue-d); }
.cc-sc-val {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(201, 205, 227, 0.78);
  font-feature-settings: "tnum" 1;
}
.cc-scenario-on .cc-sc-val { color: var(--c-blue-d); opacity: 0.85; }
@media (max-width: 720px) { .cc-scenarios { grid-template-columns: 1fr; } }

.cr-calc-wrap {
  position: relative;
  background: linear-gradient(145deg, #1B2185 0%, #050828 70%);
  color: var(--c-paper);
  border-radius: 32px;
  overflow: hidden;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  box-shadow: var(--c-shadow-big);
}
.cr-calc-bg {
  position: absolute; right: -120px; bottom: -120px;
  width: 640px; height: 640px;
  opacity: 0.08;
  color: var(--c-platinum);
  pointer-events: none;
}
.cr-calc-inputs { position: relative; z-index: 1; }
.cr-calc-inputs h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px; letter-spacing: -0.02em;
  margin: 14px 0 32px;
  line-height: 1.05;
  color: var(--c-paper);
  max-width: 18ch;
}
.cr-cf { margin-bottom: 28px; }
.cr-cf label {
  display: block;
  font-family: var(--font-display); font-size: 11px;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-platinum); margin-bottom: 10px;
}
.cr-cf-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 205, 227, 0.3);
}
.cr-cf input[type="text"] {
  background: transparent; color: var(--c-paper);
  border: none; outline: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  flex: 1; min-width: 0;
  font-feature-settings: "tnum" 1;
}
.cr-cf-unit {
  font-family: var(--font-display);
  font-weight: 800; font-size: 32px;
  color: var(--c-platinum);
}
.cr-cf input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  margin-top: 14px;
  background: rgba(201, 205, 227, 0.25);
  border-radius: 999px;
  outline: none;
}
.cr-cf input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--c-platinum);
  border-radius: 999px;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(201, 205, 227, 0.45);
}
.cr-cf input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--c-platinum);
  border-radius: 999px;
  border: none; cursor: grab;
  box-shadow: 0 4px 12px rgba(201, 205, 227, 0.45);
}
.cr-cf-ticks {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; color: rgba(201, 205, 227, 0.55);
  margin-top: 8px;
}

.cr-calc-out {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 205, 227, 0.18);
  border-radius: 24px;
  padding: 36px 40px;
}
.cr-co-row { padding: 16px 0; border-bottom: 1px solid rgba(201, 205, 227, 0.12); }
.cr-co-row:last-of-type { border-bottom: none; }
.cr-co-k {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-platinum);
  margin-bottom: 6px;
}
.cr-co-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-paper);
  font-feature-settings: "tnum" 1;
}
.cr-co-big .cr-co-v {
  font-size: 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9CDE3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cr-calc-disc {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(201, 205, 227, 0.65);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.cr-calc-out .cr-btn { margin-top: 22px; }

/* ============================================================
   6. PROFIT FORMULA + CASE
   ============================================================ */
.cr-formula {
  display: flex; align-items: stretch; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cr-formula-cell {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  padding: 28px 36px;
  flex: 1; min-width: 220px; max-width: 320px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.cr-formula-cell.cr-fc-final {
  background: linear-gradient(135deg, #1B2185 0%, #050828 100%);
  border-color: transparent;
  color: var(--c-paper);
  box-shadow: var(--c-shadow-mid);
}
.cr-formula-cell .cr-fc-k {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-mute-2);
  margin-bottom: 8px;
}
.cr-formula-cell.cr-fc-final .cr-fc-k { color: var(--c-platinum); }
.cr-formula-cell .cr-fc-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  font-feature-settings: "tnum" 1;
  line-height: 1;
}
.cr-formula-cell.cr-fc-final .cr-fc-v { color: var(--c-platinum); font-size: 42px; }
.cr-formula-op {
  font-family: var(--font-display);
  font-weight: 800; font-size: 32px;
  color: var(--c-blue-l);
  display: flex; align-items: center;
}

.cr-case {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
}
.cr-case-col {
  padding: 32px 32px 36px;
  display: flex; flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--c-line);
  position: relative;
}
.cr-case-col:last-child { border-right: none; }
.cr-case-final {
  background: linear-gradient(155deg, #1B2185 0%, #050828 100%);
  color: var(--c-paper);
  overflow: hidden;
}
.cr-case-final-mark {
  position: absolute; right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  opacity: 0.08; color: var(--c-platinum);
  pointer-events: none;
}
.cr-case-col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--c-ink);
  position: relative; z-index: 1;
}
.cr-case-final h3 { color: var(--c-paper); }
.cr-case-final .cr-eyebrow { color: var(--c-platinum); position: relative; z-index: 1; }
.cr-case-rows {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1;
}
.cr-case-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.cr-case-row-k { color: var(--c-mute); }
.cr-case-final .cr-case-row-k { color: var(--c-platinum); opacity: 0.85; }
.cr-case-row-v {
  font-family: var(--font-mono); font-weight: 500;
  color: var(--c-ink);
  font-feature-settings: "tnum" 1;
}
.cr-case-final .cr-case-row-v { color: var(--c-paper); }
.cr-case-row-total {
  padding-top: 10px;
  border-top: 1px solid var(--c-line);
  font-weight: 700;
}
.cr-case-final .cr-case-row-total { border-top-color: rgba(201, 205, 227, 0.18); }
.cr-case-row-total .cr-case-row-v {
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--c-blue);
}
.cr-case-final .cr-case-row-total .cr-case-row-v { color: var(--c-platinum); }
.cr-case-final-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px; letter-spacing: -0.02em;
  color: var(--c-paper);
  margin-top: 8px;
  position: relative; z-index: 1;
  font-feature-settings: "tnum" 1;
}
.cr-case-disc {
  margin-top: 28px;
  font-size: 12px; line-height: 1.55;
  color: var(--c-mute);
  max-width: 80ch;
}
.cr-case-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 6px 0 22px;
  color: var(--c-ink);
}

/* ============================================================
   7. LEGAL + MODAL
   ============================================================ */
.cr-legal {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.cr-legal-points {
  list-style: none; padding: 0; margin: 28px 0 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.cr-legal-points li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; line-height: 1.5;
  color: var(--c-ink);
}
.cr-legal-points li .cr-li-icon {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.cr-legal-points li .cr-li-icon svg { width: 18px; height: 18px; }
.cr-legal-points li strong {
  display: block; font-weight: 700;
  margin-bottom: 2px; color: var(--c-ink);
}
.cr-legal-points li span {
  color: var(--c-mute);
  font-size: 14px;
}

.cr-doc-preview {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  box-shadow: var(--c-shadow-mid);
  padding: 36px;
  position: relative;
  transform: rotate(-1.5deg);
}
.cr-doc-preview::before {
  content: none; position: absolute;
  inset: -16px -10px 16px 60%;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  transform: rotate(4deg);
  z-index: -1;
  opacity: 0.6;
  box-shadow: var(--c-shadow-soft);
}
.cr-doc-title-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px;
}
.cr-doc-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 14px; color: var(--c-blue-d);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cr-doc-no {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-mute-2); margin-top: 4px;
}
.cr-doc-lines { display: flex; flex-direction: column; gap: 7px; }
.cr-doc-lines span {
  display: block; height: 8px; border-radius: 4px;
  background: var(--c-paper-2);
}
.cr-doc-lines span:nth-child(2) { width: 92%; }
.cr-doc-lines span:nth-child(3) { width: 76%; }
.cr-doc-lines span:nth-child(4) { width: 88%; }
.cr-doc-lines span:nth-child(5) { width: 64%; }
.cr-doc-amounts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 16px 0;
  margin: 16px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.cr-doc-amounts > div { display: flex; flex-direction: column; gap: 4px; }
.cr-doc-amounts .cr-da-k {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mute-2);
}
.cr-doc-amounts .cr-da-v {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 16px; color: var(--c-ink);
  font-feature-settings: "tnum" 1;
}
.cr-doc-stamp {
  width: 76px; height: 76px;
  border-radius: 999px;
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 9px; letter-spacing: 0.08em; text-align: center;
  margin-left: auto;
  transform: rotate(-12deg);
  opacity: 0.85;
  line-height: 1.3;
  margin-top: 20px;
}

/* MODAL */
.cr-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5, 8, 40, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: cr-fade 200ms cubic-bezier(.2,0,0,1);
}
@keyframes cr-fade { from { opacity: 0; } to { opacity: 1; } }
.cr-modal {
  position: relative;
  background: var(--c-paper);
  border-radius: 24px;
  width: 100%; max-width: 720px;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(5, 8, 40, 0.4);
  overflow: hidden;
}
.cr-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-line);
  background: #FFFFFF;
}
.cr-modal-head h3 {
  margin: 4px 0 0; font-size: 20px; font-weight: 800;
  letter-spacing: -0.01em; color: var(--c-ink);
  font-family: var(--font-display);
}
.cr-modal-close {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  flex: 0 0 40px;
  cursor: pointer;
}
.cr-modal-close:hover { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.cr-modal-body { overflow: auto; padding: 28px 32px; }
.cr-doc-paper {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: var(--c-shadow-soft);
  font-size: 13px; line-height: 1.55;
  color: var(--c-mute);
}
.cr-doc-paper h4 {
  text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 16px; letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 6px; color: var(--c-ink);
}
.cr-doc-paper .cr-dp-no {
  text-align: center; font-family: var(--font-mono);
  font-size: 12px; color: var(--c-mute-2); margin-bottom: 22px;
}
.cr-doc-paper p { margin: 0 0 10px; color: var(--c-mute); font-size: 13px; line-height: 1.6; }
.cr-doc-paper ol { padding-left: 22px; margin: 8px 0 14px; }
.cr-doc-paper ol li { margin-bottom: 6px; }
.cr-doc-paper .cr-dp-sh {
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-blue);
  margin: 22px 0 8px;
}
.cr-doc-paper .cr-dp-sign {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px dashed var(--c-line-2);
}
.cr-doc-paper .cr-dp-sign h6 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mute-2); margin: 0 0 8px;
}
.cr-doc-paper .cr-dp-sign p { font-size: 12px; margin: 2px 0; }
.cr-doc-paper .cr-dp-sign .cr-sline {
  display: block; height: 1px; background: var(--c-mute-2); margin: 22px 0 4px; width: 70%;
}
.cr-modal-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--c-line);
  background: #FFFFFF;
}
.cr-modal-note { font-size: 12px; color: var(--c-mute-2); max-width: 36ch; line-height: 1.5; }

/* ============================================================
   8. TEAM
   ============================================================ */
.cr-team {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cr-team-card {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  overflow: hidden;
  transition: all 240ms cubic-bezier(.2,0,0,1);
}
.cr-team-card:hover { transform: translateY(-3px); box-shadow: var(--c-shadow-mid); }
.cr-team-photo { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--c-paper-2); }
.cr-team-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; filter: saturate(0.9) contrast(1.02); }
.cr-team-body { padding: 22px 24px 26px; }
.cr-team-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.cr-team-role {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.cr-team-bio {
  font-size: 13px; line-height: 1.55; color: var(--c-mute); margin: 0;
}

/* ============================================================
   9. CASES (completed)
   ============================================================ */
.cr-cases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cr-case-card {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 240ms cubic-bezier(.2,0,0,1);
  position: relative;
}
.cr-case-card:hover { transform: translateY(-3px); box-shadow: var(--c-shadow-mid); }
.cr-case-photo { aspect-ratio: 5 / 3; position: relative; overflow: hidden; }
.cr-cc-body { padding: 20px 22px 22px; }
.cr-cc-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  margin: 4px 0 14px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.cr-cc-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 14px;
}
.cr-cc-stats > div { display: flex; flex-direction: column; gap: 2px; }
.cr-cc-k {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mute-2);
}
.cr-cc-v {
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; letter-spacing: -0.01em;
  color: var(--c-ink); font-feature-settings: "tnum" 1;
}
.cr-cc-v.cr-cc-yield { color: var(--c-discount); }
.cr-cc-v.cr-cc-sm { font-size: 14px; font-family: var(--font-mono); font-weight: 500; }
.cr-cc-foot {
  display: flex; justify-content: space-between; align-items: center;
}
.cr-cc-ref {
  font-family: var(--font-mono); font-size: 11px; color: var(--c-mute-2);
}
.cr-arrow-link {
  font-size: 13px; font-weight: 700; color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 4px;
}
.cr-arrow-link:hover { color: var(--c-blue-l); }

/* ============================================================
   10. NEWS / SOCIAL — redesigned
   ============================================================ */
.cn-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

/* Featured Telegram card */
.cn-featured {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: linear-gradient(155deg, #1B2185 0%, #050828 100%);
  color: var(--c-paper);
  border-radius: 24px;
  padding: 28px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(.2,0,0,1), box-shadow 240ms cubic-bezier(.2,0,0,1);
  box-shadow: var(--c-shadow-mid);
}
.cn-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--c-shadow-big);
}
.cn-featured::before {
  content: ""; position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201, 205, 227, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.cn-featured-phone {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.cn-phone-frame {
  position: relative;
  width: 200px;
  aspect-ratio: 9 / 18;
  background: #050828;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 0 0 1.5px rgba(201, 205, 227, 0.18),
    0 18px 40px rgba(5, 8, 40, 0.45);
  transform: rotate(-3deg);
  transition: transform 240ms cubic-bezier(.2,0,0,1);
}
.cn-featured:hover .cn-phone-frame { transform: rotate(-1deg) translateY(-2px); }
.cn-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--c-paper);
  border-radius: 22px;
  overflow: hidden;
}
.cn-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

.cn-featured-body {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cn-featured-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(201, 205, 227, 0.16);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.cn-featured-icon svg { width: 22px; height: 22px; }
.cn-featured-eyebrow {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-platinum);
}
.cn-featured-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 4px 0 8px;
  color: var(--c-paper);
}
.cn-featured-body p {
  font-size: 14px; line-height: 1.55;
  color: rgba(201, 205, 227, 0.85);
  margin: 0 0 18px;
  max-width: 34ch;
}
.cn-featured-stats {
  display: flex; gap: 28px;
  padding: 14px 0;
  border-top: 1px solid rgba(201, 205, 227, 0.16);
  border-bottom: 1px solid rgba(201, 205, 227, 0.16);
  margin-bottom: 18px;
}
.cn-featured-stats > div { display: flex; flex-direction: column; gap: 2px; }
.cn-fs-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--c-paper);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}
.cn-fs-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(201, 205, 227, 0.65);
}
.cn-featured-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--c-platinum);
  color: var(--c-blue-d);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-top: auto;
  transition: background 200ms cubic-bezier(.2,0,0,1);
}
.cn-featured:hover .cn-featured-action { background: #FFFFFF; }

/* Side socials stack */
.cn-side {
  display: flex; flex-direction: column;
  gap: 12px;
}
.cn-social {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 200ms cubic-bezier(.2,0,0,1);
  flex: 1;
}
.cn-social:hover {
  transform: translateY(-2px);
  box-shadow: var(--c-shadow-soft);
  border-color: var(--c-blue);
}
.cn-social-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 14px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.cn-social-icon svg { width: 22px; height: 22px; }
.cn-social-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cn-social-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--c-ink);
}
.cn-social-body span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-mute-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cn-social-arrow {
  width: 32px; height: 32px; flex: 0 0 32px;
  border-radius: 999px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cn-social:hover .cn-social-arrow {
  background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink);
}
.cn-social-arrow svg { width: 14px; height: 14px; }

@media (max-width: 1180px) {
  .cn-grid { grid-template-columns: 1fr; }
  .cn-featured { grid-template-columns: 180px 1fr; padding: 24px; }
  .cn-phone-frame { width: 180px; }
}
@media (max-width: 720px) {
  .cn-featured { grid-template-columns: 1fr; gap: 20px; }
  .cn-featured-phone { justify-content: flex-start; }
  .cn-phone-frame { width: 160px; transform: rotate(-2deg); }
  .cn-featured-body h3 { font-size: 20px; }
}

/* ============================================================
   10. NEWS / SOCIAL — legacy (keep, but unused on main)
   ============================================================ */
.cr-phone-mock {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px;
}
.cr-phone-frame {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19;
  background: #0A0E2A;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1B2185,
    0 30px 60px rgba(5, 8, 40, 0.30),
    0 12px 28px rgba(5, 8, 40, 0.20);
}
.cr-phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #050828;
  border-radius: 999px;
  z-index: 2;
}
.cr-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #E8EAF4;
  border-radius: 32px;
  overflow: hidden;
}
.cr-phone-screenshot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.cr-phone-caption {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--c-mute);
  letter-spacing: 0.04em;
}
.cr-phone-caption svg { flex: 0 0 18px; }
.cr-news {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.cr-tg-preview {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.cr-tg-head {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
}
.cr-tg-avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3A40B8 0%, #050828 100%);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
}
.cr-tg-avatar svg { width: 22px; height: 22px; fill: currentColor; }
.cr-tg-head-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cr-tg-channel {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--c-ink); letter-spacing: -0.005em;
}
.cr-tg-sub {
  font-size: 12px; color: var(--c-mute-2);
}
.cr-tg-body {
  background: var(--c-paper-2);
  padding: 20px 22px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 320px;
}
.cr-tg-msg {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px 18px;
  align-self: flex-start;
  max-width: 90%;
  box-shadow: var(--c-shadow-soft);
}
.cr-tg-date {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-mute-2); margin-bottom: 4px;
}
.cr-tg-msg p { font-size: 13px; line-height: 1.5; color: var(--c-mute); margin: 0; }
.cr-tg-msg strong { color: var(--c-ink); }
.cr-tg-views {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-mute-2); margin-top: 6px;
}

.cr-socials {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cr-social {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all 240ms cubic-bezier(.2,0,0,1);
}
.cr-social:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  box-shadow: var(--c-shadow-mid);
}
.cr-social-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.cr-social-icon svg { width: 22px; height: 22px; }
.cr-social-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; margin: 0; letter-spacing: -0.005em;
  color: var(--c-ink);
}
.cr-social-handle {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--c-mute-2); margin: 0;
}
.cr-social-action {
  margin-top: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ============================================================
   11. FAQ
   ============================================================ */
.cr-faq {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 920px; margin: 0 auto;
}
.cr-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  overflow: hidden;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-faq-item.cr-faq-open {
  border-color: var(--c-blue);
  box-shadow: var(--c-shadow-soft);
}
.cr-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  background: transparent; border: none; width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  cursor: pointer;
}
.cr-faq-q:hover { color: var(--c-blue); }
.cr-faq-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--c-paper-2);
  color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-faq-item.cr-faq-open .cr-faq-icon {
  background: var(--c-ink); color: var(--c-paper);
  transform: rotate(45deg);
}
.cr-faq-icon svg { width: 16px; height: 16px; }
.cr-faq-a { overflow: hidden; max-height: 0; transition: max-height 360ms cubic-bezier(.2,0,0,1); }
.cr-faq-item.cr-faq-open .cr-faq-a { max-height: 600px; }
.cr-faq-a-inner {
  padding: 0 26px 24px;
  font-size: 15px; line-height: 1.6;
  color: var(--c-mute);
  max-width: 72ch;
}

/* ============================================================
   12. APPLY (sapphire deep)
   ============================================================ */
.cr-apply-wrap {
  position: relative;
  background: linear-gradient(155deg, #1B2185 0%, #050828 80%);
  color: var(--c-paper);
  border-radius: 32px;
  overflow: hidden;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  box-shadow: var(--c-shadow-big);
}
.cr-apply-bg {
  position: absolute; left: -180px; top: -100px;
  width: 720px; height: 720px;
  opacity: 0.06; color: var(--c-platinum);
  pointer-events: none;
}
.cr-apply-copy { position: relative; z-index: 1; }
.cr-apply-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 22px;
  color: var(--c-paper);
  text-wrap: balance;
}
.cr-apply-copy p {
  color: rgba(201, 205, 227, 0.85);
  font-size: 16px; line-height: 1.6;
  max-width: 38ch;
  margin: 0 0 32px;
}
.cr-guarantees { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.cr-guarantees li {
  display: flex; gap: 14px;
  color: rgba(237, 239, 248, 0.92);
  font-size: 14px; line-height: 1.5;
}
.cr-guarantees li .cr-li-icon {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 12px;
  background: rgba(201, 205, 227, 0.12);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
}
.cr-guarantees li .cr-li-icon svg { width: 20px; height: 20px; }
.cr-guarantees li strong {
  display: block; font-weight: 700;
  color: var(--c-paper); margin-bottom: 2px;
}

.cr-form-card {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 32px;
  color: var(--c-ink);
  box-shadow: var(--c-shadow-mid);
}
.cr-fr { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cr-fr-2 { grid-template-columns: 1fr 1fr; }
.cr-ff { display: flex; flex-direction: column; gap: 6px; }
.cr-ff label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-mute-2);
}
.cr-ff input {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500;
  padding: 13px 16px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-paper);
  color: var(--c-ink); outline: none;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-ff input:focus {
  border-color: var(--c-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(58, 64, 184, 0.18);
}
.cr-fmsg {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cr-mp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  font-size: 13px; font-weight: 600;
  color: var(--c-mute);
  cursor: pointer;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-mp:hover { border-color: var(--c-blue); }
.cr-mp.cr-mp-on {
  background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink);
}
.cr-mp svg { width: 14px; height: 14px; }

.cr-arange { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-arange button {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600;
  color: var(--c-mute);
  cursor: pointer; text-align: left;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-arange button:hover { border-color: var(--c-blue); }
.cr-arange button.cr-on {
  background: var(--c-paper-2); color: var(--c-ink);
  border-color: var(--c-blue);
}

.cr-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; line-height: 1.5;
  color: var(--c-mute-2);
  margin: 24px 0 18px;
}
.cr-consent input { margin-top: 2px; flex: 0 0 16px; accent-color: var(--c-blue); }
.cr-consent a { color: var(--c-blue); }

.cr-form-success { text-align: center; padding: 24px 0; }
.cr-form-success-icon {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--c-discount-bg); color: var(--c-discount);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cr-form-success h4 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px;
  margin: 0 0 10px;
  color: var(--c-ink); letter-spacing: -0.01em;
}
.cr-form-success p { color: var(--c-mute); font-size: 14px; max-width: 36ch; margin: 0 auto; }

/* ============================================================
   13. CONTACTS
   ============================================================ */
.cr-contacts {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}
.cr-contacts-info {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.cr-ci-row { display: flex; flex-direction: column; gap: 4px; }
.cr-ci-row .cr-ci-v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--c-ink);
}
.cr-ci-row .cr-ci-v.cr-ci-mono {
  font-family: var(--font-mono); font-weight: 500; font-size: 15px;
}

.cr-map {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 420px;
}
.cr-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-map-tile {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--c-paper-2);
}
.cr-map-2gis {
  position: absolute; top: 16px; right: 16px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--c-mute);
  z-index: 2;
  box-shadow: var(--c-shadow-soft);
}
.cr-map-pin {
  position: absolute; top: 38%; left: 48%;
  width: 44px; height: 44px;
  transform: translate(-50%, -100%);
  color: var(--c-blue);
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(5, 8, 40, 0.4));
}
.cr-map-pin svg { width: 100%; height: 100%; }
.cr-map-overlay {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--c-shadow-mid);
  z-index: 2;
}
.cr-map-overlay .cr-map-mark {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1B2185 0%, #050828 100%);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 48px;
}
.cr-map-overlay .cr-map-mark svg { width: 22px; height: 22px; }
.cr-map-overlay-text { flex: 1; }
.cr-map-overlay-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--c-ink); margin-bottom: 2px;
}
.cr-map-overlay-text span { font-size: 13px; color: var(--c-mute-2); }

/* ============================================================
   14. FOOTER
   ============================================================ */
.cr-footer {
  background: linear-gradient(180deg, #0B1052 0%, #050828 100%);
  color: var(--c-platinum);
  padding: 72px 48px 32px;
  margin-top: 64px;
  border-top: 1px solid var(--c-line);
}
.cr-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 205, 227, 0.15);
  max-width: 1320px; margin: 0 auto;
}
.cr-footer-logo .cr-name strong { color: var(--c-paper); }
.cr-footer-logo .cr-name span { color: var(--c-platinum); opacity: 0.7; }
.cr-footer-about {
  margin: 18px 0 0;
  font-size: 13px; line-height: 1.55;
  color: var(--c-platinum); opacity: 0.7;
  max-width: 36ch;
}
.cr-footer h6 {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-platinum); opacity: 0.6;
  margin: 0 0 18px;
}
.cr-footer a,
.cr-footer-grid > div > span {
  display: block;
  font-size: 14px;
  color: var(--c-platinum);
  padding: 6px 0;
  transition: color 200ms cubic-bezier(.2,0,0,1);
}
.cr-footer a:hover { color: var(--c-paper); }
.cr-footer-grid > div > span { cursor: default; }
.cr-footer-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 12px; color: var(--c-platinum); opacity: 0.55;
  max-width: 1320px; margin: 0 auto;
}

/* ============================================================
   MOBILE MENU — branded (sapphire gradient, platinum accents)
   ============================================================ */
.cr-mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: linear-gradient(165deg, #1B2185 0%, #0B1052 55%, #050828 100%);
  color: var(--c-paper);
  display: flex; flex-direction: column;
  padding: 20px 20px 28px;
  overflow: hidden;
  animation: cr-slide-down 280ms cubic-bezier(.2,0,0,1);
  isolation: isolate;
}
@keyframes cr-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cr-mobile-menu-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 205, 227, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.cr-mobile-menu-crystal {
  position: absolute;
  right: -180px; top: -120px;
  width: 480px; height: 480px;
  color: var(--c-platinum);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.cr-mobile-menu-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 205, 227, 0.16);
}
.cr-mobile-logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--c-paper);
}
.cr-mobile-logo .cr-mark { color: var(--c-platinum); width: 28px; height: 28px; }
.cr-mobile-logo .cr-name { display: flex; flex-direction: column; line-height: 1; }
.cr-mobile-logo .cr-name strong {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-paper);
}
.cr-mobile-logo .cr-name span {
  font-size: 8px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-platinum); opacity: 0.7;
  margin-top: 4px;
}
.cr-mobile-close {
  position: static;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(201, 205, 227, 0.10);
  border: 1px solid rgba(201, 205, 227, 0.22);
  color: var(--c-paper);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex: 0 0 42px;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-mobile-close:hover { background: var(--c-platinum); color: var(--c-blue-d); border-color: var(--c-platinum); }
.cr-mobile-close svg { width: 18px; height: 18px; }
.cr-mobile-nav {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 24px 0 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.cr-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(201, 205, 227, 0.08);
  border: 1px solid rgba(201, 205, 227, 0.16);
  border-radius: 16px;
  color: var(--c-paper);
  text-decoration: none;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-mobile-link:hover,
.cr-mobile-link:active {
  background: rgba(201, 205, 227, 0.18);
  border-color: var(--c-platinum);
  transform: translateY(-1px);
}
.cr-mobile-link-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}
.cr-mobile-link-arrow {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 999px;
  background: var(--c-platinum);
  color: var(--c-blue-d);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms cubic-bezier(.2,0,0,1);
}
.cr-mobile-link:hover .cr-mobile-link-arrow,
.cr-mobile-link:active .cr-mobile-link-arrow {
  transform: translateX(2px);
}
.cr-mobile-link-arrow svg { width: 16px; height: 16px; }

.cr-mobile-foot {
  position: relative; z-index: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 205, 227, 0.16);
  display: flex; flex-direction: column; gap: 14px;
}
.cr-mobile-foot .cr-btn-platinum {
  font-size: 14px;
  padding: 14px 22px;
}
.cr-mobile-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(201, 205, 227, 0.08);
  border: 1px solid rgba(201, 205, 227, 0.16);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500;
  color: var(--c-paper);
  text-decoration: none;
}
.cr-mobile-phone:hover { background: rgba(201, 205, 227, 0.18); }
.cr-mobile-phone svg { color: var(--c-platinum); }
.cr-mobile-msgs {
  display: flex; gap: 10px; justify-content: center;
}
.cr-mobile-msgs a {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(201, 205, 227, 0.08);
  border: 1px solid rgba(201, 205, 227, 0.16);
  color: var(--c-platinum);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 200ms cubic-bezier(.2,0,0,1);
}
.cr-mobile-msgs a:hover {
  background: var(--c-platinum);
  color: var(--c-blue-d);
  border-color: var(--c-platinum);
}
.cr-mobile-msgs svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1400px) {
  .cr-hero-crystal { width: 640px; height: 640px; right: -300px; top: -40px; opacity: 0.65; }
  .cr-hero h1 { font-size: 84px; }
  .cr-hero-inner { max-width: 60%; }
}

@media (max-width: 1180px) {
  .cr-section { padding: 88px 32px; }
  .cr-header { padding: 14px 32px; }
  .cr-hero { padding: 64px 32px 80px; }
  .cr-hero h1 { font-size: 72px; }
  .cr-hero-inner { max-width: 100%; }
  .cr-hero-crystal { width: 560px; height: 560px; right: -280px; opacity: 0.35; }
  .cr-h2 { font-size: 44px; }
  .cr-projects-grid { grid-template-columns: 1fr 1fr; }
  /* Centered narrow variants at this breakpoint */
  .cr-projects-grid--n1 { grid-template-columns: minmax(0, 50%); }
  .cr-projects-grid--n2 { grid-template-columns: 1fr 1fr; }
  .cr-pc.cr-pc-feat { grid-row: span 1; grid-column: span 2; }
  /* When centered, don't let the featured card span 2 columns (it'd reach edges again) */
  .cr-projects-grid--n1 .cr-pc.cr-pc-feat,
  .cr-projects-grid--n2 .cr-pc.cr-pc-feat { grid-column: span 1; }
  .cr-pc.cr-pc-feat .cr-pc-yield { font-size: 56px; }
  .cr-pc-empty { grid-column: span 2; }
  .cr-process { grid-template-columns: repeat(3, 1fr); }
  .cr-calc-wrap { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .cr-apply-wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .cr-news { grid-template-columns: 1fr; }
  .cr-legal { grid-template-columns: 1fr; gap: 48px; }
  .cr-team { grid-template-columns: repeat(2, 1fr); }
  .cr-cases { grid-template-columns: repeat(2, 1fr); }
  .cr-contacts { grid-template-columns: 1fr; }
  .cr-case { grid-template-columns: 1fr; }
  .cr-case-col { border-right: none; border-bottom: 1px solid var(--c-line); }
  .cr-case-col:last-child { border-bottom: none; }
  .cr-trust { padding: 22px 24px; }
  .cr-trust .cr-tn { font-size: 30px; }
  .cr-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MOBILE (≤ 720px) — переработано: горизонтальные скроллы для
   карточек, упрощённый калькулятор, компактный подвал и форма.
   ============================================================ */
@media (max-width: 720px) {
  /* ---------- Layout / sections ---------- */
  .cr-section { padding: 48px 16px; }
  .cr-section-tight { padding-top: 16px; }
  .cr-section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .cr-section-head .cr-meta-block { text-align: left; max-width: none; }
  .cr-h2 { font-size: 30px !important; max-width: none; }
  .cr-eyebrow { font-size: 10px; }
  .cr-btn { padding: 13px 22px; font-size: 14px; }
  .cr-btn-sm { padding: 9px 16px; font-size: 12px; }

  /* ---------- Header ---------- */
  .cr-header {
    grid-template-columns: auto 1fr auto;
    padding: 10px 16px;
    gap: 8px;
  }
  .cr-nav, .cr-msg-row { display: none; }
  .cr-header-cta { gap: 8px; }
  .cr-header-cta .cr-btn,
  .cr-header-cta .cr-phone { display: none; }
  .cr-burger { display: inline-flex; width: 42px; height: 42px; }
  .cr-logo .cr-mark { width: 28px; height: 28px; }
  .cr-logo .cr-name strong { font-size: 13px; letter-spacing: 0.12em; }
  .cr-logo .cr-name span { font-size: 8px; }

  /* ---------- Hero — eyebrow line gets a pill background so it doesn't
     blend into the logo / sapphire watermark ---------- */
  .cr-hero .cr-eyebrow {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 7px 14px 7px 12px;
    color: var(--c-blue-d);
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    box-shadow: 0 4px 14px rgba(11, 16, 82, 0.06);
  }
  .cr-hero .cr-eyebrow::before { display: none; }

  /* ---------- Hero ---------- */
  .cr-hero { padding: 28px 16px 48px; }
  .cr-hero-crystal {
    width: 360px; height: 360px;
    right: -240px; top: -60px;
    opacity: 0.12;
  }
  .cr-hero-grid { background-size: 22px 22px; opacity: 0.35; }
  .cr-hero-inner { max-width: 100%; }
  .cr-hero h1 {
    font-size: 36px;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-top: 18px;
    overflow-wrap: break-word;
  }
  /* Accent text wraps within container instead of overflowing */
  .cr-hero h1 .cr-h-accent {
    white-space: normal;
    display: inline-block;
  }
  .cr-hero h1 br { display: none; }
  .cr-hero-sub {
    font-size: 15px;
    line-height: 1.45;
    margin: 18px 0 24px;
    max-width: 100%;
  }
  .cr-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 32px;
  }
  .cr-hero-actions .cr-btn { width: 100%; justify-content: center; }

  .cr-trust {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 18px;
    border-radius: 18px;
  }
  .cr-trust > div {
    border-right: none;
    padding: 14px 12px;
  }
  .cr-trust > div:nth-child(odd)  { border-right: 1px solid var(--c-line); }
  .cr-trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
  .cr-trust .cr-tn { font-size: 26px; }
  .cr-trust .cr-tn span { font-size: 18px; }
  .cr-trust .cr-tk { font-size: 11px; }

  /* ============================================================
     Universal horizontal-scroll helper — applied to several grids.
     The trick: break out of the section's 16px padding using
     negative margin, restore inner padding so cards line up with
     the header. CSS-only — no JSX changes needed.
     ============================================================ */
  .cr-projects-grid,
  .cr-directions,
  .cr-process,
  .cr-team,
  .cr-cases {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px 14px;
    margin: 0 -16px;
    width: auto;
    justify-content: flex-start !important;
  }
  .cr-projects-grid::-webkit-scrollbar,
  .cr-directions::-webkit-scrollbar,
  .cr-process::-webkit-scrollbar,
  .cr-team::-webkit-scrollbar,
  .cr-cases::-webkit-scrollbar { display: none; }

  /* Projects */
  .cr-projects-grid > .cr-pc {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .cr-pc.cr-pc-feat .cr-pc-yield { font-size: 48px; }
  .cr-pc.cr-pc-feat .cr-pc-title { font-size: 22px; }
  .cr-pc.cr-pc-feat .cr-pc-stats { grid-template-columns: repeat(2, 1fr); }
  .cr-pc-empty { flex: 0 0 82% !important; max-width: 82%; }
  .cr-pc-empty-body { flex-direction: column; align-items: flex-start; padding: 22px 24px; gap: 14px; }

  .cr-projects-expand { margin-top: 20px; }

  /* Directions */
  .cr-directions { margin-bottom: 32px; }
  .cr-directions > .cr-direction {
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
    padding: 28px 24px;
  }
  .cr-direction h3 { font-size: 24px; }
  .cr-direction p { font-size: 14px; }
  .cr-direction-stats { gap: 22px; }
  .cr-direction-stats .cr-ds-v { font-size: 22px; }

  /* Process steps */
  .cr-process > li {
    flex: 0 0 70%;
    max-width: 70%;
    scroll-snap-align: start;
    padding: 18px 18px 20px;
  }
  .cr-track { margin-top: 36px; }
  .cr-track-head h3 { font-size: 22px; }

  /* Team */
  .cr-team > .cr-team-card {
    flex: 0 0 72%;
    max-width: 72%;
    scroll-snap-align: start;
  }
  .cr-team-body { padding: 18px 20px 22px; }
  .cr-team-name { font-size: 19px; }

  /* Cases (completed projects card grid) */
  .cr-cases > .cr-case-card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }

  /* ---------- "Case" (big 3-column comparison) ---------- */
  /* This is the big break-even comparison block, not the case cards above. */
  .cr-case { grid-template-columns: 1fr; border-radius: 18px; }
  .cr-case-col {
    padding: 24px 20px 26px;
    border-right: none;
    border-bottom: 1px solid var(--c-line);
  }
  .cr-case-col:last-child { border-bottom: none; }
  .cr-case-col h3 { font-size: 19px; }
  .cr-case-name { font-size: 20px; margin: 4px 0 16px; }
  .cr-case-row { font-size: 13px; }
  .cr-case-final-big { font-size: 32px; }
  .cr-case-row-total .cr-case-row-v { font-size: 17px; }
  .cr-case-disc { margin-top: 20px; font-size: 11px; }

  /* ---------- Formula — one row, tight ---------- */
  .cr-formula {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    margin: 0 -16px 28px;
    padding: 2px 16px 10px;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .cr-formula::-webkit-scrollbar { display: none; }
  .cr-formula-cell {
    padding: 14px 12px;
    min-width: 0;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    border-radius: 14px;
  }
  .cr-formula-cell .cr-fc-k { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 4px; }
  .cr-formula-cell .cr-fc-v { font-size: 18px; }
  .cr-formula-cell.cr-fc-final .cr-fc-v { font-size: 20px; }
  .cr-formula-op {
    font-size: 18px;
    transform: none;
    padding: 0 2px;
    flex: 0 0 auto;
  }

  /* ---------- Empty projects block ---------- */
  .cr-min-entry { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: 18px; }
  .cr-min-entry h4 { font-size: 20px; }
  .cr-min-entry .cr-btn { width: 100%; justify-content: center; }

  /* ---------- Calculator (simplified) ---------- */
  .cr-calc-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
    border-radius: 22px;
  }
  .cr-calc-bg { width: 360px; height: 360px; right: -160px; bottom: -160px; opacity: 0.05; }
  .cr-calc-inputs h2 { font-size: 24px; margin: 8px 0 20px; max-width: none; }
  .cr-cf { margin-bottom: 18px; }
  .cr-cf label { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 6px; }
  .cr-cf-row { padding: 10px 0; }
  .cr-cf input[type="text"] { font-size: 26px; }
  .cr-cf-unit { font-size: 20px; }
  .cr-cf input[type="range"] { margin-top: 12px; }
  .cr-cf-ticks { font-size: 10px; }
  .cc-select { font-size: 14px; padding: 13px 42px 13px 14px; border-radius: 12px; }
  .cc-project-summary { padding: 12px 14px; border-radius: 12px; }
  .cc-ps-row { font-size: 12px; padding: 4px 0; }
  .cc-scenarios { grid-template-columns: 1fr; gap: 6px; }
  .cc-scenario { padding: 10px 12px; }
  .cr-calc-out {
    padding: 22px 20px;
    border-radius: 18px;
  }
  .cr-co-row { padding: 12px 0; }
  .cr-co-k { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 4px; }
  .cr-co-v { font-size: 28px; }
  .cr-co-big .cr-co-v { font-size: 40px; }
  .cr-calc-disc { font-size: 10px; margin-top: 14px; }
  .cr-calc-out .cr-btn { margin-top: 16px; width: 100%; justify-content: center; }

  /* ---------- News / Social — no phone mockup, full-width cards ---------- */
  .cn-grid { grid-template-columns: 1fr; gap: 12px; }
  .cn-featured {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 20px;
    gap: 16px;
  }
  .cn-featured-phone { display: none; }    /* убираем мокап телефона */
  .cn-featured::before { width: 220px; height: 220px; right: -100px; top: -100px; }
  .cn-featured-icon { width: 36px; height: 36px; margin-bottom: 2px; }
  .cn-featured-icon svg { width: 18px; height: 18px; }
  .cn-featured-eyebrow { font-size: 9px; letter-spacing: 0.14em; }
  .cn-featured-body h3 { font-size: 19px; line-height: 1.2; margin: 2px 0 6px; }
  .cn-featured-body p { font-size: 13px; margin-bottom: 14px; max-width: none; }
  .cn-featured-stats { gap: 18px; padding: 10px 0; margin-bottom: 14px; }
  .cn-fs-v { font-size: 17px; }
  .cn-fs-k { font-size: 10px; }
  .cn-featured-action { padding: 9px 14px; font-size: 12px; }
  .cn-side { gap: 10px; }
  .cn-social {
    padding: 14px 16px;
    border-radius: 16px;
    gap: 12px;
  }
  .cn-social-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; }
  .cn-social-icon svg { width: 18px; height: 18px; }
  .cn-social-body h4 { font-size: 15px; }
  .cn-social-body span { font-size: 11px; }
  .cn-social-arrow { width: 28px; height: 28px; flex: 0 0 28px; }

  /* ---------- Apply / Form ---------- */
  .cr-apply-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px;
    border-radius: 22px;
  }
  .cr-apply-bg { width: 360px; height: 360px; left: -160px; top: -120px; opacity: 0.04; }
  .cr-apply-copy h2 { font-size: 26px; margin: 8px 0 16px; }
  .cr-apply-copy p { font-size: 14px; margin-bottom: 22px; max-width: none; }
  .cr-guarantees { gap: 12px; }
  .cr-guarantees li { font-size: 13px; gap: 12px; }
  .cr-guarantees li .cr-li-icon { width: 34px; height: 34px; flex: 0 0 34px; }
  .cr-guarantees li .cr-li-icon svg { width: 16px; height: 16px; }
  .cr-form-card { padding: 20px; border-radius: 18px; }
  .cr-fr { gap: 12px; }
  .cr-fr-2 { grid-template-columns: 1fr; }
  .cr-ff input { padding: 11px 14px; font-size: 14px; border-radius: 12px; }
  .cr-ff label { font-size: 10px; letter-spacing: 0.12em; }
  .cr-mp { padding: 8px 12px; font-size: 12px; }
  .cr-arange button { padding: 10px 12px; font-size: 12px; }
  .cr-consent { font-size: 11px; margin: 18px 0 12px; }
  .cr-form-card .cr-btn { width: 100%; justify-content: center; }

  /* ---------- Contacts + Map ---------- */
  .cr-contacts { grid-template-columns: 1fr; gap: 14px; }
  .cr-contacts-info {
    padding: 22px 20px;
    border-radius: 18px;
    gap: 18px;
  }
  .cr-ci-row .cr-ci-v { font-size: 15px; }
  .cr-ci-row .cr-ci-v.cr-ci-mono { font-size: 13px; }
  .cr-map { min-height: 280px; border-radius: 18px; }
  .cr-map-overlay {
    bottom: 10px; left: 10px; right: 10px;
    padding: 12px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  .cr-map-overlay .cr-map-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; }
  .cr-map-overlay .cr-map-mark svg { width: 16px; height: 16px; }
  .cr-map-overlay-text strong { font-size: 13px; }
  .cr-map-overlay-text span { font-size: 11px; }
  .cr-map-2gis { padding: 6px 10px; font-size: 10px; top: 10px; right: 10px; }
  .cr-map-pin { width: 32px; height: 32px; }

  /* ---------- Modal / docs ---------- */
  .cr-doc-preview { padding: 22px 20px; transform: rotate(-1deg); }
  .cr-modal-body { padding: 18px; }
  .cr-doc-paper { padding: 22px 18px; font-size: 12px; }
  .cr-modal-head { padding: 16px 20px; }
  .cr-modal-head h3 { font-size: 17px; }
  .cr-modal-foot { padding: 14px 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .cr-modal-note { max-width: none; }
  .cr-modal-foot .cr-btn { width: 100%; justify-content: center; }

  /* ---------- FAQ ---------- */
  .cr-faq-q { padding: 18px 20px; font-size: 15px; gap: 14px; }
  .cr-faq-a-inner { padding: 0 20px 20px; font-size: 14px; }
  .cr-faq-icon { width: 30px; height: 30px; flex: 0 0 30px; }

  /* ---------- Footer (compact) ---------- */
  .cr-footer {
    padding: 40px 20px 20px;
    margin-top: 40px;
  }
  .cr-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding-bottom: 28px;
  }
  /* «О компании» — на всю ширину сверху */
  .cr-footer-grid > div:first-child { grid-column: span 2; }
  .cr-footer h6 { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 10px; }
  .cr-footer a,
  .cr-footer-grid > div > span { font-size: 12px; padding: 4px 0; }
  .cr-footer-about { margin-top: 12px; font-size: 12px; max-width: none; }
  .cr-footer-logo .cr-mark { width: 28px; height: 28px; }
  .cr-footer-logo .cr-name strong { font-size: 13px; }
  .cr-footer-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 18px;
    font-size: 11px;
  }
}

/* Very small screens (≤ 380px) — tighter still */
@media (max-width: 380px) {
  .cr-hero h1 { font-size: 30px; }
  .cr-h2 { font-size: 26px !important; }
  .cr-projects-grid > .cr-pc { flex-basis: 86%; max-width: 86%; }
  .cr-directions > .cr-direction { flex-basis: 90%; max-width: 90%; }
  .cr-process > li { flex-basis: 78%; max-width: 78%; }
  .cr-team > .cr-team-card { flex-basis: 80%; max-width: 80%; }
  .cr-cases > .cr-case-card { flex-basis: 86%; max-width: 86%; }
  .cr-trust .cr-tn { font-size: 22px; }
  .cr-cf input[type="text"] { font-size: 22px; }
  .cr-co-big .cr-co-v { font-size: 34px; }
  .cr-formula-cell .cr-fc-v { font-size: 16px; }
  .cr-formula-cell.cr-fc-final .cr-fc-v { font-size: 17px; }
}
