/* Hourvelle app UI rebuilt for the website: iPhone frame and app screens (light app theme). */
:root {
  --app-bg: #F7F3EC; --app-surface: #FFFFFF; --app-muted: #EFE9DF; --app-text: #1C1825; --app-text-2: #625B6E;
  --app-subtle: #8E8798; --app-border: #E6DFD3; --app-primary: #2E2152; --app-primary-soft: #ECE7F7;
  --app-accent: #E3992B; --app-accent-soft: #FBEDD5; --app-success: #2B7F5B; --app-success-soft: #E1F2E9; --app-chart: #6B4FD8;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
.phone { --w: 320px; width: var(--w); aspect-ratio: 9 / 19.5; position: relative; flex: none; filter: drop-shadow(0 60px 70px rgba(0,0,0,.55)) drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.phone__body { position: absolute; inset: 0; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .032);
  background: linear-gradient(140deg, #6A6470 0%, #26222C 16%, #131116 50%, #2C2831 84%, #726B78 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 calc(var(--w) * .012) #0B0A0D; }
.phone__body::before { content: ''; position: absolute; right: -2px; top: 27%; width: 3px; height: 12%; border-radius: 2px; background: #3E3A44; }
.phone__body::after { content: ''; position: absolute; left: -2px; top: 20%; width: 3px; height: 6.5%; border-radius: 2px; background: #3E3A44; box-shadow: 0 calc(var(--w) * .14) 0 #3E3A44; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--app-bg); container-type: inline-size; isolation: isolate; }
.phone__island { position: absolute; z-index: 20; top: 2.3%; left: 50%; width: 32%; height: 3.7%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.phone__glare { position: absolute; inset: 0; z-index: 25; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 72%, rgba(255,255,255,.05) 100%); }

/* Screens: 1em ≈ 16pt on a 390pt-wide iPhone. */
.scr { position: absolute; inset: 0; font-size: 4.1cqw; color: var(--app-text); font-family: var(--sans); line-height: 1.35; background: var(--app-bg);
  padding: 3.5em 1.25em 0; display: flex; flex-direction: column; gap: .85em; overflow: hidden;
  transition: opacity .7s var(--ease), transform .9s var(--ease); }
.stage .scr { opacity: 0; transform: translateY(3%) scale(.985); pointer-events: none; }
.stage .scr.on { opacity: 1; transform: none; pointer-events: auto; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 3.2em; display: flex; align-items: center; justify-content: space-between; padding: .5em 2em 0 2.2em; font: 700 .92em/1 var(--sans); z-index: 5; }
.sb--light { color: #fff; }
.sb__r { display: flex; gap: .32em; align-items: flex-end; }
.sb__r i { display: block; width: .2em; background: currentColor; border-radius: .06em; }
.sb__r i:nth-child(1) { height: .35em; } .sb__r i:nth-child(2) { height: .5em; } .sb__r i:nth-child(3) { height: .65em; } .sb__r i:nth-child(4) { height: .8em; margin-right: .3em; }
.sb__r b { display: block; width: 1.55em; height: .78em; border-radius: .24em; box-shadow: inset 0 0 0 .09em currentColor; position: relative; }
.sb__r b::after { content: ''; position: absolute; inset: .17em .45em .17em .17em; border-radius: .08em; background: currentColor; }
.u-ovl { font: 800 .64em/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--app-subtle); }
.u-h1 { font: 600 1.85em/1.08 var(--serif); letter-spacing: -.02em; }
.u-h2 { font: 600 1.16em/1.15 var(--serif); letter-spacing: -.01em; }
.u-cap { font-size: .78em; color: var(--app-text-2); }
.u-between { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.u-link { font: 800 .74em/1 var(--sans); color: var(--app-primary); }
.u-search { display: flex; align-items: center; gap: .55em; min-height: 2.9em; border-radius: 1em; background: var(--app-surface); border: 1px solid var(--app-border); padding: 0 .9em; color: var(--app-subtle); font-size: .9em; }
.u-search svg { width: 1.25em; height: 1.25em; flex: none; }
.u-chips { display: flex; gap: .4em; overflow: hidden; flex: none; }
.u-chip { flex: none; padding: .5em .85em; border-radius: 999px; background: var(--app-surface); border: 1px solid var(--app-border); font: 700 .78em/1 var(--sans); color: var(--app-text); display: inline-flex; align-items: center; gap: .35em; }
.u-chip svg { width: 1.1em; height: 1.1em; }
.u-chip.on { background: var(--app-primary); border-color: var(--app-primary); color: #fff; }
.u-ticket { display: flex; border-radius: 1.75em; background: var(--app-primary); color: #fff; min-height: 7.2em; overflow: hidden; flex: none; }
.u-ticket__main { flex: 1; padding: 1em 1.05em; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.u-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .3em; background: #F2B54C; color: #1C1825; border-radius: 999px; padding: .22em .6em; font: 800 .72em/1.2 var(--sans); margin-bottom: .5em; }
.u-badge svg { width: 1.05em; height: 1.05em; }
.u-ticket__title { font: 600 1.3em/1.1 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-ticket__sub { font-size: .76em; opacity: .8; margin-top: .3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-perf { position: relative; width: 1.1em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; }
.u-perf::before, .u-perf::after { content: ''; position: absolute; left: 50%; width: 1.12em; height: 1.12em; border-radius: 50%; background: var(--app-bg); transform: translateX(-50%); }
.u-perf::before { top: -.56em; } .u-perf::after { bottom: -.56em; }
.u-perf i { width: .12em; height: .36em; border-radius: .1em; background: rgba(255,255,255,.3); }
.u-ticket__stub { width: 5.5em; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.u-ticket__time { font: 600 1.85em/1 var(--serif); letter-spacing: -.02em; }
.u-ticket__mer { font: 800 .6em/1 var(--sans); letter-spacing: .16em; color: #F2B54C; margin-top: .4em; }
.u-feature { position: relative; flex: none; height: 9.6em; border-radius: 1.4em; overflow: hidden; background-size: cover; background-position: center 35%; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: .9em 1em; }
.u-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(15,10,25,.85)); }
.u-feature > * { position: relative; }
.u-feature .u-h2 { font-size: 1.2em; }
.u-feature small { font-size: .72em; opacity: .85; }
.u-biz { display: flex; gap: .8em; align-items: center; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 1.2em; padding: .6em; flex: none; }
.u-biz__img { width: 4.3em; height: 4.3em; border-radius: .85em; background-size: cover; background-position: center; flex: none; }
.u-biz__name { font: 600 1.02em/1.15 var(--serif); }
.u-free { display: inline-flex; align-items: center; gap: .3em; margin-top: .35em; font: 800 .7em/1.2 var(--sans); color: var(--app-success); background: var(--app-success-soft); padding: .28em .6em; border-radius: 999px; }
.u-free svg { width: 1.05em; height: 1.05em; }
.u-tab { margin-top: auto; margin-inline: -.2em; margin-bottom: 1.25em; height: 4em; border-radius: 2em; background: rgba(255,255,255,.9); border: 1px solid var(--app-border); box-shadow: 0 .8em 2em rgba(28,24,37,.12);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: relative; flex: none; }
.u-tab span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .25em; font: 700 .56em/1 var(--sans); color: var(--app-subtle); }
.u-tab span svg { width: 2em; height: 2em; }
.u-tab span.on { color: var(--app-primary); font-weight: 800; }
.u-tab::before { content: ''; position: absolute; left: calc(var(--t, 0) * 20% + 2%); width: 16%; top: .45em; bottom: .45em; border-radius: 1.4em; background: var(--app-primary-soft); }
.u-tab--0 { --t: 0; } .u-tab--1 { --t: 1; } .u-tab--2 { --t: 2; } .u-tab--3 { --t: 3; } .u-tab--4 { --t: 4; }
.u-hero-img { margin: -3.5em -1.25em -.2em; height: 15em; flex: none; background-size: cover; background-position: center 30%; position: relative; }
.u-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 28%, rgba(247,243,236,0) 66%, var(--app-bg)); }
.u-svc { display: flex; align-items: center; justify-content: space-between; padding: .75em .9em; border-radius: 1em; background: var(--app-surface); border: 1px solid var(--app-border); flex: none; transition: background .4s, border-color .4s, box-shadow .4s; }
.u-svc.on { border-color: var(--app-primary); box-shadow: inset 0 0 0 1px var(--app-primary); background: var(--app-primary-soft); }
.u-svc b { font-weight: 700; font-size: .9em; display: block; }
.u-svc small { font-size: .7em; color: var(--app-text-2); }
.u-price { font: 600 1em/1 var(--serif); }
.u-progress { height: .32em; border-radius: 1em; background: var(--app-muted); overflow: hidden; flex: none; }
.u-progress i { display: block; height: 100%; width: 25%; background: var(--app-primary); border-radius: inherit; transition: width .8s var(--ease); }
.u-progress.p50 i { width: 50%; } .u-progress.p75 i { width: 75%; } .u-progress.p100 i { width: 100%; }
.u-staff { display: flex; gap: .5em; flex: none; }
.u-staff > div { flex: 1; border-radius: 1.1em; border: 1px solid var(--app-border); background: var(--app-surface); padding: .75em .35em; display: flex; flex-direction: column; align-items: center; gap: .3em; text-align: center; transition: background .4s, border-color .4s; }
.u-staff > div.on { background: var(--app-primary-soft); border-color: var(--app-primary); }
.u-av { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: #EFE4D2; font: 700 .9em/1 var(--sans); color: var(--app-primary); flex: none; }
.u-av--p { background: var(--app-primary); color: #fff; }
.u-av svg { width: 1.35em; height: 1.35em; }
.u-staff b { font-size: .76em; } .u-staff small { font-size: .6em; color: var(--app-text-2); line-height: 1.2; }
.u-days { display: flex; gap: .38em; flex: none; }
.u-day { flex: 1; border-radius: .95em; border: 1px solid var(--app-border); background: var(--app-surface); padding: .5em 0; text-align: center; transition: background .4s, color .4s; }
.u-day small { display: block; font: 800 .56em/1.3 var(--sans); text-transform: uppercase; color: var(--app-subtle); letter-spacing: .06em; }
.u-day b { display: block; font: 600 1.18em/1.15 var(--serif); }
.u-day.on { background: var(--app-primary); border-color: var(--app-primary); color: #fff; } .u-day.on small { color: #CFC6EA; }
.u-day.off { opacity: .38; }
.u-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; flex: none; }
.u-slot { border-radius: .9em; border: 1px solid var(--app-border); background: var(--app-surface); text-align: center; padding: .66em 0; font: 700 .84em/1 var(--sans); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.u-slot.on { background: var(--app-primary); border-color: var(--app-primary); color: #fff; transform: scale(1.04); }
.u-btn { margin-top: auto; margin-bottom: 1.7em; min-height: 3.2em; border-radius: 1.1em; background: var(--app-primary); color: #fff; display: grid; place-items: center; font: 800 .92em/1 var(--sans); flex: none; transition: opacity .4s; }
.u-btn.dim { opacity: .35; }
.u-check { width: 4.4em; height: 4.4em; border-radius: 50%; background: var(--app-success-soft); color: var(--app-success); display: grid; place-items: center; margin: .4em auto 0; flex: none; }
.u-check svg { width: 2.3em; height: 2.3em; }
.u-check path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 1s var(--ease) .3s; }
.on .u-check path, .in .u-check path { stroke-dashoffset: 0; }
.u-center { text-align: center; }
.u-toggle { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.u-switch { width: 2.9em; height: 1.75em; border-radius: 1em; background: #34C759; position: relative; flex: none; }
.u-switch::after { content: ''; position: absolute; right: .15em; top: .15em; width: 1.45em; height: 1.45em; border-radius: 50%; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.2); }
.u-card { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 1.25em; padding: .95em; flex: none; }
.u-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; flex: none; }
.u-kpi { border-radius: 1.1em; border: 1px solid var(--app-border); background: var(--app-surface); padding: .7em .65em; }
.u-kpi--a { background: var(--app-accent-soft); border-color: #F3D9A9; }
.u-kpi svg { width: 1.15em; height: 1.15em; color: var(--app-primary); }
.u-kpi--a svg { color: var(--app-accent); }
.u-kpi b { display: block; font: 600 1.42em/1.1 var(--serif); margin-top: .3em; }
.u-kpi small { font-size: .62em; color: var(--app-text-2); line-height: 1.2; display: block; }
.u-chart { display: flex; align-items: flex-end; gap: .55em; height: 6.6em; padding-top: 1.2em; border-bottom: 1px solid var(--app-border); }
.u-chart i { flex: 1; border-radius: .4em .4em .15em .15em; background: #B3A3EE; transform-origin: bottom; transform: scaleY(.05); transition: transform 1.2s var(--ease); }
.u-chart i.hi { background: var(--app-chart); }
.u-chart i:nth-child(1) { height: 55%; } .u-chart i:nth-child(2) { height: 36%; transition-delay: .07s; } .u-chart i:nth-child(3) { height: 64%; transition-delay: .14s; }
.u-chart i:nth-child(4) { height: 27%; transition-delay: .21s; } .u-chart i:nth-child(5) { height: 82%; transition-delay: .28s; } .u-chart i:nth-child(6) { height: 100%; transition-delay: .35s; }
.u-chart i:nth-child(7) { height: 18%; transition-delay: .42s; }
.in .u-chart i, .on .u-chart i { transform: none; }
.u-chart__labels { display: flex; gap: .55em; font-size: .58em; color: var(--app-subtle); margin-top: .45em; }
.u-chart__labels span { flex: 1; text-align: center; }
.u-chart__labels span.b { color: var(--app-text); font-weight: 800; }
.u-week { display: flex; justify-content: space-between; flex: none; }
.u-week span { width: 2.4em; text-align: center; font-size: .7em; color: var(--app-subtle); }
.u-week span b { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; margin-top: .25em; color: var(--app-text); font: 700 1.1em/1 var(--sans); }
.u-week span.on b { background: var(--app-primary); color: #fff; }
.u-agenda { position: relative; flex: 1; border-top: 1px solid var(--app-border); margin: 0 -1.25em; }
.u-agenda__h { position: absolute; left: 0; width: 3.1em; text-align: right; font-size: .6em; color: var(--app-subtle); transform: translateY(-.65em); }
.u-agenda__l { position: absolute; left: 2.6em; right: 0; border-top: 1px dashed var(--app-border); }
.u-ev { position: absolute; left: 2.9em; right: 1em; border-radius: .7em; border-left: .26em solid var(--app-primary); background: var(--app-primary-soft); padding: .4em .6em; font-size: .76em; line-height: 1.25; opacity: 0; transform: translateX(8%); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.in .u-ev, .on .u-ev { opacity: 1; transform: none; }
.u-ev b { display: block; } .u-ev span { color: var(--app-text-2); font-size: .9em; }
.u-ev--a { border-left-color: var(--app-accent); background: var(--app-accent-soft); }
.u-ev--g { border-left-color: var(--app-success); background: var(--app-success-soft); }
.u-ev:nth-of-type(2) { transition-delay: .12s; } .u-ev:nth-of-type(3) { transition-delay: .24s; } .u-ev:nth-of-type(4) { transition-delay: .36s; }
.u-now { position: absolute; left: 2.4em; right: 0; height: 2px; background: #E5484D; z-index: 2; }
.u-now::before { content: ''; position: absolute; left: -.3em; top: -.27em; width: .6em; height: .6em; border-radius: 50%; background: #E5484D; }
.u-member { display: flex; align-items: center; gap: .7em; padding: .7em; border-radius: 1.1em; background: var(--app-surface); border: 1px solid var(--app-border); flex: none; }
.u-member .u-av { width: 2.8em; height: 2.8em; }
.u-member > div { min-width: 0; flex: 1; }
.u-member b { font-size: .9em; display: block; } .u-member small { font-size: .7em; color: var(--app-text-2); }
.u-tags { display: flex; gap: .3em; flex-wrap: wrap; margin-top: .35em; }
.u-tags span { font: 700 .58em/1 var(--sans); padding: .38em .55em; border-radius: 999px; background: var(--app-muted); color: var(--app-text-2); }
.u-notif { display: flex; gap: .7em; padding: .8em; border-radius: 1.2em; background: rgba(255,255,255,.95); border: 1px solid var(--app-border); box-shadow: 0 .6em 1.6em rgba(28,24,37,.1); flex: none; }
.u-notif__ic { width: 2.3em; height: 2.3em; border-radius: .6em; display: grid; place-items: center; background: var(--app-primary); color: #F2B54C; flex: none; font: 600 1.1em/1 var(--serif); }
.u-notif b { font-size: .8em; display: block; } .u-notif p { margin: .15em 0 0; font-size: .72em; color: var(--app-text-2); line-height: 1.3; }
.u-notif small { font-size: .6em; color: var(--app-subtle); margin-left: auto; white-space: nowrap; }
.u-wait { border-radius: 1.2em; border: 1px solid var(--app-border); padding: .9em; background: var(--app-surface); flex: none; }
.u-wait .u-chips { flex-wrap: wrap; margin: .6em 0; }
.u-ghostbtn { min-height: 2.8em; border-radius: 1em; border: 1px solid var(--app-border); background: var(--app-muted); display: grid; place-items: center; font: 800 .82em/1 var(--sans); color: var(--app-primary); }
.u-notice { border-radius: 1em; background: var(--app-primary-soft); padding: .7em .85em; font-size: .76em; color: var(--app-text); flex: none; }
.u-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25em; text-align: center; font-size: .78em; flex: none; }
.u-month span { padding: .48em 0; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; }
.u-month span.h { font: 800 .7em/1 var(--sans); color: var(--app-subtle); aspect-ratio: auto; }
.u-month span.x { color: #C7C0B6; } .u-month span.f { font-weight: 800; } .u-month span.on { background: var(--app-primary); color: #fff; }
.u-dot { width: .45em; height: .45em; border-radius: 50%; background: var(--app-success); display: inline-block; }

