:root {
  --blue: #005aa3;
  --blue-dark: #003f73;
  --red: #f51b23;
  --red-dark: #c9141b;
  --yellow: #ffc400;
  --white: #ffffff;
  --light: #f4f7fb;
  --dark: #152033;
  --gray: #657086;
  --border: #dfe6ef;
  --shadow: 0 18px 45px rgba(21, 32, 51, 0.12);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
}

.top-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}

.top-bar__links {
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  font-weight: 700;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar__content {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 240px;
  height: auto;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.menu a {
  color: var(--blue-dark);
}

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

.menu-toggle,
.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.8rem;
  color: var(--white) !important;
}

.button--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.button--outline:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.button--dark {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 196, 0, 0.85), transparent 22%),
    radial-gradient(circle at 85% 68%, rgba(245, 27, 35, 0.85), transparent 27%),
    linear-gradient(120deg, rgba(0, 90, 163, 0.96), rgba(0, 63, 115, 0.88)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 63, 115, 0.92), rgba(0, 90, 163, 0.55), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 16px);
}

.hero__content {
  position: relative;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - var(--max-width)) / 2));
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 640px;
  font-size: 1.15rem;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.eyebrow--yellow {
  color: var(--yellow);
}

.section {
  padding: 90px 0;
}

.section--light {
  background: var(--light);
}

.section--blue {
  background:
    linear-gradient(135deg, rgba(0, 90, 163, 0.96), rgba(0, 63, 115, 0.98)),
    radial-gradient(circle at 95% 25%, rgba(255, 196, 0, 0.5), transparent 18%);
  color: var(--white);
}

.section--red {
  background:
    linear-gradient(135deg, rgba(245, 27, 35, 0.96), rgba(201, 20, 27, 0.98));
  color: var(--white);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

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

.section-heading--white p,
.section-heading--white h2 {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}

.split--center {
  align-items: center;
}

.cards {
  display: grid;
  gap: 24px;
}

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

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(21, 32, 51, 0.06);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 90, 163, 0.24);
}

.card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(245, 27, 35, 0.1);
  font-size: 1.75rem;
}

.card h3,
.service-card h3,
.resource-box h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.card p,
.service-card p,
.resource-box p {
  margin: 0;
  color: var(--gray);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.28;
}

.service-card span {
  display: block;
  margin-bottom: 40px;
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 900;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.experience-grid article {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 6px solid var(--red);
  box-shadow: 0 6px 20px rgba(21, 32, 51, 0.06);
}

.experience-grid strong {
  display: block;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.experience-grid span {
  color: var(--gray);
}

.resource-box {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.contact-list {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--light);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--dark);
}

.contact-form--shadow {
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 90, 163, 0.1);
}

.footer {
  background: #091a2f;
  color: var(--white);
  padding-top: 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 38px;
  padding-bottom: 46px;
}

.footer__logo {
  width: 220px;
  background: var(--white);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--yellow);
  text-transform: uppercase;
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.78);
  margin-bottom: 9px;
}

.footer a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 960px) {
  .brand img {
    width: 200px;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 30px;
    height: 3px;
    background: var(--blue-dark);
    border-radius: 999px;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .menu-toggle:checked ~ .menu {
    display: flex;
  }

  .split,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cards--three,
  .service-grid,
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 580px;
  }
}

@media (max-width: 640px) {
  .top-bar__content {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 8px 0;
  }

  .top-bar__links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar__content {
    min-height: 76px;
  }

  .brand img {
    width: 170px;
  }

  .menu {
    top: 76px;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .section {
    padding: 64px 0;
  }

  .cards--three,
  .service-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
