/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: #102153;
  background: #f5f5f7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── Variables ─── */
:root {
  --navy:    #102153;
  --blue:    #4065dd;
  --lblue:   #29aac8;
  --bg:      #f5f5f7;
  --white:   #ffffff;
  --dark:    #020202;
  --radius:  20px;
  --max-w:   1280px;

  --radius-sm:     8px;
  --font-main:     'Space Grotesk', system-ui, sans-serif;
  --transition:    .2s ease;
}

/* ─── Utilities ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
}
.section { padding: clamp(48px, 7vw, 100px) 0; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lblue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: #4a5568;
  max-width: 600px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: #2f52cc; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(64,101,221,.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(16,33,83,.3);
}
.btn-outline-navy:hover { border-color: var(--navy); background: rgba(16,33,83,.05); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #0b1a3f; transform: translateY(-1px); }

/* ─── Header ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,33,83,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(60px, 6vw, 80px);
  gap: 24px;
}
.logo-wrap { display: flex; align-items: center; }
.logo-wrap img { height: 38px; width: auto; }

nav { display: flex; gap: 6px; }
nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background .15s;
}
nav a:hover { background: rgba(64,101,221,.1); color: var(--blue); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--blue); }

/* ─── Hero ─── */
.hero {
  background: var(--navy);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 60vh, 760px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(64,101,221,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 4vw, 60px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-inner > * { min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41,170,200,.15);
  border: 1px solid rgba(41,170,200,.3);
  color: var(--lblue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lblue);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
}
.hero h1 span { color: var(--lblue); }
.hero-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-jbr {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 18px;
}
.hero-jbr img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-val span { color: var(--lblue); }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* Mockup */
.hero-mockup { position: relative; }
.mockup-window {
  background: #1a2d5e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
}
.mockup-titlebar {
  background: #0f1f43;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-title {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.mockup-body { padding: 20px; }
.mockup-sidebar {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  min-height: 280px;
}
.mockup-nav { display: flex; flex-direction: column; gap: 4px; }
.mockup-nav-item {
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.5);
  cursor: default;
}
.mockup-nav-item.active {
  background: rgba(64,101,221,.3);
  color: var(--white);
}
.mockup-content { display: flex; flex-direction: column; gap: 12px; }
.mockup-row {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup-dot2 {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mockup-row-text { font-size: 11px; color: rgba(255,255,255,.7); flex: 1; }
.mockup-badge2 {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(40,200,64,.2);
  color: #28c840;
}
.mockup-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
}
.mockup-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--lblue);
}

/* ─── Clients Strip ─── */
.clients {
  padding: 52px 0;
  background: var(--white);
  border-bottom: 1px solid #e8edf4;
}
.clients-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 48px;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.client-logo img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(.45);
  transition: filter .25s;
}
.client-logo:hover img {
  filter: grayscale(0) opacity(1);
}

/* ─── Stats ─── */
.stats { background: var(--navy); padding: 48px 0; }
.stats-header { margin-top: 28px; }
.stats-intro {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats-grid > * { min-width: 0; }
.stat-card {
  background: var(--navy);
  padding: 28px 32px;
  text-align: center;
}
.stat-number {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--lblue); }
.stat-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
  line-height: 1.4;
}

/* ─── Features ─── */
.features { background: var(--bg); padding: 40px 0; }
.features-header { text-align: center; margin-bottom: 20px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.features-grid > * { min-width: 0; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid rgba(16,33,83,.06);
  transition: all .2s;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(16,33,83,.1);
}
.feature-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon .material-icons { font-size: 17px; }
.feature-icon.blue  { background: rgba(64,101,221,.12); color: var(--blue); }
.feature-icon.lblue { background: rgba(41,170,200,.12); color: var(--lblue); }
.feature-icon.navy  { background: rgba(16,33,83,.08);   color: var(--navy); }
.feature-body { display: flex; flex-direction: column; gap: 2px; }
.feature-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.feature-desc { font-size: 11px; color: #64748b; line-height: 1.45; }

/* ─── Screenshots Gallery ─── */
.screenshots { background: var(--navy); padding: 40px 0; }
.screenshots-header { text-align: center; margin-bottom: 16px; }
.screenshots-header .section-label { color: var(--lblue); }
.screenshots-header .section-title { color: var(--white); }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.thumb-grid > * { min-width: 0; }
.thumb-item {
  border-radius: 8px;
  overflow: hidden;
  background: #0b1a3f;
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.thumb-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  border-color: var(--blue);
}
.thumb-item img {
  width: 100%;
  aspect-ratio: 1638/1162;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.thumb-item:hover img { opacity: .9; }
.thumb-label {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: center;
  background: rgba(0,0,0,.25);
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,3,10,.88);
  backdrop-filter: blur(6px);
}
.lb-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lb-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  display: block;
  transform-origin: center center;
  transition: transform .25s ease;
  cursor: zoom-in;
}
.lb-caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.lb-counter {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.lb-zoom-controls {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 1001;
}
.lb-zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.5);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(6px);
}
.lb-zoom-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-arrow:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ─── Comparison ─── */
.comparison { background: var(--white); padding: 40px 0; }
.comparison-header { text-align: center; margin-bottom: 20px; }
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  text-align: center;
}
.comparison-table th:first-child { text-align: left; background: #0b1a3f; }
.comparison-table th.highlight { background: var(--blue); }
.comparison-table .th-sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  opacity: .7;
  margin-top: 2px;
}
.comparison-table td {
  padding: 5px 14px;
  font-size: 12px;
  color: var(--navy);
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: #f8fafc; }
.check { color: var(--blue); font-size: 16px; }
.check.green { color: #10b981; }
.dash { color: #cbd5e1; font-size: 16px; }

/* ─── Comparison mobile compact view (shown only on mobile) ─── */
.comparison-mobile { display: none; }
.comparison-mobile-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.4;
}
.comparison-mobile-row:last-child { border-bottom: none; }
.comparison-mobile-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cm-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
}
.cm-t1 { background: #f1f5f9; color: #64748b; }
.cm-t2 { background: #e0f2fe; color: #0369a1; }
.cm-t3 { background: #fef9c3; color: #854d0e; }
.cm-t4 { background: #dbeafe; color: #1d4ed8; }
.comparison-mobile-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: #eff6ff;
  border-radius: 8px;
  border-left: 3px solid var(--blue);
  font-size: 12px;
  color: #1d4ed8;
}

/* ─── Carousel dot indicators (screenshots + localisation) ─── */
.screenshots-dots,
.loc-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.screenshots-dots .sdot,
.loc-dots .sdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background .2s, width .2s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.screenshots-dots .sdot.active,
.loc-dots .sdot.active {
  background: var(--blue);
  width: 18px;
  border-radius: 4px;
}

/* ─── Compatibility ─── */
.compat { background: var(--bg); padding-top: 48px; padding-bottom: 56px; }
.compat-header { text-align: center; margin-bottom: 34px; }
.compat-header .section-sub { margin: 0 auto; }
.compat-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.compat-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compat-group {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  border: 1px solid rgba(16,33,83,.06);
}
.compat-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 20px;
}
.compat-vendor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  align-items: center;
}
.compat-vendor-logos img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: filter .2s;
}
.compat-vendor-logos img:hover {
  filter: grayscale(0) opacity(1);
}

/* ─── Localisation ─── */
.localisation { background: var(--white); }
.localisation-header { text-align: center; margin-bottom: 40px; }
.localisation-header .section-sub { margin: 0 auto; max-width: 760px; }
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.loc-item {
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid rgba(16,33,83,.06);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.loc-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(16,33,83,.12);
  border-color: var(--blue);
}
.loc-item img {
  width: 100%;
  aspect-ratio: 1512/1307;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}
.loc-item:hover img { opacity: .9; }
.loc-item .thumb-label {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  background: var(--white);
}

/* ─── Case Study ─── */
.case { background: var(--navy); }
.case-carousel { position: relative; }
.case-slide { display: none; }
.case-slide.active { display: block; animation: caseFadeIn .4s ease; }
@keyframes caseFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.case-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}
.case-nav-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.case-nav-btn:hover { background: rgba(255,255,255,.2); }
.case-dots { display: flex; gap: 8px; align-items: center; }
.case-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .2s, transform .2s;
}
.case-dot.active { background: var(--lblue); transform: scale(1.3); }
.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.case-label, .case .section-title, .case .section-sub { color: var(--white); }
.case .section-sub { color: rgba(255,255,255,.65); }
.case-context {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
  line-height: 1.6;
}
.case-context strong { color: var(--white); }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.case-metrics > * { min-width: 0; }
.case-metric {
  background: rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
}
.case-metric-val {
  font-size: 28px;
  font-weight: 700;
}
.case-metric-val.plus  { color: #28c840; }
.case-metric-val.minus { color: var(--lblue); }
.case-metric-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}
.case-highlight {
  background: rgba(64,101,221,.2);
  border: 1px solid rgba(64,101,221,.4);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
}
.case-highlight-val {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--white);
  overflow-wrap: anywhere;
  min-width: 0;
}
.case-highlight-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ─── Partners ─── */
.partners { background: var(--bg); padding-bottom: 0; padding-top: 80px; }
.partners-header { text-align: center; margin-bottom: 36px; }
.partners-header .section-sub { margin: 0 auto; max-width: 780px; }

.partner-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.partner-card {
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(16,33,83,.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(16,33,83,.1);
  border-color: var(--blue);
}
.partner-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.partner-card-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.partner-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-card-logo--placeholder {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: rgba(16,33,83,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.partner-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.partner-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.partner-card-region {
  font-size: 9px;
  color: #64748b;
}
.partner-card-site {
  font-size: 9px;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.partner-card-site:hover { text-decoration: underline; }
.partner-card-status { display: none; }

.partners-cta {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.partners-cta p {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

/* ─── CTA Form ─── */
.cta-section { background: var(--bg); padding-top: 64px; }
.cta-wrap {
  background: var(--white);
  border-radius: 28px;
  padding: 16px 40px;
  text-align: center;
  border: 1px solid rgba(16,33,83,.06);
  box-shadow: 0 4px 30px rgba(16,33,83,.06);
}
.cta-wrap .section-title { margin-bottom: 2px; }
.cta-wrap .section-sub { margin: 0 auto 10px; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 720px;
  margin: 0 auto 6px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.form-row > * { min-width: 0; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.req { color: var(--blue); }
.cta-input {
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.cta-input:focus { border-color: var(--blue); }
.cta-input.input-error { border-color: #e53e3e; }
.cta-textarea {
  resize: vertical;
  min-height: 48px;
}
.form-counter {
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
}
.form-error {
  font-size: 12px;
  color: #e53e3e;
  min-height: 16px;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent-block { margin-top: 4px; display: flex; flex-direction: column; gap: 10px; }
.consent-item { }
.consent-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #64748b; cursor: pointer; }
.consent-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.consent-label a { color: var(--blue); text-decoration: underline; }
.form-submit { display: flex; justify-content: center; }
.form-submit .btn { width: auto; min-width: 200px; }
.form-submit .btn:disabled { opacity: .6; cursor: not-allowed; }
.form-success {
  padding: 24px;
  background: rgba(41,170,200,.12);
  border-radius: 12px;
  color: #0e7a91;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}
.cta-note { font-size: 13px; color: #94a3b8; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
footer {
  background: var(--dark);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img { height: 30px; filter: invert(1); opacity: .8; }
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-contacts a,
.footer-contacts span {
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.footer-contacts a:hover { color: var(--white); }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ─── Баннерная кнопка «Sk Участник» ───
   Коммуникационный пакет участника проекта «Сколково».
   Стр. 12 — минимальная высота горизонтальной версии 34px.
   Стр. 6  — паддинг задаёт охранное поле (встроенного в PNG нет).
   Стр. 14 — никаких filter / opacity / transform / hover-эффектов.
   Стр. 7  — на тёмном фоне используется белая или зелёная версия.
   Логотип менять, перекрашивать и обрезать нельзя. */
.sk-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 12px 18px;
}
.sk-badge img {
  height: 36px;
  width: auto;
  filter: none;
  opacity: 1;
}

/* ─── Partner Join Landing ─── */

/* Hero */
.pj-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3580 60%, #0e5a74 100%);
  padding: 36px 0 32px;
  text-align: center;
}
.pj-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lblue);
  margin-bottom: 10px;
}
.pj-hero-title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.pj-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.pj-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
}
.pj-stat {
  padding: 16px 16px;
  background: rgba(255,255,255,.05);
}
.pj-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--lblue);
  margin-bottom: 4px;
}
.pj-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}
.pj-hero-btn { font-size: 16px; padding: 14px 36px; }

/* Shared section header */
.pj-section-header { text-align: center; margin-bottom: 24px; }
.pj-profiles { padding: 48px 0; }
.pj-section-header .section-sub { max-width: 680px; margin: 0 auto; }

/* Market */
.pj-market { background: var(--bg); padding: 40px 0; }
.pj-market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pj-market-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(16,33,83,.07);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pj-market-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,33,83,.1); }

/* Текстовый блок карточек .pj-market-card / .pj-why-card.
   Карточка — flex-строка «иконка слева, текст справа», поэтому заголовок и абзац
   обязаны лежать в общей колонке-обёртке. Без неё они становятся соседними
   flex-колонками: заголовок встаёт сбоку от текста, а их min-content распирает
   грид-трек шире вьюпорта (горизонтальный скролл на узких экранах).
   Тот же паттерн, что .feature-body в index.html. */
.pj-card-body { display: flex; flex-direction: column; min-width: 0; }
.pj-market-card--accent { background: var(--navy); border-color: var(--navy); }
.pj-market-card .material-icons { font-size: 26px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.pj-market-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pj-market-card p { font-size: 13px; color: #64748b; line-height: 1.55; }
.pj-market-card--accent .material-icons { color: var(--lblue); }
.pj-market-card--accent h3 { color: #fff; }
.pj-market-card--accent p { color: rgba(255,255,255,.7); }

/* Why SmartPrint */
.pj-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pj-why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .2s;
}
.pj-why-card:hover { background: rgba(255,255,255,.1); }
.pj-why-icon { margin-bottom: 0; flex-shrink: 0; margin-top: 2px; }
.pj-why-icon .material-icons { font-size: 22px; color: var(--lblue); }
.pj-why-card h3 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.pj-why-card p { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ROI */
.pj-roi { background: var(--white); }
.pj-roi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.pj-roi-case {
  background: var(--bg);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(16,33,83,.07);
}
.pj-roi-case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16,33,83,.08);
}
.pj-roi-case-header .material-icons { font-size: 32px; color: var(--blue); }
.pj-roi-case-title { font-size: 16px; font-weight: 700; color: var(--navy); }
.pj-roi-case-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.pj-roi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pj-roi-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.pj-roi-num {
  font-size: 26px;
  font-weight: 700;
  display: block;
}
.pj-roi-num--green { color: #10b981; }
.pj-roi-num--blue { color: var(--blue); }
.pj-roi-stat span:last-child { font-size: 11px; color: #64748b; }
.pj-roi-reasons { display: flex; flex-direction: column; gap: 20px; }
.pj-roi-reason {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pj-roi-reason .material-icons { font-size: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.pj-roi-reason strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.pj-roi-reason p { font-size: 13px; color: #64748b; line-height: 1.55; margin: 0; }

/* Partner profiles */
.pj-profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pj-profile-card {
  background: var(--white);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(16,33,83,.08);
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pj-profile-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(16,33,83,.12); }
.pj-profile-card--featured { border-color: var(--blue); border-width: 2px; }
.pj-profile-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pj-profile-badge--teal {
  background: var(--lblue);
}
.pj-profile-badge--navy {
  background: var(--navy);
}
.pj-profile-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.pj-profile-icon--blue { background: rgba(64,101,221,.12); color: var(--blue); }
.pj-profile-icon--lblue { background: rgba(41,170,200,.12); color: var(--lblue); }
.pj-profile-icon--navy { background: rgba(16,33,83,.08); color: var(--navy); }
.pj-profile-icon .material-icons { font-size: 22px; }
.pj-profile-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pj-profile-card p { font-size: 12px; color: #64748b; line-height: 1.55; margin-bottom: 12px; }
.pj-profile-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pj-profile-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--navy); font-weight: 500; }
.pj-profile-list .material-icons { font-size: 15px; color: #10b981; }

/* Support */
.pj-support { padding: 48px 0; }
.pj-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pj-support-item {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(16,33,83,.07);
  background: var(--bg);
}
.pj-support-icon { margin-bottom: 8px; }
.pj-support-icon .material-icons { font-size: 24px; color: var(--blue); }
.pj-support-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.pj-support-item p { font-size: 12px; color: #64748b; line-height: 1.5; }

/* Roadmap */
.pj-roadmap-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.pj-roadmap-points { display: flex; flex-direction: column; gap: 12px; }
.pj-roadmap-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.pj-roadmap-point .material-icons { font-size: 10px; color: var(--lblue); }
.pj-roadmap-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pj-roadmap-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.pj-roadmap-badge .material-icons { font-size: 28px; color: var(--lblue); flex-shrink: 0; }
.pj-roadmap-badge span:last-child { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.4; }

/* Final CTA */
.pj-cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, var(--lblue) 100%);
  padding: 72px 0;
  text-align: center;
}
.pj-cta-final-inner h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.pj-cta-final-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.pj-cta-final .btn-primary {
  background: #fff;
  color: var(--blue);
  font-size: 16px;
  padding: 14px 40px;
}
.pj-cta-final .btn-primary:hover { background: rgba(255,255,255,.9); }

/* ─── Legal pages ─── */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.legal-wrap .section-title { margin-bottom: 32px; text-align: left; }
.legal-wrap .section-label { text-align: left; }
.legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 10px;
}
.legal-body p {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-body ul li {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 4px;
}
.legal-body a { color: var(--blue); overflow-wrap: break-word; word-break: break-all; }
.legal-updated {
  margin-top: 40px;
  font-size: 13px;
  color: #94a3b8;
}

/* ─── Releases page ─── */
.releases-page .legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.releases-page h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.releases-controls {
  margin-bottom: 28px;
  font-size: 15px;
}
.releases-controls a {
  color: var(--blue);
  text-decoration: none;
}
.releases-controls a:hover {
  text-decoration: underline;
}
.releases-separator {
  color: #94a3b8;
  margin: 0 8px;
}
details.release {
  border: 1px solid rgba(16,33,83,.08);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 12px;
}
details.release summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
details.release summary::-webkit-details-marker { display: none; }
details.release summary::marker { display: none; content: ''; }
details.release summary::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--navy);
  transition: transform var(--transition);
  flex-shrink: 0;
}
details.release[open] summary::before {
  transform: rotate(90deg);
}
details.release summary:hover {
  background: rgba(16,33,83,.02);
}
.release-body {
  padding: 0 20px 20px 48px;
}
.release-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.release-body h3:first-child {
  margin-top: 0;
}
.release-body p {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 8px;
}
.release-body ul {
  padding-left: 20px;
  margin-bottom: 8px;
}
.release-body ul li {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 4px;
}
.release-body ul ul {
  margin-top: 4px;
}

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  background: var(--white);
  border: 1px solid rgba(16,33,83,.1);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(16,33,83,.12);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  width: calc(100% - 48px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.cookie-link {
  color: var(--blue);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  font-family: inherit;
}
.cookie-btn:hover { background: var(--navy); }
.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn-secondary {
  background: transparent;
  color: #64748b;
  border: 1px solid rgba(16,33,83,.15);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
  font-family: inherit;
}
.cookie-btn-secondary:hover { background: rgba(16,33,83,.05); color: var(--navy); }

/* ─── Hamburger & Mobile Nav ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16,33,83,.45);
  z-index: 150;
  backdrop-filter: blur(2px);
}
.nav-mobile-overlay.open { display: block; }

/* Отдельный элемент для мобильного меню — вне <header>,
   чтобы backdrop-filter на header не блокировал position:fixed */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  background: var(--white);
  flex-direction: column;
  padding: clamp(80px, 12vw, 120px) clamp(24px, 6vw, 48px) 40px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav--open {
  display: flex;
  animation: navSlideIn .25s ease;
}
@keyframes navSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}
.mobile-nav a {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: rgba(64,101,221,.08); color: var(--blue); }
.mobile-nav .btn {
  margin-top: 16px;
  text-align: center;
  align-self: flex-start;
}
.mobile-nav-close {
  position: absolute;
  top: clamp(14px, 3vw, 22px);
  right: clamp(14px, 4vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(16,33,83,.15);
  background: var(--bg);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
  font-family: inherit;
}
.mobile-nav-close:hover { background: rgba(64,101,221,.08); border-color: var(--blue); }

/* ─── Responsive ─── */

/* Большие мониторы */
@media (min-width: 1440px) {
  .hero-inner { gap: 80px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Стандартные ноутбуки 14-15" */
@media (max-width: 1280px) {
  .features-grid { gap: 6px; }
  nav { gap: 2px; }
  nav a { padding: 6px 10px; font-size: 13px; }
  .partner-list { grid-template-columns: repeat(4, 1fr); }
}

/* Ноутбуки 13" и планшеты landscape */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .thumb-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-list { grid-template-columns: repeat(3, 1fr); }
  .case-inner { gap: 36px; }
}

/* Планшеты portrait */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .case-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-wrap { padding: clamp(24px, 5vw, 40px) clamp(16px, 4vw, 32px); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contacts { text-align: center; }
  .lb-arrow { display: none; }

  /* Partner grid — 2 columns on mobile */
  .partner-list { grid-template-columns: repeat(2, 1fr); }

  /* Comparison table — hide on mobile, show compact list */
  .comparison-table { display: none; }
  .comparison-mobile { display: block; }

  /* Screenshots — horizontal scroll carousel */
  .thumb-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #e2e8f0;
  }
  .thumb-item {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
  .thumb-item img { aspect-ratio: 16/9; }
  .screenshots-dots { display: flex; }

  /* Localisation — horizontal scroll carousel */
  .loc-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    max-width: none;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #e2e8f0;
  }
  .loc-item {
    flex: 0 0 75vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .loc-dots { display: flex; }

  /* partners.html — pj-stats 4-col → 2-col */
  .pj-stats { grid-template-columns: repeat(2, 1fr); }

  /* partners.html — roadmap single column */
  .pj-roadmap-inner { grid-template-columns: 1fr; gap: 32px; }
  .pj-roadmap-badge { min-width: 0; }

  .pj-market-grid { grid-template-columns: 1fr; }
  .pj-why-grid { grid-template-columns: 1fr; }
  .pj-roi-wrap { grid-template-columns: 1fr; }
  .pj-profiles-grid { grid-template-columns: 1fr; }
  .pj-support-grid { grid-template-columns: 1fr; }

  /* Hamburger visible */
  nav { display: none; }
  .hamburger { display: flex; }
}

/* Смартфоны */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .hero-jbr { gap: 12px; }
  .hero-jbr img { height: 36px; }
  .clients-logos { gap: 8px 28px; }
  .client-logo { height: 36px; }
  .compat-vendor-logos img { height: 28px; }
  .btn { padding: 12px 20px; min-height: 44px; }
  .partner-list { grid-template-columns: repeat(2, 1fr); }

  /* partners.html — блок ROI: 3 колонки → 2.
     Единственный грид на странице без адаптива. Его min-content (240px) плюс
     padding 32px у .pj-roi-case давали 306px, а трек .pj-roi-wrap — это
     minmax(auto, 1fr), поэтому автоминимум распирал грид шире вьюпорта
     и на ≤320px появлялся горизонтальный скролл. */
  .pj-roi-stats { grid-template-columns: repeat(2, 1fr); }

  .cookie-banner { flex-direction: column; gap: 10px; text-align: center; bottom: 12px; }
  .cookie-buttons { justify-content: center; }
  .footer-links { flex-direction: column; gap: 12px; }
  .lb-zoom-controls { gap: 4px; }
  .lb-zoom-btn { width: 44px; height: 44px; }
  .lb-close { width: 44px; height: 44px; }
}
