/* ============================================================
   Katya vocal school — спільні стилі
   ============================================================ */
:root {
  --bg: #15131B;
  --card: #1F1C27;
  --chip: #262230;
  --chip-hover: #312C3D;
  --line: #2E2939;
  --line-strong: #3A3446;
  --text: #F4F1F8;
  --muted: #C9C3D4;
  --dim: #A39BB2;
  --faint: #8E869E;
  --accent: #4FD88C;
  --accent-hover: #74E3A5;
  --accent-soft: rgba(79, 216, 140, .10);
  --danger: #FF6B7A;
  --ok: #7FD8A6;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.display { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  transition: background .15s, transform .1s, opacity .15s;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .55; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-secondary { background: var(--chip); color: var(--text); }
.btn-secondary:hover:not(:disabled) { background: var(--chip-hover); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.btn-ghost:hover:not(:disabled) { color: var(--text); border-color: var(--faint); }
.btn-dark { background: var(--bg); color: #fff; }
.btn-dark:hover { background: #24202D; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn svg { flex: none; }

/* ---------- Демо-плашка ---------- */
.demo-bar {
  background: #2B2236; color: var(--muted); font-size: 14px; line-height: 1.5;
  text-align: center; padding: 10px 24px;
}
.demo-bar b { color: var(--accent); }
.demo-bar button { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 0; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(21, 19, 27, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { font-size: 18px; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a.link { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a.link:hover { color: var(--text); }
.burger {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--chip); align-items: center; justify-content: center;
}

/* ---------- Головна ---------- */
.hero { padding: 72px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(36px, 6.4vw, 72px); line-height: 1.08; max-width: 980px; }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .row { justify-content: center; }

section { scroll-margin-top: 90px; }
.block { padding-bottom: 96px; }
.block h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }

/* ---------- Запис ---------- */
.booking { background: var(--card); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.booking-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.booking-head p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; margin-top: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font-size: 14px; font-weight: 600;
}
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day {
  min-height: 76px; border: 0; border-radius: var(--radius); background: var(--chip);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px;
}
.day .wd { font-size: 12px; font-weight: 600; color: var(--muted); }
.day .num { font-size: 18px; font-weight: 700; }
.day .cnt { font-size: 11px; color: var(--accent); font-weight: 600; }
.day:hover:not(:disabled) { background: var(--chip-hover); }
.day[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.day[aria-pressed="true"] .wd, .day[aria-pressed="true"] .cnt { color: var(--bg); }
.day:disabled { background: transparent; border: 1px dashed var(--line-strong); color: var(--faint); }
.day:disabled .wd { color: var(--faint); }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.time {
  min-height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 16px; font-weight: 600;
}
.time:hover { border-color: var(--accent); }
.time[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.empty { color: var(--muted); font-size: 15px; line-height: 1.6; padding: 8px 0; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }
.form .summary { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.form .summary b { font-size: 18px; }
.form .summary span { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg); font-size: 16px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .err { color: var(--danger); font-size: 13px; min-height: 0; }
.form .rules { grid-column: 1 / -1; font-size: 14px; line-height: 1.6; color: var(--dim); }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }

.alert { border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.alert-error { background: rgba(255, 107, 122, .12); color: #FFC2C8; }

.success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.success .check {
  width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.success h3 { font-family: 'Unbounded', sans-serif; font-size: 24px; }
.success p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 620px; }

.loading { color: var(--muted); font-size: 15px; padding: 24px 0; }

/* ---------- Ціни ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.card { background: var(--card); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card.featured { outline: 1px solid var(--accent); }
.card h3 { font-size: 20px; }
.card .meta { color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.price { font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; color: var(--accent); }
.old { color: var(--dim); text-decoration: line-through; font-size: 15px; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 13px; font-weight: 700; }
.title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }

/* ---------- Відеоуроки ---------- */
.video { background: var(--accent); color: var(--bg); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.video .text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.video .text p { font-size: 18px; line-height: 1.6; }
.video .cover { flex: 1 1 340px; min-width: 0; aspect-ratio: 16 / 10; border-radius: 20px; background: var(--bg); overflow: hidden; }
.video .cover svg { display: block; width: 100%; height: 100%; }

/* ---------- Про мене ---------- */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about img { flex: 1 1 320px; min-width: 0; max-width: 440px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; display: block; }
.about .text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about .text p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--card); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: 'Unbounded', sans-serif; font-size: 22px; color: var(--accent); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Підвал ---------- */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; font-size: 15px; }
.foot .col { display: flex; flex-direction: column; gap: 8px; }
.foot a, .foot p { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot .admin-link { font-size: 13px; color: var(--faint); }

/* ============================================================
   Кабінет викладача
   ============================================================ */
.admin-body { min-height: 100vh; }
.admin-wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 18px; }

.login { max-width: 420px; margin: 0 auto; padding: 64px 20px; display: flex; flex-direction: column; gap: 22px; }
.login h1 { font-size: 26px; }
.login p { color: var(--muted); line-height: 1.6; }
.login form { display: flex; flex-direction: column; gap: 16px; }

.a-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.a-head .t { display: flex; flex-direction: column; gap: 4px; }
.a-head .t small { color: var(--dim); font-size: 13px; }
.a-head h1 { font-size: 22px; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.week-nav .range { font-weight: 600; font-size: 15px; text-align: center; flex: 1; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--chip);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-btn:hover { background: var(--chip-hover); }

.summary-row { display: flex; gap: 10px; }
.sum { flex: 1 1 0; min-width: 0; background: var(--card); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.sum b { font-family: 'Unbounded', sans-serif; font-size: 20px; }
.sum b.accent { color: var(--accent); }
.sum span { font-size: 13px; color: var(--muted); }

.a-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.a-day {
  min-height: 64px; border: 0; border-radius: 14px; background: var(--chip);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 0;
  position: relative;
}
.a-day .wd { font-size: 12px; font-weight: 600; color: var(--muted); }
.a-day .num { font-size: 17px; font-weight: 700; }
.a-day .dot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.a-day.off { background: transparent; border: 1px dashed var(--line-strong); color: var(--faint); }
.a-day.off .wd { color: var(--faint); }
.a-day[aria-pressed="true"] { background: var(--accent); color: var(--bg); border: 0; }
.a-day[aria-pressed="true"] .wd { color: var(--bg); }
.a-day[aria-pressed="true"] .dot { background: var(--bg); }

.day-card { background: var(--card); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.day-card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.day-card .top b { font-size: 16px; }
.day-card .top small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.day-card .quick { display: flex; gap: 8px; }
.day-card .quick .btn { flex: 1 1 0; }

.switch {
  flex: none; width: 56px; height: 32px; border: 0; border-radius: 999px; background: var(--line-strong);
  padding: 3px; display: flex; justify-content: flex-start; transition: background .15s;
}
.switch span { display: block; width: 26px; height: 26px; border-radius: 999px; background: var(--muted); transition: transform .15s, background .15s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(24px); background: var(--bg); }

.hint { font-size: 13px; color: var(--dim); }
.slot-list { display: flex; flex-direction: column; gap: 8px; }
.slot {
  width: 100%; min-height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px; text-align: left; background: transparent;
}
.slot .h { font-size: 16px; font-weight: 700; }
.slot .s { font-size: 14px; font-weight: 600; }
.slot.free { border: 1px solid var(--accent); background: var(--accent-soft); }
.slot.free .s { color: var(--accent); }
.slot.closed { border: 1px solid var(--line); color: var(--faint); }
.slot.closed .s { font-weight: 500; }
.slot.past { border: 1px solid var(--line); color: var(--faint); opacity: .6; cursor: default; }
.slot.booked { border: 0; background: var(--chip); min-height: 64px; }
.slot.booked .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.slot.booked .who span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.slot.booked .name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot.booked .pay { font-size: 13px; color: var(--muted); }
.slot.booked .pay.none { color: #F2D27A; }
.slot.booked .more { flex: none; font-size: 13px; font-weight: 600; color: var(--accent); }

.off-card { background: var(--card); border-radius: 18px; padding: 24px 16px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.off-card b { font-size: 16px; }
.off-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Нижня панель (деталі запису) */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(10, 9, 14, .72); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 24px 24px 0 0; padding: 20px 16px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 700px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 24px; }
}
.sheet .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet h2 { font-size: 18px; }
.info { background: var(--chip); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.info b { font-size: 17px; }
.info p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.info a { color: var(--accent); font-weight: 600; text-decoration: none; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; }
.seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px; }
.seg button[aria-checked="true"] { background: var(--chip); color: var(--text); }
.label-sm { font-size: 13px; font-weight: 600; color: var(--muted); }

.check-row {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 14px; background: transparent;
  padding: 14px; display: flex; align-items: flex-start; gap: 12px; text-align: left;
}
.check-row .box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--faint); display: flex; align-items: center; justify-content: center; }
.check-row[aria-checked="true"] .box { background: var(--accent); border-color: var(--accent); }
.check-row .box svg { display: none; }
.check-row[aria-checked="true"] .box svg { display: block; }
.check-row .txt { display: flex; flex-direction: column; gap: 4px; }
.check-row .txt b { font-size: 15px; font-weight: 600; }
.check-row .txt small { font-size: 13px; line-height: 1.5; color: var(--dim); }

.confirm-box { border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  width: calc(100% - 32px); max-width: 520px;
  background: var(--text); color: var(--bg); border-radius: 14px; padding: 14px 16px;
  font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ============================================================
   Адаптивність
   ============================================================ */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .burger { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a.link { padding: 12px 0; font-size: 17px; }
  .menu .btn { margin-top: 8px; }
  .hero { padding: 48px 0 64px; }
  .block { padding-bottom: 72px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .days { gap: 5px; }
  .day { min-height: 68px; }
  .day .num { font-size: 16px; }
}
@media (max-width: 520px) {
  .cards, .stats { grid-template-columns: minmax(0, 1fr); }
  .row .btn { width: 100%; }
  .day .cnt { display: none; }
}

/* Кнопки в шапці кабінету завжди в один рядок */
.a-head .row { flex-wrap: nowrap; }
.a-head .row .btn { width: auto; }

/* Другий рядок заголовка і ціни для дорослих/дітей */
.hero .subhead { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 500; font-size: clamp(20px, 3vw, 30px); line-height: 1.3; color: var(--text); margin-top: -8px; }
.price-lines { display: flex; flex-direction: column; gap: 8px; }
.price-lines p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price-lines span { color: var(--muted); font-size: 14px; min-width: 64px; }
.price-lines .price { font-size: 22px; }
.price-lines .old { font-size: 14px; }
.who-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.who-seg button {
  min-height: 56px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px;
}
.who-seg button b { font-size: 15px; }
.who-seg button span { font-size: 13px; color: var(--muted); }
.who-seg button[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.who-seg button[aria-checked="true"] span { color: var(--accent); }

/* ============================================================
   Кабінет учня
   ============================================================ */
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.code-input { font-size: 24px !important; letter-spacing: .25em; text-align: center; }
.code-input::placeholder { letter-spacing: normal; font-size: 16px; }

.panel { background: var(--card); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel.soon { border: 1px dashed var(--line-strong); background: transparent; }

.lessons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lesson { background: var(--chip); border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.lesson.dim { opacity: .65; }
.lesson .when { display: flex; flex-direction: column; gap: 4px; }
.lesson .when b { font-size: 15px; }
.lesson .when span { font-size: 14px; color: var(--muted); }
.lesson .what { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }

.tag { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag-ok { background: var(--accent-soft); color: var(--accent); }
.tag-warn { background: rgba(242, 210, 122, .14); color: #F2D27A; }
.tag-muted { background: var(--line); color: var(--muted); }

.props { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.props div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.props dt { font-size: 13px; color: var(--dim); }
.props dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.profile-form { display: flex; flex-direction: column; gap: 14px; }
.hint a { color: var(--accent); }

.success .next { font-size: 14px; color: var(--muted); }
.success .next a { color: var(--accent); font-weight: 600; }

@media (max-width: 560px) {
  .props { grid-template-columns: minmax(0, 1fr); }
}

/* Позначка «скоро» для розділів, яких ще немає */
.soon-tag {
  display: inline-block; vertical-align: middle; margin-left: 4px;
  padding: 3px 8px; border-radius: 999px; background: var(--chip); color: var(--dim);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.3;
}
.btn .soon-tag { background: rgba(255, 255, 255, .08); }
.card .soon-tag { background: var(--line); }
.soon-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--bg); color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}

/* Фото Каті на фоні головного екрана */
.hero-bg {
  position: relative;
  margin-bottom: 72px;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(21, 19, 27, .20) 0%, rgba(21, 19, 27, .35) 35%, rgba(21, 19, 27, .75) 62%, var(--bg) 100%),
    url('../assets/hero.jpg');
  background-size: cover;
  background-position: center 50%;
}
.hero-bg .hero { padding: 400px 24px 96px; }
.hero-bg h1, .hero-bg .subhead, .hero-bg .lead { text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.hero-bg .lead { color: #E4DFEC; }
.hero-bg .pill, .hero-bg .btn-secondary { background: rgba(21, 19, 27, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .hero-bg { background-size: 100% 100%, 175% auto; background-position: 0 0, 57% -120px; background-repeat: no-repeat; }
  .hero-bg .hero { padding: 340px 24px 72px; }
}

/* Свій час у кабінеті Каті */
.add-time { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.add-time label { font-size: 14px; font-weight: 600; }
.add-time-row { display: flex; gap: 8px; }
.add-time-row input {
  flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 16px; color-scheme: dark;
}
.add-time-row input:focus { outline: none; border-color: var(--accent); }
.custom-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: 11px; font-weight: 700; vertical-align: middle; }

/* Кнопки «Придбати» на картках і лічильник уроків */
.card .card-buy { margin-top: 6px; width: 100%; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 48px; text-align: center; font-family: 'Unbounded', sans-serif; font-size: 22px; font-weight: 700; }
.stepper .icon-btn { font-size: 22px; font-weight: 600; color: var(--text); }
.stepper .icon-btn:disabled { opacity: .4; }
.info .old { font-size: 14px; margin-left: 6px; }

/* Заявки в кабінеті Каті */
.order { background: var(--chip); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.order.dim { opacity: .6; }
.order-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.order-main b { font-size: 15px; }
.order-main > span:not(.tag) { font-size: 14px; color: var(--muted); }
.order-who { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.order-who a { color: var(--accent); font-weight: 600; text-decoration: none; }
.order-who .muted { color: var(--faint); font-size: 13px; }

/* Залишок уроків на абонементі */
.pass-panel { border: 1px solid var(--accent); }
.pass { display: flex; flex-direction: column; gap: 10px; }
.pass-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.pass-top .muted { color: var(--dim); font-weight: 500; }
.pass-count { font-size: 16px; color: var(--muted); }
.pass-count b { font-family: 'Unbounded', sans-serif; font-size: 34px; color: var(--accent); margin-right: 6px; }
.pass-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pass-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* Часті питання */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.faq-item { background: var(--card, #1d1a24); border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: 14px; padding: 16px 18px; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

/* Кабінет: перемикач розділів і список усіх записів */
.view-tabs { max-width: 420px; background: var(--card); }
.list-filter { max-width: 420px; }
.bk-list { display: flex; flex-direction: column; gap: 22px; }
.bk-day { display: flex; flex-direction: column; gap: 8px; }
.bk-day h3 { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: none; }
.bk-day h3.today { color: var(--accent); }
.slot.booked.done { opacity: .55; }
.sum b.warn { color: #F2D27A; }

/* Telegram */
.tg-btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
a.tg-btn { text-decoration: none; }
