/* Cromeda price builder (v3). Design language: cromeda-manager BRAND.md + the live cromeda.com price cards:
   cream page with pastel washes, heavy Bricolage type, vivid gradient cards with a white inner edge, glass panels,
   ink pills. No icons: identity is colour and type. One grid, equal gutters. */
:root {
  --base: #FFFBF5; --ink: #1A1424; --body: #3A3046; --faint: #6B5F77; --line: rgba(26, 20, 36, .10);
  --rainbow: linear-gradient(90deg, #E0362C, #E05A00 18%, #B87800 30%, #159A5B 42%, #0790A6 58%, #3456E8 78%, #7B2FF7);
  --display: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif; --text: 'Instrument Sans', system-ui, Arial, sans-serif;
  --spring: cubic-bezier(.2, 1.4, .4, 1); --out: cubic-bezier(.2, .8, .2, 1);
  --pad: 16px; --g: 12px; --dock-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--dock-h) + 32px); }
.card { scroll-margin-bottom: calc(var(--dock-h) + 32px); }
body { margin: 0; background: var(--base); color: var(--body); font: 400 16px/1.45 var(--text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; touch-action: manipulation; text-align: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; } ul, ol { list-style: none; }
s { text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid #4361EE; outline-offset: 3px; border-radius: 14px; }

/* pastel washes */
.wash { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #F6E1F4 0%, #FFE4D1 30%, #FFF0C9 62%, #E4F5E8 100%); }
.wash i { position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; opacity: .75; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.wash i:nth-child(1) { left: -40vmax; top: -30vmax; background: radial-gradient(closest-side, #DAEAFF, transparent 70%); }
.wash i:nth-child(2) { right: -45vmax; top: 20vh; background: radial-gradient(closest-side, #D6CCFF, transparent 70%); animation-duration: 34s; animation-direction: alternate-reverse; }
.wash i:nth-child(3) { left: -30vmax; bottom: -45vmax; background: radial-gradient(closest-side, #D3F5E7, transparent 70%); animation-duration: 30s; }
@keyframes drift { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.12); } }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: env(safe-area-inset-top) var(--pad) 0; box-sizing: content-box; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 23px/1 var(--display); letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; transform: rotate(var(--turn, 0deg)); transition: transform .9s var(--spring); }
.here { font: 800 22px/1 var(--display); letter-spacing: -.035em; color: var(--ink); }

.eyebrow { display: flex; align-items: center; gap: 9px; font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); height: 12px; margin-bottom: 14px; }
.eyebrow i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF6B4A; }
.group:nth-of-type(2) .eyebrow i { background: #4361EE; } .col-side .eyebrow i { background: #3BCEAC; }
/* gradient text: the painted box must be wider than the glyphs (tight tracking pulls the last letter outside it) */
.rainbow { display: inline-block; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em .12em .14em .04em; margin: -.06em -.12em -.14em -.04em; }

main { padding: 12px var(--pad) calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); }
.group + .group, .col-side { margin-top: 28px; }
.cards { display: grid; gap: var(--g); }

/* service cards: glass white with a gradient hairline; chosen = the full gradient */
.card { --grad: linear-gradient(135deg, #3A3046, #1A1424); --on: #fff; --glow: rgba(26, 20, 36, .5); --x: 50%; --y: 50%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 28px; border: 1.5px solid transparent; color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 40px -34px rgba(26, 20, 36, .45); transition: transform .45s var(--spring), box-shadow .45s, color .35s; }
.card .fill { position: absolute; inset: -2px; z-index: -1; background: var(--grad); clip-path: circle(0 at var(--x) var(--y)); transition: clip-path .7s var(--out); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); border-radius: 28px; }
.card.on .fill { clip-path: circle(160% at var(--x) var(--y)); }
.card.instant .fill { transition: none; }
.card.on { color: var(--on); box-shadow: 0 30px 50px -34px var(--glow); }
.card:active { transform: scale(.985); }
.hue-web { --grad: linear-gradient(150deg, #FF3D7F, #FF9F1C); --on: #1A1424; --glow: rgba(255, 90, 60, .8); }
.hue-seo { --grad: linear-gradient(150deg, #FFD43B, #FF9D1F); --on: #1A1424; --glow: rgba(240, 150, 20, .8); }
.hue-social { --grad: linear-gradient(150deg, #F72585, #9B5DE5); --on: #fff; --glow: rgba(200, 50, 170, .75); }
.hue-ads { --grad: linear-gradient(135deg, #5BE49B, #3BCEAC 55%, #4CC9F0); --on: #1A1424; --glow: rgba(40, 180, 160, .8); }
.hue-agent { --grad: linear-gradient(100deg, #1C6FD6, #3A55E8 50%, #6A2BF0); --on: #fff; --glow: rgba(60, 60, 220, .75); }

.card-main { position: absolute; inset: 0; z-index: 0; width: 100%; border-radius: inherit; }
.card-head, .card-foot { position: relative; z-index: 1; pointer-events: none; }
.card-head { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 13px; align-items: start; padding: 20px 20px 18px 18px; }
.ring { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(26, 20, 36, .22); position: relative; transition: box-shadow .3s, background .3s, transform .5s var(--spring); }
.ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .45s var(--spring); }
.card.on .ring { background: #fff; box-shadow: 0 2px 8px rgba(26, 20, 36, .18); transform: scale(1.06); } .card.on .ring::after { transform: scale(1); }
.card-txt b { display: block; font: 800 23px/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.card-txt small { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.35; color: var(--faint); transition: color .35s; text-wrap: pretty; }
.card.on .card-txt small { color: inherit; opacity: .82; }
.card-foot { padding: 0 16px 16px; margin-top: -4px; }
.card-price { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-content: end; column-gap: 8px; white-space: nowrap; line-height: 1; }
.card-price s { font-size: 14px; font-weight: 500; opacity: .6; font-variant-numeric: tabular-nums; }
.card-price s:empty { display: none; }
.card-price strong { grid-column: 2; font: 800 32px/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; transform-origin: right center; display: inline-block; }
.card-price small { grid-column: 1 / -1; justify-self: end; margin-top: 5px; font-size: 12.5px; color: var(--faint); transition: color .35s; }
.card.on .card-price small { color: inherit; opacity: .78; }
.bump strong, .total.bump .big { animation: bump .5s var(--spring); }
@keyframes bump { 35% { transform: scale(1.06); } }

.seg { pointer-events: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(26, 20, 36, .055); transition: background .35s; }
.card.on .seg { background: rgba(255, 255, 255, .26); }
.seg button { padding: 8px 4px 7px; border-radius: 14px; text-align: center; transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--spring); }
.seg b { display: block; font: 700 15px/1.1 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.seg small { display: block; margin-top: 3px; font-size: 12.5px; opacity: .7; font-variant-numeric: tabular-nums; }
.seg button.sel { box-shadow: inset 0 0 0 1.5px rgba(26, 20, 36, .2); }
.card.on .seg button.sel { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(26, 20, 36, .55); }
.seg button:active { transform: scale(.95); }

/* «Tu panel Cromeda»: liquid glass. A soft field of light drifts under the card; the body veils it in white (no live blur: the field is already soft, so nothing is re-blurred each frame);
   near the rim the same field shows again, magnified and unblurred, so the edge bends what is behind it like a lens
   (plain CSS, so Safari renders it too). Thin prismatic rim; the thickness comes from a specular line along the top
   inner edge and a darker inner bottom edge. It tilts and shines under the cursor. */
.gift-wrap { position: relative; display: flex; border-radius: 28px; perspective: 900px; }
.under, .refr { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.under i, .refr i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(16px); will-change: transform; animation: under 16s ease-in-out infinite alternate; }
.under i:nth-child(1), .refr i:nth-child(1) { left: -16%; top: -55%; background: radial-gradient(closest-side, #FFB07A, transparent); }
.under i:nth-child(2), .refr i:nth-child(2) { right: -14%; top: -42%; background: radial-gradient(closest-side, #AC9BFF, transparent); animation-duration: 21s; animation-direction: alternate-reverse; }
.under i:nth-child(3), .refr i:nth-child(3) { left: 16%; bottom: -78%; background: radial-gradient(closest-side, #7FE3C2, transparent); animation-duration: 18s; }
.under i:nth-child(4), .refr i:nth-child(4) { right: 4%; bottom: -70%; width: 46%; background: radial-gradient(closest-side, #8FC4FF, transparent); animation-duration: 24s; animation-direction: alternate-reverse; }
@keyframes under { to { transform: translate3d(26%, 18%, 0) scale(1.18); } }
/* the lens edge: the field again, 1.09× and sharper, visible only in a band along the rim */
.refr { z-index: 0; transform: scale(1.09);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30px, transparent calc(100% - 30px), #000), linear-gradient(180deg, #000, transparent 26px, transparent calc(100% - 26px), #000);
  mask-image: linear-gradient(90deg, #000, transparent 30px, transparent calc(100% - 30px), #000), linear-gradient(180deg, #000, transparent 26px, transparent calc(100% - 26px), #000); }
.refr i { filter: blur(7px); }
.refr i:nth-child(1) { background: radial-gradient(closest-side, #FF9552, transparent); } .refr i:nth-child(2) { background: radial-gradient(closest-side, #9480FF, transparent); }
.refr i:nth-child(3) { background: radial-gradient(closest-side, #52DCAE, transparent); } .refr i:nth-child(4) { background: radial-gradient(closest-side, #6CB2FF, transparent); }
.card.panel { flex: 1; border: 0; color: var(--ink); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--out);
  background: linear-gradient(140deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, .16) 62%, rgba(255, 255, 255, .34));
  box-shadow: 0 30px 46px -30px rgba(40, 30, 90, .45), 0 8px 16px -12px rgba(26, 20, 36, .2),
    inset 0 3.5px 0 -1px rgba(255, 255, 255, .95), inset 3px 0 0 -1.5px rgba(255, 255, 255, .7), inset 0 12px 18px -12px rgba(255, 255, 255, .8),
    inset 0 -5px 7px -3px rgba(40, 30, 90, .28), inset -3px 0 5px -3px rgba(40, 30, 90, .16), inset 0 -18px 24px -20px rgba(40, 30, 90, .2); }
.card.panel:active { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
/* the rim: a thin, crisp line of prism in the knot's hues, slowly turning, white where it catches the light */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.rim, .rim::before { position: absolute; inset: 0; border-radius: inherit; padding: 2.25px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.rim { z-index: 3; animation: spin 14s linear infinite; background: conic-gradient(from var(--spin), #FF5A4A, #FFB020, #F6E04B, #5BE49B, #4CC9F0, #4361EE, #9B5DE5, #F72585, #FF5A4A); }
.rim::before { content: ''; background: conic-gradient(from 215deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8) 12%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .6) 58%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, .95)); }
@keyframes spin { to { --spin: 360deg; } }
/* highlights on the body: a broad one top-left and one that follows the cursor */
.shine { position: absolute; inset: 2.25px; z-index: 1; border-radius: 26px; pointer-events: none; overflow: hidden;
  background: radial-gradient(110% 80% at 0% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 44%), radial-gradient(80% 60% at 100% 100%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%); }
.shine::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; background: radial-gradient(38% 60% at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 70%); }
.lit .shine::after { opacity: 1; }
.card.panel .card-head { align-items: center; pointer-events: auto; flex: 0 1 auto; }
.gift { width: 44px; height: 44px; filter: drop-shadow(0 4px 8px rgba(26, 20, 36, .18)); animation: turn 40s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.card.panel .card-txt small { color: var(--body); }
.card.panel .card-head, .card.panel .peek { z-index: 2; }
.card.panel .card-price strong { font-size: 22px; letter-spacing: -.03em; padding: 9px 16px 10px; border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .55); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 8px 18px -12px rgba(26, 20, 36, .4); }
.peek { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 0 18px 18px; margin: auto 0 0; font-size: 13.5px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.peek li { position: relative; padding-left: 14px; text-wrap: balance; } .peek li::before { content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .55; }

/* the plan: a glass panel */
.plan { display: flex; flex-direction: column; border-radius: 28px; padding: 22px 20px 18px; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px #fff, 0 34px 60px -44px rgba(26, 20, 36, .5); }
.receipt { flex: 1; display: flex; flex-direction: column; scroll-margin-top: 16px; }
.receipt h3 { font: 800 26px/1 var(--display); letter-spacing: -.035em; color: var(--ink); margin-bottom: 10px; }
.lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.l-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; min-width: 0; }
.l-name b { font-weight: 600; font-size: 16px; color: var(--ink); } .l-name small { font-size: 13px; color: var(--faint); }
.l-price { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.l-price s { color: var(--faint); font-size: 13.5px; margin-right: 8px; }
.l-price b { font: 700 17.5px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.incl .l-name b { font-weight: 500; color: var(--body); } .incl .l-price b { color: var(--faint); font-weight: 600; }
.cut { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0 0; color: #0B7D66; font-weight: 600; font-size: 15.5px; }
.cut b { flex: none; font: 800 18px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stepup .cut { animation: nudge .7s var(--spring); transform-origin: left center; }
@keyframes nudge { 0% { transform: scale(.94); opacity: .3; } 55% { transform: scale(1.04); } }
.hint { margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--faint); }
.start { font: 800 24px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); }
/* the heading and the three steps sit at the very top of the panel in every state; the chosen lines appear under them */
/* the discount steps: three small bubbles, the one reached lights up */
.ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-top: 12px; }
.ladder li { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px 9px; border-radius: 16px; background: rgba(26, 20, 36, .045); color: var(--faint); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: background .4s, color .4s, opacity .4s; }
.ladder b { font: 800 17px/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .4s; }
.ladder li.done { opacity: .5; }
.ladder li.on { background: rgba(59, 206, 172, .2); color: #0B7D66; font-weight: 600; } .ladder li.on b { color: #0B7D66; }
.stepup .ladder li.on { animation: nudge .7s var(--spring); }
.r-top { display: flex; flex-direction: column; } .lines { margin-top: 6px; }

.total { margin-top: auto; padding-top: 18px; }
.total-label { height: 16px; display: flex; align-items: baseline; justify-content: space-between; font: 600 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.total-label s { font: 500 15px/1 var(--text); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.big { display: flex; align-items: baseline; justify-content: flex-end; margin-top: 6px; color: var(--ink); font: 800 clamp(56px, 17vw, 76px)/1 var(--display); letter-spacing: -.055em; transform-origin: right center; white-space: nowrap; }
.big .cur { margin-left: .16em; } .big small { font: 600 17px/1 var(--text); letter-spacing: 0; color: var(--faint); margin-left: 5px; }
/* rolling digits: each digit is a clipped column, so the column is made wider and taller than any glyph and the
   tight tracking is done with negative margins between columns, never by shrinking the clip box */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; letter-spacing: 0; padding: 0 .02em; }
.odo .d { display: inline-block; height: 1.2em; line-height: 1.2; overflow: hidden; padding: 0 .09em; margin: -.1em -.115em; text-align: center; }
.odo .d > span { display: block; transform: translateY(calc(var(--d) * -1.2em)); transition: transform .8s cubic-bezier(.16, .9, .2, 1); }
.odo .d i { display: block; height: 1.2em; font-style: normal; }
.odo .sep { margin: 0 -.03em; }
.big .cur { letter-spacing: 0; }
.iva { margin-top: 6px; text-align: right; font-size: 13.5px; color: var(--faint); }
.promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 18px; background: rgba(155, 93, 229, .12); color: var(--ink); }
.promo b { display: block; font: 800 17px/1.1 var(--display); letter-spacing: -.02em; color: #6A2BD9; white-space: nowrap; }
.promo > span:first-child { min-width: 0; }
.promo small { display: block; font-size: 12.5px; color: var(--faint); margin-top: 3px; }
.promo .m1 { flex: none; text-align: right; } .promo .m1 b { font-size: 22px; letter-spacing: -.04em; margin-top: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.receipt.busy .big { opacity: .86; }
.err { margin-top: 10px; color: #B93A1F; font-size: 14px; font-weight: 500; }
.linkish { color: var(--body); font-weight: 600; font-size: 14px; text-decoration: underline; text-decoration-color: rgba(26, 20, 36, .28); text-underline-offset: 3px; padding: 6px 0; }

.plan-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.code { min-height: 32px; }
.code-form { display: flex; gap: 8px; }
.code-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 16px; outline: 0; }
.code-form input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.code-msg { font-size: 14px; color: var(--faint); } .code-msg:empty { display: none; }
.code-form:not([hidden]) + .code-msg { margin-top: 6px; }
.code-msg.ok { color: #0B7D66; font-weight: 600; } .code-msg.bad { color: #B93A1F; font-weight: 500; }
.code-msg .linkish { margin-left: 8px; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-radius: 999px; font: 700 17px/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .4s var(--spring), opacity .25s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #FFF1E6; box-shadow: 0 16px 28px -18px rgba(26, 20, 36, .8); }
.btn.ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(26, 20, 36, .1); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; background: var(--ink); color: #FFF1E6; }
.btn:disabled { opacity: .35; pointer-events: none; }
.fine { margin-top: 12px; text-align: center; font-size: 13px; color: var(--faint); font-weight: 500; }

/* phone: who the plan is for, right under the header, full name (on a laptop the label above the plan says it) */
.for { margin: 0 0 16px; font: 800 22px/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
@media (max-width: 959px) { .has-client .col-side .eyebrow span { font-size: 0; } .has-client .col-side .eyebrow span::after { content: 'Tu plan'; font-size: 12px; } }
@media (min-width: 960px) { .for { display: none; } }
/* «Preparar plan»: the confirmation takes the plan panel's place (same box, nothing outside moves) */
.plan-warn { margin-bottom: 10px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 107, 74, .12); color: #B93A1F; font-size: 13.5px; line-height: 1.35; font-weight: 500; }
.plan.is-done > .receipt, .plan.is-done > .plan-foot, .plan.is-done > .plan-warn { display: none; }
.done { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 6px 4px; animation: up .5s var(--out); scrollbar-width: none; }
.done-title { font: 800 30px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); }
.done-sub { font-size: 16px; font-weight: 500; color: var(--body); text-wrap: balance; }
.qr { margin-top: 14px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 18px 30px -22px rgba(26, 20, 36, .45), 0 0 0 1px var(--line); }
.qr img { display: block; width: min(240px, 58vw); height: auto; aspect-ratio: 1; }
.done-how { margin-top: 12px; max-width: 30ch; font-size: 15px; line-height: 1.4; color: var(--ink); font-weight: 500; text-wrap: balance; }
.done-note { margin-top: 4px; max-width: 32ch; font-size: 13.5px; line-height: 1.35; color: var(--faint); text-wrap: balance; }
.done .linkish { margin-top: 4px; } .done .back { margin-top: 10px; color: var(--faint); } .done .err { margin-top: 8px; }
.eyebrow span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* dock (phone): ink pill with the live total */
.dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: var(--dock-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 0 20px 0 18px; border-radius: 999px; background: #1A1424; color: #fff;
  box-shadow: 0 22px 40px -18px rgba(26, 20, 36, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .55s var(--spring), opacity .3s; }
.at-receipt .dock, .modal-open .dock, .plan-done .dock { transform: translateY(140%); opacity: 0; pointer-events: none; }
.stepup .dock { animation: dockpop .8s var(--spring); }
@keyframes dockpop { 30% { transform: translateY(-8px) scale(1.03); } }
.pips { display: flex; flex-direction: column-reverse; gap: 4px; }
.pips i { display: block; width: 8px; height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .2); transition: background .4s; }
.pips i.on { background: #5BE49B; } .pips i.on:first-child { background: #FFB020; }
.dock-text { min-width: 0; }
.dock-text b { display: block; font: 700 16px/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-text small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.2; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-total { display: grid; justify-items: end; line-height: 1; white-space: nowrap; }
.dock-total s { font-size: 12.5px; color: rgba(255, 255, 255, .6); height: 13px; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.dock-total strong { font: 800 28px/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.dock-total small { font: 500 12.5px/1 var(--text); letter-spacing: 0; color: rgba(255, 255, 255, .7); margin-left: 2px; }

/* sheet */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; background: rgba(26, 20, 36, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s; }
.modal-card { position: relative; background: var(--base); border-radius: 30px 30px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .5s var(--out); }
.modal-card h3 { font: 800 30px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); padding-right: 44px; }
.modal-card > p { margin-top: 8px; color: var(--body); }
.x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(26, 20, 36, .07); font-size: 24px; line-height: 1; color: var(--ink); text-align: center; }
.field { display: block; margin: 18px 0 14px; } .field span { display: block; font-size: 13.5px; font-weight: 600; color: var(--faint); margin-bottom: 6px; }
.field input { width: 100%; height: 54px; padding: 0 18px; border-radius: 999px; border: 0; outline: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px; }
.field input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
#modal-form .btn { width: 100%; }
.link-box { display: block; margin-top: 16px; padding: 15px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes fade { from { opacity: 0; } } @keyframes up { from { transform: translateY(40px); opacity: 0; } }
.modal-open { overflow: hidden; }

.state { padding: 90px 20px; text-align: center; color: var(--faint); font-weight: 500; }

/* saved summary */
.is-summary main { padding-bottom: 36px; }
.sheet-page { max-width: 560px; margin: 0 auto; padding-top: 20px; }
.sum-title { font: 800 clamp(34px, 8vw, 48px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.lead { margin-top: 10px; color: var(--faint); }
.sheet-page .plan { margin-top: 24px; } .sheet-page .total { margin-top: 0; }
.sheet-page .actions { grid-template-columns: 1fr; margin-top: 18px; }
.print-only { display: none; }

/* entrance */
.cards > *, .plan { opacity: 0; transform: translateY(12px); }
.ready .cards > *, .ready .plan, .is-summary .plan { opacity: 1; transform: none; transition: opacity .5s var(--out), transform .6s var(--out), box-shadow .45s, color .35s; }
.ready .cards > :nth-child(2) { transition-delay: .05s; } .ready .cards > :nth-child(3) { transition-delay: .1s; } .ready .cards > :nth-child(4) { transition-delay: .15s; } .ready .plan { transition-delay: .12s; }
.ready .card:active { transform: scale(.985); transition-delay: 0s; }

/* laptop: one screen that fills the window. The picker (2 columns of cards) and the plan share one grid: same top
   line, same bottom line, equal gutters. Boxes never change size: the plan is exactly as tall as the card grid
   and only what is inside it changes. */
@media (min-width: 960px) {
  :root { --pad: clamp(32px, 4.4vw, 72px); --g: clamp(14px, 1.4vw, 20px); --eb: 26px; }
  body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .top { flex: none; box-sizing: border-box; width: 100%; height: clamp(52px, 8.4vh, 76px); max-width: calc(1480px + 2 * var(--pad)); margin: 0 auto; }
  #builder { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: calc(1480px + 2 * var(--pad)); margin: 0 auto; padding: clamp(18px, 5.4vh, 52px) var(--pad) clamp(16px, 4.4vh, 44px); }
  .cols { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(350px, 31%, 440px); gap: var(--g); align-items: stretch; max-height: 900px; }
  .col-main { display: flex; flex-direction: column; }
  .col-side { position: relative; margin-top: 0; }
  #builder .plan { position: absolute; inset: var(--eb) 0 0 0; padding: clamp(12px, 2.4vh, 26px) clamp(18px, 1.8vw, 28px) clamp(12px, 2.2vh, 22px); }
  .receipt { min-height: 0; } .r-top { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: none; -webkit-mask: linear-gradient(#000 calc(100% - 14px), transparent); mask: linear-gradient(#000 calc(100% - 14px), transparent); }
  .r-top::-webkit-scrollbar { display: none; } .total, .promo, .plan-foot { flex: none; } .total { margin-top: 0; }
  .group { display: flex; flex-direction: column; flex: 1 1 auto; } .group:first-child { flex-grow: 2; }
  .group + .group { margin-top: clamp(14px, 3vh, 26px); }
  .cards { flex: 1; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; align-content: stretch; }
  .dock { display: none; }
  .card:hover { transform: translateY(-2px); }
  .card-head { flex: 0 1 auto; padding: clamp(14px, 2.6vh, 24px) clamp(16px, 1.6vw, 26px) clamp(12px, 2.2vh, 22px) clamp(14px, 1.4vw, 22px); }
  .card-txt b { font-size: clamp(20px, 1.75vw, 27px); } .card-txt small { font-size: clamp(13.5px, 1.05vw, 15.5px); margin-top: clamp(3px, .8vh, 8px); }
  .card-price strong { font-size: clamp(28px, 2.5vw, 40px); } .card.panel .card-price strong { font-size: clamp(19px, 1.6vw, 25px); }
  .gift { width: clamp(40px, 3.4vw, 54px); height: clamp(40px, 3.4vw, 54px); } .peek { padding: 0 clamp(18px, 1.7vw, 28px) clamp(14px, 2.6vh, 26px) clamp(16px, 1.5vw, 24px); font-size: clamp(13px, 1vw, 15px); }
  .card-foot { padding: 0 clamp(12px, 1.2vw, 20px) clamp(12px, 2.2vh, 20px); margin-top: auto; }
  .seg button { padding: clamp(5px, 1.1vh, 10px) 4px clamp(4px, 1vh, 9px); }
  .lines li { padding: clamp(4px, .68vh, 11px) 0; } .lines { margin-top: clamp(2px, .5vh, 6px); } .start { font-size: clamp(20px, 2.7vh, 24px); }
  .cut { padding-top: clamp(5px, 1.2vh, 12px); } .ladder { margin-top: clamp(6px, 1.3vh, 12px); margin-bottom: 4px; }
  .total { padding-top: clamp(6px, 1.6vh, 16px); } .big { font-size: clamp(46px, min(5.4vw, 8.2vh), 84px); margin-top: clamp(2px, .6vh, 6px); }
  .iva { margin-top: clamp(2px, .6vh, 6px); }
  .promo { margin-top: clamp(6px, 1.4vh, 14px); padding: clamp(7px, 1.3vh, 12px) 16px; }
  .plan-foot { margin-top: clamp(6px, 1.4vh, 14px); padding-top: clamp(4px, 1.1vh, 12px); }
  .code { min-height: 28px; } .code-form input, .btn.small { height: 38px; min-height: 38px; }
  .actions { margin-top: clamp(4px, 1vh, 10px); } .actions .btn { min-height: clamp(42px, 6.2vh, 54px); font-size: 16.5px; }
  .fine { margin-top: clamp(5px, 1.1vh, 12px); }
  .modal { align-items: center; justify-items: center; grid-template-columns: auto; } .modal-card { width: 480px; border-radius: 30px; padding: 30px; }
  .is-summary .big { font-size: 72px; } .sheet-page .actions .btn { min-height: 54px; }
}
/* short laptop windows (under 760 px): tighter cards, and the promo line sits beside the total instead of under it */
@media (min-width: 960px) and (max-height: 759px) {
  :root { --eb: 22px; }
  .eyebrow { margin-bottom: 10px; } .group + .group { margin-top: 14px; }
  .card { border-radius: 24px; } .card .fill { border-radius: 24px; } .gift-wrap { border-radius: 24px; } .shine { border-radius: 22px; }
  .card-head { padding: 13px 18px 12px 16px; column-gap: 11px; } .ring { width: 22px; height: 22px; } .ring::after { inset: 6.5px; }
  .card-txt small { font-size: 13px; line-height: 1.3; margin-top: 3px; } .card-price small { margin-top: 3px; font-size: 12px; }
  .card-foot { padding: 0 12px 12px; } .seg { border-radius: 16px; } .seg button { border-radius: 12px; } .seg b { font-size: 14.5px; } .seg small { font-size: 12px; margin-top: 2px; }
  .gift { width: 38px; height: 38px; } .peek { padding: 0 18px 14px; gap: 4px 12px; font-size: 12.5px; }
  .l-name b { font-size: 15px; } .l-price b { font-size: 16.5px; } .fine { font-size: 12.5px; } .start { font-size: 19px; } .lines li { padding: 2px 0; } .lines { margin-top: 2px; } .cut { padding-top: 4px; } .ladder { margin-top: 5px; margin-bottom: 2px; }
  .ladder { gap: 5px; } .ladder li { gap: 2px; padding: 5px 2px 6px; font-size: 11px; border-radius: 12px; } .ladder b { font-size: 14.5px; }
}
/* with a promo code on windows under 900 px high, the promo line sits beside the total instead of under it, so no row is ever hidden */
@media (min-width: 960px) and (max-height: 940px) {
  .receipt { position: relative; }
  .receipt:has(.promo) .big { justify-content: flex-start; transform-origin: left center; font-size: min(2.6vw, 5.4vh); } .receipt:has(.promo) .big small { font-size: 14px; margin-left: 3px; }
  .receipt:has(.promo) .iva { text-align: left; font-size: 11.5px; max-width: 49%; } .receipt:has(.promo) .total-label { justify-content: flex-start; gap: 12px; }
  .promo { position: absolute; right: 0; bottom: 0; width: 49%; margin: 0; padding: 9px 11px; display: grid; gap: 5px; border-radius: 16px; }
  .promo b { font-size: min(14px, 1.02vw); white-space: nowrap; } .promo > span:first-child small { display: none; }
  .promo .m1 { text-align: left; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; } .promo .m1 small { font-size: 0; margin: 0; } .promo .m1 small { white-space: nowrap; } .promo .m1 small::before { content: 'Mes\a0 1'; font-size: 12px; } .promo .m1 b { font-size: min(17px, 1.25vw); margin: 0; white-space: nowrap; }
  .is-summary .promo { position: static; width: auto; margin-top: 12px; }
}
@media (min-width: 960px) and (max-height: 759px) { .qr { margin-top: 8px; padding: 10px; border-radius: 18px; } .qr img { width: 220px; } .done-title { font-size: 24px; } .done-sub, .done-how { font-size: 14px; } .done-how { margin-top: 8px; } .done { justify-content: flex-start; } }
@media (max-width: 360px) { .card-txt b { font-size: 20px; } .card-price strong { font-size: 27px; } .dock-total strong { font-size: 25px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .cards > *, .plan { opacity: 1; transform: none; } }

@media print {
  @page { margin: 16mm; }
  body { background: #fff; display: block; } .wash, #confetti, .dock, .no-print, .modal, .here { display: none !important; }
  .top { padding: 0; } main { padding: 0; display: block; }
  .plan { box-shadow: none; border: 1px solid #ddd; opacity: 1; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .promo, .cut { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print-only { display: block; }
  #builder .col-main, #builder .plan-foot { display: none; } .cols { display: block; }
}
