.mes-hp {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2e3a;
  background: #fff;
}

.mes-hp * {
  box-sizing: border-box;
}

.hp-shell {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.hp-hero {
  background: #f3f8fb;
  position: relative;
  overflow: hidden;
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  min-height: 560px;
  align-items: center;
  gap: 50px;
  padding: 40px 0;
}

.hp-kicker {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #087fbd;
  margin: 0 0 12px;
}

.hp-hero h1 {
  font-size: clamp(43px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  color: #202b36;
  margin: 0;
  max-width: 650px;
}

.hp-hero-copy {
  font-size: 19px;
  line-height: 1.58;
  color: #526673;
  max-width: 620px;
  margin: 24px 0 29px;
}

.hp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 8px;
  background: #0072b8;
  color: #fff !important;
}

.hp-btn.dark {
  background: #202b36;
}

.hp-btn.white {
  background: #fff;
  color: #0072b8 !important;
}

.hp-visual {
  height: 480px;
  position: relative;
  border-radius: 26px;
  background: linear-gradient(135deg, #0a3550, #0072b8 60%, #005f99);
  box-shadow: 0 25px 55px rgba(29, 58, 77, 0.22);
}

.hp-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.hp-visual.has-image:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(215deg, transparent 55%, rgba(12, 30, 44, 0.38));
  pointer-events: none;
}

.hp-badge {
  position: absolute;
  z-index: 2;
  left: -26px;
  bottom: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  align-items: start;
  background: #fff;
  border-radius: 16px;
  padding: 17px 20px;
  box-shadow: 0 18px 40px rgba(29, 58, 77, 0.26);
  max-width: 264px;
}

.hp-badge-dot {
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hp-badge strong {
  grid-column: 2;
  display: block;
  color: #202b36;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.hp-badge-sub {
  grid-column: 2;
  color: #5c6f7c;
  font-size: 13.5px;
  line-height: 1.45;
  margin-top: 3px;
}

.hp-paths {
  padding: 72px 0;
}

.hp-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.hp-head h2 {
  font-size: clamp(32px, 4vw, 47px);
  letter-spacing: -1px;
  margin: 0 0 13px;
  color: #202b36;
}

.hp-head p {
  font-size: 17px;
  line-height: 1.6;
  color: #60727f;
}

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

.hp-card {
  border: 1px solid #dce7ed;
  border-radius: 17px;
  padding: 31px;
  background: #fff;
  transition: 0.2s;
  box-shadow: 0 8px 24px rgba(35, 65, 82, 0.06);
}

.hp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(35, 65, 82, 0.12);
}

.hp-num {
  width: 42px;
  height: 42px;
  background: #e2f3f9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #087fbd;
  font-weight: 900;
}

.hp-card h3 {
  font-size: 23px;
  margin: 19px 0 9px;
}

.hp-card p {
  color: #5d6f7b;
  line-height: 1.58;
  min-height: 76px;
}

.hp-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #087fbd !important;
  text-decoration: none;
}

.hp-band {
  background: #202b36;
  color: #fff;
  padding: 72px 0;
}

.hp-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.hp-band-card {
  border-radius: 20px;
  padding: 40px;
  background: #293a47;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-band-card.blue {
  background: #087fbd;
}

.hp-band-card h2 {
  font-size: 33px;
  color: #fff;
  margin: 10px 0 12px;
}

.hp-band-card p {
  color: #dce8ed;
  font-size: 17px;
  line-height: 1.6;
}

.hp-band-card .hp-kicker {
  color: #82d9f1;
}

.hp-news {
  padding: 70px 0;
  background: #f3f8fb;
}

.hp-news-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 20px;
  padding: 38px;
}

.hp-news h2 {
  margin: 0 0 9px;
  font-size: 34px;
}

.hp-news p {
  margin: 0;
  color: #5b6d79;
  line-height: 1.6;
  max-width: 700px;
}

@media (max-width: 880px) {
  .hp-hero-grid, .hp-grid, .hp-band-grid {
    grid-template-columns: 1fr;
  }
  .hp-hero-grid {
    text-align: center;
  }
  .hp-hero-copy {
    margin-left: auto;
    margin-right: auto;
  }
  .hp-actions {
    justify-content: center;
  }
  .hp-visual {
    height: 320px;
  }
  .hp-badge {
    left: 15px;
  }
  .hp-card p {
    min-height: 0;
  }
  .hp-news-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .hp-hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }
  .hp-hero-copy {
    font-size: 17px;
  }
  .hp-visual {
    height: 260px;
  }
  .hp-actions {
    width: 100%;
  }
  .hp-actions .hp-btn {
    width: 100%;
    text-align: center;
  }
  .hp-badge {
    left: 12px;
    right: 12px;
    max-width: none;
  }
  .hp-card, .hp-band-card, .hp-news-inner {
    padding: 25px;
  }
  .hp-paths, .hp-band, .hp-news {
    padding: 52px 0;
  }
}
