.price-page {
  --price-navy: #244b96;
  --price-teal: #2caeb4;
  --price-pink: #ed7f96;
  --price-ink: #33455a;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0;
  color: var(--price-ink);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.9;
}

.price-intro { max-width: 820px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.price-intro__eyebrow, .price-section__header > p { margin: 0 0 8px; color: var(--price-teal); font-size: 14px; font-weight: 700; letter-spacing: .2em; }
.price-intro h2, .price-section__header h2, .price-notes h2 { color: var(--price-navy); line-height: 1.45; letter-spacing: .06em; }
.price-intro h2 { margin: 0 0 24px; font-size: clamp(28px, 3.2vw, 39px); }
.price-intro > p:last-child { margin: 0; text-align: left; }

.price-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(72px, 9vw, 112px); border-top: 1px solid #dce7e9; border-left: 1px solid #dce7e9; }
.price-index a { position: relative; display: grid; min-height: 128px; align-content: center; gap: 3px; padding: 22px 42px 22px 22px; border-right: 1px solid #dce7e9; border-bottom: 1px solid #dce7e9; color: inherit; text-decoration: none; transition: background .2s ease; }
.price-index a:hover { background: #f3fbfb; }
.price-index small { color: var(--price-teal); font-size: 14px; }
.price-index strong { color: var(--price-navy); font-size: 18px; line-height: 1.45; }
.price-index span { position: absolute; right: 18px; bottom: 18px; color: var(--price-pink); font-size: 20px; }

.price-section { scroll-margin-top: 120px; padding: 0 0 clamp(80px, 10vw, 128px); }
.price-section__header { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 0 64px; align-items: end; margin-bottom: 42px; padding-bottom: 28px; border-bottom: 2px solid var(--price-navy); }
.price-section__header > p { grid-column: 1; }
.price-section__header h2 { grid-column: 1; margin: 0; font-size: clamp(27px, 3vw, 36px); }
.price-section__header > div { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.price-section__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: -18px 0 40px; }
.price-section__actions .c-link-button { min-width: 0; }
.price-group + .price-group { margin-top: 44px; }
.price-group h3 { margin: 0 0 14px; color: var(--price-navy); font-size: clamp(20px, 2vw, 24px); }
.price-cards { display: grid; gap: 30px; }
.price-card { overflow: hidden; border: 1px solid #dce7e9; border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(36,75,150,.06); }
.price-card__head { display: flex; min-height: 190px; justify-content: space-between; gap: 32px; align-items: center; padding: 28px 32px; background: linear-gradient(135deg, #fbffff, #fff); }
.price-card__head h4 { margin: 12px 0 5px; color: #087e68; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.4; }
.price-card__head p { margin: 0; color: #178d75; font-size: 17px; font-weight: 700; }
.price-card__head img { width: 150px; height: 150px; flex: 0 0 150px; border: 5px solid #fff; object-fit: cover; box-shadow: 0 0 0 1px #d7dfdf, 0 8px 20px rgba(0,0,0,.08); }
.price-type { display: inline-block; padding: 4px 9px; border-radius: 3px; background: #fff0f3; color: #b85469; font-size: 14px; font-weight: 700; white-space: nowrap; }
.price-type--insurance { background: #edf8f2; color: #31805c; }
.price-areas { display: inline-flex; gap: 6px; margin-left: 9px; vertical-align: middle; }
.price-area { display: inline-block; padding: 3px 8px; border: 1px solid #9bcfc6; border-radius: 999px; background: #f2fbf9; color: #087e68; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.price-ratings { display: flex; flex-wrap: wrap; gap: 18px 36px; padding: 20px 32px; border-top: 1px solid #e3ecee; background: #f8fbfb; }
.price-ratings span { display: flex; gap: 10px; align-items: center; }
.price-ratings small { font-size: 15px; font-weight: 700; }
.price-ratings b { color: #12a64a; font-size: 20px; letter-spacing: .08em; }
.price-card__compare { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dce7e9; }
.price-card__compare section { padding: 24px 30px; }
.price-card__compare section + section { border-left: 1px solid #dce7e9; }
.price-card__compare h5 { margin: -24px -30px 18px; padding: 11px 18px; background: #f7f9fa; color: var(--price-navy); font-size: 17px; }
.price-card__compare ul { display: grid; gap: 6px; margin: 0; padding-left: 1.3em; }
.price-card__foot { display: flex; flex-wrap: wrap; gap: 12px 38px; padding: 20px 32px; border-top: 1px solid #dce7e9; background: #fffaf7; }
.price-card__foot p { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: baseline; margin: 0; }
.price-card__foot small { color: #657487; font-size: 14px; font-weight: 700; }
.price-card__foot strong { color: #263e62; font-size: 18px; }
.price-card__foot span { width: 100%; font-size: 14px; }
.price-section__tax { margin: 12px 0 0; color: #687789; font-size: 14px; text-align: right; }
.price-back { display: block; width: max-content; margin: 20px 0 0 auto; color: var(--price-navy); font-size: 14px; }

.price-notes { padding: clamp(28px, 5vw, 48px); border-left: 4px solid var(--price-teal); background: #f5fbfb; }
.price-notes h2 { margin: 0 0 18px; font-size: clamp(22px, 2.5vw, 29px); }
.price-notes ul { display: grid; gap: 8px; margin: 0; padding-left: 1.4em; }

@media (max-width: 800px) {
  .price-page { width: min(100% - 32px, 660px); padding-top: 56px; }
  .price-index { grid-template-columns: repeat(2, 1fr); }
  .price-index a { min-height: 112px; padding: 17px 32px 17px 16px; }
  .price-section__header { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .price-section__header > p, .price-section__header h2, .price-section__header > div { grid-column: 1; grid-row: auto; }
  .price-card__head { min-height: 0; padding: 24px 20px; }
  .price-card__head img { width: 100px; height: 110px; flex-basis: 100px; }
  .price-ratings { display: grid; gap: 7px; padding: 18px 20px; }
  .price-ratings span { justify-content: space-between; }
  .price-card__compare { grid-template-columns: 1fr; }
  .price-card__compare section + section { border-left: 0; border-top: 1px solid #dce7e9; }
  .price-card__foot { display: grid; gap: 8px; padding: 18px 20px; }
  .price-section__actions { margin: -18px 0 32px; }
}

@media (max-width: 480px) {
  .price-index { grid-template-columns: 1fr; }
  .price-index a { min-height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  .price-index a { transition: none; }
}
