:root {
  --ink: #101820;
  --navy-950: #071525;
  --navy-900: #0b1f35;
  --navy-800: #123456;
  --blue-650: #1f5f8f;
  --copper: #b9784b;
  --copper-light: #dca56f;
  --sage: #8fa99b;
  --paper: #f7f3ec;
  --paper-deep: #ebe2d5;
  --white: #ffffff;
  --muted: #65727d;
  --line: rgba(16, 24, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(7, 21, 37, 0.22);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(216, 160, 111, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--paper), #fffaf3 44%, var(--paper));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: rgba(7, 21, 37, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216, 160, 111, 0.72);
  border-radius: 50%;
  color: var(--copper-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-name,
.brand-note {
  display: block;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
}

.brand-note {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.site-nav button {
  padding: 12px 14px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: var(--navy-950);
  background: var(--copper-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle-line::before {
  transform: translateY(-7px);
}

.nav-toggle-line::after {
  transform: translateY(5px);
}

.nav-open .nav-toggle-line {
  background: transparent;
}

.nav-open .nav-toggle-line::before {
  background: var(--white);
  transform: translateY(1px) rotate(45deg);
}

.nav-open .nav-toggle-line::after {
  background: var(--white);
  transform: translateY(-1px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(720px, calc(100svh - 84px));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-media,
.split-image {
  background-image:
    linear-gradient(90deg, rgba(7, 21, 37, 0.7), rgba(7, 21, 37, 0.12)),
    url("assets/mir-frisor-salon.png");
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 37, 0.94) 0%, rgba(7, 21, 37, 0.72) 44%, rgba(7, 21, 37, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 21, 37, 0.82), transparent 42%);
}

.hero-content {
  width: var(--container);
  align-self: center;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 0 116px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper-light);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.booking-copy h2,
.admin-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.5rem, 12vw, 9.5rem);
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.form-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--navy-950);
  background: var(--copper-light);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-quiet {
  color: var(--navy-950);
  border-color: var(--line);
  background: var(--white);
}

.button-danger {
  color: #771a1a;
  border-color: rgba(119, 26, 26, 0.25);
  background: #fff3f0;
}

.hero-panel {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 34px;
  width: min(350px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(7, 21, 37, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span,
.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.intro-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: -36px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 60px rgba(7, 21, 37, 0.14);
}

.intro-band div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band strong {
  color: var(--copper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

.intro-band span {
  color: var(--navy-900);
  font-weight: 900;
}

.section,
.booking-section,
.admin-shell {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 8vw, 108px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2,
.split-copy h2,
.booking-copy h2 {
  color: var(--navy-950);
  font-size: clamp(2.35rem, 5vw, 5rem);
}

.section-heading p:not(.eyebrow),
.split-copy p,
.booking-copy p,
.admin-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.employee-card,
.admin-panel,
.booking-form,
.booking-summary,
.login-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.service-card {
  min-height: 292px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 120, 75, 0.42);
  box-shadow: 0 18px 46px rgba(7, 21, 37, 0.11);
}

.service-card-featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--blue-650));
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: var(--copper);
  background: rgba(185, 120, 75, 0.12);
  font-weight: 900;
}

.service-card-featured .service-number {
  color: var(--navy-950);
  background: var(--copper-light);
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
}

.service-card p,
.service-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.service-card-featured p,
.service-card-featured .service-meta {
  color: rgba(255, 255, 255, 0.78);
}

.service-meta {
  display: block;
  margin-top: 18px;
  font-weight: 900;
}

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

.employee-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 190px;
  padding: 20px;
}

.employee-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.2rem;
}

.employee-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.employee-title {
  color: var(--copper) !important;
  font-weight: 900;
}

.employee-photo {
  display: grid;
  place-items: center;
  width: 110px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--copper-light);
  background: linear-gradient(145deg, var(--navy-900), var(--blue-650));
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.employee-photo.small {
  width: 58px;
  font-size: 1.1rem;
}

.employee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 0.8fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  padding-top: 44px;
}

.booking-copy {
  position: sticky;
  top: 110px;
}

.booking-summary {
  margin-top: 28px;
  padding: 24px;
  background: var(--navy-950);
  color: var(--white);
}

.booking-summary strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
}

.booking-summary p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.booking-form,
.login-panel,
.admin-panel {
  padding: 26px;
  box-shadow: 0 18px 60px rgba(7, 21, 37, 0.08);
}

.form-grid,
.settings-grid,
.service-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.switch-row.full {
  grid-column: 1 / -1;
}

.form-field label,
.field-label {
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea,
.toolbar-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
}

.form-field textarea {
  min-height: 110px;
  padding: 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.toolbar-input:focus {
  border-color: var(--blue-650);
  outline: 3px solid rgba(31, 95, 143, 0.14);
}

.slot-groups {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.slot-group {
  display: grid;
  gap: 8px;
}

.slot-group-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.slot-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-900);
  background: var(--white);
  font-weight: 900;
}

.slot-button:disabled {
  color: rgba(101, 114, 125, 0.62);
  border-color: rgba(16, 24, 32, 0.08);
  background: rgba(16, 24, 32, 0.05);
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-button.is-selected {
  color: var(--navy-950);
  border-color: var(--copper-light);
  background: var(--copper-light);
}

.empty-state,
.form-message {
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(31, 95, 143, 0.18);
  border-radius: var(--radius);
  color: var(--navy-900);
  background: rgba(31, 95, 143, 0.06);
  line-height: 1.55;
}

.form-message.success {
  border-color: rgba(55, 122, 85, 0.24);
  background: rgba(143, 169, 155, 0.2);
}

.form-message.error {
  border-color: rgba(119, 26, 26, 0.24);
  background: #fff3f0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: stretch;
  width: var(--container);
  margin: 0 auto clamp(78px, 10vw, 128px);
}

.split-image {
  min-height: 580px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy {
  align-self: center;
}

.split-copy p {
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--navy-900);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border: 3px solid var(--copper);
  border-radius: 50%;
  content: "";
}

.contact-band {
  width: var(--container);
  margin: 0 auto 40px;
  padding: clamp(38px, 6vw, 68px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 21, 37, 0.97), rgba(18, 52, 86, 0.95));
  box-shadow: var(--shadow);
}

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

.contact-row {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-row span {
  color: var(--copper-light);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy-900);
  font-weight: 900;
}

.admin-page {
  min-height: 100svh;
  background: linear-gradient(180deg, #f8f5ef, #eef3f1);
}

.admin-shell {
  padding-top: 24px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-hero h1 {
  color: var(--navy-950);
  font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.admin-hero p {
  margin-top: 12px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.metric {
  padding: 13px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy-900);
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 1.45rem;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.admin-tab {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.admin-tab:hover,
.admin-tab:focus-visible {
  border-color: rgba(31, 95, 143, 0.42);
  background: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.admin-tab.is-active {
  color: var(--white);
  border-color: var(--navy-900);
  background: linear-gradient(145deg, var(--navy-900), var(--blue-650));
}

.admin-tab strong,
.admin-tab span {
  display: block;
}

.admin-tab strong {
  font-size: 0.95rem;
}

.admin-tab span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-tab.is-active span {
  color: rgba(255, 255, 255, 0.72);
}

.admin-workspace {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.admin-workspace-tab > .admin-panel {
  grid-column: 1 / -1;
}

.booking-panel {
  grid-column: span 8;
}

.reports-panel {
  grid-column: 1 / -1;
}

.employees-panel {
  grid-column: span 4;
}

.services-panel,
.shop-panel {
  grid-column: span 6;
}

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

.panel-title h2,
.panel-title h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.2rem;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 16px;
}

.employee-calendar {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.calendar-toolbar strong,
.calendar-eyebrow {
  display: block;
}

.calendar-eyebrow {
  margin-bottom: 4px;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-actions,
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-date-input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--navy-900);
  background: var(--white);
  font-weight: 800;
}

.calendar-legend {
  margin-bottom: 14px;
}

.audience-legend {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.audience-men-boys {
  border-color: rgba(31, 95, 143, 0.28);
  background: rgba(31, 95, 143, 0.1);
}

.audience-women-girls {
  border-color: rgba(185, 120, 75, 0.34);
  background: rgba(220, 165, 111, 0.18);
}

.audience-general {
  border-color: rgba(143, 169, 155, 0.38);
  background: rgba(143, 169, 155, 0.18);
}

.employee-calendar-grid {
  display: grid;
  grid-template-columns: 78px repeat(var(--employee-count), minmax(210px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.calendar-heading,
.calendar-time,
.calendar-cell {
  min-height: 54px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--navy-950);
  background: #f8f5ef;
  font-weight: 900;
}

.calendar-heading.time-heading,
.calendar-time {
  position: sticky;
  left: 0;
  z-index: 2;
}

.calendar-time {
  color: var(--muted);
  background: #f8f5ef;
  font-size: 0.82rem;
  font-weight: 900;
}

.calendar-cell {
  background: rgba(255, 255, 255, 0.72);
}

.calendar-cell.is-occupied {
  background: rgba(16, 24, 32, 0.035);
}

.calendar-free,
.calendar-busy {
  color: rgba(101, 114, 125, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
}

.calendar-busy {
  color: rgba(101, 114, 125, 0.72);
}

.calendar-booking {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--navy-950);
}

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

.calendar-booking strong {
  font-size: 0.88rem;
}

.calendar-booking span,
.calendar-booking small {
  color: var(--muted);
  line-height: 1.35;
}

.calendar-booking.status-cancelled {
  opacity: 0.58;
  text-decoration: line-through;
}

.report-title {
  align-items: start;
}

.report-title span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.report-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.insight-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.insight-card span,
.chart-head p,
.report-row span,
.status-report-row span,
.bar-label,
.bar-value {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.insight-card span,
.bar-label,
.status-report-row span {
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy-950);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.insight-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.insight-primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--blue-650));
}

.insight-primary span,
.insight-primary p {
  color: rgba(255, 255, 255, 0.72);
}

.insight-primary strong {
  color: var(--white);
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 14px;
}

.chart-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.chart-wide {
  grid-row: span 2;
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-head h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1rem;
}

.chart-head p {
  margin: 6px 0 0;
  text-transform: none;
  line-height: 1.45;
}

.chart-head > strong {
  color: var(--copper);
  font-size: 1.1rem;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(48px, 1fr));
  gap: 12px;
  min-height: 250px;
  overflow-x: auto;
}

.bar-column {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  min-width: 54px;
}

.bar-value {
  min-height: 30px;
  text-align: center;
  text-transform: none;
}

.bar-track {
  display: flex;
  align-items: end;
  min-height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(31, 95, 143, 0.08);
}

.bar-track span {
  display: block;
  width: 100%;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--copper-light), var(--blue-650));
}

.bar-label {
  text-align: center;
}

.report-row-list,
.status-report-list {
  display: grid;
  gap: 10px;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.report-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.report-row > div:last-child {
  text-align: right;
}

.report-row strong {
  display: block;
  color: var(--navy-950);
}

.report-row span {
  display: block;
  margin-top: 4px;
  text-transform: none;
}

.status-report-row {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.status-report-row strong {
  color: var(--navy-950);
  text-align: right;
}

.progress-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.08);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue-650);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-chip,
.status-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-900);
  background: var(--white);
  font-weight: 900;
}

.filter-chip.is-active,
.status-button.is-active {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.booking-list {
  display: grid;
  gap: 10px;
}

.booking-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.booking-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.booking-item p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.45;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.compact-field {
  display: grid;
  gap: 6px;
  min-width: 190px;
}

.compact-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-field select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: var(--white);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-pending {
  color: #71420b;
  background: #fff1d8;
}

.status-confirmed {
  color: #0a4f74;
  background: #dff2fb;
}

.status-completed {
  color: #26633f;
  background: #e1f2e7;
}

.status-cancelled {
  color: #771a1a;
  background: #ffe6df;
}

.employee-editor-list {
  display: grid;
  gap: 10px;
}

.employee-editor {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.employee-editor[open] {
  box-shadow: 0 12px 30px rgba(7, 21, 37, 0.06);
}

.employee-editor-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.employee-editor-head::-webkit-details-marker,
.settings-group summary::-webkit-details-marker {
  display: none;
}

.employee-editor-head::after,
.settings-group summary::after {
  justify-self: end;
  color: var(--copper);
  content: "+";
  font-size: 1.2rem;
  font-weight: 900;
}

.employee-editor[open] .employee-editor-head::after,
.settings-group[open] summary::after {
  content: "-";
}

.employee-editor-head strong,
.employee-editor-head span {
  display: block;
}

.employee-editor-head span {
  margin-top: 4px;
  color: var(--muted);
}

.employee-editor form {
  padding: 0 12px 14px;
}

.employee-add-form,
.service-add-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.settings-accordion {
  display: grid;
  gap: 10px;
}

.settings-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.settings-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.settings-group .settings-grid {
  padding: 0 14px 14px;
}

.service-editor {
  display: grid;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.service-editor:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-editor .switch-row {
  min-height: 42px;
}

.service-actions {
  margin-top: 0;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-650);
}

.login-panel {
  width: min(520px, 100%);
  margin: 52px auto 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(7, 21, 37, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .section-heading,
  .booking-section,
  .split-section,
  .admin-hero,
  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-panel,
  .employees-panel,
  .services-panel,
  .shop-panel {
    grid-column: 1 / -1;
  }

  .booking-copy {
    position: static;
  }

  .service-grid,
  .employee-grid,
  .metric-grid,
  .contact-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .chart-wide {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1160px, calc(100vw - 28px));
  }

  .site-header {
    width: 100vw;
    min-height: 72px;
    padding: 12px 14px;
  }

  .site-nav {
    top: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-note {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    align-self: start;
    width: calc(100vw - 28px);
    padding: 52px 0 154px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .hero-copy {
    max-width: calc(100vw - 28px);
    font-size: 1rem;
    line-height: 1.55;
    margin-top: 18px;
  }

  .hero-actions,
  .form-actions,
  .admin-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    bottom: 18px;
    padding: 18px;
  }

  .intro-band,
    .service-grid,
    .employee-grid,
    .form-grid,
    .contact-grid,
    .settings-grid,
    .service-editor-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band {
    margin-top: -22px;
  }

  .intro-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: 260px;
  }

  .booking-form,
  .login-panel,
  .admin-panel {
    padding: 18px;
  }

  .admin-shell {
    padding-top: 16px;
  }

  .admin-hero {
    gap: 14px;
    margin-bottom: 12px;
  }

  .admin-hero p {
    margin-top: 8px;
  }

  .split-image {
    min-height: 340px;
  }

  .admin-toolbar,
  .booking-item,
  .service-editor {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    display: flex;
    gap: 8px;
    margin-right: -14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-tab {
    min-width: 168px;
  }

  .report-title,
  .chart-head,
  .report-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .report-controls {
    justify-content: flex-start;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .booking-actions {
    justify-content: stretch;
  }

  .employee-card,
  .compact-field {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
