/* ═══════════════════════════════════════════════════════════
   1EX — Main Stylesheet
   Design: Dark Navy / Electric Blue — unique identity
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:          #000000;
  --bg-surface:  #080808;
  --bg-card:     #0f0f0f;
  --bg-card-h:   #141414;
  --bg-input:    rgba(255,255,255,0.04);

  --blue:        #5b8aff;
  --blue-h:      #7aa6ff;
  --blue-dim:    rgba(91,138,255,0.10);
  --blue-glow:   rgba(91,138,255,0.22);
  --blue-border: rgba(91,138,255,0.28);

  --text-1: #f0f0f0;
  --text-2: rgba(240,240,240,0.62);
  --text-3: rgba(240,240,240,0.36);
  --text-4: rgba(240,240,240,0.18);

  --border:   rgba(255,255,255,0.07);
  --border-h: rgba(255,255,255,0.13);

  --green:     #22c55e;
  --green-dim: rgba(34,197,94,0.10);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font:   'Inter', sans-serif;
  --font-h: 'Manrope', sans-serif;

  --max-w: 1200px;
  --side:  clamp(16px, 4vw, 40px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
ol, ul { list-style: none; }

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ─── TYPOGRAPHY ─── */
.section-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-1);
}
.section-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  margin-top: 12px;
  line-height: 1.6;
}
.section-head {
  margin-bottom: 52px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-md);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  background: var(--blue-dim);
  color: var(--blue-h);
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-md);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.btn-outline:hover {
  background: rgba(91,138,255,0.20);
  transform: translateY(-2px);
}
.btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  height: 40px;
  background: var(--blue-dim);
  color: var(--blue-h);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.btn-tg:hover { background: rgba(91,138,255,0.2); }
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-call:hover {
  background: rgba(255,255,255,0.09);
  color: var(--text-1);
  border-color: var(--border-h);
}

/* ─── BADGE ─── */
.hero-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-badge-hours {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}
.hero-badge, .cta-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.3px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.hero-badge.offline, .cta-badge.offline {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.25);
  color: #ef4444;
}
.hero-badge.offline .hero-badge-hours {
  color: rgba(239,68,68,0.6);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
  margin-top: 5px; /* выравниваем с первой строкой двустрочного badge */
}
.hero-badge.offline .badge-dot,
.cta-badge.offline .badge-dot,
#call-modal-badge.offline .badge-dot {
  background: #ef4444;
  animation: none;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.35); }
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.header.scrolled {
  background: rgba(0,0,0,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.header.mobile-open {
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img { height: 90px; width: auto; display: block; }
.logo-text {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--blue); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
  flex: 0 0 auto;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 125px;
  height: 54px;
  box-sizing: border-box;
  padding: 4px 7px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text-2);
  text-align: center;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:nth-child(3) { width: 134px; }
.nav-link:hover {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.open { max-height: 640px; }
.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 16px;
  border-radius: var(--r-sm);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.05); color: var(--text-1); }
.mobile-nav-tg {
  color: var(--blue-h);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  text-align: center;
  margin-top: 8px;
}

/* Mobile nav call link */
.mobile-nav-call {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-h);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(91,138,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

.hero .container { position: relative; z-index: 1; }

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: 64px 48px 56px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.hero-panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

/* Весь контент поверх видео */
.hero-panel > *:not(.hero-panel-video) {
  position: relative;
  z-index: 1;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  background: rgba(255,255,255,0.07);
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.hero-chip:hover {
  border-color: var(--blue-border);
  background: var(--blue-dim);
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-1);
  letter-spacing: -1px;
}
.hero-title-accent {
  background: linear-gradient(120deg, var(--blue) 0%, #9b87ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 520px;
}

/* ══════════════════════════════════════════════════════════
   EXCHANGE WIDGET
══════════════════════════════════════════════════════════ */
.widget {
  position: relative;
  width: 100%;
  min-width: 0;
}
.widget-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(91,138,255,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.widget-body {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 0;
}

/* Panels row — каждая панель теперь отдельная карточка */
.widget-panels {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.widget-panel {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  padding: 24px 22px 20px;
  box-shadow: 0 0 0 1px rgba(91,138,255,0.06), 0 16px 48px rgba(0,0,0,0.35);
  transition: border-color 0.2s;
}
.widget-panel:focus-within { border-color: var(--blue); }


.panel-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.panel-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  font-family: var(--font-h);
  color: var(--text-1);
  line-height: 1;
}
.panel-input::placeholder { color: var(--text-4); }
.panel-input--result { color: var(--blue-h); cursor: default; }

/* Currency selector */
.currency-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.currency-select:hover { border-color: var(--blue-border); background: var(--bg-card-h); }
.currency-select--static { cursor: default; }
.currency-select--static:hover { border-color: var(--border); background: var(--bg-card); }
.currency-icon { font-size: 16px; font-weight: 800; color: var(--blue); }
.currency-name { font-size: 13px; font-weight: 700; }
.currency-arrow { color: var(--text-3); flex-shrink: 0; transition: transform 0.2s; }
.currency-select[aria-expanded="true"] .currency-arrow { transform: rotate(180deg); }

/* Currency dropdown */
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-md);
  overflow: hidden;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.currency-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#panel-give { position: relative; }
.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-align: left;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid var(--border);
}
.currency-option:last-child { border-bottom: none; }
.currency-option:hover { background: var(--blue-dim); color: var(--text-1); }
.currency-option.active { background: var(--blue-dim); color: var(--blue-h); }
.co-icon { font-size: 18px; font-weight: 800; color: var(--blue); width: 24px; text-align: center; }

/* Swap button */
.swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  flex-shrink: 0;
  align-self: center;
  transition: border-color 0.2s, color 0.2s, transform 0.3s var(--ease), background 0.2s;
}
.swap-btn:hover {
  border-color: var(--blue-border);
  color: var(--blue);
  background: var(--blue-dim);
}
.swap-btn.rotated { transform: rotate(180deg); }

/* City pills */
.city-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.city-label { font-size: 12px; color: var(--text-3); font-weight: 500; }
.city-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.city-pill {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: all 0.18s;
}
.city-pill:hover { border-color: var(--blue-border); color: var(--blue-h); }
.city-pill.active {
  background: var(--blue-dim);
  border-color: var(--blue-border);
  color: var(--blue-h);
}

/* Rate row */
.widget-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.rate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
.rate-text { font-size: 14px; color: var(--text-2); }
.rate-text strong { color: var(--text-1); font-weight: 600; }
.rate-timer { font-size: 12px; color: var(--text-3); margin-left: auto; }
.rate-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-3);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s;
}
.rate-refresh:hover {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: var(--blue-border);
}
.rate-refresh.spinning svg {
  animation: spin-once 0.6s var(--ease);
}
.rate-refresh.on-cooldown {
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--blue-border);
  color: var(--blue);
  background: var(--blue-dim);
  width: auto;
  padding: 0 8px;
  gap: 4px;
}
.rate-refresh-cd {
  display: none;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.rate-refresh.on-cooldown .rate-refresh-cd {
  display: block;
}
@keyframes spin-once {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Widget actions */
.widget-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 16px;
}
.widget-btn-primary {
  height: 54px;
  font-size: 15px;
  justify-content: center;
}
.widget-btn-outline {
  height: 54px;
  padding: 0 22px;
}

.widget-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-4);
  text-align: center;
}
.widget-note-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.widget-note-chips .hero-chip {
  font-size: 11px;
  padding: 5px 11px;
  color: var(--text-3);
}

/* ══════════════════════════════════════════════════════════
   NAV DROPDOWN
══════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-arrow {
  color: var(--text-3);
  transition: transform 0.22s var(--ease);
  flex-shrink: 0;
}
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: var(--r-lg);
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: var(--blue-dim); }
.nav-dropdown-item.active {
  background: var(--blue-dim);
  border-left: 2px solid var(--blue);
  padding-left: 14px;
}
.nav-dropdown-item.active .ndi-text strong { color: var(--blue); }
.ndi-icon { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
.ndi-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ndi-text strong { font-size: 14px; font-weight: 600; color: var(--text-1); }
.ndi-text span { font-size: 12px; color: var(--text-3); }

/* Mobile nav divider */
.mobile-nav-divider {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 10px 16px 4px;
}

/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.service-card {
  background: #0c0c0c; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 24px 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: border-color 0.25s, transform 0.2s;
}
.service-card:hover { border-color: rgba(91,138,255,0.35); transform: translateY(-3px); }
.service-icon { font-size: 28px; line-height: 1; }
.service-name { font-family: var(--font-h); font-size: 14px; font-weight: 700; color: #f0f0f0; }
.service-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #5b8aff; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════════
   SEGMENTS
══════════════════════════════════════════════════════════ */
.segments { background: var(--bg-surface); }

.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.seg-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.seg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #9b87ff);
  opacity: 0;
  transition: opacity 0.25s;
}
.seg-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  background: var(--bg-card-h);
}
.seg-card:hover::before { opacity: 1; }
.seg-card--cta {
  border-color: var(--blue-border);
  background: var(--blue-dim);
}
.seg-card--cta:hover { background: rgba(91,138,255,0.16); }
.seg-card-icon { font-size: 28px; line-height: 1; }
.seg-card-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
}
.seg-card-text { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; }
.seg-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-h);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   SEGMENT PAGE HERO
══════════════════════════════════════════════════════════ */
.seg-hero { min-height: 72svh; padding: 100px 0 72px; display: flex; align-items: center; }
.seg-hero .container { width: 100%; }
.seg-hero-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: rgba(8, 8, 8, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 52px 56px 48px;
}
.seg-hero-content .hero-title { font-size: clamp(32px, 5vw, 58px); }
.seg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.seg-hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.7); }
.seg-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.seg-hero-actions .btn-primary { height: 56px; font-size: 16px; padding: 0 32px; }
.seg-hero-actions .btn-outline  { height: 56px; font-size: 16px; padding: 0 28px; }

/* Back link above the panel */
.seg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s;
  margin-bottom: 8px;
}
.back-link:hover { color: var(--text-2); }

/* For-whom block */
.seg-for-whom {
  background: var(--bg-surface);
  padding: 80px 0;
}
.seg-for-whom-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.seg-for-whom-text h2 {
  font-family: var(--font-h);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 20px;
  line-height: 1.15;
}
.seg-for-whom-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.seg-for-whom-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seg-for-whom-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-md);
  padding: 16px 20px;
  transition: background 0.2s, border-color 0.2s;
}
.seg-for-whom-item:hover {
  background: var(--bg-card-h);
  border-left-color: var(--blue-h);
}
.seg-for-whom-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dim);
  border-radius: 8px;
}
.seg-for-whom-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.seg-for-whom-item strong { color: var(--text-1); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   SECTIONS — common padding
══════════════════════════════════════════════════════════ */
.section { padding: 96px 0; }

/* ══════════════════════════════════════════════════════════
   ADVANTAGES
══════════════════════════════════════════════════════════ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #9b87ff);
  opacity: 0;
  transition: opacity 0.25s;
}
.adv-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  background: var(--bg-card-h);
}
.adv-card:hover::before { opacity: 1; }

.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.adv-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
}
.adv-text { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.how { background: var(--bg-surface); }

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* horizontal connector */
.step-item { position: relative; padding: 32px 28px 32px 0; }
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -1px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-border), transparent);
}
.step-connector { display: none; }

.step-num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue) 0%, rgba(91,138,255,0.25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 18px;
  /* outline style */
  -webkit-text-stroke: 2px var(--blue-border);
  color: transparent;
}
.step-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.step-text { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Loyalty block */
.how-loyalty {
  margin-top: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: border-color 0.2s;
}
.how-loyalty:hover { border-color: var(--blue-border); }
.loyalty-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.loyalty-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.loyalty-title {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.loyalty-sub { font-size: 13px; color: var(--text-2); line-height: 1.6; }

.how-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   MAP / OFFICES
══════════════════════════════════════════════════════════ */
.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 810 / 445;
  min-height: 260px;
  margin-bottom: 40px;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Interactive canvas — Russia shape entirely defined by JS polygon */
#map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Pins */
.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--blue-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  cursor: pointer;
  white-space: nowrap;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  user-select: none;
}
.map-pin:hover {
  background: rgba(91,138,255,0.22);
  border-color: var(--blue-h);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(91,138,255,0.30);
}
.map-pin.active {
  background: var(--blue-dim);
  border-color: var(--blue);
}
.pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.map-pin:hover .pin-dot {
  animation: pin-dot-burst 0.65s ease-in-out infinite;
}
@keyframes pin-dot-burst {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(91,138,255,0.7); }
  50%       { transform: scale(1.7); box-shadow: 0 0 0 6px rgba(91,138,255,0);   }
}

/* Pin positions — traced from 1ex.ru screenshot */
.p-kzn  { top: 46%; left: 39%; }
.p-ufa  { top: 62%; left: 44%; }
.p-ekb  { top: 41%; left: 62%; }

/* Popups */
.map-popup {
  position: absolute;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  min-width: 200px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.map-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
/* Popup positions — above each pin */
#popup-kazan { top: 26%; left: 39%; }
#popup-ufa   { top: 42%; left: 44%; }
#popup-ekb   { top: 21%; left: 62%; }

.popup-city {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.popup-addr { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.popup-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.popup-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-h);
  transition: color 0.15s;
}
.popup-link:hover { color: #fff; }

/* Office cards */
.office-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}
.office-card:hover { border-color: var(--blue-border); transform: translateY(-3px); }
.office-city {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-h);
}
.office-detail { font-size: 13px; color: var(--text-2); }
.office-note {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 4px;
}
.office-link {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.15s;
}
.office-link:hover { color: var(--blue-h); }

/* ══════════════════════════════════════════════════════════
   TRUST
══════════════════════════════════════════════════════════ */
.trust { background: var(--bg-surface); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.trust-card:hover { border-color: var(--blue-border); }
.trust-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 28px;
}
.trust-card-inner { flex: 1; }
.trust-card-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.trust-card-text { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.trust-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* DKP visual */
.dkp-visual {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dkp-icon {
  color: var(--blue);
  animation: dkp-glow 3s ease-in-out infinite;
}
@keyframes dkp-glow {
  0%, 100% { opacity: 0.65; filter: drop-shadow(0 0 4px rgba(91,138,255,0.2)); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 12px rgba(91,138,255,0.5)); }
}

/* AML visual */
.trust-visual {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aml-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--blue-border);
  animation: ring-pulse 3s ease-in-out infinite;
}
.aml-ring-1 { width: 90px;  height: 90px; animation-delay: 0s; }
.aml-ring-2 { width: 68px;  height: 68px; animation-delay: 0.4s; }
.aml-ring-3 { width: 48px;  height: 48px; animation-delay: 0.8s; border-color: rgba(91,138,255,0.5); }
@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.05); }
}
.aml-icon { position: relative; z-index: 1; color: var(--blue); }

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.faq-left { position: sticky; top: 100px; }
.faq-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.faq-cta { }
.faq-cta-call {
  justify-content: center;
}

.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  text-align: left;
  background: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-h); }
.faq-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.2s;
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--blue); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-a.open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  padding-bottom: 18px;
}

/* ══════════════════════════════════════════════════════════
   FOUNDER QUOTE
══════════════════════════════════════════════════════════ */
.founder-section { padding: 72px 0 30px; scroll-margin-top: 120px; }
.about-heading { max-width: 790px; margin-bottom: 28px; }
.about-kicker, .audience-kicker {
  color: var(--blue-h); font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.about-title { margin-top: 8px; }
.about-intro { max-width: 760px; margin-top: 16px; color: var(--text-2); font-size: 18px; line-height: 1.65; }
.about-copy { font-family: var(--font-h); font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; color: var(--text-1); line-height: 1.6; margin: 0 0 20px; }
.audience-section { padding: 24px 0 72px; scroll-margin-top: 110px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.audience-card {
  display: flex; flex-direction: column; min-width: 0; min-height: 450px;
  padding: 32px; border: 1px solid var(--border-h); border-radius: 22px;
  background: #0b0b0b;
}
.audience-card--business { background: #0c0e12; border-color: rgba(91,138,255,0.24); }
.audience-title { margin-top: 12px; font-family: var(--font-h); font-size: clamp(25px, 2.7vw, 32px); line-height: 1.15; letter-spacing: -0.6px; }
.audience-lead { margin-top: 14px; max-width: 58ch; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.audience-facts { margin-top: 22px; }
.audience-facts li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-1); font-size: 14px; line-height: 1.4; }
.audience-steps { margin-top: 16px; }
.audience-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); color: var(--text-1); font-size: 13px; line-height: 1.4; }
.audience-steps li span { color: var(--blue-h); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.audience-cta { align-self: flex-start; margin-top: auto; }
.founder-card {
  display: flex; align-items: center; gap: 40px;
  background: #0c0c0c; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; padding: 40px 48px;
}
.founder-photo {
  width: 200px; height: 260px; border-radius: 20px;
  object-fit: cover; object-position: center top;
  flex-shrink: 0; border: 2px solid rgba(91,138,255,0.35);
}
.founder-quote {
  font-family: var(--font-h); font-size: clamp(15px, 2vw, 20px);
  font-weight: 600; color: #f0f0f0; line-height: 1.55;
  margin: 0 0 20px; font-style: italic;
}
.founder-sig { display: flex; flex-direction: column; gap: 4px; }
.founder-name { font-size: 15px; font-weight: 700; color: #5b8aff; }
.founder-role { font-size: 12px; color: rgba(240,240,240,0.38); }

/* RESERVES */
.reserves-section { padding: 72px 0 0; }
.reserves-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px;
}
.reserve-item {
  background: #0c0c0c; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.reserve-coin { font-size: 12px; font-weight: 600; color: rgba(240,240,240,0.45); letter-spacing: 0.5px; }
.reserve-amount { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: #f0f0f0; }
.reserves-note { font-size: 12px; color: rgba(240,240,240,0.3); text-align: center; }

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; }
  .founder-card { flex-direction: row; align-items: flex-start; padding: 24px 20px; gap: 20px; }
  .founder-photo { width: 110px; height: 145px; border-radius: 14px; }
  .founder-body { text-align: left; }
  .founder-quote { font-size: 14px; text-align: left; }
  .founder-sig { text-align: left; }
  .reserves-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .founder-card { padding: 16px; gap: 14px; }
  .founder-photo { width: 85px; height: 112px; border-radius: 12px; }
  .founder-quote { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; }
.cta-inner {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(91,138,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--text-1);
  position: relative;
  z-index: 1;
}
.cta-text {
  font-size: 16px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.cta-btn { height: 56px; font-size: 16px; padding: 0 32px; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; display: block; }
.footer-desc { font-size: 14px; color: var(--text-3); line-height: 1.6; max-width: 260px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social:hover { border-color: var(--blue-border); color: var(--blue); background: var(--blue-dim); }

.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-4); }
.footer-docs { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-doc-link { font-size: 13px; color: var(--text-4); transition: color 0.15s; }
.footer-doc-link:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════ */
.hide-mobile { display: inline; }
.mobile-br { display: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .seg-for-whom-inner { grid-template-columns: 1fr; gap: 36px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-list { grid-template-columns: 1fr; gap: 24px; }
  .step-item::after { display: none; }
}

@media (min-width: 769px) and (max-width: 860px) {
  .nav { display: none; }
  .btn-tg, .btn-call { display: none; }
  .burger { display: flex; width: 46px; height: 46px; padding: 10px; }
}

@media (max-width: 768px) {
  :root { --side: 12px; }
  .section { padding: 52px 0; }
  .founder-section { padding: 52px 0 24px; }
  .audience-section { padding: 18px 0 52px; }
  .audience-card { padding: 26px 22px; }
  .about-intro { font-size: 16px; }

  /* Header */
  .nav { display: none; }
  .btn-tg { display: none; }
  .btn-call { display: none; }
  .burger { display: flex; width: 46px; height: 46px; padding: 10px; }
  .logo-img { height: 90px; }

  /* How loyalty */
  .loyalty-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .how-cta { flex-direction: column; align-items: center; }
  .how-cta .btn-outline { justify-content: center; width: 100%; max-width: 320px; }

  /* Hero */
  .hero { padding: 88px 0 60px; min-height: auto; }
  .hero-panel { padding: 32px 8px 28px; min-height: 200px; }
  .hero-title { font-size: clamp(18px, 5.5vw, 26px); }
  .hero-chips { gap: 5px; }
  .hero-chip { font-size: 11px; padding: 5px 10px; }
  .hide-mobile { display: none; }
  .mobile-br { display: inline; }

  /* Widget */
  .widget-panels { flex-direction: column; }
  .widget-actions { grid-template-columns: 1fr; }
  .widget-btn-outline { justify-content: center; }

  /* Hero buttons — stack vertically, full width */
  .hero-panel .btn-primary { width: 100%; justify-content: center; }
  .hero-panel > div[style] { flex-direction: column !important; }

  /* Advantages — 2 columns */
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .adv-card { padding: 18px 14px; gap: 10px; }
  .adv-icon { width: 40px; height: 40px; }

  /* How */
  .steps-list { grid-template-columns: 1fr; }

  /* Segments — 2 columns */
  .seg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .seg-card { padding: 18px 14px; }
  .seg-card-title { font-size: 15px; }
  .seg-hero-content { padding: 32px 20px 28px; }
  .seg-hero-content .hero-title { font-size: clamp(24px, 7vw, 34px); }
  .seg-hero-actions { flex-direction: column; align-items: stretch; }
  .seg-hero-actions .btn-primary, .seg-hero-actions .btn-outline { justify-content: center; }

  /* Map */
  .p-kzn  { top: 46%; left: 39%; }
  .p-ufa  { top: 62%; left: 44%; }
  .p-ekb  { top: 41%; left: 62%; }

  /* Office cards — 2 columns */
  .office-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .office-card { padding: 20px 16px; }

  /* Trust — 2 columns, wide cards full width */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-card--wide { grid-column: span 2; flex-direction: row; }
  .trust-card { padding: 18px 16px; }
  .trust-visual { width: 64px; height: 64px; }

  /* FAQ */
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-left { position: static; }

  /* CTA */
  .cta-inner { padding: 40px 20px; }
  .cta-actions { flex-direction: column; }
  .cta-btn { width: 100%; justify-content: center; }
  .btn-outline { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-docs { gap: 12px; }
}

@media (max-width: 400px) {
  /* Very small phones — drop to 1 column */
  .adv-grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card--wide { grid-column: 1; flex-direction: column; }
  .trust-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .widget-body { padding: 18px 16px 16px; }
  .map-pin { font-size: 12px; padding: 8px 12px 8px 10px; }
  .city-pills { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════════
   CALL MODAL
══════════════════════════════════════════════════════════ */
.call-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.call-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.call-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.call-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  padding: 40px 36px 40px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(91,138,255,0.08);
  transform: scale(0.93) translateY(12px);
  transition: transform 0.28s var(--ease);
}
.call-modal.open .call-modal-card {
  transform: scale(1) translateY(0);
}
.call-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: background 0.2s, color 0.2s;
}
.call-modal-x:hover { background: rgba(255,255,255,0.10); color: var(--text-1); }
.call-modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 2px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-h);
  margin-bottom: 4px;
  box-shadow: 0 0 24px var(--blue-glow);
}
.call-modal-name {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
}
.call-modal-role {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 4px;
}
.call-modal-phone {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-h);
  letter-spacing: 0.5px;
  margin: 4px 0 12px;
}
.call-modal-btn {
  width: 100%;
  justify-content: center;
  height: 52px;
  font-size: 16px;
}
.call-modal-tg {
  width: 100%;
  justify-content: center;
  height: 48px;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .call-modal-card { padding: 36px 24px 28px; margin: 0 16px; }
}

.call-modal-badge.offline{background:rgba(239,68,68,0.08);border-color:rgba(239,68,68,0.25);}
#call-modal-badge { margin-bottom: 28px; }

/* Standalone product detail pages */
.product-main { padding: 164px 0 76px; }
.product-breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--text-3); font-size: 13px; }
.product-breadcrumbs a { color: var(--text-2); transition: color 0.2s; }
.product-breadcrumbs a:hover { color: var(--text-1); }
.product-hero { padding: 0 0 42px; border-bottom: 1px solid var(--border); }
.product-kicker { color: var(--blue-h); font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.product-title { max-width: 850px; margin-top: 12px; font-family: var(--font-h); font-size: clamp(38px, 6vw, 66px); font-weight: 800; line-height: 1.04; letter-spacing: -1.8px; text-wrap: balance; }
.product-lead { max-width: 760px; margin-top: 18px; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.product-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.product-text-link { color: var(--text-2); font-size: 14px; font-weight: 600; transition: color 0.2s; }
.product-text-link:hover { color: var(--text-1); }
.product-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 38px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-facts li { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 18px 18px 18px 0; }
.product-facts li + li { padding-left: 18px; border-left: 1px solid var(--border); }
.product-facts strong { color: var(--text-1); font-size: 14px; font-weight: 700; }
.product-facts span { color: var(--text-3); font-size: 12px; line-height: 1.45; }
.product-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.7fr); gap: 64px; align-items: start; }
.product-section-title { max-width: 680px; margin-top: 12px; font-family: var(--font-h); font-size: clamp(27px, 3.4vw, 40px); font-weight: 750; line-height: 1.12; letter-spacing: -0.8px; }
.product-body-copy { max-width: 66ch; margin-top: 18px; color: var(--text-2); font-size: 15px; line-height: 1.75; }
.product-process { margin-top: 24px; }
.product-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-top: 1px solid var(--border); }
.product-step > span { color: var(--blue-h); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-step p { color: var(--text-1); font-size: 14px; line-height: 1.6; }
.product-side { padding: 4px 0 0 28px; border-left: 1px solid var(--border-h); }
.product-side-title { font-family: var(--font-h); font-size: 19px; font-weight: 700; }
.product-checklist { margin-top: 18px; }
.product-checklist li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; line-height: 1.55; }
.product-side-note { margin-top: 18px; color: var(--text-3); font-size: 12px; line-height: 1.6; }
.product-docs-note { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border-h); color: var(--text-2); font-size: 13px; }
.product-docs-note strong { color: var(--text-1); }
.product-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 48px; padding: 30px 32px; border: 1px solid var(--blue-border); border-radius: 20px; background: rgba(91,138,255,0.045); }
.product-cta-band h2 { max-width: 620px; margin-top: 8px; font-family: var(--font-h); font-size: clamp(22px, 3vw, 30px); font-weight: 750; line-height: 1.15; }
.product-cta-band p:not(.product-kicker) { max-width: 58ch; margin-top: 10px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.product-footer { padding: 26px 0; border-top: 1px solid var(--border); }
.product-footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: center; }
.product-footer-brand { color: var(--text-1); font-family: var(--font-h); font-size: 13px; font-weight: 700; letter-spacing: 0.4px; }
.product-footer-inner nav, .product-footer-inner > div { display: flex; gap: 14px; flex-wrap: wrap; }
.product-footer-inner nav { justify-content: center; }
.product-footer-inner > div { justify-content: flex-end; }
.product-footer-inner nav a, .product-footer-inner > div a, .product-footer-inner > div span { color: var(--text-3); font-size: 12px; transition: color 0.2s; }
.product-footer-inner nav a:hover, .product-footer-inner > div a:hover { color: var(--text-1); }
.audience-title-link { transition: color 0.2s; }
.audience-title-link:hover { color: var(--blue-h); }
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-side { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--border-h); }
  .product-footer-inner { grid-template-columns: 1fr 1fr; }
  .product-footer-inner nav { justify-content: flex-start; }
  .product-footer-inner > div { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .product-main { padding: 158px 0 52px; }
  .product-hero { padding-bottom: 30px; }
  .product-title { font-size: clamp(30px, 8.5vw, 44px); letter-spacing: -0.8px; }
  .product-lead { font-size: 16px; }
  .product-breadcrumbs { margin-bottom: 22px; color: var(--text-2); }
  .product-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .product-actions .btn-primary { width: 100%; justify-content: center; }
  .product-actions .product-text-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
  .product-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .product-facts li { padding: 14px 12px 14px 0; }
  .product-facts li + li { padding-left: 12px; }
  .product-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .product-facts span, .product-side-note { color: rgba(240,240,240,0.54); }
  .product-section { padding: 40px 0; }
  .product-step { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .product-cta-band { align-items: flex-start; flex-direction: column; margin-top: 30px; padding: 24px 20px; }
  .product-cta-band .btn-primary { width: 100%; justify-content: center; }
  .product-footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .product-footer-inner nav, .product-footer-inner > div { justify-content: flex-start; }
  .product-footer-inner nav a, .product-footer-inner > div a, .product-footer-inner > div span { color: rgba(240,240,240,0.54); }
}
