/* Муза — оформление демонстрационных лендингов.
   Один каркас, три характера: салон (редакционная роскошь), автосервис (цех),
   кофейня (тёплое ремесло). Тема задаётся классом на <body>. */

:root {
  --wrap: 1160px;
  --radius: 4px;
  --display: Georgia, "Times New Roman", serif;
  --body: "Golos Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ink: #1d1a17;
  --ink-2: #5d564d;
  --bg: #f6f2ea;
  --bg-2: #efe8dc;
  --surface: #fffdf9;
  --accent: #b04a22;
  --accent-ink: #ffffff;
  --line: rgba(29, 26, 23, 0.14);
  --line-2: rgba(29, 26, 23, 0.3);
  --shadow: 0 18px 40px -28px rgba(29, 26, 23, 0.55);
  --head-weight: 700;
  --head-spacing: 0;
  --head-transform: none;
  --flag-bg: #171512;
  --flag-ink: #f5e9dc;
  /* Высоты фиксированных панелей: уточняются скриптом под реальный рендер. */
  --header-h: 68px;
  --cat-h: 54px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

img, svg { max-width: 100%; }

.wrap { width: min(var(--wrap), calc(100% - 44px)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; z-index: 50;
}
.skip:focus { left: 12px; top: 64px; }

/* ——— Тема: салон красоты ——— */
body.t-salon {
  --bg: #fbf6f1;
  --bg-2: #f2e7de;
  --surface: #fffdfb;
  --ink: #241d27;
  --ink-2: #6d5f69;
  --accent: #9c4f65;
  --accent-ink: #fffaf8;
  --line: rgba(36, 29, 39, 0.13);
  --line-2: rgba(36, 29, 39, 0.3);
  --display: "Cormorant Garamond", "PT Serif", Georgia, serif;
  --head-weight: 500;
  --head-spacing: 0.01em;
  --flag-bg: #332430;
  --flag-ink: #f7e9e4;
}
body.t-salon::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(52% 40% at 88% 4%, rgba(156, 79, 101, 0.12), transparent 70%),
    radial-gradient(46% 38% at 4% 26%, rgba(181, 138, 74, 0.13), transparent 72%);
}
body.t-salon h1, body.t-salon h2, body.t-salon h3 { font-weight: 500; }
body.t-salon .sec__num { font-family: var(--display); letter-spacing: 0.28em; }
body.t-salon .mark { background-image: linear-gradient(transparent 62%, rgba(156, 79, 101, 0.18) 0); }

/* ——— Тема: автосервис ——— */
body.t-auto {
  --bg: #101216;
  --bg-2: #171a20;
  --surface: #1b1f26;
  --ink: #eef1f5;
  --ink-2: #9aa5b2;
  --accent: #f2a71b;
  --accent-ink: #171512;
  --line: rgba(238, 241, 245, 0.14);
  --line-2: rgba(238, 241, 245, 0.34);
  --shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.9);
  --display: "Oswald", "Golos Text", sans-serif;
  --head-weight: 600;
  --head-spacing: 0.03em;
  --head-transform: uppercase;
  --flag-bg: #f2a71b;
  --flag-ink: #171512;
}
body.t-auto::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(60% 45% at 80% 0%, rgba(242, 167, 27, 0.16), transparent 72%);
  background-size: 46px 46px, 46px 46px, auto;
}
body.t-auto h1, body.t-auto h2, body.t-auto h3 {
  text-transform: uppercase; letter-spacing: 0.04em;
}
body.t-auto .sec__num { font-family: var(--display); letter-spacing: 0.3em; }
body.t-auto .mark { background-image: linear-gradient(transparent 60%, rgba(242, 167, 27, 0.3) 0); }
body.t-auto .hazard {
  height: 10px;
  background-image: repeating-linear-gradient(45deg, var(--accent) 0 14px, #171512 14px 28px);
}

/* ——— Тема: кофейня ——— */
body.t-coffee {
  --bg: #fdf6ec;
  --bg-2: #f6e9d6;
  --surface: #fffdf8;
  --ink: #35251c;
  --ink-2: #7b6152;
  --accent: #c2571f;
  --accent-ink: #fff8f2;
  --line: rgba(53, 37, 28, 0.14);
  --line-2: rgba(53, 37, 28, 0.32);
  --radius: 16px;
  --display: "Bitter", Georgia, serif;
  --head-weight: 700;
  --flag-bg: #35251c;
  --flag-ink: #fbeedd;
}
body.t-coffee::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(50% 40% at 90% 6%, rgba(194, 87, 31, 0.12), transparent 70%),
    radial-gradient(44% 36% at 2% 30%, rgba(79, 125, 82, 0.12), transparent 72%);
}
body.t-coffee .sec__num { font-family: var(--display); }
body.t-coffee .mark { background-image: linear-gradient(transparent 60%, rgba(194, 87, 31, 0.22) 0); }
body.t-coffee .cut { border-top: 2px dashed var(--line-2); }

/* ——— Тема: стоматология ——— */
body.t-dent {
  --bg: #f2f7fb;
  --bg-2: #e4eef7;
  --surface: #ffffff;
  --ink: #12232f;
  --ink-2: #5c7387;
  --accent: #1a6fb0;
  --accent-ink: #f6fbff;
  --line: rgba(18, 35, 47, 0.12);
  --line-2: rgba(18, 35, 47, 0.3);
  --radius: 12px;
  --display: "Manrope", system-ui, sans-serif;
  --head-weight: 700;
  --flag-bg: #10293a;
  --flag-ink: #e6f2fa;
}
body.t-dent::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(46% 34% at 88% 4%, rgba(26, 111, 176, 0.14), transparent 72%),
    radial-gradient(40% 30% at 4% 26%, rgba(35, 170, 179, 0.12), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 40%);
}
body.t-dent .sec__num { color: var(--accent); letter-spacing: 0.1em; }
body.t-dent .hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
}
body.t-dent .mark {
  background-image: linear-gradient(transparent 62%, rgba(26, 111, 176, 0.18) 0);
}
body.t-dent .cut { border-top: 1px solid var(--line-2); }
body.t-dent .fact b { color: var(--accent); }
body.t-dent .svc__price { color: var(--accent); font-weight: 600; }
body.t-dent .sec--tint { background: linear-gradient(180deg, rgba(26, 111, 176, 0.05), rgba(255, 255, 255, 0)); }
body.t-dent .grp__head h3 { letter-spacing: -0.01em; }
body.t-dent .bar { border-bottom: 1px solid var(--line); }
body.t-dent .brand__mark { border-radius: 8px; }

/* ——— Тема: клиника и медцентр ——— */
body.t-med {
  --bg: #f3faf9;
  --bg-2: #e2f1ef;
  --surface: #ffffff;
  --ink: #102a2c;
  --ink-2: #55747a;
  --accent: #0e7f83;
  --accent-ink: #f2fdfd;
  --line: rgba(16, 42, 44, 0.12);
  --line-2: rgba(16, 42, 44, 0.3);
  --radius: 14px;
  --display: "Onest", system-ui, sans-serif;
  --head-weight: 700;
  --flag-bg: #0d3034;
  --flag-ink: #e2f6f6;
}
body.t-med::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(44% 32% at 90% 4%, rgba(14, 127, 131, 0.13), transparent 72%),
    radial-gradient(38% 28% at 3% 24%, rgba(122, 191, 176, 0.14), transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent 38%);
}
body.t-med .sec__num { color: var(--accent); letter-spacing: 0.08em; }
body.t-med .hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  color: var(--accent);
}
body.t-med .mark {
  background-image: linear-gradient(transparent 62%, rgba(14, 127, 131, 0.18) 0);
}
body.t-med .cut { border-top: 1px solid var(--line-2); }
body.t-med .fact b { color: var(--accent); }
body.t-med .svc__price { color: var(--accent); font-weight: 600; }
body.t-med .sec--tint { background: linear-gradient(180deg, rgba(14, 127, 131, 0.05), rgba(255, 255, 255, 0)); }
body.t-med .grp__head h3 { letter-spacing: -0.01em; }
body.t-med .bar { border-bottom: 1px solid var(--line); }
body.t-med .brand__mark { border-radius: 50%; }
body.t-med .btn { border-radius: 999px; }

.mark { background-repeat: no-repeat; background-size: 100% 100%; padding: 0 2px; }

/* ——— Флаг «демонстрационный пример» ——— */
.flag {
  position: relative; z-index: 5;
  background: var(--flag-bg); color: var(--flag-ink);
  font-size: 14.5px; line-height: 1.5;
}
.flag .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; align-items: baseline; }
.flag strong { letter-spacing: 0.02em; }
.flag a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ——— Верхняя панель ——— */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.bar__in { display: flex; align-items: center; gap: 18px; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-size: 22px; font-weight: var(--head-weight);
}
.brand__name { display: block; font-family: var(--display); font-size: 20px; font-weight: var(--head-weight); line-height: 1.1; }
.brand__kind { display: block; font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.04em; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-color: var(--accent); }
.bar__phone { display: flex; align-items: center; gap: 10px; }
.phone { font-weight: 600; text-decoration: none; white-space: nowrap; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--wide { width: 100%; text-align: center; }

/* ——— Первый экран ——— */
.hero { position: relative; z-index: 1; padding: 54px 0 20px; }
.hero__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.hero h1 {
  font-family: var(--display); font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.05; margin: 10px 0 16px; font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing); text-transform: var(--head-transform);
}
.hero__kicker { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.facts { display: grid; gap: 14px; }
.fact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.fact b { display: block; font-family: var(--display); font-size: 27px; line-height: 1.1; font-weight: var(--head-weight); }
.fact span { color: var(--ink-2); font-size: 15px; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts--3 .fact b { font-size: 22px; }

/* ——— Разделы ——— */
.sec { position: relative; z-index: 1; padding: 58px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec__head { max-width: 46em; margin-bottom: 30px; }
.sec__num {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.sec h2 {
  font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12;
  margin: 8px 0 12px; font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing); text-transform: var(--head-transform);
}
.sec__lead { color: var(--ink-2); margin: 0; }
.sec--tint { background: var(--bg-2); border-radius: var(--radius); }
.sec--tint .wrap { padding-block: 6px; }

/* ——— Каталог услуг ——— */
.grp { margin: 26px 0 0; }
.grp__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.grp__head h3 { font-family: var(--display); font-size: 22px; margin: 0; font-weight: var(--head-weight); }
.grp__head span { font-size: 14px; color: var(--ink-2); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px 18px; box-shadow: var(--shadow);
}
.svc h4 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; font-family: var(--display); font-weight: var(--head-weight); }
.svc p { margin: 0 0 10px; }
.svc .lbl { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.svc ul { margin: 6px 0 10px; padding-left: 20px; }
.svc li { margin: 3px 0; }
.svc__row { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: 15px; color: var(--ink-2); }
.svc__price { font-weight: 700; color: var(--ink); }

/* ——— Свёрнутая строка услуги ———
   В свёрнутом виде клиент сравнивает только три вещи: название, цену и время;
   остальное раскрывается по нажатию. Раскрытие — нативный <details>, поэтому
   список работает без JavaScript и с одной клавиатуры. */
.svc__d { margin: 0; }
.svc__d > summary.svc__row {
  cursor: pointer; margin: 0; padding: 0; border-top: 0;
  align-items: baseline; justify-content: space-between;
  font-size: 15px; color: var(--ink); gap: 8px 16px;
}
.svc__d > summary { list-style: none; }
.svc__d > summary::-webkit-details-marker { display: none; }
.svc__name {
  position: relative; padding-right: 28px;
  font-family: var(--display); font-size: 19px; line-height: 1.25;
  font-weight: var(--head-weight); transition: color 0.16s ease;
}
.svc__name::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.svc__d[open] > summary .svc__name::after { transform: translateY(-30%) rotate(-135deg); }
.svc__d > summary:hover .svc__name,
.svc__d > summary:focus-visible .svc__name { color: var(--accent); }
.svc__meta { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; white-space: nowrap; color: var(--ink-2); }
.svc__body { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.svc__extra { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ——— Липкая панель категорий каталога ———
   Держится под верхней панелью, пока раздел каталога на экране; на телефоне
   прокручивается вбок одной строкой; кнопка записи — в конце панели. */
.cat {
  position: sticky; top: var(--header-h); z-index: 15;
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 8px; padding: 9px 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.cat__scroll {
  display: flex; gap: 8px; overflow-x: auto; flex: 1 1 auto;
  scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.cat__scroll::-webkit-scrollbar { display: none; }
.cat__link {
  flex: none; white-space: nowrap; text-decoration: none;
  font-size: 14.5px; color: var(--ink-2);
  padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.cat__link:hover, .cat__link:focus-visible { color: var(--ink); border-color: var(--line-2); }
.cat__link.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.cat__cta { flex: none; padding: 9px 16px; }

/* Якоря не прячутся под фиксированной шапкой (и под панелью категорий). */
.sec, section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.grp { scroll-margin-top: calc(var(--header-h) + var(--cat-h) + 12px); }

/* ——— Цены ——— */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table caption { text-align: left; padding: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.table th, .table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg-2); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.table td:last-child { white-space: nowrap; font-weight: 600; }
.table tr:last-child td { border-bottom: none; }

/* ——— Два столбца текстом ——— */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; }
.steps { margin: 0; padding-left: 22px; }
.steps li { margin: 0 0 12px; }
.steps li b { font-weight: 600; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding-left: 26px; position: relative; margin: 8px 0; }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ——— Мастера ——— */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.person b { display: block; font-family: var(--display); font-size: 19px; font-weight: var(--head-weight); }
.person em { display: block; font-style: normal; color: var(--accent); font-size: 14px; margin: 4px 0 8px; }
.person p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ——— Примеры работ ——— */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.work__shot {
  height: 118px; border-radius: var(--radius); margin-bottom: 14px;
  background: linear-gradient(135deg, var(--bg-2), var(--surface));
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink-2); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.work h4 { margin: 0 0 6px; font-size: 17px; font-family: var(--display); font-weight: var(--head-weight); }
.work p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ——— Отзывы ——— */
.honest {
  background: var(--surface); border: 1px solid var(--line-2); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.honest p:last-child { margin-bottom: 0; }

/* ——— Как добраться ——— */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.map {
  min-height: 230px; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 34px),
    var(--surface);
  display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-size: 15px;
}
.hours { margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: none; }
.hours b { font-weight: 600; }

/* ——— Вопросы ——— */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* ——— Форма записи ——— */
.book { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); width: 100%;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form__note { font-size: 14px; color: var(--ink-2); margin: 0; }
.form__status { font-size: 15px; font-weight: 600; color: var(--accent); margin: 0; min-height: 1px; }

/* ——— Подвал ——— */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line-2); margin-top: 30px; background: var(--bg-2); }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding: 34px 0; font-size: 15.5px; }
.foot h4 { margin: 0 0 10px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.foot p { margin: 0 0 8px; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin: 6px 0; }
.foot a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.foot a:hover { border-color: var(--accent); }
.foot__bottom { border-top: 1px solid var(--line); padding: 16px 0; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* ——— Появление при прокрутке ——— */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero__in, .visit, .book, .cols { grid-template-columns: 1fr; }
  .svc-grid, .people, .works { grid-template-columns: 1fr; }
  .facts--3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cat { gap: 8px; }
  .cat__link { font-size: 14px; padding: 6px 11px; }
  .cat__cta { padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  /* Движение панели категорий тоже отключается. */
  .cat, .cat__scroll, .cat__link { transition: none; scroll-behavior: auto; }
  .svc__name, .svc__name::after { transition: none; }
}

/* Скрытая ловушка: поле не видят люди, но заполняют боты. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); }
.quick h2 { font-size: 21px; margin: 0 0 6px; }
.quick > p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.quick .field { margin-bottom: 12px; }
.quick .form__note { font-size: 12.5px; }


/* ——— Демонстрационные страницы кофейни: пояснение к разделу меню и часы работы ——— */
.grp__note { margin: -6px 0 16px; color: var(--ink-2); font-size: 15px; max-width: 72ch; }
.visit__note { display: flex; gap: 8px; align-items: baseline; color: var(--ink-2); font-size: 15px; margin-top: 10px; }

/* Явный разделитель между ценой и временем в свёрнутой строке услуги:
   отступ сам по себе есть (gap в .svc__meta), но добавим и видимый знак,
   чтобы строка читалась вслух правильно и не слипалась при переносе. */
.svc__meta .svc__price + .svc__time::before { content: "·"; margin-right: 8px; color: var(--line); }
