/* ════════════════════════════════════════════════════════════════════════
   Senin Cargo — люкс-оформление
   Палитра: глубокий бордово-чёрный + шампанское золото + слоновая кость.
   Заголовки — Playfair Display (сериф), текст — Manrope.
   ════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:         #150707;   /* почти чёрный с бордовым подтоном */
  --ink-2:       #1E0B0B;
  --maroon:      #4A0F0F;
  --maroon-lt:   #6B1313;
  --gold:        #C9A227;   /* шампанское золото */
  --gold-lt:     #E5C96B;
  --gold-pale:   #F0DFA8;
  --gold-dk:     #9A7A1A;
  --ivory:       #F7E7A0;   /* фон светлых секций — золотистый (жёлтый) */
  --ivory-2:     #F0DA85;
  --cream:       #FFFBEA;
  --text:        #3A0C10;   /* тёмно-бордовый вместо чёрного */
  --text-dim:    #6E3B33;
  --text-muted:  #9B7060;
  --white:       #FFFFFF;
  --hairline:    rgba(201,162,39,.30);
  --hairline-lt: rgba(201,162,39,.18);
  --radius:      4px;       /* люкс = почти прямые углы */
  --shadow:      0 10px 30px -12px rgba(21,7,7,.25);
  --shadow-md:   0 24px 48px -16px rgba(21,7,7,.35);
  --serif:       'Lora', Georgia, 'Times New Roman', serif;
  --sans:        'Lora', Georgia, 'Times New Roman', serif;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
/* overflow-x: clip — режет любое горизонтальное переполнение (карта, широкие
   svg-декорации) НЕ создавая скролл-контейнер, поэтому sticky-шапка работает. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--text);
  /* Тёплый градиент как фон в логотипе (пале-голд -> амбер). Светлые
     секции прозрачны и показывают этот градиент; тёмные -- со своим фоном. */
  background: linear-gradient(180deg,
    #FBEFC2 0%, #F6E094 26%, #F0CD7C 52%, #EAC06E 76%, #E6B662 100%);
  line-height: 1.7;
  overflow-x: clip;
  font-size: 15.5px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--gold); color: var(--ink); }

/* ── Header ──────────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21,7,7,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-lt);
  transition: border-color .3s, background .3s;
}
header.scrolled { border-bottom-color: var(--hairline); background: rgba(21,7,7,.97); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .4px;
  flex-shrink: 0;
}
.logo img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(201,162,39,.35)); }
.logo-name span { color: var(--gold-lt); font-style: italic; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(250,246,237,.72);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 8px 11px;
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}
nav a::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px; bottom: 2px;
  height: 1px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
nav a:hover { color: var(--gold-lt); }
nav a:hover::after { transform: scaleX(1); }

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(250,246,237,.55);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: 1px;
}
.lang-btn:hover { color: var(--gold-lt); }
.lang-btn.active { background: var(--gold); color: var(--ink); }

.btn-sm { padding: 10px 20px; font-size: 11.5px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--gold-lt);
  transition: transform .3s, opacity .3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ink-2);
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav a {
  color: rgba(250,246,237,.85);
  text-decoration: none;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,162,39,.1);
}
.mobile-nav a:hover { color: var(--gold-lt); }
.mobile-nav.open { display: flex; }
.mobile-lang {
  display: flex;
  gap: 8px;
  padding: 16px 28px 0;
}
.mobile-lang .lang-btn { font-size: 13px; padding: 6px 12px; border: 1px solid var(--hairline); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

.btn-gold {
  background: linear-gradient(135deg, #D9B23A 0%, var(--gold) 45%, #B08D1E 100%);
  color: var(--ink);
  box-shadow: 0 6px 20px -6px rgba(201,162,39,.55);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #E8C654 0%, #D4AF37 45%, #BE9A24 100%);
  box-shadow: 0 10px 28px -6px rgba(201,162,39,.7);
  transform: translateY(-1px);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--gold-pale);
}
.btn-outline:hover { border-color: var(--gold-lt); color: var(--gold-lt); background: rgba(201,162,39,.06); }

.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201,162,39,.12), transparent 60%),
    radial-gradient(700px 400px at 8% 110%, rgba(146,23,23,.62), transparent 65%),
    linear-gradient(160deg, #1A0505 0%, #4A0E0E 45%, #6B1313 100%);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 320px at 78% 45%, rgba(201,162,39,.08), transparent 70%);
}
.hero-arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-arcs svg { width: 100%; height: 100%; display: block; }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}

.hero-content { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-lt);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  padding: 8px 20px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  margin-bottom: 30px;
  text-transform: uppercase;
  background: rgba(201,162,39,.05);
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-badge .badge-arrow { color: var(--gold-lt); opacity: .85; }
.hero-badge .badge-loc { white-space: nowrap; }
.hero-badge .badge-heart { color: var(--gold-lt); margin-left: -4px; }
@media (max-width: 380px) { .hero-badge { letter-spacing: 1.6px; font-size: 10.5px; gap: 7px; } }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 26px;
  letter-spacing: .2px;
  color: var(--cream);
}
.hero h1 em {
  color: var(--gold-lt);
  font-style: italic;
  font-weight: 500;
}

/* Тонкая линия с ромбом под заголовком */
.hero-rule, .hero-hairline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-rule { max-width: 300px; margin-bottom: 26px; }
.hero-rule i, .hero-hairline i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 30%, var(--hairline) 70%, transparent);
  display: block;
}
.hero-rule i:first-child { background: linear-gradient(90deg, var(--hairline), transparent); }
.hero-rule i:last-child  { background: linear-gradient(90deg, transparent, var(--hairline)); }
.hero-rule b, .hero-hairline b {
  color: var(--gold);
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
}
.hero-hairline {
  position: relative;
  z-index: 1;
  padding: 0 10%;
  transform: translateY(-1px);
}

.hero-content > p {
  font-size: clamp(15px, 2vw, 17.5px);
  color: rgba(250,246,237,.78);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; }
.hero-btns .hero-badge { margin-bottom: 0; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat {
  text-align: left;
  padding: 0 36px;
  border-left: 1px solid var(--hairline-lt);
  min-width: 0;
}
.stat:first-child { padding-left: 0; border-left: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--gold-lt);
  display: block;
  line-height: 1;
}
.stat-num .pre {
  font-family: var(--sans);
  font-size: .4em;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  vertical-align: middle;
  opacity: .8;
  margin-right: 3px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 0px;
  color: rgba(250,246,237,.5);
  font-weight: 600;
}

/* Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pagoda-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 0 44px rgba(201,162,39,.22));
}

/* ── Section shared ──────────────────────────────────────────────────────── */
.section { padding: 30px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: .2px;
  line-height: 1.2;
}
.section-sub { color: var(--text-dim); font-size: 16px; max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 60px; }

/* ── How it works (тёмная секция) ────────────────────────────────────────── */
.steps-section {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(201,162,39,.07), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #240B0B 100%);
  color: var(--ivory);
}
.steps-section .section-tag { color: var(--gold-lt); }
.steps-section .section-title { color: var(--cream); }
.steps-section .section-sub { color: rgba(250,246,237,.65); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  text-align: left;
  padding: 36px 28px 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.5);
  transition: transform .3s, background .3s, border-color .3s;
  animation: stepFadeIn .55s ease both;
  position: relative;
}
.step-card--1 { animation-delay: .0s; }
.step-card--2 { animation-delay: .1s; }
.step-card--3 { animation-delay: .2s; }
.step-card--4 { animation-delay: .3s; }
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.step-card:hover { background: rgba(201,162,39,.06); border-color: var(--gold); transform: translateY(-5px); }
.step-card:hover .step-num { transform: translateY(-4px) rotate(-3deg); }
/* Номер шага — в виде посылки */
.step-num {
  position: relative;
  width: 60px; height: 58px;
  margin-bottom: 22px;
  filter: drop-shadow(0 8px 14px rgba(201,162,39,.35));
  transition: transform .3s ease;
}
.step-box { display: block; width: 100%; height: 100%; }
.step-n {
  position: absolute;
  left: 0; right: 0; top: 44%; bottom: 3%;   /* область корпуса посылки (ниже клапанов) */
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  color: #3A0C10;
}
.step-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--cream);
  letter-spacing: .3px;
}
.step-card p { font-size: 14px; color: rgba(250,246,237,.62); line-height: 1.7; }

/* ── Tariffs ─────────────────────────────────────────────────────────────── */
.tariffs { background: transparent; }
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.tariff-card {
  background: linear-gradient(180deg, #FFFFFF, var(--cream));
  border: 1.5px solid rgba(122,18,18,.38);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  animation: stepFadeIn .55s ease both;
  position: relative;
  box-shadow: 0 8px 24px -14px rgba(90,60,10,.35);
}
.tariff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
  transition: opacity .3s;
}
.tariff-card--1 { animation-delay: .0s; }
.tariff-card--2 { animation-delay: .1s; }
.tariff-card--3 { animation-delay: .2s; }
.tariff-card--4 { animation-delay: .3s; }
.tariff-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(90,60,10,.5); border-color: var(--gold); }
.tariff-card:hover::before { opacity: 1; }

/* Выделенный тариф «Выгодно» — тёмно-бордовая карточка, золото, плашка снизу */
.tariff-card.featured {
  border: 2px solid var(--gold);
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(201,162,39,.22), transparent 62%),
    linear-gradient(180deg, var(--maroon-lt) 0%, var(--maroon) 45%, var(--ink) 100%);
  transform: scale(1.06);
  box-shadow: 0 28px 56px -18px rgba(74,15,15,.6), 0 0 0 6px rgba(201,162,39,.1);
  z-index: 2;
  overflow: hidden;
}
.tariff-card.featured::before { opacity: 1; height: 4px; }
.tariff-card.featured:hover { transform: scale(1.06) translateY(-6px); border-color: var(--gold-lt); }
@media (max-width: 640px) { .tariff-card.featured { transform: none; } .tariff-card.featured:hover { transform: translateY(-6px); } }

/* текст на тёмной карточке — золотой */
.tariff-card.featured .tariff-label { color: var(--gold-pale); }
.tariff-card.featured .tariff-price { color: var(--gold-lt); font-size: 66px; }
.tariff-card.featured .tariff-unit  { color: rgba(240,223,168,.72); }

.tariff-badge {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 60%, var(--gold-dk));
  color: var(--ink);
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 13px;
  text-transform: uppercase;
}
.tariff-body { padding: 34px 24px 30px; text-align: center; }
.tariff-card.featured .tariff-body { padding: 34px 24px 22px; }
.tariff-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.tariff-price {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1;
}
.tariff-unit { font-size: 13px; color: var(--text-dim); margin-top: 8px; letter-spacing: .5px; }
.tariff-note { font-size: 14px; color: #6B1313; margin-top: 14px; font-style: italic; line-height: 1.5; }
.tariff-card.featured .tariff-note { color: rgba(250,246,237,.85); }
.tariff-base-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--maroon);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 7px 18px;
  background: var(--cream);
}
.tariff-regional {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  padding: 16px 22px;
  background: var(--cream);
  border-left: 2px solid var(--gold);
}
.tariff-disclaimer { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); text-align: center; font-style: italic; }

/* ── Currency rates ──────────────────────────────────────────────────────── */
.rates-section { background: transparent; }
.rates-table-wrap { overflow-x: auto; max-width: 660px; border: 1px solid var(--hairline); }
.rates-table { border-collapse: collapse; width: 100%; background: var(--cream); }
.rates-table th {
  background: var(--ink);
  color: var(--gold-pale);
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.rates-table td { padding: 13px 20px; font-size: 15px; color: var(--text); border-top: 1px solid var(--hairline-lt); }
.rates-table td:first-child { font-weight: 700; }
.rates-table td .cur-flag { margin-right: 8px; }
.rates-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.rates-updated { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); font-style: italic; }
.rates-loading { text-align: center; color: var(--text-muted); font-style: italic; padding: 20px; }
/* Кнопки скачивания приложения (Android / iOS) */
.app-download-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.app-dl-btn {
  gap: 12px;
  padding: 12px 22px;
  text-transform: none;
  letter-spacing: normal;
}
.app-dl-btn svg { flex-shrink: 0; }
.app-dl-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.app-dl-label small { font-size: 10px; font-weight: 600; letter-spacing: .6px; opacity: .8; text-transform: uppercase; }
.app-dl-label b { font-size: 16px; font-weight: 700; letter-spacing: .2px; }
.app-dl-soon { opacity: .6; cursor: default; pointer-events: none; }
@media (max-width: 400px) { .app-download-row { flex-direction: column; } .app-dl-btn { width: 100%; } }

/* Карточка курса внутри тёмного блока «Приложение» */
.rates-card .rates-card-head { margin-bottom: 20px; }
.rates-card .rates-card-title {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: .3px;
}
.rates-card .rates-card-note {
  display: block;
  font-size: 13px;
  color: rgba(250,246,237,.6);
  margin-top: 6px;
  line-height: 1.5;
}
.rates-card .rates-table-wrap { max-width: 100%; border-color: var(--hairline-lt); }
/* колонки грид-блоков могут ужиматься — таблица курса скроллится внутри,
   а не растягивает страницу по горизонтали (ломало адаптивность на мобильном) */
.app-inner > *, .contact-inner > *, .partners-inner > * { min-width: 0; }
.rates-card .rates-updated { color: rgba(250,246,237,.5); }

/* ── PVZ ─────────────────────────────────────────────────────────────────── */
.pvz-section { background: transparent; }
.contact-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  background: var(--ivory-2);
}
@media (max-width: 768px) { .contact-map { height: 240px; } }
.pvz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.pvz-card {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF, var(--cream));
  border: 1.5px solid rgba(122,18,18,.38);
  border-radius: 10px;
  padding: 30px 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px -14px rgba(90,60,10,.35);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pvz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
  transition: opacity .3s;
}
.pvz-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(90,60,10,.5); border-color: var(--gold); }
.pvz-card:hover::before { opacity: 1; }
.pvz-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pvz-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 5px 6px rgba(122,80,10,.4));
}
.pvz-icon svg { width: 100%; height: 100%; display: block; }
.pvz-name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .2px; }
.pvz-city { font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; font-weight: 600; }
.pvz-details { font-size: 14px; color: var(--text-dim); }
.pvz-details p { display: flex; gap: 8px; margin-bottom: 7px; line-height: 1.5; }
.pvz-details p:last-child { margin-bottom: 0; }
.pvz-details .lbl { flex-shrink: 0; color: var(--text-muted); }
.pvz-details a { color: var(--maroon); }
.pvz-loading { text-align: center; color: var(--text-muted); padding: 32px; grid-column: 1/-1; font-style: italic; }
.pvz-error { text-align: center; color: var(--maroon); padding: 24px; grid-column: 1/-1; font-size: 14px; }

/* ── Partner program ─────────────────────────────────────────────────────── */
.partners-section { background: transparent; }
.partners-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.partner-rate-badge {
  display: inline-flex;
  flex-direction: column;
  background:
    radial-gradient(300px 120px at 90% -20%, rgba(201,162,39,.2), transparent 70%),
    linear-gradient(135deg, var(--ink), var(--maroon));
  color: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 36px;
  margin: 24px 0 32px;
  gap: 6px;
}
.rate-num { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--gold-lt); line-height: 1; }
.rate-label { font-size: 12px; letter-spacing: .2px; color: rgba(250,246,237,.75); font-weight: 500; line-height: 1.45; }

.partner-benefits { display: flex; flex-direction: column; gap: 22px; }
.benefit-item { display: flex; gap: 18px; align-items: flex-start; }
.benefit-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dk);
  background: var(--cream);
}
.benefit-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.benefit-item p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

.partners-form-wrap {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .2px;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #E0D3B0;
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  resize: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.14); }
.form-input::placeholder { color: var(--text-muted); }

.form-textarea { min-height: 88px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1.45;
}
.form-checkbox input { margin-top: 2px; flex-shrink: 0; accent-color: var(--maroon); }

.form-status {
  font-size: 14px;
  border-radius: 2px;
  padding: 0;
  transition: all .3s;
}
.form-status.success { color: #1B7A3E; background: #EDF6EE; border: 1px solid #CBE5CF; padding: 10px 14px; }
.form-status.error   { color: #9B1C1C; background: #FBEeee; border: 1px solid #EFD2D2; padding: 10px 14px; }

/* ── App section (тёмная) ────────────────────────────────────────────────── */
.app-section {
  background:
    radial-gradient(700px 380px at 15% 110%, rgba(107,19,19,.45), transparent 65%),
    linear-gradient(180deg, #1A0909 0%, var(--ink) 100%);
  color: var(--ivory);
}
.app-section .section-tag { color: var(--gold-lt); }
.app-section .section-title { color: var(--cream); }
.app-section .section-sub { color: rgba(250,246,237,.65); }

.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.app-features {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: rgba(250,246,237,.85);
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline-lt);
}
.app-features li:first-child { border-top: 1px solid var(--hairline-lt); }
.app-features li::before {
  content: '◆';
  color: var(--gold);
  font-size: 9px;
  flex-shrink: 0;
}

.app-cta-block {
  background: rgba(250,246,237,.03);
  border: 1px solid var(--hairline-lt);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.app-soon-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.app-phone-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-lt);
  flex-shrink: 0;
}
.app-soon-badge strong { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold-lt); letter-spacing: .3px; }

.app-soon-sub { font-size: 14px; color: rgba(250,246,237,.65); margin-bottom: 24px; line-height: 1.7; }

.app-notify-form { margin-bottom: 24px; }
.notify-row { display: flex; gap: 10px; }
.notify-row .form-input {
  flex: 1;
  background: rgba(250,246,237,.06);
  border-color: var(--hairline);
  color: var(--ivory);
}
.notify-row .form-input::placeholder { color: rgba(250,246,237,.4); }
.notify-row .form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }

.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid var(--hairline-lt);
  border-radius: 2px;
  color: rgba(250,246,237,.45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  transition: all .25s;
}
.store-btn--disabled { cursor: not-allowed; }
.store-btn--disabled:hover { border-color: var(--hairline); color: rgba(250,246,237,.45); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { background: transparent; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hairline); }
.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--hairline);
  transition: background .25s;
}
.faq-item[open] { background: var(--cream); }
.faq-item summary {
  padding: 22px 18px;
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--gold-dk);
  flex-shrink: 0;
  transition: transform .3s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--maroon); }
.faq-item p {
  padding: 0 18px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}
.faq-item p a { color: var(--maroon); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-section { background: transparent; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;   /* колонки одной высоты — форма равняется с картой */
}
/* Форма «Задать вопрос» тянется на высоту левой колонки, поле сообщения растёт */
.contact-form-wrap { display: flex; flex-direction: column; }
.contact-form-wrap .contact-form { flex: 1 1 auto; }
.contact-form-wrap .form-textarea { flex: 1 1 auto; min-height: 140px; }
@media (max-width: 900px) {
  .contact-inner { align-items: start; }
  .contact-form-wrap .form-textarea { flex: 0 0 auto; min-height: 110px; }
}

.contact-details {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-details a {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  letter-spacing: .3px;
}
.contact-details a:hover { color: var(--gold-dk); }
.contact-details p:last-child { font-size: 14px; color: var(--text-dim); }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--white);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
/* Единая бордово-золотая палитра вместо пёстрых фирменных цветов площадок */
.social-btn {
  background: rgba(107,19,19,.10);
  border: 1px solid var(--hairline);
  color: var(--maroon-lt);
}
.social-btn svg { fill: currentColor; }
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--maroon-lt);
  color: var(--cream);
  border-color: var(--maroon-lt);
}

.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, var(--ink) 0%, #0D0404 100%);
  color: rgba(250,246,237,.6);
  padding: 56px 0 44px;
  border-top: 1px solid var(--hairline-lt);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline-lt);
}
.footer-logo { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--cream); letter-spacing: .4px; }
.footer-logo span { color: var(--gold-lt); font-style: italic; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(250,246,237,.5);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-links--legal { justify-content: center; margin-bottom: 18px; }
.footer-links--legal a { font-size: 11px; color: rgba(250,246,237,.35); text-transform: none; letter-spacing: .6px; }
.footer-copy { font-size: 12.5px; text-align: center; color: rgba(250,246,237,.3); }
.footer-brand { font-size: 12px; text-align: center; color: rgba(250,246,237,.28); margin-top: 8px; }
.footer-brand a { color: var(--gold-dk); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 13px; }
.footer-brand a:hover { color: var(--gold-lt); }

/* ── Fade-in animation ───────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .partners-inner, .contact-inner, .app-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 24px;
  }
  .hero-content { text-align: center; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; margin-top: 44px; }
  .stat { text-align: center; padding: 0 24px; }
  .stat:first-child { padding-left: 24px; }
  .hero-illustration { order: -1; }
  .hero-pagoda-svg { max-width: 210px; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .header-right .btn-sm { display: none; }
  .hamburger { display: flex; }
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .pvz-grid { grid-template-columns: 1fr; }
  .notify-row { flex-direction: column; }
  .notify-row .btn { width: 100%; }
  .tariff-disclaimer { text-align: left; }
  .steps-grid { grid-template-columns: 1fr; }
  .rates-table th, .rates-table td { padding: 10px 12px; font-size: 13px; }
  /* hero-статистика на мобильном: бейдж-дистрибьютор на всю ширину (вне сетки) + отступ; числа ниже 2 колонки */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 22px; }
  .stat { text-align: center; padding: 0 10px; border-left: 1px solid var(--hairline-lt); }
  .stat:first-child { border-left: none; padding-left: 10px; }
  .stat-verified { justify-content: center; margin-bottom: 18px; }
  .stat-verified + .stat { border-left: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .partners-form-wrap, .contact-form-wrap, .app-cta-block { padding: 28px 22px; }
  /* бейдж вне сетки (на всю ширину), числа ниже 2 колонки */
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; }
  .stat { padding: 0 6px; text-align: center; border-left: 1px solid var(--hairline-lt); }
  .stat:first-child { padding-left: 6px; border-left: none; }
  .stat-num { font-size: 25px; }
  .stat-label { font-size: 9.5px; letter-spacing: 1px; margin-top: 6px; }
  .tariff-price { font-size: 44px; }
}

/*--------------------------------------------------------------
Единый шрифт Lora. Заголовки блоков на светлых секциях — красные
(в тон красному кольцу логотипа). Плюс разделители между секциями.
--------------------------------------------------------------*/
.tariffs .section-title,
.pvz-section .section-title,
.partners-section .section-title,
.contact-section .section-title {
  color: #A81E1E;
  font-weight: 700;
}
.tariff-price { font-weight: 700; letter-spacing: -0.5px; }
.pvz-name     { font-weight: 700; }
.form-title   { font-weight: 700; color: #A81E1E; }
.contact-details a { font-weight: 700; }

/* Разделители между блоками (в т.ч. светлыми, где фон единый градиент) */
.tariffs,
.pvz-section,
.partners-section,
.app-section,
.contact-section {
  border-top: 1px solid rgba(122,18,18,.22);
}

/* Метки-теги секций на светлом фоне — тёмно-бордовые (золотые не видны) */
.tariffs .section-tag,
.pvz-section .section-tag,
.partners-section .section-tag,
.contact-section .section-tag {
  color: #6B1313;
}
.tariffs .section-tag::before,
.pvz-section .section-tag::before,
.partners-section .section-tag::before,
.contact-section .section-tag::before {
  background: #6B1313;
}

/* ── Showcase (витрина товаров) ───────────────────────────────────────────── */
.showcase-section { padding-top: 44px; padding-bottom: 44px; }
.showcase-track {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0 26px;
}
.sc-lane {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  animation: sc-flow 120s linear infinite;
}
.sc-lane > .showcase-card { flex-shrink: 0; }
.sc-lane-b { animation-direction: reverse; animation-duration: 150s; }
.showcase-track:hover .sc-lane,
.showcase-track:focus-within .sc-lane { animation-play-state: paused; }
@keyframes sc-flow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sc-lane { animation: none; }
  .showcase-track { overflow-x: auto; }
}
.showcase-loading { color: #9a8a5a; padding: 34px 12px; font-size: .95rem; }
.showcase-card {
  flex: 0 0 150px;
  margin-right: 14px;
  display: flex; flex-direction: column;
  background: #fff;
  border: 2px solid #9B1B1E;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 8px 20px rgba(60, 10, 10, .30);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(60, 10, 10, .42);
  border-color: #7d1517;
}
.sc-imgwrap { width: 100%; aspect-ratio: 1 / 1; background: #faf6ea; }
.sc-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sc-title {
  font-size: .78rem; line-height: 1.3; color: #3a2f12;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.05em;
}
.sc-price { margin-top: auto; font-weight: 700; color: #A8781A; font-size: .98rem; }
.showcase-cta { text-align: center; margin-top: 20px; }
.showcase-cta .btn { min-width: 200px; }
@media (max-width: 560px) {
  .showcase-card { flex-basis: 42vw; }
}

/*--------------------------------------------------------------
Дизайн-ревью 12.07: растущая сеть ПВЗ, акцент на скачивание,
разделение тёмных секций, соц-кнопки в бренд-палитре.
--------------------------------------------------------------*/

/* «Скоро в вашем городе» — призрачная карточка (сеть растёт) */
.pvz-card-soon {
  border-style: dashed;
  border-color: var(--hairline);
  background: rgba(201,162,39,.05);
  box-shadow: none;
}
.pvz-card-soon .pvz-name { color: var(--maroon-lt); }
.pvz-icon-soon {
  background: rgba(201,162,39,.10);
  display: flex; align-items: center; justify-content: center;
}
.pvz-soon-text {
  color: var(--text-dim);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

/* Акцент секции «Приложение» — крупная кнопка скачивания */
.app-dl-btn { padding: 16px 26px; font-size: 15px; }
.app-dl-btn svg { width: 22px; height: 22px; }
.app-dl-label small { font-size: 10.5px; opacity: .8; }
.app-dl-label b { font-size: 16px; }
/* Карточка курса — второстепенная: спокойнее заголовок */
.app-section .rates-card-title { font-size: 15px; }
.app-section .app-cta-block { align-self: start; }

/* Разделение двух тёмных секций (Партнёрам → Приложение):
   тонкая золотая линия сверху app-section вместо слабой бордовой */
.app-section { border-top: 1px solid var(--hairline); }
.app-section::before {
  content: "";
  display: block;
  height: 2px;
  width: 64px;
  margin: 0 auto 44px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Yandex.Metrika информер в футере — приглушён, в тон бордово-золотому низу */
.ym-informer {
  display: inline-block;
  margin-top: 18px;
  opacity: .55;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity .25s ease;
  line-height: 0;
}
.ym-informer:hover { opacity: 1; }
.ym-informer img { display: block; }

/* ── Стат: бейдж «официальный дистрибьютор» ───────────────────── */
.stat-verified { display: flex; align-items: stretch; gap: 3px; margin-bottom: 15px; grid-column: 1 / -1; }
.stat-verified .verified-ic { color: var(--gold-lt); flex: none; align-self: stretch; height: 38px; width: 40px; aspect-ratio: 1; margin-top: 7px;}
.stat-verified .stat-label { text-transform: none; letter-spacing: .3px; font-size: 15px; color: var(--gold-lt); line-height: 1.25; max-width: 195px; opacity: .95; text-align: center;  }

/* ── Секция «Как это работает»: две карточки в ряд ────────────── */
.how-2col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; margin-top: 40px; }
.how-card, .hits-card { background: rgba(201,162,39,.04); border: 1px solid var(--hairline); border-radius: 4px; padding: 26px 30px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.how-steps li { display: flex; gap: 16px; align-items: flex-start; }
.how-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--gold-lt); border: 1px solid var(--gold); background: rgba(201,162,39,.07); }
.how-steps li b { display: block; font-size: 15px; color: #faf6ed; margin-bottom: 3px; font-weight: 700; }
.how-steps li p { margin: 0; font-size: 13.5px; color: rgba(250,246,237,.62); line-height: 1.6; }
.hits-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hits-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--gold-lt); letter-spacing: .5px; }
.hits-head .hits-ic { color: var(--gold); }
.hits-list { display: flex; flex-direction: column; }
.hit { display: flex; align-items: center; gap: 14px; padding: 11px 6px; border-bottom: 1px solid rgba(201,162,39,.09); }
.hit:last-child { border-bottom: none; }
.hit img { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; background: #fff; padding: 5px; flex: none; }
.hit-t b { display: block; font-size: 14px; color: #faf6ed; font-weight: 700; }
.hit-t span { display: block; font-size: 12.5px; color: rgba(250,246,237,.6); line-height: 1.4; margin-top: 1px; }
@media (max-width: 860px) { .how-2col { grid-template-columns: 1fr; } }
