/* Price page — clean, stable editorial layout */
.page-price {
  --price-clean-ink: #263946; --text-v37-price-clean-ink: #263946;
  --price-clean-muted: #71808a; --text-v37-price-clean-muted: #71808a;
  --price-clean-blue: #39779d; --text-v37-price-clean-blue: #759bb3;
  --price-clean-blue-dark: #39779d; --text-v37-price-clean-blue-dark: #4f6f82;
  --price-clean-navy: #34434e; --text-v37-price-clean-navy: #34434e;
  --price-clean-paper: #f7f5f1; --text-v37-price-clean-paper: #f7f5f1;
  --price-clean-line: rgba(38, 57, 70, .16); --text-v37-price-clean-line: rgba(38, 57, 70, .16);
  overflow-x: clip;
  background: #fff;
}

.page-price main {
  width: 100%;
  overflow: hidden;
}

.page-price .hero {
  height: clamp(600px, 70vh, 760px);
  min-height: 600px;
  margin: 0;
}

.page-price .hero::before {
  width: 76%;
  background: linear-gradient(90deg, rgba(57, 119, 157, .8) 0 58%, rgba(57, 119, 157, .58) 78%, rgba(57, 119, 157, 0) 100%);
}

.page-price .hero__bg .ph {
  background-position: center 58%;
}

.page-price .hero__content {
  top: 50%;
  left: max(64px, calc((100vw - 1440px) / 2));
  width: min(720px, 70vw);
  transform: translateY(-43%);
}

.page-price .hero__eyebrow {
  margin-bottom: 25px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  letter-spacing: .16em;
}

.page-price .hero__title {
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(40px, 3.5vw, 54px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .08em;
}

.page-price .hero__desc {
  width: 100%;
  max-width: none;
  margin-top: 30px;
  font-size: clamp(12px, .9vw, 14px) !important;
  line-height: 2.15;
  letter-spacing: .055em;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .page-price .type-card__desc br,
  .page-price .plan-card__desc br,
  .page-price .option-card__desc br,
  .page-price .estimate__desc br {
    display: none;
  }
}

.page-price .price-type > .container,
.page-price .plans > .container,
.page-price .options > .container,
.page-price .funding > .container {
  width: min(1440px, calc(100% - 128px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.page-price .sec-head {
  display: grid;
  grid-template-columns: 34px minmax(0, auto) minmax(64px, 1fr);
  align-items: center;
  column-gap: 18px;
  row-gap: 10px;
  margin: 0 0 56px;
}

.page-price .sec-head::after {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  height: 1px;
  background: rgba(38, 57, 70, .28);
  content: "";
}

.page-price .sec-head__num {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-v37-price-clean-blue-dark);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
}

.page-price .sec-head__num::before,
.page-price .sec-head__num::after {
  content: none !important;
}

.page-price .sec-head__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--text-v37-price-clean-ink);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(27px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .075em;
}

.page-price .sec-head__note {
  grid-column: 2 / -1;
  grid-row: 2;
  justify-self: start;
  margin: 0;
  color: var(--text-v37-price-clean-muted);
  font-size: 11px;
  letter-spacing: .07em;
}

/* 01: building types */
.page-price .price-type {
  padding: 116px 0 124px;
  background:
    linear-gradient(90deg, #ecf2f6 0 25%, #fff 25% 100%);
}

.page-price .price-type__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.page-price .type-card {
  display: flex;
  min-width: 0;
  padding: 0;
  flex-direction: column;
  border: 0;
  background: #fff;
  box-shadow: 0 12px 32px rgba(57, 119, 157, .08);
}

.page-price .type-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  margin: 0;
}

.page-price .type-card__label {
  top: 18px;
  left: 18px;
  min-width: 72px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(57, 119, 157, .92);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 11px;
}

.page-price .type-card__price {
  margin: 29px 28px 0;
  color: var(--text-v37-price-clean-ink);
  font-size: clamp(26px, 2vw, 34px);
  white-space: nowrap;
}

.page-price .type-card__desc {
  min-height: 92px;
  margin: 14px 28px 0;
  padding-bottom: 28px;
  color: #5e6b73;
  font-size: 12px;
  line-height: 1.95;
}

/* 02: included */
.page-price .included {
  min-height: 0;
  padding: 120px 0 128px;
  background: #eef3f6;
}

.page-price .included::before {
  content: none;
}

.page-price .included::after {
  content: none;
}

.page-price .included > .container {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1440px, calc(100% - 128px));
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.page-price .included .sec-head {
  display: grid;
  margin: 0 0 56px;
  padding: 0;
}

.page-price .included .sec-head__num {
  color: var(--text-v37-price-clean-blue-dark);
}

.page-price .included .sec-head__title {
  max-width: none;
  color: var(--text-v37-price-clean-ink);
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.45;
}

.page-price .included__row {
  display: block;
  width: 100%;
  margin: 0;
  padding: 54px 52px 42px;
  border: 1px solid rgba(38, 57, 70, .1);
  background: #fff;
  box-shadow: 0 18px 44px rgba(38, 57, 70, .07);
}

.page-price .included__items {
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.page-price .included__item {
  min-height: 166px;
  padding: 10px 18px 20px;
  border-right: 1px solid var(--price-clean-line);
}

.page-price .included__item:last-child {
  border-right: 0;
}

.page-price .included__icon {
  width: 94px;
  height: 94px;
  border-color: rgba(57, 119, 157, .52);
  border-radius: 50%;
  background: #f7fafb;
}

.page-price .included__icon img {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.page-price .included__icon--joinery img {
  width: 100%;
  height: 100%;
}

.page-price .included__icon--scaffolding img,
.page-price .included__icon--structure img {
  width: 88%;
  height: 88%;
}

.page-price .included__label {
  margin-top: 16px;
  color: var(--text-v37-price-clean-ink);
  font-size: 12px;
  line-height: 1.65;
}

.page-price .included__note {
  width: 100%;
  max-width: none;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--price-clean-line);
  color: #5d6c75;
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}

/* 03: plans */
.page-price .plans {
  padding: 124px 0 132px;
  background: #fff;
}

.page-price .plans__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.page-price .plan-card {
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 480px;
  border: 1px solid var(--price-clean-line);
  background: #f1f5f8;
}

.page-price .plan-card:nth-of-type(2) {
  border-color: var(--price-clean-navy);
  background: var(--price-clean-navy);
}

.page-price .plan-card__body {
  min-height: 480px;
  padding: 58px 38px 48px 48px;
}

.page-price .plan-card__label {
  display: inline-flex;
  min-width: 92px;
  padding: 8px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c3a968;
  color: #fff;
  font-size: 11px;
}

.page-price .plan-card--premium .plan-card__label {
  background: var(--price-clean-blue-dark);
}

.page-price .plan-card__desc {
  margin-top: 27px;
  color: var(--text-v37-price-clean-ink);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.75;
}

.page-price .plan-card__list {
  margin-top: 30px;
  color: #52616b;
  font-size: 11px;
  line-height: 2.15;
}

.page-price .plan-card__image {
  width: 220px;
  height: 100%;
  min-height: 480px;
}

.page-price .plan-card__image img {
  object-fit: cover;
}

/* 04: options */
.page-price .options {
  padding: 124px 0 132px;
  background: var(--price-clean-paper);
}

.page-price .options__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-price .option-card {
  padding: 0 0 27px;
  border: 1px solid rgba(38, 57, 70, .1);
  background: #fff;
}

.page-price .option-card__image {
  height: auto;
  aspect-ratio: 1.43;
  margin-bottom: 24px;
}

.page-price .option-card__title {
  margin-right: 24px;
  margin-left: 24px;
  padding-bottom: 13px;
  font-size: 16px;
}

.page-price .option-card__desc {
  margin: 13px 24px 0;
}

/* 05: funding */
.page-price .funding {
  padding: 124px 0 132px;
  background: #fff;
}

.page-price .funding .sec-head__title {
  color: var(--text-v37-price-clean-ink) !important;
}

.page-price .funding .sec-head__note {
  color: var(--text-v37-price-clean-muted) !important;
}

.page-price .funding__intro {
  max-width: 760px;
  margin: -24px 0 46px 52px;
  color: #596872;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .045em;
}

.page-price .funding__calc {
  display: grid;
  grid-template-columns: minmax(360px, 38%) minmax(0, 1fr);
  border: 1px solid var(--price-clean-line);
  background: #fff;
  box-shadow: 0 18px 48px rgba(38, 57, 70, .07);
}

.page-price .funding__total-left {
  display: flex;
  width: 100%;
  min-height: 390px;
  padding: 64px 54px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: var(--price-clean-navy);
  text-align: left;
}

.page-price .funding__total-kicker {
  margin: 0 0 42px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  font-size: 11px;
  letter-spacing: .1em;
}

.page-price .funding__total-label {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  letter-spacing: .12em;
}

.page-price .funding__total-price {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.2;
  white-space: nowrap;
}

.page-price .funding__total-price .unit {
  margin-left: 5px;
  font-size: .34em;
  font-weight: 400;
}

.page-price .funding__total-caption {
  margin-top: 28px;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .04em;
}

.page-price .funding__breakdown {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 62px 52px 54px;
  justify-content: center;
  flex-direction: column;
}

.page-price .funding__breakdown-title {
  margin: 0 0 36px;
  color: var(--text-v37-price-clean-ink);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 21px;
  letter-spacing: .08em;
}

.page-price .funding__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  padding: 0;
}

.page-price .funding__item {
  min-width: 0;
  padding: 0 0 16px;
  border-bottom: 2px solid rgba(57, 119, 157, .4);
  text-align: left;
}

.page-price .funding__item-num {
  display: block;
  margin-bottom: 28px;
  color: var(--text-v37-price-clean-blue-dark);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

.page-price .funding__op {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b979e;
  font-size: 24px;
}

.page-price .funding__item-label {
  min-height: 0;
  color: var(--text-v37-price-clean-muted);
  font-size: 11px;
  letter-spacing: .06em;
}

.page-price .funding__item-price {
  margin-top: 11px;
  color: var(--text-v37-price-clean-ink);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.5;
  white-space: nowrap;
  word-break: normal;
}

.page-price .funding__item-price .unit {
  margin-left: 3px;
  font-size: .5em;
}

.page-price .funding__item-desc {
  margin-top: 12px;
  color: #839099;
  font-size: 10px;
  line-height: 1.7;
}

.page-price .funding__note {
  margin-top: 20px;
  text-align: right;
}

/* Estimate */
.page-price .estimate {
  display: block;
  min-height: 0;
  padding: 112px 64px;
  background: #eaf1f5;
}

.page-price .estimate__image {
  display: none;
}

.page-price .estimate__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: clamp(56px, 7vw, 112px);
  width: min(1312px, 100%);
  margin: 0 auto;
  padding: clamp(62px, 6vw, 88px);
  align-items: center;
  background: var(--price-clean-blue-dark);
  box-shadow: 0 24px 60px rgba(38, 57, 70, .13);
  text-align: left;
}

.page-price .estimate__eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .62);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
}

.page-price .estimate__title {
  color: #fff;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.55;
}

.page-price .estimate__desc {
  max-width: 580px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  line-height: 2;
}

.page-price .estimate__btn {
  max-width: 400px;
  min-height: 68px;
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: #fff;
  color: var(--text-v37-price-clean-navy);
}

.page-price .estimate__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.page-price .estimate__steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.page-price .estimate__steps span {
  grid-row: 1 / 3;
  color: #9fc0d3;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.page-price .estimate__steps strong {
  color: #fff;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .08em;
}

.page-price .estimate__steps small {
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  letter-spacing: .05em;
}

.page-price .sim-fab {
  transform: scale(.82);
  transform-origin: right bottom;
}

@media (max-width: 1180px) {
  .page-price .included__items {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 28px 0;
  }

  .page-price .included__item {
    grid-column: span 2;
  }

  .page-price .included__item:nth-child(5) {
    grid-column: 2 / span 2;
  }

  .page-price .included__item:nth-child(6) {
    grid-column: 4 / span 2;
  }

  .page-price .included__item:nth-child(7) {
    grid-column: 6 / span 2;
  }

  .page-price .included__item:nth-child(4) {
    border-right: 0;
  }

  .page-price .included__item:nth-child(n + 5) {
    padding-top: 26px;
    border-top: 1px solid var(--price-clean-line);
  }

  .page-price .plans__row {
    grid-template-columns: 1fr;
  }

  .page-price .plan-card {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .page-price .plan-card__body {
    padding: 52px 48px 46px;
  }

  .page-price .plan-card__image {
    width: 240px;
  }

  .page-price .funding__calc {
    grid-template-columns: 1fr;
  }

  .page-price .funding__total-left {
    min-height: 300px;
  }

  .page-price .estimate__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-price .hero {
    height: 680px;
    min-height: 680px;
  }

  .page-price .hero::before {
    width: 88%;
  }

  .page-price .hero__content {
    top: 52%;
    left: 28px;
    width: calc(100% - 62px);
    transform: translateY(-45%);
  }

  .page-price .hero__desc {
    white-space: normal;
  }

  .page-price .hero__title {
    font-size: 37px;
  }

  .page-price .price-type > .container,
  .page-price .included > .container,
  .page-price .plans > .container,
  .page-price .options > .container,
  .page-price .funding > .container {
    width: calc(100% - 40px);
  }

  .page-price .price-type,
  .page-price .included,
  .page-price .plans,
  .page-price .options,
  .page-price .funding {
    padding: 82px 0 90px;
  }

  .page-price .sec-head {
    grid-template-columns: 28px minmax(0, auto) minmax(24px, 1fr);
    column-gap: 12px;
    row-gap: 9px;
    margin-bottom: 38px;
  }

  .page-price .sec-head__num {
    width: auto;
    height: auto;
    font-size: 10px;
  }

  .page-price .sec-head__title {
    font-size: 24px;
  }

  .page-price .sec-head__note {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .page-price .price-type {
    background: linear-gradient(180deg, #ecf2f6 0 230px, #fff 230px 100%);
  }

  .page-price .price-type__cards,
  .page-price .plans__row,
  .page-price .options__track {
    grid-template-columns: 1fr;
  }

  .page-price .type-card__desc {
    min-height: 0;
  }

  .page-price .included .sec-head {
    margin-bottom: 38px;
    padding: 0;
  }

  .page-price .included__row {
    position: static;
    width: 100%;
    padding: 30px 20px 26px;
  }

  .page-price .included__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .page-price .included__item,
  .page-price .included__item:nth-child(n + 5) {
    grid-column: auto;
    min-height: 150px;
    padding: 18px 10px;
    border-top: 1px solid var(--price-clean-line);
    border-right: 1px solid var(--price-clean-line);
  }

  .page-price .included__item:nth-child(1),
  .page-price .included__item:nth-child(2) {
    border-top: 0;
  }

  .page-price .included__item:nth-child(even),
  .page-price .included__item:last-child {
    border-right: 0;
  }

  .page-price .included__icon {
    width: 82px;
    height: 82px;
  }

  .page-price .plan-card,
  .page-price .plan-card:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .page-price .plan-card__body {
    min-height: 0;
    padding: 42px 30px;
  }

  .page-price .plan-card__image {
    width: 100%;
    height: 240px;
    min-height: 0;
  }

  .page-price .funding__items {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .page-price .funding__item {
    padding: 20px 0;
    border-bottom: 1px solid var(--price-clean-line);
  }

  .page-price .funding__op {
    justify-content: center;
    padding: 10px 0;
  }

  .page-price .funding__intro {
    margin: -16px 0 34px;
    font-size: 13px;
  }

  .page-price .funding__total-left {
    min-height: 0;
    padding: 48px 30px;
  }

  .page-price .funding__total-price {
    font-size: clamp(34px, 10vw, 46px);
  }

  .page-price .funding__breakdown {
    padding: 44px 30px 40px;
  }

  .page-price .funding__note {
    text-align: left;
  }

  .page-price .estimate {
    padding: 72px 20px;
  }

  .page-price .estimate__panel {
    gap: 48px;
    padding: 54px 28px 64px;
  }
}
