/*
 * Bazora landing — стили.
 * Светлая тема в фирменном стиле приложения BAZORA:
 * белый фон, тёмно-синий (navy) бренд-цвет, светло-серые карточки.
 */
:root {
  --navy: #1f2d46;
  --navy-700: #2a3a58;
  --navy-soft: #2c3c5a;
  --bg: #ffffff;
  --bg-soft: #f1f2f4;
  --section: #f6f7f9;
  --card: #ececf0;
  --card-2: #f2f3f5;
  --line: #e6e7ea;
  --txt: #1f2d46;
  --txt-2: #5a6477;
  --txt-3: #8a92a3;
  --accent: #2f74ff;
  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --shadow: 0 8px 30px rgba(31, 45, 70, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 45, 70, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo-txt { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--navy); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { color: var(--txt-2); font-size: 0.96rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  padding: 11px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 0.92rem;
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap; flex-shrink: 0;   /* не переносить текст и не сжиматься (иначе пилюля багается) */
}
.brand { flex-shrink: 0; }               /* логотип тоже не сжимаем */
.nav-cta:hover { transform: translateY(-2px); background: var(--navy-700); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 76px 0 72px; background: linear-gradient(180deg, #ffffff 0%, var(--section) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 0.84rem; color: var(--txt-2); font-weight: 500; margin-bottom: 26px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; color: var(--navy);
  margin-bottom: 22px;
}
h1 .accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--txt-2); max-width: 520px; margin-bottom: 34px; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: 14px;
  background: var(--navy); color: #fff;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  min-width: 184px; box-shadow: var(--shadow);
}
.store-btn:hover { transform: translateY(-3px); background: var(--navy-700); box-shadow: var(--shadow-lg); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .st-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .st-small { font-size: 0.72rem; opacity: 0.7; }
.store-btn .st-big { font-size: 1.04rem; font-weight: 700; }
.store-btn.tg { background: #229ED9; }
.store-btn.tg:hover { background: #1b8ec4; }

.trust { margin-top: 28px; display: flex; align-items: center; gap: 16px; color: var(--txt-2); font-size: 0.9rem; flex-wrap: wrap; }
.stars { color: #f5b301; letter-spacing: 2px; }
.trust b { color: var(--navy); }

/* ===== Phone mockup (replica of the app) ===== */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-stage { position: relative; width: 300px; }
.phone {
  position: relative; width: 300px; height: 622px;
  border-radius: 46px; background: #0e1626;
  border: 1px solid #233; padding: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 24px; background: #0e1626; border-radius: 0 0 16px 16px; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg-soft); position: relative; display: flex; flex-direction: column; }

.app-top { background: #fff; padding: 40px 16px 14px; border-radius: 0 0 22px 22px; }
.app-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-logo { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.05em; color: var(--navy); }
.app-region { display: flex; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--txt-2); }
.app-search { height: 40px; border-radius: 12px; background: var(--card); display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--txt-3); font-size: 0.8rem; }
.app-body { flex: 1; overflow: hidden; padding: 14px 16px 0; }
.app-h { font-weight: 800; font-size: 1.05rem; color: var(--navy); margin: 4px 0 12px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat {
  background: var(--card); border-radius: 14px; padding: 12px;
  font-size: 0.74rem; font-weight: 700; color: var(--navy); height: 78px;
  display: flex; align-items: flex-start; position: relative; overflow: hidden;
}
.cat .emoji { position: absolute; right: 8px; bottom: 6px; font-size: 1.7rem; }
.app-h.brands { margin-top: 18px; }
.brand-row { display: flex; gap: 10px; }
.brand-chip { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 56px; display: grid; place-items: center; font-weight: 800; color: var(--navy); font-size: 0.92rem; }

.app-tab { background: #fff; border-top: 1px solid var(--line); height: 60px; display: flex; justify-content: space-around; align-items: center; padding-top: 4px; }
.tab-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.56rem; color: var(--txt-3); }
.tab-item.on { color: var(--navy); font-weight: 700; }
.tab-item svg { width: 20px; height: 20px; }

.float-card {
  position: absolute; z-index: 5; padding: 11px 14px; border-radius: 14px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; color: var(--navy);
}
.float-card .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.fc-1 { top: 96px; left: -36px; animation: float 5s ease-in-out infinite; }
.fc-2 { bottom: 132px; right: -36px; animation: float 7s ease-in-out infinite 0.6s; }

/* ===== Stats ===== */
.stats { background: var(--section); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-40px); }
.stat { text-align: center; }
.stat .num { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.stat .lbl { color: rgba(255,255,255,0.65); font-size: 0.86rem; margin-top: 4px; }

/* ===== Sections ===== */
.sec { padding: 86px 0; }
.sec.alt { background: var(--section); }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.sec-head .eyebrow { color: var(--accent); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; margin: 12px 0 14px; font-weight: 800; color: var(--navy); }
.sec-head p { color: var(--txt-2); font-size: 1.05rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .ic { width: 54px; height: 54px; border-radius: 15px; margin-bottom: 20px; display: grid; place-items: center; background: var(--bg-soft); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.feature p { color: var(--txt-2); font-size: 0.96rem; }

/* Categories strip */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  background: var(--card); border-radius: var(--radius-lg); padding: 22px; height: 132px;
  position: relative; overflow: hidden; font-weight: 700; color: var(--navy); font-size: 1.02rem;
  transition: transform 0.25s, background 0.25s;
}
.cat-tile:hover { transform: translateY(-5px); background: #e3e5ea; }
.cat-tile .big-emoji { position: absolute; right: 14px; bottom: 8px; font-size: 3.2rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step .n { width: 46px; height: 46px; border-radius: 13px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--navy); }
.step p { color: var(--txt-2); font-size: 0.95rem; }

/* ===== CTA ===== */
.cta-band { padding: 30px 0 100px; background: var(--section); }
.cta-card { border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-card::after { content: ''; position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, rgba(47,116,255,0.45), transparent 70%); top: -120px; right: -80px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 14px; font-weight: 800; }
.cta-card p { color: rgba(255,255,255,0.72); font-size: 1.06rem; max-width: 480px; margin: 0 auto 32px; }
.cta-card .stores { justify-content: center; }
.cta-card .store-btn { background: #fff; color: var(--navy); }
.cta-card .store-btn:hover { background: #eef0f4; }
.cta-card .store-btn.tg { background: #229ED9; color: #fff; }
.cta-card .store-btn .st-small { opacity: 0.6; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line); padding: 44px 0; background: #fff; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--txt-2); font-size: 0.9rem; transition: color 0.2s; }
.foot-links a:hover { color: var(--navy); }
.copy { color: var(--txt-3); font-size: 0.84rem; margin-top: 22px; text-align: center; }

/* ===== Responsive ===== */
/* Прячем меню раньше (980px), чем кнопке «Скачать приложение» станет тесно (~960px),
   иначе в зоне 921–959px кнопка сжималась и её текст переносился на 2 строки. */
@media (max-width: 980px) {
  .nav-links { display: none; }
}
@media (max-width: 920px) {
  .hero { padding: 60px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .lead, .badge { margin-left: auto; margin-right: auto; }
  .trust { justify-content: center; }
  .stores { flex-direction: column; align-items: center; gap: 12px; }
  .store-btn { width: 100%; max-width: 300px; min-width: 0; justify-content: center; }
  .store-btn .st-txt { flex: 0 0 96px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 26px 20px; }
}
@media (max-width: 680px) {
  .features, .steps { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 52px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  h1 { font-size: 2.2rem; }

  /* На телефонах ужимаем логотип + кнопку, чтобы они помещались в один ряд без переноса */
  .nav { height: 64px; gap: 10px; }
  .logo-img { height: 19px; }
  .nav-cta { padding: 8px 14px; font-size: 0.82rem; }

  /* Store buttons: full-width stacked, like real store badges */
  .stores { flex-direction: column; align-items: center; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; gap: 12px; }
  .store-btn { width: 100%; min-width: 0; justify-content: center; padding: 14px 20px; }

  .trust { flex-direction: column; gap: 8px; }
  .trust span:nth-child(3) { display: none; }

  /* Phone: адаптивная ширина, всегда по центру. Реальный кадр — .device
     в .phone-stage (старое правило целило неиспользуемый .phone). */
  .phone-stage { width: 100%; max-width: 300px; margin-inline: auto; }
  .phone-stage .device { width: 100%; }
  .float-card { display: none; }

  /* Stats card sits inside, not overlapping */
  .stats-grid { transform: translateY(-28px); border-radius: 20px; }
  .stat .num { font-size: 1.9rem; }

  /* Denser category tiles */
  .cats { gap: 12px; }
  .cat-tile { height: 110px; padding: 18px; font-size: 0.95rem; border-radius: 18px; }
  .cat-tile .big-emoji { font-size: 2.4rem; right: 10px; bottom: 6px; }

  .feature, .step { padding: 24px; }
  .cta-band { padding: 24px 0 72px; }
  .cta-card { padding: 44px 22px; }
  .foot { flex-direction: column; text-align: center; gap: 18px; }
  .foot-links { justify-content: center; gap: 18px 22px; }
}
@media (max-width: 360px) {
  .cats { grid-template-columns: 1fr; }
  .cat-tile { height: 96px; }
  /* Самые узкие экраны: ещё чуть ужать шапку, чтобы лого+кнопка точно влезли (≈14px запас на 320px) */
  .logo-img { height: 16px; }
  .nav-cta { padding: 7px 11px; font-size: 0.76rem; }
}
/* CTA: keep store buttons as a clean equal-width row until mobile */
@media (min-width: 561px) {
  .cta-card .stores { flex-direction: row; flex-wrap: nowrap; align-items: stretch; justify-content: center; gap: 14px; max-width: 720px; margin: 0 auto; }
  .cta-card .store-btn { flex: 1 1 0; width: auto; min-width: 0; max-width: 240px; justify-content: flex-start; padding: 14px 18px; }
  .cta-card .store-btn .st-txt { flex: 0 0 auto; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .phone, .device, .float-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
 * Наполнение лендинга (опт/менеджер/бренды/скриншоты) — доп. блоки
 * ============================================================ */

/* Standalone eyebrow (вне .sec-head) */
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow.light { color: #8fb4ff; }

/* Hero points (замена .trust) */
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero-points li { position: relative; padding-left: 24px; color: var(--txt-2); font-weight: 600; font-size: 0.94rem; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; border-radius: 50%; background: #e9f7ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/10px no-repeat; }

/* Real device (phone frame with screenshot) */
.device { width: 300px; border-radius: 42px; background: #0e1626; border: 1px solid #233; padding: 12px; box-shadow: var(--shadow-lg); }
.device img { width: 100%; height: auto; display: block; border-radius: 30px; }
.phone-stage .device { animation: float 6s ease-in-out infinite; }
.device-sm { width: 244px; border-radius: 36px; padding: 10px; }
.device-sm img { border-radius: 26px; }

/* Facts band (замена выдуманных stats) */
.facts-band { background: var(--section); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-40px); }
.fact { text-align: center; }
.fact .ft { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.fact .fl { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 4px; }

/* Personal manager */
.manager-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.manager-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; margin: 12px 0 14px; font-weight: 800; color: var(--navy); }
.mlead { color: var(--txt-2); font-size: 1.06rem; margin-bottom: 26px; }
.manager-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.manager-steps li { display: flex; gap: 16px; align-items: flex-start; }
.manager-steps .mn { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.manager-steps b { color: var(--navy); font-size: 1.04rem; }
.manager-steps p { color: var(--txt-2); font-size: 0.94rem; margin-top: 2px; }
.manager-shot { display: flex; justify-content: center; }

/* Geography */
.geo-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.geo-badge { padding: 14px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 700; color: var(--navy); font-size: 1.02rem; transition: transform 0.2s, box-shadow 0.2s; }
.geo-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Category photo grid (real images) */
.cat-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cat-card img { width: 100%; height: 132px; object-fit: contain; background: var(--card-2); padding: 14px; }
.cat-card span { padding: 14px 12px; font-weight: 700; color: var(--navy); font-size: 0.98rem; text-align: center; }

/* Brands grid (real logos) */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 96px; display: grid; place-items: center; padding: 20px; transition: transform 0.25s, box-shadow 0.25s; }
.brand-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.brand-cell img { max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.25s, opacity 0.25s; }
.brand-cell:hover img { filter: grayscale(0); opacity: 1; }

/* Screenshots gallery */
.screens-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.screen-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.screen-item figcaption { color: var(--txt-2); font-weight: 600; font-size: 0.96rem; }

/* Info cards (Telegram-topic sections) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.info-card h3 { font-size: 1.16rem; margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.info-card p { color: var(--txt-2); font-size: 0.96rem; }

/* B2B */
.b2b-card { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; border-radius: var(--radius-lg); padding: 48px 44px; background: var(--navy); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.b2b-card::after { content: ''; position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(47,116,255,0.4), transparent 70%); top: -120px; right: -60px; }
.b2b-card > * { position: relative; z-index: 1; }
.b2b-copy { max-width: 640px; }
.b2b-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; margin: 12px 0 12px; font-weight: 800; }
.b2b-copy p { color: rgba(255,255,255,0.78); font-size: 1.02rem; }
.b2b-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px; background: #229ED9; color: #fff; font-weight: 700; font-size: 1rem; white-space: nowrap; box-shadow: var(--shadow); transition: transform 0.2s, background 0.2s; }
.b2b-btn:hover { transform: translateY(-3px); background: #1b8ec4; }

/* ===== Responsive (доп. блоки) ===== */
@media (max-width: 920px) {
  .manager-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .manager-steps li { text-align: left; }
  .manager-steps { max-width: 460px; margin: 0 auto; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 26px 20px; }
  .cat-photos { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .info-grid { grid-template-columns: 1fr; }
  .cat-photos { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .facts-grid { transform: translateY(-28px); border-radius: 20px; }
  .fact .ft { font-size: 1.5rem; }
  .cat-card img { height: 110px; }
  .device { width: 260px; }
  .screens-row { gap: 28px; }
  .b2b-card { padding: 34px 22px; text-align: center; justify-content: center; }
  .b2b-copy { margin: 0 auto; }
}
@media (max-width: 360px) {
  .cat-photos, .brand-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-stage .device { animation: none !important; }
}

/* ============================================================
 * Контакты + доп. тексты условий (реальный контент разделов)
 * ============================================================ */

/* Многоабзацные info-карточки: аккуратные отступы между <p> */
.info-card p + p { margin-top: 10px; }
.info-card .warranty-add { color: var(--txt-3); font-size: 0.9rem; }
.info-card b { color: var(--navy); }

/* Контакты */
.contacts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.contact-ic.tg { background: #229ED9; }
.contact-ic.wa { background: #25D366; }
.contact-ic.mx { background: var(--accent); }
.contact-card b { display: block; color: var(--navy); font-size: 1.02rem; }
.contact-card span { color: var(--txt-2); font-size: 0.92rem; }
.contacts-address { text-align: center; color: var(--txt-2); font-size: 0.96rem; margin-top: 28px; }

@media (max-width: 680px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Широкие блоки условий (Оплата / Доставка / Гарантия в колонках)
 * ============================================================ */
.info-wide-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.info-card.wide { grid-column: 1 / -1; }
.iw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.iw-cols.iw-2 { grid-template-columns: 1.2fr 1fr; }
.iw-col h4 { font-size: 0.94rem; font-weight: 700; color: var(--navy); margin: 2px 0 10px; letter-spacing: 0.01em; }
.iw-col p { color: var(--txt-2); font-size: 0.94rem; }
.iw-col p + p { margin-top: 8px; }
.iw-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.iw-col ul li { position: relative; padding-left: 18px; color: var(--txt-2); font-size: 0.94rem; }
.iw-col ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* карточка-ссылка (Блог) не должна подчёркивать/красить текст */
a.info-card { color: inherit; display: block; }

@media (max-width: 920px) {
  .iw-cols, .iw-cols.iw-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .iw-cols, .iw-cols.iw-2 { grid-template-columns: 1fr; gap: 20px; }
}

/* Компактная сетка «Условий» на 4 карточки — чтобы не было «одинокой» 4-й на desktop */
.info-grid.compact4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .info-grid.compact4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .info-grid.compact4 { grid-template-columns: 1fr; } }

/* ============================================================
 * Issue #8: реальный логотип, официальные бейджи, иконки контактов,
 * все бренды, cookie-плашка, легальные ссылки
 * ============================================================ */

/* Логотип-надпись из приложения */
.logo-img { height: 24px; width: auto; display: block; }
footer .logo-img { height: 22px; }

/* Кнопки-бейджи магазинов (унифицированы) */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: var(--navy); color: #fff;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  min-width: 184px; box-shadow: var(--shadow);
}
.store-badge:hover { transform: translateY(-3px); background: var(--navy-700); box-shadow: var(--shadow-lg); }
.store-badge .badge-ic { width: 26px; height: 26px; flex-shrink: 0; object-fit: contain; border-radius: 6px; }
.store-badge .st-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .st-small { font-size: 0.72rem; opacity: 0.75; }
.store-badge .st-big { font-size: 1.04rem; font-weight: 700; }
.store-badge.tg { background: #229ED9; }
.store-badge.tg:hover { background: #1b8ec4; }
/* На тёмном CTA — бейджи светлые, чтобы читались (кроме Telegram) */
.cta-card .store-badge { background: #fff; color: var(--navy); }
.cta-card .store-badge:hover { background: #eef0f4; }
.cta-card .store-badge .badge-ic { filter: none; }
.cta-card .store-badge.tg { background: #229ED9; color: #fff; }
/* Apple-глиф на светлом CTA-бейдже делаем тёмным */
.cta-card .store-badge[data-link="appStore"] .badge-ic { filter: invert(1); }

/* Контактные иконки: MAX/RuStore — цельные лого (свой фон), заполняют плитку */
.contact-ic img { width: 100%; height: 100%; object-fit: contain; }
.contact-ic.wa img { width: 24px; height: 24px; }
.contact-ic.mx { background: none; padding: 0; overflow: hidden; }
.contact-ic.mx img { border-radius: 14px; }

.contacts-note { text-align: center; color: var(--txt-3); font-size: 0.82rem; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Все бренды — ровная сетка (36 = 6×6; адаптив 4/3/2 тоже делят без остатка) */
.brand-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 920px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
.brand-cell { height: 84px; padding: 16px; }
.brand-cell img { max-height: 40px; }

/* Легальные ссылки в подвале */
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; }
.legal-links a { color: var(--txt-2); font-size: 0.85rem; transition: color 0.2s; }
.legal-links a:hover { color: var(--navy); }

/* Cookie-плашка */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  background: var(--navy); color: #fff;
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin: 0; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar button {
  flex-shrink: 0; cursor: pointer; border: 0;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 0.92rem;
  padding: 11px 24px; border-radius: 999px; transition: transform 0.2s, background 0.2s;
}
.cookie-bar button:hover { transform: translateY(-2px); background: #eef0f4; }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; padding: 14px 16px; }
  .cookie-bar button { width: 100%; }
}
