/*
 * trener-z.info theme. Loaded after bootstrap 3 (grid, modal, forms stay in use) and replaces
 * the old style.css / responsive.css. Mobile first.
 *
 * 1 tokens & base   2 layout & buttons   3 header, menu, drawer   4 home
 * 5 cards & lists   6 contact & forms    7 footer                8 pages & article text
 * 9 comments        10 legacy blocks & widgets   11 video
 */

/* ---------- 1. Tokens & base ---------- */
:root {
  --paper: #faf7f0;
  --paper-2: #f3ebdc;
  --card: #fff;
  --ink: #2a1e16;
  --muted: #6b5a4c;
  --line: #e6dac6;
  /* coffee: links, buttons */
  --brand: #7a4a2b;
  --brand-hover: #613a21;
  --brand-ink: #4a2c19;
  --brand-050: #f6ecd8;
  --brand-100: #eddcbc;
  /* dark blocks: top bar, hero, disclaimer, contact card, footer */
  --dark: #2f1f16;
  --dark-2: #3d291d;
  --on-dark-strong: #fff;
  --on-dark: #f1e6d4;
  --on-dark-muted: #d8c7ae;
  --on-dark-faint: #a8937c;
  --on-dark-line: rgba(255, 255, 255, .55);
  --on-dark-tint: rgba(255, 255, 255, .1);
  --gold: #d4ac6e;
  --red: #b4281e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(47, 31, 22, .05), 0 12px 32px rgba(47, 31, 22, .08);
  --font: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Geologica", "Onest", -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 64px;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body.tz {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
.tz *, .tz *::before, .tz *::after { box-sizing: border-box; }
.tz img { max-width: 100%; height: auto; }
.tz a { color: var(--brand); text-decoration: none; transition: color .15s; }
.tz a:hover, .tz a:focus { color: var(--brand-hover); text-decoration: underline; }
.tz :focus-visible { outline: 3px solid rgba(122, 74, 43, .45); outline-offset: 2px; }
.tz h1, .tz h2, .tz h3, .tz h4, .tz .h1, .tz .h2, .tz .h3, .tz .h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-transform: none;
}
/* Calmer scale: the client found the bigger titles «пугающие» (2026-12-05) */
.tz h1, .tz .h1 { font-size: clamp(25px, 3.2vw, 34px); }
.tz h2, .tz .h2 { font-size: clamp(20px, 2.2vw, 25px); }
.tz h3, .tz .h3 { font-size: clamp(18px, 1.7vw, 20px); }
.tz h4, .tz .h4 { font-size: 17px; }
.tz p { margin: 0 0 1em; }
.tz [hidden] { display: none !important; }
.tz-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--card); padding: 10px 16px; }
.tz-skip:focus { left: 8px; top: 8px; }

/* ---------- 2. Layout & buttons ---------- */
.tz-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.tz-wrap--text { max-width: 860px; }
.tz-section { padding: 48px 0; }
.tz-section--tint { background: var(--paper-2); }
.tz-h2 { margin-bottom: 24px; }
.tz-lead { max-width: 720px; color: var(--muted); margin-bottom: 24px; }
.tz-section__more { margin-top: 28px; text-align: center; }
.tz-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.tz-btn, .tz .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 16px/1.2 var(--font); text-align: center; white-space: normal;
  cursor: pointer; text-decoration: none !important; box-shadow: none; text-shadow: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.tz-btn:active, .tz .btn:active { transform: translateY(1px); }
.tz-btn--primary, .tz .btn-primary, .tz .btn-success { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.tz-btn--primary:hover, .tz .btn-primary:hover, .tz .btn-primary:focus, .tz .btn-success:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.tz-btn--outline, .tz .btn-default { background: transparent; border-color: var(--brand); color: var(--brand) !important; }
.tz-btn--outline:hover, .tz .btn-default:hover, .tz .btn-default:focus { background: var(--brand); color: #fff !important; }
.tz-btn--ghost { background: var(--brand-050); color: var(--brand-ink) !important; }
.tz-btn--ghost:hover { background: var(--brand-100); }
.tz-btn--light { background: #fff; color: var(--brand-ink) !important; }
.tz-btn--light:hover { background: var(--brand-050); }
.tz-btn--onDark { background: transparent; border-color: var(--on-dark-line); color: var(--on-dark-strong) !important; }
.tz-btn--onDark:hover { background: var(--on-dark-tint); border-color: var(--on-dark-strong); }
.tz-btn--lg { min-height: 52px; padding: 13px 26px; font-size: 17px; }
.tz-more { font-weight: 600; color: var(--brand); }
.tz-more::after { content: " \2192"; }

/* ---------- 3. Header, menu, drawer ---------- */
.tz-topbar { background: var(--dark); color: var(--on-dark); font-size: 13.5px; }
.tz-topbar__in { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 34px; }
.tz .tz-topbar a { color: var(--on-dark-strong); }
.tz-topbar__contacts { display: none; gap: 20px; }

.tz-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 247, 240, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.tz-header__in { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.tz-logo { flex: none; display: block; margin-right: auto; }
.tz-logo img { display: block; width: 112px; height: auto; }
.tz-nav { display: none; }
.tz-header__actions { display: flex; align-items: center; gap: 8px; }
.tz-iconbtn {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 17px; cursor: pointer;
}
.tz-iconbtn:hover { background: var(--brand-050); }
/* Telegram / VK: the official one-colour logos (Simple Icons, CC0). .tz-ico takes the colour of the text around it;
   in page texts the same files stand as plain <img> (theme install.php swaps the old blue PNGs) */
.tz-ico { flex: none; display: inline-block; width: 1.4em; height: 1.4em; vertical-align: -.3em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.tz-ico--tg { --ico: url(img/telegram.svg); }
.tz-ico--vk { --ico: url(img/vk.svg); }
.tz img[src$="/img/telegram.svg"], .tz img[src$="/img/vk.svg"] { width: auto; height: 28px; vertical-align: middle; }
.tz-social { flex: none; display: inline-flex; font-size: 21px; color: var(--ink) !important; transition: color .15s; }
a.tz-social:hover, a:hover > .tz-social { color: var(--brand) !important; }
.tz-header__contact, .tz-header__cta { display: none; white-space: nowrap; }
.tz-burger {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px 0 12px;
  border: 0; border-radius: 999px; background: var(--brand); color: #fff;
  font: 600 15px/1 var(--font); cursor: pointer;
}
.tz-burger__icon, .tz-burger__icon::before, .tz-burger__icon::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
}
.tz-burger__icon { position: relative; }
.tz-burger__icon::before, .tz-burger__icon::after { content: ""; position: absolute; left: 0; }
.tz-burger__icon::before { top: -6px; }
.tz-burger__icon::after { top: 6px; }

.tz-search { border-top: 1px solid var(--line); background: var(--card); padding: 12px 0; }
.tz-search fieldset, .tz .simplesearch-search-form fieldset { display: flex; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.tz .simplesearch-search-form input[type="text"] {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px;
}
.tz .simplesearch-search-form input[type="text"]:focus { border-color: var(--brand); outline: 0; }
.tz .simplesearch-search-form button {
  width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 17px; cursor: pointer;
}

/* Menu: one markup, two looks (desktop bar / mobile drawer) */
.tz-menu, .tz-menu ul { list-style: none; margin: 0; padding: 0; }
.tz .tz-menu a { color: var(--ink); text-decoration: none; }
.tz-menu__toggle { border: 0; background: transparent; cursor: pointer; padding: 0; }

.tz-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 1100;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--paper); box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
  overflow-y: auto; overscroll-behavior: contain;
  animation: tz-slide .22s ease-out;
}
@keyframes tz-slide { from { transform: translateX(40px); opacity: 0; } }
.tz-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(47, 31, 22, .5); }
.tz-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tz-drawer__title { font: 600 20px var(--font-head); }
.tz-drawer__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand-050); font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.tz-drawer__nav { padding: 12px 16px; }
.tz-drawer .tz-menu > li { position: relative; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tz-drawer .tz-menu > li > a { display: block; padding: 13px 56px 13px 16px; font-weight: 600; font-size: 17px; }
.tz-drawer .tz-menu__toggle { position: absolute; top: 3px; right: 4px; width: 46px; height: 46px; border-radius: 50%; }
.tz-drawer .tz-menu__toggle::before {
  content: ""; display: block; width: 10px; height: 10px; margin: -4px auto 0;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s;
}
.tz-drawer .tz-menu__toggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: 4px; }
.tz-drawer .tz-menu__sub { display: none; padding: 0 8px 10px; }
.tz-drawer .is-open > .tz-menu__sub { display: block; }
.tz-drawer .tz-menu__sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 16px; color: var(--muted); }
.tz-drawer .tz-menu__sub a:hover { background: var(--brand-050); color: var(--ink); }
.tz-drawer__foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.tz-drawer__social { display: flex; gap: 20px; justify-content: center; padding-top: 6px; }
.tz .tz-drawer__social a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.tz-drawer-open { overflow: hidden; }

@media (min-width: 560px) { .tz-logo img { width: 132px; } }
@media (min-width: 680px) {
  .tz-header__cta { display: inline-flex; min-height: 42px; padding: 8px 18px; font-size: 15px; }
}
@media (min-width: 900px) {
  .tz-topbar__in { justify-content: space-between; }
  .tz-topbar__contacts { display: flex; }
}
/* Ten menu items fit from 1280px; «Связаться» does not fit next to them (Telegram and VK are in the top bar) */
@media (min-width: 1280px) {
  :root { --header-h: 76px; }
  .tz-burger { display: none; }
  .tz-logo { margin-right: 0; }
  .tz-nav { display: block; margin: 0 auto; }
  .tz-nav .tz-menu { display: flex; gap: 2px; }
  .tz-nav .tz-menu > li { position: relative; }
  .tz-nav .tz-menu > li > a { display: block; padding: 10px; border-radius: 999px; font-weight: 500; font-size: 15.5px; white-space: nowrap; }
  .tz-nav .tz-menu > li:hover > a, .tz-nav .tz-menu > li:focus-within > a { background: var(--brand-050); }
  .tz-nav .tz-menu__toggle { display: none; }
  .tz-nav .tz-menu__parent > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  }
  .tz-nav .tz-menu__sub {
    position: absolute; left: 0; top: 100%; z-index: 10; min-width: 290px; padding: 8px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .tz-nav .tz-menu > li:hover > .tz-menu__sub, .tz-nav .tz-menu > li:focus-within > .tz-menu__sub { opacity: 1; visibility: visible; transform: none; }
  .tz-nav .tz-menu__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
  .tz-nav .tz-menu__sub a:hover { background: var(--brand-050); }
  .tz-social { display: none; }
}


/* ---------- 4. Home ---------- */
.tz-hero { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.tz-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 85% 0%, rgba(212, 172, 110, .2), transparent 70%), radial-gradient(500px 400px at 0% 100%, rgba(180, 40, 30, .14), transparent 70%);
}
.tz-hero__in { position: relative; display: grid; gap: 28px; padding-top: 36px; padding-bottom: 0; }
.tz .tz-hero h1 { color: var(--on-dark-strong); font-size: clamp(28px, 4.6vw, 50px); font-weight: 700; margin-bottom: 16px; }
.tz-hero .tz-eyebrow { color: var(--gold); margin-bottom: 14px; }
.tz-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 560px; }
.tz-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.tz-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--on-dark); }
.tz-facts li { display: flex; gap: 12px; align-items: flex-start; }
.tz-facts .fa { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--on-dark-tint); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.tz-hero__photo { margin: 0; align-self: end; justify-self: center; width: min(340px, 82%); }
.tz-hero__avatar { display: none; }
/* Phones: portrait next to the name, three facts */
@media (max-width: 767px) {
  .tz-hero .tz-eyebrow { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .tz .tz-hero__avatar { display: block; flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; object-position: top; }
  .tz-hero__photo { display: none; }
  .tz-hero__in { padding-bottom: 36px; }
  .tz-facts li:nth-child(n+4) { display: none; }
  /* «Связаться» is the same outlined button as on desktop (client, 05.12), the two share the row */
  .tz-hero__cta { gap: 10px; }
  .tz-hero__cta .tz-btn { flex: 1 1 auto; padding-left: 18px; padding-right: 18px; }
}
.tz-hero__photo img { display: block; width: 100%; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); }

.tz-guides__grid { display: grid; gap: 20px; }
.tz .tz-guide { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tz .tz-guide:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tz-guide img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.tz-guide__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tz-guide__body p { font-size: 15.5px; color: var(--muted); }
.tz-guide .tz-more { margin-top: auto; }

.tz-services { background: var(--paper-2); }
.tz-services__head { display: grid; gap: 24px; margin-bottom: 28px; }
.tz-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tz .tz-tags a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.tz .tz-tags a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.tz-services__list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tz-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.tz-checks li { position: relative; padding-left: 30px; }
.tz-checks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

/* One line right under the hero: the main worry of a visitor is answered before the services */
.tz-disclaimer { background: var(--dark-2); color: var(--on-dark-muted); padding: 18px 0; border-top: 1px solid var(--on-dark-tint); font-size: 15.5px; }
.tz-disclaimer__in { display: flex; gap: 14px; align-items: flex-start; }
.tz-disclaimer .fa { flex: none; font-size: 22px; color: var(--gold); margin-top: 2px; }
.tz-disclaimer p { margin: 0; }
.tz-disclaimer strong { color: var(--on-dark-strong); font-weight: 600; }

.tz-reviews__grid { display: grid; gap: 20px; }
/* Phones: services become a compact list (thumbnail, title, price) instead of six tall cards */
@media (max-width: 559px) {
  .tz-services .tz-grid { gap: 10px; }
  .tz .tz-services .tz-card--service { flex-direction: row; align-items: center; }
  .tz-services .tz-card--service .tz-card__img { width: 88px; flex: none; aspect-ratio: 1 / 1; }
  .tz-services .tz-card__body { padding: 10px 14px; gap: 4px; justify-content: center; }
  .tz .tz-services .tz-card__title { font-size: 16px; }
  .tz-services .tz-card__text, .tz-services .tz-card .tz-more { display: none; }
  .tz-guide__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.tz-review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tz-review img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-050); margin-bottom: 14px; }
.tz .tz-review blockquote { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.tz .tz-review blockquote.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tz .tz-review__more { margin-top: 10px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--brand); cursor: pointer; }
.tz .tz-review__more::after { content: " \2193"; }

@media (min-width: 768px) {
  .tz-section { padding: 72px 0; }
  .tz-h2 { margin-bottom: 32px; }
  .tz-hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; padding-top: 56px; }
  .tz-hero__text { padding-bottom: 56px; }
  .tz-hero__photo { width: 100%; max-width: 400px; justify-self: end; }
  .tz-services__head { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
  .tz-reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .tz-disclaimer { padding: 22px 0; }
  .tz-disclaimer__in { align-items: center; justify-content: center; }
}
@media (min-width: 992px) {
  .tz-guides__grid { grid-template-columns: repeat(3, 1fr); }
  .tz-facts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* ---------- 5. Cards & lists ---------- */
.tz-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .tz-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .tz-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.tz .tz-card, .tz .tz-post {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.tz .tz-card:hover, .tz .tz-post:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tz-card__img, .tz-post__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-2); }
.tz-card--service .tz-card__img { aspect-ratio: 4 / 3; }
.tz-post__img { aspect-ratio: 3 / 2; }
.tz-card__body, .tz-post__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tz-card__date { font-size: 13.5px; color: var(--muted); }
.tz .tz-card__title { font-size: 18px; line-height: 1.3; margin: 0; }
.tz-card__text { font-size: 15px; color: var(--muted); margin: 0; }
.tz-card .tz-more, .tz-post .tz-more { margin-top: auto; padding-top: 4px; }
.tz-card__price { font-weight: 700; color: var(--brand-ink); }

/* Phones: long home sections (articles, blog, reviews) scroll sideways, one card per screen */
@media (max-width: 559px) {
  .tz-grid--swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 0 16px 12px; -webkit-overflow-scrolling: touch; }
  .tz-grid--swipe > * { flex: 0 0 82%; scroll-snap-align: start; }
}

.tz-rubrics { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tz .tz-rubrics a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15.5px; text-decoration: none; }
.tz .tz-rubrics a:hover, .tz .tz-rubrics .active a { background: var(--brand); border-color: var(--brand); color: #fff; }
.tz .tz-rubrics li:first-child a { border-color: var(--red); color: var(--red); }
.tz .tz-rubrics li:first-child a:hover, .tz .tz-rubrics li.active:first-child a { background: var(--red); color: #fff; }

.tz-reco { background: var(--paper-2); }
.tz-reco__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.tz .tz-reco__item { flex: 0 0 min(72%, 260px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.35; text-decoration: none; }
.tz-reco__item img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tz-reco__item span { padding: 12px 14px 16px; }
.tz-row { position: relative; }
.tz-row__btn { display: none; }
/* Computers only (a mouse pointer): phones keep swiping, as the client wants */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .tz-row.is-scrollable .tz-row__btn {
    display: flex; align-items: center; justify-content: center; position: absolute; top: calc(50% - 30px); z-index: 2;
    width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
    background: var(--card); color: var(--brand); font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(47, 31, 22, .16);
    transition: background .15s, color .15s, opacity .15s;
  }
  .tz-row__btn--prev { left: -18px; }
  .tz-row__btn--next { right: -18px; }
  .tz-row.is-scrollable .tz-row__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
  .tz-row.is-scrollable .tz-row__btn:disabled { opacity: 0; pointer-events: none; }
}

/* ---------- 6. Contact & forms ---------- */
.tz-contact { background: var(--paper); padding: 48px 0; border-top: 1px solid var(--line); }
.tz-contact__grid { display: grid; gap: 28px; }
.tz-contact__card { background: var(--dark); color: var(--on-dark); border-radius: 24px; padding: 24px 20px; }
.tz .tz-contact__card h2 { color: var(--on-dark-strong); font-size: clamp(21px, 2.4vw, 27px); }
.tz-contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.tz-contact__lead { font-size: 18px; font-weight: 500; }
.tz-qa-list { display: grid; gap: 14px; margin-bottom: 20px; }
.tz .tz-qa { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.tz .tz-qa:hover { box-shadow: var(--shadow); color: var(--ink); }
.tz-qa p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.tz-qa__who { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tz-qa__who time { font-weight: 400; margin-left: 6px; }
.tz-qa__a { margin-top: 12px; padding: 12px 14px; background: var(--brand-050); border-radius: 12px; }
.tz-qa__a .tz-qa__who { color: var(--brand); }

.tz-form__row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .tz-form__row { grid-template-columns: 1fr 1fr; } }
.tz-field, .tz .form-group { margin-bottom: 14px; }
.tz label { display: block; margin: 0 0 6px; font-weight: 500; font-size: 15px; }
.tz .form-control, .tz textarea, .tz input[type="text"], .tz input[type="email"], .tz input[type="password"] {
  display: block; width: 100%; height: auto; min-height: 46px; padding: 10px 14px;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); box-shadow: none;
  font: 400 16px/1.4 var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.tz textarea.form-control, .tz textarea { min-height: 120px; resize: vertical; }
.tz .form-control:focus, .tz textarea:focus, .tz input[type="text"]:focus, .tz input[type="email"]:focus, .tz input[type="password"]:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122, 74, 43, .15); outline: 0;
}
.tz-form [class^="error_"], .tz .error, .tz .text-error, .tz .help-block { display: block; color: var(--red); font-size: 14px; margin-top: 4px; }
.tz-policy, .tz .policys { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.tz-contact__card .tz-policy, .tz .tz-contact__card .tz-policy a { color: var(--on-dark-faint); }
.tz .tz-contact__card .tz-policy a { text-decoration: underline; }
.tz-contact__card label { color: var(--on-dark); }
.tz-contact__card .form-control { border-color: transparent; }
.tz-contact__card [class^="error_"], .tz .tz-contact__card .error { color: #ffb4ab; }
.tz-form__links { display: flex; flex-wrap: wrap; gap: 8px; }
.tz .tz-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--brand-050); color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.tz-note { background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; margin-bottom: 14px; }
.tz-form__hint { font-size: 14px; color: var(--muted); }
.tz .g-recaptcha { min-height: 78px; }
.tz .g-recaptcha:empty { min-height: 0; }

@media (min-width: 992px) {
  .tz-contact { padding: 80px 0; }
  .tz-contact__grid { grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
  .tz-contact__card { padding: 36px; }
}

/* ---------- 7. Footer ---------- */
.tz-footer { background: var(--dark); color: var(--on-dark-muted); font-size: 15.5px; }
.tz .tz-footer a { color: var(--on-dark); }
.tz .tz-footer a:hover { color: var(--on-dark-strong); }
.tz .tz-tgband { display: block; background: var(--brand); color: #fff; text-decoration: none; transition: background-color .15s; }
.tz .tz-tgband:hover { background: #8a5733; color: #fff; }
.tz-tgband__in { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.tz-tgband .tz-ico { font-size: 28px; }
.tz-tgband__title { font: 600 clamp(18px, 2.4vw, 24px) var(--font-head); }
.tz-tgband__name { margin-left: auto; font-weight: 600; white-space: nowrap; }
.tz-footer__grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 36px; }
.tz-footer__title { font: 600 22px var(--font-head); color: var(--on-dark-strong); margin-bottom: 8px; }
.tz-footer__contacts, .tz-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.tz-footer__contacts { display: grid; gap: 10px; }
.tz-footer__contacts a { display: inline-flex; align-items: center; gap: 10px; }
.tz-footer__nav ul { columns: 2; column-gap: 24px; }
.tz-footer__nav li { break-inside: avoid; padding: 5px 0; }
/* Phones: finger-sized footer links, nothing smaller than 14px */
@media (max-width: 767px) {
  .tz-footer__nav li { padding: 0; }
  .tz .tz-footer__nav a { display: inline-block; padding: 10px 0; }
  .tz-topbar, .tz-card__date, .tz-qa__who, .tz-policy, .tz .policys, .tz .ticket-comment-to,
  .tz .ticket-comment-createdon, .tz .ticket-comment-edited { font-size: 14px; }
  .tz-eyebrow { font-size: 13.5px; }
}
.tz-footer__about p { margin-bottom: 16px; }
.tz-footer__bottom { border-top: 1px solid var(--on-dark-tint); padding: 16px 0; font-size: 14px; color: var(--on-dark-faint); }
@media (max-width: 479px) { .tz-tgband__name { display: none; } }
@media (min-width: 768px) { .tz-footer__grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 48px; } }

.tz-up {
  position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 16px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(47, 31, 22, .3);
}
.tz-up:hover { background: var(--brand-hover); }

/* ---------- 8. Pages & article text ---------- */
.tz-crumbs { padding-top: 14px; font-size: 14px; color: var(--muted); }
.tz-crumbs ul, .tz .B_crumbBox { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.tz-crumbs li { display: inline; }
.tz .tz-crumbs a { color: var(--muted); }
.tz-page { padding: 20px 0 56px; }
.tz-pagehead { margin-bottom: 24px; }
.tz .tz-pagehead h1 { margin-bottom: 8px; }
.tz-meta { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (min-width: 768px) { .tz-page { padding: 28px 0 80px; } .tz-pagehead { margin-bottom: 32px; } }

.tz-prose { font-size: 17.5px; line-height: 1.7; }
.tz-prose::after { content: ""; display: table; clear: both; }
.tz-prose--wide { max-width: none; }
.tz .tz-prose h2, .tz .tz-prose .h2 { margin-top: 1.5em; }
.tz .tz-prose h3, .tz .tz-prose .h3, .tz .tz-prose h4 { margin-top: 1.3em; }
.tz-prose ul, .tz-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.tz-prose li { margin-bottom: .4em; }
.tz-prose li::marker { color: var(--brand); font-weight: 600; }
.tz-prose img { border-radius: var(--radius-sm); }
.tz-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; background: var(--card); }
.tz-prose td, .tz-prose th { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.tz-prose tr:first-child td, .tz-prose th { background: var(--brand-050); font-weight: 600; }
.tz-prose blockquote { margin: 0 0 1em; padding: 14px 18px; border: 0; border-left: 4px solid var(--brand); background: var(--brand-050); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: inherit; }
.tz-prose iframe, .tz-prose video { max-width: 100%; border: 0; border-radius: var(--radius-sm); }
.tz-prose .video { position: relative; padding-top: 56.25%; margin-bottom: 1em; }
.tz-prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.tz-prose .sources { font-size: 14.5px; color: var(--muted); }
.tz-prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.tz-prose .tz-table-scroll { overflow-x: auto; margin-bottom: 1.2em; }
.tz-prose .tz-table-scroll table { margin: 0; min-width: 520px; }
/* Service page: price, format, hours and the booking button above the text */
.tz-offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 28px; display: grid; gap: 16px; }
.tz-offer__facts { margin: 0; display: grid; gap: 10px; }
.tz-offer__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.tz-offer__facts dt { color: var(--muted); font-weight: 500; }
.tz-offer__facts dd { margin: 0; font-weight: 600; }
.tz-offer__facts div:first-child dd { color: var(--brand-ink); font-size: 18px; }
.tz-offer__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tz-offer__btns .tz-btn img { border-radius: 50%; }
@media (min-width: 768px) { .tz-offer { grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; } .tz-offer__btns { flex-direction: column; align-items: stretch; } }

/* Phones: booking bar pinned to the bottom of service pages once the offer box is scrolled past */
.tz-stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 890; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 240, .96); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(47, 31, 22, .08); }
.tz-stickycta .tz-btn { width: 100%; }
.tz-stickycta .tz-btn img { border-radius: 50%; }
.has-stickycta .tz-up { bottom: 84px; }
@media (min-width: 768px) { .tz .tz-stickycta { display: none !important; } }

.tz-cover { display: block; width: 100%; max-width: 360px; margin: 0 auto 20px; border-radius: var(--radius) !important; }
@media (min-width: 640px) { .tz-cover { float: right; width: 260px; margin: 4px 0 16px 28px; } }

/* Table of contents built by theme.js */
.tz .linkblockwrapp { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; font-size: 16px; overflow: hidden; }
.tz .soderj { font: 600 18px var(--font-head); margin-bottom: 8px; }
.tz .linblock { list-style: none; margin: 0; padding: 0; }
.tz .linblock li { margin: 0; }
.tz .linblock a { display: block; padding: 5px 0; color: var(--ink); cursor: pointer; text-decoration: none; }
.tz .linblock a:hover { color: var(--brand); }
.tz .linblock a span { color: var(--brand); font-weight: 600; }
.tz .linblock .forh3 a { padding-left: 22px; font-size: 15px; color: var(--muted); }

.tz-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tz-share p { margin: 0 0 8px; font-weight: 500; }
.tz-author { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 15.5px; }
.tz-author img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; }
.tz-author p { margin: 0 0 6px; }
.tz-author__name { font-weight: 600; }

.tz-cols { display: grid; gap: 32px; }
.tz-cols > * { min-width: 0; }
.tz-side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.tz-side-card__title { font: 600 18px var(--font-head); margin-bottom: 12px; }

/* Sendex subscription form (chunk tpl.Sendex.subscribe.guest) */
.subscribeCard { background: var(--brand-050); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.tz-side-card > .subscribeCard { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
.subscribeCard__title { font: 600 18px/1.3 var(--font-head); color: var(--ink); margin: 0 0 12px; }
.subscribeCard__text { margin: 0 0 12px; font-size: 15px; }
.subscribeCard__form { display: grid; gap: 10px; margin: 0; }
.subscribeCard__form input[type="email"] { width: 100%; }
.subscribeCard__btn {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px;
  background: var(--brand); color: #fff; font: 600 16px/1.2 var(--font); cursor: pointer;
  transition: background-color .15s;
}
.subscribeCard__btn:hover, .subscribeCard__btn:focus { background: var(--brand-hover); }
.tz-side-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tz .tz-side-posts a { display: flex; gap: 12px; align-items: center; color: var(--ink); font-size: 15px; line-height: 1.35; font-weight: 500; }
.tz-side-posts img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
@media (min-width: 992px) { .tz-cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.tz-comments-block { margin-top: 40px; }

/* ---------- 9. Comments (Tickets) ---------- */
.tz-auth { margin: 0 0 18px; }
.tz-auth__label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.tz-auth__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tz .tz-auth__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.tz .tz-auth__btn:hover { border-color: var(--brand); color: var(--brand); }
.tz-auth__btn--yandex::before { content: "Я"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fc3f1d; color: #fff; font-weight: 700; font-size: 13px; }
.tz-auth__btn--vkontakte::before { content: "\f189"; font-family: FontAwesome; color: #0077ff; font-size: 18px; }
.tz .hybridauth.llog { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }
.tz .hybridauth .ha-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

.tz #comment-new-link { margin: 0 0 16px; }
.tz #comment-form, .tz .well {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none;
  padding: 20px; margin: 0 0 28px;
}
.tz #comment-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.tz #comment-editor { width: 100%; }
.tz #comment-preview-placeholder { border: 1px dashed var(--brand); border-radius: var(--radius-sm); background: var(--brand-050); padding: 14px; }
.tz .markItUpHeader ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tz .markItUpHeader li { margin: 0; }
.tz .markItUpHeader a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border-radius: 8px; background: var(--paper-2) none; color: var(--ink); font-size: 0; text-indent: 0; text-decoration: none; }
.tz .markItUpHeader a:hover { background-color: var(--brand-050); color: var(--brand); }
.tz .markItUpHeader a::before { font: 14px/1 FontAwesome; content: "\f040"; }
.tz .markItUpHeader .btn-bold a::before { content: "\f032"; }
.tz .markItUpHeader .btn-italic a::before { content: "\f033"; }
.tz .markItUpHeader .btn-underline a::before { content: "\f0cd"; }
.tz .markItUpHeader .btn-stroke a::before { content: "\f0cc"; }
.tz .markItUpHeader .btn-quote a::before { content: "\f10d"; }
.tz .markItUpHeader .btn-code a::before { content: "\f121"; }
.tz .markItUpHeader .btn-link a::before { content: "\f0c1"; }
.tz .markItUpHeader .btn-picture a::before { content: "\f03e"; }
.tz .markItUpHeader .btn-cut a::before { content: "\f0c4"; }
.tz .markItUpContainer, .tz .markItUp { border: 0; background: none; padding: 0; }
.tz .markItUpHeader .markItUpSeparator { display: none; }
/* Comment photos (theme.js initCommentPhotos) */
.tz-cphotos { margin: -4px 0 16px; }
.tz-cphotos__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-cphotos__list:not(:empty) { margin-bottom: 10px; }
.tz-cphoto { position: relative; width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.tz-cphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tz-cphoto img.is-broken { visibility: hidden; }
.tz-cphoto.is-loading img { opacity: .55; }
.tz-cphoto__progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--brand); transition: width .2s; }
.tz-cphoto:not(.is-loading) .tz-cphoto__progress { display: none; }
.tz-cphoto__del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(42, 30, 22, .7); color: #fff; font-size: 18px; line-height: 26px; cursor: pointer; }
.tz-cphoto__del:hover { background: var(--ink); }
.tz-cphotos__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tz-cphotos__add { position: relative; cursor: pointer; margin: 0; }
.tz-cphotos__add .fa { margin-right: 6px; }
.tz-cphotos__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tz-cphotos__add:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.tz-cphotos__hint { font-size: 14px; color: var(--muted); }
.tz-cphotos__error { margin: 8px 0 0; font-size: 14px; color: var(--red); }
.tz-cphotos__error:empty { display: none; }
.tz #comment-form.is-drop { outline: 2px dashed var(--brand); outline-offset: -6px; background: var(--brand-050); }
@media (hover: none) { .tz-cphotos__hint { display: none; } }

.tz .comments { overflow: visible; }
.tz .comments > .title { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 18px; }
.tz .comments-subscribe { float: none !important; display: block; margin-bottom: 12px; font-size: 15px; }
.tz #comments, .tz .comment-list, .tz .comments-list { list-style: none; margin: 0; padding: 0; }
.tz #comments > .ticket-comment {
  margin: 0 0 16px; padding: 18px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.tz .ticket-comment { margin: 0; scroll-margin-top: 100px; }
.tz .ticket-comment-body { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.tz .ticket-comment-body.alert { display: block; margin: 0; border-radius: var(--radius-sm); font-size: 14.5px; }
.tz .ticket-comment .ticket-avatar { grid-row: 1 / span 2; width: 44px; height: 44px; max-width: none; max-height: none; border-radius: 50%; object-fit: cover; background: var(--paper-2); float: none !important; margin: 0 !important; }
.tz .ticket-comment-header { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; background: transparent; }
.tz .ticket-comment-author, .tz .ticket-comment-guest .ticket-comment-author { margin: 0; font-weight: 600; color: var(--ink); }
.tz .ticket-comment-to { font-size: 13.5px; color: var(--muted); }
.tz .ticket-comment-to a { color: var(--muted); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); }
.tz .ticket-comment-createdon, .tz .ticket-comment-edited { margin: 0; font-size: 13.5px; color: var(--muted); font-style: normal; }
.tz .ticket-comment-text { grid-column: 2; margin-top: 4px; font-size: 16px; line-height: 1.6; text-align: left; }
.tz .ticket-comment-text img { display: inline-block; vertical-align: top; margin: 6px 6px 0 0; border-radius: 10px; max-width: 100%; max-height: 320px; width: auto; }
.tz .ticket-comment-text blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid var(--line); font-size: 15px; color: var(--muted); }
.tz .ratingread { display: none; }
.tz .comment-reply { margin: 8px 0 0 56px; display: flex; gap: 14px; }
.tz .comment-reply a { font-size: 14.5px; font-weight: 600; color: var(--brand); text-decoration: none; }
.tz .comment-reply a:hover { text-decoration: underline; }
.tz .ticket-comment > .comments-list:not(:empty) { margin-top: 14px; }
.tz #comments > .ticket-comment > .comments-list { padding-left: 14px; border-left: 2px solid var(--brand-050); }
.tz .comments-list .ticket-comment + .ticket-comment, .tz .comments-list .comments-list > .ticket-comment { margin-top: 14px; }
/* Replies from the trainer (user ids 17 and 4) */
.tz .ticket-comment[data-u="17"] > .ticket-comment-body, .tz .ticket-comment[data-u="4"] > .ticket-comment-body { background: var(--brand-050); border-radius: 14px; padding: 12px; }
.tz .ticket-comment[data-u="17"] > .ticket-comment-body .ticket-comment-author, .tz .ticket-comment[data-u="4"] > .ticket-comment-body .ticket-comment-author { color: var(--brand); }
.tz .ticket-comment[data-u="17"] > .comment-reply, .tz .ticket-comment[data-u="4"] > .comment-reply { margin-left: 68px; }
.tz .ticket-comment-new > .ticket-comment-body { box-shadow: 0 0 0 2px #e9d98a; border-radius: 14px; }
.tz .ticket-comment.is-target > .ticket-comment-body { box-shadow: 0 0 0 2px var(--brand); border-radius: 14px; }
.tz .ticket-comment #comment-form { margin: 14px 0 0; }
@media (max-width: 767px) {
  /* Narrow screens: the text takes the full width under the avatar and the name */
  .tz .ticket-comment .ticket-avatar { grid-row: 1; }
  .tz .ticket-comment-header { align-self: center; }
  .tz .ticket-comment-text { grid-column: 1 / -1; margin-top: 8px; }
  .tz .comment-reply, .tz .ticket-comment[data-u="17"] > .comment-reply, .tz .ticket-comment[data-u="4"] > .comment-reply { margin-left: 0; }
  .tz #comments > .ticket-comment > .comments-list { padding-left: 10px; }
}
@media (min-width: 768px) {
  .tz #comments > .ticket-comment { padding: 22px 24px; }
  .tz #comments > .ticket-comment > .comments-list { margin-left: 22px; padding-left: 22px; }
}

.tz-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 20px 0; }
.tz-pager button {
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink);
  font: 500 15px var(--font); cursor: pointer;
}
.tz-pager button:hover { border-color: var(--brand); color: var(--brand); }
.tz-pager button[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tz-pager span { color: var(--muted); padding: 0 2px; }
.tz-pager .tz-pager__more { flex: 0 0 100%; height: 46px; margin-bottom: 8px; background: var(--brand-050); border-color: transparent; color: var(--brand-ink); font-weight: 600; }
.tz-thread-loading { opacity: .45; pointer-events: none; transition: opacity .15s; }
.tz-thread-error { text-align: center; color: var(--muted); padding: 20px 0; }

/* ---------- 10. Legacy blocks & widgets ---------- */
.tz .modal { z-index: 1200; }
.tz .modal-backdrop { z-index: 1190; }
.tz .modal-content { border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.tz .modal-header { border: 0; padding: 20px 22px 0; }
.tz .modal-title { font: 600 22px var(--font-head); }
.tz .modal-body { padding: 14px 22px 24px; font-size: 15.5px; }
.tz .modal .close { font-size: 30px; opacity: .6; }
@media (min-width: 768px) { .tz .modal-dialog { width: 640px; margin-top: 60px; } }

.tz .alert { border: 0; border-radius: var(--radius-sm); padding: 12px 16px; margin: 14px 0 0; font-size: 15px; }
.tz .alert-success { background: var(--brand-050); color: var(--brand-ink); }
.tz .alert-danger, .tz .alert-error { background: #fbe9e7; color: var(--red); }
.tz .alert-warning { background: #fbf3d9; color: #6b5a1a; }
.tz .panel { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; overflow: hidden; background: var(--card); }
.tz .panel-heading { background: var(--brand-050); border: 0; color: var(--ink); font-weight: 600; padding: 12px 16px; }
.tz .panel-body { padding: 16px; }
.tz .panel-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tz .form-horizontal .control-label { text-align: left; padding-top: 0; }
.tz .jGrowl { font-family: var(--font); z-index: 1300; }
.tz .jGrowl-notification { border-radius: 12px; opacity: 1; padding: 14px 16px; font-size: 15px; min-height: 0; }
.tz .lead { font-size: 19px; color: var(--muted); }
.tz .img-rounded { border-radius: var(--radius); }
.tz noindex { display: block; }

/* About page keeps its old markup */
.tz .section-padding { padding: 0; }
.tz .section-title { margin: 0 0 20px; text-align: center; }
.tz .section-title img { max-width: 420px; width: 100%; }
.tz .features-list { display: grid; gap: 14px; left: 0 !important; }
.tz .more-about { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.tz .about-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-050); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.tz .about-content .h4 { margin: 0; font-size: 17px; font-family: var(--font); font-weight: 500; }
.tz .about-content p:empty { display: none; }
.tz .circular { width: min(380px, 100%); aspect-ratio: 1 / 1; margin: 0 auto 24px; border-radius: 28px; background: url(/img/000.jpg) center / cover no-repeat; }
.tz .align-center { text-align: center; }
/* «Обо мне»: one text column of the same width from top to bottom (the old markup centred the start
   in 2/3 of the page and let the rest run full width), photo next to the facts, certificates in a tidy row.
   Only styles: the page text stays editable in the manager as it is */
.tz-res-25 .tz-prose { max-width: 860px; margin-left: auto; margin-right: auto; }
.tz-res-25 #about-us .container { width: auto; padding: 0; }
.tz-res-25 #about-us .row { display: grid; gap: 20px; margin: 0 0 28px; }
.tz-res-25 #about-us .row::before, .tz-res-25 #about-us .row::after { display: none; }
.tz-res-25 #about-us .row > [class*="col-"] { width: auto; float: none; margin: 0; padding: 0; min-width: 0; }
.tz-res-25 .section-title { text-align: left; margin-bottom: 8px; }
.tz-res-25 .section-title img { display: block; margin: 0 auto 8px; padding: 0 !important; }
.tz-res-25 .circular { margin: 0 auto; }
@media (min-width: 768px) {
  .tz-res-25 #about-us .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .tz-res-25 #about-us .row > .col-md-8 { grid-column: 1 / -1; }
}
.tz-res-25 .tz-prose { --cert-h: 132px; }
/* The links carry an inline «height: 250px !important», which no stylesheet beats: max-height caps it */
.tz-res-25 .tz-prose a[data-fancybox] { display: inline-block; width: auto !important; max-height: var(--cert-h); margin: 0 8px 8px 0 !important; vertical-align: top; line-height: 0; }
.tz-res-25 .tz-prose a[data-fancybox] img { height: var(--cert-h) !important; width: auto; margin: 0 !important; border-radius: 8px; }
.tz-res-25 .tz-prose a[data-fancybox] + p { margin-top: 16px; }
@media (min-width: 768px) { .tz-res-25 .tz-prose { --cert-h: 190px; } }

.tz input[type="submit"]:not(.btn):not(.tz-btn), .tz button[type="submit"]:not(.btn):not(.tz-btn):not([class]) {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 600 16px var(--font); cursor: pointer;
}
.tz input[type="submit"]:not(.btn):not(.tz-btn):hover { background: var(--brand-hover); }
/* Login, registration, password and profile forms */
.tz-res-163 .tz-prose, .tz-res-172 .tz-prose, .tz-res-173 .tz-prose, .tz-res-174 .tz-prose, .tz-res-175 .tz-prose, .tz-res-176 .tz-prose { max-width: 640px; }
.tz .loginLogin, .tz .loginRegister { margin-right: 14px; }

/* Gallery */
.tz .gallry { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tz .gallry > div { width: auto !important; margin: 0 !important; }
.tz .gallry img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-sm); transition: transform .2s; }
.tz .gallry a:hover img { transform: scale(1.03); }

/* Search results, sitemap, contacts */
.tz .simplesearch-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; }
.tz .simplesearch-result h3 { margin-bottom: 6px; }
.tz .simplesearch-paging { margin: 16px 0; }
.tz .simplesearch-highlight { background: #f6e9a8; }
.tz .socll img { width: 34px; height: 34px; vertical-align: middle; margin-right: 6px; border-radius: 0; }
.tz-res-30 .tz-prose .row { display: grid; gap: 28px; margin: 0; }
.tz-res-30 .tz-prose .row > div { width: auto; float: none; padding: 0; min-width: 0; }
.tz-res-30 .tz-prose .row::before, .tz-res-30 .tz-prose .row::after { display: none; }
@media (min-width: 992px) { .tz-res-30 .tz-prose .row { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* Blog index (resource 223 carries its own bootstrap markup) */
.tz .blogPostCards { display: grid; gap: 20px; }
@media (min-width: 640px) { .tz .blogPostCards { grid-template-columns: 1fr 1fr; } }
.tz .container.content { width: 100%; max-width: 1200px; padding: 20px 16px 0; }
.tz .container.content .row { margin: 0; text-align: left; }
.tz .news-area { padding: 0 0 56px; }
.tz .news-area > .container { width: 100%; max-width: 1200px; padding: 0 16px; }
.tz .panel-body li a img { border-radius: var(--radius-sm); }

/* Login window (theme.js initLoginModal) */
.tz-login .modal-header { border: 0; padding: 18px 20px 0; }
.tz-login .modal-title { font: 600 21px var(--font-head); }
.tz-login__form { padding: 16px 20px 20px; }
.tz-login__submit { width: 100%; margin-top: 4px; }
.tz-login__error { margin: 0 0 12px; padding: 10px 12px; font-size: 15px; }
.tz-login__links { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 0; font-size: 15px; }

/* ---------- 11. Video (component video: snippet Video) ---------- */
.tz-video { margin: 0 0 24px; }
.tz-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--dark); border-radius: var(--radius); overflow: hidden; }
.tz-video--vertical .tz-video__frame { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.tz-video__frame video, .tz-video__frame iframe, .tz-video__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tz-video__frame video { background: #000; }
.tz-video__frame > img { object-fit: cover; }
.tz .tz-video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 45%); }
.tz-video__btn { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: transform .15s, background-color .15s; }
.tz-video__btn::before { content: ""; display: block; margin: 23px 0 0 29px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.tz .tz-video__play:hover .tz-video__btn, .tz .tz-video__play:focus-visible .tz-video__btn { transform: scale(1.06); background: var(--brand-hover); }
.tz-video__src { position: absolute; left: 14px; bottom: 12px; font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.tz-video__caption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.tz-videopage { max-width: 900px; }
.tz-videopage .tz-video { margin-bottom: 28px; }
.tz-vmodal .modal-dialog { width: auto; max-width: 960px; margin: 16px auto; padding: 0 12px; }
.tz-vmodal .modal-content { border: 0; border-radius: var(--radius); }
.tz-vmodal .modal-header { border: 0; padding: 16px 20px 0; }
.tz-vmodal .modal-title { font: 600 20px/1.3 var(--font-head); }
.tz-vmodal .modal-body { padding: 14px 20px 6px; }
.tz-vmodal .tz-video { margin: 0 0 14px; }
.tz-vmodal .tz-video--vertical .tz-video__frame { max-width: min(360px, calc(75vh * 9 / 16)); }
.tz-vmodal .tz-prose { font-size: 16px; }
.tz-vmodal .modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 0; padding: 0 20px 16px; }
.tz-vmodal .modal-footer::before, .tz-vmodal .modal-footer::after { display: none; }
.tz-share .fa { margin-right: 4px; }
.tz-videopage .tz-share { margin: -12px 0 24px; }

.tz-vgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 8px; }
.tz .tz-vcard { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.tz-vcard__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.tz-vcard__media img, .tz-vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tz-vcard__media .tz-video__btn { position: relative; width: 56px; height: 56px; }
.tz-vcard__media .tz-video__btn::before { margin: 18px 0 0 23px; border-width: 10px 0 10px 16px; }
.tz-vcard__src { position: absolute; left: 10px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12.5px; font-weight: 600; }
.tz-vcard__title { font: 600 17px/1.35 var(--font-head); }
.tz .tz-vcard:hover { color: var(--brand); text-decoration: none; }
.tz .tz-vcard:hover .tz-vcard__media img, .tz .tz-vcard:hover .tz-vcard__media video { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tz *, .tz *::before, .tz *::after { animation: none !important; transition: none !important; }
}
@media print {
  .tz-topbar, .tz-header, .tz-drawer, .tz-contact, .tz-footer, .tz-up, .tz-reco, .tz-stickycta, .tz-offer__btns { display: none !important; }
}
