/* ===== Design tokens (BAMBYLETKA palette: white / black / red, blue accent) =====
   Direction: quiet luxury — elegant tracked serif display type, soft rounded
   forms, diffuse low shadows, generous whitespace. Colors stay unchanged. */
:root {
  --bg: oklch(100% 0 0);
  --card: oklch(97% 0 0);
  --card-2: oklch(93% 0 0);
  --input-bg: oklch(100% 0 0);
  --text: oklch(15% 0 0);
  --text-soft: oklch(25% 0 0);
  --text-muted: oklch(35% 0 0);
  --text-muted-2: oklch(45% 0 0);
  --text-muted-3: oklch(55% 0 0);
  --text-faint: oklch(65% 0 0);
  --accent: #D7263D;
  --accent-ink: #fff;
  --accent-2: #22478B;
  --error: #B0141F;
  --success: oklch(45% 0.1 150);
  --border: oklch(85% 0 0);
  --border-2: oklch(78% 0 0);
  --border-3: oklch(88% 0 0);
  --border-4: oklch(91% 0 0);
  --ink-line: oklch(15% 0 0);

  --radius: 16px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --shadow-lg: 0 28px 56px -24px oklch(15% 0 0 / 0.32);
  --shadow-md: 0 18px 36px -18px oklch(15% 0 0 / 0.24);
  --shadow-sm: 0 10px 22px -12px oklch(15% 0 0 / 0.2);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 68px;

  --font-heading: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0; }

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.section {
  padding: 44px 6vw;
}

@media (min-width: 640px) {
  .section { padding: 72px 6vw; }
}

.section-alt { background: var(--card); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

.eyebrow-mark {
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lede {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.lede-strong {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 16px;
  font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid var(--ink-line);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  padding: 11px 24px;
  font-size: 11px;
  box-shadow: var(--shadow-sm);
}

.btn-accent::before { content: none; }

@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  padding: 9px 18px;
  font-size: 10.5px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-2);
  color: inherit;
  padding: 7px 16px;
  font-size: 10px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 10px;
}

.btn-pill-nav {
  padding: 8px 18px;
  font-size: 10px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover { background: var(--accent-2); color: #fff; }
  .btn-ghost:hover { border-color: var(--text); background: var(--text); color: #fff; }
}

/* ===== Nav: floats transparently over the hero photo, turns solid on scroll ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 220ms var(--ease-out), border-color 220ms var(--ease-out), background-color 220ms ease;
}

.nav.is-scrolled {
  padding: 11px 6vw;
  background: #000;
  border-bottom-color: var(--accent);
}

.logo {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: oklch(75% 0 0);
  transition: color 160ms ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--accent);
  transition: right 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: #fff; }
  .nav-links a:hover::after { right: 0; }
}

.nav-right { display: flex; align-items: center; gap: 14px; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid oklch(40% 0 0);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}

.nav-toggle:active { transform: scale(0.92); }

@media (hover: hover) and (pointer: fine) {
  .nav-toggle:hover { border-color: var(--accent); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
}

.nav-mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  background: #000;
  border-bottom: 1px solid var(--accent);
  padding: 4px 6vw 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
}

.nav-mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-panel a {
  padding: 13px 2px;
  color: oklch(85% 0 0);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid oklch(22% 0 0);
  transition: color 160ms ease;
}

.nav-mobile-panel a:last-child { border-bottom: none; }

@media (hover: hover) and (pointer: fine) {
  .nav-mobile-panel a:hover { color: var(--accent); }
}

@media (min-width: 860px) {
  .nav-mobile-panel { display: none; }
}

/* ===== Mobile sticky CTA ===== */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 14px 6vw calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--bg) 65%, transparent);
  transform: translateY(120%);
  transition: transform 260ms var(--ease-out);
  pointer-events: none;
}

.mobile-cta.is-visible { transform: translateY(0); pointer-events: auto; }

.mobile-cta .btn { width: 100%; max-width: 420px; }

@media (min-width: 860px) {
  .mobile-cta { display: none; }
}

/* ===== Hero: full-bleed photo ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 78svh;
  padding: 92px 6vw 40px;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
  color: #fff;
}

@media (min-width: 640px) {
  .hero { min-height: 100svh; padding: 140px 6vw 70px; }
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  margin: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.45) 0%, rgb(0 0 0 / 0.15) 38%, rgb(0 0 0 / 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

.hero-top { max-width: 560px; }
.hero-bottom { max-width: 420px; }

.hero .eyebrow-mark { background: var(--accent); }

.hero h1 {
  font-weight: 500;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.15;
  margin: 16px 0 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: #fff;
}

.accent-word {
  color: #fff;
  font-style: italic;
}

.hero-content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgb(255 255 255 / 0.85);
  max-width: 440px;
  margin: 0 0 20px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: heroScrollBob 1900ms ease-in-out infinite;
}

@keyframes heroScrollBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

.load-in {
  opacity: 0;
  transform: translateY(14px);
  animation: loadIn 620ms var(--ease-out) forwards;
}

@keyframes loadIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Trust row ===== */
.trust-row {
  padding: 20px 6vw;
  background: #000;
}

.trust-row-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: oklch(85% 0 0);
  font-weight: 700;
}

.trust-row .sep {
  color: var(--accent);
  opacity: 1;
  font-weight: 700;
}

/* ===== About master ===== */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
  outline: none;
}

.about-copy { flex: 1 1 380px; min-width: 280px; }
.about-copy h2 { font-weight: 500; font-size: 20px; letter-spacing: 0.03em; margin-bottom: 8px; }
.about-copy p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 14px; }
.about-copy p:last-child { margin-bottom: 0; }

/* ===== Section divider ornament ===== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
}

.divider::before, .divider::after {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--border-2);
}

.divider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== Editorial list (prep, aftercare, price breakdown) ===== */
.editorial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: 40px;
}

.editorial-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border-3);
}

.editorial-item .num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}

.editorial-item p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.editorial-item p strong { font-weight: 700; }

/* ===== Hair growth cycle diagram ===== */
.hair-cycle-frame {
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--accent);
  border-radius: 0;
  background: transparent;
}

.hair-cycle-frame img { padding-top: 20px; border-radius: var(--radius-sm); }

.hair-cycle-frame img { width: 100%; height: auto; }

/* ===== Leader list (zones) ===== */
.leader-list { max-width: 640px; }

.leader-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-4);
}

.leader-row:last-child { border-bottom: none; }

.leader-row .name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.leader-row .leader {
  flex: 1;
  border-bottom: 1px dashed var(--border-2);
  transform: translateY(-5px);
  margin: 0 2px;
}

.leader-row .value {
  font-size: 13.5px;
  color: var(--text-muted-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ===== Pricing box ===== */
.price-box {
  border: 1px solid var(--border-3);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: baseline;
  box-shadow: var(--shadow-sm);
}

.price-box .amount {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.price-box .amount.accent { color: var(--accent); }
.price-box .unit { font-size: 13px; color: var(--text-muted-2); font-family: 'Manrope', sans-serif; font-weight: 600; }
.price-box .caption { font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted-2); margin-top: 6px; font-weight: 700; }

/* ===== Price calculator ===== */
.price-calc {
  border: 1px solid var(--border-3);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.price-calc-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-calc .chip-row--scroll { margin-bottom: 20px; }

.price-calc-result {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-3);
}

.price-calc-amount {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.price-calc-note {
  font-size: 11.5px;
  color: var(--text-muted-2);
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.stagger.is-visible > * { opacity: 1; transform: translateY(0); }

.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }
.stagger.is-visible > *:nth-child(n+7) { transition-delay: 340ms; }

/* ===== Booking widget ===== */
.booking-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-3);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .booking-card { padding: 32px; }
}

.step-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calendar {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 auto 22px;
  max-width: 300px;
  box-shadow: var(--shadow-sm);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }

.icon-btn {
  position: relative;
  border: 1px solid var(--border-2);
  cursor: pointer;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: inherit;
  font-size: 12.5px;
  font-family: inherit;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, opacity 160ms ease;
  display: flex; align-items: center; justify-content: center;
}

.icon-btn::before {
  content: '';
  position: absolute;
  inset: -9px;
}

.icon-btn:active:not(:disabled) { transform: scale(0.88); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover { background: var(--text); color: #fff; }
}

.weekday-row, .day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.weekday-row { margin-bottom: 4px; }

.weekday-row div {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted-3);
  font-weight: 700;
  text-transform: uppercase;
}

.day-cell {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  aspect-ratio: 1;
  max-width: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  padding: 0;
  cursor: default;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.day-cell.is-selectable { cursor: pointer; border-color: var(--border-3); }
.day-cell.is-selectable:active { transform: scale(0.88); }
.day-cell.is-full { background: var(--card-2); opacity: 0.55; }
.day-cell.is-muted { opacity: 0.35; }
.day-cell.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .day-cell.is-selectable:not(.is-selected):hover { border-color: var(--accent); }
}

.calendar-hint {
  font-size: 11.5px;
  color: var(--text-muted-3);
  margin-top: -14px;
  margin-bottom: 28px;
  text-align: center;
}

.step-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 360ms var(--ease-in-out), opacity 260ms var(--ease-out);
}

.step-panel.is-open { grid-template-rows: 1fr; opacity: 1; }

.step-panel > .step-inner { overflow: hidden; min-height: 0; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 2px;
}

.chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  margin-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}

.chip-row--scroll .chip {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.chip-row--scroll::-webkit-scrollbar { height: 4px; }
.chip-row--scroll::-webkit-scrollbar-track { background: transparent; }
.chip-row--scroll::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 999px; }

.chip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-2);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.chip:active { transform: scale(0.95); }
.chip.is-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: none;
}

.chip.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

@media (hover: hover) and (pointer: fine) {
  .chip:not(.is-selected):hover { border-color: var(--accent); }
}

.empty-note { font-size: 13px; color: var(--text-muted-2); align-self: center; }

.form-field {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13.5px;
  font-family: inherit;
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgb(34 71 139 / 0.15);
}

.booking-form { display: flex; flex-direction: column; gap: 12px; }

.field-error {
  font-size: 13px;
  color: var(--error);
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.field-error.is-visible { opacity: 1; transform: translateY(0); }

.confirm-panel {
  padding: 44px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-3);
  background: var(--card);
  text-align: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.confirm-panel.is-visible { opacity: 1; transform: scale(1); }

.confirm-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}

.confirm-check svg path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: drawCheck 420ms var(--ease-out) 200ms forwards;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.confirm-panel h3 { font-size: 18px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 8px; }
.confirm-panel .service { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin-bottom: 6px; }
.confirm-panel .datetime { font-size: 14px; margin-bottom: 20px; font-weight: 700; }
.confirm-panel .note { font-size: 12.5px; color: var(--text-muted-2); margin-bottom: 24px; }

.booking-swap { position: relative; }

/* ===== Contacts ===== */
.contacts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contacts-info { flex: 1 1 320px; min-width: 260px; }

.contacts-list {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-soft);
}

.contacts-list a { text-decoration: none; font-weight: 700; }

.contacts-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.map-wrap { flex: 1 1 320px; min-width: 260px; border: 1px solid var(--border-3); border-radius: var(--radius); overflow: hidden; }

.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(0.5) contrast(1.05); }

/* ===== Footer ===== */
.footer {
  padding: 22px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  background: #000;
  color: oklch(60% 0 0);
  border-top: 1px solid var(--accent);
}

.footer a {
  text-decoration: none;
  color: oklch(75% 0 0);
  transition: color 160ms ease;
}

.footer a:hover { color: #fff; }

/* ===== Admin ===== */
.admin-shell { min-height: 100vh; width: 100%; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--card);
}

.admin-login-card {
  width: 100%;
  max-width: 360px;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-3);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.admin-login-card .logo { margin-bottom: 6px; color: var(--text); }
.admin-login-card .sub { font-size: 12.5px; color: var(--text-muted-2); margin-bottom: 24px; }
.admin-login-card .form-field { margin-bottom: 12px; }

.password-field { position: relative; margin-bottom: 12px; }
.password-field .form-field { margin-bottom: 0; padding-right: 90px; }

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted-2);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: inherit;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  transition: color 160ms ease, background-color 160ms ease;
}

.password-toggle:active { transform: translateY(-50%) scale(0.95); }

@media (hover: hover) and (pointer: fine) {
  .password-toggle:hover { color: var(--text); background: var(--card); }
}

.admin-main { max-width: 1000px; margin: 0 auto; padding: 40px 6vw 80px; }

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-3);
}

.admin-header h1 { font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }

.admin-section { margin-bottom: 48px; }
.admin-section h2 { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; }

.admin-bookings-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.admin-calendar { max-width: 320px; flex: 1 1 300px; }

.admin-day-list-wrap { flex: 1 1 280px; min-width: 260px; }

.admin-day-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; }

.admin-day-list { border-radius: var(--radius); border: 1px solid var(--border-3); overflow: hidden; background: var(--card); }

.booking-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-4);
  transition: background-color 200ms ease, opacity 260ms ease, transform 260ms ease;
}

.booking-row:last-child { border-bottom: none; }
.booking-row.is-removing { opacity: 0; transform: translateX(12px); }

.booking-row .time { font-size: 12.5px; font-weight: 800; min-width: 90px; font-variant-numeric: tabular-nums; }
.booking-row .name { font-size: 12.5px; min-width: 130px; }

.client-link {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  border-bottom: 1px dashed var(--border-2);
  transition: color 160ms ease, border-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .client-link:hover { color: var(--accent); border-color: var(--accent); }
}
.booking-row .phone { font-size: 12.5px; color: var(--text-muted); min-width: 110px; font-variant-numeric: tabular-nums; }

.cancel-btn {
  margin-left: auto;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--error);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: inherit;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}

.cancel-btn:active { transform: scale(0.94); }

@media (hover: hover) and (pointer: fine) {
  .cancel-btn:hover { border-color: var(--error); }
}

.day-empty { padding: 22px 20px; font-size: 12.5px; color: var(--text-muted-2); }
.day-hint { font-size: 10.5px; color: var(--text-muted-3); margin-top: 10px; }

.slots-day-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; }

.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-pill {
  border: 1px solid var(--border-2);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--card);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.slot-pill:active { transform: scale(0.95); }

.slot-pill.is-closed {
  background: transparent;
  border-style: dashed;
  color: var(--text-muted-3);
  text-decoration: line-through;
}

.slot-pill.is-booked,
.slot-pill.is-blocked {
  background: transparent;
  border-color: transparent;
  color: var(--text-faint);
  cursor: default;
  opacity: 0.6;
}

@media (hover: hover) and (pointer: fine) {
  .slot-pill:not(:disabled):not(.is-closed):hover { border-color: var(--accent); }
  .slot-pill.is-closed:hover { border-color: var(--text-faint); color: var(--text-muted); }
}

.price-form-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-3);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.price-form-row { display: flex; gap: 20px; flex-wrap: wrap; }

.price-form-row label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text-muted-2); }

.price-form-row input {
  display: block;
  margin-top: 6px;
  width: 110px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12.5px;
  font-family: inherit;
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.price-form-row input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgb(34 71 139 / 0.15);
}

.save-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.saved-note {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--success);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.saved-note.is-visible { opacity: 1; transform: translateY(0); }

.shake { animation: shake 320ms var(--ease-in-out); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load-in, .reveal, .stagger > *, .confirm-panel, .day-cell, .chip, .btn, .icon-btn, .cancel-btn, .booking-row {
    animation: none !important;
    transition-duration: 1ms !important;
  }
  .reveal, .stagger > *, .load-in { opacity: 1 !important; transform: none !important; }
}
