:root {
  --bg: #0b1726;
  --bg-soft: #0f1f33;
  --glass-light: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.32);
  --primary: #2bb7ff;
  --primary-soft: rgba(43, 183, 255, 0.22);
  --accent: #ff7aa2;
  --text-main: #e9f3ff;
  --text-muted: #a9b9d6;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-soft: 0 22px 60px rgba(1, 9, 26, 0.85);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(43, 183, 255, 0.25) 0, transparent 40%),
    radial-gradient(circle at bottom right, rgba(79, 209, 197, 0.25) 0, transparent 45%),
    #050814;
  color: var(--text-main);
  line-height: 1.6;
  cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='%23FFFFFF' points='2,2 22,12 2,8 8,12 2,22'/%3E%3C/svg%3E") 4 4, auto;
  position: relative;
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

/* HEADER-BLOCK с подложкой и вертикальной линией */
header {
  margin-bottom: 24px;
}
.header-shell {
  display: flex;
  gap: 18px;
  align-items: stretch;
  padding: 16px 20px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 22px 60px rgba(2, 12, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(24px);
}
.header-accent {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), #7c5cff);
  box-shadow:
    0 0 18px rgba(43, 183, 255, 1),
    0 0 36px rgba(43, 183, 255, 0.6);
  filter: drop-shadow(0 6px 14px rgba(43,183,255,0.35));
}
.header-main {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand {
  font-weight: 700;
  font-size: 20px;
}
.tagline {
  font-size: 13px;
  color: var(--text-muted);
}
.author-line {
  font-size: 12px;
  color: var(--text-muted);
}
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

/* Кнопки с мягким стеклом и 3D */
.btn-primary,
.btn-ghost,
.btn-footer,
.btn-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0.05) 45%, transparent 75%),
    linear-gradient(135deg, rgba(13, 30, 55, 0.96), rgba(10, 24, 46, 0.96));
  color: #e5f1ff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(22px);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}
.btn-ghost {
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35) 0, transparent 45%),
    linear-gradient(135deg, rgba(7, 18, 38, 0.96), rgba(6, 16, 32, 0.96));
  font-weight: 500;
}

.btn-footer {
  width: 100%;
  justify-content: flex-start;
  font-weight: 500;
  padding: 8px 15px;
  font-size: 13px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.38) 0, transparent 45%),
    linear-gradient(145deg, rgba(7, 19, 40, 0.96), rgba(6, 14, 30, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.8);
}

.btn-primary::before,
.btn-ghost::before,
.btn-footer::before,
.btn-top::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -140%;
  width: 280%;
  height: 280%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 46%,
    rgba(255, 255, 255, 0.8) 52%,
    rgba(255, 255, 255, 0.3) 58%,
    transparent 100%
  );
  opacity: 0;
  transform: translate3d(-30%, 30%, 0) rotate(10deg);
  transition:
    opacity 0.5s ease,
    transform 0.7s ease;
  pointer-events: none;
}
.btn-primary:hover::before,
.btn-ghost:hover::before,
.btn-footer:hover::before,
.btn-top:hover::before {
  opacity: 1;
  transform: translate3d(25%, -25%, 0) rotate(10deg);
}
.btn-primary:hover,
.btn-ghost:hover,
.btn-footer:hover,
.btn-top:hover {
  transform: translate3d(0, -2px, 6px) scale(1.01);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.95),
    0 0 16px rgba(43, 183, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0, #2bb7ff 55%, #0b1220 100%);
  box-shadow: 0 0 8px rgba(43, 183, 255, 0.9);
}

/* Плавающая стрелка вверх */
.btn-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  z-index: 999;
  font-size: 20px;
  line-height: 1;
}

.btn-top svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: var(--primary);
  stroke-width: 6;
  color: var(--primary);
  filter: drop-shadow(0 6px 14px rgba(43,183,255,0.35));
}

/* HERO с параллаксом через ::before */
.hero {
  border-radius: var(--radius-lg);
  padding: 26px 24px 40px;
  background: linear-gradient(135deg, rgba(4, 13, 31, 0.92), rgba(6, 20, 43, 0.95));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Фон геро-блока */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    url("pexels-photo-457882.jpg")
      center/cover no-repeat;
  transform: translateZ(0);
  z-index: 0;
  opacity: 0.85;
  filter: brightness(0.55);
}

.hero::after {
  border-radius: inherit;
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 60%),
    radial-gradient(circle at bottom left, rgba(43, 183, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.hero:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: center;
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 30px;
  margin: 0 0 12px;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 16px;
  max-width: 700px;
  margin: 0 0 14px;
  opacity: 0.96;
}
.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
  font-size: 13px;
}
.hero-pill {
  padding: 6px 11px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.25), transparent 35%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(8, 12, 22, 0.52));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f9fafb;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
}
.hero-note {
  font-size: 14px;
  opacity: 0.95;
  width: 100%;
  max-width: none;
  padding: 10px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.32) 0, transparent 55%);
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  font-weight: 500;
}

/* Визуал справа: путь самолёта */
.hero-right {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.flight-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 240px;
  border-radius: 24px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(145deg, rgba(5, 18, 40, 0.98), rgba(3, 12, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.9),
    0 0 26px rgba(43, 183, 255, 0.35);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-20deg) translate3d(0, 0, 0);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
.hero:hover .flight-card {
  transform: rotateX(10deg) rotateY(-12deg) translate3d(0, -4px, 16px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 1),
    0 0 38px rgba(43, 183, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.9);
}
.flight-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.flight-title {
  font-size: 15px;
  margin-bottom: 4px;
}
.flight-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.flight-map {
  position: relative;
  flex: 1;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.35), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(129, 140, 248, 0.35), transparent 55%),
              rgba(6, 14, 32, 1);
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.flight-path {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flight-map:hover .walker {
  animation: none !important;
}

.flight-path svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.flight-path path {
  stroke: rgba(226, 232, 240, 0.95);
  stroke-width: 1.7;
  stroke-dasharray: 6 4;
  fill: none;
}
.walker {
  position: absolute;
  left: 12px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  z-index: 1;
  pointer-events: none;
  animation: walker-move 4.2s ease-in-out infinite;
  transform: translate(0, 0);
}
.walker svg {
  width: 100%;
  height: auto;
  display: block;
}
.walker .leg-left,
.walker .leg-right {
  transform-origin: 24px 27px;
  animation: walk-step 1.2s ease-in-out infinite;
}
.walker .leg-right {
  animation-delay: 0.6s;
}
.walker .arm-left,
.walker .arm-right {
  transform-origin: 24px 18px;
  animation: walk-arm 1.2s ease-in-out infinite;
}
.walker .arm-right {
  animation-delay: 0.6s;
}
@keyframes walk-step {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(18deg); }
}
@keyframes walk-arm {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-12deg); }
}
@keyframes walker-move {
  0% { transform: translate(0, 0); }
  20% { transform: translate(32px, -15px); }
  35% { transform: translate(60px, -28px); }
  55% { transform: translate(98px, -48px); }
  75% { transform: translate(132px, -62px); }
  90% { transform: translate(168px, -72px); }
  100% { transform: translate(0, 0); }
}
.flight-plane {
  position: absolute;
  width: 26px;
  height: 26px;
  transform-origin: center;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.9));
  animation: none;
}
.hero:hover .flight-plane {
  animation: plane-path 3.2s ease-in-out infinite;
}

@keyframes plane-path {
  0%   { transform: translate(10%, 70%) rotate(-10deg); }
  25%  { transform: translate(36%, 52%) rotate(-2deg); }
  50%  { transform: translate(64%, 34%) rotate(8deg); }
  75%  { transform: translate(82%, 20%) rotate(18deg); }
  100% { transform: translate(10%, 70%) rotate(-10deg); }
}

/* Общие секции в стекле */
.section {
  margin-bottom: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(145deg, rgba(7, 18, 38, 0.95), rgba(6, 14, 30, 0.98));
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.section:hover {
  transform: translate3d(0, -3px, 10px);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 1),
    0 0 32px rgba(43, 183, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.86);
}
.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 22px;
  margin: 0;
  color: #e5f1ff;
}
.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.section-subtitle {
  font-size: 14px;
  margin: 0 0 14px;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(145deg, rgba(6, 17, 36, 0.98), rgba(5, 14, 30, 0.98));
  padding: 16px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover {
  transform: translate3d(0, -3px, 10px);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 1),
    0 0 22px rgba(43, 183, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.9);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--primary);
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
}

.list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}
.list li { margin-bottom: 4px; }

.mechanic {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at top right, rgba(43, 183, 255, 0.32), transparent 60%),
    linear-gradient(145deg, rgba(6, 17, 36, 0.98), rgba(4, 11, 25, 0.98));
  padding: 16px 14px;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 1),
    0 0 26px rgba(43, 183, 255, 0.4);
  backdrop-filter: blur(20px);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.mechanic:hover {
  transform: perspective(1000px) rotateX(6deg) rotateY(-6deg) translate3d(0, -4px, 16px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 1),
    0 0 34px rgba(43, 183, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}
.mechanic-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.mechanic-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.mechanic-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.mechanic-body {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
}
.mechanic-footer {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.plan-row:first-of-type { border-top: none; }
.plan-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.plan-text { font-size: 14px; }

.footer-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Акцентный абзац с ролью и самолётом */
.role-highlight {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
  color: #ffffff;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.35) 0, transparent 55%);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}
.role-plane {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  transform: rotate(-35deg); /* смотрит вправо-вверх */
  filter: drop-shadow(0 4px 8px rgba(15,23,42,0.9));
}

/* Footer contacts */
.footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.footer-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .header-shell {
    padding: 12px 14px;
  }
  .header-main {
    flex-direction: column;
    gap: 10px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    order: -1;
    margin-bottom: 10px;
  }
  .hero { padding: 18px 16px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .btn-top {
    left: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}
.hero-note-wellnes {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #e5f2ff;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85);
}

.hero-note-wellnes::before {
  content: none;
}
.hero-note-strong {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: #f9fafb;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.25), transparent 35%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(8, 12, 22, 0.52));
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-wrap: balance;
}
