:root {
  --bg: #fff7fa;
  --card: #ffffff;
  --ink: #3d1f2e;
  --muted: #8d6b7b;
  --line: #f5dbe6;
  --pink: #ec4f8f;
  --pink-d: #cf3a76;
  --pink-m: #ff9cc2;
  --pink-l: #ffe3ee;
  --pink-xl: #fff1f6;
  --gold: #e3a43c;
  --ok: #2c9a6b;
  --ok-l: #e3f6ee;
  --warn: #c97d12;
  --warn-l: #fff3df;
  --bad: #d43f5e;
  --bad-l: #ffe6eb;
  --grey-l: #f3eef1;
  --shadow: 0 10px 30px -12px rgba(207, 58, 118, .28);
  --shadow-s: 0 4px 14px -6px rgba(207, 58, 118, .25);
  --r: 20px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--pink-d); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(32px, 6vw, 54px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.s { gap: 8px; }
.hide { display: none !important; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
svg.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sm svg.i { width: 17px; height: 17px; }

/* Boot */
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 84px; height: 84px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .75; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 20px; font-weight: 500; cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; text-decoration: none; white-space: nowrap; line-height: 1.2; }
.btn:hover { border-color: var(--pink-m); }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, #f46aa1, var(--pink-d)); border-color: transparent; color: #fff; box-shadow: var(--shadow-s); }
.btn.primary:hover { box-shadow: var(--shadow); }
.btn.soft { background: var(--pink-l); border-color: transparent; color: var(--pink-d); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--pink-xl); }
.btn.wa { background: #22c35e; border-color: transparent; color: #fff; }
.btn.danger { color: var(--bad); }
.btn.ok { background: var(--ok); color: #fff; border-color: transparent; }
.btn.sm { padding: 7px 13px; font-size: 13px; }
.btn.lg { padding: 15px 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.icon { padding: 9px; border-radius: 50%; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.input, input.input, select.input, textarea.input { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--pink-m); box-shadow: 0 0 0 4px var(--pink-l); }
textarea.input { resize: vertical; min-height: 84px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: #e9d5de; position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--pink); }
.switch input:checked::after { transform: translateX(18px); }
.pass-wrap { position: relative; }
.pass-wrap .btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }

/* Cards & chips */
.card { background: var(--card); border-radius: var(--r); padding: 20px; box-shadow: 0 1px 0 var(--line), var(--shadow-s); border: 1px solid #fbe9f0; }
.card.flat { box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 500; background: var(--pink-l); color: var(--pink-d); white-space: nowrap; }
.chip.ok { background: var(--ok-l); color: var(--ok); }
.chip.warn { background: var(--warn-l); color: var(--warn); }
.chip.bad { background: var(--bad-l); color: var(--bad); }
.chip.grey { background: var(--grey-l); color: var(--muted); }
.chip.gold { background: #fff4dc; color: #a8720f; }
.badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 247, 250, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand img { width: 40px; height: 40px; flex: none; }
.brand b { font-family: var(--serif); font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce { background: linear-gradient(90deg, var(--pink-d), #f46aa1); color: #fff; text-align: center; font-size: 13.5px; padding: 8px 16px; font-weight: 500; }

/* Landing */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.hero::before { content: ''; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, #ffd2e3 0%, rgba(255, 210, 227, 0) 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--pink-d); }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 18px 0 26px; max-width: 520px; }
.hero .perks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.hero .perks span { display: inline-flex; align-items: center; gap: 6px; }
.hero .perks svg { color: var(--pink); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.hero-art .blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: linear-gradient(140deg, #ffd0e2, #ffeef5 60%, #fff); box-shadow: var(--shadow); animation: blob 12s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 56% 44% 42% 58% / 40% 56% 44% 60%; } }
.hero-art svg.hand { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .float { position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; display: flex; align-items: center; gap: 8px; animation: bob 5s ease-in-out infinite; }
.hero-art .float b { display: block; font-size: 14px; }
.hero-art .f1 { left: -4%; top: 16%; }
.hero-art .f2 { right: -2%; bottom: 14%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 820px) {
  .hero { padding: 30px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { max-width: 300px; order: -1; }
}
section.block { padding: 48px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head p { color: var(--muted); margin-top: 6px; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); font-weight: 600; margin-bottom: 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.svc { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid #fbe4ee; border-radius: 18px; padding: 16px; transition: border-color .15s, transform .15s, box-shadow .15s; text-align: left; width: 100%; cursor: pointer; }
.svc:hover { border-color: var(--pink-m); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.svc.sel { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-l); }
.svc .emo { width: 48px; height: 48px; border-radius: 14px; background: var(--pink-xl); display: grid; place-items: center; font-size: 24px; flex: none; }
.svc .name { font-weight: 600; }
.svc .desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.svc .meta { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.svc .price { color: var(--pink-d); font-weight: 600; font-size: 15px; }
.cat-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin: 22px 0 10px; }
.cat-title:first-child { margin-top: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps .card { text-align: center; }
.steps .n { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--pink-l); color: var(--pink-d); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); font-size: 20px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.perk-band { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.perk-band .card { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #fff, var(--pink-xl)); }
.perk-band .big { font-size: 34px; }
@media (max-width: 720px) { .perk-band { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--pink-l); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 12px; background: linear-gradient(transparent, rgba(61, 31, 46, .7)); }
.gallery .del { position: absolute; top: 6px; right: 6px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.promo { position: relative; overflow: hidden; border-radius: var(--r); padding: 20px; color: #fff; background: linear-gradient(135deg, #f46aa1, var(--pink-d)); box-shadow: var(--shadow); }
.promo::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -50px; top: -60px; background: rgba(255, 255, 255, .14); }
.promo h3 { color: #fff; }
.promo .code { display: inline-block; margin-top: 12px; border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 10px; padding: 4px 12px; font-weight: 600; letter-spacing: .08em; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--pink-d); font-weight: 600; }
.cta-band { border-radius: 28px; padding: 36px 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #f46aa1, var(--pink-d)); box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .9; margin: 8px 0 20px; }
.cta-band .btn { background: #fff; color: var(--pink-d); }
footer.site { padding: 34px 0 100px; text-align: center; color: var(--muted); font-size: 13px; }
footer.site .links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
footer.site .ian { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); }
footer.site .ian b { color: var(--ink); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #22c35e; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(34, 195, 94, .7); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.social { display: flex; gap: 8px; flex-wrap: wrap; }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(circle at 20% 0%, #ffd9e8 0, transparent 45%), radial-gradient(circle at 100% 100%, #ffe6ef 0, transparent 40%), var(--bg); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .logo { width: 72px; height: 72px; margin: 0 auto 10px; }
.auth-card h2 { text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin: 6px 0 22px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.prefix-input { display: flex; align-items: stretch; }
.prefix-input .pre { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 14px 0 0 14px; background: var(--pink-xl); color: var(--muted); font-size: 14px; }
.prefix-input .input { border-radius: 0 14px 14px 0; }

/* App shell (clienta y dueña) */
.shell { min-height: 100vh; padding-bottom: 92px; }
.shell .main { padding-top: 22px; padding-bottom: 30px; }
.tabs-top { display: flex; gap: 4px; margin-left: auto; }
.tabs-top a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; color: var(--muted); font-weight: 500; font-size: 14px; position: relative; }
.tabs-top a:hover { background: var(--pink-xl); color: var(--ink); }
.tabs-top a.on { background: var(--pink-l); color: var(--pink-d); }
.tabs-top .badge { position: absolute; top: -2px; right: -2px; }
.tabs-bottom { display: none; }
@media (max-width: 860px) {
  .tabs-top { display: none; }
  .tabs-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .tabs-bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: var(--muted); font-size: 11px; font-weight: 500; border-radius: 14px; position: relative; min-width: 0; }
  .tabs-bottom a.on { color: var(--pink-d); }
  .tabs-bottom a.on svg { background: var(--pink-l); border-radius: 99px; padding: 3px 12px; width: 46px; }
  .tabs-bottom svg.i { width: 22px; height: 26px; }
  .tabs-bottom .badge { position: absolute; top: 0; right: calc(50% - 26px); }
}
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { color: var(--muted); margin-top: 4px; }
.hello { background: linear-gradient(135deg, #f46aa1, var(--pink-d)); color: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hello::after { content: '💅'; position: absolute; right: 16px; bottom: -14px; font-size: 90px; opacity: .2; transform: rotate(-12deg); }
.hello h2 { color: #fff; }
.hello p { opacity: .92; }
.hello .btn { background: #fff; color: var(--pink-d); border-color: transparent; }

/* Lists */
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .t { font-weight: 500; }
.item .s { font-size: 13px; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--pink-l); color: var(--pink-d); display: grid; place-items: center; font-weight: 600; flex: none; font-size: 15px; }
.time-pill { min-width: 66px; text-align: center; padding: 6px 8px; border-radius: 12px; background: var(--pink-xl); color: var(--pink-d); font-weight: 600; font-size: 13px; line-height: 1.25; flex: none; }
.time-pill small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .e { font-size: 40px; margin-bottom: 6px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.section-title h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cols > *, .stack > * { min-width: 0; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* Booking */
.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper div { flex: 1; height: 5px; border-radius: 99px; background: var(--pink-l); }
.stepper div.on { background: linear-gradient(90deg, #f46aa1, var(--pink-d)); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { scroll-snap-align: start; flex: none; width: 66px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; transition: all .15s; }
.day small { display: block; font-size: 11px; color: var(--muted); text-transform: capitalize; }
.day b { display: block; font-size: 20px; font-family: var(--serif); }
.day:hover { border-color: var(--pink-m); }
.day.sel { background: linear-gradient(135deg, #f46aa1, var(--pink-d)); border-color: transparent; color: #fff; }
.day.sel small { color: #ffe3ee; }
.day.off { opacity: .4; cursor: not-allowed; background: var(--grey-l); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { padding: 10px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; font-weight: 500; font-size: 14px; }
.slot:hover { border-color: var(--pink-m); }
.slot.sel { background: var(--pink); color: #fff; border-color: var(--pink); }
.summary { background: var(--pink-xl); border-radius: 18px; padding: 16px; }
.summary .r { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.summary .r span:first-child { color: var(--muted); }
.success { text-align: center; padding: 10px 0; }
.success .big { font-size: 64px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* Stamps */
.stamp-card { border-radius: 24px; padding: 22px; background: linear-gradient(140deg, #fff, var(--pink-xl)); border: 1.5px solid #fbdbe8; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 16px 0; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--pink-m); display: grid; place-items: center; font-size: 22px; color: var(--pink-m); background: #fff; }
.stamp.on { border: 0; background: linear-gradient(135deg, #f46aa1, var(--pink-d)); box-shadow: var(--shadow-s); }
.stamp.gift { border-color: var(--gold); }
.progress { height: 10px; background: var(--pink-l); border-radius: 99px; overflow: hidden; }
.progress div { height: 100%; background: linear-gradient(90deg, #f46aa1, var(--pink-d)); border-radius: 99px; }
.ref-code { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .1em; color: var(--pink-d); background: #fff; border: 2px dashed var(--pink-m); border-radius: 16px; padding: 8px 18px; display: inline-block; }

/* Dueña */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: #fff; border-radius: 18px; padding: 16px; border: 1px solid #fbe9f0; box-shadow: var(--shadow-s); }
.stat .l { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .l svg { width: 16px; height: 16px; color: var(--pink); }
.stat .v { font-size: 26px; font-weight: 600; margin-top: 4px; font-family: var(--serif); }
.stat .d { font-size: 12px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; font-size: 11px; color: var(--muted); }
.bars .b div { width: 100%; max-width: 38px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #f46aa1, var(--pink-d)); min-height: 4px; }
.bars .b.today div { background: linear-gradient(180deg, var(--gold), #d18a1e); }
.appt { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.appt:last-child { border-bottom: 0; }
.appt.st-cancelada, .appt.st-no-asistio { opacity: .6; }
.appt.st-bloqueo .time-pill { background: var(--grey-l); color: var(--muted); }
.appt .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.week a { text-align: center; padding: 8px 2px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.week a small { display: block; font-size: 11px; color: var(--muted); text-transform: capitalize; }
.week a b { font-size: 18px; font-family: var(--serif); display: block; }
.week a i { font-style: normal; font-size: 11px; color: var(--pink-d); }
.week a.sel { background: linear-gradient(135deg, #f46aa1, var(--pink-d)); color: #fff; border-color: transparent; }
.week a.sel small, .week a.sel i { color: #ffe3ee; }
.week a.today:not(.sel) { border-color: var(--pink-m); }
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; }
.filters button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: 13px; cursor: pointer; color: var(--muted); }
.filters button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 42px; }
.hours-edit .hrow { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 560px) { .hours-edit .hrow { grid-template-columns: 1fr 1fr; } .hours-edit .hrow .switch { grid-column: 1 / -1; } }
.qr-box { display: inline-block; padding: 14px; background: #fff; border-radius: 18px; border: 1.5px solid var(--line); }
.qr-box img, .qr-box canvas { width: 200px; height: 200px; }
.copybox { display: flex; gap: 8px; align-items: center; background: var(--pink-xl); border-radius: 14px; padding: 8px 8px 8px 14px; font-size: 14px; }
.copybox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.setup-list .item svg { color: var(--pink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); display: inline-block; }

/* Modal & toasts */
#modal-root .backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(61, 31, 46, .38); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .18s; }
#modal-root .modal { background: #fff; border-radius: 24px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; box-shadow: 0 30px 60px -20px rgba(61, 31, 46, .4); animation: up .22s cubic-bezier(.2, .9, .3, 1); }
#modal-root .modal.wide { max-width: 680px; }
#modal-root .modal .mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
#modal-root .modal .mf { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 560px) {
  #modal-root .backdrop { align-items: flex-end; padding: 0; }
  #modal-root .modal { border-radius: 24px 24px 0 0; max-height: 92vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.lightbox img { width: 100%; border-radius: 16px; }
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 14px; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); animation: up .2s; pointer-events: auto; display: flex; gap: 10px; align-items: center; }
.toast.err { background: var(--bad); }
.toast.ok { background: var(--ok); }
.rate { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { font-size: 40px; line-height: 1; color: #ecd9e1; cursor: pointer; transition: transform .1s; }
.rate label:hover { transform: scale(1.12); }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--gold); }
.temp-pass { font-family: ui-monospace, Menlo, monospace; font-size: 24px; letter-spacing: .08em; background: var(--pink-xl); border-radius: 14px; padding: 10px 16px; text-align: center; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kv div { background: var(--pink-xl); border-radius: 14px; padding: 10px 12px; }
.kv small { display: block; color: var(--muted); font-size: 11.5px; }
.kv b { font-size: 15px; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr 1fr; } }

/* Planes */
.lock-card { background: linear-gradient(135deg, var(--pink-xl), #fff); border-style: dashed; }
.lock-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--pink-l); color: var(--pink-d); }
.plan-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--ink); color: #fff; }
.plan-chip:hover { opacity: .9; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; }
.plan.cur { border: 2px solid var(--pink); box-shadow: var(--shadow); }
.plan .price { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .i { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--ok); }
.plan li.off { color: var(--muted); }
.plan li.off .i { color: #c9b8c0; }
.plan .flag { position: absolute; top: -11px; right: 16px; }
.plan .grow-space { flex: 1; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; }
.themes label { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 14px; }
.themes input { position: absolute; opacity: 0; pointer-events: none; }
.themes input:checked + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.themes span { width: 24px; height: 24px; border-radius: 50%; }
.hbars { display: grid; gap: 8px; }
.hbars .r { display: grid; grid-template-columns: minmax(0, 1fr) 2fr auto; gap: 10px; align-items: center; font-size: 14px; }
.hbars .r > div { height: 10px; border-radius: 99px; background: var(--pink-l); overflow: hidden; }
.hbars .r > div > i { display: block; height: 100%; background: var(--pink); border-radius: 99px; }

/* Páginas legales */
.legal { max-width: 820px; padding-top: 28px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 6px; }
.legal section { margin-top: 22px; }
.legal h2 { font-size: 20px; margin-bottom: 8px; }
.legal p { margin: 0 0 10px; line-height: 1.65; color: var(--ink); }
.legal .filters a { color: inherit; }
