.anranst-core-services {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  border-top: 1px solid #ded8cd;
  background: #f5f2eb;
  color: #0c2445;
}

.anranst-core-services::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #d5aa46;
  content: "";
}

.anranst-core-services__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.anranst-core-services__head {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}

.anranst-core-services__kicker {
  display: block;
  margin-bottom: 12px;
  color: #a67a1f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.anranst-core-services h2 {
  margin: 0;
  color: #0c2445;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}

.anranst-core-services__lead {
  margin: 0;
  color: #53677f;
  font-size: 16px;
  line-height: 1.8;
}

.anranst-core-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.anranst-core-services__card {
  min-width: 0;
  padding: 24px 22px 26px;
  border: 1px solid #d9e0e8;
  border-top: 3px solid #d5aa46;
  border-radius: 14px;
  background: #fff;
}

.anranst-core-services__number {
  display: block;
  margin-bottom: 18px;
  color: #2873bd;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.anranst-core-services h3 {
  margin: 0 0 10px;
  color: #0c2445;
  font-size: 19px;
  line-height: 1.35;
}

.anranst-core-services__card p {
  margin: 0;
  color: #607187;
  font-size: 14px;
  line-height: 1.72;
}

.anranst-core-services__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #0c2445;
  color: #fff;
}

.anranst-core-services__action p {
  max-width: 760px;
  margin: 0;
  color: #dce6f1;
  line-height: 1.65;
}

.anranst-core-services__action a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #e0b955;
  color: #0c2445;
  font-weight: 800;
  text-decoration: none;
}

.anranst-core-services__action a:hover,
.anranst-core-services__action a:focus-visible {
  background: #efcb70;
}

@media (max-width: 980px) {
  .anranst-core-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .anranst-core-services { padding: 52px 0; }
  .anranst-core-services__inner { width: min(100% - 28px, 1180px); }
  .anranst-core-services__head { grid-template-columns: 1fr; gap: 16px; }
  .anranst-core-services__grid { grid-template-columns: 1fr; }
  .anranst-core-services__action { align-items: flex-start; flex-direction: column; }
  .anranst-core-services__action a { width: 100%; }
}
