.prices-symbols { position: absolute; overflow: hidden; }
.prices-stage {
  padding-bottom: clamp(32px, 5vw, 64px);
  background: linear-gradient(180deg, #f3efe61f, #f3efe642 clamp(300px, 39vw, 610px), var(--warm-paper) clamp(410px, 55vw, 880px)),
    url("./assets/service-prices-storefront.webp?v=original") center top / 100% auto no-repeat,
    var(--warm-paper);
}
.prices-hero {
  padding-block: clamp(22px, 3.5vw, 56px) clamp(30px, 5vw, 72px);
  text-align: center;
}
.prices-hero h1 {
  font: 400 clamp(38px, 5vw, 68px)/1.24 var(--display-type);
  letter-spacing: -.028em;
}
.prices-tabs {
  --price-tab-active: #245440;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid #c7cbb8;
  border-radius: 999px;
  background: linear-gradient(155deg, #fffaf0, #e9eddf);
  box-shadow: inset 0 1px #fff9, 0 6px 18px #24342d1a;
}
.prices-tabs.is-fluid { overflow: clip; }
.prices-gooey-canvas, .prices-gooey-overlay {
  position: absolute;
  pointer-events: none;
  display: none;
}
.is-fluid .prices-gooey-canvas { display: block; z-index: -1; }
.is-fluid .prices-gooey-overlay {
  inset: 0;
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
  padding: inherit;
  visibility: hidden;
  z-index: 1;
}
.prices-tabs :is(button, .prices-gooey-label) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 12px);
  min-height: 46px;
  padding: 7px 9px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  color: #2b4637;
  font-family: inherit;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: background-color 180ms ease;
}
.prices-tabs .prices-gooey-label { color: #fffdf8; }
.prices-tabs .prices-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
}
@media (hover: hover) {
  .prices-tabs button:hover { background: #dce5d6; }
}
.prices-tabs button[aria-pressed="true"] { background: var(--price-tab-active); color: #fffdf8; }
.prices-tabs.is-fluid button { background: transparent; color: #2b4637; }
@media (prefers-reduced-motion: reduce) {
  .prices-tabs button { transition: none; }
}
.prices-icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prices-group, .prices-service { scroll-margin-top: 72px; }
.prices-group { padding-top: clamp(24px, 4vw, 45px); }
.prices-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.prices-group-head > .prices-icon { color: var(--forest); width: 29px; height: 29px; }
.prices-group-head h2 { font: 400 clamp(26px, 3.2vw, 42px)/1.3 var(--display-type); }
.prices-service {
  padding-block: 20px 28px;
  border-top: 1px solid var(--quiet-rule);
}
.prices-service-name { margin-bottom: 14px; }
.prices-service-name h3 { font-size: clamp(18px, 2vw, 23px); line-height: 1.4; }
.prices-service-name p, .prices-terms { margin-top: 4px; font-size: 14px; color: var(--secondary); }
.prices-service-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.prices-card {
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--quiet-rule);
  border-radius: 16px;
  background: var(--warm-card);
  box-shadow: 0 6px 18px #24342d0b;
}
.prices-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 650 18px/1.4 var(--display-type);
}
.prices-card h4 .prices-icon { color: var(--forest); }
.prices-card-body {
  display: grid;
  grid-template-columns: minmax(100px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}
.prices-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
  color: var(--forest);
  font-size: 13px;
}
.prices-amount strong {
  font: 650 clamp(31px, 3.1vw, 46px)/1.12 Georgia, var(--display-type);
  font-variant-numeric: lining-nums tabular-nums;
}
.prices-free { justify-content: center; padding: 10px; border-radius: 12px; background: #e9eee1; }
.prices-card ul {
  display: grid;
  gap: 5px;
  padding-inline-start: 13px;
  border-inline-start: 1px solid var(--quiet-rule);
  list-style: none;
  color: var(--secondary);
  font-size: 14px;
}
.prices-card li { display: flex; align-items: baseline; gap: 7px; }
.prices-card li .prices-icon { align-self: flex-start; margin-top: .32em; color: var(--forest); }
.prices-addons { margin: 10px 0 0; font-size: 14px; }
.prices-addons > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 10px;
  padding-block: 8px;
  border-bottom: 1px solid var(--quiet-rule);
}
.prices-addons > div:last-child { padding-bottom: 0; border: 0; }
.prices-addons dd {
  margin: 0;
  padding: 2px 8px;
  border-radius: 8px;
  background: #edf0e7;
  color: var(--forest);
  font-weight: 650;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
@media (max-width: 1050px) {
  .prices-card-body { grid-template-columns: 1fr; gap: 10px; }
  .prices-card ul { padding-inline-start: 0; border: 0; }
  .prices-free { justify-content: flex-start; }
}
@media (max-width: 800px) {
  .prices-stage {
    background-size: auto, auto 410px, auto;
    background-position: center top, center top, center top;
  }
  .prices-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 17px; }
  .prices-tabs button { border-radius: 12px; }
  .prices-group, .prices-service { scroll-margin-top: 116px; }
  .prices-service-detail { grid-template-columns: 1fr; }
}
