:root {
  --bg: #f3f5f8;
  --ink: #1b2531;
  --muted: #5e6b7b;
  --brand: #bd1e24;
  --brand-dark: #99171c;
  --navy: #1f3554;
  --line: #e1e6ee;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  display: none;
}

.section-wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 74px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--brand);
  background: transparent;
  backdrop-filter: none;
  color: #fff;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(20, 31, 46, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #677588;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--brand);
}

.site-nav a:hover {
  color: var(--brand);
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--brand);
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  padding: 2px;
}

.site-header.is-scrolled .lang-switch {
  border-color: #d7dfe9;
  background: #f8fafc;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 99px;
  padding: 6px 10px;
  cursor: pointer;
}

.site-header.is-scrolled .lang-btn {
  color: #2b3544;
}

.lang-btn.active {
  background: linear-gradient(135deg, #d9383f, #a1181e);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle span {
  background: #2b3544;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03) brightness(0.9);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  background-size: cover;
  background-position: center;
}

.hero-bg-slide[data-bg-slide="0"] {
  background-image:
    radial-gradient(circle at 70% 30%, rgba(227, 72, 70, 0.18), transparent 42%),
    linear-gradient(120deg, rgba(22, 41, 67, 0.34), rgba(20, 32, 55, 0.3));
}

.hero-bg-slide[data-bg-slide="1"] {
  background-image:
    radial-gradient(circle at 35% 70%, rgba(209, 56, 63, 0.16), transparent 40%),
    linear-gradient(120deg, rgba(31, 53, 84, 0.32), rgba(18, 31, 52, 0.3));
}

.hero-bg-slide[data-bg-slide="2"] {
  background-image:
    radial-gradient(circle at 80% 55%, rgba(255, 193, 80, 0.15), transparent 46%),
    linear-gradient(120deg, rgba(27, 45, 71, 0.3), rgba(16, 26, 44, 0.28));
}

.hero-bg-slide.active {
  opacity: 0.28;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(8, 13, 23, 0.03), rgba(8, 13, 23, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 146px;
  padding-left: 5vw;
}

.slide {
  display: none;
  width: min(75vw, 1240px);
  max-width: min(75vw, 1240px);
}

.slide.active {
  display: block;
  animation: rise 360ms ease;
}

.hero-kicker {
  display: none;
}

.slide h1 {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  display: none;
}

.hero-controls {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vw;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0;
}

.hero-arrow {
  width: 42px;
  height: 120px;
  border-radius: 3px;
  border: 0;
  background: rgba(19, 29, 42, 0.78);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.hero-dots {
  display: none;
}

.dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.dot.active {
  background: linear-gradient(130deg, #f0474d, #ffcb69);
}

.hero-shortcuts {
  display: none;
}

.hero-shortcuts a {
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.company,
.news,
.business,
.talent {
  margin-top: 44px;
}

.company {
  margin-top: 10px;
}

.company {
  position: relative;
  background: transparent;
  border: 0;
  padding: 56px 20px 52px;
  overflow: hidden;
}

.company::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/about-bg.png") center -14px/92% no-repeat;
  opacity: 0.56;
  pointer-events: none;
}

.news-side h3,
.section-title h3,
.talent h3 {
  font-size: 1.16rem;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.company-head {
  position: relative;
  z-index: 1;
  text-align: center;
}

.big-title {
  padding: 10px 0;
  position: relative;
  font-size: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #111111;
  cursor: url(../assets/favicon-16x16.png), auto;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(24px);
  animation: aboutRise 700ms ease forwards;
}

.big-title span {
  font-size: inherit;
  font-weight: 700;
}

.big-title span:last-child {
  font-size: 18px;
  font-weight: 400;
  margin-top: 2px;
}

.company-underline {
  display: inline-block;
  width: 82px;
  height: 3px;
  background: var(--brand);
  margin-top: 10px;
}

.company-content {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 28px auto 0;
  display: grid;
  gap: 22px;
  color: #242f3c;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 500;
}

.company-content p {
  opacity: 0;
  transform: translateY(30px);
  animation: aboutRise 760ms ease forwards;
}

.company-content p:nth-child(1) {
  animation-delay: 100ms;
}

.company-content p:nth-child(2) {
  animation-delay: 200ms;
}

.company-content p:nth-child(3) {
  animation-delay: 300ms;
}

.news {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.news-side {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}

.news-links {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.news-links a {
  font-size: 0.86rem;
  color: var(--brand);
  font-weight: 700;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.news-list article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.news-list h4,
.biz-card h4 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.meta {
  font-size: 0.78rem;
  color: var(--brand);
  margin-bottom: 10px;
}

.news-list p {
  color: var(--muted);
  font-size: 0.9rem;
}

.business {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
}

.business-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.biz-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: 18px;
}

.biz-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.1;
}

.talent {
  background: linear-gradient(130deg, #203a5d, #1a2d47);
  color: #fff;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.talent p {
  margin-top: 8px;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.86);
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-solid {
  color: #fff;
  background: linear-gradient(140deg, #d2353c, #a2171d);
}

.site-footer {
  margin-top: 44px;
  background: #1a2b43;
  border-top: 3px solid var(--brand);
  color: #fff;
  padding: 30px 5vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer h2 {
  font-family: "Roboto", sans-serif;
  margin-bottom: 8px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffd475;
  font-weight: 600;
  font-size: 0.84rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutRise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 12px;
    top: 66px;
    width: min(280px, 78vw);
    background: rgba(18, 31, 52, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-shortcuts {
    grid-template-columns: 1fr;
    left: auto;
    right: 4vw;
    bottom: 20px;
    transform: none;
    width: min(280px, 86vw);
  }

  .hero-content {
    padding-top: 108px;
    padding-left: 7vw;
  }

  .slide h1 {
    font-size: clamp(1.3rem, 5.2vw, 1.8rem);
  }

  .slide {
    width: min(78vw, 860px);
    max-width: min(78vw, 860px);
  }

  .hero-arrow {
    width: 36px;
    height: 96px;
    font-size: 32px;
  }

  .company {
    padding: 40px 12px;
  }

  .company::before {
    background-size: 122%;
    background-position: center 28px;
    opacity: 0.5;
  }

  .big-title {
    font-size: 24px;
  }

  .big-title span:last-child {
    font-size: 15px;
  }

  .news {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .talent {
    flex-direction: column;
    align-items: flex-start;
  }
}
