* {
  box-sizing: border-box;
}

:root {
  --text: #0f172a;
  --muted: #54627f;
  --brand: #1f3f97;
  --brand-dark: #142c75;
  --brand-soft: rgba(31, 63, 151, 0.08);
  --accent: #67d3ff;
  --card: #ffffff;
  --line: rgba(31, 63, 151, 0.08);
  --hero-bg:
    linear-gradient(135deg, rgba(24, 63, 151, 0.76) 0%, rgba(18, 38, 104, 0.92) 58%, rgba(10, 16, 44, 1) 100%),
    url("https://zveznebo.ru/images/hero.jpg") center/cover;
  --shadow: 0 24px 80px rgba(5, 12, 37, 0.25);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(66, 148, 232, 0.22), transparent 18%),
    linear-gradient(180deg, #eef5ff 0%, #ffffff 42%, #f4f8ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: #fff;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 12%, transparent 12%, transparent 35%, rgba(255, 255, 255, 0.04) 35%, rgba(255, 255, 255, 0.04) 45%, transparent 45%);
  pointer-events: none;
}

.topbar,
.hero-content,
.section {
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 24px 0 12px;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.brand-title {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.74);
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.chip,
.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.chip {
  padding: 10px 18px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.button {
  padding: 14px 22px;
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 18px 35px rgba(8, 18, 45, 0.18);
}

.button:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button-ghost {
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-content {
  padding: 44px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.lead {
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-points span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #fff);
  box-shadow: 0 0 0 6px rgba(103, 211, 255, 0.12);
}

.hero-card {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
}

.hero-card h2,
.section h2,
.panel h3,
.panel-soft h3 {
  margin: 0;
}

.hero-card p,
.section-copy,
.panel-soft p,
.faq-item p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-card ul,
.related-links,
.facts-list,
.faq-list {
  list-style: none;
  padding: 0;
}

.hero-card ul {
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-card li strong {
  color: var(--brand);
  white-space: nowrap;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
}

.section-copy {
  margin: 16px 0 0;
  font-size: 1.04rem;
}

.cards-3,
.cards-2,
.related-grid {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2,
.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.faq-item,
.panel-soft {
  border-radius: 28px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 46px rgba(31, 63, 151, 0.08);
}

.card h3,
.faq-item h3,
.panel-soft h3 {
  margin: 0;
  font-size: 1.45rem;
}

.card p,
.faq-item p {
  margin: 12px 0 0;
}

.facts-list {
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(31, 63, 151, 0.04);
  border: 1px solid rgba(31, 63, 151, 0.06);
}

.facts-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.notice-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  grid-template-columns: 1.08fr 0.92fr;
}

.panel {
  border-radius: 30px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(24, 63, 151, 0.9) 0%, rgba(18, 38, 104, 0.94) 58%, rgba(10, 16, 44, 1) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.panel p,
.panel li {
  color: rgba(255, 255, 255, 0.83);
  line-height: 1.85;
}

.panel ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.panel li {
  display: flex;
  gap: 12px;
}

.panel li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1.2;
}

.stats {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(31, 63, 151, 0.04);
}

.stat span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item p {
  margin-bottom: 0;
}

.related-links {
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.related-links a {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(31, 63, 151, 0.04);
  border: 1px solid rgba(31, 63, 151, 0.06);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.related-links a:hover {
  background: rgba(31, 63, 151, 0.08);
  color: var(--brand-dark);
  border-color: rgba(31, 63, 151, 0.16);
}

.cta-strip {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.photo-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(18, 37, 96, 0.1);
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card--tall img {
  aspect-ratio: 4 / 5;
}

.photo-caption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.photo-caption strong {
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.photo-caption span {
  color: var(--muted);
  line-height: 1.7;
}

.footer-note {
  padding: 24px 0 48px;
  color: var(--muted);
}

.footer-note a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid,
  .cards-3,
  .cards-2,
  .notice-grid,
  .related-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card,
  .panel,
  .panel-soft,
  .card,
  .faq-item {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-card li,
  .stat {
    flex-direction: column;
  }

  .button,
  .button-ghost,
  .chip {
    width: 100%;
  }
}
