/* Padpoint precios v2: plan builder. Hairline rows with switches and a paper receipt. */
.theme-clubs { --nav-bg: var(--blue); --footer-bg: var(--blue); }
.rc { --ease: cubic-bezier(.23, 1, .32, 1); padding-block: clamp(48px, 6vw, 96px) var(--section); background: var(--ice-soft); }
.rc-grid { --max: 1180px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rc-form > *, .rc-receipt { animation: rc-in 240ms var(--ease) both; }
.rc-form > :nth-child(2) { animation-delay: 30ms; }
.rc-form > :nth-child(n + 3), .rc-receipt { animation-delay: 60ms; }
@keyframes rc-in { from { opacity: 0; transform: translateY(8px); } }

.rc-head { display: grid; gap: 16px; }
.rc-head h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.032em; }
.rc-head p { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); }
.rc-billing { display: flex; gap: 28px; margin-top: 28px; border-bottom: 1px solid var(--line); }
.rc-billing button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 0 14px; font-family: var(--display); font-weight: 500; color: var(--ink-mute); transition: color 150ms ease-out; }
.rc-billing button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.rc-billing button[aria-pressed='true'] { color: var(--ink); }
.rc-billing button[aria-pressed='true']::after { transform: scaleX(1); }
.rc-billing span { font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--blue); }

.rc-block { margin-top: clamp(28px, 3vw, 44px); }
.rc-row { display: flex; align-items: center; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.rc-row > div:first-child { flex: 1; min-width: 0; }
.rc-row h2, .rc-row h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.015em; }
.rc-row p { margin-top: 3px; max-width: 38em; font-size: 15px; line-height: 1.45; color: var(--ink-mute); }
.rc-price { font-family: var(--display); font-weight: 500; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-price small { font-family: var(--text); font-weight: 400; font-size: 14px; color: var(--ink-mute); }
.rc-included { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding: 18px 0 0; list-style: none; font-size: 15.5px; color: var(--ink-soft); }
.rc-included li { display: flex; align-items: center; gap: 10px; }
.rc-included svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--blue); }
.rc-team { display: grid; justify-items: end; gap: 6px; font-size: 14px; color: var(--ink-mute); white-space: nowrap; }
.rc-stepper { display: inline-flex; align-items: center; gap: 4px; }
.rc-stepper button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px #c5ccdb; font-size: 19px; line-height: 1; color: var(--ink); transition: box-shadow 150ms ease-out, opacity 150ms ease-out, transform 150ms ease-out; }
.rc-stepper button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.rc-stepper button:active:not(:disabled) { transform: scale(.94); }
.rc-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.rc-stepper output { min-width: 34px; font-family: var(--display); font-weight: 500; font-size: 18px; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.rc-label { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rc-label h2 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.02em; }
.rc-label p { font-size: 15px; color: var(--ink-mute); }
.rc-addon { cursor: pointer; }
.rc-addon h3 { transition: color 150ms ease-out; }
.rc-addon.on h3 { color: var(--blue); }
.rc-soon > * { opacity: .55; }
.rc-tag { padding: 4px 12px; border-radius: 99px; background: var(--ice); color: var(--blue); font-size: 13px; }
.rc-fee { margin-top: 24px; font-size: 15px; color: var(--ink-mute); }
.rc-fee strong { font-weight: 500; color: var(--ink-soft); }

/* Switch */
.rc-switch { appearance: none; position: relative; flex-shrink: 0; width: 46px; height: 28px; margin: 0; border-radius: 99px; background: #cdd3e1; cursor: pointer; transition: background-color 200ms ease-out; }
.rc-switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(20 20 25 / .25); transition: transform 200ms var(--ease); }
.rc-switch:checked { background: var(--blue); }
.rc-switch:checked::after { transform: translateX(18px); }

/* Receipt */
.rc-receipt { position: sticky; top: calc(var(--nav-h) + 28px); scroll-margin-top: calc(var(--nav-h) + 28px); filter: drop-shadow(0 22px 36px rgb(4 21 74 / .12)) drop-shadow(0 2px 4px rgb(4 21 74 / .06)); }
.rc-paper { display: grid; gap: 18px; padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 30px) 44px; background: #fff; color: var(--ink); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; }
.rc-paper-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1.5px dashed #c5ccdb; font-size: 14px; color: var(--ink-mute); }
.rc-paper-head h2 { font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.rc-lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rc-lines li { display: flex; justify-content: space-between; gap: 16px; }
.rc-lines li span:last-child { color: var(--ink); white-space: nowrap; }
.rc-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1.5px dashed #c5ccdb; font-size: 15px; color: var(--ink-mute); }
.rc-amount { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.2vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-amount small, .plan-bar-amount small { font-family: var(--text); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--ink-mute); }
.rc-sub { margin-top: -8px; font-size: 14px; color: var(--ink-mute); text-align: right; }
.rc-paper > .btn { justify-content: space-between; width: 100%; }
.rc-request { display: grid; gap: 10px; justify-items: start; font-size: 14px; color: var(--ink-soft); }
.rc-request[hidden] { display: none; }
.rc-request textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--ice-soft); color: var(--ink); font: inherit; line-height: 1.5; resize: vertical; }
.rc-request button { padding: 8px 0; font-family: var(--display); font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.rc-note { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }

/* Mobile total bar */
.plan-bar { display: none; }
@media (max-width: 900px) {
  .plan-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -18px 40px rgb(4 21 74 / .1); transition: transform .5s var(--ease-out); }
  .plan-bar.is-away { transform: translateY(110%); }
  .footer { padding-bottom: 96px; }
  .plan-bar > div { display: grid; font-size: 13px; color: var(--ink-mute); }
  .plan-bar-amount { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
}
@media (max-width: 960px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-receipt { position: static; }
}
@media (max-width: 560px) {
  .rc-included { grid-template-columns: 1fr; }
  .rc-row { gap: 14px; }
  .rc-price small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rc-form > *, .rc-receipt { animation: none; } }
