/* =====================================================
   index.css — стили главной страницы
   ===================================================== */

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.deco-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.deco-orb--1 {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: rgba(0, 200, 216, 0.12);
}
.deco-orb--2 {
  width: 400px; height: 400px;
  bottom: 100px; left: -80px;
  background: var(--brand-sky);
  opacity: 0.62;
}
.deco-orb--3 {
  width: 300px; height: 300px;
  top: 40%; left: 40%;
  background: rgba(0, 200, 216, 0.06);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-20);
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.hero-label {
  display: flex;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
}
.hero-title-accent {
  color: var(--color-accent);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

/* ── Hero visual ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: translate(-13%, -12%);
}

/* Wrapper задаёт квадрат и точку отсчёта для чипов.
   Ширина растёт вместе с колонкой (50% вьюпорта - gap - padding).
   Чипы позиционируются внутри wrapper, не выходят за сетку. */
.hero-img-wrap {
  position: relative;
  width: clamp(320px, 42vw, 600px);
  aspect-ratio: 1 / 1;
  overflow: visible;
}

/* Мягкое сияние за изображением */
.hero-img-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 55% 60%,
    rgba(0, 200, 216, 0.22) 0%,
    rgba(213, 243, 253, 0.55) 45%,
    transparent 75%
  );
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

/* Само изображение */
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* Объёмная тень под фото */
  filter:
    drop-shadow(0 12px 32px rgba(1, 38, 67, 0.16))
    drop-shadow(0 4px 8px rgba(1, 38, 67, 0.10));
  user-select: none;
  pointer-events: none;
}

/* Лёгкая плавающая анимация — запускается после GSAP entrance */
@keyframes hero-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(0.5deg); }
}
.hero-img {
  animation: hero-float 5.5s ease-in-out infinite;
  animation-delay: 1.4s; /* ждём завершения GSAP entrance */
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
}

/* ── Floating chips — позиции относительно .hero-img-wrap ── */
/*
  Композиция фото:
  - Верхний центр: кольцо брелока
  - Левая часть: чёрный автоключ
  - Правая часть: обычный ключ
  - Нижний правый угол: QR-тег «Верни Вещь»
*/
.hero-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(1, 38, 67, 0.10);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--brand-navy);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 4px 16px rgba(1, 38, 67, 0.10),
    0 1px 4px rgba(1, 38, 67, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  pointer-events: none;
  /* Лёгкая анимация появления переопределяется через GSAP */
}
.hero-chip svg {
  color: var(--brand-aqua);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/*
  Позиции чипов — относительно .hero-img-wrap.
  Все значения внутри wrapper (0%–100%), не выходят за сетку.
  Привязаны к объектам на фото:
    - верх-центр: кольцо + кольца для ключей
    - левая часть: чёрный автоключ
    - правая часть: обычный ключ
    - нижний правый: акриловый QR-тег «Верни Вещь»
*/

/* «Телефон скрыт» — правый верхний, над кольцом брелока */
.hero-chip--1 {
  top: 4%;
  right: 4%;
}

/* «Анонимный чат» — правая сторона, у ключа */
.hero-chip--2 {
  top: 46%;
  right: 2%;
}

/* «ID: VV-KL-001» — нижний левый, над QR-тегом */
.hero-chip--3 {
  bottom: 10%;
  left: 4%;
}

/* «Нашли вещь?» — левая сторона, у автоключа */
.hero-chip--4 {
  top: 26%;
  left: 3%;
}

/* Trust strip */
.trust-strip {
  padding-block: var(--sp-6);
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}
.trust-chips-row {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.trust-chip--clone {
  display: none;
}

@keyframes trust-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - var(--sp-2)), 0, 0); }
}

/* ── Story section ── */
.story-section {
  height: 550vh;
  position: relative;
}
.story-sticky {
  height: 100vh;
  display: flex;
  align-items: center;
  background: var(--brand-sky-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.story-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.story-visual-stage {
  position: relative;
  width: 100%;
  height: 640px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-visual-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--motion-medium) var(--ease-emphasized);
}
.story-visual-item[data-step="1"] { opacity: 1; }

/* Step visuals */
/* ── Step 1: iPad с QR-стикером ── */
.sv-step1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  transform: translateY(-56px);
  position: relative;
}

/* Ambient glow blob behind device */
.sv-step1::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 46%,
    color-mix(in srgb, var(--brand-aqua) 26%, transparent) 0%,
    color-mix(in srgb, var(--brand-sky-mid) 14%, transparent) 45%,
    transparent 72%
  );
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  animation: sv1-glow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes sv1-glow {
  0%, 100% { opacity: 0.55; scale: 1; }
  50%       { opacity: 1;    scale: 1.14; }
}

/* Обёртка — точка отсчёта для QR-стикера, floating */
.sv-device-qr-wrap {
  position: relative;
  width: 200px;
  z-index: 1;
  animation: sv1-float 5.4s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes sv1-float {
  0%, 100% { transform: translateY(0px)   rotate(-1.5deg); }
  48%       { transform: translateY(-14px) rotate( 0.8deg); }
}

/* iPad (шаг 1) */
.sv-ipad-step1 {
  display: block;
  width: 200px;
  height: auto;
  filter:
    drop-shadow(0 28px 52px rgba(1, 38, 67, 0.20))
    drop-shadow(0 6px 14px rgba(1, 38, 67, 0.12));
}

/* Ground shadow — follows the float */
.sv-device-qr-wrap::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  translate: -50% 0;
  width: 130px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(1, 38, 67, 0.18) 0%, transparent 70%);
  animation: sv1-shadow 5.4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes sv1-shadow {
  0%, 100% { transform: scaleX(1);    opacity: 0.9; }
  48%       { transform: scaleX(0.72); opacity: 0.5; }
}

/* QR как стикер — рукой приклеенный, чуть повёрнут */
.sv-qr-sticker {
  position: absolute;
  bottom: -20px;
  right: -26px;
  width: 108px;
  height: 108px;
  background: var(--brand-white);
  border: 1.5px solid rgba(1, 38, 67, 0.14);
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(1, 38, 67, 0.18),
    0 2px 6px  rgba(1, 38, 67, 0.10),
    0 0 0 3px  color-mix(in srgb, var(--brand-aqua) 18%, transparent);
  /* overflow:hidden убран — нужно чтобы ::after-кольцо было видно снаружи */
  padding: 9px;
  box-sizing: border-box;
  transform: rotate(4deg);
  transform-origin: top right;
  animation: sv1-sticker-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s both;
}

@keyframes sv1-sticker-pop {
  from {
    opacity: 0;
    scale: 0.5;
    rotate: -12deg;
    translate: 18px -24px;
  }
  to {
    opacity: 1;
    scale: 1;
    rotate: 0deg;
    translate: 0px 0px;
  }
}

/* Corner peel micro-shadow */
.sv-qr-sticker::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(1, 38, 67, 0.07) 50%
  );
  border-top-left-radius: 4px;
  pointer-events: none;
}

/* Пульсирующее кольцо вокруг стикера */
.sv-qr-sticker::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--brand-aqua) 55%, transparent);
  animation: sv1-ring 2.8s ease-out 1.2s infinite;
  pointer-events: none;
}

@keyframes sv1-ring {
  0%  { opacity: 0.8; inset: -4px; }
  60% { opacity: 0;   inset: -14px; }
  100%{ opacity: 0;   inset: -14px; }
}

.sv-qr-sticker-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* ID badge — glowing pill */
.sv-id-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--brand-aqua) 16%, var(--brand-white));
  padding: 7px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-aqua) 36%, transparent);
  position: relative;
  z-index: 1;
  animation:
    sv1-badge-in    0.4s ease-out 0.7s both,
    sv1-badge-pulse 3.4s ease-in-out 1.6s infinite;
}

@keyframes sv1-badge-in {
  from { opacity: 0; translate: 0 10px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes sv1-badge-pulse {
  0%, 65%, 100% { box-shadow: 0 0 0 0   color-mix(in srgb, var(--brand-aqua) 40%, transparent); }
  32%           { box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand-aqua) 0%,  transparent); }
}

/* ── Step 2: Устройство потеряно ── */
.sv-step2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  transform: translateY(-64px);
}

/* iPad (шаг 2) — чуть меньше и затемнён: «потеряно» */
.sv-ipad-step2 {
  display: block;
  width: 160px;
  height: auto;
  filter:
    drop-shadow(0 10px 24px rgba(1, 38, 67, 0.14))
    brightness(0.88)
    saturate(0.9);
}
.sv-status-badge {
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--text-md);
}
.sv-status--lost { background: var(--color-danger-soft); color: var(--brand-red); }
.sv-status--returned { background: var(--color-success-soft); color: var(--brand-navy); }
.sv-reward {
  font-size: 15px;
  color: var(--color-text-muted);
  background: var(--color-surface-solid);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

/* ── Step 3: Телефон нашедшего сканирует QR ── */
.sv-step3 {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-64px);
}

/* Корпус телефона — тёмный прямоугольник */
.sv-phone {
  width: 180px;
  height: 330px;
  background: var(--brand-navy);
  border-radius: 36px;
  padding: 14px;
  box-shadow:
    0 24px 64px rgba(1, 38, 67, 0.28),
    0 4px 12px rgba(1, 38, 67, 0.16);
  position: relative;
  flex-shrink: 0;
}

/* Имитация notch/кнопки сверху */
.sv-phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}

/* Экран — белый, с QR.png и линией сканирования */
.sv-phone-screen {
  background: var(--brand-white);
  border-radius: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* QR.png внутри экрана — не выходит за рамки */
.sv-phone-qr-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Линия сканирования — строго внутри .sv-phone-screen (overflow hidden) */
.sv-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 5%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brand-red) 20%,
    var(--brand-red) 80%,
    transparent 100%
  );
  box-shadow: 0 0 8px var(--brand-red);
  animation: scan-sweep 1.8s ease-in-out infinite;
  z-index: 2;
}

@keyframes scan-sweep {
  0%   { top: 5%;  opacity: 0.3; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 90%; opacity: 0.3; }
}

.sv-step4 { padding: var(--sp-8); width: 100%; margin-top: 320px; }
.sv-chat { display: flex; flex-direction: column; gap: var(--sp-4); }
.sv-bubble {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-xl);
  font-size: 15px;
  line-height: 1.55;
  max-width: 85%;
}
.sv-bubble--finder {
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.sv-bubble--owner {
  background: var(--brand-navy);
  color: var(--brand-white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.sv-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-success-soft);
  padding: 8px 16px;
  border-radius: 999px;
  align-self: flex-start;
}

.sv-step5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  transform: translateY(-64px);
}
.sv-checkmark {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--color-success-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-checkmark svg {
  width: 80px;
  height: 80px;
}
.sv-thanks {
  font-size: 16px;
  color: var(--color-text-muted);
}

/* Story progress */
.story-progress {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.story-progress-track {
  height: 3px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}
.story-progress-bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

/* Story right */
.story-right {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.story-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.story-step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--radius-xl);
  opacity: 0.4;
  transition: opacity var(--motion-medium) var(--ease-emphasized),
              background var(--motion-medium) var(--ease-emphasized);
}
.story-step.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--color-border);
}
.step-content { display: flex; flex-direction: column; gap: var(--sp-1); }
.step-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
}

/* ── Protect carousel ── */
.protect-carousel-wrap {
  position: relative;
  height: clamp(480px, 65vh, 720px);
  margin-top: var(--sp-12);
  margin-inline: calc(-1 * var(--section-px));
  overflow: hidden;
}

.protect-section {
  overflow-x: clip;
}

.protect-section .section-header {
  position: relative;
  z-index: 2;
}


.protect-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each item: absolute, centered by default */
.protect-item {
  position: absolute;
  width: 368px;
  height: 368px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0.5);
  opacity: 0;
  filter: blur(6px);
  pointer-events: none;
  mix-blend-mode: multiply;
  transition:
    transform 0.7s cubic-bezier(0.34, 1.1, 0.64, 1),
    opacity   0.7s ease,
    filter    0.7s ease;
}

/* ── Position states ── */
.protect-item.pos-center {
  transform: translateX(-50%) translateY(-50%) scale(1);
  opacity: 1;
  filter: none;
  z-index: 10;
  pointer-events: auto;
}
.protect-item.pos-r1 {
  transform: translateX(calc(-50% + 300px)) translateY(-50%) scale(0.76);
  opacity: 0.65;
  filter: none;
  z-index: 7;
  pointer-events: auto;
}
.protect-item.pos-l1 {
  transform: translateX(calc(-50% - 300px)) translateY(-50%) scale(0.76);
  opacity: 0.65;
  filter: none;
  z-index: 7;
  pointer-events: auto;
}
.protect-item.pos-r2 {
  transform: translateX(calc(-50% + 545px)) translateY(-50%) scale(0.56);
  opacity: 0.35;
  filter: none;
  z-index: 4;
}
.protect-item.pos-l2 {
  transform: translateX(calc(-50% - 545px)) translateY(-50%) scale(0.56);
  opacity: 0.35;
  filter: none;
  z-index: 4;
}

.protect-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  display: block;
  filter: contrast(1.1);
}

/* Nav buttons */
.protect-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  color: var(--brand-navy);
  box-shadow: 0 4px 16px rgba(1, 38, 67, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease-emphasized);
}
.protect-nav-btn:hover {
  background: #fff;
  box-shadow: 0 8px 28px rgba(1, 38, 67, 0.18);
  transform: translateY(-50%) scale(1.1);
}
.protect-nav-btn--prev { left: var(--sp-4); }
.protect-nav-btn--next { right: var(--sp-4); }

/* Dots */
.protect-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.protect-dot {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.protect-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-border-strong);
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.protect-dot.is-active {
  background: transparent;
}
.protect-dot.is-active::before {
  width: 28px;
  background: var(--brand-aqua);
}

/* ── Safety section ── */
.safety-section {
  background: var(--brand-sky-mid);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}
@media (max-width: 900px) {
  .safety-inner { grid-template-columns: 1fr; }
  .safety-visual { order: -1; display: flex; justify-content: center; }
}
.safety-inner {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: var(--sp-8);
  align-items: center;
}

/* Label pill */
.safety-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--sp-4);
}

/* Heading */
.safety-heading {
  font-size: clamp(30px, 3.5vw, 50px) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.07 !important;
  color: var(--brand-navy);
  max-width: 520px;
}

.safety-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.safety-feature {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-xl);
  padding: var(--sp-3) var(--sp-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--motion-fast) var(--ease-emphasized),
              transform  var(--motion-fast) var(--ease-emphasized);
}
.safety-feature:hover {
  background: rgba(255,255,255,0.82);
  transform: translateX(4px);
}
.safety-feature-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid rgba(0, 200, 216, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-aqua);
  box-shadow: 0 2px 8px rgba(0, 200, 216, 0.12);
}
.safety-feature-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 2px;
}

/* ── Privacy visual wrap ── */
.safety-visual-wrap {
  position: relative;
  height: 780px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 100px;
  overflow: visible;
}

/* Real phone image */
.priv-phone-img {
  position: relative;
  z-index: 5;
  width: 512px;
  transform: translateX(-7%);
  filter: drop-shadow(0 30px 60px rgba(1,38,67,0.22)) drop-shadow(0 8px 20px rgba(1,38,67,0.10));
}

/* Background glow image */
.priv-bg {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* Phone mockup — prominent frame like reference */
.priv-phone {
  position: relative;
  z-index: 5;
  width: 300px;
  background: #ffffff;
  border-radius: 44px;
  padding: 18px 18px 22px;
  box-shadow:
    0 50px 100px rgba(1,38,67,0.24),
    0 16px 40px rgba(1,38,67,0.12),
    0 0 0 8px rgba(255,255,255,0.7),
    0 0 0 14px rgba(190,235,250,0.4);
}
.priv-phone-notch {
  width: 64px;
  height: 5px;
  background: rgba(1,38,67,0.12);
  border-radius: 3px;
  margin: 0 auto 14px;
}
.priv-phone .privacy-card {
  max-width: 100%;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  gap: 10px;
}
.priv-phone .privacy-card-header { flex-wrap: wrap; gap: 4px; }
.priv-phone .privacy-hidden-block { padding: var(--sp-3); }

/* Floating 3D icons */
.priv-float {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(1,38,67,0.16));
}

/* Shield — верхний левый угол, чуть заходит за край телефона */
.priv-float--shield {
  width: 420px;
  top: -1%;
  left: -12%;
  animation: priv-float-a 6.5s ease-in-out infinite;
}

/* Chat — левая сторона, поднят выше */
.priv-float--chat {
  width: 246px;
  bottom: 35%;
  left: 4%;
  animation: priv-float-b 5s ease-in-out infinite;
  animation-delay: 1.3s;
}

/* QR — правый верхний угол, слегка заходит за правый край */
.priv-float--qr {
  width: 264px;
  top: 12%;
  right: -6%;
  animation: priv-float-c 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Lock — правая сторона по середине, касается правого края */
.priv-float--lock {
  width: 216px;
  top: 42%;
  right: -4%;
  animation: priv-float-b 5.5s ease-in-out infinite;
  animation-delay: 2.1s;
}

/* Location — под замком, правая сторона */
.priv-float--location {
  width: 216px;
  top: 68%;
  right: 1%;
  animation: priv-float-a 6s ease-in-out infinite;
  animation-delay: 1.7s;
}

@keyframes priv-float-a {
  0%, 100% { transform: translateY(0)   rotate(-3deg); }
  50%       { transform: translateY(-14px) rotate(0deg);  }
}
@keyframes priv-float-b {
  0%, 100% { transform: translateY(0)   rotate(2deg);  }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes priv-float-c {
  0%, 100% { transform: translateY(0)   rotate(1deg);  }
  50%       { transform: translateY(-12px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .priv-float { animation: none; }
}

@media (max-width: 900px) {
  .safety-inner { grid-template-columns: 1fr; }
  /* CRITICAL: overflow:visible + 512px image = horizontal scroll. Fix: contain. */
  .safety-visual-wrap {
    height: 400px;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
  }
  .priv-phone-img {
    width: min(100%, 340px);
    transform: none;  /* Remove translateX(-7%) that pushed image off-center */
  }
  .priv-float--shield { width: 80px; }
  .priv-float--chat   { width: 52px; }
  .priv-float--qr     { width: 58px; }
  .priv-float--lock   { width: 46px; }
  .priv-float--location { width: 46px; }
}

@media (max-width: 600px) {
  .safety-visual-wrap { height: 280px; }
  .priv-phone-img { width: min(85%, 220px); }
  /* Float icons too large/complex on small mobile — hide them */
  .priv-float--shield,
  .priv-float--location { display: none; }
  .priv-float--chat  { width: 40px; }
  .priv-float--qr    { width: 44px; }
  .priv-float--lock  { width: 36px; }
}

@media (max-width: 430px) {
  .safety-visual-wrap { height: 220px; }
  .priv-phone-img { width: min(75%, 180px); }
  /* Hide all floats on tiny screens — phone image alone is sufficient */
  .priv-float { display: none; }
}

/* Privacy mock card */
.privacy-card {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.privacy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.privacy-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.privacy-hidden-block {
  background: var(--color-surface-warm);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.privacy-hidden-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.privacy-mask {
  letter-spacing: 2px;
  color: var(--color-text-muted);
  filter: blur(3px);
  user-select: none;
}

/* ── Formats section ── */

/* Форматы — сетка bento */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-16);
}
/* Ряд 1: 2 карточки по 3 колонки */
.formats-grid .format-card:nth-child(1),
.formats-grid .format-card:nth-child(2) { grid-column: span 3; min-height: 440px; }
/* Ряд 2: 3 карточки по 2 колонки */
.formats-grid .format-card:nth-child(3),
.formats-grid .format-card:nth-child(4),
.formats-grid .format-card:nth-child(5) { grid-column: span 2; min-height: 340px; }

.format-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(1,38,67,0.09), 0 2px 8px rgba(1,38,67,0.05);
  transition: transform 0.35s var(--ease-emphasized), box-shadow 0.35s var(--ease-emphasized);
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(1,38,67,0.14), 0 4px 16px rgba(1,38,67,0.08);
}

/* Уникальные фоны */
.format-card--1 { background: linear-gradient(150deg, #EAFBFF 0%, #BDE8F8 100%); }
.format-card--2 { background: linear-gradient(150deg, #D5F3FD 0%, #93D3EE 100%); }
.format-card--3 { background: linear-gradient(150deg, #F6FBFF 0%, #CBE9F5 100%); }
.format-card--4 { background: linear-gradient(150deg, #EDF9FD 0%, #B8E5F5 100%); }
.format-card--5 { background: linear-gradient(150deg, #012643 0%, #023F6A 100%); }

/* Зона изображения */
.fc-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) var(--sp-6) var(--sp-4);
}
.fc-img {
  max-height: 220px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(1,38,67,0.16));
  transition: transform 0.4s var(--ease-emphasized);
}
.format-card:hover .fc-img { transform: translateY(-6px) scale(1.03); }

/* Ряд 1 — фиксированная высота зоны изображения, выравнивание снизу */
.formats-grid .format-card:nth-child(1) .fc-image,
.formats-grid .format-card:nth-child(2) .fc-image {
  height: 280px;
  flex: none;
  align-items: flex-end;
  padding-bottom: var(--sp-2);
}

/* Ряд 2 — меньше изображение */
.formats-grid .format-card:nth-child(n+3) .fc-img { max-height: 160px; }
.formats-grid .format-card:nth-child(n+3) .fc-image { padding: var(--sp-6) var(--sp-5) var(--sp-3); }

/* Текстовая зона */
.fc-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.fc-size {
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-aqua);
  margin: 0;
}
.fc-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-extrabold);
  color: var(--brand-navy);
  letter-spacing: var(--ls-tight);
  margin: 0;
  line-height: 1.2;
}
.fc-desc {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
  margin: 0;
}
.fc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(1,38,67,0.08);
}
.fc-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-soft);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(1,38,67,0.1);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  backdrop-filter: blur(8px);
}
.fc-chips span img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Тёмная карточка (карта) */
.format-card--5 .fc-title { color: #ffffff; }
.format-card--5 .fc-desc  { color: rgba(255,255,255,0.65); }
.format-card--5 .fc-chips { border-top-color: rgba(255,255,255,0.12); }
.format-card--5 .fc-chips span {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}

/* Мобильные */
@media (max-width: 900px) {
  .formats-grid { grid-template-columns: 1fr 1fr; }
  .formats-grid .format-card:nth-child(1),
  .formats-grid .format-card:nth-child(2),
  .formats-grid .format-card:nth-child(3),
  .formats-grid .format-card:nth-child(4),
  .formats-grid .format-card:nth-child(5) { grid-column: span 1; min-height: 300px; }
}
@media (max-width: 540px) {
  .formats-grid { grid-template-columns: 1fr; }
}

/* Лейбл — бренд красный, капслок */
.formats-label {
  color: var(--brand-red) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: var(--fw-bold);
}

/* Крупный дисплейный заголовок */
.formats-heading {
  font-size: clamp(40px, 6vw, 72px) !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Доверительная полоса под сеткой */
.formats-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
.formats-trust-left {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  white-space: nowrap;
  font-size: var(--text-sm);
  color: var(--brand-navy);
}
.formats-trust-left svg { color: var(--brand-aqua); flex-shrink: 0; }
.formats-trust-divider {
  width: 1px;
  height: 22px;
  background: var(--color-border-strong);
  flex-shrink: 0;
}
.formats-trust-right {
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  margin: 0;
}

.formats-cta {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-12);
  flex-wrap: wrap;
}

/* ── Scenario ── */
.scenario-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-10);
  position: relative;
}
/* Линия таймлайна — рисуется постепенно через JS */
.scenario-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand-aqua), var(--color-border));
  transition: height 0.4s ease;
  z-index: 0;
}
.scenario-timeline.is-done::before {
  height: calc(100% - 24px);
}
.scenario-event {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  position: relative;
  padding-bottom: var(--sp-6);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.scenario-event:last-child { padding-bottom: 0; }
.scenario-event.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scenario-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-sky);
  border: 2px solid var(--color-border-strong);
  flex-shrink: 0;
  margin-top: 14px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.scenario-dot.is-active {
  border-color: var(--brand-aqua);
  background: var(--color-surface-solid);
  box-shadow: 0 0 0 4px rgba(0,200,216,0.18);
}
.scenario-dot--success.is-active {
  background: var(--color-success-soft);
  border-color: var(--brand-aqua);
  box-shadow: 0 0 0 6px rgba(0,200,216,0.22);
}
.scenario-content { flex: 1; }

/* Typewriter cursor */
.scenario-typewriter::after {
  content: '|';
  display: inline-block;
  color: var(--brand-aqua);
  font-weight: 300;
  animation: scenario-blink 0.7s step-end infinite;
  margin-left: 1px;
}
.scenario-typewriter.is-done::after {
  display: none;
}
@keyframes scenario-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scenario-event {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scenario-typewriter::after { display: none; }
}

/* ── Preview interfaces ── */
/* ── Preview Section — Two Interfaces ── */
.preview-section {
  background: var(--brand-sky-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Step flow */
.pv-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-10);
}
.pv-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  min-width: 110px;
}
.pv-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-step-icon img { width: 96px; height: 96px; object-fit: contain; }
.pv-step-label {
  font-size: var(--text-xs);
  color: var(--color-text-soft);
  text-align: center;
  line-height: 1.5;
}
.pv-step-line {
  flex: 1;
  border-top: 2px dashed rgba(1,38,67,0.15);
  margin-top: 47px;
  min-width: 60px;
  max-width: 140px;
}

/* Main grid */
.pv-grid {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: var(--sp-6);
  align-items: center;
}

/* Cards */
.pv-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8);
  border-radius: var(--radius-2xl);
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 32px rgba(1,38,67,0.07);
  height: 100%;
  box-sizing: border-box;
}
.pv-card-header { display: flex; align-items: center; gap: var(--sp-3); }
.pv-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pv-badge--finder { background: rgba(0,200,216,0.12); color: var(--brand-aqua); }
.pv-badge--owner  { background: rgba(1,38,67,0.08);  color: var(--brand-navy); }
.pv-card-title {
  font-size: var(--text-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--brand-navy);
}

/* Message input mock */
.pv-message-box {
  position: relative;
  background: var(--color-surface-solid);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  padding-bottom: var(--sp-10);
  margin-top: var(--sp-2);
}
.pv-message-box p { color: var(--color-text); line-height: var(--lh-body); }
.pv-message-emoji {
  position: absolute;
  bottom: var(--sp-3);
  right: var(--sp-4);
  font-size: 20px;
}

/* Privacy bar */
.pv-privacy-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--brand-sky-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  margin-top: auto;
}
.pv-privacy-icon { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.pv-privacy-bar .text-xs { flex: 1; line-height: 1.4; }
.pv-phone-mask { white-space: nowrap; flex-shrink: 0; letter-spacing: 0.03em; }
.pv-eye-icon { flex-shrink: 0; color: var(--color-text-muted); }

/* Center visual */
.pv-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.pv-keychain {
  width: 143px;
  filter: drop-shadow(0 16px 32px rgba(1,38,67,0.20));
  animation: priv-float-a 5.5s ease-in-out infinite;
}
.pv-curves { width: 140px; height: 80px; }
.pv-chat-bubble {
  width: 144px;
  filter: drop-shadow(0 8px 20px rgba(1,38,67,0.16));
  animation: priv-float-b 4.5s ease-in-out infinite;
  animation-delay: 1.2s;
}
@media (prefers-reduced-motion: reduce) {
  .pv-keychain, .pv-chat-bubble { animation: none; }
}

/* Owner items list */
.pv-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-solid);
}
.pv-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--color-border);
}
.pv-item-row:last-child { border-bottom: none; }
.pv-item-left { display: flex; align-items: center; gap: var(--sp-3); }
.pv-item-icon { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.pv-item-right {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--color-text-muted);
}

/* CTA button */
.pv-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  padding-block: var(--sp-4);
  border-radius: var(--radius-xl);
  margin-top: var(--sp-2);
}

/* Responsive */
@media (max-width: 960px) {
  .pv-grid { grid-template-columns: 1fr; }
  .pv-center { display: none; }
  .pv-steps { gap: var(--sp-2); }
  .pv-step-line { min-width: 40px; }
}

/* ── Final CTA ── */
.final-cta-section { padding-block: var(--sp-20); }
.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
  padding: var(--sp-16);
  background: linear-gradient(135deg, var(--brand-sky-soft), var(--brand-sky));
  border: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.final-cta-title {
  font-size: var(--text-h2);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-3);
}
.final-cta-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { align-items: center; }
  .hero-sub { max-width: 100%; }
  .hero-visual { display: none; }
  .story-container { grid-template-columns: 1fr; }
  .story-section { height: auto; overflow: hidden; }
  .story-sticky {
    height: auto;
    padding-block: var(--sp-16);
    position: static;
    display: block;
  }
  /* Fix 11: на мобильном вместо анимации — карточки шагов */
  .story-left { display: none; }
  .story-steps { gap: var(--sp-4); }
  .story-step {
    opacity: 1 !important;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-5);
  }
  .story-cta { margin-top: var(--sp-8); }
  .formats-grid { grid-template-columns: 1fr; }
  .safety-inner { grid-template-columns: 1fr; }
  .safety-visual { order: -1; display: flex; justify-content: center; }
  .final-cta-card { flex-direction: column; text-align: center; }
  .final-cta-actions { justify-content: center; }
  .protect-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Fix 11: мобильный storytelling — иконки шагов */
@media (max-width: 1024px) {
  .story-step::before {
    content: none;
  }
}

@media (max-width: 768px) {
  /* Hero: compact font, proper line-height for multiline on small screens */
  .hero-title {
    font-size: clamp(34px, 9vw, 54px);
    line-height: 1.1;  /* lh-tight (0.92) is too tight for mobile multiline */
    letter-spacing: -0.02em;
  }
  .hero-sub { font-size: clamp(15px, 4vw, 17px); }
  .hero-text { gap: var(--sp-4); }   /* 24px → 16px: tighter mobile composition */
  .hero-cta-group { justify-content: center; flex-direction: column; gap: var(--sp-3); }
  .hero-cta-group .btn { width: 100%; }
  .protect-grid { grid-template-columns: 1fr 1fr; }
  .formats-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip {
    overflow: hidden;
  }
  .trust-strip .container {
    padding-inline: 0;
  }
  .trust-chips-row {
    --marquee-duration: 30s;
    width: max-content;
    max-width: none;
    gap: var(--sp-4);
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-block: 0;
    will-change: transform;
    animation: trust-marquee var(--marquee-duration) linear infinite;
  }
  .trust-chip,
  .trust-chip--clone {
    display: inline-flex;
    max-width: none;
    flex: 0 0 auto;
  }
  .story-steps { gap: var(--sp-3); }
  .story-step { opacity: 1; }

  /* Hero: remove forced full-viewport height, compact vertical padding */
  .hero-section { min-height: auto; }
  .hero-inner { padding-block: clamp(36px, 8vw, 64px) clamp(28px, 6vw, 48px); }

  /* Formats heading: too large on mobile */
  .formats-heading { font-size: clamp(28px, 6vw, 72px) !important; }

  /* Section-sub max-width: prevent very long lines on tablet */
  .section-sub { font-size: var(--text-md); }

  .protect-section {
    padding-block: clamp(40px, 8vw, 56px);
  }
  .protect-section .section-label {
    margin-bottom: var(--sp-2);
  }
  .protect-section .section-heading {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1;
    margin-bottom: var(--sp-3);
    overflow-wrap: anywhere;
  }
  .protect-section .section-sub {
    max-width: 24rem;
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1.45;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .protect-carousel-wrap {
    height: clamp(320px, 62vw, 440px);
    margin-top: clamp(24px, 6vw, 40px);
  }
  .protect-nav-btn {
    width: 52px;
    height: 52px;
  }
  .protect-dots {
    margin-top: var(--sp-3);
  }
}

@media (max-width: 600px) {
  /* Final CTA: replace 64px desktop padding with comfortable mobile size */
  .final-cta-card {
    padding: clamp(var(--sp-6), 6vw, var(--sp-8));
    gap: var(--sp-5);
    border-radius: var(--radius-xl);
  }
  .final-cta-section { padding-block: var(--sp-10); }
  .final-cta-title { font-size: clamp(22px, 5vw, 32px); }
  /* Protect carousel: reduce container height on smaller screens */
  .protect-carousel-wrap { height: clamp(300px, 64vw, 400px); }
}

@media (max-width: 480px) {
  .protect-grid { grid-template-columns: 1fr; }
  .formats-grid { grid-template-columns: 1fr; }
  /* Hero: tightest on 320-480px */
  .hero-title { font-size: clamp(30px, 8.5vw, 40px); }
  .hero-inner { padding-block: var(--sp-8) var(--sp-6); }
  /* Story section: tighter on small phones */
  .story-sticky { padding-block: var(--sp-10); }
  .story-step { padding: var(--sp-4); gap: var(--sp-3); }

  /* Protect carousel: compact mobile composition with safe space above */
  .protect-carousel-wrap {
    height: clamp(258px, 74vw, 320px);
    margin-top: var(--sp-5);
  }
  .protect-item {
    width: clamp(210px, 64vw, 260px);
    height: clamp(210px, 64vw, 260px);
  }
  .protect-item.pos-center  { transform: translateX(-50%) translateY(-50%) scale(1); }
  .protect-item.pos-r1 { transform: translateX(calc(-50% + clamp(150px, 48vw, 210px))) translateY(-50%) scale(0.72); }
  .protect-item.pos-l1 { transform: translateX(calc(-50% - clamp(150px, 48vw, 210px))) translateY(-50%) scale(0.72); }
  .protect-item.pos-r2 { transform: translateX(calc(-50% + clamp(270px, 86vw, 360px))) translateY(-50%) scale(0.52); }
  .protect-item.pos-l2 { transform: translateX(calc(-50% - clamp(270px, 86vw, 360px))) translateY(-50%) scale(0.52); }
  .protect-nav-btn {
    top: 54%;
    width: 50px;
    height: 50px;
  }
  .protect-nav-btn--prev { left: var(--sp-3); }
  .protect-nav-btn--next { right: var(--sp-3); }
  .protect-dots {
    max-width: 100%;
    row-gap: 0;
  }

  /* Formats min-height: remove on 1-col to avoid over-tall cards */
  .formats-grid .format-card { min-height: 220px !important; }
  .formats-trust {
    padding: var(--sp-4);
    gap: var(--sp-3);
  }
  .formats-trust-left {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .pv-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-2);
  }
  .pv-grid,
  .pv-card {
    min-width: 0;
  }
  .pv-card {
    padding: var(--sp-5);
    border-radius: var(--radius-xl);
  }
  .pv-step {
    min-width: 0;
    gap: var(--sp-2);
  }
  .pv-step-icon img {
    width: 72px;
    height: 72px;
  }
  .pv-step-line {
    display: none;
  }
  .final-cta-actions,
  .final-cta-actions .btn {
    width: 100%;
  }
  .final-cta-actions .btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
    padding-block: 12px;
  }

  /* Section headings: slightly more compact on small phones */
  .section-heading { font-size: clamp(22px, 6vw, 32px); }
  .protect-section .section-heading { font-size: clamp(30px, 9vw, 36px); }

  /* Story CTA: full width on mobile */
  .story-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 390px) {
  /* 320-390px: absolutely minimal hero text */
  .hero-title { font-size: 30px; line-height: 1.1; }
  .hero-sub   { font-size: 15px; }
  .hero-text  { gap: var(--sp-3); }
  /* Trust chip: clip to prevent overflow at 320px */
  .trust-chip { font-size: 12px; padding: var(--sp-1) var(--sp-3); }
  .trust-chip svg { width: 12px; height: 12px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .trust-strip .container {
    padding-inline: var(--section-px);
  }
  .trust-chips-row {
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    animation: none;
  }
  .trust-chip--clone {
    display: none;
  }
}

@media (max-width: 420px) {
  .protect-dots {
    display: none;
  }
}

/* Trust strip: hidden scrollbar on horizontal chip scroll */
.trust-chips-row {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.trust-chips-row::-webkit-scrollbar { display: none; }

/* Safety feature: hover transform breaks mobile touch rhythm */
@media (hover: none) {
  .safety-feature:hover { transform: none; background: rgba(255,255,255,0.58); }
}
