/* ============================================
   ФАРВАТЕР — Карты Глубин
   Dark Premium Tool / Mobile-first
   ============================================ */

:root {
  /* Surfaces */
  --bg: #0B0F14;
  --bg-elev: #11161D;
  --bg-card: #161C24;
  --bg-card-2: #1B232C;
  --bg-rail: #0E141B;

  /* Text */
  --t-1: #F0F6FC;
  --t-2: #C5CDD6;
  --t-3: #8B949E;
  --t-4: #6E7681;

  /* Lines */
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Accent — amber / orange */
  --acc: #FF8C42;
  --acc-2: #FFB454;
  --acc-3: #E2722B;
  --acc-soft: rgba(255, 140, 66, 0.10);
  --acc-soft-2: rgba(255, 140, 66, 0.18);
  --acc-glow: rgba(255, 140, 66, 0.35);

  /* Semantic */
  --good: #6EE787;
  --bad: #FF6E66;

  /* Type */
  --f-display: 'Playfair Display', 'Newsreader', Georgia, serif;
  --f-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--t-2);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button { font:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input, textarea { font:inherit; color:inherit; }
::selection { background: var(--acc); color: var(--bg); }

/* ===== Type ===== */
h1, h2, h3, h4, h5 {
  color: var(--t-1);
  font-family: var(--f-sans);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.h1, h1 {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 800;
}
.h2, h2 {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 800;
}
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

.accent { color: var(--acc); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.lead { color: var(--t-2); font-size: 1.0625rem; max-width: 60ch; }

.dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--acc); }
.dot--pulse {
  position: relative;
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--acc-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(255,140,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,140,66,0); }
}

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 80px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), background 200ms, border-color 200ms, color 200ms;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn--accent {
  background: var(--acc);
  color: #0B0F14;
}
.btn--accent:hover { background: var(--acc-2); }
.btn--ghost {
  background: transparent;
  color: var(--t-1);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-card); border-color: var(--acc); color: var(--acc); }
.btn--outline {
  background: transparent;
  color: var(--t-1);
  border-color: var(--line-2);
}
.btn--outline:hover { border-color: var(--acc); color: var(--acc); }
.btn--sm { padding: 10px 16px; font-size: 0.8125rem; }
.btn--lg { padding: 18px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ===== Tape ===== */
.tape {
  background: var(--acc);
  color: #0B0F14;
  overflow: hidden;
  border-bottom: 1px solid #C8602C;
  position: relative;
  z-index: 50;
}
.tape__track {
  display: inline-flex;
  white-space: nowrap;
  padding: 8px 0;
  animation: tape 35s linear infinite;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tape__track > span { padding: 0 18px; }
.tape__dot { opacity: 0.45; }
@keyframes tape { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.nav__logo { display:flex; align-items:center; gap:10px; }
.nav__logo img,
.nav__logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  color: var(--acc);
  font-size: 1.125rem;
  font-weight: 700;
}
.nav__logo-mark {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
}
.nav__logo img {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 18px -6px rgba(255,140,66,0.4);
}
.nav__logo-text { display:flex; flex-direction:column; line-height:1; }
.nav__logo-name { color: var(--t-1); font-weight: 800; letter-spacing: -0.02em; font-size: 1rem; }
.nav__logo-sub  { color: var(--t-4); font-family: var(--f-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.nav__links { display: none; align-items: center; gap: 28px; }
.nav__link { font-size: 0.875rem; color: var(--t-3); transition: color 200ms; }
.nav__link:hover { color: var(--t-1); }
.nav__link--sub { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.nav__link-sub { font-size: 0.625rem; color: var(--t-4); font-weight: 400; margin-top: 2px; }
.nav__cta { display: none; }
.nav__burger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
}
.nav__burger span { width: 16px; height: 1.5px; background: var(--t-1); border-radius: 1px; transition: all 250ms var(--ease); }
.nav__burger.active span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
.nav__mobile {
  display: none;
  position: absolute; top: 100%; left:0; right:0;
  flex-direction: column; gap: 4px;
  padding: 16px 20px 20px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.nav__mobile.active { display: flex; }
.nav__mobile a { padding: 14px 0; font-size: 1rem; color: var(--t-1); border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: none; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 64px;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(8, 12, 18, 0.82) 0%, rgba(11, 18, 32, 0.75) 40%, rgba(10, 15, 24, 0.85) 100%),
    url('../assets/hero-bg.jpg') center center / cover no-repeat;
}
@media (max-width: 720px) {
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(8, 12, 18, 0.7) 0%, rgba(11, 18, 32, 0.6) 50%, rgba(10, 15, 24, 0.85) 100%),
      url('../assets/hero-bg-mobile.jpg') center 30% / cover no-repeat;
  }
}

/* ===== Split layout ===== */
.hero__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.hero__text { max-width: 520px; }

/* ===== Proof chips ===== */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
}
.hero__proof-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--t-3);
  letter-spacing: 0.01em;
}
.hero__proof-item svg { color: var(--acc); flex-shrink: 0; }

/* ===== Demo card (video) ===== */
.hero__demo {
  display: flex;
  justify-content: center;
}
.hero__demo-card {
  display: block;
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 140, 66, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background: var(--bg-elev);
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.hero__demo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,140,66,0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 140, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero__demo-video,
.hero__demo-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Hide default play button on iOS/webkit */
.hero__demo-video::-webkit-media-controls-play-button,
.hero__demo-video::-webkit-media-controls-start-playback-button,
.hero__demo-video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}
.hero__demo-glass {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 14px 18px;
  background: rgba(11, 15, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero__demo-cta {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc-2);
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s var(--ease);
}
.hero__demo-card:hover .hero__demo-cta {
  transform: translateX(3px);
  color: var(--acc);
}
/* Big play button overlay (fallback when autoplay is blocked) */
.hero__demo-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 140, 66, 0.92);
  color: #0B0F14;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(255, 140, 66, 0.18), 0 12px 40px -10px rgba(0,0,0,0.6);
  transition: transform .25s var(--ease), box-shadow .25s, background .2s, opacity .35s;
  z-index: 3;
  animation: heroPlayPulse 2.2s ease-in-out infinite;
}
.hero__demo-play:hover {
  background: var(--acc-2);
  transform: translate(-50%, -50%) scale(1.06);
}
.hero__demo-play svg { margin-left: 3px; }
.hero__demo-play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}
@keyframes heroPlayPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255,140,66,0.18), 0 12px 40px -10px rgba(0,0,0,0.6); }
  50%      { box-shadow: 0 0 0 14px rgba(255,140,66,0.04), 0 12px 40px -10px rgba(0,0,0,0.6); }
}
@media (max-width: 720px) {
  .hero__demo-play { width: 64px; height: 64px; }
  .hero__demo-play svg { width: 28px; height: 28px; }
}
.hero__demo-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-3);
}
.dot--green { background: var(--good); box-shadow: 0 0 8px rgba(110, 231, 135, 0.5); }

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .hero { padding: 48px 0 48px; min-height: auto; }
  .hero__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__text { max-width: 100%; text-align: center; }
  .hero__text .hero__chip { justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__proof { justify-content: center; }
  .hero__demo-card { max-width: 100%; }
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t-2);
  background: var(--bg-elev);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--t-2);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.hero__sub b { color: var(--t-1); font-weight: 700; }

.hero__usp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero__usp-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t-1);
}
.hero__usp-num {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--acc);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.hero__note {
  font-size: 0.8125rem;
  color: var(--t-4);
}

/* ===== Hero map teaser ===== */
.hero__map-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 12px 14px 12px 12px;
  max-width: 480px;
  background: rgba(17, 22, 29, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 220ms var(--ease), border-color 220ms, background 220ms, box-shadow 220ms;
}
.hero__map-teaser:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 66, 0.55);
  background: rgba(22, 28, 36, 0.85);
  box-shadow: 0 24px 60px -28px rgba(255, 140, 66, 0.45),
              inset 0 0 0 1px rgba(255, 140, 66, 0.08);
}
.hero__map-teaser-img {
  position: relative;
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #0E141B;
  border: 1px solid rgba(255, 140, 66, 0.18);
}
.hero__map-teaser-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
  transition: transform 400ms var(--ease);
}
.hero__map-teaser:hover .hero__map-teaser-img img {
  transform: scale(1.25);
}
.hero__map-teaser-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.25),
              0 0 16px var(--acc-glow);
  animation: teaserPulse 2.2s var(--ease) infinite;
}
@keyframes teaserPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.55; }
}
.hero__map-teaser-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.hero__map-teaser-kicker {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}
.hero__map-teaser-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--t-0);
  line-height: 1.25;
}
.hero__map-teaser-hint {
  font-size: 0.78rem;
  color: var(--t-3);
}
.hero__map-teaser-arrow {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 140, 66, 0.12);
  color: var(--acc);
  transition: transform 220ms var(--ease), background 220ms;
}
.hero__map-teaser-arrow svg { width: 18px; height: 18px; }
.hero__map-teaser:hover .hero__map-teaser-arrow {
  background: var(--acc);
  color: #0B0F14;
  transform: translateY(3px);
}

@media (max-width: 480px) {
  .hero__map-teaser {
    padding: 10px;
    gap: 12px;
  }
  .hero__map-teaser-img {
    width: 72px; height: 72px;
  }
  .hero__map-teaser-title { font-size: 0.875rem; }
  .hero__map-teaser-hint  { font-size: 0.72rem; }
  .hero__map-teaser-arrow { width: 32px; height: 32px; }
}

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; gap: 12px; }
}
@media (min-width: 880px) {
  .hero { padding: 96px 0 120px; }
}

/* ===== Pattern break ===== */
.break {
  padding: 72px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.break__text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--t-1);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 auto 48px;
  max-width: 880px;
}
.break__strike { text-decoration-color: var(--bad); text-decoration-thickness: 2px; }
.break__bad { color: var(--bad); }
.break__good { color: var(--acc); }
.break__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}
.break__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acc);
  padding: 4px 0;
}
.break__divider svg { transform: rotate(90deg); }
.break__col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.break__col--good { border-color: var(--acc-soft-2); }
.break__col-label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-3);
  margin-bottom: 8px;
}
.break__col--good .break__col-label { color: var(--acc); }
.break__col-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--t-1);
  margin-bottom: 20px;
}
.break__col--good .break__col-value { color: var(--t-1); }
.break__list { display: flex; flex-direction: column; gap: 10px; }
.break__list li {
  position: relative;
  padding-left: 18px;
  color: var(--t-2);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.break__list li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 1px; background: var(--t-4);
}
.break__col--good .break__list li::before { background: var(--acc); }

@media (min-width: 760px) {
  .break__split {
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
  }
  .break__divider svg { transform: none; }
}

/* 3-step app flow visual in the payment section */
.how__viz {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}
.how__viz img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}
.how__viz figcaption {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--t-3);
}

/* ===== Devices section ===== */
.devices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.check-list { display:flex; flex-direction:column; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem;
  color: var(--t-1);
}
.check-list svg { width: 18px; height: 18px; color: var(--acc); flex-shrink: 0; }

/* Map visual in devices section */
.devices__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.devices__visual--map {
  align-items: stretch;
}
.devices__visual--map .map-wrap {
  width: 100%;
  flex: 1;
}
.devices__grid--map {
  align-items: stretch;
}

@media (min-width: 880px) {
  .devices__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .devices__grid--map { grid-template-columns: 380px 1fr; gap: 48px; }
  .devices__visual--map #depth-map {
    height: 100%;
    min-height: 460px;
    max-height: 580px;
  }
}
@media (max-width: 879px) {
  .devices__visual--map #depth-map {
    height: 56vh;
    min-height: 360px;
    max-height: 480px;
  }
}

/* ===== Why ===== */
.why__head { max-width: 720px; margin-bottom: 48px; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: border-color 250ms, transform 250ms var(--ease);
}
.why-card:hover {
  border-color: var(--acc-soft-2);
  transform: translateY(-2px);
}
.why-card__num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--acc);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.why-card__title { margin-bottom: 8px; }
.why-card__text { color: var(--t-3); font-size: 0.9375rem; line-height: 1.55; }

/* Quote standalone section */
.quote-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.quote-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--acc-soft) 0%, transparent 60%);
  z-index: -1;
}
.quote-section .container { position: relative; }

.quote {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em;
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: var(--t-1);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  padding: 0 16px;
  line-height: 1.2;
}
.quote__text { min-width: 0; }
.quote__mark { flex: none; }
.quote__mark {
  color: var(--acc);
  font-size: 1.5em;
  font-style: normal;
  display: inline-block;
  vertical-align: -0.2em;
  font-family: var(--f-display);
  font-weight: 700;
}

.quote__deco {
  position: absolute;
  width: 200px;
  top: 50%;
  fill: rgba(255,140,66,0.08);
  stroke: rgba(255,140,66,0.3);
  stroke-width: 1;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 14px rgba(255,140,66,0.15));
}
.quote__deco--left  { left: 4%; transform: translateY(-50%) rotate(-4deg); }
.quote__deco--right { right: 4%; transform: translateY(-50%) rotate(4deg) scaleX(-1); }

/* Holographic fish behind the quote — orange sonar echo sits behind the text */
.quote__fish {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 94%);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.quote-section .quote { position: relative; z-index: 1; }
.quote-section .quote__deco { z-index: 1; }

@media (max-width: 880px) {
  .quote-section { padding: 72px 0; }
  .quote__deco { width: 110px; opacity: 0.55; }
  .quote__deco--left  { left: -10px; top: 18%; }
  .quote__deco--right { right: -10px; top: auto; bottom: 14%; transform: translateY(0) rotate(4deg) scaleX(-1); }
  .quote__fish { width: 125%; max-width: none; opacity: 0.42; }
}

/* ===== Catalog ===== */
.catalog { position: relative; overflow: hidden; }
.catalog__head { margin-bottom: 28px; max-width: 760px; position: relative; }

/* ===== Depth Map ===== */
.map-wrap {
  position: relative;
  margin-bottom: 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #08111A;
  box-shadow: 0 0 0 1px var(--acc-soft) inset;
}
#depth-map {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 620px;
  background: #08111A;
}

/* Mobile map — compact, smooth */
@media (max-width: 720px) {
  #depth-map {
    height: 56vh;
    min-height: 360px;
    max-height: 480px;
  }
  .depth-tile {
    /* blur/colour baked into PNGs — no runtime filter (smooth pan/zoom) */
    opacity: 0.78 !important;
  }
  .map-help {
    font-size: 0.625rem;
    padding: 6px 10px;
  }
}
.map-help {
  position: absolute;
  bottom: 12px; left: 12px;
  z-index: 500;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(11,15,20,0.9);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t-2);
  pointer-events: none;
}
.map-help svg { color: var(--acc); }
.map-help__desktop { display: inline; }
.map-help__mobile { display: none; }

/* Fullscreen button */
.map-fullscreen-btn {
  position: absolute;
  top: 12px; right: 52px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(11, 15, 20, 0.85);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--t-2);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  backdrop-filter: blur(6px);
}
.map-fullscreen-btn:hover {
  background: var(--acc);
  color: var(--bg);
  border-color: var(--acc);
}
.map-fs-icon--collapse { display: none; }

/* Fullscreen mode */
.map-wrap--fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100vw !important;
  height: 100vh !important;
  box-shadow: none !important;
}
.map-wrap--fullscreen #depth-map {
  height: 100vh !important;
  max-height: none !important;
  min-height: 100vh !important;
}
.map-wrap--fullscreen .map-fullscreen-btn {
  top: 16px; right: 16px;
  width: 42px; height: 42px;
}
.map-wrap--fullscreen .map-fs-icon--expand { display: none; }
.map-wrap--fullscreen .map-fs-icon--collapse { display: block; }
.map-wrap--fullscreen .map-help {
  bottom: 16px; left: 16px;
}

@media (max-width: 720px) {
  .map-help__desktop { display: none; }
  .map-help__mobile { display: inline; }
}

/* Leaflet override — dark theme */
.leaflet-container {
  background: #08111A !important;
  font-family: var(--f-sans) !important;
  outline: none;
}
.leaflet-control-zoom a {
  background: var(--bg-card) !important;
  color: var(--t-1) !important;
  border-color: var(--line-2) !important;
}
.leaflet-control-zoom a:hover {
  background: var(--bg-card-2) !important;
  color: var(--acc) !important;
}
.leaflet-control-attribution {
  background: rgba(11,15,20,0.85) !important;
  color: var(--t-3) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a {
  color: var(--t-2) !important;
}

/* Hover/highlight on rectangles */
.seg-rect {
  transition: fill-opacity 200ms, stroke-width 200ms, stroke-opacity 200ms;
  cursor: pointer;
  filter: drop-shadow(0 0 6px rgba(255,140,66,0.15));
}

/* Floating price pin marker */
.map-pin-wrap {
  background: transparent !important;
  border: none !important;
}
.map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: rgba(11,15,20,0.88);
  border: 1px solid rgba(255,140,66,0.55);
  border-radius: 999px;
  color: #FFB454;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 0 rgba(255,140,66,0), 0 4px 10px -3px rgba(0,0,0,0.5);
  transition: all 220ms var(--ease);
  pointer-events: auto;
}
.map-pin small { font-weight: 500; opacity: 0.7; margin-left: 1px; font-size: 0.85em; }
.map-pin:hover,
.map-pin-wrap.is-active .map-pin {
  background: var(--acc);
  color: #0B0F14;
  border-color: var(--acc-2);
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(255,140,66,0.18), 0 6px 16px -3px rgba(255,140,66,0.4);
}
/* Neutral dot — no price until tapped */
.map-pin--dot {
  width: 16px; height: 16px;
  padding: 0;
  border-radius: 50%;
  background: var(--acc);
  border: 2px solid rgba(11,15,20,0.9);
  box-shadow: 0 0 0 2px rgba(255,140,66,0.35), 0 2px 6px rgba(0,0,0,0.5);
  animation: mapDotPulse 2.4s ease-in-out infinite;
}
.map-pin--dot:hover,
.map-pin-wrap.is-active .map-pin--dot {
  background: var(--acc-2);
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(255,140,66,0.22), 0 4px 12px -2px rgba(255,140,66,0.5);
}
@keyframes mapDotPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,140,66,0.35), 0 2px 6px rgba(0,0,0,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(255,140,66,0.05), 0 2px 6px rgba(0,0,0,0.5); }
}
/* Tap popup with price + buy */
.map-pop-wrap .leaflet-popup-content-wrapper {
  background: var(--bg-elev);
  color: var(--t-1);
  border: 1px solid var(--acc-soft-2);
  border-radius: var(--r-md);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
}
.map-pop-wrap .leaflet-popup-tip { background: var(--bg-elev); border: 1px solid var(--acc-soft-2); }
.map-pop-wrap .leaflet-popup-content { margin: 0; width: 230px !important; }
.map-pop__img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--r-md) var(--r-md) 0 0; background: var(--bg-rail);
}
.map-pop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-pop__img-label {
  position: absolute; bottom: 6px; left: 8px;
  font-family: var(--f-mono); font-size: 0.5rem; color: var(--acc);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.map-pop__name { font-weight: 700; font-size: 0.92rem; color: var(--t-1); margin: 10px 12px 4px; line-height: 1.2; }
.map-pop__desc {
  color: var(--t-3); font-size: 0.75rem; line-height: 1.4; margin: 0 12px 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.map-pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 12px 12px; }
.map-pop__price {
  font-family: var(--f-mono); font-size: 1.15rem; font-weight: 700;
  color: var(--acc-2);
}
.map-pop__price small { font-size: 0.7em; color: var(--t-3); margin-left: 2px; }
.map-pop__buy {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--acc); color: #0B0F14;
  border: none; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; transition: background .2s, transform .2s;
}
.map-pop__buy:hover { background: var(--acc-2); transform: translateY(-1px); }

/* Blue tint on base navigation tiles */
.map-base-tile {
  filter: brightness(1.4) sepia(0.8) hue-rotate(180deg) saturate(1.2);
  -webkit-filter: brightness(1.4) sepia(0.8) hue-rotate(180deg) saturate(1.2);
}

.depth-tile {
  /* blur + colour baked into the PNG tiles — no runtime CSS filter,
     so pan/zoom stays smooth (no per-tile re-rasterisation) */
  opacity: 0.85;
}

/* Tooltip styling */
.leaflet-tooltip.map-tooltip-wrap {
  background: var(--bg-elev) !important;
  color: var(--t-1) !important;
  border: 1px solid var(--acc-soft-2) !important;
  border-radius: var(--r-md) !important;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.5) !important;
  padding: 10px 12px !important;
  font-family: var(--f-sans) !important;
}
.leaflet-tooltip.map-tooltip-wrap::before { display: none !important; }
.map-tip__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--t-1);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.map-tip__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.map-tip__price {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--acc);
  letter-spacing: -0.01em;
}
.map-tip__price small { color: var(--t-3); font-weight: 600; margin-left: 2px; }
.map-tip__cta {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acc-2);
}

/* Mobile map height already defined above */

.region-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 32px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--acc-soft-2) transparent;
}
.region-tabs::-webkit-scrollbar { height: 6px; }
.region-tabs::-webkit-scrollbar-thumb { background: var(--acc-soft-2); border-radius: 999px; }
.region-tabs::-webkit-scrollbar-track { background: transparent; }
.region-tab {
  flex: 0 0 auto;
  min-width: 240px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: left;
  transition: all 250ms var(--ease);
  cursor: pointer;
}
.region-tab:hover { border-color: var(--acc-soft-2); }
.region-tab.active {
  background: var(--bg-card-2);
  border-color: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-soft);
}
.region-tab__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.region-tab__name { font-size: 1rem; font-weight: 700; color: var(--t-1); letter-spacing: -0.01em; }
.region-tab__sub { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--t-3); text-transform: uppercase; letter-spacing: 0.1em; }
.region-tab__price {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  flex-shrink: 0;
}
.region-tab__price-from {
  font-family: var(--f-mono); font-size: 0.625rem;
  color: var(--t-4); text-transform: uppercase; letter-spacing: 0.08em;
}
.region-tab__price-val { font-size: 1.0625rem; font-weight: 700; color: var(--t-1); }
.region-tab__price-val small { font-weight: 500; color: var(--t-3); margin-left: 2px; font-size: 0.75em; }
.region-tab__chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: var(--bg-rail);
  color: var(--t-2);
  border: 1px solid var(--line);
  transition: transform 300ms var(--ease), color 250ms;
}
.region-tab.active .region-tab__chev { transform: rotate(90deg); color: var(--acc); border-color: var(--acc); }

/* Listing */
.listing { display: flex; flex-direction: column; gap: 14px; }
.listing__view { animation: fadeIn 400ms var(--ease); }
@keyframes fadeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }

/* Full package — hero card */
.pack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: linear-gradient(135deg, #1B232C 0%, #161C24 100%);
  border: 1px solid var(--acc-soft-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
.pack::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, var(--acc-soft) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(255,180,84,0.07) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.pack__visual {
  position: relative;
  aspect-ratio: 16/10;
  background: #08111A;
  overflow: hidden;
  cursor: pointer;
}
.pack__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease);
}
.pack:hover .pack__visual img { transform: scale(1.03); }
.pack__visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(8,17,26,0.7) 100%),
    radial-gradient(ellipse at 80% 0%, rgba(255,140,66,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.pack__visual-label {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: rgba(11,15,20,0.7);
  border: 1px solid rgba(255,140,66,0.25);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--acc);
  z-index: 2;
  backdrop-filter: blur(6px);
}
.pack__seal {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--acc);
  color: #0B0F14;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.pack__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pack__kicker {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}
.pack__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.pack__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--acc-soft);
  border: 1px solid var(--acc-soft-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc-2);
}
.pack__tagline::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--acc);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--acc-glow);
  animation: pulse 2s var(--ease) infinite;
}
.pack__desc { color: var(--t-2); line-height: 1.55; max-width: 56ch; }
.pack__features {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pack__feature {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--t-2);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.pack__feature svg { width: 12px; height: 12px; color: var(--acc); }
.pack__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  flex-wrap: wrap;
}
.pack__price {
  display: flex; align-items: baseline; gap: 8px;
}
.pack__price-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pack__price-cur { font-size: 1.125rem; color: var(--t-3); font-weight: 600; }
.pack__price-note { font-family: var(--f-mono); font-size: 0.6875rem; color: var(--t-4); letter-spacing: 0.06em; text-transform: uppercase; }
.pack__price-old {
  font-size: 0.95rem;
  color: var(--t-4);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 140, 66, 0.7);
  text-decoration-thickness: 2px;
  margin-left: 6px;
  font-weight: 600;
  align-self: center;
}
.pack__savings {
  width: 100%;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--t-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pack__savings-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 140, 66, 0.14);
  border: 1px solid rgba(255, 140, 66, 0.35);
  color: var(--acc);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Flash подсветки полного пакета при переходе с карточки участка */
.pack--flash {
  animation: packFlash 1500ms var(--ease);
}
@keyframes packFlash {
  0%   { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); }
  20%  { box-shadow: 0 0 0 6px rgba(255, 140, 66, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); }
}

@media (min-width: 760px) {
  .pack { grid-template-columns: 1fr 1.1fr; }
  .pack__visual { aspect-ratio: auto; height: 100%; min-height: 280px; }
  .pack__body { padding: 36px; }
}

/* Segment cards */
.segments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.seg {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 250ms, transform 250ms var(--ease);
  position: relative;
}
.seg:hover { border-color: var(--acc-soft-2); transform: translateY(-3px); }

.seg__img {
  background: var(--bg-rail);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}
.seg__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease);
}
.seg:hover .seg__img img { transform: scale(1.04); }
.seg__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,15,20,0.6) 100%);
  pointer-events: none;
}
.seg__img-label {
  position: absolute;
  bottom: 6px; left: 6px;
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}
.seg__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.seg__top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.seg__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--t-1);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.seg__price {
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--acc);
  font-family: var(--f-sans);
  letter-spacing: -0.01em;
}
.seg__price small { font-weight: 500; color: var(--t-3); margin-left: 2px; font-size: 0.7em; }
.seg__desc {
  color: var(--t-3);
  font-size: 0.875rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.seg__row {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.seg__tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.seg__tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--t-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.seg__tag--hot { color: #FF8C42; border-color: rgba(255,140,66,0.35); background: rgba(255,140,66,0.08); }
.seg__tag--good { color: var(--good); border-color: rgba(110,231,135,0.3); background: rgba(110,231,135,0.06); }
.seg__tag--pack { color: var(--acc-2); border-color: rgba(255,180,84,0.4); background: rgba(255,180,84,0.08); }
.seg__buy {
  flex-shrink: 0;
  padding: 10px 16px;
  background: var(--acc);
  color: #0B0F14;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 200ms;
  width: 100%;
}
.seg__buy:hover { background: var(--acc-2); }
.seg__buy svg { width: 14px; height: 14px; }

/* Подсказка-апселл в окне оплаты при покупке одиночного участка */
.upsell {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 140, 66, 0.07);
  border: 1px dashed rgba(255, 140, 66, 0.45);
}
.upsell__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255, 140, 66, 0.15);
  color: var(--acc);
}
.upsell__icon svg { width: 18px; height: 18px; }
.upsell__body { min-width: 0; }
.upsell__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t-1);
  line-height: 1.3;
}
.upsell__title b { color: var(--acc); font-weight: 700; }
.upsell__text {
  margin-top: 3px;
  font-size: 0.75rem;
  color: var(--t-3);
  line-height: 1.35;
}
.upsell__cta {
  padding: 8px 14px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 140, 66, 0.6);
  color: var(--acc);
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms, color 160ms, transform 160ms;
}
.upsell__cta:hover {
  background: var(--acc);
  color: #0B0F14;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .upsell {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
  }
  .upsell__cta {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding: 9px 14px;
  }
}

@media (min-width: 600px) {
  .seg__img-label { font-size: 0.625rem; bottom: 8px; left: 8px; }
}
@media (min-width: 560px) {
  .segments { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 920px) {
  .segments { grid-template-columns: repeat(3, 1fr); }
}

/* ===== How / payment ===== */
.how__head { max-width: 720px; margin-bottom: 40px; }
.how__grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.how__step {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.how__step--accent {
  background: linear-gradient(135deg, #1B232C 0%, #161C24 100%);
  border-color: var(--acc-soft-2);
}
.how__step-num {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--t-4);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.how__step--accent .how__step-num { color: var(--acc); }
.how__step-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--acc);
  margin-bottom: 16px;
  background: var(--bg-rail);
}
.how__step-icon svg { width: 22px; height: 22px; }
.how__step h4 { font-size: 1.125rem; margin-bottom: 6px; color: var(--t-1); }
.how__step p { color: var(--t-3); font-size: 0.9375rem; line-height: 1.5; }

@media (min-width: 800px) { .how__grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Finale ===== */
.finale {
  position: relative;
  padding: 96px 0 110px;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.finale__inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}
.finale__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, var(--acc-soft) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(255,140,66,0.04) 30.5%, transparent 31.5%),
    radial-gradient(circle at 50% 50%, transparent 22%, rgba(255,140,66,0.06) 22.5%, transparent 23.5%),
    radial-gradient(circle at 50% 50%, transparent 14%, rgba(255,140,66,0.08) 14.5%, transparent 15.5%);
  z-index: -1;
}
.finale__title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  line-height: 1.05;
  position: relative;
}
.finale__text { color: var(--t-2); font-size: 1.125rem; margin-bottom: 32px; }

/* ===== Footer ===== */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: var(--bg-elev); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer__brand p { color: var(--t-3); font-size: 0.9375rem; max-width: 320px; }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--t-1);
  margin-bottom: 12px;
}
.footer__logo img,
.footer__logo .nav__logo-mark {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
}
.footer__logo img {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.footer__logo .nav__logo-mark { border: 1px solid var(--line-2); }
.footer__col h5 {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-4);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--t-2);
  font-size: 0.9375rem;
  transition: color 200ms;
}
.footer__col a:hover { color: var(--acc); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--t-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__motto { color: var(--acc); }
@media (min-width: 720px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 11, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal-overlay.active { display: flex; }

.modal {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  width: 100%;
  max-width: 520px;
  padding: 28px 24px 32px;
  animation: slideUp 350ms var(--ease);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--t-2);
  transition: all 200ms;
}
.modal__close:hover { color: var(--acc); border-color: var(--acc); }
.modal__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--acc-soft);
  color: var(--acc);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.modal__sub {
  color: var(--t-3);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}
.modal__item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.modal__item:last-of-type { border-bottom: 1px solid var(--line); }
.modal__item-name { color: var(--t-1); font-weight: 600; font-size: 0.9375rem; }
.modal__item-meta { color: var(--t-4); font-size: 0.8125rem; margin-top: 2px; }
.modal__item-price { color: var(--acc); font-weight: 700; white-space: nowrap; }

.modal__total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0 24px;
}
.modal__total-label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t-3);
}
.modal__total-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--t-1);
  letter-spacing: -0.02em;
}
.modal__total-price small { font-size: 0.625em; color: var(--t-3); margin-left: 4px; }

.modal__cta {
  width: 100%;
  margin-bottom: 12px;
}
.modal__cta:disabled { opacity: 0.6; cursor: progress; }

.pay-form { display: flex; flex-direction: column; gap: 14px; }
.pay-form__field { display: flex; flex-direction: column; gap: 6px; }
.pay-form__label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t-3);
}
.pay-form__input {
  appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--t-1);
  transition: border-color 200ms;
}
.pay-form__input::placeholder { color: var(--t-4); }
.pay-form__input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.pay-form__error {
  font-size: 0.8125rem;
  color: var(--bad);
  min-height: 18px;
}

/* DEV-only file delivery list inside success modal */
.dev-files {
  display: flex; flex-direction: column; gap: 8px;
  margin: 8px 0 0;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  max-height: 240px;
  overflow-y: auto;
}
.dev-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-rail);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.dev-file__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dev-file__num {
  font-family: var(--f-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
}
.dev-file__name {
  font-size: 0.8125rem;
  color: var(--t-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--t-4);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}
.modal__success {
  text-align: center;
  padding: 16px 0 8px;
}
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: rgba(110,231,135,0.1);
  color: var(--good);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal__success-icon svg { width: 32px; height: 32px; }

@media (min-width: 600px) {
  .modal-overlay { align-items: center; padding: 24px; }
  .modal { border-radius: var(--r-xl); padding: 36px; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 110;
  background: rgba(7,11,16,0.92);
  backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.active { display: flex; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--t-1);
  transition: all 200ms;
}
.lightbox__close:hover { color: var(--acc); border-color: var(--acc); }
.lightbox__content {
  width: 100%;
  max-width: 1100px;
  background: var(--bg-rail);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.lightbox__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
  background: #08111A;
}
.lightbox__caption {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}
.lightbox__caption-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--t-1);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.lightbox__caption-meta {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ===== Scroll animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ===== Larger sections ===== */
@media (min-width: 880px) {
  .section { padding: 120px 0; }
}

/* ===== Success / install page ===== */
.success-page { background: var(--bg); }
.success {
  padding: 80px 0 96px;
  text-align: center;
}
.success__icon {
  width: 80px; height: 80px;
  margin: 0 auto 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(110,231,135,0.08);
  color: var(--good);
  border: 1px solid rgba(110,231,135,0.25);
  box-shadow: 0 0 0 8px rgba(110,231,135,0.04);
}
.success__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 16px;
}
.success__text {
  max-width: 540px;
  margin: 0 auto 12px;
  color: var(--t-2);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.success__text b { color: var(--acc); }
.success__hint {
  max-width: 540px;
  margin: 0 auto 56px;
  color: var(--t-3);
  font-size: 0.9375rem;
}
.success__hint a { color: var(--acc); }
.success__phone {
  max-width: 290px;
  margin: 0 auto 56px;
}
.success__phone img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}
.kicker--center { display: flex; justify-content: center; margin-bottom: 16px; }
.kicker--center::before { display: none; }
.success__cta { margin-top: 64px; }

.install { text-align: left; padding-top: 32px; }
.install__h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}
.install__platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .install__platforms { grid-template-columns: repeat(2, 1fr); }
  .install__card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .install__platforms { grid-template-columns: repeat(3, 1fr); }
  .install__card:last-child { grid-column: auto; }
}
.install__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.install__platform {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  color: var(--t-1);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.install__platform svg { color: var(--acc); }
.install__steps {
  display: flex; flex-direction: column;
  gap: 10px;
  list-style: none;
  counter-reset: step;
  padding: 0; margin: 0;
}
.install__steps > li {
  position: relative;
  padding-left: 32px;
  color: var(--t-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  counter-increment: step;
}
.install__steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--acc-soft);
  color: var(--acc);
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.install__steps > li b { color: var(--t-1); }
.install__steps code {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  padding: 2px 6px;
  background: var(--bg-rail);
  border-radius: 4px;
  color: var(--acc-2);
  border: 1px solid var(--line);
}
.install__tip {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg-rail);
  border-left: 3px solid var(--acc);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.8125rem;
  color: var(--t-3);
  line-height: 1.5;
}
.install__tip i { color: var(--t-2); font-style: normal; font-weight: 600; }

.install__basemap {
  margin: 64px 0 0;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.install__lead {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--t-2);
  font-size: 1rem;
  line-height: 1.55;
}
.install__lead b { color: var(--t-1); }

.install__regions {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--acc-soft-2);
  border-radius: var(--r-lg);
}
.install__regions-title {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 14px;
}
.install__regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
@media (min-width: 600px) { .install__regions-grid { grid-template-columns: 1fr 1fr; } }
.install__region {
  padding: 12px 14px;
  background: var(--bg-rail);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.install__region b { color: var(--t-1); font-size: 0.9375rem; }
.install__region span {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--t-3);
  letter-spacing: 0.02em;
}
.install__regions-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--t-3);
  line-height: 1.5;
}
.install__regions-note b { color: var(--acc-2); }
.install__steps ul {
  list-style: none;
}
.install__steps ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  color: var(--t-3);
  font-size: 0.875rem;
}
.install__steps ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 1px;
  background: var(--acc);
}
.install__steps ul li b { color: var(--t-2); }

.install__faq {
  max-width: 760px;
  margin: 56px auto 0;
}
.install__faq-h {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--t-1);
}
.install__faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.install__faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--t-1);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.install__faq summary::-webkit-details-marker { display: none; }
.install__faq summary::after {
  content: '+';
  color: var(--acc);
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform 250ms;
  flex-shrink: 0;
}
.install__faq details[open] summary::after { transform: rotate(45deg); }
.install__faq p {
  margin-top: 12px;
  color: var(--t-3);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.install__faq code {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  padding: 2px 6px;
  background: var(--bg-card);
  border-radius: 4px;
  color: var(--acc-2);
  border: 1px solid var(--line);
}
.install__faq a { color: var(--acc); text-decoration: none; }

/* ===== Decorative fish silhouettes ===== */
/* Sections that host a .fish-bg — clip overflow */
.devices,
.how {
  position: relative;
  overflow: hidden;
}

.fish-bg {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.32;
  filter: drop-shadow(0 0 40px rgba(85, 200, 220, 0.18));
  animation: fishDrift 14s ease-in-out infinite;
}
@keyframes fishDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(8px, -10px); }
}

/* Зандер (судак) — секция «угадываешь vs понимаешь дно», справа сверху, повёрнут */
.fish-bg--zander {
  width: 520px;
  top: -40px; right: -90px;
  transform: rotate(-8deg);
  animation-duration: 16s;
}
/* Лещ — секция «как это работает», слева, мелкая, опускается под текст */
.fish-bg--bream {
  width: 420px;
  bottom: -60px; left: -80px;
  transform: scaleX(-1) rotate(6deg);
  opacity: 0.26;
  animation-duration: 12s;
  animation-delay: -3s;
}
/* Щука — каталог, слева сверху, длинная, тянется горизонтально */
.fish-bg--pike {
  width: 540px;
  top: 40px; left: -120px;
  transform: scaleX(-1) rotate(-3deg);
  opacity: 0.24;
  animation-duration: 18s;
  animation-delay: -2s;
}
/* Окунь — секция оплаты, справа снизу */
.fish-bg--perch {
  width: 460px;
  bottom: -40px; right: -110px;
  transform: rotate(4deg);
  opacity: 0.28;
  animation-duration: 13s;
  animation-delay: -5s;
}
/* Сом — финал, эпично-длинный, справа сверху, к центру */
.fish-bg--catfish {
  width: 620px;
  top: 30px; right: -140px;
  transform: rotate(-5deg);
  opacity: 0.28;
  animation-duration: 15s;
}

/* Tablet */
@media (max-width: 1080px) {
  .fish-bg--zander  { width: 380px; right: -110px; }
  .fish-bg--bream   { width: 320px; left: -90px; }
  .fish-bg--pike    { width: 400px; left: -130px; }
  .fish-bg--perch   { width: 340px; right: -120px; }
  .fish-bg--catfish { width: 460px; right: -160px; }
}

/* Mobile — keep fish as a strong visual accent like on desktop */
@media (max-width: 720px) {
  .fish-bg {
    opacity: 0.30;
    animation: fishDrift 16s ease-in-out infinite;
    filter: drop-shadow(0 0 24px rgba(85, 200, 220, 0.22));
  }
  .fish-bg--zander  { width: 320px; right: -90px;  top: -30px;  transform: rotate(-8deg); }
  .fish-bg--bream   { width: 280px; left: -80px;   bottom: -50px; transform: scaleX(-1) rotate(6deg); opacity: 0.26; }
  .fish-bg--pike    { width: 340px; left: -110px;  top: 10px;   transform: scaleX(-1) rotate(-3deg); opacity: 0.24; }
  .fish-bg--perch   { width: 300px; right: -100px; bottom: -30px; transform: rotate(4deg); opacity: 0.28; }
  .fish-bg--catfish { width: 380px; right: -110px; top: 10px;   transform: rotate(-5deg); opacity: 0.26; }
}

/* Very small phones — slightly less intrusive */
@media (max-width: 420px) {
  .fish-bg--zander  { width: 280px; }
  .fish-bg--bream   { width: 240px; }
  .fish-bg--pike    { width: 300px; }
  .fish-bg--perch   { width: 260px; }
  .fish-bg--catfish { width: 320px; }
}

/* =====================================================
   MOBILE POLISH — финальная адаптация под телефон
   Цель: на мобиле всё выглядит так же чётко и премиально как на компе
   ===================================================== */
@media (max-width: 720px) {
  /* Гарантия — никакого горизонтального скролла */
  html, body { overflow-x: hidden; }

  /* Контейнер чуть шире по краям */
  .container { padding: 0 16px; }

  /* Секции компактнее, но не приплюснуты */
  .section { padding: 56px 0; }

  /* Hero — ровный ритм */
  .hero { padding: 84px 0 64px; }
  .hero__chip {
    font-size: 0.6875rem;
    padding: 7px 12px;
    margin-bottom: 18px;
  }
  .hero__title { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 22px; line-height: 1.5; }
  .hero__usp { margin-bottom: 24px; }
  .hero__usp-item { padding: 8px 12px; font-size: 0.8125rem; }
  .hero__actions { gap: 10px; }
  .hero__map-teaser { margin-top: 18px; max-width: 100%; }

  /* Pattern break */
  .break { padding: 56px 0; }
  .break__text { font-size: clamp(1.25rem, 5.6vw, 1.75rem); margin-bottom: 32px; }
  .break__col { padding: 22px; }
  .break__col-value { font-size: 1.375rem; }
  .break__split { gap: 10px; }
  .break__divider { padding: 6px 0; }

  /* Devices — фотка + чек-лист */
  .devices__grid { gap: 36px; }
  .check-list { margin-top: 18px; gap: 10px; }
  .check-list li { font-size: 0.9375rem; }

  /* Quote — компактнее */
  .quote-section { padding: 56px 0; }
  .quote { font-size: clamp(1.5rem, 6.5vw, 2rem); padding: 0 8px; }

  /* Catalog */
  .catalog__head { margin-bottom: 22px; }
  .catalog .map-wrap { margin-bottom: 22px; }
  .region-tabs { gap: 8px; margin-bottom: 22px; }
  .region-tab { padding: 14px 16px; }
  .region-tab__name { font-size: 0.9375rem; }

  /* Pack — full package card */
  .pack { border-radius: var(--r-lg); }

  /* How / payment steps */
  .how { padding: 56px 0; }
  .how__head { margin-bottom: 28px; }
  .how__grid { gap: 12px; }
  .how__step { padding: 22px; }

  /* Finale — мощный финал, но без излишков */
  .finale { padding: 64px 0 72px; }

  /* Кнопки — соответствие гайдлайнам Apple (минимум 44px тач) */
  .btn { min-height: 44px; }
  .btn--sm { min-height: 38px; }
  .btn--lg { padding: 16px 24px; min-height: 52px; }

  /* Логотип в навигации немного компактнее на мобиле */
  .nav__logo img,
  .nav__logo-mark {
    width: 32px;
    height: 32px;
  }
  .nav__logo-name { font-size: 1.0625rem; }
  .nav__logo-sub { font-size: 0.625rem; }

  /* Tape — чуть меньше */
  .tape__track > span { padding: 0 14px; font-size: 0.7rem; }
  .tape { padding: 6px 0; }

  /* Гарантия — изображения никогда не вылезают */
  img, video, svg { max-width: 100%; }
}

/* Очень узкие экраны (iPhone SE / mini) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .hero { padding: 76px 0 56px; }
  .hero__title { font-size: clamp(2rem, 11vw, 2.6rem); }
  .hero__usp-item { padding: 7px 10px; font-size: 0.75rem; }
  .break__col { padding: 18px; }
  .how__step { padding: 18px; }
}

/* ===== Reports section ===== */
.reports__head { max-width: 720px; margin-bottom: 32px; }
.reports__banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 36px;
  aspect-ratio: 16 / 7;
}
.reports__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reports__banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  background: linear-gradient(180deg, rgba(11,15,20,0) 35%, rgba(11,15,20,0.55) 70%, rgba(11,15,20,0.92) 100%);
}
.reports__banner-overlay .h2 { margin: 6px 0 8px; }
.reports__banner-overlay .lead { max-width: 520px; margin: 0; }
@media (max-width: 720px) {
  .reports__banner { aspect-ratio: 4 / 3; }
  .reports__banner-overlay { padding: 20px; }
}
.reports__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.reports__empty {
  grid-column: 1 / -1;
  position: relative;
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reports__empty-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.reports__empty-text {
  position: relative;
  z-index: 1;
  color: var(--t-1);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* Report page */
.report-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1100px;
}
.report-page__visual { display: none; }
.report-page__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}
@media (min-width: 900px) {
  .report-page__grid {
    grid-template-columns: 1fr 0.85fr;
    align-items: start;
  }
  .report-page__visual {
    display: block;
    position: sticky;
    top: 100px;
    aspect-ratio: 3 / 4;
  }
}
.report-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.report-card:hover {
  border-color: var(--acc-soft-2);
  transform: translateY(-2px);
}
.report-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.report-card__body { padding: 16px; }
.report-card__name {
  font-weight: 700;
  color: var(--t-1);
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.report-card__text {
  color: var(--t-3);
  font-size: 0.8125rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.report-card__date {
  color: var(--t-4);
  font-size: 0.6875rem;
  font-family: var(--f-mono);
  margin-top: 10px;
}

/* Report modal */
.modal-box {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  width: 100%;
  padding: 28px 24px 32px;
  animation: slideUp 350ms var(--ease);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  color: var(--t-3);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  z-index: 2;
}
.modal-close:hover { background: var(--bg-card); color: var(--t-1); }
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--t-1);
  margin-bottom: 4px;
}
.report-modal { max-width: 480px; width: 100%; }
.modal-subtitle {
  color: var(--t-3);
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.report-form { display: flex; flex-direction: column; gap: 16px; }
.report-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--t-2);
}
.report-form__input,
.report-form__textarea {
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 10px 14px;
  color: var(--t-1);
  font-family: var(--f-sans);
  font-size: 0.875rem;
  transition: border-color .2s;
}
.report-form__input:focus,
.report-form__textarea:focus {
  outline: none;
  border-color: var(--acc);
}
.report-form__textarea { resize: vertical; min-height: 80px; }
.report-form__file {
  font-size: 0.8125rem;
  color: var(--t-3);
}
.report-form__file::file-selector-button {
  background: var(--bg-card-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  color: var(--t-2);
  cursor: pointer;
  font-family: var(--f-sans);
  margin-right: 10px;
  transition: background .2s;
}
.report-form__file::file-selector-button:hover { background: var(--bg-card); }
.report-form__preview {
  display: none;
  border-radius: var(--r-md);
  overflow: hidden;
  max-height: 200px;
}
.report-form__preview.has-photo { display: block; }
.report-form__preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--r-md);
}
.report-form__submit { width: 100%; margin-top: 4px; }
.report-form__status {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--good);
  min-height: 20px;
}
.report-form__status.error { color: var(--bad); }

/* ===== FAQ section ===== */
.faq__head { max-width: 720px; margin-bottom: 32px; }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq__q {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--t-1);
  padding: 20px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq__q:hover { color: var(--acc); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  color: var(--acc);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 250ms var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 0 20px;
  color: var(--t-3);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 640px;
}
.faq__a a { color: var(--acc); }

/* ===== Floating social buttons ===== */
.float-socials {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-socials__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.float-socials__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}
.float-socials__btn--tg {
  background: #2AABEE;
}
.float-socials__btn--vk {
  background: #0077FF;
}
@media (max-width: 720px) {
  .float-socials {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .float-socials__btn {
    width: 46px;
    height: 46px;
  }
  .float-socials__btn svg { width: 20px; height: 20px; }
}
