/* ============================================================
   Морские контейнеры — доработки визуала (hero, секции, анимации)
   Подключается ПОСЛЕ styles.css и переопределяет/дополняет.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   HERO v2 — океан, корабль, переливающийся фон
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: #0B1B30;
  min-height: clamp(620px, 78vh, 880px);
  isolation: isolate;
}

/* небо: переливающийся градиент */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 18%, rgba(224,162,63,0.28) 0%, transparent 55%),
    radial-gradient(60% 70% at 18% 8%, rgba(60,154,217,0.22) 0%, transparent 60%),
    linear-gradient(180deg, #0B1B30 0%, #142B47 38%, #1A3358 70%, #0E2640 100%);
  background-size: 200% 200%, 220% 220%, 100% 100%;
  animation: skyShift 22s ease-in-out infinite alternate;
  z-index: -3;
}

/* звёзды/точечки */
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 35% 0;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 38%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 28%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 16%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 32%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 44%, rgba(255,255,255,0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 6%, rgba(255,255,255,0.5) 50%, transparent 51%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,1) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,1) 40%, transparent 100%);
  animation: twinkle 6s ease-in-out infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes skyShift {
  0%   { background-position: 0% 50%, 100% 0%, 0 0; }
  100% { background-position: 100% 30%, 0% 100%, 0 0; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* контент hero */
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 8vw, 120px) clamp(180px, 22vw, 300px);
  min-height: 0;
}

/* контейнер у заголовка — лёгкая стекляшка чтобы текст не сливался */
.hero__copy {
  position: relative;
}

.hero__title .accent {
  display: inline-block;
  position: relative;
  background: linear-gradient(92deg, #F5B656 0%, #E0A23F 45%, #C68528 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  animation: amberFlow 8s ease-in-out infinite alternate;
}
@keyframes amberFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ============================================================
   Океан + корабль (HTML-сцена снизу hero)
   ============================================================ */

.ocean {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(220px, 32vw, 360px);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* "вода": плотный градиент со стеклянным блеском */
.ocean__water {
  position: absolute;
  inset: 30% 0 0 0;
  background:
    linear-gradient(180deg,
      rgba(11,27,48,0.65) 0%,
      rgba(11,27,48,0.92) 18%,
      #08172A 60%,
      #050F1D 100%);
}
.ocean__water::after {
  /* блики света */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 12% at 70% 18%, rgba(224,162,63,0.18) 0%, transparent 60%),
    radial-gradient(40% 8% at 30% 30%, rgba(155,200,235,0.10) 0%, transparent 70%);
  mix-blend-mode: screen;
  animation: oceanShimmer 9s ease-in-out infinite alternate;
}
@keyframes oceanShimmer {
  0%   { transform: translateX(-3%); opacity: 0.8; }
  100% { transform: translateX(3%);  opacity: 1; }
}

/* волны: 3 слоя SVG, движутся с разной скоростью и направлением */
.ocean__wave {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  display: block;
}
.ocean__wave--back {
  top: 18%;
  height: 80%;
  opacity: 0.55;
  animation: waveDriftRight 26s linear infinite;
}
.ocean__wave--mid {
  top: 28%;
  height: 70%;
  opacity: 0.78;
  animation: waveDriftLeft 18s linear infinite;
}
.ocean__wave--front {
  top: 44%;
  height: 56%;
  opacity: 1;
  animation: waveDriftRight 12s linear infinite;
}
@keyframes waveDriftRight {
  from { transform: translateX(0%); }
  to   { transform: translateX(25%); }
}
@keyframes waveDriftLeft {
  from { transform: translateX(0%); }
  to   { transform: translateX(-25%); }
}

/* корабль */
.ocean__ship {
  position: absolute;
  bottom: 36%;
  right: -120px;
  width: clamp(380px, 52vw, 680px);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.55));
  animation:
    shipSail 60s linear infinite,
    shipBob 5.5s ease-in-out infinite;
}
.ocean__ship svg { width: 100%; height: auto; display: block; }

@keyframes shipSail {
  0%   { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-22vw) translateY(0); }
}
@keyframes shipBob {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-7px) rotate(0.6deg); }
}
/* корабль использует и sail (translate), и bob (translate+rotate),
   bob применяем как nested через дочерний слой */
.ocean__ship-bob {
  animation: shipBob 5.5s ease-in-out infinite;
  transform-origin: 50% 80%;
}

/* силуэты дальних кораблей — глубина сцены */
.ocean__far {
  position: absolute;
  bottom: 48%;
  left: 8%;
  width: 90px;
  height: 22px;
  opacity: 0.35;
  filter: blur(0.4px);
}
.ocean__far--right {
  left: auto;
  right: 12%;
  bottom: 52%;
  width: 60px;
  height: 16px;
  opacity: 0.25;
}

/* ============================================================
   Hero — стат-плашки, eyebrow
   ============================================================ */

.hero__eyebrow {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__stats {
  position: relative;
}
.hero__stat-num {
  position: relative;
}

/* мини-иконка справа от hero (полу-полупрозрачный компас или гран-маркеры) — убрана старая визуальная плашка */
.hero__visual { display: none; }

/* ============================================================
   Feature cards (3 карточки преимуществ)
   ============================================================ */

.features {
  margin-top: calc(clamp(180px, 22vw, 300px) * -0.55);
  padding-bottom: clamp(40px, 5vw, 80px);
  position: relative;
  z-index: 3;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow:
    0 10px 24px -8px rgba(8, 20, 38, 0.45),
    0 30px 60px -20px rgba(8, 20, 38, 0.55);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 32px -10px rgba(8, 20, 38, 0.5),
    0 40px 70px -25px rgba(8, 20, 38, 0.6);
}

.feature-card--amber {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.18) 0%, transparent 60%),
    linear-gradient(135deg, #F5B656 0%, #E0A23F 55%, #C68528 100%);
  color: #1A2A40;
}
.feature-card--amber .feature-card__num { color: rgba(26,42,64,0.45); }

.feature-card--navy {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(224,162,63,0.18) 0%, transparent 55%),
    linear-gradient(135deg, #1A3358 0%, #142B47 50%, #0B1B30 100%);
  color: #fff;
}
.feature-card--navy .feature-card__num { color: rgba(255,255,255,0.35); }

.feature-card__num {
  font-family: var(--font-family-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.feature-card__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: inherit;
}
.feature-card--amber .feature-card__icon { background: rgba(26,42,64,0.12); color: #142B47; }
.feature-card__icon svg { width: 26px; height: 26px; }

.feature-card__body { display: flex; flex-direction: column; gap: 8px; }
.feature-card__title {
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.015em;
  color: inherit;
  max-width: 14ch;
}
.feature-card__desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.78;
  max-width: 30ch;
}

/* ============================================================
   Section: парящие контейнеры на тросах
   ============================================================ */

.crane-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(224,162,63,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F3F3 100%);
  padding-block: clamp(72px, 9vw, 140px);
}

.crane-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.crane-block__copy { max-width: 540px; }
.crane-block__copy h2 {
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 20px;
}
.crane-block__copy h2 .amber {
  color: var(--color-primary-alt);
  font-style: italic;
  font-weight: var(--font-weight-medium);
}
.crane-block__copy p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}

.crane-scene {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 360px;
}

/* верхняя балка крана */
.crane-scene::before {
  content: "";
  position: absolute;
  top: 6%;
  left: -4%;
  right: -4%;
  height: 14px;
  background: linear-gradient(180deg, #2a4060 0%, #142B47 100%);
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}
.crane-scene::after {
  /* заклёпки на балке */
  content: "";
  position: absolute;
  top: 7.2%;
  left: 0;
  right: 0;
  height: 6px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.25) 1px, transparent 2px);
  background-size: 24px 6px;
  z-index: 1;
}

.crane-cable {
  position: absolute;
  top: 7%;
  width: 2px;
  background: linear-gradient(180deg, rgba(20,43,71,0.6), rgba(20,43,71,0.85));
  transform-origin: top center;
  animation: cableSway 6s ease-in-out infinite;
}
.crane-cable--1 { left: 16%; height: 38%; animation-delay: -0.4s; animation-duration: 6.2s; }
.crane-cable--2 { left: 48%; height: 22%; animation-delay: -1.5s; animation-duration: 5.6s; }
.crane-cable--3 { left: 78%; height: 50%; animation-delay: -0.9s; animation-duration: 6.8s; }

.hanging-container {
  position: absolute;
  width: 28%;
  aspect-ratio: 2.1 / 1;
  border-radius: 4px;
  transform-origin: top center;
  animation: containerSway 6s ease-in-out infinite;
  box-shadow:
    inset 0 -8px 0 rgba(0,0,0,0.16),
    0 24px 40px -10px rgba(8,20,38,0.35);
}
.hanging-container::before {
  /* гофра */
  content: "";
  position: absolute;
  inset: 8px 4px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 6px,
                            rgba(255,255,255,0.10) 6px 7px, transparent 7px 12px);
  background-size: 100% 12px;
  border-radius: 2px;
  opacity: 0.5;
}
.hanging-container::after {
  /* двери справа */
  content: "";
  position: absolute;
  top: 8%; bottom: 8%; right: 6%;
  width: 24%;
  border-left: 1px solid rgba(0,0,0,0.25);
  border-right: 1px solid rgba(0,0,0,0.25);
  background:
    linear-gradient(90deg,
      transparent 0%, transparent 38%,
      rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.25) 40%,
      transparent 40%, transparent 60%,
      rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.25) 62%,
      transparent 62% );
}
.hanging-container__label {
  position: absolute;
  top: 14%;
  left: 8%;
  font-family: var(--font-family-mono);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);
}

.hanging-container--amber {
  background: linear-gradient(180deg, #F5B656 0%, #E0A23F 60%, #B97720 100%);
  left: 4%; top: 40%;
  animation-delay: -0.4s; animation-duration: 6.2s;
}
.hanging-container--amber .hanging-container__label { color: rgba(26,42,64,0.85); }

.hanging-container--navy {
  background: linear-gradient(180deg, #2A4366 0%, #1A3358 55%, #0B1B30 100%);
  left: 36%; top: 26%;
  animation-delay: -1.5s; animation-duration: 5.6s;
}

.hanging-container--white {
  background: linear-gradient(180deg, #F9FAFC 0%, #E0E5EC 55%, #C1C8D2 100%);
  left: 66%; top: 54%;
  animation-delay: -0.9s; animation-duration: 6.8s;
}
.hanging-container--white .hanging-container__label { color: rgba(26,42,64,0.65); }

@keyframes cableSway {
  0%, 100% { transform: rotate(-1.4deg); }
  50%      { transform: rotate(1.4deg); }
}
@keyframes containerSway {
  0%, 100% { transform: rotate(-1.4deg) translateY(0); }
  50%      { transform: rotate(1.4deg) translateY(2px); }
}

.crane-block__stat-row {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.crane-block__stat strong {
  display: block;
  font-family: var(--font-family-mono);
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.crane-block__stat span {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: var(--font-family-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   Geography — карта-сеть с парящими контейнерами
   ============================================================ */

.geo-block {
  position: relative;
  background: linear-gradient(180deg, #0B1B30 0%, #142B47 60%, #0B1B30 100%);
  color: #fff;
  padding-block: clamp(80px, 10vw, 160px);
  overflow: hidden;
}
.geo-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, black 30%, transparent 100%);
}

.geo-block__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.geo-block h2 {
  color: #fff;
  font-size: clamp(34px, 3.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
}
.geo-block h2 .amber {
  color: var(--color-primary);
  font-style: italic;
  font-weight: var(--font-weight-medium);
}
.geo-block__lead {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.68);
  max-width: 56ch;
  margin: 0 auto 56px;
}

.geo-scene {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 22 / 9;
}

/* "карта": сетка широт-долгот + точки городов */
.geo-grid {
  position: absolute;
  inset: 14% 4% 12% 4%;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 8.33% 100%,
    linear-gradient(0deg,  rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    radial-gradient(120% 80% at 50% 60%, rgba(60,154,217,0.12) 0%, transparent 70%);
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.geo-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(224,162,63,0.18);
}
.geo-pin::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(224,162,63,0.6);
  animation: pinPulse 2.4s ease-out infinite;
}
.geo-pin::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(224,162,63,0.25);
  animation: pinPulse 2.4s ease-out infinite;
  animation-delay: 0.8s;
}
.geo-pin__label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.geo-pin__sub {
  display: block;
  font-size: 10px;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  margin-top: 2px;
}

@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* парящие контейнеры */
.geo-float {
  position: absolute;
  width: clamp(80px, 9vw, 130px);
  aspect-ratio: 2.1 / 1;
  border-radius: 4px;
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.2),
    0 18px 30px -8px rgba(0,0,0,0.5);
  animation: floatY 6s ease-in-out infinite;
}
.geo-float::before {
  content: "";
  position: absolute;
  inset: 4px 3px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0 1px, transparent 1px 5px,
                            rgba(255,255,255,0.10) 5px 6px, transparent 6px 10px);
  background-size: 100% 10px;
  border-radius: 2px;
  opacity: 0.5;
}
.geo-float__label {
  position: absolute;
  top: 30%;
  left: 9%;
  font-family: var(--font-family-mono);
  font-size: clamp(9px, 0.9vw, 12px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);
}

.geo-float--a { top: 8%;  left: 10%; background: linear-gradient(180deg,#F5B656,#C68528); animation-delay: -1s; }
.geo-float--a .geo-float__label { color: rgba(26,42,64,0.9); }
.geo-float--b { top: 4%;  left: 44%; background: linear-gradient(180deg,#2A4366,#0B1B30); animation-delay: -3s; }
.geo-float--c { top: 12%; right: 8%; background: linear-gradient(180deg,#E0E5EC,#A8B0BC); animation-delay: -5s; }
.geo-float--c .geo-float__label { color: rgba(26,42,64,0.7); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* линии маршрутов */
.geo-route {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.geo-route path {
  fill: none;
  stroke: rgba(224,162,63,0.45);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: dashFlow 14s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -200; }
}

.geo-block__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  max-width: 880px;
  margin-inline: auto;
}
.geo-stat {
  text-align: center;
  padding: 20px 8px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.geo-stat:first-child { border-left: none; }
.geo-stat strong {
  display: block;
  font-family: var(--font-family-mono);
  font-size: clamp(30px, 2.6vw, 44px);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.geo-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-family-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Glassmorphism form
   ============================================================ */

.lead-section {
  position: relative;
  padding-block: clamp(80px, 9vw, 140px);
  background: #0B1B30;
  color: #fff;
  overflow: hidden;
}
.lead-section::before {
  /* силуэт штабеля контейнеров — горизонтальные полосы из цветных блоков */
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(224,162,63,0.18) 0 60px,
      transparent 60px 140px,
      rgba(60,154,217,0.10) 140px 220px,
      transparent 220px 320px,
      rgba(255,255,255,0.06) 320px 400px,
      transparent 400px 520px),
    radial-gradient(60% 80% at 70% 60%, rgba(224,162,63,0.18) 0%, transparent 60%);
  filter: blur(2px);
  opacity: 0.7;
  animation: stripesDrift 22s linear infinite;
}
.lead-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,27,48,0.92) 0%, rgba(11,27,48,0.78) 50%, rgba(11,27,48,0.95) 100%);
}
@keyframes stripesDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 520px 0, 0 0; }
}

.lead-section > .container { position: relative; z-index: 1; }

.lead-section .section-head__title { color: #fff; }
.lead-section .section-head__sub { color: rgba(255,255,255,0.7); }
.lead-section .eyebrow { color: var(--color-primary); }
.lead-section .eyebrow::before { background: var(--color-primary); }

.lead-glass {
  position: relative;
  padding: 40px clamp(28px, 4vw, 56px);
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 60%);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.lead-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(60% 100% at 0% 0%, rgba(224,162,63,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.lead-glass .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lead-glass .form-field--full { grid-column: 1 / -1; }
.lead-glass .form-field { display: flex; flex-direction: column; gap: 8px; }
.lead-glass label {
  font-family: var(--font-family-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
}
.lead-glass input,
.lead-glass textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.lead-glass input::placeholder,
.lead-glass textarea::placeholder { color: rgba(255,255,255,0.35); }
.lead-glass input:focus,
.lead-glass textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.1);
}
.lead-glass textarea { resize: vertical; min-height: 92px; }

.lead-glass .form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lead-glass .form-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0;
  max-width: 42ch;
}
.lead-glass .form-disclaimer a { color: rgba(255,255,255,0.7); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); }
.lead-glass .form-disclaimer a:hover { color: var(--color-primary); }
.lead-glass .form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(45, 168, 79, 0.15);
  border: 1px solid rgba(45, 168, 79, 0.35);
  color: #d8f5e1;
  font-size: 14px;
}
.lead-glass .form-success.is-visible { display: block; }

/* «контакт-плитки» рядом с формой */
.lead-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-aside__item {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.lead-aside__item:hover {
  border-color: rgba(224,162,63,0.4);
  background: rgba(224,162,63,0.06);
  color: #fff;
}
.lead-aside__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(224,162,63,0.12);
  color: var(--color-primary);
  flex-shrink: 0;
}
.lead-aside__icon svg { width: 20px; height: 20px; }
.lead-aside__label {
  display: block;
  font-family: var(--font-family-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.lead-aside__value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* ============================================================
   Адаптив
   ============================================================ */

/* 3 плашки преимуществ остаются в ряд до планшета, столбиком — только на телефоне */
@media (max-width: 760px) {
  .features__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 64px 240px; gap: 0; }
  .features { margin-top: -180px; }
  .crane-block__grid { grid-template-columns: 1fr; }
  .lead-layout { grid-template-columns: 1fr; }
  .geo-block__stats { grid-template-columns: repeat(2, 1fr); }
  .geo-block__stats .geo-stat:nth-child(3) { border-left: none; }
  .ocean__ship { width: 480px; right: -80px; }
}

@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .feature-card { min-height: 180px; padding: 24px 22px 22px; }
  .feature-card__icon { width: 44px; height: 44px; top: 18px; right: 18px; border-radius: 10px; }
  .feature-card__icon svg { width: 22px; height: 22px; }
  .lead-glass .form-grid { grid-template-columns: 1fr; }
  .lead-glass { padding: 24px 18px; }
  .lead-glass .form-actions { flex-direction: column; align-items: stretch; }
  .geo-block__stats { grid-template-columns: 1fr 1fr; }
  .crane-scene { aspect-ratio: 1 / 1; min-height: 300px; }
  .hanging-container { width: 32%; }
  .ocean { height: 220px; }
  .ocean__ship { width: 380px; right: -60px; }
}


/* ============================================================
   v3 — отказ от рукодельной графики, переход на фото-слоты
   ============================================================ */

/* ============================================================
   HERO v4 — фон-фото порта + плашки (как референс)
   ============================================================ */
.hero { background: var(--color-secondary); }
.hero::after { display: none; }
.ocean--legacy { display: none !important; }

/* фоновое фото */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
/* затемнение слева — текст читается на тёмной воде */
.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, #0A1628 0%, rgba(10,22,40,0.95) 24%, rgba(10,22,40,0.62) 45%, rgba(10,22,40,0.2) 66%, rgba(10,22,40,0) 100%),
    linear-gradient(0deg, rgba(8,18,34,0.55) 0%, transparent 42%);
  z-index: 1;
  animation: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner {
  padding-block: clamp(56px, 7vw, 92px) clamp(150px, 16vw, 200px);
  align-items: center;
}

/* статы с иконками */
.hero__stats {
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  align-items: start;
}
.hero__stat { display: flex; gap: 11px; align-items: flex-start; }
.hero__stat-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 4px;
}
.hero__stat-icon svg { width: 24px; height: 24px; display: block; }
.hero__stat-num { font-size: clamp(30px, 2.6vw, 40px); }
.hero__stat-label {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.2;
  max-width: 140px;
}
.hero__stat-sub {
  margin-top: 5px;
  font-size: 11px;
  font-family: var(--font-family-mono);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.42);
  line-height: 1.3;
  max-width: 150px;
}

/* визуальная колонка держит две плашки справа */
.hero__visual {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  min-height: 380px;
}
.hero__visual::before, .hero__visual::after { display: none; }

.hero__float {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 290px;
  padding: 16px 20px;
  background: rgba(13,25,43,0.6);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 22px 48px -18px rgba(0,0,0,0.7);
  animation: heroFloatY 7s ease-in-out infinite;
}
.hero__float--1 { animation-delay: -1s; }
.hero__float--2 { margin-right: 42px; animation-delay: -3.5s; }
@keyframes heroFloatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) { .hero__float { animation: none; } }
.hero__float-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--color-primary);
  background: rgba(224,162,63,0.14);
  border: 1px solid rgba(224,162,63,0.22);
  border-radius: 11px;
}
.hero__float-icon svg { width: 22px; height: 22px; }
.hero__float-title { font-weight: 700; font-size: 15px; color: #fff; line-height: 1.25; }
.hero__float-sub { margin-top: 5px; font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.35; }

/* адаптив hero */
@media (max-width: 1024px) {
  .hero__bg-img { object-position: 78% center; }
  .hero::before {
    background:
      linear-gradient(90deg, #0A1628 0%, rgba(10,22,40,0.96) 34%, rgba(10,22,40,0.7) 56%, rgba(10,22,40,0.35) 78%, rgba(10,22,40,0.2) 100%),
      linear-gradient(0deg, rgba(8,18,34,0.55) 0%, transparent 42%);
  }
  .hero__visual { display: none !important; }
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr; gap: 16px; }
  .hero__stat-label, .hero__stat-sub { max-width: none; }
}

/* ============================================================
   About / «доверьтесь профессионалам» — full-bleed фото-фон
   ============================================================ */
.crane-scene { display: none !important; }

.crane-block {
  position: relative;
  overflow: hidden;
  background: #F6E7D4; /* запасной тон неба под фото */
  padding-block: 0; /* фото вплотную, без бежевых полос */
}
/* кнопка «О компании» — прозрачная, как в референсе */
.crane-block .btn--ghost {
  background: transparent;
  border-color: rgba(20, 43, 71, 0.32);
  color: var(--color-secondary);
}
.crane-block .btn--ghost:hover {
  background: rgba(20, 43, 71, 0.06);
  border-color: var(--color-secondary);
}
/* фото целиком определяет высоту секции — ничего не обрезается */
.about-bleed {
  position: relative;
  width: 100%;
  line-height: 0;
}
.about-bleed__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
}
/* лёгкая подложка слева — читабельность тёмного текста на небе
   + fade сверху (растворение в светло-серый фон каталога)
   + fade снизу (растворение в белый фон секции услуг) */
.about-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--color-bg-light) 0%, rgba(243,243,243,0.7) 4%, rgba(243,243,243,0) 14%),
    linear-gradient(0deg, var(--color-white) 0%, rgba(255,255,255,0.65) 6%, rgba(255,255,255,0) 16%),
    linear-gradient(90deg, rgba(246,231,212,0.82) 0%, rgba(246,231,212,0.38) 28%, rgba(246,231,212,0) 50%);
  pointer-events: none;
}

/* текст поверх фото — слева, по центру по вертикали */
.crane-block .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.crane-block .container > .crane-block__grid { width: 100%; }
.crane-block__spacer { display: none; }

/* адаптив */
@media (max-width: 1024px) {
  /* фото сверху, текст под ним обычным потоком — без наложения */
  .crane-block .container {
    position: static;
    padding-block: 38px 46px;
  }
  .about-bleed::after { display: none; }
  .crane-block__copy { max-width: none; }
}

/* МОБИЛЬНЫЙ ВАРИАНТ: фото — фон секции, текст поверх с тёмным overlay */
@media (max-width: 860px) {
  .crane-block {
    position: relative;
    min-height: 520px;
    padding-block: 0;
    overflow: hidden;
    background: var(--color-secondary-dark);
  }
  .about-bleed {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .about-bleed__img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: 60% center;
  }
  .about-bleed::after {
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(8, 18, 34, 0.25) 0%,
        rgba(8, 18, 34, 0.55) 45%,
        rgba(8, 18, 34, 0.92) 100%) !important;
    pointer-events: none;
  }
  .crane-block .container {
    position: relative !important;
    z-index: 2;
    display: flex !important;
    align-items: flex-end;
    min-height: 520px;
    padding-block: 56px 36px !important;
    inset: auto !important;
  }
  .crane-block__copy { max-width: none; }
  .crane-block__copy .eyebrow { color: var(--color-primary); }
  .crane-block__copy .eyebrow::before { background: var(--color-primary); }
  .crane-block__copy h2 { color: #fff; }
  .crane-block__copy h2 .amber { color: var(--color-primary); }
  .crane-block__copy p { color: rgba(255, 255, 255, 0.82); }
  /* цифры 8 / 52 / 83 — тёмно-синий не читается на фото, делаем янтарными */
  .crane-block__stat strong { color: var(--color-primary); }
  .crane-block__stat span { color: rgba(255, 255, 255, 0.72); }
  .crane-block .btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
  }
  .crane-block .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

/* убираем верхнюю «балку крана» — больше не нужна */
.crane-block .crane-scene::before,
.crane-block .crane-scene::after { display: none !important; }

/* ============================================================
   Geo block — клин, убрали парящие кубы
   ============================================================ */
.geo-float { display: none !important; }

.geo-scene {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 22 / 10;
}
.geo-grid {
  inset: 6% 4% 12% 4%;
}

/* ============================================================
   Адаптив для новых блоков
   ============================================================ */
@media (max-width: 1024px) {
  .hero__visual {
    aspect-ratio: 16 / 10;
    max-width: 100%;
    margin-top: 8px;
  }
  .cont__badge { font-size: 12px; padding: 6px 10px; }
  .about-photo__card { right: 0; bottom: 18px; max-width: 240px; padding: 13px 16px; }
}
@media (max-width: 640px) {
  .cont__plate { display: none; }
  .about-photo__card { position: static; margin-top: 14px; max-width: none; right: auto; bottom: auto; }
  .cont__shackle { width: 11px; height: 11px; }
}

/* ============================================================
   Каталог: 2×2 cover-карточки с фото-фоном
   ============================================================ */
.cat-grid--cover {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cat-card--cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 32px 32px 28px;
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(180deg, rgba(11, 27, 48, 0.15) 0%, rgba(11, 27, 48, 0.55) 45%, rgba(11, 27, 48, 0.92) 100%),
    var(--card-img, url("../assets/about-photo-clean.jpg"));
  background-size: cover, cover;
  background-position: center, var(--card-pos, center);
  background-repeat: no-repeat, no-repeat;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.cat-card--cover::before {
  display: none;
}
.cat-card--cover:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -20px rgba(11, 27, 48, 0.55);
}

.cat-card__cover-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(224, 162, 63, 0.92);
  color: var(--color-secondary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.cat-card__cover-icon svg { width: 26px; height: 26px; }

.cat-card__cover-stat {
  position: absolute;
  top: 32px;
  right: 32px;
  text-align: right;
  font-family: var(--font-family-mono);
  color: rgba(255, 255, 255, 0.92);
}
.cat-card__cover-stat strong {
  display: block;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.cat-card__cover-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}
.cat-card__cover-stat--soon strong {
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(255, 255, 255, 0.95);
}

.cat-card__cover-title {
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: auto 0 8px;
  line-height: 1.1;
}
.cat-card__cover-title .amber {
  color: var(--color-primary);
  font-style: italic;
  font-weight: var(--font-weight-medium);
}

.cat-card__cover-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px;
  max-width: 38ch;
}

.cat-card__cover-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
  color: var(--color-primary);
  transition: gap var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.cat-card__cover-link svg { width: 16px; height: 16px; }
.cat-card--cover:hover .cat-card__cover-link {
  gap: 12px;
  color: var(--color-primary-hover);
}

.cat-card--cover.cat-card--soon { opacity: 1; }

@media (max-width: 900px) {
  .cat-grid--cover { grid-template-columns: 1fr; gap: 16px; }
  .cat-card--cover { min-height: 280px; padding: 26px 24px 24px; }
  .cat-card__cover-stat { top: 24px; right: 24px; }
}

/* ============================================================
   Mobile polish — финальный пакет фиксов для телефонов
   Подключается после всего, чтобы переопределять
   ============================================================ */

/* ---- 860px и ниже: уплотняем шапку, освобождаем место бургеру ---- */
@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-block: 12px;
  }
  .brand { font-size: 15px; gap: 10px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__sub { display: none; }
  .header__actions { gap: 6px; }
  /* "Заказать звонок" в шапке не помещается рядом с бургером — прячем,
     в мобильном меню есть телефон и мессенджеры */
  .header__actions [data-open-form] { display: none; }
  .cart-btn { width: 40px; height: 40px; margin-left: 0; }
  .cart-btn svg { width: 20px; height: 20px; }
}

/* ---- HERO на телефонах: убираем мёртвый низ под несуществующий океан ---- */
@media (max-width: 860px) {
  .hero {
    min-height: 0;
  }
  .hero__inner {
    padding-block: clamp(40px, 9vw, 72px) clamp(48px, 11vw, 80px) !important;
    gap: 24px;
  }
  .hero__eyebrow {
    font-size: 11px;
    padding: 5px 12px 5px 6px;
    margin-bottom: 18px;
  }
  .hero__title {
    font-size: clamp(34px, 9.5vw, 54px);
    line-height: 1;
    margin-bottom: 18px;
  }
  .hero__sub {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero__cta {
    gap: 10px;
    margin-bottom: 32px;
  }
  .hero__cta .btn--lg {
    padding: 14px 22px;
    font-size: 15px;
  }
  .hero__stats {
    padding-top: 28px;
    gap: 20px;
  }
}

/* ---- HERO stats: компактная 1-колоночная раскладка с иконкой слева ---- */
@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero__stat {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .hero__stat-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(224, 162, 63, 0.12);
    border-radius: 10px;
    margin-top: 0;
  }
  .hero__stat-icon svg { width: 20px; height: 20px; }
  .hero__stat-num {
    font-size: 24px;
    margin-bottom: 2px;
    line-height: 1;
  }
  .hero__stat-num small { font-size: 0.55em; }
  .hero__stat-label {
    font-size: 12px;
    line-height: 1.25;
    max-width: none;
  }
  .hero__stat-sub { display: none; }
}

/* ---- FEATURES: лёгкий overlap на hero для плавного перехода ---- */
@media (max-width: 860px) {
  .features {
    margin-top: -36px !important; /* плашки слегка наезжают на тёмный hero */
    padding-top: 0;
    padding-bottom: clamp(32px, 7vw, 56px);
    position: relative;
    z-index: 5;
  }
  .features__grid { gap: 14px; }
  .feature-card {
    padding: 24px 22px 22px;
    min-height: 160px;
    gap: 18px;
  }
  .feature-card__title {
    font-size: 20px;
    max-width: 18ch;
  }
  .feature-card__desc { font-size: 13.5px; }
}

/* ---- ПЛАВНЫЕ ПЕРЕХОДЫ между секциями на мобиле ---- */
@media (max-width: 860px) {
  /* hero снизу — лёгкий fade в светло-серый фон страницы,
     чтобы граница не была обрублена */
  .hero {
    position: relative;
  }
  .hero > .container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(180deg,
      transparent 0%,
      var(--color-bg-light) 100%);
    pointer-events: none;
    z-index: 3;
  }
  /* перед geo-block (тёмно-синий) — мягкий заход от белого/светлого */
  .geo-block {
    position: relative;
  }
  .geo-block::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(180deg,
      var(--color-white) 0%,
      transparent 100%);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
  }
  /* секция services (белая) → geo (тёмная): добавим внизу services тонкий fade */
  section[style*="background: var(--color-white)"] {
    position: relative;
  }
  /* перед crane-block (фото-фон) — sharp visual cut допустим
     (фото живёт само), но добавим лёгкое затемнение нижней кромки caталога */
  section[data-screen-label="catalog"] {
    position: relative;
  }
  section[data-screen-label="catalog"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(20, 43, 71, 0.06) 100%);
    pointer-events: none;
  }
}

/* ---- Container padding меньше на телефонах ---- */
@media (max-width: 640px) {
  :root { --container-pad: 16px; }
  .section { padding-block: clamp(40px, 9vw, 64px); }
  .section-head { margin-bottom: clamp(20px, 5vw, 32px); }
}

/* ---- TOOLBAR + чипы: чипы в строку с горизонтальным скроллом ---- */
@media (max-width: 760px) {
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }
  .toolbar__count {
    order: 2;
    text-align: left;
  }
  .toolbar__filters {
    order: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--container-pad) * -1);
    padding: 4px var(--container-pad);
    scrollbar-width: none;
  }
  .toolbar__filters::-webkit-scrollbar { display: none; }
  .chip {
    flex-shrink: 0;
    padding: 9px 14px;
    font-size: 13.5px;
  }
}

/* ---- Каталог-страницы: одно крупное фото в карточке на мобиле ---- */
@media (max-width: 640px) {
  .product-grid {
    gap: 16px;
  }
  .product-card__body {
    padding: 16px 16px 18px;
    gap: 10px;
  }
  .product-card__title { font-size: 15px; }
  .price { font-size: 20px; }
  /* компактная кнопка «Подробнее» рядом с ценой — см. общий блок ниже */
}

/* ---- Карточка товара (детальная) — стек, без sticky ---- */
@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-info {
    position: static;
    top: auto;
  }
  .product-info__title {
    font-size: clamp(24px, 6.5vw, 32px);
  }
  .product-info__price-block {
    padding: 18px;
  }
  .price--lg { font-size: 28px; }
  .gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .accordion__btn { padding: 16px 0; font-size: 15px; }
  .specs__row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }
  .specs__key { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
}

/* ---- Crumbs — мельче и плотнее ---- */
@media (max-width: 640px) {
  .crumbs { font-size: 12px; padding-block: 16px; gap: 6px; }
}

/* ---- Hero crane block (about-bleed) — фото читается на мобиле ---- */
@media (max-width: 640px) {
  .crane-block {
    padding-block: 0;
  }
  .about-bleed__img {
    aspect-ratio: 4 / 3;
  }
  .crane-block .container {
    padding-block: 28px 36px;
  }
  .crane-block__copy h2 { font-size: clamp(26px, 7vw, 36px); }
  .crane-block__copy p { font-size: 14px; }
}

/* ---- Geo block — компактнее ---- */
@media (max-width: 640px) {
  .geo-block { padding-block: 48px; }
  .geo-block h2 { font-size: clamp(26px, 7vw, 36px); }
  .geo-block__lead { font-size: 15px; margin-bottom: 32px; }
  .geo-scene { aspect-ratio: 4 / 3; }
}

/* ---- Footer — крупнее тач-таргеты, плотнее столбцы ---- */
@media (max-width: 640px) {
  .site-footer { padding: 44px 0 20px; }
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer__list { gap: 12px; }
  .footer__list a { font-size: 15px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
  }
  .footer__legal {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

/* ---- FAB-стек поднимаем над фиксированным WhatsApp/TG, чтобы не закрывал контент ---- */
@media (max-width: 600px) {
  .fab-stack { bottom: 14px; right: 14px; gap: 8px; }
  .fab { width: 48px; height: 48px; box-shadow: 0 8px 20px rgba(11, 27, 48, 0.28); }
  /* небольшой safe-area отступ от низа, если есть system bar */
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ---- Stub-заголовок («Скоро»): уменьшаем монстра-шрифт ---- */
@media (max-width: 640px) {
  .stub { padding: 56px 0; }
  .stub__title { font-size: clamp(36px, 10vw, 52px); }
  .stub__sub { font-size: 15px; margin-bottom: 24px; }
}

/* ---- Форма заявки на мобиле ---- */
@media (max-width: 640px) {
  .form-block { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .form-actions .btn { width: 100%; }
  .form-disclaimer { max-width: none; font-size: 11.5px; }
}

/* ---- Контакты — поджимаем grid ---- */
@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .contact-list li { grid-template-columns: 38px 1fr; gap: 12px; }
  .contact-list__icon { width: 38px; height: 38px; }
  .contact-list__icon svg { width: 18px; height: 18px; }
  .contact-list__val { font-size: 15px; }
  .map-placeholder { aspect-ratio: 4 / 3; font-size: 12px; }
}

/* ---- Безопасно: hero crane балка/корабль скрыты — на мобиле не нужны ---- */
@media (max-width: 860px) {
  .ocean, .hero__visual { display: none !important; }
  .hero::after { display: none; } /* точечная сетка не нужна на мелком */
}

/* ============================================================
   ПРАВКИ ПО ОТЗЫВУ КЛИЕНТА (ревизия мобильной версии)
   ============================================================ */

/* ------------------------------------------------------------
   1. Плашки преимуществ → вертикальный стек (одна под другой)
   ------------------------------------------------------------ */
.features__dots { display: none !important; } /* индикаторы карусели больше не нужны */

@media (max-width: 760px) {
  .features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* плавное «выплывание» плашек при скролле (класс is-reveal вешает JS,
     поэтому без JS карточки сразу видны) */
  .features__grid.is-reveal .feature-card {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
  }
  .features__grid.is-reveal .feature-card.is-in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .features__grid.is-reveal .feature-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------
   2. Плавные (не резкие) переходы между секциями на мобиле
   ------------------------------------------------------------ */
@media (max-width: 860px) {
  /* hero (тёмный) → светлая страница: лёгкий, неяркий fade (без белого засвета) */
  .hero > .container::after {
    height: 70px !important;
    background: linear-gradient(180deg,
      rgba(243, 243, 243, 0) 0%,
      rgba(243, 243, 243, 0.28) 60%,
      rgba(243, 243, 243, 0.5) 100%) !important;
  }

  /* crane-block (фото) — лёгкие fade'ы сверху (вход из белого каталога)
     и снизу (выход в белые «Услуги»), оба еле заметные, за текстом */
  .crane-block::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 55px;
    background: linear-gradient(180deg,
      rgba(243, 243, 243, 0.55) 0%,
      rgba(243, 243, 243, 0) 100%);
    pointer-events: none;
    z-index: 1;
  }
  .crane-block::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 75%,
      rgba(255, 255, 255, 0.78) 100%);
    pointer-events: none;
    z-index: 1; /* за текстом — не перекрывает кнопку «О компании» */
  }

  /* белая секция «Услуги» → тёмно-синий geo-блок:
     лёгкий градиент-заход в синий снизу секции */
  section[data-screen-label="services"] {
    position: relative;
    overflow: hidden;
    padding-bottom: 96px; /* запас под градиент-переход в geo, чтобы не темнить карточку */
  }
  section[data-screen-label="services"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(180deg,
      rgba(11, 27, 48, 0) 0%,
      rgba(11, 27, 48, 0.10) 40%,
      rgba(11, 27, 48, 0.55) 78%,
      rgba(11, 27, 48, 0.98) 100%);
    pointer-events: none;
    z-index: 1;
  }
  /* старый белый засвет сверху geo-блока больше не нужен — переход делает
     нижний fade секции «Услуги» */
  .geo-block::after { display: none !important; }
}

/* ------------------------------------------------------------
   4. География: на мобиле вместо «карты-сетки» — чистая вертикальная
      лента маршрутов (города-остановки на линии). Десктоп — как был.
   ------------------------------------------------------------ */
.geo-line { display: none; } /* на десктопе скрыта, работает .geo-scene */

/* мобильный зигзаг-маршрут больше не используется (мобайл = лента),
   прячем его везде, иначе он рисуется поверх десктопного маршрута */
.geo-route__m { display: none !important; }

@media (max-width: 760px) {
  .geo-scene { display: none !important; } /* разбросанная карта на мобиле убрана */

  .geo-line {
    display: block;
    list-style: none;
    margin: 8px auto 0;
    padding: 4px 0;
    max-width: 360px;
    text-align: left;
  }
  .geo-line__stop {
    position: relative;
    padding: 0 0 28px 30px;
    min-height: 30px;
  }
  .geo-line__stop:last-child { padding-bottom: 4px; }
  /* вертикальная линия маршрута */
  .geo-line__stop::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    bottom: -4px;
    width: 2px;
    background: linear-gradient(180deg, rgba(224,162,63,0.55), rgba(224,162,63,0.15));
  }
  .geo-line__stop:last-child::before { display: none; }
  .geo-line__dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-secondary-dark);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 4px rgba(224,162,63,0.12);
  }
  /* база и порты — залитая точка */
  .geo-line__stop--hub .geo-line__dot,
  .geo-line__stop--port .geo-line__dot { background: var(--color-primary); }

  .geo-line__city {
    display: block;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    line-height: 1.15;
  }
  .geo-line__role {
    display: block;
    margin-top: 2px;
    font-family: var(--font-family-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
  }
  .geo-line__stop:not(.geo-line__stop--hub):not(.geo-line__stop--port) .geo-line__role {
    color: rgba(255,255,255,0.55);
  }

  /* geo-статы: «Москва» / «авто + ж/д» — мельче, чтобы текст влезал в колонку */
  .geo-stat strong { font-size: clamp(20px, 5.4vw, 28px); }
  .geo-stat span { font-size: 11px; }
}

/* ------------------------------------------------------------
   5. Каталог: компактная кнопка «Подробнее» в одной строке с ценой
   ------------------------------------------------------------ */
.product-card__body { position: relative; }
.product-card .price-row { margin-top: auto; padding-right: 138px; }
.product-card__actions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin: 0;
  padding: 0;
}
.product-card__actions .btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 9px 16px;
  font-size: 13px;
  gap: 6px;
  white-space: nowrap;
}
.product-card__actions .btn svg { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .product-card .price-row { padding-right: 108px; }
  .product-card__actions { right: 14px; bottom: 14px; }
  .product-card__actions .btn {
    padding: 8px 13px;
    font-size: 12.5px;
    gap: 5px;
  }
  .product-card__actions .btn svg { width: 14px; height: 14px; }
}
