/* =========================================================
   ДВА ТОПОРА — industrial editorial skin
   ========================================================= */

:root {
  --ink: #101514;
  --ink-2: #1b2221;
  --ink-3: #252e2c;
  --paper: #f4f3ee;
  --paper-2: #e9e8e2;
  --mint: #00cf91;
  --mint-dark: #08775a;
  --muted: #5f6a65;
  --muted-light: #98a5a0;
  --line: rgba(16, 21, 20, 0.14);
  --line-light: rgba(244, 243, 238, 0.16);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --header-h: 72px;
  --section: clamp(78px, 9vw, 132px);
  --radius: 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

img,
video { display: block; max-width: 100%; }

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

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

button { cursor: pointer; }

h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }

ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

::selection { background: var(--mint); color: var(--ink); }

.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--mint);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn i { font-style: normal; font-size: 16px; }

.btn--accent { background: var(--mint); color: var(--ink); }
.btn--accent:hover { background: #27e0a5; }
.btn--accent:disabled { background: #9aa9a3; color: #e7ece9; cursor: not-allowed; transform: none; }

.btn--ghost { border-color: var(--line-light); color: inherit; background: transparent; }
.btn--ghost:hover { border-color: currentColor; }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }

.btn--small { min-height: 40px; padding: 0 18px; font-size: 10px; }
.btn--large { min-height: 58px; padding: 0 30px; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow i { font-style: normal; font-size: 17px; color: var(--mint-dark); }
.link-arrow:hover { color: var(--mint-dark); gap: 18px; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(16, 21, 20, 0.82);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.header.is-scrolled { background: rgba(12, 17, 16, 0.96); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--paper);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand__type { display: flex; flex-direction: column; line-height: 1.05; }
.brand__type strong { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.03em; }
.brand__type small { margin-top: 3px; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-left: auto; }
.nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4cdc9;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -7px;
  width: 100%; height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { font-size: 11px; letter-spacing: 0.05em; color: #c4cdc9; white-space: nowrap; }
.header__phone:hover { color: var(--mint); }

.burger {
  display: none;
  width: 42px; height: 42px;
  padding: 10px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: transparent;
}
.burger span { display: block; height: 1.5px; background: var(--paper); margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--ink);
  overflow-y: auto;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.mobile-menu__nav a span { font: 600 10px/1 var(--font-body); letter-spacing: 0.1em; color: var(--mint); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.mobile-menu__foot a { font-size: 14px; color: #c4cdc9; }
.mobile-menu__foot .btn { margin-top: 12px; }

body.is-locked { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 72px) 0 118px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__poster,
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__video-source {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 13, 12, 0.94) 0%, rgba(9, 13, 12, 0.74) 42%, rgba(9, 13, 12, 0.28) 100%),
    linear-gradient(0deg, rgba(9, 13, 12, 0.86) 0%, transparent 38%, rgba(9, 13, 12, 0.46) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(244, 243, 238, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 243, 238, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 40px; align-items: center; }
.hero__content { max-width: 820px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow > span { width: 22px; height: 2px; background: var(--mint); }
.eyebrow--light { color: #b9c5c0; }
.section--dark .eyebrow, .section--booking .eyebrow, .franchise .eyebrow { color: #b9c5c0; }

.hero__title {
  margin: 22px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 13.8vw, 12.4rem);
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title span:last-child { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 243, 238, 0.82); }
.hero__lead { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: 0.01em; }
.hero__text { max-width: 470px; margin-top: 18px; color: #b9c5c0; font-size: 15px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-size: 11px; letter-spacing: 0.05em; color: #aebbb5; }
.hero__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0, 207, 145, 0.14); }
.hero__status-sep { width: 3px; height: 3px; border-radius: 50%; background: #66736e; }

.hero__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.hero__stamp {
  width: 170px; height: 170px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1px solid rgba(244, 243, 238, 0.32);
  border-radius: 50%;
  text-align: center;
  transform: rotate(8deg);
}
.hero__stamp strong { font-family: var(--font-display); font-size: 58px; line-height: 0.9; color: var(--mint); }
.hero__stamp span { margin-top: 8px; font-size: 10px; line-height: 1.35; letter-spacing: 0.16em; text-transform: uppercase; }
.hero__vertical { writing-mode: vertical-rl; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: #98a5a0; }

.hero__bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-light);
  background: rgba(9, 13, 12, 0.48);
  backdrop-filter: blur(6px);
}
.hero__bottom-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #a5b1ac; }
.hero__bottom a { color: var(--paper); }
.hero__bottom i { color: var(--mint); font-style: normal; margin-left: 6px; }

/* ---------- ticker ---------- */

.ticker { overflow: hidden; background: var(--mint); color: var(--ink); padding: 11px 0; }
.ticker__track { display: flex; width: max-content; gap: 34px; animation: ticker 34s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.13em; white-space: nowrap; }
.ticker__track i { font-style: normal; font-size: 12px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink-2); color: var(--paper); }
.section--booking { background: #0d1211; color: var(--paper); }

.section-head { max-width: 780px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.section-head--inverse .eyebrow, .section-head--inverse .section-title { color: var(--paper); }
.section-head__note { max-width: 320px; padding-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-head--inverse .section-head__note { color: #9eaaa5; }

.section-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.section-title em { color: var(--mint-dark); font-style: normal; }
.section--dark .section-title em { color: var(--mint); }
.section-title--light em { color: var(--mint); }

/* ---------- manifesto ---------- */

.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr); gap: 56px clamp(40px, 7vw, 110px); }
.manifesto .section-head { grid-column: 1 / -1; }
.manifesto__lead { align-self: end; padding-bottom: 4px; }
.manifesto__lead p { margin-bottom: 22px; color: #45504c; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }

.included { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 26px; background: var(--line); border: 1px solid var(--line); }
.included__item { position: relative; min-height: 230px; padding: 28px 24px; background: var(--paper); display: flex; flex-direction: column; }
.included__item--accent { background: var(--ink); color: var(--paper); }
.included__num { font-family: var(--font-display); font-size: 13px; color: var(--mint-dark); }
.included__item--accent .included__num { color: var(--mint); }
.included__item h3 { margin-top: auto; font-family: var(--font-display); font-size: 25px; line-height: 1.05; text-transform: uppercase; }
.included__item p { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.included__item--accent p { color: #a8b4af; }

/* ---------- why ---------- */

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 78px); }
.why-card { min-height: 260px; padding: 26px; border: 1px solid var(--line-light); background: rgba(244, 243, 238, 0.025); display: flex; flex-direction: column; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.why-card:hover { background: rgba(0, 207, 145, 0.07); border-color: rgba(0, 207, 145, 0.45); transform: translateY(-4px); }
.why-card__index { font: 700 12px/1 var(--font-display); color: var(--mint); }
.why-card h3 { margin-top: auto; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.05; text-transform: uppercase; }
.why-card p { margin-top: 14px; font-size: 13px; line-height: 1.65; color: #9eaaa5; }

/* ---------- services ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 44px 0 26px; }
.tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.2s ease;
}
.tabs button:hover { border-color: var(--ink); color: var(--ink); }
.tabs button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price-item { width: 100%; border: 0; border-radius: 0; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 104px; padding: 22px; background: var(--paper); transition: background 0.2s ease; }
.price-item:hover { background: #fff; }
.price-item__name { font-family: var(--font-display); font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.price-item__meta { margin-top: 6px; font-size: 11px; color: var(--muted); }
.price-item__price { flex: 0 0 auto; font-family: var(--font-display); font-size: 22px; color: var(--mint-dark); white-space: nowrap; }
.services__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 13px; }

/* ---------- booking + wizard ---------- */

.booking { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 100px); align-items: start; }
.booking__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__lead { max-width: 380px; margin-top: 28px; color: #a5b1ac; font-size: 15px; line-height: 1.7; }
.booking__steps-list { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.booking__steps-list li { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); font-size: 13px; color: #d6dedb; }
.booking__steps-list span { font: 700 12px/1 var(--font-display); color: var(--mint); }
.booking__disclaimer { max-width: 380px; margin-top: 30px; padding-left: 14px; border-left: 2px solid var(--mint); color: #89958f; font-size: 11px; line-height: 1.65; }

.wizard { background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32); }
.wizard__steps { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); }
.wizard__steps li { border-right: 1px solid rgba(244, 243, 238, 0.1); }
.wizard__steps li:last-child { border-right: 0; }
.wizard__steps button { width: 100%; min-height: 74px; padding: 12px 6px; border: 0; background: transparent; color: #72807a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: color 0.2s ease, background 0.2s ease; }
.wizard__steps button span { font: 700 11px/1 var(--font-display); }
.wizard__steps button b { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.wizard__steps button:not(:disabled):hover { color: #fff; }
.wizard__steps li.is-active button { color: var(--ink); background: var(--mint); }
.wizard__steps li.is-done button { color: var(--mint); }
.wizard__steps button:disabled { cursor: not-allowed; opacity: 0.5; }

.wizard__layout { display: grid; grid-template-columns: minmax(0, 1fr) 244px; }
.wizard__main { min-width: 0; padding: clamp(24px, 3.4vw, 40px); }
.wizard__panel { min-height: 430px; }
.wizard__kicker { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint-dark); }
.wizard-step__title { margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.wizard__hint { margin-top: 12px; margin-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.branch-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-pick, .service-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.master-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pick, .svc {
  width: 100%;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.pick:hover, .svc:hover { border-color: var(--mint-dark); transform: translateY(-2px); }
.pick.is-selected, .svc.is-selected { border-color: var(--mint-dark); background: #ecfaf5; box-shadow: inset 0 0 0 1px var(--mint-dark); }
.pick__thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--mint); font-family: var(--font-display); font-size: 17px; }
.pick__thumb--mono { border: 1px solid var(--line); }
.pick--any .pick__thumb { background: var(--mint); color: var(--ink); }
.pick__text { min-width: 0; display: flex; flex-direction: column; }
.pick__name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.pick__meta { margin-top: 3px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.pick__price { margin-top: 4px; font-size: 11px; color: var(--mint-dark); font-weight: 600; }

.svc { align-items: stretch; justify-content: space-between; flex-direction: column; }
.svc__name { font-family: var(--font-display); font-size: 16px; line-height: 1.1; text-transform: uppercase; }
.svc__desc { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); line-height: 1.35; }
.svc__right { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 12px; }
.svc__dur { font-size: 10px; color: var(--muted); }
.svc__price { font-family: var(--font-display); font-size: 18px; color: var(--mint-dark); white-space: nowrap; }

.branch-pick .svc { min-height: 86px; }
.branch-pick .svc__meta { font-size: 10px; color: var(--muted); }

.date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.date { min-height: 86px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: all 0.2s ease; }
.date:hover:not(:disabled) { border-color: var(--mint-dark); }
.date.is-selected { border-color: var(--mint-dark); background: var(--ink); color: var(--paper); }
.date:disabled { opacity: 0.35; cursor: not-allowed; }
.date__dow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.date.is-selected .date__dow { color: #a8b4af; }
.date__day { font-family: var(--font-display); font-size: 27px; line-height: 1; }
.date__mon { font-size: 9px; color: var(--muted); text-transform: uppercase; }
.date.is-selected .date__mon { color: #a8b4af; }

.time-head { margin: 22px 0 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; }
.slot { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 13px; transition: all 0.2s ease; }
.slot:hover:not(:disabled) { border-color: var(--mint-dark); }
.slot.is-selected { border-color: var(--mint-dark); background: var(--mint); color: var(--ink); font-weight: 600; }
.slot:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.time-empty { grid-column: 1 / -1; padding: 18px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }

.book-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field__label small { font-size: 9px; text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(0, 207, 145, 0.14); }
.field.is-invalid input { border-color: #c53c3c; }
.field__error { min-height: 14px; font-size: 10px; color: #b73030; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--mint-dark); flex: 0 0 auto; }
.consent a { color: var(--ink); border-bottom: 1px solid var(--line); }
.consent__error, .form-error { grid-column: 1 / -1; font-size: 11px; color: #b73030; }
.book-form .btn { grid-column: 1 / -1; }

.success { padding: 20px 0; }
.success__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); font-size: 24px; }
.success h4 { margin-top: 18px; font-family: var(--font-display); font-size: 30px; text-transform: uppercase; }
.success__lead { margin-top: 10px; color: var(--muted); font-size: 13px; }
.success__details { margin: 24px 0; border-top: 1px solid var(--line); }
.success__details div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.success__details dt { color: var(--muted); }
.success__details dd { font-weight: 600; overflow-wrap: anywhere; }

.summary { padding: 28px 22px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; }
.summary__title { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.summary dl { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.summary dl div { display: flex; flex-direction: column; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid rgba(244, 243, 238, 0.1); }
.summary dt { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #84908b; }
.summary dd { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 24px; }
.summary__total span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #84908b; }
.summary__total strong { font-family: var(--font-display); font-size: 26px; color: var(--mint); white-space: nowrap; }
.summary__note { margin-top: 12px; font-size: 10px; line-height: 1.5; color: #84908b; }

.wizard__nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px clamp(24px, 3.4vw, 40px); border-top: 1px solid var(--line); background: var(--paper-2); }
.wizard__nav .btn { color: var(--ink); }
.wizard__nav .btn--ghost { border-color: var(--line); }
.wizard__nav .btn--ghost:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

/* ---------- branches ---------- */

.city-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 42px 0 26px; }
.city-tabs button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line-light); border-radius: 999px; background: transparent; color: #9eaaa5; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.2s ease; }
.city-tabs button:hover { color: #fff; border-color: #fff; }
.city-tabs button.is-active { background: var(--mint); border-color: var(--mint); color: var(--ink); }

.branch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.branch { min-height: 218px; padding: 22px; border: 1px solid var(--line-light); background: rgba(244, 243, 238, 0.025); display: flex; flex-direction: column; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.branch:hover { background: rgba(0, 207, 145, 0.07); border-color: rgba(0, 207, 145, 0.42); transform: translateY(-3px); }
.branch__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.branch__city { font: 700 10px/1 var(--font-display); letter-spacing: 0.16em; color: var(--mint); }
.branch__num { font: 700 10px/1 var(--font-display); color: #6f7b76; }
.branch__badge { padding: 4px 8px; border: 1px solid rgba(0, 207, 145, 0.45); border-radius: 999px; font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.branch h3 { margin-top: 28px; font-family: var(--font-display); font-size: 21px; line-height: 1.08; text-transform: uppercase; }
.branch__phone { margin-top: 8px; font-size: 12px; color: #a5b1ac; }
.branch__phone:hover { color: var(--mint); }
.branch__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; }
.branch__actions button { padding: 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--paper); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.branch__actions button:hover { color: var(--mint); border-color: var(--mint); }
.branch__actions span { color: var(--mint); font-size: 16px; }
.branch.is-hidden { display: none; }

/* ---------- stats ---------- */

.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr) minmax(280px, 1.3fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { min-height: 210px; padding: 30px; background: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; }
.stat strong { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.85; letter-spacing: -0.04em; }
.stat span { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat--quote { background: var(--ink); color: var(--paper); justify-content: center; }
.stat--quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.06; text-transform: uppercase; }
.stat--quote span { color: #9eaaa5; text-transform: none; letter-spacing: 0; line-height: 1.6; }
.stats__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.stats__links a { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.stats__links a:hover { border-color: var(--mint-dark); color: var(--mint-dark); }
.stats__links i { font-style: normal; }

/* ---------- franchise ---------- */

.franchise { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.franchise::after { content: '2T'; position: absolute; right: -2vw; bottom: -10vw; font: 700 38vw/1 var(--font-display); color: rgba(244, 243, 238, 0.025); pointer-events: none; }
.franchise__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr); gap: clamp(48px, 8vw, 110px); align-items: end; }
.franchise__side p { color: #a8b4af; font-size: 15px; line-height: 1.7; }
.franchise__side .btn { margin-top: 26px; }
.franchise__contacts { display: flex; flex-direction: column; gap: 7px; margin-top: 28px; font-size: 12px; color: #c4cdc9; }
.franchise__contacts a:hover { color: var(--mint); }

/* ---------- contacts + footer ---------- */

.contacts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.contact-card { min-height: 230px; padding: 26px; background: var(--paper); display: flex; flex-direction: column; }
.contact-card__num { font: 700 11px/1 var(--font-display); color: var(--mint-dark); }
.contact-card h3 { margin: 24px 0 18px; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; }
.contact-card a { display: block; margin-bottom: 8px; font-size: 12px; color: #45504c; line-height: 1.45; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--mint-dark); }
.contact-card i { font-style: normal; color: var(--mint-dark); }

.footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-light); padding: 38px 0 calc(38px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 46px; height: 46px; border-radius: 10px; }
.footer__brand span { display: flex; flex-direction: column; line-height: 1.1; }
.footer__brand strong { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.03em; }
.footer__brand small { margin-top: 3px; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }
.footer__legal { max-width: 560px; text-align: center; color: #7f8b86; font-size: 10px; line-height: 1.6; }

/* ---------- mobile CTA ---------- */

.mobile-cta {
  position: fixed;
  z-index: 95;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(244, 243, 238, 0.16);
  border-radius: 16px;
  background: rgba(16, 21, 20, 0.96);
  color: var(--paper);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-cta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
.mobile-cta span { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #b9c5c0; }
.mobile-cta button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--mint); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mobile-cta i { font-style: normal; margin-left: 4px; }

/* ---------- reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
  .nav { gap: 16px; }
  .header__phone { display: none; }
  .branch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat--quote { grid-column: span 2; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .container { width: min(100% - 32px, 1240px); }
  .nav, .header__phone, .header__actions > .btn { display: none; }
  .burger { display: block; }
  .hero { min-height: 720px; padding-top: calc(var(--header-h) + 56px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { display: none; }
  .hero__bottom-inner span:nth-child(2) { display: none; }
  .booking { grid-template-columns: 1fr; }
  .booking__intro { position: static; }
  .booking__steps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard__layout { grid-template-columns: 1fr; }
  .summary { border-top: 1px solid var(--line-light); }
  .summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary__total { margin-top: 10px; }
  .franchise__inner { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head__note { max-width: 560px; }
}

@media (max-width: 700px) {
  :root { --section: 72px; --radius: 18px; }
  body { font-size: 14px; }
  .brand img { width: 38px; height: 38px; }
  .brand__type strong { font-size: 16px; }
  .brand__type small { font-size: 7px; }

  .hero { min-height: 690px; padding: calc(var(--header-h) + 54px) 0 100px; align-items: flex-start; }
  .hero__shade { background: linear-gradient(180deg, rgba(9, 13, 12, 0.82) 0%, rgba(9, 13, 12, 0.63) 52%, rgba(9, 13, 12, 0.94) 100%); }
  .hero__grid { background-size: 58px 58px; mask-image: none; opacity: 0.45; }
  .hero__title { margin-top: 24px; font-size: clamp(4rem, 19vw, 6.5rem); }
  .hero__title span:last-child { -webkit-text-stroke-width: 1px; }
  .hero__lead { font-size: 1.35rem; }
  .hero__text { font-size: 13px; max-width: 340px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__status { font-size: 10px; line-height: 1.6; }
  .hero__bottom-inner { font-size: 9px; letter-spacing: 0.06em; }
  .hero__bottom-inner span:first-child { max-width: 170px; }

  .section-title { font-size: clamp(2.25rem, 10vw, 3.6rem); }
  .eyebrow { font-size: 9px; letter-spacing: 0.16em; }
  .manifesto { gap: 28px; }
  .manifesto__lead p { font-size: 14px; }
  .included { grid-template-columns: 1fr; margin-top: 12px; }
  .included__item { min-height: 170px; padding: 22px; }
  .included__item h3 { margin-top: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .why-card { min-height: 190px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-item { min-height: 86px; padding: 18px; }

  .booking__steps-list { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .booking__steps-list li { padding-bottom: 8px; }
  .booking__disclaimer { margin-top: 22px; }
  .wizard__steps button { min-height: 58px; padding: 8px 2px; }
  .wizard__steps button b { font-size: 8px; letter-spacing: 0; }
  .wizard__main { padding: 22px 16px; }
  .wizard__panel { min-height: 400px; }
  .wizard-step__title { font-size: 30px; }
  .branch-pick, .service-pick, .master-pick { grid-template-columns: 1fr; }
  .branch-pick .svc { min-height: 74px; }
  .date-strip { grid-auto-columns: 68px; }
  .time-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .slot { min-height: 44px; font-size: 12px; }
  .book-form { grid-template-columns: 1fr; gap: 12px; }
  .book-form .btn { min-height: 54px; }
  .summary { padding: 22px 16px; }
  .summary dl { grid-template-columns: 1fr; gap: 9px; }
  .wizard__nav { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .wizard__nav .btn { flex: 1; min-height: 48px; padding: 0 10px; }
  .success__details div { grid-template-columns: 100px 1fr; }

  .branch-grid { grid-template-columns: 1fr; }
  .branch { min-height: 190px; padding: 20px; }
  .branch h3 { margin-top: 22px; }
  .city-tabs { gap: 6px; }
  .city-tabs button { min-height: 40px; padding: 0 14px; font-size: 10px; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat { min-height: 150px; padding: 24px; }
  .stat--quote { grid-column: auto; min-height: 210px; }
  .stats__links a { font-size: 9px; }

  .contacts__grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 190px; padding: 22px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__legal { text-align: left; }
  .footer__inner .btn { width: 100%; }

  .mobile-cta { display: flex; }
  .mobile-cta span { font-size: 9px; letter-spacing: 0.08em; }
  .mobile-cta button { padding: 0 14px; font-size: 10px; }

  /* extra bottom space so fixed CTA never covers content */
  footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .container { width: min(100% - 24px, 1240px); }
  .hero__title { font-size: 18.5vw; }
  .hero__bottom-inner span:first-child { display: none; }
  .wizard__steps button b { font-size: 7px; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-cta span { display: none; }
  .mobile-cta { left: 8px; right: 8px; }
  .mobile-cta button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
