/* =========================================================
   Variables / Base
   ========================================================= */
:root {
  --navy: #062a68;
  --navy-2: #07377e;
  --blue: #0d4ca7;
  --red: #ef1118;
  --text: #09275f;
  --container: 1180px;
  --shadow: 0 7px 18px rgba(7, 38, 88, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #eef3fa;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button, input { font: inherit; }
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  height: 108px;
  position: relative;
  z-index: 20;
  color: #fff;
  background: linear-gradient(115deg, #06235b 0%, #083d92 72%, #0a54ba 100%);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand-logo { width: 58px; height: 78px; object-fit: contain; }
.brand-title,
.brand-subtitle {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.08;
  font-weight: 700;
}
.brand-note {
  margin-top: 10px;
  font-size: clamp(10px, 0.78vw, 12px);
}
.header-right { display: flex; align-items: center; gap: 30px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a,
.footer-nav a,
.mobile-nav a {
  color: #fff;
  font-size: clamp(14px, 0.98vw, 16px);
  font-weight: 600;
}
.burger,
.mobile-menu { display: none; }
.mobile-menu { background: #062a68; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn-red {
  background: linear-gradient(#ff2026, #d90008);
  box-shadow: 0 5px 13px rgba(183, 0, 0, 0.24);
}
.header-btn {
  height: 40px;
  padding: 0 18px;
  font-size: clamp(14px, 0.98vw, 16px);
}
.btn-large {
  width: 230px;
  height: 47px;
  font-size: clamp(16px, 1.2vw, 19px);
}
.btn-submit {
  height: 43px;
  font-size: clamp(14px, 1vw, 16px);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  height: 355px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3, 34, 88, 0.72) 0%, rgba(3, 42, 102, 0.34) 39%, rgba(3, 42, 102, 0) 64%),
    url("img/hero.png");
  background-size: cover, cover;
  background-position: center top, center top;
  background-repeat: no-repeat;
}
.hero-inner {
  height: 100%;
  position: relative;
  z-index: 3;
}
.hero-content {
  position: relative;
  z-index: 4;
  padding-top: 44px;
  color: #fff;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 3.35vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
}
.hero p {
  max-width: 610px;
  margin: 0 0 20px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(205, 225, 249, 0.18) 82%, rgba(205, 225, 249, 0.58) 93%, rgba(205, 225, 249, 0.96) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(222, 236, 252, 0), rgba(222, 236, 252, 0.32) 48%, rgba(222, 236, 252, 0.88) 100%);
}

/* =========================================================
   Main background / Benefits
   ========================================================= */
.content-section {
  position: relative;
  background: url("img/1.png") center top / cover no-repeat;
}
.content-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(222, 236, 252, 0.92) 0%, rgba(222, 236, 252, 0.58) 35%, rgba(222, 236, 252, 0.12) 78%, rgba(222, 236, 252, 0) 100%);
}
.content-section > .container { position: relative; z-index: 1; }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: translateY(-2px);
}
.benefit-card {
  height: 98px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 38px 14px 18px;
  border: 1px solid rgba(66, 105, 175, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.benefit-icon img { width: 52px; height: 52px; object-fit: contain; }
.benefit-card:first-child .benefit-icon {
  background: linear-gradient(#3976dd, #1649b2);
  clip-path: polygon(50% 0, 91% 17%, 91% 73%, 50% 100%, 9% 73%, 9% 17%);
}
.benefit-card:nth-child(2) .benefit-icon,
.benefit-card:nth-child(3) .benefit-icon {
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2f78ed 0%, #1550bf 100%);
}
.benefit-card:nth-child(2) .benefit-icon img,
.benefit-card:nth-child(3) .benefit-icon img { width: 100%; height: 100%; object-fit: contain; }
.benefit-text h3 {
  margin: 0 0 7px;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.05;
}
.benefit-text p {
  margin: 0;
  color: #142c5d;
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.25;
}
.benefit-card::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0a54c7;
  font-size: 31px;
}

/* =========================================================
   Requirements / Form
   ========================================================= */
.main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  padding: 22px 0;
}
.panel {
  padding: 22px 24px;
  border: 1px solid rgba(70, 105, 170, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}
.panel h2 { margin: 0 0 18px; font-size: clamp(23px, 1.65vw, 27px); }
.requirements-list { margin: 0; padding: 0; list-style: none; }
.requirements-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 27px;
  color: #102c61;
  font-size: clamp(14px, 1vw, 16px);
}
.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0754ca;
  font-weight: 800;
}
.apply-form { display: flex; flex-direction: column; gap: 9px; }
.apply-form input {
  height: 38px;
  padding: 0 12px;
  border: 1px solid #aebfe0;
  border-radius: 4px;
  outline: none;
  font-size: clamp(14px, 1vw, 16px);
}
.apply-form input:focus {
  border-color: #3774d4;
  box-shadow: 0 0 0 3px rgba(55, 116, 212, 0.12);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 15px 0 12px;
  color: #fff;
  background: linear-gradient(110deg, #08327a, #05275f);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.55fr 1fr 0.75fr 0.65fr;
  gap: 18px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-logo { width: 58px; height: 68px; }
.footer-title,
.footer-subtitle {
  font-size: clamp(15px, 1.08vw, 18px);
  font-weight: 700;
  line-height: 1.2;
}
.footer-contact { font-size: clamp(13px, 0.92vw, 15px); line-height: 1.5; }
.footer-bottom {
  margin-top: 10px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.footer-nav { display: flex; gap: 28px; }
.footer-copy { font-size: clamp(11px, 0.82vw, 13px); text-align: right; }

/* =========================================================
   Tablet / Navigation (<= 900px)
   ========================================================= */
@media (max-width: 900px) {
  .desktop-nav,
  .desktop-btn { display: none; }
  .burger {
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  .burger span { width: 25px; height: 3px; border-radius: 2px; background: #fff; }
  .mobile-menu.open { display: block; }
  .mobile-nav { display: flex; flex-direction: column; gap: 14px; padding: 14px 20px; }
  .main-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { text-align: left; }
}

/* =========================================================
   Tablet typography (601px - 900px)
   ========================================================= */
@media (min-width: 601px) and (max-width: 900px) {
  .brand-title,
  .brand-subtitle { font-size: clamp(16px, 2.25vw, 20px); }
  .brand-note { font-size: clamp(9px, 1.35vw, 12px); }

  .hero { height: 340px; background-position: center top, center top; }
  .hero h1 { font-size: clamp(32px, 4.9vw, 42px); }
  .hero p { font-size: clamp(15px, 2.15vw, 19px); }

  .benefit-card {
    min-width: 0;
    height: auto;
    min-height: 98px;
  }
  .benefit-text {
    min-width: 0;
    flex: 1 1 auto;
  }
  .benefit-text h3,
  .benefit-text p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .benefit-text h3 { font-size: clamp(15px, 2.15vw, 18px); }
  .benefit-text p { font-size: clamp(12px, 1.7vw, 14px); }

  .panel h2 { font-size: clamp(21px, 3vw, 26px); }
  .requirements-list li { font-size: clamp(15px, 2.1vw, 18px); }
}

/* Narrow tablet: three cards no longer fit comfortably side by side. */
@media (min-width: 601px) and (max-width: 680px) {
  .benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .benefit-card {
    min-height: 76px;
    padding: 9px 38px 9px 12px;
    gap: 12px;
  }
  .benefit-icon,
  .benefit-icon img {
    width: 44px;
    height: 44px;
  }
  .benefit-icon { flex-basis: 44px; }
  .benefit-text h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }
  .benefit-text p {
    font-size: 13px;
    line-height: 1.25;
  }
}

/* Medium tablet: keep three cards, but make their inner layout compact. */
@media (min-width: 681px) and (max-width: 900px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .benefit-card {
    min-height: 104px;
    padding: 10px 27px 10px 10px;
    gap: 9px;
  }
  .benefit-icon,
  .benefit-icon img {
    width: 44px;
    height: 44px;
  }
  .benefit-icon { flex-basis: 44px; }
  .benefit-text h3 {
    margin-bottom: 4px;
    font-size: clamp(14px, 2.15vw, 17px);
    line-height: 1.08;
  }
  .benefit-text p {
    font-size: clamp(11px, 1.65vw, 13px);
    line-height: 1.22;
  }
  .benefit-card::after {
    right: 8px;
    font-size: 25px;
  }
}

/* =========================================================
   Mobile (<= 600px)
   The mobile hero image is 756x486. Keeping the same aspect
   ratio makes the ship stay in the same place at 390-600px.
   ========================================================= */
@media (max-width: 600px) {
  body { background: #e7edf7; }
  .container { width: calc(100% - 24px); }

  /* Header */
  .site-header { height: 116px; }
  .header-inner { align-items: flex-start; padding-top: 12px; }
  .brand { gap: 9px; }
  .brand-logo { width: 43px; height: 54px; }
  .brand-title,
  .brand-subtitle {
    max-width: 235px;
    font-size: clamp(13px, 3.45vw, 16px);
    line-height: 1.08;
  }
  .brand-note {
    max-width: 260px;
    margin-top: 11px;
    font-size: clamp(8px, 2vw, 10px);
    line-height: 1.25;
  }
  .burger { margin-top: 4px; }

  /* Hero */
  .hero {
    width: 100%;
    height: auto;
    aspect-ratio: 756 / 486;
    background-image:
      linear-gradient(90deg, rgba(3, 34, 88, 0.64), rgba(3, 42, 102, 0.1) 70%),
      url("img/hero-mobile.png");
    background-size: 100% 100%, 100% 100%;
    background-position: center, center;
  }
  .hero-inner { height: 100%; }
  .hero-content {
    max-width: min(72vw, 300px);
    padding-top: clamp(14px, 3.4vw, 20px);
  }
  .hero h1 {
    margin-bottom: 12px;
    font-size: clamp(23px, 5.7vw, 31px);
    line-height: 1.02;
  }
  .hero p {
    max-width: min(70vw, 300px);
    margin-bottom: 14px;
    font-size: clamp(11px, 2.8vw, 15px);
    line-height: 1.25;
  }
  .btn-large {
    width: clamp(170px, 43vw, 220px);
    height: clamp(39px, 8.2vw, 46px);
    font-size: clamp(13px, 3vw, 16px);
  }
  .hero::after { height: clamp(45px, 12vw, 72px); }
  .hero-overlay {
    background: linear-gradient(to bottom, transparent 0%, transparent 67%, rgba(210, 228, 249, 0.20) 82%, rgba(210, 228, 249, 0.84) 100%);
  }

  /* Content / Benefits */
  .content-section {
    background: linear-gradient(rgba(239, 244, 251, 0.84), rgba(239, 244, 251, 0.84)), url("img/1.png") center / cover;
  }
  .content-section::before {
    height: 74px;
    background: linear-gradient(to bottom, rgba(220, 234, 250, 0.90), rgba(220, 234, 250, 0.36) 55%, rgba(220, 234, 250, 0));
  }
  .benefits { grid-template-columns: 1fr; gap: 7px; padding-top: 8px; }
  .benefit-card {
    height: auto;
    min-height: 74px;
    gap: 11px;
    padding: 8px 35px 8px 9px;
    border-radius: 4px;
  }
  .benefit-icon,
  .benefit-icon img { width: 39px; height: 39px; }
  .benefit-icon { flex-basis: 39px; font-size: 20px; }
  .benefit-text h3 { margin-bottom: 3px; font-size: clamp(14px, 3.3vw, 17px); }
  .benefit-text p { font-size: clamp(11px, 2.7vw, 14px); line-height: 1.25; }
  .benefit-card::after { right: 10px; font-size: 24px; }

  /* Requirements / Form */
  .main-grid { display: flex; flex-direction: column; gap: 7px; padding: 12px 0; }
  .panel { padding: 8px 9px; border-radius: 3px; box-shadow: none; }
  .panel h2 { margin-bottom: 8px; font-size: clamp(18px, 4.5vw, 23px); }
  .requirements-list li {
    margin-bottom: 7px;
    padding-left: 17px;
    font-size: clamp(12px, 3.1vw, 16px);
    line-height: 1.3;
  }
  .form-panel { order: 2; }
  .apply-form { gap: 6px; }
  .apply-form input { height: 29px; padding: 0 8px; font-size: clamp(12px, 3vw, 15px); }
  .btn-submit { height: 31px; font-size: clamp(14px, 3.3vw, 17px); }

  /* Footer */
  .site-footer { padding: 10px 0 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 6px; }
  .footer-brand { gap: 8px; }
  .footer-logo { width: 38px; height: 45px; }
  .footer-title,
  .footer-subtitle { font-size: clamp(10px, 2.65vw, 13px); }
  .footer-contact { font-size: clamp(8px, 2.15vw, 11px); }
  .footer-bottom { margin-top: 7px; padding-top: 7px; gap: 7px; }
  .footer-nav { gap: 18px; }
  .footer-nav a { font-size: clamp(8px, 2.1vw, 10px); }
  .footer-copy { width: 100%; font-size: clamp(7px, 1.85vw, 9px); text-align: center; }
}

/* =========================================================
   Header & footer refinement for wide mobile (481-600px)
   ========================================================= */
@media (min-width: 481px) and (max-width: 600px) {
  /* Header: give the identity block the width it needs instead of
     forcing the title into 3-4 short lines. */
  .site-header {
    height: 108px;
  }

  .header-inner {
    padding-top: 11px;
    align-items: flex-start;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 11px;
  }

  .brand-logo {
    width: 48px;
    height: 58px;
  }

  .brand-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
  }

  .brand-title,
  .brand-subtitle {
    max-width: none;
    font-size: 16px;
    line-height: 1.08;
  }

  .brand-note {
    max-width: none;
    margin-top: 8px;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .header-right {
    flex: 0 0 44px;
    margin-left: 8px;
  }

  .burger {
    width: 40px;
    height: 40px;
    margin-top: 3px;
  }

  /* Footer: use the available 600px width horizontally. */
  .site-footer {
    padding: 13px 0 10px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 10px;
    align-items: start;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 10px;
    align-items: center;
  }

  .footer-logo {
    width: 42px;
    height: 48px;
  }

  .footer-brand-text {
    min-width: 0;
  }

  .footer-title {
    font-size: 14px;
    line-height: 1.12;
  }

  .footer-subtitle {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.15;
  }

  .footer-contact {
    font-size: 10px;
    line-height: 1.45;
  }

  .footer-contact-address {
    grid-column: 1;
  }

  .footer-contact-phones {
    grid-column: 2;
  }

  .footer-contact-mail {
    grid-column: 1 / -1;
    margin-top: -2px;
  }

  .footer-bottom {
    margin-top: 10px;
    padding-top: 8px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 18px;
  }

  .footer-nav {
    gap: 18px;
    flex-wrap: nowrap;
  }

  .footer-nav a {
    font-size: 9px;
  }

  .footer-copy {
    width: auto;
    font-size: 8px;
    line-height: 1.3;
    text-align: right;
  }
}



/* =========================================================
   Header / Footer identity links
   ========================================================= */
.brand-text-link,
.brand-text-link:link,
.brand-text-link:visited,
.brand-text-link:hover,
.brand-text-link:active,
.footer-brand-link,
.footer-brand-link:link,
.footer-brand-link:visited,
.footer-brand-link:hover,
.footer-brand-link:active {
  color: #fff !important;
  text-decoration: none;
}

.brand-text-link {
  display: block;
  min-width: 0;
}

.brand-logo-link,
.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-logo-link:focus-visible,
.brand-text-link:focus-visible,
.footer-logo-link:focus-visible,
.footer-brand-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Desktop header identity */
.brand-logo-link {
  width: 92px;
  height: 96px;
  min-height: 0;
  padding: 0;
}

.brand-logo-link .brand-logo {
  width: 84px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.brand-title,
.brand-subtitle {
  max-width: none;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.08;
  font-weight: 700;
}

.brand-note {
  margin-top: 9px;
  color: #fff;
  font-size: clamp(12px, 0.92vw, 14px);
  line-height: 1.2;
}

/* Footer identity */
.footer-brand-link {
  display: block;
  min-width: 0;
}

.footer-title,
.footer-subtitle {
  color: #fff !important;
}

@media (max-width: 900px) {
  .brand-logo-link {
    width: 76px;
    height: 82px;
  }

  .brand-logo-link .brand-logo {
    width: 70px;
    height: 80px;
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(18px, 2.55vw, 22px);
  }

  .brand-note {
    font-size: clamp(11px, 1.55vw, 13px);
  }
}

@media (max-width: 600px) {
  .brand-logo-link {
    width: 68px;
    height: 72px;
  }

  .brand-logo-link .brand-logo {
    width: 64px;
    height: 70px;
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(16px, 3.8vw, 19px);
    line-height: 1.08;
  }

  .brand-note {
    margin-top: 7px;
    font-size: clamp(10px, 2.3vw, 12px);
    line-height: 1.18;
  }
}

@media (max-width: 390px) {
  .brand-logo-link {
    width: 60px;
    height: 66px;
  }

  .brand-logo-link .brand-logo {
    width: 56px;
    height: 64px;
  }

  .brand-title,
  .brand-subtitle {
    font-size: 15px;
  }

  .brand-note {
    font-size: 9px;
  }
}

/* =========================================================
   Fluid scaling for compact mobile screens
   Keeps header and hero content inside their own blocks.
   ========================================================= */
@media (max-width: 600px) {
  .site-header {
    height: clamp(92px, 19vw, 108px);
  }

  .header-inner {
    height: 100%;
    padding-top: clamp(7px, 1.8vw, 11px);
    align-items: flex-start;
    gap: clamp(5px, 1.8vw, 10px);
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(6px, 1.7vw, 10px);
  }

  .brand-logo-link {
    width: clamp(46px, 10.5vw, 63px);
    height: clamp(58px, 12vw, 72px);
    flex: 0 0 clamp(46px, 10.5vw, 63px);
  }

  .brand-logo-link .brand-logo {
    width: clamp(44px, 9.8vw, 59px);
    height: clamp(56px, 11.5vw, 69px);
  }

  .brand-text,
  .brand-text-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    max-width: none;
    font-size: clamp(12px, 2.85vw, 17px);
    line-height: 1.06;
    overflow-wrap: normal;
  }

  .brand-note {
    max-width: none;
    margin-top: clamp(4px, 1.15vw, 7px);
    font-size: clamp(7px, 1.65vw, 10px);
    line-height: 1.15;
  }

  .header-right {
    flex: 0 0 clamp(34px, 8vw, 44px);
    margin-left: clamp(2px, 1vw, 7px);
  }

  .burger {
    width: clamp(34px, 8vw, 40px);
    height: clamp(34px, 8vw, 40px);
    padding: clamp(5px, 1.4vw, 8px);
  }

  .burger span {
    width: clamp(22px, 5.8vw, 25px);
    height: clamp(2px, .7vw, 3px);
  }

  .hero-content {
    max-width: min(72vw, 300px);
    padding-top: clamp(11px, 3.1vw, 20px);
  }

  .hero h1 {
    margin-bottom: clamp(7px, 2vw, 12px);
    font-size: clamp(19px, 5.15vw, 31px);
    line-height: 1.01;
  }

  .hero p {
    max-width: min(70vw, 300px);
    margin-bottom: clamp(9px, 2.5vw, 14px);
    font-size: clamp(9px, 2.45vw, 15px);
    line-height: 1.22;
  }

  .btn-large {
    width: clamp(145px, 43vw, 220px);
    height: clamp(34px, 8vw, 46px);
    font-size: clamp(11px, 2.75vw, 16px);
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 18px);
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(11px, 3.65vw, 13px);
  }

  .brand-note {
    font-size: clamp(6.5px, 2.15vw, 8px);
  }

  .hero-content {
    max-width: 69vw;
  }

  .hero h1 {
    font-size: clamp(18px, 6vw, 22px);
  }

  .hero p {
    max-width: 68vw;
    font-size: clamp(8.5px, 2.9vw, 10.5px);
  }
}

/* =========================================================
   Compact mobile header — proportional height and centering
   ========================================================= */
@media (max-width: 600px) {
  .site-header {
    height: clamp(76px, 16vw, 96px);
  }

  .header-inner {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  .brand {
    height: 100%;
    align-items: center;
    gap: clamp(5px, 1.5vw, 9px);
  }

  .brand-logo-link {
    width: clamp(40px, 9vw, 54px);
    height: clamp(52px, 11vw, 66px);
    flex-basis: clamp(40px, 9vw, 54px);
  }

  .brand-logo-link .brand-logo {
    width: clamp(38px, 8.5vw, 51px);
    height: clamp(50px, 10.5vw, 63px);
  }

  .brand-text-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(11px, 2.65vw, 16px);
    line-height: 1.04;
  }

  .brand-note {
    margin-top: clamp(2px, .7vw, 5px);
    font-size: clamp(6px, 1.45vw, 9px);
    line-height: 1.08;
  }

  .header-right {
    align-self: center;
  }
}

@media (max-width: 360px) {
  .site-header {
    height: clamp(72px, 22vw, 79px);
  }

  .brand-logo-link {
    width: clamp(36px, 11.5vw, 42px);
    height: clamp(47px, 14.5vw, 53px);
    flex-basis: clamp(36px, 11.5vw, 42px);
  }

  .brand-logo-link .brand-logo {
    width: clamp(34px, 10.8vw, 40px);
    height: clamp(45px, 14vw, 51px);
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(10.5px, 3.35vw, 12px);
    line-height: 1.03;
  }

  .brand-note {
    margin-top: 2px;
    font-size: clamp(5.5px, 1.8vw, 6.5px);
    line-height: 1.05;
  }
}

/* =========================================================
   Compact desktop header (901px - 1100px)
   Keeps the desktop navigation on one line around 900px.
   ========================================================= */
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header {
    height: clamp(92px, 10.5vw, 108px);
  }

  .header-inner {
    gap: clamp(10px, 1.5vw, 18px);
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(8px, 1.2vw, 13px);
  }

  .brand-logo-link {
    width: clamp(60px, 7vw, 76px);
    height: clamp(72px, 8.4vw, 88px);
    flex: 0 0 clamp(60px, 7vw, 76px);
  }

  .brand-logo-link .brand-logo {
    width: clamp(56px, 6.5vw, 70px);
    height: clamp(68px, 8vw, 84px);
  }

  .brand-text,
  .brand-text-link {
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    font-size: clamp(16px, 1.85vw, 20px);
    line-height: 1.06;
    white-space: nowrap;
  }

  .brand-note {
    margin-top: clamp(5px, .7vw, 8px);
    font-size: clamp(9px, 1.05vw, 11px);
    line-height: 1.12;
    white-space: nowrap;
  }

  .header-right {
    flex: 0 0 auto;
    gap: clamp(12px, 1.7vw, 20px);
  }

  .main-nav {
    gap: clamp(15px, 2vw, 24px);
    flex-wrap: nowrap;
  }

  .main-nav a {
    font-size: clamp(12px, 1.35vw, 14px);
    white-space: nowrap;
  }

  .header-btn {
    height: clamp(38px, 4.5vw, 42px);
    padding: 0 clamp(12px, 1.7vw, 17px);
    font-size: clamp(12px, 1.35vw, 14px);
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

/* IMPORTANT: the following <=360px cascade is intentionally kept in order.
   Do not merge these rules: later blocks refine the Hero -> Content fade. */

/* =========================================================
   Small mobile Hero (<= 360px)
   Compact height + continuous Hero -> content fade.
   ========================================================= */
@media (max-width: 360px) {
  .hero {
    /* Slightly reduce only the vertical space. The image keeps its width
       and is cropped only at the very bottom, so the ship stays in place. */
    aspect-ratio: auto;
    height: clamp(198px, 60vw, 216px);
    background-size: 100% 100%, 100% auto;
    background-position: center, center top;
  }

  .hero::after {
    bottom: -1px;
    height: clamp(54px, 17vw, 62px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.16) 28%,
      rgba(222, 236, 252, 0.48) 58%,
      rgba(222, 236, 252, 0.86) 82%,
      rgba(222, 236, 252, 0.98) 100%
    );
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 66%,
      rgba(210, 228, 249, 0.12) 76%,
      rgba(210, 228, 249, 0.48) 89%,
      rgba(222, 236, 252, 0.92) 100%
    );
  }

  .content-section {
    margin-top: 0;
    padding-top: 0;
    background:
      linear-gradient(rgba(239, 244, 251, 0.78), rgba(239, 244, 251, 0.84)),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    top: 0;
    height: clamp(68px, 22vw, 80px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.98) 0%,
      rgba(222, 236, 252, 0.82) 24%,
      rgba(222, 236, 252, 0.48) 55%,
      rgba(222, 236, 252, 0.14) 82%,
      rgba(222, 236, 252, 0) 100%
    );
  }

  .benefits {
    padding-top: clamp(8px, 2.8vw, 10px);
  }
}

/* =========================================================
   Small mobile Hero refinement (<= 360px)
   Less fog + content pulled closer to Hero.
   ========================================================= */
@media (max-width: 360px) {
  .hero::after {
    height: clamp(34px, 10vw, 40px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.08) 30%,
      rgba(222, 236, 252, 0.28) 62%,
      rgba(222, 236, 252, 0.62) 84%,
      rgba(222, 236, 252, 0.82) 100%
    );
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 78%,
      rgba(210, 228, 249, 0.08) 86%,
      rgba(222, 236, 252, 0.34) 94%,
      rgba(222, 236, 252, 0.68) 100%
    );
  }

  .content-section {
    position: relative;
    z-index: 2;
    margin-top: -16px;
    padding-top: 0;
  }

  .content-section::before {
    top: 0;
    height: clamp(34px, 11vw, 42px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.78) 0%,
      rgba(222, 236, 252, 0.50) 35%,
      rgba(222, 236, 252, 0.18) 70%,
      rgba(222, 236, 252, 0) 100%
    );
  }

  .benefits {
    padding-top: clamp(12px, 4vw, 15px);
  }
}

/* =========================================================
   Mobile polish: Hero -> Content fade + larger white glyphs
   ========================================================= */
@media (max-width: 600px) {
  /* Keep the fade inside Hero so it remains visible even with overflow:hidden. */
  .hero::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 15vw, 72px);
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.10) 22%,
      rgba(222, 236, 252, 0.36) 50%,
      rgba(222, 236, 252, 0.72) 76%,
      rgba(222, 236, 252, 0.96) 100%
    );
  }

  /* Continue the same tone into Content; no hard seam between the blocks. */
  .content-section {
    margin-top: 0;
    background:
      linear-gradient(to bottom, rgba(222, 236, 252, 0.96) 0, rgba(239, 244, 251, 0.84) 72px),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    height: clamp(44px, 13vw, 64px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.96) 0%,
      rgba(222, 236, 252, 0.62) 42%,
      rgba(222, 236, 252, 0.18) 78%,
      rgba(222, 236, 252, 0) 100%
    );
  }

  /* The PNGs are white glyphs; less inner padding makes the glyph itself larger. */
  .benefit-card:nth-child(2) .benefit-icon,
  .benefit-card:nth-child(3) .benefit-icon {
    padding: 3px;
  }

  .benefit-card:nth-child(2) .benefit-icon img,
  .benefit-card:nth-child(3) .benefit-icon img {
    width: 100%;
    height: 100%;
    transform: scale(1.12);
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  .hero::after {
    height: clamp(46px, 16vw, 58px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.12) 20%,
      rgba(222, 236, 252, 0.42) 50%,
      rgba(222, 236, 252, 0.78) 78%,
      rgba(222, 236, 252, 0.98) 100%
    );
  }

  .content-section::before {
    height: 48px;
  }
}

/* =========================================================
   Final UI polish
   Interaction, content cards, form, mobile menu and footer.
   IMPORTANT: Hero -> Content fade rules above stay untouched.
   ========================================================= */

/* Buttons */
.btn-red {
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn-red:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
}

/* Benefits */
.benefit-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-icon {
  transition: transform .2s ease;
}

/* Requirements / application form */
.panel {
  border-color: rgba(57, 104, 178, .18);
  background: rgba(255, 255, 255, .90);
}
.panel h2 {
  color: #082b68;
  letter-spacing: -.01em;
}
.apply-form input {
  background: rgba(255, 255, 255, .96);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.apply-form input:hover { border-color: #8da9d6; }
.apply-form input:focus { background: #fff; }

/* Mobile navigation */
@media (max-width: 900px) {
  .mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    background: linear-gradient(180deg, #062a68 0%, #07377e 100%);
    box-shadow: 0 12px 24px rgba(3, 25, 65, .20);
  }
  .mobile-nav {
    gap: 0;
    padding: 7px max(20px, calc((100% - var(--container)) / 2));
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }
  .mobile-nav a:last-child { border-bottom: 0; }
}

/* Footer hierarchy */
.footer-contact { color: rgba(255, 255, 255, .88); }
.footer-nav a { transition: opacity .18s ease; }
.footer-copy { color: rgba(255, 255, 255, .68); }

@media (hover: hover) {
  .btn-red:hover {
    filter: brightness(1.06);
    box-shadow: 0 7px 17px rgba(183, 0, 0, .30);
  }
  .benefit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 93, 174, .28);
    box-shadow: 0 10px 24px rgba(7, 38, 88, .18);
  }
  .benefit-card:hover .benefit-icon { transform: scale(1.03); }
  .mobile-nav a:hover { background: rgba(255, 255, 255, .07); }
  .footer-nav a:hover { opacity: .78; }
}

/* =========================================================
   Mobile polish (<= 600px)
   Typography and spacing only. Fade cascade above is preserved.
   ========================================================= */
@media (max-width: 600px) {
  .hero p {
    line-height: 1.32;
    font-size: clamp(10px, 2.9vw, 15px);
  }

  .benefit-card::after {
    font-size: 21px;
    opacity: .88;
  }

  .panel {
    padding: clamp(10px, 3vw, 14px);
    border-radius: 5px;
    box-shadow: 0 5px 14px rgba(7, 38, 88, .08);
  }
  .panel h2 {
    margin-bottom: 10px;
    line-height: 1.12;
  }
  .requirements-list li { margin-bottom: 8px; }
  .apply-form { gap: 8px; }
  .apply-form input {
    height: clamp(34px, 9vw, 39px);
    border-radius: 5px;
  }
  .btn-submit {
    height: clamp(35px, 9vw, 40px);
    border-radius: 5px;
  }

  .site-footer { padding-top: 13px; }
  .footer-brand { margin-bottom: 2px; }
  .footer-contact { line-height: 1.55; }
  .footer-bottom { border-top-color: rgba(255, 255, 255, .16); }
}

/* Extra-narrow phones: keep the established Hero fade untouched. */
@media (max-width: 360px) {
  .hero p {
    font-size: clamp(9px, 3vw, 10.5px);
    line-height: 1.28;
  }
  .panel { padding: 9px 10px; }
}

/* =========================================================
   Wide mobile Hero refinement (481-600px)
   Keeps 340-390px and the Hero -> Content fade untouched.
   ========================================================= */
@media (min-width: 481px) and (max-width: 600px) {
  /* Crop the mobile Hero symmetrically: part of the sky at the top and
     part of the sea at the bottom. This keeps the ship large while
     moving the text/CTA lower inside the visible Hero. */
  .hero {
    aspect-ratio: auto;
    height: clamp(280px, 55vw, 330px);
    background-size: 100% 100%, 100% auto;
    background-position: center, center center;
  }

  .hero-content {
    max-width: 58%;
    padding-top: clamp(27px, 4.8vw, 32px);
  }

  .hero h1 {
    max-width: 330px;
    margin-bottom: clamp(10px, 1.8vw, 12px);
    font-size: clamp(27px, 4.65vw, 29px);
    line-height: 1.04;
    letter-spacing: -0.015em;
  }

  .hero p {
    max-width: 315px;
    margin-bottom: clamp(12px, 2.2vw, 14px);
    font-size: clamp(13px, 2.25vw, 14px);
    line-height: 1.28;
  }

  .btn-large {
    width: clamp(190px, 36.5vw, 220px);
    height: clamp(41px, 7.2vw, 44px);
    font-size: clamp(14px, 2.4vw, 15px);
  }
}

/* =========================================================
   Hero responsive calibration — 2026-09-27
   Reference viewport: 1128px. Keep its composition unchanged.
   ========================================================= */

/* On screens wider than the 1128px reference, let Hero gain height
   gradually. This keeps more sea visible instead of cropping it away. */
@media (min-width: 1129px) {
  .hero {
    height: clamp(355px, calc(355px + (100vw - 1128px) * 0.18), 420px);
  }
}

/* 481–600px: reduce the empty vertical run below the CTA while keeping
   the ship prominent. The image is cropped slightly from both top/bottom. */
@media (min-width: 481px) and (max-width: 600px) {
  .hero {
    height: clamp(268px, 50vw, 300px);
    background-size: 100% 100%, cover;
    background-position: center, center 48%;
  }

  .hero-content {
    padding-top: clamp(29px, 5.2vw, 34px);
  }

  .content-section > .container {
    position: relative;
    z-index: 6;
  }

  .benefits {
    padding-top: 4px;
  }
}

/* Narrow phones: reinforce the Hero -> Content blend and let Content
   overlap the fade slightly, eliminating the visible horizontal seam. */
@media (max-width: 360px) {
  .hero::after {
    bottom: -1px;
    height: 68px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.10) 18%,
      rgba(222, 236, 252, 0.34) 43%,
      rgba(222, 236, 252, 0.68) 68%,
      rgba(222, 236, 252, 0.94) 88%,
      rgba(222, 236, 252, 1) 100%
    );
  }

  .content-section {
    margin-top: -1px;
    background:
      linear-gradient(
        to bottom,
        rgba(222, 236, 252, 1) 0%,
        rgba(228, 239, 252, 0.96) 34px,
        rgba(239, 244, 251, 0.72) 76px,
        rgba(239, 244, 251, 0) 118px
      ),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    top: -1px;
    height: 76px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 1) 0%,
      rgba(222, 236, 252, 0.70) 40%,
      rgba(222, 236, 252, 0.22) 76%,
      rgba(222, 236, 252, 0) 100%
    );
  }

  .content-section > .container {
    position: relative;
    z-index: 6;
  }
}

/* =========================================================
   361–600px: make img/1.png texture visible in Content
   Keep Hero/layout unchanged; only reduce the milky overlays.
   ========================================================= */
@media (min-width: 361px) and (max-width: 600px) {
  .content-section {
    background:
      linear-gradient(
        to bottom,
        rgba(222, 236, 252, 0.56) 0%,
        rgba(239, 244, 251, 0.22) 72px,
        rgba(239, 244, 251, 0.08) 150px,
        rgba(239, 244, 251, 0) 230px
      ),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    height: 52px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.58) 0%,
      rgba(222, 236, 252, 0.22) 48%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}


/* =========================================================
   FINAL FIX 361–600px — continuous Hero fade + stable text position
   ========================================================= */
@media (min-width: 361px) and (max-width: 600px) {
  /* Fade begins inside Hero and ends over the texture: no hard seam. */
  .hero::after {
    bottom: -1px;
    height: clamp(58px, 13vw, 72px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.08) 24%,
      rgba(222, 236, 252, 0.30) 52%,
      rgba(222, 236, 252, 0.64) 78%,
      rgba(222, 236, 252, 0.90) 100%
    );
  }

  .content-section {
    margin-top: -1px;
    background:
      linear-gradient(
        to bottom,
        rgba(222, 236, 252, 0.90) 0%,
        rgba(228, 239, 252, 0.58) 24px,
        rgba(239, 244, 251, 0.18) 62px,
        rgba(239, 244, 251, 0) 104px
      ),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    top: -1px;
    height: 48px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.72) 0%,
      rgba(222, 236, 252, 0.28) 52%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}

/* At 481–600 the earlier cascade pushes the whole text block too low.
   Restore the compact position while keeping the ship crop unchanged. */
@media (min-width: 481px) and (max-width: 600px) {
  .hero-content {
    max-width: 58%;
    padding-top: clamp(16px, 3.2vw, 20px);
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: clamp(25px, 4.55vw, 28px);
  }

  .hero p {
    margin-bottom: 12px;
  }
}

/* =========================================================
   FINAL 600px fog calibration
   Reduce only the Hero -> Content fog height near 600px.
   Text, CTA, ship crop and content position remain unchanged.
   ========================================================= */
@media (min-width: 481px) and (max-width: 600px) {
  .hero::after {
    height: clamp(42px, 8vw, 48px);
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.06) 28%,
      rgba(222, 236, 252, 0.24) 56%,
      rgba(222, 236, 252, 0.56) 80%,
      rgba(222, 236, 252, 0.86) 100%
    );
  }

  .content-section::before {
    height: 34px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.62) 0%,
      rgba(222, 236, 252, 0.20) 52%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}

/* =========================================================
   FINAL 360px fog calibration
   Reduce only the Hero -> Content fog height on narrow phones.
   ========================================================= */
@media (max-width: 360px) {
  .hero::after {
    height: 42px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.06) 28%,
      rgba(222, 236, 252, 0.22) 56%,
      rgba(222, 236, 252, 0.52) 80%,
      rgba(222, 236, 252, 0.84) 100%
    );
  }

  .content-section {
    background:
      linear-gradient(
        to bottom,
        rgba(222, 236, 252, 0.84) 0%,
        rgba(228, 239, 252, 0.48) 18px,
        rgba(239, 244, 251, 0.14) 42px,
        rgba(239, 244, 251, 0) 66px
      ),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    height: 30px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.58) 0%,
      rgba(222, 236, 252, 0.18) 52%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}

/* =========================================================
   360px transition fix — smooth Hero -> Content seam
   Keep the fog compact, but remove the hard horizontal band.
   ========================================================= */
@media (max-width: 360px) {
  .hero::after {
    height: 46px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.05) 22%,
      rgba(222, 236, 252, 0.18) 46%,
      rgba(222, 236, 252, 0.42) 68%,
      rgba(222, 236, 252, 0.68) 86%,
      rgba(222, 236, 252, 0.82) 100%
    );
  }

  .content-section {
    margin-top: -2px;
    background:
      linear-gradient(
        to bottom,
        rgba(222, 236, 252, 0.82) 0%,
        rgba(224, 237, 251, 0.66) 12px,
        rgba(228, 239, 252, 0.42) 28px,
        rgba(235, 243, 251, 0.20) 46px,
        rgba(239, 244, 251, 0) 66px
      ),
      url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    display: none;
  }
}

/* =========================================================
   FINAL 360px SEAM FIX
   One continuous low-height gradient across Hero -> Content.
   ========================================================= */
@media (max-width: 360px) {
  .hero::after {
    bottom: -1px;
    height: 38px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.08) 28%,
      rgba(222, 236, 252, 0.28) 58%,
      rgba(222, 236, 252, 0.54) 82%,
      rgba(222, 236, 252, 0.76) 100%
    );
  }

  .content-section {
    margin-top: 0;
    background: url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    display: block;
    top: 0;
    height: 36px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.76) 0%,
      rgba(222, 236, 252, 0.50) 28%,
      rgba(222, 236, 252, 0.25) 58%,
      rgba(222, 236, 252, 0.08) 82%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}

/* =========================================================
   601–900px HERO text safety zone
   Keep the text on the left so it never runs over the ship.
   Does not change Hero height, crop, CTA position or 600px and below.
   ========================================================= */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-content {
    width: 50%;
    max-width: 450px;
  }

  .hero h1,
  .hero p {
    max-width: 100%;
  }
}

/* =========================================================
   FINAL <=360px: remove the widening Hero -> Content band
   The band was caused by the mobile Hero keeping a fixed minimum
   height while hero-mobile.png was rendered only at 100% width.
   On very narrow screens the bitmap became shorter than .hero,
   exposing an empty strip. Fill the Hero itself and blend directly
   into img/1.png without changing card positioning.
   ========================================================= */
@media (max-width: 360px) {
  .hero {
    /* Fill the complete Hero box at every narrow width. */
    background-size: 100% 100%, 100% 100%;
    background-position: center, center;
    background-repeat: no-repeat;
  }

  .hero::after {
    bottom: 0;
    height: 42px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0) 0%,
      rgba(222, 236, 252, 0.05) 24%,
      rgba(222, 236, 252, 0.18) 50%,
      rgba(222, 236, 252, 0.42) 74%,
      rgba(222, 236, 252, 0.68) 90%,
      rgba(222, 236, 252, 0.78) 100%
    );
  }

  .content-section {
    margin-top: 0;
    padding-top: 0;
    background: url("img/1.png") center top / cover no-repeat;
  }

  .content-section::before {
    display: block;
    top: 0;
    height: 42px;
    background: linear-gradient(
      to bottom,
      rgba(222, 236, 252, 0.78) 0%,
      rgba(222, 236, 252, 0.54) 30%,
      rgba(222, 236, 252, 0.28) 58%,
      rgba(222, 236, 252, 0.10) 80%,
      rgba(222, 236, 252, 0) 100%
    );
  }
}

/* =========================================================
   FINAL FIX 601–900px — keep Hero text + CTA inside Hero
   Prevents the taller wrapped text block from dropping under cards.
   ========================================================= */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-content {
    width: 47%;
    max-width: 410px;
    padding-top: clamp(25px, 3.6vw, 32px);
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: clamp(10px, 1.5vw, 13px);
    font-size: clamp(27px, 3.65vw, 33px);
    line-height: 1.02;
  }

  .hero p {
    max-width: 100%;
    margin-bottom: clamp(12px, 1.8vw, 16px);
    font-size: clamp(13px, 1.75vw, 16px);
    line-height: 1.24;
  }

  .hero .btn-large {
    width: clamp(190px, 27vw, 220px);
    height: 44px;
    font-size: 15px;
  }
}

/* =========================================================
   Burger interaction
   ========================================================= */
@media (max-width: 900px) {
  .burger {
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
  }

  .burger span {
    display: block;
    transform-origin: center;
    transition: transform .22s ease, opacity .16s ease, width .22s ease;
  }

  .burger:active {
    transform: scale(.94);
    background: rgba(255, 255, 255, .16);
  }

  .burger.active {
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  }

  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.25);
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu.open {
    display: block;
    animation: mobileMenuOpen .18s ease-out both;
  }
}

@keyframes mobileMenuOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Burger: ровный крестик на всех разрешениях ===== */

@media (max-width: 900px) {
  .burger {
    position: relative;
  }

  .burger span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 25px;
    height: 3px;
    margin: 0;
    transform-origin: center;
    transition:
      transform 0.22s ease,
      opacity 0.18s ease,
      background-color 0.18s ease;
  }

  /* обычный бургер */
  .burger span:nth-child(1) {
    transform: translate(-50%, -8px);
  }

  .burger span:nth-child(2) {
    transform: translate(-50%, -50%);
  }

  .burger span:nth-child(3) {
    transform: translate(-50%, 5px);
  }

  /* открытое меню — симметричный X */
  .burger.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }

  .burger.active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* =========================================================
   Flip cards
   ========================================================= */

.flip-card {
  position: relative;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card::after {
  display: none !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.55s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}


/* Обе стороны */

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;

  width: 100%;
  height: 100%;
  padding: 14px 38px 14px 18px;

  border: 1px solid rgba(66, 105, 175, 0.18);
  border-radius: 5px;

  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


/* Лицевая сторона */

.flip-card-front {
  gap: 16px;
}


/* Оборотная сторона */

.flip-card-back {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: 10px 34px 10px 16px;

  transform: rotateY(180deg);

  background: rgba(255, 255, 255, 0.97);
}

.flip-card-back h3 {
  margin: 0 0 5px;

  color: var(--text);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.05;
}

.flip-card-back p {
  margin: 0;

  color: #142c5d;
  font-size: clamp(11px, 0.86vw, 14px);
  line-height: 1.25;
}


/* Стрелки */

.card-arrow,
.card-back-arrow {
  position: absolute;
  right: 15px;
  top: 50%;

  transform: translateY(-50%);

  color: #0a54c7;
  font-size: 31px;
  line-height: 1;
}

.card-back-arrow {
  transform: translateY(-50%) rotate(180deg);
}


/* Клавиатурный фокус */

.flip-card:focus-visible {
  outline: 3px solid rgba(13, 76, 167, 0.35);
  outline-offset: 3px;
}


/* Планшеты */

@media (min-width: 681px) and (max-width: 900px) {

  .flip-card-front {
    padding: 10px 27px 10px 10px;
    gap: 9px;
  }

  .flip-card-back {
    padding: 8px 25px 8px 10px;
  }

  .flip-card-back h3 {
    font-size: 14px;
  }

  .flip-card-back p {
    font-size: 11px;
    line-height: 1.18;
  }

  .card-arrow,
  .card-back-arrow {
    right: 8px;
    font-size: 25px;
  }
}


/* Мобильные */

@media (max-width: 680px) {

  .flip-card-front {
    padding: 8px 35px 8px 9px;
    gap: 11px;
  }

  .flip-card-back {
    padding: 8px 31px 8px 10px;
  }

  .flip-card-back h3 {
    margin-bottom: 3px;
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .flip-card-back p {
    font-size: clamp(9px, 2.6vw, 13px);
    line-height: 1.18;
  }

  .card-arrow,
  .card-back-arrow {
    right: 10px;
    font-size: 24px;
  }
}

/* Кликабельные телефон и e-mail в Footer */
.footer-contact a,
.footer-contact a:visited {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   Блок способов связи
   ========================================================= */

.contact-actions {
  width: 100%;
}

.contact-actions-head {
  margin-bottom: 18px;
}

.contact-actions-head h3 {
  margin: 0 0 5px;
  color: #09275f;
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.15;
}

.contact-actions-head p {
  margin: 0;
  color: #60708e;
  font-size: 14px;
}


/* Сетка */

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}


/* Карточка */

.contact-btn {
  position: relative;

  min-width: 0;
  min-height: 72px;
  padding: 11px 34px 11px 12px;

  display: flex;
  align-items: center;
  gap: 12px;

  color: #09275f;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 70, 145, 0.14);
  border-radius: 9px;

  box-shadow: 0 5px 15px rgba(7, 38, 88, 0.09);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease;
}

.contact-btn:visited {
  color: #09275f;
}

.contact-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 76, 167, 0.32);
  box-shadow: 0 8px 20px rgba(7, 38, 88, 0.14);
  background: #fff;
}

.contact-btn:active {
  transform: translateY(0);
}


/* Иконка */

.contact-btn-icon {
  flex: 0 0 43px;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: #0d4ca7;
  color: #fff;
}

.contact-btn-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}


/* Название + подпись */

.contact-btn-content {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-btn-content strong {
  overflow: hidden;

  color: #09275f;
  font-size: 15px;
  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.contact-btn-content small {
  overflow: hidden;

  color: #657491;
  font-size: 11.5px;
  line-height: 1.2;

  white-space: nowrap;
  text-overflow: ellipsis;
}


/* Стрелка */

.contact-btn-arrow {
  position: absolute;
  right: 12px;
  top: 50%;

  color: #8a9ab5;
  font-size: 26px;
  line-height: 1;

  transform: translateY(-52%);
  transition: transform .18s ease, color .18s ease;
}

.contact-btn:hover .contact-btn-arrow {
  color: #0d4ca7;
  transform: translate(2px, -52%);
}


/* Цветовые акценты */

.contact-btn-telegram .contact-btn-icon {
  background: #229ed9;
}

.contact-btn-vk .contact-btn-icon {
  background: #0077ff;
}

.contact-btn-email .contact-btn-icon {
  background: #0d4ca7;
}

.contact-btn-phone .contact-btn-icon {
  background: #14864b;
}

.contact-btn-max .contact-btn-icon {
  background: #5b4df5;
}


/* MAX */

.max-logo {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.5px;
}


/* VK */

.vk-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -1px;
}


/* Фокус с клавиатуры */

.contact-btn:focus-visible {
  outline: 3px solid rgba(13, 76, 167, .28);
  outline-offset: 3px;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 680px) {

  .contact-actions-head {
    margin-bottom: 13px;
  }

  .contact-actions-head h3 {
    font-size: clamp(19px, 5.5vw, 23px);
  }

  .contact-actions-head p {
    font-size: 13px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-btn {
    min-height: 61px;
    padding: 8px 34px 8px 9px;
    gap: 10px;
    border-radius: 8px;
  }

  .contact-btn-icon {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
    border-radius: 9px;
  }

  .contact-btn-icon svg {
    width: 21px;
    height: 21px;
  }

  .contact-btn-content strong {
    font-size: 14px;
  }

  .contact-btn-content small {
    font-size: 11px;
  }
}

/* Точная позиция блока после перехода по ссылке */
#contact-actions {
  scroll-margin-top: 125px;
}

@media (max-width: 900px) {
  #contact-actions {
    scroll-margin-top: 95px;
  }
}
/* =========================================================
   CONTACT ACTIONS — кнопки связи
   ========================================================= */

.contact-actions {
  width: 100%;
}

.contact-actions > h3 {
  margin: 0 0 5px;
  color: #09275f;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.15;
}

.contact-actions-text {
  margin: 0 0 16px;
  color: #64738f;
  font-size: 14px;
}


/* Сетка кнопок */

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}


/* Карточка связи */

.contact-btn {
  position: relative;

  min-width: 0;
  min-height: 68px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 10px 34px 10px 11px;

  color: #09275f;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 66, 136, 0.14);
  border-radius: 9px;

  box-shadow: 0 4px 13px rgba(7, 38, 88, 0.08);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease;
}

.contact-btn:visited {
  color: #09275f;
}

.contact-btn:hover {
  color: #09275f;
  text-decoration: none;

  transform: translateY(-2px);

  background: #fff;
  border-color: rgba(13, 76, 167, 0.3);

  box-shadow: 0 8px 20px rgba(7, 38, 88, 0.13);
}

.contact-btn:active {
  transform: translateY(0);
}


/* =========================================================
   Иконки
   ========================================================= */

.contact-btn-icon {
  flex: 0 0 43px;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  border-radius: 11px;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.contact-btn:hover .contact-btn-icon {
  transform: scale(1.06);
}

.contact-btn-icon svg {
  display: block;

  width: 23px;
  height: 23px;

  fill: currentColor;
}


/* MAX */

.contact-btn-max .contact-btn-icon {
  background: linear-gradient(135deg, #6558ff, #5545e8);
}

.max-logo {
  color: #fff;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.4px;
}


/* Telegram */

.contact-btn-telegram .contact-btn-icon {
  background: #229ed9;
}


/* VK */

.contact-btn-vk .contact-btn-icon {
  background: #0077ff;
}

.vk-logo {
  color: #fff;

  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}


/* Почта */

.contact-btn-email .contact-btn-icon {
  background: #0d4ca7;
}


/* Телефон */

.contact-btn-phone .contact-btn-icon {
  background: #16874a;
}


/* =========================================================
   Текст внутри кнопок
   ========================================================= */

.contact-btn-content {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-btn-content strong {
  display: block;

  overflow: hidden;

  color: #09275f;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.contact-btn-content small {
  display: block;

  overflow: hidden;

  color: #687792;

  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;

  white-space: nowrap;
  text-overflow: ellipsis;
}


/* Стрелка справа */

.contact-btn-arrow {
  position: absolute;
  right: 11px;
  top: 50%;

  color: #91a0b8;

  font-size: 25px;
  font-weight: 300;
  line-height: 1;

  transform: translateY(-53%);

  transition:
    color .18s ease,
    transform .18s ease;
}

.contact-btn:hover .contact-btn-arrow {
  color: #0d4ca7;
  transform: translate(2px, -53%);
}


/* Фокус */

.contact-btn:focus-visible {
  outline: 3px solid rgba(13, 76, 167, 0.25);
  outline-offset: 3px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .contact-actions > h3 {
    font-size: clamp(19px, 5.3vw, 23px);
  }

  .contact-actions-text {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-btn {
    min-height: 59px;

    padding:
      8px
      33px
      8px
      9px;

    gap: 10px;

    border-radius: 8px;
  }

  .contact-btn-icon {
    flex-basis: 39px;

    width: 39px;
    height: 39px;

    border-radius: 9px;
  }

  .contact-btn-icon svg {
    width: 21px;
    height: 21px;
  }

  .contact-btn-content strong {
    font-size: 13.5px;
  }

  .contact-btn-content small {
    font-size: 10.5px;
  }

  .contact-btn-arrow {
    right: 10px;
    font-size: 23px;
  }
}

/* Настоящие логотипы в кнопках связи */

.contact-btn-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-btn-icon--brand img {
  width: 27px;
  height: 27px;
}

@media (max-width: 680px) {
  .contact-btn-icon img {
    width: 21px;
    height: 21px;
  }

  .contact-btn-icon--brand img {
    width: 24px;
    height: 24px;
  }
}

/* =========================================================
   SVG-логотипы кнопок связи
   ========================================================= */

.contact-btn-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Социальные сети */
.contact-btn-icon--brand img {
  width: 100%;
  height: 100%;
}

/*
   Цвет уже находится внутри SVG,
   поэтому старый цветной фон контейнера убираем.
*/
.contact-btn-max .contact-btn-icon,
.contact-btn-telegram .contact-btn-icon,
.contact-btn-vk .contact-btn-icon,
.contact-btn-email .contact-btn-icon,
.contact-btn-phone .contact-btn-icon {
  background: transparent;
}

/* Лёгкая анимация */
.contact-btn:hover .contact-btn-icon img {
  transform: scale(1.04);
}

.contact-btn-icon img {
  transition: transform .18s ease;
}

/* ===== Заголовок блока связи ===== */

.contact-actions > h2 {
  margin: 0 0 6px;
  color: #09275f;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 700;
  line-height: 1.15;
}

.contact-actions-text {
  margin: 0 0 18px;
  color: #64738f;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 680px) {
  .contact-actions > h2 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .contact-actions-text {
    margin-bottom: 13px;
    font-size: 13px;
  }
}

/* =========================================================
   ЗАДАЧИ ПОГРАНИЧНЫХ ОРГАНОВ В АРКТИКЕ
   ========================================================= */

.arctic-tasks {
  padding: 58px 0 25px;
}


/* ---------- Заголовок раздела ---------- */

.arctic-tasks .arctic-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 0 20px;
  text-align: center;
}

.arctic-tasks .arctic-heading h2 {
  margin: 0;

  color: #062a68;

  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.arctic-tasks .arctic-heading h2 span {
  color: inherit;
}


/* Описание под заголовком */

.arctic-tasks .arctic-heading p {
  max-width: 780px;

  margin: 18px auto 0;
  padding: 0;

  color: #173d72;

  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;

  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* =========================================================
   СЕТКА КАРТОЧЕК
   ========================================================= */

.arctic-tasks-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 15px;
}


/* =========================================================
   КАРТОЧКА
   ========================================================= */

.arctic-task-card {
  position: relative;

  min-width: 0;
  min-height: 250px;

  padding: 20px 22px 22px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .98),
      rgba(244, 249, 255, .97)
    );

  border: 1px solid rgba(35, 82, 154, .14);
  border-radius: 12px;

  box-shadow:
    0 7px 20px rgba(7, 38, 88, .09);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}


/* Синяя верхняя линия */

.arctic-task-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      #07377e,
      #0d65c9
    );
}


@media (hover: hover) {

  .arctic-task-card:hover {
    transform: translateY(-4px);

    border-color: rgba(13, 76, 167, .28);

    box-shadow:
      0 14px 30px rgba(7, 38, 88, .14);
  }

}


/* =========================================================
   НОМЕРА 01–06
   ========================================================= */

.arctic-task-number {
  position: absolute;

  z-index: 0;

  right: 16px;
  top: 14px;

  color: rgba(9, 39, 95, .10);

  font-size: 36px;
  font-weight: 900;
  line-height: 1;

  pointer-events: none;
}


/* =========================================================
   PNG-КАРТИНКИ
   ========================================================= */

.arctic-task-visual {
  position: relative;

  z-index: 1;

  width: 100%;
  height: 125px;

  margin: 0 0 8px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Лёгкое свечение */

.arctic-task-visual::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 165px;
  height: 105px;

  transform: translate(-50%, -50%);

  background:
    radial-gradient(
      ellipse at center,
      rgba(55, 145, 225, .14) 0%,
      rgba(55, 145, 225, .055) 47%,
      transparent 72%
    );

  pointer-events: none;
}


.arctic-task-visual img {
  position: relative;

  z-index: 1;

  display: block;

  width: auto;
  height: auto;

  max-width: 155px;
  max-height: 118px;

  object-fit: contain;

  transition:
    transform .25s ease,
    filter .25s ease;
}


@media (hover: hover) {

  .arctic-task-card:hover .arctic-task-visual img {
    transform: translateY(-3px) scale(1.04);

    filter:
      drop-shadow(
        0 7px 7px rgba(7, 48, 105, .14)
      );
  }

}


/* Старые SVG не используются */

.arctic-task-icon {
  display: none;
}


/* =========================================================
   ТЕКСТ КАРТОЧЕК
   ========================================================= */

.arctic-task-card h3 {
  position: relative;
  z-index: 1;

  margin: 0 0 8px;

  color: #062a68;

  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;

  text-align: center;
}


.arctic-task-card p {
  position: relative;
  z-index: 1;

  max-width: 100%;

  margin: 0 auto;

  color: #3f5d89;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;

  text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .arctic-tasks {
    padding: 46px 0 20px;
  }


  .arctic-tasks .arctic-heading {
    margin-bottom: 31px;
  }


  .arctic-tasks-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }


  .arctic-task-card {
    min-height: 235px;

    padding:
      18px
      20px
      20px;
  }


  .arctic-task-visual {
    height: 112px;
  }


  .arctic-task-visual img {
    max-width: 142px;
    max-height: 106px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .arctic-tasks {
    padding: 35px 0 16px;
  }


  /* Заголовок */

  .arctic-tasks .arctic-heading {
    max-width: none;

    margin: 0 0 25px;

    padding: 0 10px;

    text-align: left;
  }


  .arctic-tasks .arctic-heading h2 {
    max-width: 320px;

    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }


  .arctic-tasks .arctic-heading h2 span {
    color: inherit;
  }


  .arctic-tasks .arctic-heading p {
  max-width: 100%;

  margin: 14px 0 0;
  padding: 0;

  font-size: 14px;
  line-height: 1.5;

  background: none;
  border: none;
  box-shadow: none;
}


  /* Одна карточка в строку */

  .arctic-tasks-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }


  /* Карточка */

  .arctic-task-card {
    min-height: 116px;

    padding:
      15px
      37px
      15px
      112px;

    border-radius: 10px;
  }


  /* Картинка слева */

  .arctic-task-visual {
    position: absolute;

    left: 8px;
    top: 50%;

    width: 96px;
    height: 96px;

    margin: 0;

    transform: translateY(-50%);
  }


  .arctic-task-visual::before {
    width: 95px;
    height: 78px;
  }


  .arctic-task-visual img {
    max-width: 92px;
    max-height: 88px;
  }


  /* Номер */

  .arctic-task-number {
    right: 9px;
    top: 10px;

    font-size: 25px;
  }


  /* Текст */

  .arctic-task-card h3 {
  margin-bottom: 6px;

  font-size: 15px;
  line-height: 1.2;

  text-align: left;
}


  .arctic-task-card p {
  max-width: 100%;

  font-size: 12px;
  line-height: 1.4;

  text-align: left;
}

}


/* =========================================================
   ОЧЕНЬ УЗКИЕ ЭКРАНЫ
   ========================================================= */

@media (max-width: 360px) {

  .arctic-tasks .arctic-heading {
    padding-left: 8px;
    padding-right: 8px;
  }


  .arctic-task-card {
    min-height: 112px;

    padding:
      13px
      31px
      13px
      103px;
  }


  .arctic-task-visual {
    left: 6px;

    width: 89px;
    height: 89px;
  }


  .arctic-task-visual img {
    max-width: 86px;
    max-height: 82px;
  }


  .arctic-task-card h3 {
    font-size: 13.5px;
  }


  .arctic-task-card p {
    font-size: 11px;
  }

}

/* =========================================================
   ВАКАНТНЫЕ ДОЛЖНОСТИ
   ========================================================= */

.vacancies {
  padding: 30px 0 62px;
}

/* ---------- Заголовок ---------- */

.vacancies-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 0 20px;
  text-align: center;
}

.vacancies-heading h2 {
  margin: 0;
  color: #062a68;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.vacancies-heading p {
  max-width: 760px;
  margin: 18px auto 0;
  color: #173d72;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}


/* ---------- Сетка ---------- */

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


/* ---------- Карточка ---------- */

.vacancy-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(35, 82, 154, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 38, 88, 0.10);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) {
  .vacancy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 76, 167, 0.25);
    box-shadow: 0 16px 34px rgba(7, 38, 88, 0.15);
  }
}


/* ---------- Фотография ---------- */

.vacancy-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dce8f4;
}

.vacancy-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(3, 27, 65, 0.18)
  );
  pointer-events: none;
}

.vacancy-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .vacancy-card:hover .vacancy-image img {
    transform: scale(1.035);
  }
}


/* ---------- Текст ---------- */

.vacancy-content {
  padding: 20px 21px 22px;
  text-align: center;
}

.vacancy-content h3 {
  margin: 0 0 9px;
  color: #062a68;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.22;
}

.vacancy-content p {
  margin: 0 auto;
  color: #3f5d89;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .vacancies {
    padding: 22px 0 48px;
  }

  .vacancies-heading {
    margin-bottom: 31px;
  }

  .vacancies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

 

  .vacancy-content {
    padding: 18px 18px 20px;
  }

  .vacancy-content h3 {
    font-size: 18px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .vacancies {
    padding: 18px 0 40px;
  }

  .vacancies-heading {
    max-width: none;
    margin: 0 0 25px;
    padding: 0 10px;
    text-align: left;
  }

  .vacancies-heading h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }

  .vacancies-heading p {
    max-width: 100%;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .vacancies-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .vacancy-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 126px;
    border-radius: 11px;
  }

  .vacancy-image {
    width: 118px;
    height: 100%;
    min-height: 126px;
    aspect-ratio: auto;
  }

  .vacancy-image::after {
    display: none;
  }

  .vacancy-image img {
    height: 100%;
    object-fit: cover;
  }


  .vacancy-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 14px;
    text-align: left;
  }

  .vacancy-content h3 {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.2;
  }

  .vacancy-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }

}


/* ---------- Очень узкие экраны ---------- */

@media (max-width: 360px) {

  .vacancy-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .vacancy-image {
    width: 105px;
  }

  .vacancy-content {
    padding: 13px 11px;
  }

  .vacancy-content h3 {
    font-size: 14px;
  }

  .vacancy-content p {
    font-size: 11.5px;
  }

}

/* =========================================================
   ЛЬГОТЫ И СОЦИАЛЬНЫЕ ГАРАНТИИ
   ========================================================= */

.service-benefits {
  padding: 12px 0 45px;
}

/* ---------- Заголовок ---------- */

.service-benefits-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 0 20px;
  text-align: center;
}

.service-benefits-heading h2 {
  margin: 0;
  color: #062a68;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-benefits-heading p {
  max-width: 760px;
  margin: 18px auto 0;
  color: #173d72;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}


/* ---------- Сетка ---------- */

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}


/* ---------- Карточка ---------- */

.service-benefit-card {
  position: relative;
  min-width: 0;
  padding: 26px 22px 25px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(244, 249, 255, 0.97)
    );
  border: 1px solid rgba(35, 82, 154, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 38, 88, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.service-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #07377e, #0d65c9);
}

@media (hover: hover) {
  .service-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 76, 167, 0.27);
    box-shadow: 0 14px 30px rgba(7, 38, 88, 0.14);
  }
}


/* ---------- Иконка ---------- */

.service-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 0 18px;
  flex: 0 0 52px;
  background: linear-gradient(145deg, #07377e, #0d65c9);
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(7, 55, 126, 0.18);
}

.service-benefit-icon img {
  display: block;
  width: 39px;
  height: 39px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* ---------- Название ---------- */

.service-benefit-card h3 {
  min-height: 52px;
  margin: -70px 0 18px 66px;
  display: flex;
  align-items: center;
  color: #062a68;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}


/* ---------- Список ---------- */

.service-benefit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-benefit-card li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 20px;
  color: #3f5d89;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.43;
  border-top: 1px solid rgba(35, 82, 154, 0.09);
}

.service-benefit-card li:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-benefit-card li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 16px;
  width: 7px;
  height: 7px;
  background: #0d65c9;
  border-radius: 50%;
}

.service-benefit-card li:first-child::before {
  top: 6px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .service-benefits {
    padding: 10px 0 38px;
  }

  .service-benefits-heading {
    margin-bottom: 31px;
  }

  .service-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .service-benefit-card {
    padding: 23px 21px 22px;
  }

  .service-benefit-card h3 {
    font-size: 18px;
  }

  .service-benefit-card li {
    font-size: 13.5px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .service-benefits {
    padding: 8px 0 32px;
  }

  .service-benefits-heading {
    max-width: none;
    margin: 0 0 25px;
    padding: 0 10px;
    text-align: left;
  }

  .service-benefits-heading h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }

  .service-benefits-heading p {
    max-width: 100%;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .service-benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-benefit-card {
    padding: 18px 17px 18px;
    border-radius: 11px;
  }

  .service-benefit-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  border-radius: 10px;
}


.service-benefit-card h3 {
  min-height: 52px;
  margin: -65px 0 13px 66px;
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
}

  .service-benefit-card li {
    padding: 8px 0 8px 18px;
    font-size: 12.5px;
    line-height: 1.42;
  }

  .service-benefit-card li::before {
    top: 13px;
    width: 6px;
    height: 6px;
  }

  .service-benefit-card li:first-child::before {
    top: 5px;
  }

}

/* =========================================================
   ВОЕННАЯ ИПОТЕКА
   ========================================================= */

.military-mortgage {
  padding: 12px 0 45px;
}


/* ---------- Заголовок ---------- */

.military-mortgage-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  padding: 0 20px;
  text-align: center;
}

.military-mortgage-heading h2 {
  margin: 0;
  color: #062a68;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.military-mortgage-heading p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #173d72;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}


/* ---------- Общая панель ---------- */

.mortgage-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(244, 249, 255, 0.97)
    );
  border: 1px solid rgba(35, 82, 154, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 38, 88, 0.10);
}

.mortgage-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #07377e, #0d65c9);
}


/* ---------- Колонки ---------- */

.mortgage-column {
  position: relative;
  min-width: 0;
  padding: 30px 34px 32px;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

@media (hover: hover) {
  .mortgage-column:hover {
    background: rgba(225, 239, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(13, 101, 201, 0.12);
  }

  .mortgage-column:hover .mortgage-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(7, 55, 126, 0.25);
  }
}


/* ---------- Разделитель ---------- */

.mortgage-divider {
  width: 1px;
  margin: 30px 0;
  background: rgba(35, 82, 154, 0.14);
}


/* ---------- Заголовок колонки ---------- */

.mortgage-column-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 21px;
}

.mortgage-column-title h3 {
  margin: 0;
  color: #062a68;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}


/* ---------- Номер ---------- */

.mortgage-icon {
  display: flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
  background: linear-gradient(145deg, #07377e, #0d65c9);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(7, 55, 126, 0.18);
  transition:
  transform 0.25s ease,
  box-shadow 0.25s ease;
}

.mortgage-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.section-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: linear-gradient(145deg, #07377e, #0d65c9);
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(7, 55, 126, 0.18);
}

.section-title-icon img {
  display: block;
  width: 39px;
  height: 39px;
  max-width: 39px;
  max-height: 39px;
  object-fit: contain;
}

/* ---------- Список ---------- */

.mortgage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mortgage-list li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 24px;
  color: #3f5d89;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.48;
  border-top: 1px solid rgba(35, 82, 154, 0.09);
}

.mortgage-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.mortgage-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 7px;
  height: 7px;
  background: #0d65c9;
  border-radius: 50%;
}

.mortgage-list li:first-child::before {
  top: 7px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .military-mortgage {
    padding: 10px 0 38px;
  }

  .military-mortgage-heading {
    margin-bottom: 29px;
  }

  .mortgage-column {
    padding: 25px 23px 27px;
  }

  .mortgage-divider {
    margin: 25px 0;
  }

  .mortgage-column-title {
    gap: 12px;
    margin-bottom: 18px;
  }

  .mortgage-column-title h3 {
    font-size: 18px;
  }

  .mortgage-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .mortgage-list li {
    padding-left: 21px;
    font-size: 13.5px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .military-mortgage {
    padding: 8px 0 32px;
  }

  .military-mortgage-heading {
    max-width: none;
    margin: 0 0 25px;
    padding: 0 10px;
    text-align: left;
  }

  .military-mortgage-heading h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }

  .military-mortgage-heading p {
    max-width: 100%;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .mortgage-panel {
    display: block;
    border-radius: 11px;
  }

  .mortgage-column {
    padding: 21px 17px 22px;
  }

  .mortgage-divider {
    width: auto;
    height: 1px;
    margin: 0 17px;
    background: rgba(35, 82, 154, 0.14);
  }

  .mortgage-column-title {
    gap: 12px;
    margin-bottom: 16px;
  }

  .mortgage-column-title h3 {
    font-size: 16px;
  }

  .mortgage-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 12px;
    border-radius: 9px;
  }

  .mortgage-list li {
    padding: 9px 0 9px 19px;
    font-size: 12.5px;
    line-height: 1.42;
  }

  .mortgage-list li::before {
    top: 14px;
    width: 6px;
    height: 6px;
  }

  .mortgage-list li:first-child::before {
    top: 5px;
  }
.section-title-row {
  justify-content: flex-start;
  gap: 11px;
}

.section-title-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
}

.section-title-icon img {
  width: 35px;
  height: 35px;
  max-width: 35px;
  max-height: 35px;
}
}

/* =========================================================
   ТРЕБОВАНИЯ К КАНДИДАТАМ
   ========================================================= */

.candidate-requirements {
  padding: 12px 0 45px;
}


/* ---------- Заголовок ---------- */

.candidate-requirements-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  padding: 0 20px;
  text-align: center;
}

.candidate-requirements-heading h2 {
  margin: 0;
  color: #062a68;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.candidate-requirements-heading > p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #173d72;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}


/* ---------- Общая плитка ---------- */

.candidate-requirements-panel {
  position: relative;
  overflow: hidden;
  padding: 12px 34px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(244, 249, 255, 0.97)
  );
  border: 1px solid rgba(35, 82, 154, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 38, 88, 0.10);
}

.candidate-requirements-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #07377e, #0d65c9);
}


/* ---------- Список требований ---------- */

.candidate-requirements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.candidate-requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(35, 82, 154, 0.10);
}

.candidate-requirements-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}


/* ---------- Галочка ---------- */

.requirement-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(145deg, #07377e, #0d65c9);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(7, 55, 126, 0.17);
}


/* ---------- Текст ---------- */

.candidate-requirements-list h3 {
  margin: 0 0 5px;
  color: #062a68;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.candidate-requirements-list p {
  margin: 0;
  color: #3f5d89;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .candidate-requirements {
    padding: 10px 0 38px;
  }

  .candidate-requirements-heading {
    margin-bottom: 29px;
  }

  .candidate-requirements-panel {
    padding: 10px 24px;
  }

  .candidate-requirements-list {
    column-gap: 30px;
  }

  .candidate-requirements-list li {
    gap: 12px;
    padding: 16px 0;
  }

  .candidate-requirements-list h3 {
    font-size: 16px;
  }

  .candidate-requirements-list p {
    font-size: 13px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .candidate-requirements {
    padding: 8px 0 32px;
  }

  .candidate-requirements-heading {
    max-width: none;
    margin: 0 0 25px;
    padding: 0 10px;
    text-align: left;
  }

  .candidate-requirements-heading h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }

  .candidate-requirements-heading > p {
    max-width: 100%;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .candidate-requirements-panel {
    padding: 8px 17px;
    border-radius: 11px;
  }

  .candidate-requirements-list {
    grid-template-columns: 1fr;
  }

  .candidate-requirements-list li {
    gap: 11px;
    padding: 14px 0;
  }

  .candidate-requirements-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(35, 82, 154, 0.10);
  }

  .candidate-requirements-list li:last-child {
    border-bottom: 0;
  }

  .requirement-check {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .candidate-requirements-list h3 {
    margin-bottom: 4px;
    font-size: 15px;
  }

  .candidate-requirements-list p {
    font-size: 12px;
    line-height: 1.4;
  }

}

/* =========================================================
   ЭТАПЫ ОТБОРА
   ========================================================= */

.selection-stages {
  padding: 42px 0 45px;
}


/* ---------- Заголовок ---------- */

.selection-stages-heading {
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 0 20px;
  text-align: center;
}

.selection-stages-heading h2 {
  margin: 0;
  color: #062a68;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.selection-stages-heading > p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #173d72;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}


/* ---------- Общая панель ---------- */

.selection-stages-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 34px 22px 30px;
  overflow: hidden;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(244, 249, 255, 0.97)
  );

  border: 1px solid rgba(35, 82, 154, 0.14);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 38, 88, 0.10);
}

.selection-stages-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #07377e, #0d65c9);
}


/* ---------- Этап ---------- */

.selection-stage {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  padding: 0 14px;

  text-align: center;
  background: transparent;
}


/* ---------- Линия последовательности ---------- */

.selection-stage::before {
  content: "";
  position: absolute;
  z-index: 0;

  top: 27px;
  left: 0;

  width: 100%;
  height: 3px;

  background: #8db8e8;
  pointer-events: none;
}

.selection-stage:first-child::before {
  left: 50%;
  width: 50%;
}

.selection-stage:last-child::before {
  width: 50%;
}


/* ---------- Иконка ---------- */

.selection-stage-icon {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 56px;
  width: 56px;
  height: 56px;

  margin-bottom: 17px;

  background: linear-gradient(145deg, #07377e, #0d65c9);
  border: 3px solid #f7fbff;
  border-radius: 12px;

  box-shadow: 0 6px 14px rgba(7, 55, 126, 0.20);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.selection-stage-icon img {
  display: block;

  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;

  object-fit: contain;
}


/* ---------- Название этапа ---------- */

.selection-stage h3 {
  max-width: 175px;
  margin: 0;

  color: #062a68;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}


/* ---------- Hover ---------- */

.selection-stage:hover .selection-stage-icon {
  transform: translateY(-3px);
  box-shadow: 0 9px 19px rgba(7, 55, 126, 0.28);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .selection-stages {
    padding: 34px 0 38px;
  }

  .selection-stages-heading {
    margin-bottom: 31px;
  }

  .selection-stages-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
    padding: 28px 20px;
  }

  .selection-stage {
    padding: 0 12px;
  }

  /*
     На планшете линия идёт отдельно
     через каждый ряд из трёх этапов.
  */

  .selection-stage::before {
    top: 26px;
    left: 0;
    width: 100%;
  }

  .selection-stage:nth-child(1)::before,
  .selection-stage:nth-child(4)::before {
    left: 50%;
    width: 50%;
  }

  .selection-stage:nth-child(3)::before,
  .selection-stage:nth-child(6)::before {
    left: 0;
    width: 50%;
  }

  .selection-stage-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }

  .selection-stage-icon img {
    width: 39px;
    height: 39px;
    max-width: 39px;
    max-height: 39px;
  }

  .selection-stage h3 {
    max-width: 190px;
    font-size: 14px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .selection-stages {
    padding: 28px 0 32px;
  }

  .selection-stages-heading {
    max-width: none;
    margin: 0 0 27px;
    padding: 0 10px;
    text-align: left;
  }

  .selection-stages-heading h2 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.08;
  }

  .selection-stages-heading > p {
    max-width: 100%;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .selection-stages-panel {
    display: block;
    padding: 18px 17px;
    border-radius: 11px;
  }

  .selection-stage {
    min-height: 76px;
    padding: 10px 0 10px 66px;

    display: flex;
    flex-direction: row;
    align-items: center;

    text-align: left;
  }


  /* вертикальная линия */

  .selection-stage::before,
.selection-stage:nth-child(1)::before,
.selection-stage:nth-child(2)::before,
.selection-stage:nth-child(3)::before,
.selection-stage:nth-child(4)::before,
.selection-stage:nth-child(5)::before,
.selection-stage:nth-child(6)::before {
  top: 0;
  left: 25px;

  width: 3px;
  height: 100%;

  background: #8db8e8;
}

  .selection-stage:first-child::before {
    top: 50%;
    left: 25px;
    width: 3px;
    height: 50%;
  }

  .selection-stage:last-child::before {
    top: 0;
    left: 25px;
    width: 3px;
    height: 50%;
  }


  /* иконка слева */

  .selection-stage-icon {
    position: absolute;
    top: 50%;
    left: 0;

    width: 52px;
    height: 52px;
    flex-basis: 52px;

    margin: 0;

    transform: translateY(-50%);
    border-radius: 10px;
  }

  .selection-stage-icon img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
  }

  .selection-stage h3 {
    max-width: none;
    font-size: 14px;
    line-height: 1.3;
  }

  .selection-stage:hover .selection-stage-icon {
    transform: translateY(calc(-50% - 2px));
  }

}