/* NEXA Book — public site
   Χρώματα από το theme του admin: --base, --base-2, --paper, --accent, --accent-ink, --warm
   Σχεδιασμένο για το θέμα Electric (μαύρο + electric blue), δουλεύει με όλα. */

:root {
  /* Φωτεινό site: λευκό φόντο, κείμενο στο βασικό σκούρο χρώμα του θέματος, ένα accent */
  --bg: #FFFFFF;
  --surface: color-mix(in srgb, var(--paper) 70%, white);
  --surface-2: color-mix(in srgb, var(--base) 3%, white);
  --surface-3: color-mix(in srgb, var(--base) 7%, white);
  --text: var(--base);
  --muted: color-mix(in srgb, var(--base) 62%, white);
  --faint: color-mix(in srgb, var(--base) 45%, white);
  --line: color-mix(in srgb, var(--base) 10%, transparent);
  --line-2: color-mix(in srgb, var(--base) 18%, transparent);
  --blue-soft: color-mix(in srgb, var(--accent) 9%, white);
  --accent-text: color-mix(in srgb, var(--accent) 88%, black);
  --err: #C8372B;
  --f: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4.5vw, 72px);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16.5px/1.6 var(--f); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.h-display { font-weight: 650; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.04em; margin: 0 0 .5em; }

/* ---------- buttons */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: -.01em; text-decoration: none;
  transition: transform .35s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .3s;
  white-space: nowrap; position: relative;
}
.btn-accent { --bg: var(--accent); --fg: var(--accent-ink); --bd: var(--accent); }
.btn-accent:hover { --bg: color-mix(in srgb, var(--accent) 88%, black); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.btn-ghost:hover { --bd: var(--text); --bg: var(--surface-2); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.round {
  width: 42px; height: 42px; border-radius: var(--r); display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent; transition: background .2s, border-color .2s, transform .3s var(--ease);
}
.round:hover { border-color: var(--text); }
.round:active { transform: scale(.92); }
.round:disabled { opacity: .3; cursor: default; }
.round.sm { width: 34px; height: 34px; border-radius: 8px; }
.link-btn { background: none; border: 0; padding: 0; font-weight: 600; color: var(--accent-text); display: inline-flex; gap: 6px; align-items: center; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 32px;
  padding: 16px var(--pad); transition: background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); padding-block: 10px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.035em; }
.wordmark-pole { width: 6px; height: 22px; border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--base) 0 4px, var(--accent) 4px 8px); background-size: 100% 11.3px; animation: pole-sm 1.6s linear infinite; }
@keyframes pole-sm { to { background-position: 0 11.3px; } }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s; }
.top-nav a:hover { color: var(--text); }
.top-actions { display: flex; gap: 8px; }
.top .btn { min-height: 40px; font-size: 14px; padding: 0 16px; }

/* ---------- hero */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end; gap: clamp(28px, 5vw, 80px); padding: 128px var(--pad) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.pole { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; overflow: hidden; transform-origin: 50% 0; transition: transform 1.4s var(--ease); }
.pole-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, var(--base) 0 10px, var(--accent) 10px 20px, #fff 20px 30px); background-size: 100% 42.43px; animation: pole 2.2s linear infinite; }
@keyframes pole { to { background-position: 0 42.43px; } }

.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: opacity .8s .1s; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.2s infinite; }
.hero-title { margin: 0; font-weight: 750; font-size: calc(var(--fit, 1) * clamp(56px, 8.6vw, 156px)); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .06em 0; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; transition: transform 1.1s var(--ease) calc(var(--i) * .08s + .15s); }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 34ch; margin: 28px 0 30px; color: var(--muted); transition: opacity .8s .55s, transform .8s var(--ease) .55s; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; transition: opacity .8s .65s, transform .8s var(--ease) .65s; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 48px 0 0; border-top: 1px solid var(--line); transition: opacity .8s .8s; }
.hero-facts > div { padding: 16px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-size: 13px; color: var(--faint); }
.hero-facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.hero-media { margin: 0; position: relative; align-self: stretch; display: flex; align-items: flex-end; min-height: 420px; }
.hero-frame { position: absolute; inset: 0 0 0 0; border-radius: 6px; overflow: hidden; background: var(--surface); clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease) .2s; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); }
.hero-frame img { width: 100%; height: 112%; object-fit: cover; filter: saturate(.85) contrast(1.05); transform: translateY(var(--py, 0)); transition: transform 1.6s var(--ease) .2s; will-change: transform; }
.hero-media.no-img { min-height: 0; }
.next-slot {
  position: relative; z-index: 2; margin: 0 16px 16px; display: flex; align-items: center; gap: 14px; width: calc(100% - 32px);
  padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line-2); text-align: left;
  background: color-mix(in srgb, white 82%, transparent); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s, background .2s; animation: rise .7s var(--ease) both;
}
.no-img .next-slot { margin: 0; width: 100%; }
.next-slot:hover { border-color: var(--accent); }
.next-slot:hover svg { transform: translate(2px, -2px); color: var(--accent); }
.next-slot svg { margin-left: auto; transition: transform .3s var(--ease), color .2s; }
.next-slot-text { display: grid; line-height: 1.25; }
.next-slot small { color: var(--muted); font-size: 13px; }
.next-slot strong { font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* load sequence */
.is-loading .hero-title .line > span { transform: translateY(108%); }
.is-loading .hero-lede, .is-loading .hero-cta { opacity: 0; transform: translateY(12px); }
.is-loading .hero-facts, .is-loading .hero-kicker { opacity: 0; }
.is-loading .hero-frame { clip-path: inset(100% 0 0 0); }
.is-loading .hero-frame img { transform: scale(1.15); }
.is-loading .pole { transform: scaleY(0); }

/* ---------- sections */
.team, .work, .shop, .visit { border-bottom: 1px solid var(--line); }
.team { padding: clamp(80px, 11vw, 150px) var(--pad); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.barber { padding: 28px; background: var(--bg); display: grid; gap: 4px; align-content: start; transition: background .3s; }
.barber:hover { background: var(--surface); }
.barber-mono { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--text); background: var(--surface-3); margin-bottom: 18px; position: relative; transition: background .3s, color .3s; }
.barber-mono::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--bg); transition: box-shadow .3s; }
.barber:hover .barber-mono { background: var(--accent); color: var(--accent-ink); }
.barber:hover .barber-mono::after { box-shadow: 0 0 0 3px var(--surface); }
.barber h3 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.barber p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.work { padding: clamp(80px, 11vw, 150px) 0; }
.work-head { display: flex; align-items: end; justify-content: space-between; padding: 0 var(--pad); gap: 20px; }
.work-nav { display: flex; gap: 8px; margin-bottom: 2em; }
.work-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 8px; scrollbar-width: none; }
.work-track::-webkit-scrollbar { display: none; }
.shot { margin: 0; flex: 0 0 clamp(240px, 26vw, 380px); scroll-snap-align: start; scroll-margin-left: var(--pad); }
.shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; filter: saturate(.85) contrast(1.04); clip-path: inset(0 0 0 0 round 6px); transition: clip-path 1s var(--ease), filter .4s; }
.shot:hover img { filter: none; }
.shot.pre img { clip-path: inset(0 0 100% 0 round 6px); }
.shot figcaption { margin-top: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.015em; }

.shop { padding: clamp(80px, 11vw, 150px) var(--pad); background: var(--surface); }
.shop-lede { max-width: 46ch; margin: -14px 0 44px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; align-content: start; }
.product-img { grid-column: 1 / -1; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--surface-2); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product-img img { transform: scale(1.04); }
.product h3 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.product-brand { font-size: 13px; color: var(--faint); }
.product p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.product-price { font-weight: 650; font-size: 18px; font-variant-numeric: tabular-nums; }

.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); padding: clamp(80px, 11vw, 150px) var(--pad); }
.visit address { font-style: normal; }
.visit-address { display: inline-block; font-weight: 650; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.045em; text-decoration: none; transition: color .2s; }
.visit-address:hover { color: var(--accent-text); }
.visit-about { color: var(--muted); max-width: 46ch; margin: -6px 0 28px; }
.visit-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.visit-links a { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: border-color .2s, color .2s; }
.visit-links a:hover { border-color: var(--accent); color: var(--accent-text); }
.hours h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.open-badge { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--surface-3); color: var(--muted); letter-spacing: 0; }
.open-badge.is-open { background: var(--blue-soft); color: var(--accent-text); }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 650; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 0 10px 2px 0; }
.hours tr:not(.is-today) { color: var(--muted); }

.foot { padding: 0 var(--pad) 28px; overflow: hidden; }
.foot-name { font-weight: 750; font-size: clamp(72px, 17vw, 300px); line-height: .8; letter-spacing: -.065em; color: var(--surface-3); white-space: nowrap; margin: 40px 0 28px; user-select: none; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.foot-row nav { display: flex; gap: 22px; }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--text); }

/* ---------- sheets */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(10,14,24,.38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.sheet-panel {
  position: relative; width: min(580px, 100%); height: 100%; background: var(--surface); color: var(--text); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); box-shadow: -30px 0 70px -30px rgba(0,0,0,.35);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-sm .sheet-panel { width: min(460px, 100%); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 8px; }
.sheet-head h2 { margin: 0; font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 28px 28px; position: relative; }

.steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 6px 28px 18px; }
.steps li { flex: 1; font-size: 12.5px; color: var(--faint); font-weight: 500; }
.steps li::before { content: ""; display: block; height: 3px; border-radius: 3px; margin-bottom: 8px; background: var(--line-2); background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .6s var(--ease); }
.steps li.is-done::before, .steps li.is-current::before { background-size: 100% 100%; }
.steps li.is-current { color: var(--text); }
.steps li.is-done { color: var(--muted); }
.steps li button { all: unset; cursor: pointer; }
.steps li button:hover { color: var(--text); }

.step { display: none; }
.step.is-active { display: block; animation: stepIn .5s var(--ease); }
.step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } }
.step-q { font-size: clamp(28px, 3.4vw, 36px); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; margin: 6px 0 22px; }

.choices { display: grid; gap: 8px; }
.choice {
  display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; align-items: center; width: 100%;
  padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); text-align: left;
  transition: border-color .2s, background .2s, transform .3s var(--ease);
}
.choice:hover { border-color: var(--line-2); background: var(--surface-3); }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice-name { font-weight: 600; font-size: 16px; letter-spacing: -.015em; }
.choice-sub { grid-column: 1; font-size: 14px; color: var(--muted); }
.choice-price { grid-row: 1 / span 2; grid-column: 2; font-weight: 650; font-size: 20px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.choices-staff { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choices-staff .choice { grid-template-columns: auto 1fr; padding: 14px; }
.staff-dot { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); color: var(--text); font-weight: 700; font-size: 17px; position: relative; }
.staff-dot::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--c, transparent); box-shadow: 0 0 0 2px var(--surface-2); }
.staff-any { background: var(--accent); color: var(--accent-ink); }
.staff-any::after { display: none; }
.choices-staff .choice-name, .choices-staff .choice-sub { grid-column: 2; }

.cal { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 12px; color: var(--faint); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 8px; background: none; font-weight: 600; font-size: 15px; position: relative;
  font-variant-numeric: tabular-nums; transition: background .15s, color .15s;
}
.cal-day::after { content: ""; position: absolute; left: 50%; bottom: 15%; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); }
.cal-day[data-s="open"]::after { background: var(--accent); }
.cal-day[data-s="few"]::after { box-shadow: inset 0 0 0 1.5px var(--accent); width: 6px; height: 6px; }
.cal-day[data-s="full"] { color: var(--faint); text-decoration: line-through; }
.cal-day[data-s="closed"], .cal-day[data-s="out"], .cal-day:disabled { color: color-mix(in srgb, var(--base) 22%, white); cursor: default; }
.cal-day:not(:disabled):hover { background: var(--surface-3); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-day[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.cal-day[aria-pressed="true"]::after { background: var(--accent-ink); box-shadow: none; }
.cal-grid.is-loading .cal-day { animation: shimmer 1.2s infinite; }
@keyframes shimmer { 50% { opacity: .35; } }
.cal-legend { display: flex; gap: 16px; justify-content: center; font-size: 12.5px; color: var(--faint); margin-top: 10px; }
.cal-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.lg-open { background: var(--accent); }
.lg-few { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lg-full { background: var(--faint); }

.slots-wrap { margin-top: 22px; }
.slots-wrap h4 { margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.slot-group { margin-top: 14px; }
.slot-group > span { display: block; font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.slots-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.slot {
  min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, color .15s;
  animation: rise .4s var(--ease) both; animation-delay: calc(var(--n) * 14ms);
}
.slot:hover { border-color: var(--line-2); background: var(--surface-3); }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slots-empty { padding: 20px; border-radius: var(--r); background: var(--surface-2); color: var(--muted); }

.form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field > span i { font-style: normal; font-weight: 400; color: var(--faint); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 13px 14px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface-2); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field.has-err input { border-color: var(--err); }
.err { font-style: normal; font-size: 13px; color: var(--err); }
.err:empty { display: none; }
.mono-input { letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { color: var(--err); font-size: 14px; margin: 0; }
.form-error:empty { display: none; }

.sheet-foot { border-top: 1px solid var(--line); padding: 14px 28px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: var(--surface); }
.summary { display: flex; flex-wrap: wrap; gap: 6px; }
.summary:empty { display: none; }
.summary span { font-size: 13px; padding: 5px 10px; border-radius: 6px; background: var(--surface-3); color: var(--muted); animation: rise .35s var(--ease) both; }
.summary strong { font-weight: 650; color: var(--text); }
.foot-btns { display: flex; justify-content: space-between; gap: 10px; }
.foot-btns .btn-accent { flex: 1; max-width: 300px; margin-left: auto; }
.btn.is-busy { color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent-ink); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.step-done { padding-top: 16px; }
.done-mark svg { width: 64px; height: 64px; stroke-width: 2.5; margin: 0 0 10px; }
.done-mark circle { stroke: var(--accent); stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .9s var(--ease) .1s forwards; }
.done-mark path { stroke: var(--text); stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-when { font-size: 18px; margin: -8px 0 24px; max-width: 36ch; color: var(--muted); }
.done-when strong { color: var(--text); }
.ticket { padding: 22px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; animation: rise .6s var(--ease) .8s both; }
.ticket::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(-45deg, var(--accent-ink) 0 6px, transparent 6px 12px); background-size: 100% 16.97px; animation: pole-t 1.4s linear infinite; opacity: .5; }
@keyframes pole-t { to { background-position: 0 16.97px; } }
.ticket small { font-size: 13px; opacity: .8; }
.ticket strong { display: block; font-size: 46px; font-weight: 750; letter-spacing: .02em; line-height: 1; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.ticket p { margin: 0; font-size: 14px; max-width: 40ch; opacity: .9; }
.done-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.lookup-card { margin-top: 22px; padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); animation: rise .45s var(--ease) both; }
.lookup-card h3 { margin: 10px 0 4px; font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.lookup-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; font-size: 15px; }
.lookup-card dt { color: var(--muted); }
.lookup-card dd { margin: 0; font-weight: 600; }
.status-pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--surface-3); color: var(--muted); }
.status-pill.s-confirmed { background: var(--blue-soft); color: var(--accent-text); }
.status-pill.s-cancelled { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
.btn-danger { --fg: var(--err); --bd: color-mix(in srgb, var(--err) 40%, transparent); }
.btn-danger:hover { --bg: color-mix(in srgb, var(--err) 10%, transparent); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--base); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; font-size: 15px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); max-width: calc(100% - 32px); transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-top: 112px; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 4.2; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 12px 18px; gap: 12px; }
  .top .btn-ghost { display: none; }
  .hero { padding: 100px 20px 40px 26px; gap: 28px; }
  .pole { width: 5px; }
  .hero-cta .btn { flex: 1; padding: 0 14px; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .hero-facts > div { padding-right: 16px; margin-right: 16px; }
  .hero-facts > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .hero-facts > div:nth-child(3) { display: none; }
  .sheet-head, .sheet-body, .steps, .sheet-foot { padding-left: 18px; padding-right: 18px; }
  .sheet-panel { border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .steps li { font-size: 0; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
