/* ===== App styles (ИЦЦ rebrand) ===== */

/* ============ NAVBAR ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(22,26,44,0.06);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav.on-dark {
  background: rgba(11,27,46,0.62);
  border-bottom-color: rgba(255,255,255,0.06);
  color: var(--text-on-dark);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand-logo { height: 44px; width: auto; display: block; }
.nav.on-dark .nav-brand-logo.color { display: none; }
.nav-brand-logo.white { display: none; }
.nav.on-dark .nav-brand-logo.white { display: block; }

.nav-menu { display: flex; gap: 4px; margin-left: auto; }
.nav-menu a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: background .15s ease, color .15s ease;
}
.nav.on-dark .nav-menu a { color: var(--text-on-dark-muted); }
.nav-menu a:hover { background: var(--brand-purple-50); color: var(--brand-purple-700); }
.nav.on-dark .nav-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-menu a.active { color: var(--brand-purple-700); background: var(--brand-purple-50); }
.nav.on-dark .nav-menu a.active { color: #fff; background: rgba(255,255,255,0.10); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  background: var(--surface);
}
.nav.on-dark .lang-switch { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.lang-switch button {
  background: transparent; color: var(--text-secondary); border: 0;
  padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.nav.on-dark .lang-switch button { color: var(--text-on-dark-muted); }
.lang-switch button.on { background: var(--brand-purple-500); color: #fff; }
.nav.on-dark .lang-switch button.on { background: var(--brand-teal-500); color: #fff; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; align-items: center; justify-content: center; color: var(--text); }
.nav.on-dark .burger { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: #fff; }

@media (max-width: 1023px) {
  .nav-menu { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 639px) {
  .nav-brand-logo { height: 36px; }
  .lang-switch { display: none; }
}

.mobile-sheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: var(--surface); padding: 24px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-sheet.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-sheet a {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 18px; font-weight: 500; color: var(--text);
}
.mobile-sheet .lang-row { margin-top: 20px; display: flex; gap: 12px; align-items: center; }

/* ============ HERO (LIGHT, brand colors, 3D image right) ============ */
.hero {
  position: relative;
  background: var(--bg);
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 540px at 88% 38%, rgba(91,71,214,0.10), transparent 60%),
    radial-gradient(700px 460px at 12% 90%, rgba(16,176,128,0.08), transparent 60%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-purple-500);
}
.hero-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--brand-purple-500); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.04;
  font-size: clamp(36px, 4.2vw, 58px);
  margin: 24px 0 0;
  color: var(--text);
  hyphens: manual;
}
.hero-title .accent-purple { color: var(--brand-purple-500); }
.hero-title .accent-teal   { color: var(--brand-teal-500); }
.hero-lead {
  font-size: 18px; line-height: 1.6; color: var(--text-secondary);
  max-width: 540px; margin-top: 24px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, auto); gap: 48px; max-width: 540px;
}
.hero-meta-item .v { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: -.02em; color: var(--text); }
.hero-meta-item .v.purple { color: var(--brand-purple-500); }
.hero-meta-item .v.teal { color: var(--brand-teal-500); }
.hero-meta-item .l { font-size: 12px; color: var(--text-muted); margin-top: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 779;
}
.hero-visual img {
  width: 100%; height: 100%; display: block; object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(91, 71, 214, 0.18)) drop-shadow(0 8px 24px rgba(16, 176, 128, 0.10));
}

@media (max-width: 1023px) {
  .hero { padding: 64px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-visual { order: -1; }
}
@media (max-width: 639px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* ============ TRUST STRIP (партнёры под hero) ============ */
.trust {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-inner { display: flex; align-items: center; gap: 40px; }
.trust-label {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); flex-shrink: 0; max-width: 130px; line-height: 1.4;
}
.trust-logos {
  flex: 1; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  align-items: center; gap: 24px;
}
.trust-logos img {
  max-width: 100%;
  max-height: 44px;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter .2s ease;
}
.trust-logos img:hover { filter: grayscale(0%) opacity(1); }
@media (max-width: 1023px) { .trust-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; } .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; } }
@media (max-width: 639px) { .trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .trust-logos img { max-height: 32px; } }
@media (max-width: 419px) { .trust-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ============ SECTIONS ============ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head .left { max-width: 720px; }
.section-head .left .eyebrow { display: block; margin-bottom: 14px; }
.section-head .left h2 { margin: 0; }
.section-head .left p.lead { color: var(--text-secondary); font-size: 17px; line-height: 1.6; margin-top: 16px; }
.section-head .right { color: var(--text-muted); font-size: 14px; display: flex; gap: 16px; align-items: center; flex-shrink: 0; }
@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
}

/* ============ DIRECTIONS (7 hexagon cards) ============ */
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir-grid > :nth-child(5) { grid-column: 1 / 2; }
.dir-grid > :nth-child(6) { grid-column: 2 / 3; }
.dir-grid > :nth-child(7) { grid-column: 3 / 5; }
.dir-card {
  position: relative;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px; min-height: 220px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dir-card:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.dir-card.accent-purple:hover { box-shadow: var(--shadow-brand); }
.dir-card.accent-teal:hover   { box-shadow: var(--shadow-teal); }
.dir-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.dir-card.accent-purple::after { background: var(--brand-purple-500); }
.dir-card.accent-teal::after { background: var(--brand-teal-500); }
.dir-card:hover::after { transform: scaleX(1); }

.hex-icon {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
}
.dir-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.dir-title .code { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.dir-card.accent-purple .dir-title .code { color: var(--brand-purple-500); }
.dir-card.accent-teal .dir-title .code { color: var(--brand-teal-500); }
.dir-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.dir-link { font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.dir-card.accent-purple .dir-link { color: var(--brand-purple-500); }
.dir-card.accent-teal .dir-link { color: var(--brand-teal-500); }

@media (max-width: 1199px) {
  .dir-grid { grid-template-columns: repeat(3, 1fr); }
  .dir-grid > :nth-child(n) { grid-column: auto; }
  .dir-grid > :last-child { grid-column: span 3; }
}
@media (max-width: 767px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-grid > :last-child { grid-column: span 2; }
}
@media (max-width: 479px) {
  .dir-grid { grid-template-columns: 1fr; }
  .dir-grid > :last-child { grid-column: auto; }
}

/* ============ PRODUCTS CAROUSEL ============ */
.prod-tabs { display: flex; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.prod-tabs button {
  background: transparent; border: 0; padding: 12px 16px;
  font-size: 14px; color: var(--text-muted); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.prod-tabs button.on { color: var(--brand-purple-700); border-bottom-color: var(--brand-purple-500); }
.prod-tabs button:hover { color: var(--text); }
.prod-tabs .count { font-size: 11px; color: var(--text-muted); margin-left: 6px; font-weight: 500; }

.prod-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.prod-scroll::-webkit-scrollbar { height: 8px; }
.prod-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.prod-card {
  flex: 0 0 340px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 240px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.prod-card:hover { border-color: var(--brand-purple-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prod-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.prod-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff;
  flex-shrink: 0; letter-spacing: -.02em;
}
.prod-icon.purple { background: var(--brand-purple-500); }
.prod-icon.teal { background: var(--brand-teal-500); }
.prod-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.prod-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.prod-link { font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.prod-card.accent-purple .prod-link { color: var(--brand-purple-500); }
.prod-card.accent-teal .prod-link { color: var(--brand-teal-500); }

/* grid mode (products hub) */
.prod-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--prod-cols, 3), 1fr); }
.prod-grid .prod-card { flex: none; min-height: 240px; }
@media (max-width: 1023px) { .prod-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .prod-grid { grid-template-columns: 1fr !important; } }

/* ============ ECOSYSTEM (real PNG unit logos) ============ */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}
.eco-card {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px; min-height: 200px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.eco-card:hover {
  border-color: var(--brand-purple-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.eco-logo-box {
  height: 64px; display: flex; align-items: center;
}
.eco-logo-box img {
  max-height: 56px;
  max-width: 220px;
  height: auto; width: auto;
  object-fit: contain;
}
.eco-role {
  font-size: 11px; font-weight: 600; color: var(--brand-purple-500);
  letter-spacing: .08em; text-transform: uppercase;
}
.eco-card.teal-role .eco-role { color: var(--brand-teal-500); }
.eco-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.eco-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.eco-link { font-size: 13px; font-weight: 600; color: var(--brand-purple-500); display: inline-flex; gap: 6px; align-items: center; }

.eco-card.hub {
  grid-row: span 2;
  grid-column: span 2;
  background: linear-gradient(135deg, var(--brand-purple-700) 0%, var(--brand-purple-500) 50%, var(--brand-teal-600) 100%);
  color: #fff; border: 0;
  padding: 40px;
  position: relative; overflow: hidden;
}
.eco-card.hub::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 80% 20%, black, transparent 70%);
}
.eco-card.hub > * { position: relative; z-index: 1; }
.eco-card.hub .eco-role { color: rgba(255,255,255,0.85); }
.eco-card.hub .eco-name { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.1; }
.eco-card.hub .eco-desc { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 380px; }
.eco-card.hub .hub-cta { color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; padding-top: 8px; }
.eco-card.hub:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

@media (max-width: 1023px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-card.hub { grid-column: span 2; grid-row: auto; min-height: 220px; }
}
@media (max-width: 639px) {
  .eco-grid { grid-template-columns: 1fr; }
  .eco-card.hub { grid-column: auto; }
}

/* ============ NUMBERS ============ */
.numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.num-cell { padding: 56px 28px; border-right: 1px solid var(--border); }
.num-cell:last-child { border-right: 0; }
.num-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6vw, 84px); letter-spacing: -.03em; line-height: 0.95; color: var(--text); }
.num-value .unit { font-size: 0.5em; vertical-align: top; margin-left: 4px; font-weight: 600; }
.num-value.purple { color: var(--brand-purple-500); }
.num-value.teal { color: var(--brand-teal-500); }
.num-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-top: 16px; line-height: 1.45; }
@media (max-width: 1023px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num-cell { border-right: 0; border-bottom: 1px solid var(--border); padding: 36px 24px; }
  .num-cell:nth-child(odd) { border-right: 1px solid var(--border); }
}
@media (max-width: 639px) {
  .numbers { grid-template-columns: 1fr; }
  .num-cell { border-right: 0 !important; }
  .num-cell:last-child { border-bottom: 0; }
}

/* ============ CASES ============ */
.cases-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 420px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-bg { position: absolute; inset: 0; z-index: 0; }
.case-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,27,46,0.25) 0%, rgba(11,27,46,0.92) 85%);
  z-index: 1;
}
.case-content { position: relative; z-index: 2; }
.case-industry {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff; padding: 4px 10px;
  border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.case-client {
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500;
  letter-spacing: .04em; margin-bottom: 8px;
}
.case-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.case-metric { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18); display: flex; gap: 24px; }
.case-metric .m-val { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.case-metric .m-lab { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 6px; }
@media (max-width: 1023px) { .cases-row { grid-template-columns: 1fr; } .case-card { min-height: 320px; } }

/* ============ NEWS ============ */
.news-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 16px; min-height: 240px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.news-card:hover { border-color: var(--brand-purple-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.news-meta .cat { color: var(--brand-purple-500); }
.news-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.005em; line-height: 1.35; flex: 1; }
.news-source { font-size: 13px; color: var(--text-secondary); }
@media (max-width: 1023px) { .news-row { grid-template-columns: 1fr; } }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(135deg, var(--brand-purple-700) 0%, var(--brand-purple-500) 55%, var(--brand-teal-600) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 70% 50%, black 0%, transparent 80%);
}
.cta-band .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 12px; max-width: 560px; font-size: 17px; line-height: 1.55; }
.cta-band .btn-primary { background: #fff; color: var(--brand-purple-700); }
.cta-band .btn-primary:hover { background: var(--brand-purple-50); }

/* ============ WHY US (Меркулова 15.05.2026) ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.why-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.why-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ SKOLKOVO + AWARDS (Меркулова 15.05.2026) ============ */
.section-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 14px 0 0;
}
.sk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.sk-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.sk-stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-purple-500);
  line-height: 1;
}
.sk-stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sk-residents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.sk-badge {
  background: var(--brand-purple-50);
  color: var(--brand-purple-700);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.sk-highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.sk-highlight {
  border-left: 3px solid var(--brand-teal-500);
  background: var(--brand-teal-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.awards-head {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 16px;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.award-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-purple-500);
  border-radius: var(--r-md);
  padding: 18px;
}
.award-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.award-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
@media (max-width: 900px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } .sk-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .sk-stat { padding: 18px 8px; } .sk-stat-num { font-size: 30px; } }
@media (max-width: 580px) { .awards-grid { grid-template-columns: 1fr; } }

/* ============ PARTNERS GRID (big) ============ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.partner-cell {
  aspect-ratio: 3/1.4;
  display: grid; place-items: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px;
  min-width: 0;
  overflow: hidden;
  transition: background .2s ease;
}
.partner-cell img {
  max-width: 100%;
  max-height: 72px;
  height: auto; width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter .2s ease;
}
.partner-cell:hover { background: var(--bg-soft); }
.partner-cell:hover img { filter: grayscale(0%) opacity(1); }
.partner-cell:nth-child(5n) { border-right: 0; }
.partner-cell:nth-last-child(-n+5) { border-bottom: 0; }
@media (max-width: 767px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-cell { padding: 16px; border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .partner-cell img { max-height: 48px; }
  .partner-cell:nth-child(2n) { border-right: 0 !important; }
  .partner-cell:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 419px) {
  .partners-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .partner-cell { aspect-ratio: 5/1.4; border-right: 0 !important; }
  .partner-cell:not(:last-child) { border-bottom: 1px solid var(--border) !important; }
  .partner-cell:last-child { border-bottom: 0 !important; }
}

/* ============ FOOTER ============ */
.footer { background: var(--ink-950); color: var(--text-on-dark); padding: 80px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-muted); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: var(--text-on-dark); opacity: .82; }
.footer a:hover { opacity: 1; color: var(--brand-teal-300); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 14px; color: var(--text-on-dark-muted); max-width: 320px; line-height: 1.6; }
.footer-bottom { padding: 28px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--text-on-dark-muted); letter-spacing: .04em; flex-wrap: wrap; font-weight: 500; }
@media (max-width: 1023px) { .footer-main { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 639px) { .footer-main { grid-template-columns: 1fr; } }

/* ============ BREADCRUMBS / PAGE HEAD (для внутренних страниц) ============ */
.crumbs { display: flex; gap: 8px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.crumbs a:hover { color: var(--brand-purple-500); }
.crumbs .sep { opacity: .5; }
.page-head { padding: 80px 0 48px; border-bottom: 1px solid var(--border); background: var(--bg); }
.page-head h1 { margin: 0; }
.page-head .page-lead { color: var(--text-secondary); font-size: 19px; line-height: 1.55; max-width: 720px; margin-top: 20px; }

/* ============ MODAL ============ */
.modal-scrim { position: fixed; inset: 0; background: rgba(22,26,44,0.55); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface); border-radius: var(--r-xl); width: 100%; max-width: 560px;
  padding: 40px; max-height: calc(100vh - 48px); overflow: auto; position: relative;
  transform: translateY(12px); transition: transform .25s;
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border: 0; background: var(--bg-alt); border-radius: 8px; display: grid; place-items: center; }
.modal h3 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.modal p.lead { color: var(--text-secondary); margin: 0 0 28px; }

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-row input, .form-row textarea {
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px;
  font: inherit; font-size: 15px; background: var(--surface); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: var(--font-sans);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--brand-purple-500); outline: none; box-shadow: 0 0 0 3px rgba(91,71,214,0.15); }
.form-row.err input, .form-row.err textarea { border-color: var(--danger); }
.form-row .err-msg { font-size: 12px; color: var(--danger); margin-top: 2px; display: none; }
.form-row.err .err-msg { display: block; }
.form-row textarea { min-height: 100px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--text-muted); margin: 8px 0 20px; }
.consent input { margin-top: 2px; }
.form-success { padding: 16px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 20px; display: none; background: var(--brand-teal-50); color: var(--brand-teal-700); border: 1px solid var(--brand-teal-200); }
.form-success.on { display: block; }

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 45;
}
.sticky-cta button { width: 100%; box-shadow: var(--shadow-lg); }
@media (max-width: 639px) { .sticky-cta { display: block; } }
