/* Build your price page (EN + ES). */
.bp-steps { display: grid; gap: 22px; }
.bp-step h3 { font-size: var(--t-small); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 12px; }
.bp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-seg label { display: block; cursor: pointer; }
.bp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bp-seg span {
  display: block; text-align: center; padding: 12px 10px; border-radius: 12px;
  border: 1.5px solid var(--line); font-weight: 650; background: var(--surface);
}
.bp-seg span small { display: block; font-weight: 500; font-size: var(--t-micro); color: var(--ink-3); margin-top: 2px; }
.bp-seg input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
.bp-seg input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-bright) 30%, transparent); }
.bp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-num {
  width: 100%; font: inherit; font-size: 1.1rem; font-weight: 700; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
}
.bp-num:focus { outline: none; border-color: var(--brand-bright); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-bright) 22%, transparent); }
.bp-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); cursor: pointer; }
.bp-check input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; }
details.bp-rate { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface); }
details.bp-rate summary { cursor: pointer; font-weight: 650; font-size: var(--t-small); }
details.bp-rate .bp-two { margin-top: 12px; }
.bp-years { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--surface-3); }
.bp-years button {
  font: inherit; font-weight: 650; font-size: var(--t-small); border: 0; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; background: transparent; color: var(--ink-2);
}
.bp-years button[aria-pressed="true"] { background: var(--surface); color: var(--brand-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.bp-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.bp-list { display: grid; gap: 10px; margin-top: 16px; }
.bp-row {
  display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.bp-row.us { border-color: color-mix(in srgb, var(--gain) 45%, var(--line)); background: var(--gain-tint); }
.bp-name { font-weight: 700; line-height: 1.25; }
.bp-name small { display: block; font-weight: 500; font-size: var(--t-micro); color: var(--ink-3); margin-top: 3px; }
.bp-bar { height: 12px; border-radius: 999px; background: var(--line-2); overflow: hidden; display: flex; }
.bp-bar i { display: block; height: 100%; }
.bp-bar .sw { background: var(--warn); }
.bp-bar .hw { background: var(--ink-3); }
.bp-bar .pr { background: var(--brand-bright); }
.bp-row.us .bp-bar .sw { background: var(--gain); }
.bp-row.now { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: var(--warn-tint); }
.bp-row.now .bp-amt { color: var(--warn); }
.bp-amt { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.bp-amt small { display: block; font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); }
.bp-row.us .bp-amt { color: var(--gain); }
.bp-key { display: flex; flex-wrap: wrap; gap: 16px; font-size: var(--t-micro); color: var(--ink-3); margin-top: 12px; }
.bp-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bp-sum { margin-top: 18px; font-size: 1.05rem; font-weight: 600; }
.bp-sum b { color: var(--gain); }
.bp-quote {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px;
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2); font-size: var(--t-small);
}
.bp-quote.on { display: block; }
.bp-detail { margin-top: 22px; overflow-x: auto; }
.bp-detail table { width: 100%; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.bp-detail th, .bp-detail td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: right; white-space: nowrap; }
.bp-detail th:first-child, .bp-detail td:first-child { text-align: left; white-space: normal; }
.bp-detail thead th { color: var(--ink-3); font-weight: 650; }
.bp-pkg { margin-top: 6px; font-size: var(--t-small); color: var(--ink-2); }
@media (max-width: 960px) { .calc.bp { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .bp-row { grid-template-columns: 1fr auto; }
  .bp-bar { grid-column: 1 / -1; grid-row: 2; }
}
