.iap-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #123f75;
}

.iap-hero-bg {
  position: absolute;
  inset: 0;
}

.iap-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.iap-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 47, 96, 0.94), rgba(7, 47, 96, 0.72) 48%, rgba(7, 47, 96, 0.22));
}

.iap-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.iap-hero-copy {
  max-width: 820px;
}

.iap-kicker {
  margin: 0 0 14px;
  color: #87d8ff;
  font-weight: 800;
  letter-spacing: 0;
}

.iap-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1.16;
}

.iap-hero p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.9;
}

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

.iap-primary,
.iap-secondary,
.iap-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.iap-primary,
.iap-header-cta {
  background: #86d5ff;
  color: #083669 !important;
}

.iap-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.iap-secondary.dark {
  border-color: #0f4a8b;
  color: #0f4a8b !important;
}

.iap-header-cta {
  min-height: 38px;
  padding: 0 16px;
  margin-left: 14px;
}

.iap-section {
  padding: 76px 0;
}

.iap-head {
  text-align: center;
  margin-bottom: 30px;
}

.iap-head p {
  margin: 0 0 8px;
  color: #0f75bd;
  font-weight: 800;
}

.iap-head h2,
.iap-authorized h2 {
  margin: 0;
  color: #102f55;
  font-size: 34px;
  line-height: 1.36;
}

.iap-position {
  background: #f4f8fc;
}

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

.iap-card-grid div,
.iap-authorized-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dfeaf3;
  box-shadow: 0 14px 30px rgba(18, 63, 117, 0.07);
}

.iap-card-grid div {
  padding: 26px;
}

.iap-card-grid b {
  display: inline-block;
  margin-bottom: 18px;
  color: #0f75bd;
  font-size: 30px;
}

.iap-card-grid h3 {
  margin: 0 0 10px;
  color: #102f55;
  font-size: 20px;
}

.iap-card-grid p,
.iap-authorized-card p {
  margin: 0;
  color: #5a6b77;
  line-height: 1.85;
}

.iap-authorized {
  background: #0f3e75;
}

.iap-authorized-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
}

.iap-authorized-card > div {
  max-width: 820px;
}

.iap-mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .iap-hero,
  .iap-hero-inner {
    min-height: 520px;
  }

  .iap-hero h1 {
    font-size: 36px;
  }

  .iap-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .iap-hero,
  .iap-hero-inner {
    min-height: 500px;
  }

  .iap-hero::after {
    background: linear-gradient(180deg, rgba(7, 47, 96, 0.94), rgba(7, 47, 96, 0.78));
  }

  .iap-hero h1 {
    font-size: 30px;
  }

  .iap-hero p {
    font-size: 16px;
  }

  .iap-actions a {
    flex: 1;
  }

  .iap-section {
    padding: 48px 0;
  }

  .iap-head h2,
  .iap-authorized h2 {
    font-size: 24px;
  }

  .iap-authorized-card {
    display: block;
    padding: 24px;
  }

  .iap-authorized-card .iap-secondary {
    margin-top: 18px;
  }

  .iap-mobile-cta {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    box-shadow: 0 -8px 22px rgba(15, 62, 117, 0.16);
  }

  .iap-mobile-cta a {
    padding: 13px 4px;
    text-align: center;
    color: #0f3e75;
    font-weight: 800;
    text-decoration: none;
    border-right: 1px solid #e4ecf2;
  }

  .iap-mobile-cta a:first-child {
    background: #86d5ff;
    color: #083669;
  }
}
