/* ==========================================================
   Fonts (self-hosted, Latin + Czech + Cyrillic)
   ========================================================== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Italic-Variable.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================
   Design tokens — warm, calm, professional
   ========================================================== */
:root {
  /* Palette "leather and copper" */
  --bg: #f3ece2;
  --sand: #ebe1d3;
  --surface: #fffcf7;
  --ink: #1c1714;          /* dark leather: main text and dark sections */
  --ink-soft: #3a2a20;
  --muted: #6b5e54;
  --border: #e2d6c6;
  --accent: #a4462a;       /* rust copper: buttons only */
  --accent-dark: #86371f;
  --accent-soft: #f1ddd2;
  --brass: #b08d57;        /* brass: small details (stars, lines, rings), never buttons */
  --brass-light: #cfae78;  /* brass for text on dark backgrounds */
  --sage: #7c8b72;         /* calm secondary */
  --todo: #b4552d;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;

  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 10px 30px rgba(28, 23, 20, 0.08);
  --header-height: 70px;
}

/* ==========================================================
   Base (mobile first)
   ========================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.55em;
}

h1 { font-size: 2.35rem; letter-spacing: -0.015em; }
h2 { font-size: 1.9rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

p { margin: 0 0 1em; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow { max-width: 780px; }
.center { text-align: center; margin-top: 36px; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 10px;
}

/* Placeholder marker: everything with .todo must be replaced with real data */
.todo {
  color: var(--todo);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 0 4px;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

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

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.btn--small { min-height: 44px; padding: 0 22px; font-size: 0.95rem; }

/* ==========================================================
   Top bar + header
   ========================================================== */
.topbar { display: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 236, 226, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* Language switch + burger */
.header__tools { display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 4px; }

.lang-switch {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.lang-switch:hover { border-color: var(--accent); color: var(--accent); }

.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
}
.logo__mark img { display: block; width: 100%; height: 100%; }

.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; }
.logo__tagline { font-size: 0.76rem; color: var(--muted); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 12px 20px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav.is-open { display: flex; }

.nav a:not(.btn) {
  padding: 13px 0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.nav .btn { margin-top: 16px; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { padding: 32px 0 56px; }
.hero__inner { display: grid; gap: 36px; }

.hero__lead { font-size: 1.08rem; color: var(--muted); }

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 12px;
}

.hero__hint { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.facts li { position: relative; padding: 16px 8px 0 0; }
/* Short brass mark over each fact */
.facts li::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--brass); }
.facts strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; }
.facts span { font-size: 0.82rem; color: var(--muted); }

.hero__media { position: relative; }

.hero__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

.hero__badge-stars { color: var(--brass); letter-spacing: 2px; }

/* Photo placeholders — remove when real photos arrive */
.photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(150deg, #d9c6b1, #b89a80 55%, #8f7462);
}

.photo__label {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(43, 36, 32, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

.photo--hero { aspect-ratio: 4 / 5; }

/* Real photos */
img.photo--img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sand);
}
video.photo--img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sand);
}
img.photo--hero { object-position: 50% 30%; }
img.photo--portrait { object-position: 50% 15%; }
img.gallery__big { object-position: 50% 58%; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--cert { aspect-ratio: 3 / 4; border-radius: var(--radius-small); }
.photo--cert .photo__label { font-size: 0.72rem; padding: 4px 10px; }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #f3ece4; }
.section--dark .eyebrow { color: var(--brass-light); }
.section--dark .section__lead { color: #c9bdb1; }

.section__head { margin-bottom: 32px; }
.section__head--row { display: flex; flex-direction: column; gap: 8px; }
.section__lead { color: var(--muted); max-width: 680px; margin: 0; }

/* Where it hurts */
.pain {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pain__tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}

.pain__tabs::-webkit-scrollbar { display: none; }

.pain__tab {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pain__tab:hover { border-color: var(--accent); }

.pain__tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.pain__panel { padding: 24px 22px 28px; }
.pain__panel p { color: var(--ink-soft); }
.pain__panel strong { color: var(--ink); }

.pain__fit {
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

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

.audience li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.9rem;
}

/* About */
.about { display: grid; gap: 32px; }
.about__text > p { color: var(--ink-soft); }
.about__subtitle { margin-top: 28px; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.timeline li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.timeline__year { font-weight: 600; min-width: 48px; }

.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cert__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-small);
  background: var(--border);
}
.cert:nth-child(4) .cert__img { object-position: 70% 50%; }

.about-video { margin: 28px 0 0; max-width: 420px; }
.about-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 540 / 690;
  border-radius: var(--radius-small);
  background: var(--ink);
}
.about-video figcaption { margin-top: 10px; color: var(--ink-soft); }
.about-video figcaption span { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.cert { margin: 0; }
.cert figcaption { display: inline-block; margin-top: 8px; font-size: 0.8rem; }

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 22px;
}

.step {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }

.first-visit {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.first-visit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.first-visit li { color: var(--ink-soft); padding-left: 22px; position: relative; }
.first-visit li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 600; }

/* Prices */
.price-grid { display: grid; gap: 16px; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink-soft);
}

.price-card--featured {
  background: #f7f2eb;
  color: var(--ink);
  border-color: transparent;
}

.price-card__tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-card__name { margin-bottom: 8px; }
.price-card__desc { font-size: 0.95rem; opacity: 0.8; flex-grow: 1; }
.price-card__time { font-size: 0.9rem; opacity: 0.7; margin-bottom: 4px; }

.price-card__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
}

.offer h3 { margin-bottom: 6px; }
.offer p { margin: 0; color: #c9bdb1; }
.offer__price { font-family: var(--font-heading); font-size: 1.5rem; }

/* Single price card */
.price-single {
  display: grid;
  gap: 28px;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: #f7f2eb;
  color: var(--ink);
}

.price-single__main { display: flex; flex-direction: column; align-items: flex-start; }
.price-single__name { font-size: 1.6rem; margin-bottom: 8px; }
.price-single__time { color: var(--muted); margin-bottom: 6px; }
.price-single__value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 22px;
}

.price-single__zones h4 {
  margin: 0 0 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.price-single__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price-single__list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.price-single__list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 600; }
.price-single__list b { color: var(--ink); }
.price-single__note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }

/* Reviews */
.reviews__source { font-weight: 500; text-decoration: none; }
.reviews { display: grid; gap: 16px; }

.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.review__stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; flex-grow: 1; }
.review blockquote p { font-family: var(--font-heading); font-size: 1.08rem; line-height: 1.5; margin: 0; }
.review figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 0.88rem; }
.review figcaption span:not(.todo) { color: var(--muted); }
.review__consent { font-size: 0.75rem; }

/* Case story */
.case {
  margin-top: 28px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--sand);
}

.case__head { margin-bottom: 20px; }
.case__head h3 { font-size: 1.5rem; margin-bottom: 8px; }
.case__grid { display: grid; gap: 20px; }
.case__col h4 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.case__col p { margin: 0; color: var(--ink-soft); }
.case__photos { margin: 26px auto 0; max-width: 760px; }
.case__photos img { display: block; width: 100%; height: auto; border-radius: var(--radius-small); }
.case__captions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.case__captions span:last-child { color: var(--accent); font-weight: 600; }
.case__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d8cbbb;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Videos */
.videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.video-card { margin: 0; scroll-margin-top: calc(var(--header-height) + 16px); }
.video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-small);
  background: var(--ink);
}
.video-card figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery .photo { aspect-ratio: 1; border-radius: var(--radius-small); }
.gallery .gallery__big { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery > .photo:last-child { grid-column: span 2; aspect-ratio: 2 / 1; } /* 4 tiles: the entrance photo fills the last row */

/* Contraindications */
.contra { display: grid; gap: 28px; }
.contra > div p { color: var(--muted); }

.contra__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.contra__list li {
  position: relative;
  padding: 14px 20px 14px 46px;
  border-bottom: 1px solid var(--border);
}

.contra__list li:last-child { border-bottom: none; }

.contra__list li::before {
  content: "!";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

/* Featured review: full row, bigger quote */
.review--featured { background: var(--ink); color: #f3ece4; }
.review--featured blockquote p { font-size: 1.3rem; line-height: 1.45; }
.review--featured figcaption span { color: #c9bdb1 !important; }

/* Video inside FAQ answer */
.faq__video { margin: 0 0 20px; max-width: 260px; }
.faq__video video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-small); background: var(--ink); }
.faq__video figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq {
  border-bottom: 1px solid #d8cbbb;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* Contacts */
.contacts { display: grid; gap: 32px; }

.contacts__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  margin: 24px 0 8px;
}

.contacts__list dt { font-weight: 600; }
.contacts__list dd { margin: 0; color: var(--ink-soft); }

.map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(235, 225, 211, 0.8), rgba(235, 225, 211, 0.8)),
    repeating-linear-gradient(0deg, #d6c8b6 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, #d6c8b6 0 1px, transparent 1px 44px);
}

.map__button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: none;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

.map__pin { font-size: 2.4rem; }
.map__label { font-weight: 600; font-size: 1.05rem; }
.map__note { font-size: 0.82rem; color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__route {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(43, 36, 32, 0.25);
}

/* Final CTA */
.cta-band {
  padding: 64px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(164, 70, 42, 0.32), transparent 50%),
    var(--ink);
  color: #f3ece4;
}

.cta-band h2 { max-width: 640px; }
.cta-band h2 em { color: var(--brass-light); }

/* Footer */
.footer {
  background: #120f0d;
  color: #b9ab9e;
  padding: 32px 0 110px; /* room for the mobile bar */
  font-size: 0.9rem;
}

.footer__inner { display: flex; flex-direction: column; gap: 14px; }
.footer p { margin: 0; }
.footer a { color: #f3ece4; }
.footer__name { font-family: var(--font-heading); font-size: 1.15rem; color: #f3ece4; }

/* Mobile bottom bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 236, 226, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.3s;
}

.mobile-bar.is-visible { transform: translateY(0); }

.mobile-bar__icon {
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  font-size: 1.3rem;
}

.mobile-bar__book { flex: 1; }

/* ==========================================================
   Tablet
   ========================================================== */
@media (min-width: 640px) {
  h1 { font-size: 2.9rem; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review--featured { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery .gallery__big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery img.gallery__big { aspect-ratio: 1; }
  .offer { flex-direction: row; align-items: center; justify-content: space-between; }
  .section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .pain__panel { padding: 32px 36px 36px; }
}

/* ==========================================================
   Desktop
   ========================================================== */
@media (min-width: 960px) {
  body { font-size: 18px; }
  h1 { font-size: 3.6rem; }
  h2 { font-size: 2.6rem; }

  .topbar {
    display: block;
    background: var(--ink);
    color: #d8ccc0;
    font-size: 0.85rem;
  }

  .topbar__inner {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .topbar a { color: #fff; text-decoration: none; font-weight: 500; }
  .topbar .todo { background: rgba(255, 255, 255, 0.12); color: #f0b593; }

  .menu-toggle { display: none; }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }

  .nav a:not(.btn) { padding: 0; border: none; font-size: 0.97rem; }
  .nav a:not(.btn):hover { color: var(--accent); }
  .nav .btn { margin-top: 0; }
  .nav { margin-left: auto; margin-right: 18px; }

  .hero { padding: 64px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
  .hero__badge {
    left: 24px;
    bottom: 24px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
  }

  .section { padding: 104px 0; }
  .section__head { margin-bottom: 44px; }

  .about { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
  .about__media { position: sticky; top: calc(var(--header-height) + 24px); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 52px; }

  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .price-card--featured { transform: translateY(-12px); }

  .price-single { grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 48px 56px; align-items: center; }
  .price-single__zones { padding-left: 56px; border-left: 1px solid var(--border); }

  .videos { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review--featured { grid-column: 1 / -1; padding: 36px 44px; }
  .review--featured blockquote p { font-size: 1.55rem; }
  .case { padding: 40px 44px; }
  .case__grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }

  .contra { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }

  .contacts { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: stretch; }
  .map { min-height: 460px; }

  .cta-band { padding: 96px 0; }
  .cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
  .cta-band h2 { margin: 0; }
  .cta-band .hero__actions { margin: 0; flex-shrink: 0; }

  .footer { padding-bottom: 32px; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }

  .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Intro splash: shown once per visit before the site ===== */
.intro { display: none; }
.intro-on, .intro-on body { overflow: hidden; }

.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(176, 141, 87, 0.16), transparent 70%),
    var(--ink);
  color: var(--bg);
  text-align: center;
  cursor: pointer;
  transition: transform 0.75s 0.15s cubic-bezier(0.7, 0, 0.25, 1);
}

/* Leaving: text fades first, then the dark curtain slides up */
.intro--leave { transform: translateY(-100%); }

.intro__inner { max-width: 560px; transition: opacity 0.25s ease; }
.intro--leave .intro__inner,
.intro--leave .intro__skip { opacity: 0; transition: opacity 0.25s ease; }

.intro__photo {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
}

.intro__photo img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transform: scale(0.85);
  animation: intro-pop 0.9s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Terracotta ring that draws itself around the photo */
.intro__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.intro__ring circle {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 305;
  stroke-dashoffset: 305;
  animation: intro-ring 1.3s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.intro__eyebrow,
.intro__name,
.intro__text,
.intro__facts {
  opacity: 0;
  transform: translateY(14px);
  animation: intro-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.intro__eyebrow {
  margin: 0 0 10px;
  color: var(--brass-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation-delay: 0.7s;
}

.intro__name {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.1;
  animation-delay: 0.9s;
}

.intro__text {
  margin: 0 auto 22px;
  max-width: 30ch;
  color: rgba(247, 242, 235, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  animation-delay: 1.3s;
}

.intro__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  animation-delay: 1.7s;
}

.intro__facts span {
  padding: 7px 14px;
  border: 1px solid rgba(247, 242, 235, 0.22);
  border-radius: 999px;
  font-size: 0.9rem;
}

.intro__skip {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 242, 235, 0.1);
  color: rgba(247, 242, 235, 0.8);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.intro__skip:hover { background: rgba(247, 242, 235, 0.18); color: var(--bg); }

/* Thin bar at the bottom shows how long until the site opens */
.intro__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--brass);
  transform-origin: left;
  transform: scaleX(0);
  animation: intro-progress 4.6s linear forwards;
}

@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-pop { to { opacity: 1; transform: scale(1); } }
@keyframes intro-up { to { opacity: 1; transform: none; } }
@keyframes intro-progress { to { transform: scaleX(1); } }

@media (min-width: 768px) {
  .intro__photo { width: 210px; height: 210px; margin-bottom: 34px; }
  .intro__name { font-size: 3.4rem; }
  .intro__text { font-size: 1.2rem; }
  .intro__skip { top: 24px; right: 28px; }
}

/* ===== Body map: interactive figure inside "Where it hurts" ===== */
.pain__tabs { position: relative; }

.bodymap {
  position: relative;
  height: 460px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(176, 141, 87, 0.14), transparent 70%),
    var(--ink);
  color: #f3ece2;
  user-select: none;
  -webkit-user-select: none;
}

.bodymap__svg { display: block; width: 100%; height: 100%; touch-action: pan-y; }

/* 3D model (js/bodymap3d.js). While it is used, the drawn figure is hidden; the credit shows only for 3D */
.bodymap.is-3d .bodymap__svg { display: none; }
.bodymap__3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.bodymap__3d:active { cursor: grabbing; }
.bodymap__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: rgba(243, 236, 226, 0.6);
  font-size: 0.9rem;
  pointer-events: none;
}
.bodymap__credit {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 2;
  margin: 0;
  font-size: 0.62rem;
  color: rgba(243, 236, 226, 0.38);
  pointer-events: none;
}
.bodymap:not(.is-3d) .bodymap__credit { display: none; }
.bodymap.is-zoomed .bodymap__svg { touch-action: none; cursor: grab; }
.bodymap.is-dragging .bodymap__svg { cursor: grabbing; }

/* Figure */
.bm-mus { fill: url(#bm-mg); }
.bm-skin { fill: url(#bm-sg); }
.bm-base { fill: #6a3f30; }
.bm-hl { fill: url(#bm-hlg); }
.bm-edge { fill: none; stroke: #3b2219; stroke-width: 1.6; stroke-linejoin: round; }
.bm-spine { fill: none; stroke: #2a1d17; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }

/* Trigger point zones */
.bm-ref, .bm-glow, .bm-calm, .bm-press, .bm-core { pointer-events: none; transform-box: fill-box; transform-origin: center; }
.bm-ref { fill: url(#bm-ref); opacity: 0; transition: opacity 0.5s; }
.bm-glow { fill: url(#bm-hot); opacity: 0; transform: scale(0.3); transition: opacity 0.4s, transform 0.4s; }
.bm-calm { fill: url(#bm-calm); opacity: 0; transition: opacity 0.6s; }
.bm-press { fill: rgba(207, 174, 120, 0.14); stroke: #cfae78; stroke-width: 3; opacity: 0; }
.bm-core { fill: #ff5a4a; opacity: 0.5; animation: bm-idle 2.4s ease-in-out infinite; }
.bm-hit { fill: transparent; cursor: pointer; outline: none; }
.bm-hit:focus-visible { stroke: #cfae78; stroke-width: 2; stroke-dasharray: 4 4; }
.bm-zone:hover .bm-core { opacity: 1; }

.bm-zone.is-active .bm-glow { opacity: 1; transform: scale(1); animation: bm-pulse 1.6s ease-in-out infinite; }
.bm-zone.is-active .bm-ref { opacity: 1; }
.bm-zone.is-active .bm-core { opacity: 1; animation: none; }
.bm-zone.is-calm .bm-glow,
.bm-zone.is-calm .bm-ref,
.bm-zone.is-calm .bm-core { opacity: 0; animation: none; }
.bm-zone.is-calm .bm-calm { opacity: 1; }
.bm-zone.is-pressing .bm-press { animation: bm-press 2.4s ease-in-out forwards; }

@keyframes bm-idle { 0%, 100% { opacity: 0.6; transform: scale(1.1); } 50% { opacity: 1; transform: scale(1.6); } }
@keyframes bm-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes bm-press {
  0% { opacity: 0; transform: scale(2); }
  15% { opacity: 1; transform: scale(1); }
  30% { transform: scale(0.78); }
  45% { transform: scale(1); }
  60% { transform: scale(0.78); }
  75% { transform: scale(1); }
  85% { opacity: 1; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(2.2); }
}

/* Overlay controls */
.bodymap__hint {
  position: absolute;
  left: 14px;
  bottom: 66px;
  z-index: 2;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(28, 23, 20, 0.82);
  color: var(--brass-light);
  font-size: 0.85rem;
  pointer-events: none;
  transition: opacity 0.4s;
}
.bodymap.is-touched .bodymap__hint { opacity: 0; }

.bodymap__tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bodymap__btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(243, 236, 226, 0.2);
  border-radius: 50%;
  background: rgba(28, 23, 20, 0.65);
  color: #f3ece2;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.bodymap__btn:hover { border-color: var(--brass); color: var(--brass-light); }

.bodymap__cap {
  position: absolute;
  left: 14px;
  bottom: 66px;
  z-index: 2;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 7px 14px;
  border-radius: 16px;
  background: rgba(28, 23, 20, 0.82);
  font-size: 0.92rem;
  pointer-events: none;
}
.bodymap__cap:empty { display: none; }
.bodymap__cap b { color: #f3ece2; }
.bodymap__cap span { color: rgba(243, 236, 226, 0.7); }
.bodymap__cap .is-done { color: var(--brass-light); }

.bodymap__play {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 11px 16px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: rgba(28, 23, 20, 0.88);
  color: var(--brass-light);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}
.bodymap__play:hover { background: #2a221d; }

@media (min-width: 960px) {
  .pain { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .pain__tabs { grid-column: 1 / -1; }
  .bodymap { grid-column: 1; grid-row: 2; height: 600px; }
  .pain__panel { grid-column: 2; grid-row: 2; align-self: center; }
  .bodymap__play { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; padding: 11px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-core, .bm-zone.is-active .bm-glow { animation: none; }
  .bm-zone.is-pressing .bm-press { animation: none; }
}

/* ===== Booking sheet: 3D entrance (js), December calendar that flips to time slots ===== */
.booking-open, .booking-open body { overflow: hidden; }

.booking {
  width: 100%;
  max-width: 560px;
  max-height: 94vh;
  max-height: 94dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 -10px 40px rgba(28, 23, 20, 0.25);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.booking::backdrop { background: rgba(28, 23, 20, 0.55); backdrop-filter: blur(2px); }
/* Fallback for browsers without <dialog>: fixed panel with a dark veil around it */
.booking--fallback { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; box-shadow: 0 0 0 100vmax rgba(28, 23, 20, 0.55); }

.booking__inner { position: relative; padding: 24px 18px 20px; }

.booking__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.booking__title { margin: 0 44px 6px 0; font-size: 1.55rem; }
.booking__sub { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

.booking__group { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.booking__group legend { margin-bottom: 8px; padding: 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Flip card */
.bk-flip { position: relative; height: 372px; margin: 0 0 16px; perspective: 1400px; }
.bk-flip__inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.3, 1.2, 0.4, 1);
}
.bk-flip[data-side="time"] .bk-flip__inner { transform: rotateY(180deg); }
.bk-flip[data-side="time"] .bk-face--front,
.bk-flip[data-side="date"] .bk-face--back { pointer-events: none; }

.bk-face {
  position: absolute;
  inset: 0;
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--bg);
  color: var(--ink);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px var(--border), 0 10px 26px rgba(28, 23, 20, 0.08);
}
.bk-face--back { transform: rotateY(180deg); display: flex; flex-direction: column; }

.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; margin-bottom: 8px; }
.bk-month { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.bk-head--month { justify-content: space-between; }
.bk-head--month .bk-month { flex: 1; text-align: center; }
.bk-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.bk-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.bk-nav:disabled { opacity: 0.25; cursor: default; }
.bk-picked { font-size: 0.9rem; font-weight: 600; color: #8a6a3a; text-align: right; }

.bk-back {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.bk-back:hover { border-color: var(--brass); }

.bk-week, .bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-week { margin-bottom: 4px; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.bk-day {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.bk-day:hover { background: var(--accent-soft); transform: translateY(-2px); }
.bk-day[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.bk-day:disabled { opacity: 0.3; cursor: default; transform: none; background: transparent; box-shadow: none; }
.bk-day { position: relative; }
/* Small green dot under days that have free time */
.bk-day:not(:disabled)::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #4f9a48; }
.bk-day[aria-pressed="true"]::after { background: #8fd18a; }

.bk-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.bk-slot {
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.bk-slot:hover { border-color: var(--brass); transform: translateY(-2px); }
/* Free time: light green. Busy time: red, crossed out. Chosen time: brass, so it never looks "busy" */
.bk-slot--free { background: #e5f2e1; border-color: #a9d3a1; color: #2f6a29; }
.bk-slot--free:hover { border-color: #4f9a48; background: #d8ecd3; }
.bk-slot--busy { background: #f8e3e0; border-color: #e8b2ab; color: #a8392c; text-decoration: line-through; cursor: default; }
.bk-slot--busy:hover { transform: none; border-color: #e8b2ab; }
.bk-slot[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.bk-flip[data-side="time"] .bk-slot { animation: bk-slot-in 0.8s calc(0.65s + var(--i) * 0.08s) cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards; }
@keyframes bk-slot-in { from { opacity: 0; transform: perspective(500px) translateZ(-120px) rotateX(40deg); } }
.bk-slots__note { margin: auto 0 0; padding-top: 10px; font-size: 0.78rem; color: var(--muted); }

.booking__preview {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--sand);
}
.booking__preview-label { display: block; margin-bottom: 4px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.booking__message { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

.booking__actions { display: flex; flex-direction: column; gap: 10px; }
.booking__actions .btn { width: 100%; }

.booking__toast { margin: 10px 0 0; font-size: 0.88rem; color: var(--sage); }
.booking__toast:empty { display: none; }
.booking__note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }

@media (min-width: 640px) {
  .booking { max-width: 660px; margin: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(28, 23, 20, 0.35); }
  .bk-slot { height: 48px; }
  .booking__inner { padding: 32px 32px 26px; }
  .bk-flip { height: 380px; }
  .bk-slots { grid-template-columns: repeat(7, 1fr); }
  .bk-day { height: 42px; }
  .booking__actions { flex-direction: row; }
  .booking__actions .btn { width: auto; flex: 1; padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-flip__inner { transition: none; }
  .bk-flip[data-side="time"] .bk-slot { animation: none; }
}

/* ===== Admin mode (#admin): Sergey marks busy hours, client parts are hidden ===== */
.bk-admin { margin: 0 0 16px; padding: 14px; border: 1.5px dashed var(--brass); border-radius: var(--radius-small); background: var(--bg); position: relative; }
.bk-admin__title { margin: 0 0 10px; font-weight: 600; }
.bk-admin__login { display: flex; gap: 8px; }
.bk-admin__login input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); font: inherit; color: var(--ink); }
.bk-admin__login .btn { min-height: 44px; }
.bk-admin__status { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); }
.bk-admin__status:empty { display: none; }
.bk-admin__logout { display: none; position: absolute; top: 10px; right: 10px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font: inherit; font-size: 0.82rem; color: var(--ink); cursor: pointer; }
.bk-admin.is-in .bk-admin__login { display: none; }
.bk-admin.is-in .bk-admin__logout { display: block; }
.booking--admin .booking__group,
.booking--admin .booking__preview,
.booking--admin .booking__actions,
.booking--admin .booking__toast,
.booking--admin .booking__note,
.booking--admin .bk-slots__note { display: none; }
.booking--admin .bk-slot--busy:not(:disabled) { cursor: pointer; }
.booking--admin .bk-slot--busy:not(:disabled):hover { border-color: #a8392c; }
.bk-slot--off { background: transparent; border-style: dashed; color: var(--muted); text-decoration: none; opacity: 0.5; }
.bk-day--full::after { background: #c0392b !important; }

/* ===== Logo (KS monogram in the header, figure logo in the footer and as a watermark) ===== */
.footer__logo { display: block; width: 200px; height: auto; margin-bottom: 8px; }
.cta-band--logo { position: relative; overflow: hidden; }
.cta-band--logo > * { position: relative; z-index: 1; }
.cta-band--logo::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 340px;
  height: 300px;
  background: url("../img/logo-figure.svg") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
}
@media (min-width: 960px) {
  .cta-band--logo::after { right: 6%; width: 420px; height: 370px; opacity: 0.14; }
}
