:root {
  --ink: #2f2931;
  --muted: #756c76;
  --plum: #70536f;
  --plum-dark: #533c53;
  --plum-soft: #ede3ec;
  --rose: #d6a8a2;
  --cream: #fffaf5;
  --paper: #ffffff;
  --line: #e9dfe6;
  --success: #48745d;
  --danger: #a5424d;
  --warning: #9c641f;
  --shadow-sm: 0 10px 30px rgba(73, 50, 71, 0.08);
  --shadow-lg: 0 24px 70px rgba(73, 50, 71, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(214, 168, 162, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 32%, rgba(112, 83, 111, 0.09), transparent 34rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(112, 83, 111, 0.3);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--plum-dark);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  color: white;
  background: linear-gradient(145deg, var(--plum), var(--plum-dark));
  border-radius: 50% 50% 46% 54%;
  font-family: Georgia, serif;
  font-size: 22px;
  box-shadow: 0 7px 20px rgba(83, 60, 83, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.language-switcher {
  display: flex;
  padding: 4px;
  gap: 3px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.language-switcher button {
  min-width: 42px;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  color: white;
  background: var(--plum);
}

main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  min-height: 530px;
  padding: 72px 7%;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.97), rgba(247, 236, 241, 0.93)),
    var(--paper);
  border: 1px solid rgba(112, 83, 111, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(112, 83, 111, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(112, 83, 111, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.hero h1,
.booking-shell h2,
.success-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(46px, 6vw, 76px);
  letter-spacing: -0.04em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 16px 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5c535d;
  font-size: 13px;
}

.hero-points i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--success);
  background: #e5f1e9;
  border-radius: 50%;
  font-style: normal;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.art-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: min(310px, 82%);
  aspect-ratio: 0.8;
  color: #fef8f3;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(145deg, #896d86, #533c53);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 48% 48% 42% 42% / 32% 32% 56% 56%;
  box-shadow: 0 30px 70px rgba(67, 43, 65, 0.26);
  transform: rotate(2deg);
}

.art-card::before,
.art-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: inherit;
}

.art-card::after {
  inset: 26px;
  border-style: dashed;
}

.art-monogram {
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.art-line {
  width: 54px;
  height: 1px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.54);
}

.art-card small {
  font-size: 9px;
  letter-spacing: 0.2em;
}

.art-sparkle {
  position: absolute;
  top: 60px;
  right: 54px;
  font-size: 26px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 210px;
  height: 210px;
  top: 24px;
  right: 5px;
  background: rgba(214, 168, 162, 0.42);
}

.orb-two {
  width: 160px;
  height: 160px;
  bottom: 12px;
  left: 12px;
  background: rgba(191, 168, 190, 0.34);
}

.booking-shell {
  margin: 34px 0 70px;
  padding: 50px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 34px;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
}

.progress {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.progress li {
  display: flex;
  align-items: center;
  padding: 8px 12px 8px 8px;
  color: #9a919b;
  background: #f7f2f5;
  border-radius: 999px;
  gap: 7px;
  font-size: 12px;
}

.progress span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: white;
  border-radius: 50%;
}

.progress li.active {
  color: white;
  background: var(--plum);
}

.progress li.active span {
  color: var(--plum);
}

.status {
  margin-top: 24px;
  padding: 14px 17px;
  color: var(--danger);
  background: #fff0f1;
  border: 1px solid #f1c9cd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.status.success {
  color: var(--success);
  background: #edf7f0;
  border-color: #c6e1cf;
}

.flow-section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.flow-section:last-of-type {
  border-bottom: 0;
}

.flow-title {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 14px;
}

.flow-title > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--plum);
  background: var(--plum-soft);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.flow-title h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.flow-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  flex-direction: column;
  text-align: left;
  background: #fdfbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  right: -24px;
  bottom: -30px;
  background: var(--plum-soft);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #ccb8c9;
  box-shadow: var(--shadow-sm);
}

.service-card.selected {
  background: linear-gradient(145deg, #fff, #faf3f8);
  border: 2px solid var(--plum);
  box-shadow: 0 14px 34px rgba(83, 60, 83, 0.12);
}

.service-card.selected::after {
  transform: scale(1.22);
}

.service-card .service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--plum);
  background: var(--plum-soft);
  border-radius: 14px;
  font-size: 19px;
}

.service-card h4 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.service-card p {
  min-height: 40px;
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.service-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
  font-size: 13px;
}

.service-meta b {
  color: var(--plum-dark);
  font-size: 15px;
}

.specialist-picker {
  margin-bottom: 22px;
}

.specialist-picker-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specialists-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.specialist-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 92px;
  padding: 12px 8px;
  background: #fdfbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.specialist-card:hover {
  transform: translateY(-2px);
  border-color: #ccb8c9;
}

.specialist-card.selected {
  border: 2px solid var(--plum);
  background: linear-gradient(145deg, #fff, #faf3f8);
  box-shadow: 0 10px 24px rgba(83, 60, 83, 0.12);
}

.specialist-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--plum-soft);
}

.specialist-avatar-placeholder,
.specialist-avatar-any {
  display: grid;
  place-items: center;
  color: var(--plum);
  font-size: 20px;
  font-weight: 600;
}

.skeleton {
  overflow: hidden;
  background: #eee7eb;
}

.skeleton::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

.service-skeleton {
  height: 190px;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.schedule-grid,
.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
}

.calendar-card,
.slots-card,
.summary-card {
  padding: 24px;
  background: #fdfbfc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 17px;
}

.calendar-toolbar strong {
  font-family: Georgia, serif;
  font-size: 19px;
  text-transform: capitalize;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--plum);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.weekdays span {
  padding: 5px 0 9px;
  color: #9b929b;
  text-align: center;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  background: white;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}

.calendar-day:not(:disabled):hover {
  border-color: var(--plum);
}

.calendar-day.available::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 4px;
  height: 4px;
  background: var(--success);
  border-radius: 50%;
}

.calendar-day.selected {
  color: white;
  background: var(--plum);
  box-shadow: 0 7px 18px rgba(83, 60, 83, 0.22);
}

.calendar-day.selected::after {
  background: white;
}

.calendar-day:disabled {
  color: #c2bac2;
  background: transparent;
  cursor: default;
}

.calendar-day.loading-day {
  color: transparent;
  background: #f1ebef;
}

.calendar-blank {
  aspect-ratio: 1;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 15px;
  gap: 12px 20px;
  border-top: 1px solid var(--line);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.calendar-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-available { background: var(--success); }
.legend-unavailable { background: #d7ced6; }

.slots-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 62px;
  margin-bottom: 18px;
  gap: 12px;
}

.slots-heading small,
.summary-card > small {
  color: var(--plum);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.slots-heading h4,
.summary-card h4 {
  margin: 3px 0 0;
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
}

.timezone {
  padding: 5px 8px;
  color: var(--muted);
  background: #f3edf1;
  border-radius: 999px;
  font-size: 9px;
  white-space: nowrap;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.slot-button {
  min-height: 44px;
  padding: 8px;
  color: var(--plum-dark);
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.slot-button:hover,
.slot-button.selected {
  color: white;
  background: var(--plum);
  border-color: var(--plum);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px 16px;
  color: var(--muted);
  background: white;
  border: 1px dashed #d8ced7;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
}

.slot-skeleton {
  height: 44px;
  border-radius: 11px;
}

.details-grid {
  align-items: start;
}

#booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

#booking-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #d8ced7;
  border-radius: 12px;
}

input:hover,
textarea:hover {
  border-color: #bda9ba;
}

.privacy-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.primary-button,
.secondary-button,
.danger-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  grid-column: 1 / -1;
  justify-content: space-between;
  color: white;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  border: 0;
  box-shadow: 0 12px 28px rgba(83, 60, 83, 0.2);
}

.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.secondary-button,
.ghost-button {
  color: var(--plum);
  background: white;
  border: 1px solid var(--line);
}

.danger-button {
  color: var(--danger);
  background: #fff1f2;
  border: 1px solid #f1c9cd;
}

.summary-card {
  background: linear-gradient(145deg, #f6eef4, #fdf9fb);
}

.summary-card dl {
  margin: 20px 0 0;
}

.summary-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  gap: 20px;
  border-bottom: 1px solid rgba(112, 83, 111, 0.1);
}

.summary-card dl div:last-child {
  border-bottom: 0;
}

.summary-card dt {
  color: var(--muted);
  font-size: 12px;
}

.summary-card dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
}

.success-card {
  padding: 70px 24px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  color: white;
  background: var(--success);
  border: 8px solid #e3f0e7;
  border-radius: 50%;
  font-size: 25px;
}

.success-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 50px);
}

.success-card > p:not(.eyebrow) {
  max-width: 570px;
  margin: 15px auto;
  color: var(--muted);
}

.success-card > strong {
  display: block;
  margin: 20px 0;
  color: var(--plum);
  font-size: 20px;
  letter-spacing: 0.08em;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 40px));
  min-height: 130px;
  margin: 0 auto;
  gap: 20px;
  border-top: 1px solid var(--line);
}

footer strong,
footer span {
  display: block;
}

footer strong {
  font-family: Georgia, serif;
  font-size: 18px;
}

footer span,
footer a {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

/* Admin */
.admin-page {
  min-height: 100vh;
  background: #f7f3f6;
}

.admin-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px max(20px, calc((100% - var(--content)) / 2));
  gap: 16px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.login-wrap {
  display: grid;
  min-height: calc(100vh - 150px);
  place-items: center;
  padding: 30px 0;
}

.login-card {
  width: min(460px, 100%);
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.login-card .brand-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
}

.login-card h1,
.admin-title h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 500;
}

.login-card h1 { font-size: 38px; }
.login-card > p { margin: 8px 0 28px; color: var(--muted); }

.admin-form {
  display: grid;
  gap: 17px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.admin-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.admin-title h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.admin-title p {
  margin: 7px 0 0;
  color: var(--muted);
}

.refresh-note {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  gap: 14px;
}

.stat-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stat-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stat-card strong {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: 22px;
}

.admin-panel {
  min-width: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-panel + .admin-panel {
  margin-top: 22px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
}

.panel-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
}

.count-badge {
  display: grid;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  place-items: center;
  color: var(--plum);
  background: var(--plum-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.booking-list,
.blocked-list {
  display: grid;
  gap: 11px;
}

.booking-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  gap: 15px;
  background: #fcfafb;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.booking-time {
  padding: 10px 8px;
  color: var(--plum-dark);
  background: var(--plum-soft);
  border-radius: 11px;
  text-align: center;
}

.booking-time strong,
.booking-time small {
  display: block;
}

.booking-time strong { font-size: 17px; }
.booking-time small { font-size: 10px; }

.booking-info {
  min-width: 0;
}

.booking-info strong,
.booking-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-info strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.booking-info span,
.booking-info a {
  color: var(--muted);
  font-size: 12px;
}

.booking-info a {
  display: inline-block;
  margin-top: 4px;
}

.small-danger {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 11px;
}

.small-secondary {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 11px;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reschedule-form {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.reschedule-form input[type="date"],
.reschedule-form input[type="time"] {
  flex: 1 1 130px;
  min-width: 0;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  gap: 10px !important;
  background: #faf6f9;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.checkbox-label input {
  width: 19px;
  min-height: 19px;
  margin: 0;
}

.time-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.specialist-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.specialist-hours-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.hours-row .checkbox-label {
  min-height: 40px;
}

.photo-thumb {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.blocked-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 13px;
  gap: 12px;
  background: #fcfafb;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.blocked-row strong,
.blocked-row small {
  display: block;
}

.blocked-row strong { font-size: 13px; }
.blocked-row small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.admin-empty {
  padding: 28px 15px;
  color: var(--muted);
  background: #fcfafb;
  border: 1px dashed #d8ced7;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
}

.toast-region {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(360px, calc(100% - 40px));
  gap: 10px;
}

.toast {
  padding: 14px 16px;
  color: white;
  background: var(--ink);
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  animation: toast-in 180ms ease-out;
}

.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 310px;
    padding: 54px 5%;
  }

  .hero h1 { font-size: clamp(42px, 7vw, 62px); }
  .booking-shell { padding: 34px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 155px; }
  .schedule-grid,
  .details-grid { grid-template-columns: 1fr; }
  .summary-card { grid-row: 1; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer,
  .admin-main {
    width: min(100% - 24px, var(--content));
  }

  .site-header { min-height: 72px; }
  .brand small { display: none; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .language-switcher button { min-width: 38px; min-height: 34px; padding: 5px 8px; }

  .hero {
    display: block;
    min-height: 0;
    padding: 42px 24px 0;
    border-radius: 26px;
  }

  .hero h1 { font-size: clamp(39px, 13vw, 54px); }
  .hero-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 15px; }
  .hero-points { margin-top: 24px; gap: 10px 16px; }
  .hero-art { min-height: 280px; margin-top: 4px; }
  .art-card { width: 190px; }
  .art-monogram { font-size: 48px; }
  .art-sparkle { top: 35px; right: 30px; }
  .orb-one { width: 150px; height: 150px; }
  .orb-two { width: 110px; height: 110px; }

  .booking-shell {
    margin: 18px 0 40px;
    padding: 24px 16px;
    border-radius: 26px;
  }

  .section-heading { padding: 5px 4px 25px; }
  .section-heading h2 { font-size: 34px; }
  .progress { width: 100%; }
  .progress li { flex: 1; justify-content: center; padding-right: 8px; }
  .progress b { display: none; }
  .flow-section { padding: 30px 0; }
  .flow-title { margin-bottom: 18px; }
  .flow-title h3 { font-size: 22px; }
  .service-card { min-height: 150px; padding: 19px; }
  .service-card p { min-height: auto; margin-bottom: 14px; }
  .calendar-card,
  .slots-card,
  .summary-card { padding: 16px; border-radius: 18px; }
  .calendar-day { border-radius: 9px; font-size: 12px; }
  .calendar-day.available::after { bottom: 3px; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  #booking-form { grid-template-columns: 1fr; }
  #booking-form label,
  #booking-form .privacy-note,
  #booking-form .primary-button { grid-column: 1; }
  input, textarea { min-height: 52px; font-size: 16px; }
  .primary-button,
  .secondary-button,
  .danger-button,
  .ghost-button { min-height: 52px; }

  footer {
    align-items: flex-start;
    min-height: 150px;
    padding: 30px 4px;
    flex-direction: column;
    justify-content: center;
  }

  .admin-header { min-height: 66px; padding: 10px 12px; }
  .admin-header .brand strong { font-size: 16px; }
  .admin-header-actions { gap: 5px; }
  .admin-header .ghost-button { min-height: 38px; padding: 6px 10px; font-size: 11px; }
  .admin-main { padding-top: 24px; }
  .login-card { padding: 28px 20px; border-radius: 24px; }
  .login-card h1 { font-size: 34px; }
  .admin-title { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-card:first-child { grid-column: 1 / -1; }
  .admin-panel { padding: 17px; border-radius: 18px; }
  .booking-row { grid-template-columns: 72px minmax(0, 1fr); }
  .booking-row .booking-actions { grid-column: 1 / -1; flex-direction: row; }
  .booking-row .booking-actions > button { flex: 1; width: auto; }
  .hours-row { grid-template-columns: 1fr; }
  .time-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
