.ace-service-plans {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 clamp(54px, 6vw, 80px);
  background: #fff4e5;
  color: #123c30;
  border-block: 1px solid #ead7bd;
}
.ace-service-plans::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% -35%, rgb(255 151 72 / 25%), transparent 66%);
  pointer-events: none;
}
.ace-service-plans .ace-service-plans-inner { position: relative; }
.ace-service-plans-heading {
  max-width: 690px;
  margin: 0 auto 42px;
  text-align: center;
}
.ace-service-plans .ace-service-plans-kicker {
  margin: 0 0 13px;
  color: #a84218;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.6;
}
.ace-service-plans-heading h2 {
  margin: 0 0 16px;
  color: #123c30;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.16;
}
.ace-service-plans-heading > p:last-child {
  max-width: 555px;
  margin: 0 auto;
  color: #526354;
  font-size: .98rem;
  line-height: 1.65;
}
.ace-service-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.ace-service-plan {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 9px 25px 2px;
  text-align: center;
}
.ace-service-plan + .ace-service-plan::before {
  content: "";
  position: absolute;
  top: 37px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: linear-gradient(transparent, rgb(18 60 48 / 18%) 25%, rgb(18 60 48 / 18%) 75%, transparent);
}
.ace-service-plan-badge {
  position: relative;
  flex: 0 0 auto;
  width: clamp(110px, 10vw, 138px);
  height: clamp(110px, 10vw, 138px);
  display: grid;
  place-items: center;
  margin: 0 0 25px;
  border: 1px solid rgb(255 207 159 / 34%);
  border-radius: 50%;
  color: #123c30;
  background: linear-gradient(145deg, #ff9b53, #f57736 64%, #ed662b);
  box-shadow: 0 9px 0 rgb(159 82 29 / 9%), 0 18px 32px rgb(183 91 33 / 10%), inset 0 1px 0 rgb(255 237 207 / 40%);
}
.ace-service-plan-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(18 60 48 / 16%);
  border-radius: inherit;
}
.ace-service-plan-badge svg {
  position: relative;
  width: 74%;
  height: 74%;
}
.ace-service-plans .ace-service-plan h3 {
  max-width: 245px;
  min-height: 2.6em;
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #123c30;
  font-size: clamp(1.12rem, 1.55vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.ace-service-plan > p {
  max-width: 238px;
  margin: 0 0 22px;
  color: #526354;
  font-size: .92rem;
  line-height: 1.7;
}
.ace-service-plans .ace-service-plan-link {
  min-height: 46px;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #123c30;
  border-radius: 6px;
  color: #fff9eb;
  background: #123c30;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ace-service-plans .ace-service-plan-link:hover {
  border-color: #f78749;
  color: #123c30;
  background: #ff9b53;
}
.ace-service-plans .ace-service-plan-link:focus-visible {
  outline: 3px solid #a84218;
  outline-offset: 5px;
}
@media (max-width: 960px) {
  .ace-service-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; }
  .ace-service-plan { padding: 8px 24px 0; }
  .ace-service-plan:nth-child(3)::before { content: none; }
  .ace-service-plan-badge { width: 124px; height: 124px; }
  .ace-service-plans .ace-service-plan h3 { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .ace-service-plans { padding: 48px 0; }
  .ace-service-plans-heading { margin-bottom: 32px; }
  .ace-service-plans-heading h2 { font-size: 2rem; }
  .ace-service-plans-heading > p:last-child { font-size: .91rem; }
  .ace-service-plans-grid { row-gap: 30px; }
  .ace-service-plan { padding: 5px 10px 0; }
  .ace-service-plan + .ace-service-plan::before { top: 28px; bottom: 12px; }
  .ace-service-plan-badge { width: 98px; height: 98px; margin-bottom: 20px; }
  .ace-service-plan-badge::before { inset: 6px; }
  .ace-service-plans .ace-service-plan h3 { min-height: 3.9em; margin-bottom: 10px; font-size: 1.08rem; }
  .ace-service-plan > p { margin-bottom: 17px; font-size: .83rem; line-height: 1.6; }
  .ace-service-plans .ace-service-plan-link { padding: 10px 10px; font-size: .77rem; }
}
@media (max-width: 350px) {
  .ace-service-plans-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .ace-service-plan + .ace-service-plan::before { content: none; }
  .ace-service-plans .ace-service-plan h3 { min-height: 0; }
  .ace-service-plan > p { max-width: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .ace-service-plans .ace-service-plan-link { transition: none; }
}
