:root {
  --background: #f4f7fb;
  --foreground: #111827;
  --ink: #071d49;
  --muted: #5f6f86;
  --line: #d8e2f0;
  --paper: #ffffff;
  --red: #ff1010;
  --blue: #083f99;
  --blue-dark: #05265f;
  --steel: #243b61;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.navbar {
  align-items: center;
  animation: slideDown 700ms ease both;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 63, 153, 0.14);
  box-shadow: 0 12px 36px rgba(7, 29, 73, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(18px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

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

.brand-logo {
  background: white;
  border: 1px solid rgba(8, 63, 153, 0.12);
  height: 62px;
  object-fit: contain;
  padding: 5px;
  width: 78px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  color: var(--blue);
  font-size: 15px;
}

.brand small {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.6vw, 32px);
  justify-content: flex-end;
}

.nav-links a {
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--red);
}

.hero {
  align-items: end;
  display: grid;
  min-height: 92vh;
  padding: 132px clamp(18px, 5vw, 72px) 72px;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  animation: heroZoom 9s ease-out both;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 38, 95, 0.9) 0%, rgba(7, 29, 73, 0.68) 48%, rgba(200, 8, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 29, 73, 0.84) 0%, rgba(7, 29, 73, 0) 46%);
}

.hero-content {
  animation: fadeUp 900ms ease 180ms both;
  color: white;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-style: italic;
}

h1 {
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.96;
  margin-bottom: 18px;
  max-width: 940px;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.02;
  margin-bottom: 22px;
}

h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.slogan {
  color: white;
  font-size: clamp(20px, 3vw, 31px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.secondary-btn {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.primary-btn {
  background: var(--red);
  color: white;
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px);
}

.stats-strip {
  background: var(--blue-dark);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.stats-strip div {
  animation: fadeUp 700ms ease both;
  background: rgba(255, 255, 255, 0.05);
  border-top: 4px solid var(--red);
  padding: 30px clamp(18px, 5vw, 72px);
}

.stats-strip div:nth-child(2) {
  animation-delay: 120ms;
}

.stats-strip div:nth-child(3) {
  animation-delay: 240ms;
}

.stats-strip strong {
  color: white;
  display: block;
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1;
}

.stats-strip span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 15px;
  margin-top: 8px;
  text-transform: uppercase;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
}

.section-copy p,
.vacancies-section p,
.contact-section p,
.feature-band p,
.service-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.image-panel {
  border: 12px solid var(--paper);
  box-shadow: 0 28px 70px rgba(7, 29, 73, 0.18);
  overflow: hidden;
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
}

.image-panel img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 600ms ease;
  width: 100%;
}

.image-panel:hover {
  box-shadow: 0 34px 84px rgba(7, 29, 73, 0.24);
  transform: translateY(-6px);
}

.image-panel:hover img {
  transform: scale(1.04);
}

.services-section {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  overflow: hidden;
  transition:
    border-color 240ms ease,
    box-shadow 280ms ease,
    transform 280ms ease;
}

.service-card img {
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  transition: transform 600ms ease;
  width: 100%;
}

.service-card:hover {
  border-color: rgba(255, 16, 16, 0.42);
  box-shadow: 0 24px 60px rgba(7, 29, 73, 0.14);
  transform: translateY(-8px);
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card-copy {
  padding: 28px;
}

.service-number {
  color: var(--red);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}

.feature-band {
  align-items: stretch;
  background: var(--blue);
  color: white;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-band img {
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  width: 100%;
}

.feature-band div {
  align-self: center;
  padding: clamp(44px, 7vw, 88px);
}

.feature-band h2 {
  color: white;
}

.feature-band p {
  color: rgba(255, 255, 255, 0.78);
}

.vacancies-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
}

.compact-panel img {
  aspect-ratio: 1.28 / 1;
}

.contact-section {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  grid-template-columns: 1fr minmax(230px, 340px) minmax(280px, 390px);
}

.contact-visual {
  border: 8px solid #eef4ff;
  box-shadow: 0 20px 50px rgba(7, 29, 73, 0.14);
  overflow: hidden;
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
}

.contact-visual img {
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  transition: transform 600ms ease;
  width: 100%;
}

.contact-visual:hover {
  box-shadow: 0 26px 66px rgba(7, 29, 73, 0.2);
  transform: translateY(-5px);
}

.contact-visual:hover img {
  transform: scale(1.04);
}

.contact-card {
  background: var(--blue-dark);
  color: white;
  display: grid;
  font-style: normal;
  gap: 16px;
  padding: 34px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.contact-card a {
  color: white;
  font-size: 22px;
  font-weight: 900;
}

.footer {
  align-items: center;
  background: var(--blue-dark);
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.footer span {
  color: rgba(255, 255, 255, 0.78);
}

[data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 800ms ease,
    transform 800ms ease;
}

[data-animate="fade-right"] {
  transform: translateX(-42px);
}

[data-animate="fade-left"] {
  transform: translateX(42px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.services-section.is-visible .service-card,
.vacancies-section.is-visible .image-panel,
.contact-section.is-visible .contact-visual,
.contact-section.is-visible .contact-card {
  animation: sectionPop 850ms ease both;
}

.service-card:nth-child(2) {
  animation-delay: 120ms;
  transition-delay: 120ms;
}

.service-card:nth-child(3) {
  animation-delay: 240ms;
  transition-delay: 240ms;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes sectionPop {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 88vh;
    padding-top: 178px;
  }

  .about-section,
  .feature-band,
  .vacancies-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 13px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
  }

  .nav-links {
    gap: 10px 16px;
  }

  .nav-links a {
    font-size: 12px;
  }
}

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