/* Semantic HTML hero v7: all headings, descriptions, icons, and links remain real HTML. */
.semantic-hero-v7 {
  padding: 18px 0 18px;
  background: linear-gradient(180deg, #eef7fd 0%, #f6fbfe 78%, #ffffff 100%);
}

.hero-shell-v7 {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-main-v7 {
  position: relative;
  min-height: 392px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(90deg, #f8fcff 0%, #edf7fd 48%, #bfe2f7 100%);
  box-shadow: 0 18px 52px rgba(7, 68, 116, .10);
}

.hero-copy-v7 {
  position: relative;
  z-index: 4;
  width: 57%;
  padding: 48px 36px 138px 44px;
}

.hero-copy-v7 h1 {
  max-width: 760px;
  margin: 0;
  color: #073b7a;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: .98;
  letter-spacing: -2.8px;
  font-weight: 800;
}

.hero-subtitle-v7 {
  margin: 18px 0 0;
  color: #152c48;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.12;
  font-weight: 600;
}

.hero-accent-v7 {
  display: block;
  width: 138px;
  height: 5px;
  margin: 28px 0 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0758a8 0 62%, #16b762 63% 100%);
}

.hero-description-v7 {
  max-width: 520px;
  margin: 0;
  color: #273b52;
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.5;
}

.hero-image-v7 {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image-v7::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #edf7fd 0%, rgba(237,247,253,.82) 10%, rgba(237,247,253,0) 32%);
}

.hero-image-v7 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}

.hero-wave-green-v7,
.hero-wave-blue-v7 {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 56% 0 0 0;
  transform-origin: bottom right;
}

.hero-wave-green-v7 {
  right: -5%;
  bottom: 1px;
  width: 66%;
  height: 116px;
  background: #10b963;
  transform: rotate(-7deg);
}

.hero-wave-blue-v7 {
  right: -6%;
  bottom: -41px;
  width: 72%;
  height: 136px;
  background: #0754a2;
  transform: rotate(-5deg);
}

.hero-services-v7 {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: calc(100% - 54px);
  margin: -112px auto 0;
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 44px rgba(8, 57, 101, .12);
}

.hero-service-v7 {
  position: relative;
  min-height: 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 22px 20px;
  color: #10233c;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.hero-service-v7:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;
  width: 1px;
  background: #dce7f0;
}

.hero-service-v7:hover,
.hero-service-v7:focus-visible {
  background: #f5faff;
  transform: translateY(-2px);
}

.service-icon-v7 {
  display: block;
  width: 78px;
  height: 78px;
  margin-bottom: 10px;
}

.service-icon-v7 svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-icon-v7 .icon-bg {
  fill: #e8f3ff;
}

.service-icon-v7 .icon-line {
  fill: none;
  stroke: #0757a7;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-v7 .icon-green-line {
  fill: none;
  stroke: #13b663;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-v7 .icon-badge {
  fill: #13b663;
}

.service-icon-v7 .badge-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon-v7 .badge-text {
  fill: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.service-icon-v7 .badge-question {
  font-size: 19px;
}

.hero-service-v7 strong {
  color: #073b7a;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.hero-service-v7 > span:last-child {
  max-width: 220px;
  margin-top: 9px;
  color: #34475c;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .hero-shell-v7 {
    width: min(1060px, calc(100% - 30px));
  }

  .hero-main-v7 {
    min-height: 370px;
  }

  .hero-copy-v7 {
    width: 60%;
    padding: 43px 28px 130px 36px;
  }

  .hero-copy-v7 h1 {
    font-size: clamp(42px, 5.8vw, 64px);
  }

  .hero-services-v7 {
    width: calc(100% - 34px);
  }

  .hero-service-v7 {
    min-height: 212px;
    padding-inline: 14px;
  }

  .hero-service-v7 strong {
    font-size: 16px;
  }

  .hero-service-v7 > span:last-child {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .semantic-hero-v7 {
    padding: 8px 0 12px;
  }

  .hero-shell-v7 {
    width: calc(100% - 20px);
  }

  .hero-main-v7 {
    min-height: 420px;
    border-radius: 18px;
  }

  .hero-copy-v7 {
    width: 100%;
    padding: 32px 24px 210px;
  }

  .hero-copy-v7 h1 {
    max-width: 560px;
    font-size: clamp(38px, 10vw, 56px);
    letter-spacing: -1.6px;
  }

  .hero-subtitle-v7 {
    margin-top: 10px;
    font-size: clamp(20px, 5.5vw, 29px);
  }

  .hero-accent-v7 {
    margin: 20px 0 18px;
  }

  .hero-description-v7 {
    max-width: 480px;
    font-size: 16px;
  }

  .hero-image-v7 {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 215px;
    clip-path: none;
  }

  .hero-image-v7::after {
    background: linear-gradient(180deg, #edf7fd 0%, rgba(237,247,253,.32) 38%, rgba(237,247,253,0) 66%);
  }

  .hero-image-v7 img {
    object-position: 52% 54%;
  }

  .hero-wave-green-v7 {
    width: 104%;
    height: 74px;
    right: -12%;
    bottom: -4px;
  }

  .hero-wave-blue-v7 {
    width: 112%;
    height: 84px;
    right: -14%;
    bottom: -38px;
  }

  .hero-services-v7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 24px);
    margin-top: -24px;
    border-radius: 16px;
  }

  .hero-service-v7 {
    min-height: 172px;
    padding: 18px 14px;
  }

  .hero-service-v7:not(:last-child)::after {
    display: none;
  }

  .hero-service-v7 {
    border-bottom: 1px solid #dce7f0;
  }

  .hero-service-v7:nth-child(odd) {
    border-right: 1px solid #dce7f0;
  }

  .hero-service-v7:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .service-icon-v7 {
    width: 66px;
    height: 66px;
  }
}

@media (max-width: 480px) {
  .hero-copy-v7 {
    padding: 28px 18px 205px;
  }

  .hero-services-v7 {
    grid-template-columns: 1fr;
  }

  .hero-service-v7,
  .hero-service-v7:nth-child(odd),
  .hero-service-v7:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid #dce7f0;
  }

  .hero-service-v7:last-child {
    border-bottom: 0;
  }
}
