:root {
  --accent: #ffffff;
  --bg-primary: #b70200;
  --bg-secondary: #890100;
  --text-soft: rgba(255, 255, 255, 0.88);
  --line: rgba(255, 255, 255, 0.26);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--accent);
  background: radial-gradient(circle at 20% 10%, #c0120f 0%, transparent 42%),
    radial-gradient(circle at 80% 90%, #a40603 0%, transparent 35%),
    linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  min-height: 100vh;
}

.page-shell {
  width: min(1120px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: linear-gradient(
    180deg,
    rgba(137, 1, 0, 0.88),
    rgba(137, 1, 0, 0.58) 78%,
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2.6rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: var(--accent);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 0.55rem 0.86rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--accent);
  border-color: var(--line);
  background: var(--surface);
  outline: none;
}

.hero {
  padding: 6rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(280px, 1.3fr) minmax(270px, 1fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.eyebrow::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: var(--line);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  font-size: clamp(2rem, 5.7vw, 3.5rem);
  letter-spacing: -0.03em;
}

.lead {
  margin: 1.2rem 0 1.5rem;
  color: var(--text-soft);
  max-width: 60ch;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--surface);
  outline: none;
}

.btn--strong {
  background: rgba(255, 255, 255, 0.15);
}

.hero-emblem {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, var(--surface-strong), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero-emblem svg {
  width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 2rem 0 3.5rem;
}

.section-title {
  margin-bottom: 1.15rem;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.section-text {
  color: var(--text-soft);
  max-width: 72ch;
  line-height: 1.62;
}

.screens {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: clamp(300px, 36vw, 430px);
  object-fit: cover;
  display: block;
}

.shot p {
  margin: 0;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.mode-strip {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.mode {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem;
}

.mode h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.mode p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.ticker {
  margin: 3.4rem 0 0.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  padding: 0.75rem 0;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  animation: drift 18s linear infinite;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.timeline-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem;
}

.timeline-card strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.timeline-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.cta-block {
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cta-block p {
  margin: 0;
  color: var(--text-soft);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 1.25rem;
}

.panel + .panel {
  margin-top: 1rem;
}

.panel h2 {
  font-size: clamp(1.3rem, 3.7vw, 1.8rem);
  margin-bottom: 0.7rem;
}

.panel p {
  color: var(--text-soft);
  line-height: 1.63;
}

.muted-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.contacts-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.4rem;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: var(--surface);
}

.contact-item h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--accent);
  text-decoration: none;
}

.feedback-form {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.feedback-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
  color: var(--accent);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 115px;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3.1rem;
  padding: 1.1rem 0 2.3rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-row p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-row nav {
  display: flex;
  gap: 0.75rem;
}

.footer-row a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .hero {
    padding-top: 4.9rem;
  }

  .hero-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .page-shell {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .nav {
    gap: 0.1rem;
  }

  .nav a {
    font-size: 0.82rem;
    padding: 0.48rem 0.62rem;
  }

  .screens,
  .mode-strip,
  .timeline {
    grid-template-columns: 1fr;
  }

  .ticker-track {
    animation-duration: 24s;
  }
}
