/* The Tox — booking page redesign
 * Brand: Bebas Neue Pro (headings) + Systemia (subheads/body), strict black/white,
 * #555 text grey, light greys #F5F5F5 / #ECECEC / #E1E1E1, sharp corners, B&W photography.
 * Layout: sticky photo "stage" + scrolling booking "flow" (desktop ≥1024px);
 * stacked hero + flow + sticky action bar on smaller screens. */

/* ── Fonts (files served from The Tox's own kit) ── */
@font-face { font-family: 'Bebas Neue Pro'; src: url('../fonts/BebasNeuePro-Light.ttf') format('truetype');   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bebas Neue Pro'; src: url('../fonts/BebasNeuePro-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bebas Neue Pro'; src: url('../fonts/BebasNeuePro-Bold.ttf') format('truetype');    font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Systemia'; src: url('../fonts/Systemia-Light.woff') format('woff');    font-weight: 300; font-display: swap; }
@font-face { font-family: 'Systemia'; src: url('../fonts/Systemia-Regular.woff') format('woff');  font-weight: 400; font-display: swap; }
@font-face { font-family: 'Systemia'; src: url('../fonts/Systemia-Semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Systemia'; src: url('../fonts/Systemia-Bold.woff') format('woff');     font-weight: 700; font-display: swap; }

/* ── Tokens — The Tox palette ── */
:root {
	--black:   #000000;
	--white:   #ffffff;
	--text:    #555555;
	--char:    #494949;
	--g-50:    #f5f5f5;
	--g-100:   #ececec;
	--g-200:   #e1e1e1;
	--line:    rgba(0, 0, 0, 0.18);
	--line-2:  rgba(0, 0, 0, 0.10);
	--chip:    rgba(0, 0, 0, 0.07);
	--w-80:    rgba(255, 255, 255, 0.80);
	--w-60:    rgba(255, 255, 255, 0.60);
	--w-20:    rgba(255, 255, 255, 0.20);
	--w-10:    rgba(255, 255, 255, 0.10);

	--display: 'Bebas Neue Pro', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
	--sans:    'Systemia', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	--gut:   clamp(20px, 4.4vw, 64px);
	--top-h: 64px;
	--bar-h: 84px;
	--ease:  cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); scroll-padding-bottom: calc(var(--bar-h) + 24px); }
body {
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--black);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.tx-stage :focus-visible { outline-color: var(--white); }

.tx-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tx-skip { position: absolute; left: 16px; top: -100px; z-index: 999; padding: 10px 16px; background: var(--black); color: var(--white); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tx-skip:focus { top: 12px; }

/* ── Shared atoms ── */
.tx-eyebrow, .tx-label {
	font-family: var(--sans);
	font-weight: 600;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--text);
}
.tx-eyebrow b { color: var(--black); font-weight: 700; }
.tx-eyebrow--light, .tx-label--light { color: var(--w-80); }

.tx-chip {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 8px 5px;
	background: var(--chip);
	font-family: var(--display);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}
.tx-chip--ink { background: var(--black); color: var(--white); }

.tx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 4px 28px 0;
	background: var(--black);
	color: var(--white);
	border: 1px solid var(--black);
	font-family: var(--display);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	transition: background .25s, color .25s, opacity .25s;
}
.tx-btn:hover { background: var(--char); border-color: var(--char); }
.tx-btn:disabled { background: var(--g-200); border-color: var(--g-200); color: rgba(0,0,0,.4); cursor: not-allowed; }
.tx-btn--line { background: transparent; color: var(--black); }
.tx-btn--line:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-arw { display: inline-block; font-family: var(--sans); font-size: 18px; transform: translateY(-2px); transition: transform .3s var(--ease); }
.tx-btn:not(:disabled):hover .tx-arw { transform: translate(4px, -2px); }

/* ══════════════════════════════════════
   APP SHELL
═══════════════════════════════════════ */
.tx-app { display: block; }

/* ══════════════════════════════════════
   STAGE — B&W photography + headline
═══════════════════════════════════════ */
.tx-stage {
	position: relative;
	height: clamp(236px, 30svh, 260px);
	background: var(--black);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.tx-stage__media, .tx-media { position: absolute; inset: 0; }
.tx-media {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center 40%;
	filter: grayscale(1) contrast(1.06);
	opacity: 0;
	transform: scale(1.04);
	transition: opacity .9s var(--ease), transform 2.4s var(--ease);
}
.tx-media.is-on { opacity: 1; transform: scale(1); }
.tx-stage__scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
		linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.5) 34%, rgba(0,0,0,0) 62%);
	pointer-events: none;
}

/* camera-frame corner marks */
.tx-corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--w-60); z-index: 2; pointer-events: none; }
.tx-corner--tl { top: 76px; left: var(--gut); border-top-width: 1px; border-left-width: 1px; }
.tx-corner--tr { top: 76px; right: var(--gut); border-top-width: 1px; border-right-width: 1px; }
.tx-corner--bl { bottom: 20px; left: var(--gut); border-bottom-width: 1px; border-left-width: 1px; }
.tx-corner--br { bottom: 20px; right: var(--gut); border-bottom-width: 1px; border-right-width: 1px; }

.tx-stage__top {
	position: absolute; inset: 0 0 auto 0; z-index: 3;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	height: var(--top-h);
	padding-inline: var(--gut);
	border-bottom: 1px solid var(--w-20);
}
.tx-brand {
	display: inline-flex; align-items: baseline; gap: 12px;
	font-family: var(--display); font-weight: 700;
	font-size: 28px; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
}
.tx-brand small {
	font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .2em; color: var(--w-80);
}
.tx-pause {
	display: inline-flex; align-items: center; gap: 10px;
	height: 34px; padding: 0 12px;
	border: 1px solid var(--w-20);
	background: rgba(0,0,0,.25);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--white);
	transition: border-color .25s, opacity .4s;
}
.tx-pause:hover { border-color: var(--w-60); }
.tx-pause__icon { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.tx-pause[aria-pressed="true"] .tx-pause__icon { border: 0; width: 0; height: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }
.tx-stage:not(.is-video) .tx-pause { opacity: 0; pointer-events: none; }

.tx-stage__copy {
	position: absolute; inset: auto 0 0 0; z-index: 3;
	padding: 0 var(--gut) 44px;
}
.tx-stage__title {
	margin-top: 10px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(44px, 14.5vw, 120px);
	line-height: .82;
	letter-spacing: 0;
	text-transform: uppercase;
	white-space: nowrap;
}
.tx-stage__title span { font-weight: 300; }

.tx-now { margin-top: 18px; max-width: 520px; min-height: 66px; }
.tx-now__label { font: 600 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.tx-now__text { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--w-80); }
.tx-now__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tx-now__tags:empty { display: none; }
.tx-now__tags li {
	padding: 6px 8px 5px;
	background: var(--w-10);
	border: 1px solid var(--w-20);
	font: 700 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.tx-now.is-swapping > * { opacity: 0; transform: translateY(6px); }
.tx-now > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }

/* ══════════════════════════════════════
   FLOW
═══════════════════════════════════════ */
.tx-flow { position: relative; display: flex; flex-direction: column; min-width: 0; }

.tx-top {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: stretch; justify-content: space-between; gap: 12px;
	height: var(--top-h);
	padding-inline: var(--gut);
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.tx-steps { display: flex; gap: clamp(14px, 2vw, 28px); flex: 1; min-width: 0; }
.tx-steps li { display: flex; flex: none; }
.tx-step {
	position: relative;
	display: flex; align-items: center; gap: 8px;
	width: 100%;
	padding: 0 2px 0 0;
	color: rgba(0,0,0,.34);
	text-align: left;
	cursor: default;
}
.tx-step::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
	background: transparent; transition: background .4s var(--ease);
}
.tx-step b { font: 700 22px/1 var(--display); letter-spacing: .02em; padding-top: 3px; }
.tx-step span { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.tx-step.is-done { color: var(--black); cursor: pointer; }
.tx-step.is-done::after { background: var(--black); }
.tx-step.is-done:hover span { text-decoration: underline; text-underline-offset: 3px; }
.tx-step.is-active { color: var(--black); }
.tx-step.is-active::after { background: var(--black); }
.tx-step:disabled:not(.is-active) { cursor: default; }

.tx-top__right { display: flex; align-items: center; gap: 8px; }
.tx-call {
	display: none;
	align-items: center; gap: 10px;
	height: 40px; padding: 0 14px;
	border: 1px solid var(--line);
	font: 700 16px/1 var(--display); letter-spacing: .08em; padding-top: 3px;
	transition: border-color .25s;
}
.tx-call span { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); padding-bottom: 2px; }
.tx-call:hover { border-color: var(--black); }
.tx-exit {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid var(--line);
	transition: background .25s, color .25s;
}
.tx-exit svg { width: 14px; height: 14px; }
.tx-exit:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.tx-panels { flex: 1; width: 100%; padding: 40px var(--gut) 56px; }
@media (min-width: 1024px) { .tx-panels { max-width: 820px; } }

.tx-panel { outline: none; }
.tx-panel.is-active { animation: tx-in .55s var(--ease) both; }
@keyframes tx-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tx-head { margin-bottom: 28px; }
.tx-title {
	margin-top: 10px;
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(44px, 11vw, 72px);
	line-height: .86;
	text-transform: uppercase;
	letter-spacing: 0;
}
.tx-title span { font-weight: 300; }
.tx-sub { margin-top: 14px; max-width: 520px; font-size: 16px; line-height: 1.5; color: var(--text); }
.tx-sub b { color: var(--black); font-weight: 600; }

/* ── Step 1: treatment rows ── */
.tx-services { display: grid; gap: 10px; }
.tx-svc {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto;
	grid-template-areas: "img body price";
	gap: 16px;
	align-items: start;
	padding: 12px 14px 14px 12px;
	border: 1px solid var(--line);
	background: var(--white);
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tx-svc input, .tx-tech input { position: absolute; opacity: 0; pointer-events: none; }
.tx-svc:hover { border-color: var(--black); }
.tx-svc__img { grid-area: img; aspect-ratio: 1; overflow: hidden; background: var(--g-100); }
.tx-svc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.tx-svc:hover .tx-svc__img img { transform: scale(1.06); }
.tx-svc__body { grid-area: body; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 2px; }
.tx-svc__name {
	font-family: var(--display); font-weight: 700;
	font-size: 28px; line-height: .92; letter-spacing: .01em; text-transform: uppercase;
}
.tx-svc__desc { font-size: 14px; line-height: 1.45; color: var(--text); transition: color .3s; }
.tx-svc__price {
	grid-area: price;
	font-family: var(--display); font-weight: 700;
	font-size: 34px; line-height: .9; letter-spacing: .01em;
	padding-top: 2px;
}
/* square tick, bottom-right */
.tx-svc__tick {
	position: absolute; right: 14px; bottom: 14px;
	width: 20px; height: 20px;
	border: 1px solid var(--line);
	transition: background .25s, border-color .25s;
}
.tx-svc__tick::after {
	content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
	border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
	transition: transform .25s var(--ease);
}
.tx-svc:has(input:checked), .tx-tech:has(input:checked) { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-svc:has(input:checked) .tx-svc__desc,
.tx-tech:has(input:checked) .tx-tech__role { color: var(--w-80); }
.tx-svc:has(input:checked) .tx-chip,
.tx-tech:has(input:checked) .tx-chip { background: var(--w-20); color: var(--white); }
.tx-svc:has(input:checked) .tx-svc__tick,
.tx-tech:has(input:checked) .tx-svc__tick { background: var(--white); border-color: var(--white); }
.tx-svc:has(input:checked) .tx-svc__tick::after,
.tx-tech:has(input:checked) .tx-svc__tick::after { transform: rotate(45deg) scale(1); }
.tx-svc:has(input:focus-visible), .tx-tech:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 3px; }

/* ── Step 2: specialists ── */
.tx-techs { display: grid; gap: 10px; }
.tx-tech {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	grid-template-areas: "mono body" "mono chip";
	column-gap: 16px; row-gap: 10px;
	align-items: center;
	padding: 14px 48px 14px 14px;
	border: 1px solid var(--line);
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tx-tech:hover { border-color: var(--black); }
.tx-tech__mono {
	grid-area: mono; align-self: stretch;
	display: flex; align-items: center; justify-content: center;
	min-height: 64px;
	background: var(--g-100); color: var(--black);
	font: 700 26px/1 var(--display); letter-spacing: .06em; padding-top: 3px;
}
.tx-tech__mono svg { width: 22px; height: 22px; }
.tx-tech--any .tx-tech__mono { background: var(--black); color: var(--white); }
.tx-tech:has(input:checked) .tx-tech__mono { background: var(--white); color: var(--black); }
.tx-tech__body { grid-area: body; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tx-tech__name { font: 700 26px/.95 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.tx-tech__role { font-size: 14px; color: var(--text); transition: color .3s; }
.tx-tech .tx-chip { grid-area: chip; }
.tx-tech .tx-svc__tick { top: 50%; bottom: auto; transform: translateY(-50%); }
.tx-tech:has(input:checked) .tx-chip--ink { background: var(--white); color: var(--black); }

/* ── Step 3: dates + slots ── */
.tx-block + .tx-block { margin-top: 36px; }
.tx-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tx-arrows { display: flex; gap: 6px; }
.tx-arrow {
	width: 40px; height: 40px;
	border: 1px solid var(--line);
	font-size: 16px;
	transition: background .25s, color .25s, border-color .25s;
}
.tx-arrow:hover:not(:disabled) { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-arrow:disabled { opacity: .3; cursor: default; }

.tx-dates {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 76px;
	gap: 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin-inline: calc(var(--gut) * -1);
	padding-inline: var(--gut);
	scroll-padding-inline: var(--gut);
}
.tx-dates::-webkit-scrollbar { display: none; }
.tx-date {
	scroll-snap-align: start;
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 12px 0 10px;
	border: 1px solid var(--line);
	transition: background .25s, color .25s, border-color .25s;
}
.tx-date:hover:not(:disabled) { border-color: var(--black); }
.tx-date__dow { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.tx-date__num { font: 700 40px/.9 var(--display); padding-top: 4px; }
.tx-date__mon { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.tx-date[aria-selected="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-date[aria-selected="true"] .tx-date__dow,
.tx-date[aria-selected="true"] .tx-date__mon { color: var(--w-80); }
.tx-date:disabled { background: var(--g-50); color: rgba(0,0,0,.28); border-color: var(--line-2); cursor: not-allowed; }
.tx-date:disabled .tx-date__dow, .tx-date:disabled .tx-date__mon { color: rgba(0,0,0,.28); }

.tx-legend { display: flex; align-items: center; gap: 8px; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.tx-legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--line); }
.tx-legend__open { margin-left: 0; }
.tx-legend__taken { margin-left: 8px; background: linear-gradient(to top right, transparent 46%, rgba(0,0,0,.35) 48%, rgba(0,0,0,.35) 52%, transparent 54%), var(--g-50); }

.tx-slotgroup + .tx-slotgroup { margin-top: 20px; }
.tx-slotgroup__label {
	display: flex; align-items: center; gap: 12px;
	margin-bottom: 10px;
	font: 700 18px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.tx-slotgroup__label::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.tx-slotgroup__label small { font: 600 10px/1 var(--sans); letter-spacing: .14em; color: var(--text); }
.tx-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tx-slot {
	height: 50px;
	border: 1px solid var(--line);
	font: 700 20px/1 var(--display); letter-spacing: .06em; padding-top: 3px;
	transition: background .25s, color .25s, border-color .25s;
}
.tx-slot:hover:not(:disabled) { border-color: var(--black); }
.tx-slot[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-slot:disabled {
	color: rgba(0,0,0,.26);
	border-color: var(--line-2);
	background: var(--g-50);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	cursor: not-allowed;
}

/* ── Step 4: ticket + form ── */
.tx-confirm { display: grid; gap: 28px; }
.tx-ticket {
	position: relative;
	padding: 22px 22px 20px;
	background: var(--black);
	color: var(--white);
}
/* perforation edge */
.tx-ticket::before {
	content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 6px;
	background: radial-gradient(circle at 5px -1px, var(--white) 4px, transparent 4.5px) 0 0 / 10px 6px repeat-x;
}
.tx-ticket__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--w-20); }
.tx-ticket__brand { font: 700 20px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.tx-ticket__row {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--w-10);
}
.tx-ticket__row dt { font: 600 10px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--w-60); }
.tx-ticket__row dd { font-size: 15px; line-height: 1.4; }
.tx-ticket__row dd small { display: block; color: var(--w-60); font-size: 13px; }
.tx-ticket__total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; }
.tx-ticket__total dt { font: 600 10px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--w-80); }
.tx-ticket__total dd { font: 700 52px/.8 var(--display); }
.tx-ticket__note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--w-20); font-size: 13px; line-height: 1.5; color: var(--w-60); }

.tx-form { display: grid; gap: 14px; align-content: start; }
.tx-form .tx-label:not(:first-child) { margin-top: 14px; }
.tx-label--lock { display: flex; align-items: center; gap: 8px; }
.tx-label--lock svg { width: 13px; height: 13px; }
.tx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tx-field { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tx-field label { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.tx-field input {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white);
	font-size: 16px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.tx-field input::placeholder { color: rgba(0,0,0,.32); }
.tx-field input:hover { border-color: rgba(0,0,0,.4); }
.tx-field input:focus { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.tx-err { display: none; margin-top: 6px; font-size: 12px; color: var(--black); font-weight: 600; }
.tx-err::before { content: '— '; }
.tx-field.is-invalid input { border-color: var(--black); box-shadow: inset 3px 0 0 var(--black); }
.tx-field.is-invalid .tx-err { display: block; }
.tx-fine { font-size: 13px; color: var(--text); }

/* ── Step 5: booked ── */
.tx-done__title {
	margin: 12px 0 0;
	font-family: var(--display); font-weight: 700;
	font-size: clamp(64px, 17vw, 112px);
	line-height: .82; text-transform: uppercase;
}
.tx-done__title span { font-weight: 300; }
.tx-done .tx-ticket { margin-top: 28px; }
.tx-done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.tx-done__actions .tx-btn { padding-inline: 12px; font-size: 19px; }
.tx-done__links { display: flex; gap: 24px; margin-top: 20px; }
.tx-done__links a, .tx-done__links button {
	font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	text-decoration: underline; text-underline-offset: 4px; color: var(--text);
}
.tx-done__links a:hover, .tx-done__links button:hover { color: var(--black); }

/* ══════════════════════════════════════
   FOOTER + ACTION BAR
═══════════════════════════════════════ */
.tx-foot {
	display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
	padding: 20px var(--gut);
	border-top: 1px solid var(--line-2);
	font: 600 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.tx-foot a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

.tx-bar {
	position: sticky; bottom: 0; z-index: 30;
	display: flex; align-items: center; gap: 12px;
	min-height: var(--bar-h);
	padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
	background: var(--white);
	border-top: 1px solid var(--black);
}
.tx-bar__back {
	flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border: 1px solid var(--line);
	transition: border-color .25s, background .25s, color .25s;
}
.tx-bar__back svg { width: 16px; height: 16px; }
.tx-bar__back:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.tx-bar__sum { flex: 1; min-width: 0; }
.tx-bar__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 600 10px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.tx-bar__value { margin-top: 3px; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-bar__total { display: none; font: 700 40px/.8 var(--display); padding-top: 4px; }
.tx-bar__next { flex: none; padding-inline: 22px; }
.tx-app.is-done .tx-bar { display: none; }

/* ══════════════════════════════════════
   ≥ 640 — roomier rows
═══════════════════════════════════════ */
@media (min-width: 640px) {
	.tx-svc { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; padding: 14px 18px 14px 14px; }
	.tx-svc__name { font-size: 32px; }
	.tx-svc__price { font-size: 40px; }
	.tx-svc__desc { max-width: 440px; }
	.tx-svc__tick { right: 18px; bottom: 16px; }
	.tx-techs { grid-template-columns: 1fr 1fr; }
	.tx-tech--any { grid-column: 1 / -1; }
	.tx-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tx-call { display: inline-flex; }
	.tx-bar__total { display: block; }
	.tx-ticket__row { grid-template-columns: 120px minmax(0, 1fr); }
}

/* ══════════════════════════════════════
   ≥ 1024 — split screen
═══════════════════════════════════════ */
@media (min-width: 1024px) {
	.tx-app { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
	.tx-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 640px; }
	.tx-stage__title { font-size: clamp(96px, 10.4vw, 188px); white-space: normal; }
	.tx-stage__copy { padding-bottom: 56px; }
	.tx-corner--bl, .tx-corner--br { bottom: 24px; }
	.tx-flow { min-height: 100vh; border-left: 1px solid var(--black); }
	.tx-panels { padding-top: 56px; }
	.tx-done__actions { max-width: 520px; }
}
/* tablet: compact hero band — one-line headline, label only */
@media (min-width: 640px) and (max-width: 1023px) {
	.tx-stage { height: clamp(270px, 30svh, 300px); }
	.tx-stage__copy { padding-bottom: 36px; }
	.tx-stage__title { font-size: clamp(72px, 10.5vw, 104px); }
	.tx-now { margin-top: 14px; min-height: 0; }
	.tx-now__text, .tx-now__tags { display: none; }
	.tx-corner { display: none; }
	.tx-panels { padding-top: 36px; }
}
@media (min-width: 1024px) and (max-width: 1599px) {
	.tx-call span { display: none; }
	.tx-step:not(.is-active) span { display: none; }
}
@media (min-width: 1440px) {
	.tx-panels { padding-inline: clamp(64px, 5vw, 96px); }
}

/* small phones */
@media (max-width: 400px) {
	.tx-btn { padding-inline: 18px; font-size: 19px; }
	.tx-bar { gap: 10px; }
	.tx-bar__back { width: 48px; height: 52px; }
	.tx-ticket__total dd { font-size: 44px; }
	.tx-done__actions { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
	/* compact hero: one-line headline, label only */
	.tx-stage__copy { padding-bottom: 34px; }
	.tx-stage__title { margin-top: 8px; }
	.tx-now { margin-top: 12px; min-height: 0; }
	.tx-now__text, .tx-now__tags { display: none; }
	.tx-corner { display: none; }

	.tx-panels { padding-top: 28px; }
	.tx-head { margin-bottom: 20px; }
	.tx-head .tx-eyebrow { display: none; }
	.tx-title { margin-top: 0; font-size: clamp(32px, 9.6vw, 56px); line-height: .9; }
	.tx-sub { margin-top: 8px; font-size: 15px; }

	/* treatments: a menu list with hairlines instead of boxed cards */
	.tx-services, .tx-techs { gap: 0; margin-inline: -12px; border-top: 1px solid var(--black); }
	.tx-svc {
		grid-template-columns: 60px minmax(0, 1fr) auto;
		gap: 14px;
		align-items: center;
		padding: 14px 12px;
		border: 0;
		border-bottom: 1px solid var(--line);
	}
	.tx-svc:hover { border-color: var(--line); }
	.tx-svc__img { align-self: start; }
	.tx-svc__body { gap: 5px; padding-top: 0; }
	.tx-svc .tx-chip { order: -1; padding: 0; background: none !important; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .16em; color: var(--text); }
	.tx-svc__name { font-size: 23px; line-height: .95; }
	.tx-svc__price { align-self: start; font-size: 26px; padding-top: 16px; }
	.tx-svc__tick { display: none; }
	.tx-svc__desc { display: none; font-size: 13.5px; }
	.tx-svc:has(input:checked) { border-color: var(--black); }
	.tx-svc:has(input:checked) .tx-chip { color: var(--w-60); }
	.tx-svc:has(input:checked) .tx-svc__desc { display: block; }

	/* specialists: same list language */
	.tx-tech {
		grid-template-columns: 48px minmax(0, 1fr);
		grid-template-areas: "mono body" "mono chip";
		column-gap: 14px; row-gap: 6px;
		padding: 14px 12px;
		border: 0;
		border-bottom: 1px solid var(--line);
	}
	.tx-tech:hover { border-color: var(--line); }
	.tx-tech__mono { min-height: 48px; font-size: 20px; }
	.tx-tech__name { font-size: 23px; }
	.tx-tech__role { font-size: 13.5px; }
	.tx-tech .tx-chip { font-size: 13px; padding: 5px 6px 4px; }
	.tx-svc:has(input:focus-visible), .tx-tech:has(input:focus-visible) { outline-offset: -4px; }
	.tx-svc:has(input:checked:focus-visible), .tx-tech:has(input:checked:focus-visible) { outline-color: var(--white); }
	.tx-tech:has(input:checked) { border-color: var(--black); }

	.tx-steps { gap: 16px; }
	.tx-step span { display: none; }
	.tx-step.is-active span { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
