 :root {
  --bg: #0b0b0c;
  --surface: rgba(12, 12, 12, .96);
  --surface-2: #151515;
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --line: rgba(255,255,255,.12);
  --brand: #a6d71c;
  --brand-dark: color-mix(in srgb, var(--brand) 70%, #fff);
  --brand-soft: color-mix(in srgb, var(--brand) 16%, transparent);
  --success: color-mix(in srgb, var(--brand) 70%, #fff);
  --success-bg: color-mix(in srgb, var(--brand) 12%, transparent);
  --danger: color-mix(in srgb, var(--brand) 70%, #fff);
  --danger-bg: color-mix(in srgb, var(--brand) 10%, transparent);
  --warning: #ffb066;
  --warning-bg: rgba(255,176,102,.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, .34);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: radial-gradient(circle at top, color-mix(in srgb, var(--brand) 8%, transparent), transparent 30%), #0b0b0c; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-140%); background: #111827; color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 999; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: rgba(7,7,7,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(10px); }
.header-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { max-height: 42px; max-width: 190px; object-fit: contain; }
.brand-mark { width: 14px; height: 14px; border-radius: 5px; background: var(--brand); box-shadow: 8px 8px 0 var(--brand-soft); margin-right: 8px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-contact { text-decoration: none; color: var(--muted); font-size: 14px; }


.brand { color: #fff; }
.business-mini a { color: #fff; }
.booking-card, .info-grid article, .confirm-card { backdrop-filter: blur(3px); }
.kicker, .note, .service-desc, .business-mini, .summary-row span, .footer-row, .footer-links a { color: var(--muted); }
.admin-body { background: #111317; }
.login-wrap { background: #111317; }
.login-card, .panel, .stat, .table-wrap, .admin-main .panel, .admin-main .stat { box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.hero { padding: 48px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); gap: 48px; align-items: center; }
.hero-copy { padding: 16px 0; }
.eyebrow { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: 13px; border: 1px solid rgba(255,255,255,.08); }
h1 { margin: 14px 0 16px; font-size: clamp(34px, 4.1vw, 50px); line-height: 1.08; letter-spacing: -1.7px; }
.lead { margin: 0; color: var(--muted); font-size: 18px; max-width: 590px; }
.trust-list { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 11px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check { width: 23px; height: 23px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: inline-grid; place-items: center; flex: 0 0 auto; }
.business-mini { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); margin-top: 28px; font-size: 13px; }
.business-mini a { text-decoration: none; }

.booking-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; scroll-margin-top: 86px; }
.booking-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.kicker { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.booking-card h2 { margin: 0; font-size: 25px; letter-spacing: -.5px; }
.secure-note { color: var(--success); background: var(--success-bg); border-radius: 999px; padding: 6px 9px; font-size: 12px; white-space: nowrap; }
.steps { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; color: #98a2b3; font-size: 12px; font-weight: 700; position: relative; }
.step::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 99px; background: #edf0f4; }
.step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f2f4f7; color: #667085; }
.step.active { color: var(--text); }
.step.active span { background: var(--brand-soft); color: var(--brand-dark); }
.step.active::after { background: var(--brand); }
.step.current span { background: var(--brand); color: #111; }
.fieldset-reset { border: 0; padding: 0; margin: 0; }
.service-list { display: grid; gap: 10px; }
.service-option { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; background: #111; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.service-option:hover { border-color: var(--brand); }
.service-option.selected { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); outline-offset: 2px; }
.service-main { display: grid; gap: 3px; min-width: 0; }
.service-name { font-weight: 800; }
.service-desc { color: var(--muted); font-size: 13px; }
.service-meta { display: grid; gap: 2px; text-align: right; white-space: nowrap; }
.service-meta strong { font-size: 15px; }
.service-meta small { color: var(--muted); font-size: 12px; }
.field { margin-bottom: 16px; }
.field label, .field-label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 14px; }
.field-label-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
.field-label-row .field-label { margin: 0; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); background: #111; color: var(--text); border-radius: 11px; padding: 11px 12px; min-height: 44px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 16%, transparent); border-color: var(--brand); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; min-height: 42px; }
.time-btn { border: 1px solid var(--line); background: #111; color: var(--text); border-radius: 10px; padding: 10px 8px; font-weight: 700; min-height: 42px; }
.time-btn:hover, .time-btn.selected { background: var(--brand); border-color: var(--brand); color: #111; }
.time-btn:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent); outline-offset: 2px; }
.check-row { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 5px 0 0; }
.check-row input { width: auto; margin-top: 3px; accent-color: var(--brand); }
.check-row a { color: var(--text); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.form-actions.end { justify-content: flex-end; }
.form-actions.split { justify-content: space-between; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent; text-decoration: none; font-weight: 800; line-height: 1.2; }
.btn-small { min-height: 38px; padding-inline: 14px; font-size: 13px; }
.btn-wide { min-width: 220px; }
.btn-primary { background: var(--brand); color: #111; }
.btn-primary:hover { filter: brightness(.94); }
.btn-primary:disabled { opacity: .58; cursor: not-allowed; }
.btn-secondary { background: #111; border-color: var(--line); color: var(--text); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f3c5c0; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); }
.alert { border-radius: 11px; padding: 11px 13px; margin: 12px 0 16px; font-size: 14px; }
.alert-error { color: #7a271a; background: var(--danger-bg); border: 1px solid #fecdca; }
.alert-success { color: #05603a; background: var(--success-bg); border: 1px solid #abefc6; }
.alert-info { color: #174ea6; background: #eef4ff; border: 1px solid #c8d8fb; }
.summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; margin-bottom: 17px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 13px; }
.summary-row span { color: var(--muted); }
.summary-row strong { text-align: right; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.empty-state { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.empty-state p { margin-bottom: 0; color: var(--muted); }
.info-strip { padding: 4px 0 56px; }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.info-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 17px 18px; display: grid; gap: 3px; }
.info-grid strong { font-size: 14px; }
.info-grid span { color: var(--muted); font-size: 13px; }
footer { border-top: 1px solid var(--line); background: rgba(7,7,7,.92); }
.footer-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }

/* confirmation */
.confirm-wrap { min-height: calc(100vh - 141px); display: grid; place-items: center; padding: 42px 0; }
.confirm-card { width: min(680px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.confirm-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--success-bg); color: var(--success); font-size: 24px; font-weight: 800; }
.confirm-card h1 { font-size: 30px; margin: 14px 0 8px; letter-spacing: -.8px; }
.confirm-card .lead { font-size: 16px; }
.detail-list { margin: 22px 0; border-top: 1px solid var(--line); }
.detail-row { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.detail-row span { color: var(--muted); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* Admin */
.admin-body { background: #f4f6fa; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0,1fr); }
.admin-nav { background: #111827; color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-nav .brand { color: #fff; margin: 0 8px 22px; }
.admin-nav .brand-mark { box-shadow: 8px 8px 0 #27354b; }
.admin-nav .menu { display: grid; gap: 3px; }
.admin-nav a.menu-link { display: flex; align-items: center; gap: 9px; min-height: 42px; text-decoration: none; padding: 10px 11px; border-radius: 10px; color: #cbd5e1; font-size: 14px; }
.admin-nav a.menu-link:hover, .admin-nav a.menu-link.active { background: #1f2937; color: #fff; }
.menu-separator { height: 1px; background: #263244; margin: 8px 4px; }
.admin-main { padding: 30px; overflow: hidden; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.admin-top h1 { font-size: 29px; line-height: 1.2; letter-spacing: -.9px; margin: 0; }
.admin-top p { margin: 5px 0 0; color: var(--muted); }
.admin-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px; margin-bottom: 16px; }
.panel h2 { margin: 0 0 14px; font-size: 18px; }
.panel h3 { margin: 0 0 10px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 17px; }
.stat small { color: var(--muted); display: block; font-size: 12px; }
.stat strong { display: block; font-size: 28px; line-height: 1.2; margin-top: 4px; }
.stat .sub { color: var(--muted); font-size: 11px; margin-top: 4px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 11px 9px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 13px; }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
tbody tr:hover { background: #fafbfc; }
.badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge-ok { color: #05603a; background: #ecfdf3; }
.badge-off { color: #7a271a; background: #fef3f2; }
.badge-neutral { color: #344054; background: #f2f4f7; }
.badge-warn { color: #92400e; background: #fff7ed; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form select { min-height: 36px; border: 1px solid var(--line); border-radius: 9px; padding: 0 8px; background: #fff; }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table-actions .btn { min-height: 34px; padding: 0 10px; font-size: 12px; }
.filters { display: grid; grid-template-columns: 1.4fr .8fr .8fr auto; gap: 10px; align-items: end; }
.filters .field { margin: 0; }
.day-row { display: grid; grid-template-columns: 95px 92px repeat(4, minmax(108px,1fr)); gap: 8px; align-items: end; padding: 9px 0; border-bottom: 1px solid var(--line); }
.day-row > strong { align-self: center; }
.day-row .field { margin: 0; }
.day-open { align-self: center; display: flex; gap: 7px; align-items: center; font-size: 13px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f4f6fa; }
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 28px; letter-spacing: -.8px; margin: 0 0 7px; }
.login-card > p { color: var(--muted); margin-top: 0; }
.login-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 20px; }
.form-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.color-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.color-input { display: grid; grid-template-columns: 48px 1fr; gap: 8px; }
.color-input input[type=color] { padding: 4px; }
.logo-preview { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px dashed #cfd7e3; border-radius: 12px; margin-bottom: 12px; }
.logo-preview img { max-width: 180px; max-height: 60px; object-fit: contain; }
.booking-detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.meta-list { display: grid; gap: 0; }
.meta-row { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.meta-row span:first-child { color: var(--muted); }
.chart-bars { display: flex; align-items: end; gap: 7px; min-height: 150px; padding-top: 12px; }
.chart-bar { flex: 1; min-width: 14px; background: var(--brand-soft); border-radius: 6px 6px 2px 2px; position: relative; }
.chart-bar strong { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10px; margin-bottom: 4px; }
.chart-bar small { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); margin-top: 5px; white-space: nowrap; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .day-row { grid-template-columns: 1fr 1fr 1fr; }
  .booking-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; height: auto; padding: 14px; }
  .admin-nav .brand { margin-bottom: 12px; }
  .admin-nav .menu { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 2px; }
  .admin-nav a.menu-link { white-space: nowrap; flex: 0 0 auto; }
  .menu-separator { display: none; }
  .admin-main { padding: 20px 14px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 20px, 1120px); }
  .header-row { min-height: 62px; }
  .header-contact { display: none; }
  .header-actions .btn { display: none; }
  .hero { padding: 28px 0 28px; }
  h1 { font-size: 36px; letter-spacing: -1.2px; }
  .lead { font-size: 16px; }
  .booking-card { padding: 17px; border-radius: 18px; }
  .booking-head { display: block; }
  .secure-note { display: inline-flex; margin-top: 9px; }
  .step { grid-template-columns: 24px 1fr; }
  .step span { width: 24px; height: 24px; }
  .service-option { grid-template-columns: 1fr; gap: 8px; }
  .service-meta { grid-template-columns: auto auto; justify-content: start; gap: 8px; text-align: left; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .time-grid { grid-template-columns: repeat(3,1fr); }
  .form-actions.split { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; padding: 18px 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .admin-top { flex-direction: column; }
  .admin-top-actions { width: 100%; }
  .filters { grid-template-columns: 1fr; }
  .day-row { grid-template-columns: 1fr 1fr; }
  .color-row { grid-template-columns: 1fr; }
  .meta-row { grid-template-columns: 1fr; gap: 2px; }
  .confirm-card { padding: 20px; border-radius: 18px; }
  .detail-row { flex-direction: column; gap: 2px; }
}


/* Admin */
.admin-body,
.login-wrap {
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--brand) 10%, transparent), transparent 28%),
    #0d0d0f !important;
}
.admin-main {
  padding: 30px;
  overflow: hidden;
  color: #f5f5f5;
}
.admin-top h1,
.panel h2,
.panel h3,
.stat strong,
.login-card h1,
th,
strong,
.meta-row,
.booking-detail-grid,
.table-wrap table,
.admin-main label {
  color: #f5f5f5;
}
.admin-top p,
.stat small,
.stat .sub,
.note,
.meta-row span:first-child,
th,
.login-card > p,
.empty-state p,
.footer-row,
.footer-links a {
  color: #c9c9c9 !important;
}
.panel,
.stat,
.table-wrap,
.login-card,
.empty-state {
  background: rgba(14,14,16,.96) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28) !important;
}
.table-wrap {
  border-radius: 15px;
}
.table-wrap table {
  background: transparent;
}
table {
  color: #f2f2f2;
}
th, td {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
tbody tr:hover {
  background: color-mix(in srgb, var(--brand) 5%, transparent) !important;
}
.badge-ok {
  color: #ffddb9;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
}
.badge-off {
  color: #ffd6cc;
  background: rgba(255,98,71,.16);
}
.badge-neutral {
  color: #e7e7e7;
  background: rgba(255,255,255,.10);
}
.badge-warn {
  color: #ffe0b3;
  background: rgba(255,176,102,.16);
}
.inline-form select,
.field input,
.field select,
.field textarea,
input[type="date"],
input[type="time"],
input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  background: #111214 !important;
  color: #f5f5f5 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
::placeholder {
  color: #9f9f9f;
}
.btn-secondary {
  background: #111214 !important;
  color: #f5f5f5 !important;
  border-color: rgba(255,255,255,.12) !important;
}
.btn-secondary:hover {
  border-color: var(--brand) !important;
}
.btn-danger {
  background: rgba(255,98,71,.12);
  color: #ffd8cf;
  border-color: rgba(255,98,71,.24);
}
.filters {
  background: rgba(14,14,16,.96);
}
.logo-preview {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
}
.chart-bar {
  background: color-mix(in srgb, var(--brand) 28%, transparent);
}
.chart-bar strong,
.chart-bar small {
  color: #e9e9e9;
}
