/*
Theme Name: Fenix
Theme URI: https://salon-fenix.ru/
Description: Тема сайта салона красоты FENIX (Санкт-Петербург, м. Старая Деревня). Лёгкая, без конструкторов.
Version: 1.0.0
Author: salon-fenix.ru
Text Domain: fenix
Requires PHP: 8.1
*/

/* ===== Токены ===== */
:root {
  --bg: #f8f4ee;
  --surface: #ffffff;
  --tint: #f1e9de;
  --ink: #2b1d1d;
  --cocoa: #3c2525;
  --muted: #6b5a53;
  --line: #e6dacb;
  --gold: #b48f4f;
  --gold-2: #d6bb83;
  --gold-ink: #8a6a35;
  --dark: #241717;
  --ok: #2f7a4b;
  --err: #a33a2a;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 10px 30px rgba(60, 37, 37, .08);
  --shadow-lg: 0 24px 60px rgba(60, 37, 37, .14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cocoa); text-decoration-color: rgba(60, 37, 37, .3); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cocoa); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }

/* ===== Типографика ===== */
h1, h2, h3, .h2, .h3 { font-family: var(--serif); font-weight: 600; color: var(--cocoa); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
.h2 { font-size: clamp(30px, 4.2vw, 46px); }
.h3, h3 { font-size: clamp(22px, 2.6vw, 28px); }
.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.eyebrow--gold { color: var(--gold-2); }
.prose { max-width: 70ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.2em; }
.prose h3 { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--r-sm); margin: 1em 0; }
.prose--center { margin: 0 auto; text-align: left; }

/* ===== Кнопки ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cocoa); color: #fff; box-shadow: 0 8px 20px rgba(60, 37, 37, .22); }
.btn--primary:hover { background: #4d3030; color: #fff; }
.btn--gold { background: linear-gradient(180deg, #e2c98f, #b48f4f); color: var(--dark); }
.btn--gold:hover { color: var(--dark); filter: brightness(1.05); }
.btn--ghost { background: transparent; color: var(--cocoa); border-color: rgba(60, 37, 37, .3); }
.btn--ghost:hover { background: var(--cocoa); color: #fff; }
.btn--light { background: #fff; color: var(--cocoa); }
.btn--light:hover { background: var(--tint); color: var(--cocoa); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--cocoa); }
.chip:hover { border-color: var(--gold); color: var(--gold-ink); }

/* ===== Шапка ===== */
.topbar { background: var(--cocoa); color: rgba(255, 255, 255, .86); font-size: 13px; }
.topbar__in { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .ic { color: var(--gold-2); }
.topbar .nw { white-space: nowrap; } /* на узких экранах переносится целиком «Сб–Вс 10:00–19:00», а не время пополам */
.topbar__social { margin-left: auto; display: flex; gap: 6px; }
.topbar__social a { color: #fff; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255, 255, 255, .12); color: var(--gold-2); }
.topbar__social .ic-brand { width: 18px; height: 18px; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .25); align-self: center; margin: 0 6px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 238, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo__img { width: 140px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); border-radius: 10px; }
.nav__item > a:hover, .nav__item > a.is-active { color: var(--gold-ink); }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__item--drop:hover .nav__sub, .nav__item--drop:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.nav__sub a:hover { background: var(--tint); }
.nav__mobile-extra { display: none; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--cocoa); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; color: var(--cocoa); }

/* ===== Главный экран ===== */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); background: radial-gradient(1200px 500px at 85% 0%, #efe2cf 0%, rgba(239, 226, 207, 0) 70%); }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(42px, 6.4vw, 78px); margin-bottom: 18px; }
.hero__title span { display: block; font-style: italic; font-weight: 500; color: var(--gold-ink); font-size: .62em; margin-top: 6px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__facts { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); }
.hero__facts strong { display: block; font: 600 24px/1.1 var(--serif); color: var(--cocoa); margin-bottom: 4px; }
.hero__facts span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 220px 220px var(--r) var(--r); box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; left: -16px; bottom: 28px; display: flex; gap: 8px; align-items: center; background: var(--surface); padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; }
.hero__badge .ic { color: var(--ok); }

/* ===== Внутренний первый экран ===== */
.phero { padding: clamp(20px, 3vw, 36px) 0 clamp(32px, 5vw, 60px); background: linear-gradient(180deg, #f3eadf 0%, var(--bg) 100%); }
.phero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.phero--noimg .phero__in { grid-template-columns: 1fr; max-width: 880px; }
.phero__title { font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.phero__lead { font-size: 18px; color: var(--muted); margin: 0 0 18px; max-width: 60ch; }
.phero__price { margin: 0 0 22px; font-size: 18px; color: var(--muted); }
.phero__price strong { font: 600 30px/1 var(--serif); color: var(--cocoa); }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.phero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); }

/* ===== Секции ===== */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section + .section:not(.section--tint):not(.section--dark) { padding-top: 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .82); }
.section--dark .h2 { color: #fff; }

/* Направления */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dir { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.dir:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.dir__img { aspect-ratio: 4/3; background: var(--tint); overflow: hidden; }
.dir__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dir:hover .dir__img img { transform: scale(1.05); }
.dir__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dir__title { font: 600 26px/1.1 var(--serif); color: var(--cocoa); }
.dir__list { font-size: 14px; color: var(--muted); flex: 1; }
.dir__go { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; color: var(--gold-ink); }

/* Подпись — косметология */
.signature__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.signature__text { font-size: 17px; max-width: 58ch; }
.signature__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.signature__cards { display: grid; gap: 12px; }
.sigcard { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 22px; border: 1px solid rgba(214, 187, 131, .35); border-radius: var(--r-sm); text-decoration: none; color: #fff; font: 600 22px/1.2 var(--serif); transition: background .2s, border-color .2s; }
.sigcard small { font: 600 14px/1 var(--sans); color: var(--gold-2); white-space: nowrap; }
.sigcard:hover { background: rgba(214, 187, 131, .08); border-color: var(--gold-2); color: #fff; }

/* Списки с галочками */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--gold); margin-top: 3px; }
.checks--light li { color: rgba(255, 255, 255, .9); }
.checks--light .ic { color: var(--gold-2); }

/* Преимущества */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feat { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.feat__ic { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--tint); color: var(--gold-ink); margin-bottom: 14px; }
.feat__h { font-size: 22px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* Этапы */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.step__n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--cocoa); color: #fff; display: flex; align-items: center; justify-content: center; font: 600 18px/1 var(--serif); }
.step__h { font-size: 20px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Текст + сайдбар */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split__aside { position: sticky; top: 100px; }
.ind { background: var(--surface); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.ind__h { font-size: 24px; }

/* Карточки */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card__img { aspect-ratio: 16/10; background: var(--tint); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card__title { font: 600 23px/1.15 var(--serif); color: var(--cocoa); }
.card__text { font-size: 14px; color: var(--muted); flex: 1; }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.card__price { font-weight: 700; color: var(--cocoa); }
.card__go { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-ink); transition: background .2s, color .2s; }
.card:hover .card__go { background: var(--cocoa); color: #fff; }

/* Карточки акций (страница «Акции»), картинки 1200×750 */
.section--ocards { padding-bottom: 0; }
.ocards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ocards--one { max-width: 640px; }
.ocard { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.ocard__img { position: relative; aspect-ratio: 16/10; background: var(--tint); overflow: hidden; }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocard__img--ph { background: linear-gradient(120deg, #f3e6d1, #fbf7f1); display: flex; align-items: center; justify-content: center; }
.ocard__ph { width: 88px; height: 88px; border-radius: 50%; background: var(--cocoa); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.ocard__ph .ic { width: 40px; height: 40px; }
.ocard__badge { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px; background: var(--cocoa); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.ocard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.ocard__title { font: 600 26px/1.15 var(--serif); color: var(--cocoa); margin: 0; }
.ocard__text { margin: 0; color: var(--muted); flex: 1; }
.ocard__body .btn { margin-top: 6px; }
@media (max-width: 640px) {
  .ocards { grid-template-columns: 1fr; gap: 14px; }
  .ocard__body { padding: 16px 16px 18px; }
  .ocard__title { font-size: 22px; }
  .ocard__body .btn { width: 100%; }
  .ocard__ph { width: 64px; height: 64px; }
  .ocard__ph .ic { width: 28px; height: 28px; }
}

/* Прайс */
.price { background: var(--surface); border-radius: var(--r); padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); margin-bottom: 18px; }
.price__h { font-size: 24px; margin-bottom: 12px; }
.price__h a { text-decoration: none; }
.price__sub { font-weight: 600; color: var(--gold-ink); margin: 14px 0 4px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.price__list { list-style: none; margin: 0; padding: 0; }
.price__row { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.price__row:last-child { border-bottom: 0; }
.price__name { flex: 0 1 auto; }
.price__name small { display: block; color: var(--muted); font-size: 13px; }
.price__dots { flex: 1 1 20px; }
.price__val { flex: none; font-weight: 700; color: var(--cocoa); white-space: nowrap; text-align: right; }
.price__note { font-size: 14px; color: var(--muted); margin: 6px 0 22px; }
.price__cta { text-align: center; }
.psearch { display: block; margin-bottom: 16px; }
.psearch input { width: 100%; min-height: 54px; border-radius: 999px; border: 1px solid var(--line); padding: 0 22px; font: 16px var(--sans); background: var(--surface); }
.psearch input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 143, 79, .15); }
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pgroup { margin-bottom: 40px; }
.pgroup .h2 a { text-decoration: none; }

/* Команда */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.member { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.member__img { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--tint); margin-bottom: 10px; display: block; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member:hover .member__img img { transform: scale(1.04); }
.member__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font: 600 72px/1 var(--serif); color: var(--gold); }
.member__name { font: 600 22px/1.2 var(--serif); color: var(--cocoa); }
.member__role { font-size: 14px; color: var(--muted); }
.mprofile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.mprofile__photo img, .mprofile__photo .member__ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); background: var(--tint); box-shadow: var(--shadow-lg); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border-radius: var(--r-sm); padding: 0 22px; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--sans); color: var(--gold-ink); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0 0 20px; color: var(--muted); }

/* Акция */
.offer { display: flex; align-items: center; gap: 24px; background: linear-gradient(120deg, #f3e6d1, #fbf7f1); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); }
.offer__ic { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--cocoa); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.offer__ic .ic { width: 30px; height: 30px; }
.offer__text { flex: 1; }
.offer__text .h3 { margin: 0; }
/* Подарочные сертификаты (главная) */
.cert { flex-wrap: wrap; }
.cert .offer__text { min-width: 260px; }
.cert__text { margin: 8px 0 0; color: var(--muted); max-width: 560px; }
.cert__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cert__msgr { display: flex; flex-wrap: wrap; gap: 8px; }
.cert__msgr .soc { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; gap: 8px; color: var(--cocoa); font-size: 14px; text-decoration: none; transition: border-color .15s, transform .15s; }
.cert__msgr .soc:hover { border-color: var(--gold-2); transform: translateY(-1px); color: var(--cocoa); }
.cert__msgr .ic-brand { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; box-sizing: border-box; }
.cert__msgr .soc--max .ic-brand { background: linear-gradient(135deg, #22a6ff 0%, #5b3cff 55%, #a23cf0 100%); }
.cert__msgr .soc--whatsapp .ic-brand { background: #25d366; }
.cert__msgr .soc--telegram .ic-brand { background: #2aa3df; padding: 6px 7px 6px 5px; }

/* Призыв */
.cta { background: var(--cocoa); color: rgba(255, 255, 255, .85); padding: clamp(40px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(214, 187, 131, .25), rgba(214, 187, 131, 0) 70%); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.cta__title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.cta__text { margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.cta .btn--primary { background: linear-gradient(180deg, #e2c98f, #b48f4f); color: var(--dark); box-shadow: none; }
.cta__phone { color: #fff; font-weight: 700; text-decoration: none; margin-left: 8px; white-space: nowrap; }
.cta__phone:hover { color: var(--gold-2); }

/* Как добраться */
.visit__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.visit__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.visit__list li { display: flex; gap: 12px; }
.visit__list .ic { color: var(--gold); margin-top: 4px; }
.visit__list small { color: var(--muted); }
.visit__list a { text-decoration: none; font-weight: 600; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map { min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--tint) url("assets/img/map-bg.svg") center/cover; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.visit__mapbtn { border: 0; background: var(--surface); padding: 14px 22px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); color: var(--cocoa); }

/* Формы */
.formcard { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form [hidden] { display: none !important; }
.form__f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cocoa); }
.form__f input, .form__f textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; font: 16px var(--sans); background: #fffdfa; color: var(--ink); }
.form__f input:focus, .form__f textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(180, 143, 79, .15); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.form__check input { margin-top: 3px; accent-color: var(--cocoa); width: 18px; height: 18px; flex: none; }
.form__msg { margin: 0; font-size: 14px; min-height: 1em; }
.form__msg.is-ok { color: var(--ok); font-weight: 600; }
.form__msg.is-err { color: var(--err); }

/* Модалка */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(36, 23, 23, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: var(--bg); border-radius: var(--r); padding: 26px 26px 22px; box-shadow: var(--shadow-lg); animation: pop .22s ease-out; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } }
.modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); color: var(--cocoa); display: flex; align-items: center; justify-content: center; }
.modal__title { font-size: 28px; line-height: 1.1; margin: 0 48px 6px 0; }
.modal__text { color: var(--muted); margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.modal__box .eyebrow { margin-bottom: 6px; }
/* Компактная форма в окне записи: всё на одном экране, без прокрутки */
.modal .form { gap: 10px; }
.modal .form__f { gap: 4px; font-size: 13px; }
.modal .form__f input, .modal .form__f textarea { padding: 10px 14px; }
.modal .form__f textarea { min-height: 0; resize: vertical; }
.modal .form__check { font-size: 12.5px; line-height: 1.4; }
.form__service { margin: 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--tint); font-size: 14px; color: var(--cocoa); }
@media (min-width: 420px) { .modal .form { grid-template-columns: 1fr 1fr; } .modal .form > * { grid-column: 1 / -1; } .modal .form > .form__f:nth-of-type(1), .modal .form > .form__f:nth-of-type(2) { grid-column: auto; } }
.modal__alt { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.modal__alt a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }

/* Подвал */
.footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.logo--light { background: #fbf7f1; padding: 10px 14px; border-radius: var(--r-sm); margin-bottom: 18px; }
.footer__about { margin: 0 0 20px; max-width: 40ch; }
.footer__h { color: #fff; font-size: 22px; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.footer__contacts a { font-weight: 600; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* Мобильная панель */
.mbar { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 520px; margin: 0 auto; display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); padding: 14px 16px; font-size: 13px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .dirs { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; position: relative; z-index: 61; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 88vw); background: var(--bg); box-shadow: var(--shadow-lg); padding: 90px 24px 24px; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .25s, visibility 0s .25s; overflow-y: auto; z-index: 60; }
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  body.nav-open .header { z-index: 70; }
  .nav.is-open { clip-path: inset(0 0 0 -40px); visibility: visible; transition: clip-path .25s; }
  .nav__list { flex-direction: column; }
  .nav__item > a { font-size: 20px; font-family: var(--serif); font-weight: 600; padding: 12px 0; }
  .nav__sub { display: none; }
  .nav__mobile-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(36, 23, 23, .4); z-index: 55; }
  .header__cta { margin-left: auto; position: relative; z-index: 70; }
  .hero__in, .phero__in, .signature__in, .split, .visit__in, .mprofile { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .split__aside { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .cta__actions { justify-content: flex-start; }
  .mprofile__photo { max-width: 380px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 70px; font-size: 15.5px; }
  .topbar__item:nth-child(2) { display: none; }
  .topbar__in { gap: 12px; }
  .header__in { min-height: 64px; gap: 12px; }
  .logo__img { width: 112px; }
  .header__cta .btn { display: none; }
  .dirs, .cards { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .hero__facts li { display: flex; gap: 12px; align-items: baseline; }
  .hero__facts strong { font-size: 20px; min-width: 64px; }
  .hero__media img { border-radius: 160px 160px var(--r) var(--r); }
  .hero__badge { left: 12px; }
  .hero__cta .btn, .phero__cta .btn { flex: 1 1 100%; }
  .offer { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .price__row { flex-wrap: wrap; gap: 4px 10px; }
  .price__dots { display: none; }
  .price__name { flex: 1 1 60%; }
  .price__val { margin-left: auto; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(60, 37, 37, .08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar--two { grid-template-columns: 1fr 1.6fr; }
  .mbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--cocoa); }
  .mbar__book { border: 0; border-radius: 999px; background: var(--cocoa); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 48px; }
  .cookie { bottom: 84px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { border-radius: var(--r) var(--r) 0 0; max-height: 96vh; max-height: 96dvh; padding: 22px 18px calc(16px + env(safe-area-inset-bottom)); }
  .modal__title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.visit__reviews { margin: 0 0 20px; color: var(--muted, #7a6a63); font-size: 15px; }
.visit__reviews a { color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; }
.footer__links { display: flex; gap: 16px; flex-wrap: wrap; }
body.no-mbar { padding-bottom: 0 !important; }

/* ===== Страница «Спасибо» и 404 ===== */
.section--tight { padding: clamp(32px, 5vw, 64px) 0; }
.section--tight + .section { padding-top: 0; }
.thanks { padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(1200px 400px at 50% 0, #efe2cf 0%, var(--bg) 70%); }
.thanks__in { display: flex; justify-content: center; }
.thanks__card { width: 100%; max-width: 760px; background: var(--surface); border-radius: calc(var(--r) + 6px); box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 52px); text-align: center; }
.thanks__mark { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #e2c98f, #b48f4f); color: var(--dark); box-shadow: 0 10px 26px rgba(180, 143, 79, .35); animation: thanks-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.thanks__mark .ic { width: 38px; height: 38px; }
@keyframes thanks-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks__title { font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.thanks__lead { font-size: 18px; color: var(--muted); margin: 0 auto 22px; max-width: 52ch; }
.thanks__lead [data-thanks-when] { color: var(--cocoa); font-weight: 600; }
.thanks__sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 10px; }
.thanks__sum > div { background: var(--tint); border-radius: var(--r-sm); padding: 10px 16px; text-align: left; }
.thanks__sum dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.thanks__sum dd { margin: 2px 0 0; font-weight: 600; color: var(--cocoa); }
.thanks__fix { font-size: 14px; margin: 0 0 6px; }
.thanks__now { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.thanks__now-h { font: 600 20px/1.2 var(--serif); color: var(--cocoa); margin: 0 0 14px; }
.thanks__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.thanks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.thanks__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.thanks__box .visit__list { margin-bottom: 18px; }
.thanks__offer { text-decoration: none; background: var(--dark); border-color: var(--dark); color: rgba(255, 255, 255, .82); transition: transform .2s, box-shadow .2s; }
.thanks__offer:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: rgba(255, 255, 255, .9); }
.thanks__offer .h3 { color: #fff; }
.thanks__offer .muted { color: rgba(255, 255, 255, .72); }
.thanks__offer-ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(214, 187, 131, .16); color: var(--gold-2); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.thanks__offer-ic .ic { width: 24px; height: 24px; }
.thanks__more { margin-top: auto; padding-top: 14px; color: var(--gold-2); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.thanks__social { text-align: center; }
.socials--lg { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.socials--lg a { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--cocoa); display: inline-flex; align-items: center; justify-content: center; }
.socials--lg a:hover { background: var(--cocoa); color: #fff; }
.nf__search { display: flex; gap: 10px; max-width: 520px; margin: 18px 0 6px; }
.nf__search input { flex: 1; min-width: 0; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; padding: 0 20px; font: inherit; background: #fff; }
@media (max-width: 760px) {
  .thanks__grid { grid-template-columns: 1fr; }
  .thanks__btns .btn { width: 100%; }
  .thanks__sum > div { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .thanks__mark { animation: none; } }

/* ===== Подвал: мессенджеры под телефоном, соцсети отдельным блоком (как на taurasfitness.ru) ===== */
.footer__phone { font-size: 17px; }
.footer__msgr { display: flex; gap: 10px; margin: 10px 0 4px; }
.footer__msgr .soc { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: transform .15s, filter .15s; }
.footer__msgr .soc:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.footer__msgr .ic-brand { width: 22px; height: 22px; }
.soc--max { background: linear-gradient(135deg, #22a6ff 0%, #5b3cff 55%, #a23cf0 100%); }
.soc--whatsapp { background: #25d366; }
.soc--telegram { background: #2aa3df; }
.footer__subscribe { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 12px 12px 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.footer__subscribe > span { font-weight: 600; color: #fff; }
.footer__subscribe .footer__social { margin: 0; }
.footer__social .soc { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }
.footer__social .soc--vk { color: #4c8dff; }
.footer__social .soc--youtube { color: #ff4b4b; }
.footer__social .ic-brand { width: 20px; height: 20px; }
.modal__alt .soc { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; color: var(--cocoa); }
.modal__alt .ic-brand { width: 20px; height: 20px; }
.mbar__btn .ic-brand { width: 22px; height: 22px; }

/* ===== Мобильное меню (как на spasol.ru): разделы → плитки → связаться → записаться ===== */
.mm { position: fixed; inset: 0; z-index: 150; background: rgba(36, 23, 23, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.mm[hidden] { display: none; }
.mm__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: mmIn .22s ease-out; border-left: 1px solid rgba(180, 143, 79, .2); }
@keyframes mmIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
body.mm-open { overflow: hidden; }
.mm__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(180, 143, 79, .2); }
.mm__head .logo__img { width: 120px; height: auto; }
.mm__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cocoa); display: inline-flex; align-items: center; justify-content: center; }
.mm__close:hover { background: var(--tint); }
.mm__body { flex: 1; overflow-y: auto; padding: 16px 18px 20px; overscroll-behavior: contain; }
.mm__label { margin: 4px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.mm__groups { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.mm__group { background: var(--surface); border-radius: var(--r); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.mm__ghead { display: flex; align-items: stretch; }
.mm__gtitle { flex: 1; display: grid; gap: 2px; padding: 12px 16px; text-decoration: none; color: var(--ink); min-width: 0; }
.mm__gtitle span { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.15; }
.mm__gtitle small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm__toggle { flex: none; width: 54px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--cocoa); display: inline-flex; align-items: center; justify-content: center; }
.mm__toggle svg { transition: transform .2s; }
.mm__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 14px 14px; }
.mm__chips[hidden] { display: none; }
.mm__chips a { padding: 8px 12px; border-radius: 999px; background: var(--tint); color: var(--cocoa); font-size: 14px; text-decoration: none; }
.mm__chips a.is-all { background: transparent; border: 1px solid var(--gold); color: var(--gold-ink); font-weight: 600; }
.mm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.mm__tile { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface); box-shadow: 0 1px 0 var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.2; }
.mm__tile svg { flex: none; color: var(--gold-ink); }
.mm__tile.is-active { box-shadow: inset 0 0 0 1.5px var(--gold); }
.mm__tile--hot { grid-column: 1 / -1; padding: 14px 18px; background: linear-gradient(120deg, #b48f4f, #8a6a35); color: #fff; box-shadow: 0 10px 24px rgba(138, 106, 53, .3); }
.mm__tile--hot svg { color: #fff; }
.mm__tile--hot span { display: grid; gap: 2px; font-size: 18px; font-weight: 700; flex: 1; }
.mm__tile--hot small { font-size: 13px; font-weight: 500; opacity: .9; }
.mm__tile--hot i { font-style: normal; font-size: 22px; }
.mm__contact { background: var(--dark); color: rgba(255, 255, 255, .85); border-radius: var(--r); padding: 18px; }
.mm__contact .mm__label { color: var(--gold-2); }
.mm__phone { display: block; font-size: 27px; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: .01em; }
.mm__phone2 { display: inline-block; margin-top: 2px; color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 15px; }
.mm__msgr { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.mm__msgr .soc { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; font-size: 14px; }
.mm__msgr .soc:hover { background: rgba(255, 255, 255, .12); }
.mm__addr { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.mm__addr-line { margin: 0 0 4px; color: #fff; font-size: 16px; }
.mm__addr-meta { margin: 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mm__metro { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #8e44ad; color: #fff; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; }
.mm__route { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--gold-2); border-radius: 999px; color: var(--gold-2); text-decoration: none; font-weight: 600; }
.mm__social { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.mm__social > span { font-weight: 600; color: var(--cocoa); }
.mm__social > div { display: flex; gap: 8px; }
.mm__social .soc { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }
.mm__social .soc span { display: none; }
.mm__social .soc--vk { color: #0077ff; }
.mm__social .soc--youtube { color: #e62117; }
.mm__social .ic-brand { width: 20px; height: 20px; }
.mm__sticky { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(180, 143, 79, .2); background: var(--bg); }
@media (max-width: 960px) { .nav { display: none !important; } }
@media (min-width: 961px) { .mm { display: none !important; } }

/* Телефоны: номер переносится только целиком, в тексте — ссылка «позвонить» */
a[href^="tel:"] { white-space: nowrap; }
a.tel { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-2); text-underline-offset: 3px; }
a.tel:hover { color: var(--gold-ink); }
.footer a.tel, .mm__contact a.tel { color: #fff; }

/* ===== Окно «Построить маршрут» (как на taurasfitness.ru) ===== */
.route__box { max-width: 480px; }
.route__addr { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.route__metro { display: inline-flex; align-items: center; gap: 6px; }
.route__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.route__it { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.route__it:hover { background: var(--tint); }
.route__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font: 700 22px/1 var(--sans); color: #fff; }
.route__ic--ya { background: #fc3f1d; }
.route__ic--2gis { background: #1ba136; }
.route__ic--google { background: #4285f4; }
.route__ic--apple { background: #111; }
.route__ic--walk { background: #eef0f3; font-size: 22px; }
.route__ic--taxi { background: #fce000; font-size: 22px; }
.route__t { display: grid; gap: 2px; }
.route__t b { font-size: 16px; }
.route__t small { color: var(--muted); font-size: 13.5px; }
.route__note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
/* Карта сразу на странице (бесплатный виджет Яндекс Карт) + панель с адресом и кнопкой маршрута */
.visit__map { position: relative; display: block; background: var(--tint); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.visit__mapbar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 10px 10px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.visit__mapaddr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.visit__mapaddr span:last-child { display: grid; line-height: 1.25; }
.visit__mapaddr b { font-size: 15px; color: var(--ink); }
.visit__mapaddr small { font-size: 13px; color: var(--muted); }
.visit__mapbar .btn { display: inline-flex; gap: 6px; align-items: center; }
/* Блок «Запишитесь»: телефон, под ним мессенджеры */
.cta__contact { display: grid; gap: 8px; justify-items: start; }
.cta__msgr { margin: 0; }

/* Нижняя панель на телефоне: звонок + все мессенджеры + «Записаться» */
@media (max-width: 640px) {
  .mbar { grid-template-columns: repeat(var(--mbar-n, 2), minmax(0, 1fr)) 1.9fr; gap: 2px; padding-left: 4px; }
  .mbar__btn { gap: 3px; font-size: 10.5px; min-height: 48px; border-radius: 10px; }
  .mbar__btn .ic, .mbar__btn svg { width: 22px; height: 22px; }
  .mbar__btn span { white-space: nowrap; }
  .mbar__btn--max { color: #6a3cf0; }
  .mbar__btn--whatsapp { color: #1fa855; }
  .mbar__btn--telegram { color: #229ed9; }
  .mbar__btn span { color: var(--cocoa); }
  .mbar__book { font-size: 15px; padding: 0 10px; }
}

.visit__ymap { width: 100%; height: 420px; }
.visit__ymap > ymaps, .visit__ymap > div { width: 100% !important; }

/* Карта Конструктора: плашка адреса полностью закрывает рекламный блок Яндекса
   (он внизу карты, высотой ~80px над строкой «© Яндекс»). Строку «© Яндекс / Условия» оставляем видимой. */
.visit__map:has(.visit__ymap) .visit__mapbar { left: 4px; right: 4px; bottom: 22px; min-height: 116px; z-index: 5; background: #fff; align-content: center; }
/* Карта растягивается на всю высоту рамки (раньше под ней оставалась пустая полоса и плашка «съезжала» вниз мимо рекламы).
   Реклама Яндекса — до ~100px над низом карты, строка «© Яндекс» — нижние ~24px: плашка 26…138px от низа.
   С 641px (планшет, две колонки): рамка выше карты 420px — без растяжки реклама оставалась над плашкой (19.11). */
@media (min-width: 641px) {
  .visit__map:has(.visit__ymap) { display: flex; flex-direction: column; }
  .visit__map:has(.visit__ymap) .visit__ymap { flex: 1 1 auto; min-height: 420px; height: auto; }
  .visit__map:has(.visit__ymap) .visit__ymap iframe { height: 100% !important; min-height: 420px; }
}


/* ===================================================================
   Пересборка 18.11 по образцу spasol.ru
   Шрифты (18.11): Playfair Display — заголовки (контрастная антиква, крупный очко, читается лучше Cormorant),
   Onest — текст (гротеск, сделан под кириллицу). OFL, файлы на своём хостинге (assets/fonts), без Google.
   Мелкие заголовки (карточки, мастера, преимущества, шаги) — Onest: на малом кегле читается лучше засечек.
   =================================================================== */
:root {
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body { line-height: 1.6; }
h1, h2, h3, .h2, .h3 { font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: .5em; }
.h3, h3 { font-size: clamp(21px, 2.2vw, 25px); }
.hero__title { font-size: clamp(38px, 5.2vw, 64px); }
.hero__title span { font-weight: 500; font-size: .56em; margin-top: 8px; }
.phero__title { font-size: clamp(32px, 4.2vw, 50px); }
.phero__price strong { font-size: 26px; font-weight: 600; }
.cta__title { font-size: clamp(26px, 3vw, 36px); }
.sigcard { font: 500 19px/1.25 var(--serif); }
.member__ph { font-size: 56px; }
.thanks__now-h { font-size: 18px; }
.mm__gtitle span { font-size: 18px; font-weight: 600; }
.btn { font-weight: 600; letter-spacing: .005em; }
.nav__item > a { font-weight: 500; }
.eyebrow { font-size: 12.5px; letter-spacing: .14em; font-weight: 700; }
.card__title, .dir__title, .member__name, .feat__h, .step__h, .ind__h { font-family: var(--sans); letter-spacing: -.01em; }
.card__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.dir__title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.member__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.member__role { font-size: 14px; line-height: 1.4; }
.feat__h { font-size: 17px; font-weight: 700; line-height: 1.3; }
.step__h { font-size: 17px; font-weight: 700; line-height: 1.3; }
.ind__h { font-size: 18px; font-weight: 700; }
.card__text, .dir__list { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.dir__list { flex: 0 1 auto; }
.dir__body { gap: 6px; padding: 16px 18px 18px; }
.dir__go { margin-top: auto; padding-top: 4px; }
.card__body { gap: 6px; padding: 16px 18px 18px; }
.card__price { font-size: 16px; }

/* ---------- Слайдер ---------- */
.sl { position: relative; }
.sl__track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 22px; margin: -6px -2px -10px; scroll-padding-inline: 2px; }
.sl__track::-webkit-scrollbar { display: none; }
.sl__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sl__track > * { flex: 0 0 var(--sl-w, 300px); scroll-snap-align: start; min-width: 0; }
.sl__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.sl__count { font: 500 15px/1 var(--sans); color: var(--muted); letter-spacing: .04em; }
.sl__count b { font: 600 24px/1 var(--serif); color: var(--gold-ink); margin-right: 2px; }
.sl__arrows { display: flex; gap: 10px; }
.sl__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--cocoa); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(60, 37, 37, .06); transition: background .2s, color .2s, opacity .2s; }
.sl__btn:hover:not(:disabled) { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.sl__btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.sl.is-static .sl__nav { display: none; }
.sl.is-static .sl__track { padding-bottom: 6px; }

.sl--dirs { --sl-w: calc((100% - 3 * 18px) / 4); }
.sl--cards { --sl-w: calc((100% - 3 * 18px) / 4); }
.sl--team { --sl-w: min(calc((100% - 4 * 18px) / 5), 30vh); }
.sl--cards .card__img { aspect-ratio: 4/3; }
.sl--dirs .dir__img { aspect-ratio: 4/3; }
.member__img { aspect-ratio: 4/5; margin-bottom: 8px; }
.member__img img { object-position: 50% 22%; }
.member { gap: 2px; }

/* ---------- Первый экран: факты панелью ---------- */
.hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .7); overflow: hidden; }
.hero__facts li { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.hero__facts li + li { border-left: 1px solid var(--line); }
.hero__facts strong { font: 600 26px/1 var(--serif); margin: 0; white-space: nowrap; }
.hero__facts span { font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ---------- Компактнее по высоте (каждый блок — в один экран) ---------- */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.feat { padding: 22px; }
.feat__ic { width: 40px; height: 40px; margin-bottom: 12px; }
.feat p, .step p { font-size: 14.5px; line-height: 1.5; }
.step { padding: 18px; }

@media (max-width: 1100px) {
  .sl--dirs, .sl--cards { --sl-w: calc((100% - 2 * 18px) / 3); }
  .sl--team { --sl-w: min(calc((100% - 3 * 18px) / 4), 30vh); }
  .dirs { grid-template-columns: unset; }
}
@media (max-width: 960px) {
  .sl--dirs, .sl--cards { --sl-w: calc((100% - 18px) / 2.2); }
  .sl--team { --sl-w: min(calc((100% - 2 * 18px) / 3.2), 32vh); }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .h2 { font-size: clamp(25px, 6.6vw, 30px); }
  .phero__title { font-size: clamp(28px, 8vw, 34px); }
  /* лента до краёв экрана: следующая карточка «выглядывает» — понятно, что можно листать */
  .sl__track { gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .sl--dirs { --sl-w: 76%; }
  .sl--cards { --sl-w: 76%; }
  .sl--team { --sl-w: min(58%, 30vh); }
  .sl__btn { width: 44px; height: 44px; }
  .sl__count b { font-size: 22px; }
  .card__text { -webkit-line-clamp: 2; font-size: 13.5px; }

  /* первый экран: фото ниже и шире, факты — три колонки */
  .hero { padding: 20px 0 36px; }
  .hero__title { font-size: clamp(32px, 9vw, 40px); margin-bottom: 12px; }
  .hero__lead { font-size: 16px; margin-bottom: 20px; }
  .hero__cta { margin-bottom: 18px; gap: 10px; }
  .hero__cta .btn { min-height: 50px; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .hero__facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 10px 12px 12px; }
  .hero__facts strong { font-size: 21px; min-width: 0; }
  .hero__facts span { font-size: 11.5px; line-height: 1.3; }
  .hero__media { max-width: none; }
  .hero__media img { aspect-ratio: 16/11; border-radius: 120px 120px var(--r) var(--r); }

  /* преимущества и этапы — плотным списком: значок слева, текст справа */
  .feats, .steps { grid-template-columns: 1fr; gap: 10px; }
  .feat { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; }
  .feat__ic { width: 36px; height: 36px; margin: 0; grid-row: span 2; }
  .feat__ic .ic { width: 18px; height: 18px; }
  .feat__h { margin: 0 0 2px; font-size: 16px; }
  .feat p { font-size: 14px; }
  .step { padding: 14px 16px; gap: 12px; }
  .step__n { width: 32px; height: 32px; font-size: 16px; }
  .step__h { font-size: 16px; }

  /* каталог услуг в разделе — строки: фото слева, название и цена справа */
  .cards { gap: 10px; }
  .cards .card { flex-direction: row; align-items: stretch; }
  .cards .card__img { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; }
  .cards .card__body { padding: 12px 14px; gap: 4px; }
  .cards .card__title { font-size: 16px; }
  .cards .card__text { font-size: 13px; -webkit-line-clamp: 2; }
  .cards .card__foot { margin-top: 2px; }
  .cards .card__go { width: 30px; height: 30px; }

  /* страница «Наша команда» — две колонки */
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .member__name { font-size: 16px; }
  .member__role { font-size: 13px; }

  /* тёмный блок косметологии */
  .signature__text { font-size: 15.5px; }
  .signature__cta { margin-top: 20px; }
  .sigcard { padding: 14px 16px; font-size: 17px; }

  /* карта */
  .visit__ymap, .visit__map iframe { height: 340px !important; min-height: 340px; }
}

/* Пересборка 18.11, шаг 2: телефон — кнопки ровными рядами, акции и тёмный блок компактнее */
@media (max-width: 640px) {
  .hero__facts span { text-wrap: balance; }
  .signature__cta .btn { flex: 1 1 100%; }
  .signature__cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sigcard { flex-direction: column; align-items: flex-start; gap: 6px; }
  .offer { display: grid; grid-template-columns: 48px 1fr; gap: 6px 14px; align-items: center; }
  .offer__ic { width: 48px; height: 48px; }
  .offer__ic .ic { width: 22px; height: 22px; }
  .offer__text .eyebrow { margin-bottom: 4px; }
  .offer__text .h3 { font-size: 19px; }
  .offer > .btn { grid-column: 1 / -1; margin-top: 10px; width: 100%; }
  .cert__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; margin-top: 10px; }
  .cert__btns > .btn { width: 100%; }
  .cert__msgr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cert__msgr .soc { flex-direction: column; justify-content: center; border-radius: var(--r-sm); padding: 8px 4px; gap: 4px; font-size: 13px; min-width: 0; }
  .cert__msgr .soc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cert .offer__text { min-width: 0; }
  .visit__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .visit__btns .btn { padding: 0 12px; font-size: 14px; min-height: 48px; }
  .visit__list { gap: 12px; margin-bottom: 18px; }
  .visit__ymap, .visit__map iframe { height: 320px !important; min-height: 320px; }
}
@media (max-width: 640px) {
  .phero__media img { aspect-ratio: 16/10; }
  .price { padding: 6px 16px 10px; }
  .price__row { padding-block: 10px; font-size: 14.5px; line-height: 1.4; }
  .price__val { font-size: 15px; }
}

/* ---------- Отзывы гостей (18.11): рейтинги слева, виджет Яндекс Карт справа ---------- */
.reviews__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.reviews__in--solo { grid-template-columns: 1fr; max-width: 760px; }
.reviews__text { color: var(--muted); font-size: 16.5px; max-width: 46ch; margin: 0 0 22px; }
.rvagg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.rvagg__it { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.rvagg__it:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.rvagg__src { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rvagg__row { display: flex; align-items: center; gap: 10px; }
.rvagg__score { font: 600 34px/1 var(--serif); color: var(--cocoa); }
.rvagg__stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; }
.rvagg__stars::before { content: "★★★★★"; background: linear-gradient(90deg, #e2a93b calc(var(--v) / 5 * 100%), #dcd2c6 0); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: Arial, sans-serif; }
.rvagg__count { font-size: 13px; color: var(--muted); }
.reviews__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews__widget { height: 600px; max-height: calc(100vh - 140px); min-height: 460px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.reviews__widget iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) {
  .reviews__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reviews__text { font-size: 15px; margin-bottom: 16px; }
  .rvagg { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
  .rvagg__it { padding: 12px 14px; }
  .rvagg__score { font-size: 28px; }
  .rvagg__stars { font-size: 13px; letter-spacing: 1px; }
  .rvagg__count { font-size: 12px; }
  .reviews__cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .reviews__widget { height: 520px; min-height: 0; max-height: none; }
}
@media (max-width: 640px) {
  .reviews__cta .btn--ghost { display: none; } /* в виджете Яндекса есть «Больше отзывов на Яндекс Картах» */
  .rvagg__count { line-height: 1.3; }
}

/* Телефоны (18.11): городской первым, мобильный под ним + мессенджеры; все номера одного размера */
.footer__contacts .footer__phone { font-size: 17px; font-weight: 600; }
.mm__phone { font-size: 24px; line-height: 1.3; }
.mm__phone + .mm__phone { margin-top: 2px; }
.visit__list a[href^="tel:"] { font-size: 16px; font-weight: 600; }
.mm__phone { font-size: 21px; font-weight: 600; letter-spacing: .01em; line-height: 1.35; }
.mm__phone + .mm__phone { margin-top: 4px; }
.mm__phone + .mm__msgr { margin-top: 14px; }

/* ---------- Планшеты и узкие окна 641–960 px (18.11): без пустот справа и вытянутых фото ---------- */
@media (min-width: 641px) and (max-width: 960px) {
  .hero__in { gap: 28px; }
  .hero__media { max-width: none; width: 100%; }
  .hero__media img { aspect-ratio: 16/8; border-radius: var(--r); }
  .hero__badge { left: 16px; bottom: 16px; }
  .hero__facts { max-width: 640px; }
  .phero__media img { aspect-ratio: 16/8; }
  .phero__in { gap: 24px; }
  /* отзывы и «Как нас найти» — две колонки, как на компьютере */
  .reviews__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
  .reviews__widget { height: 560px; max-height: none; }
  .rvagg { grid-template-columns: 1fr; }
  .reviews__cta .btn { flex: 1 1 100%; }
  .visit__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
  .visit__btns .btn { flex: 1 1 100%; }
  .signature__in { gap: 28px; }
  .signature__cards { grid-template-columns: 1fr 1fr; }
  .mprofile { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .mprofile__photo { max-width: none; }
  .split { grid-template-columns: 1fr; }
  .cta__in { flex-direction: row; align-items: center; }
}
/* Ноутбуки 961–1100 px: шапка без переносов */
@media (min-width: 961px) and (max-width: 1100px) {
  .nav__item > a { padding: 10px 8px; font-size: 14.5px; }
  .header__in { gap: 16px; }
}

/* Городской телефон в верхней полосе (18.11) */
.topbar__phone { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; font-size: 13.5px; letter-spacing: .01em; }
.topbar__phone .ic { color: var(--gold-2); }
.topbar__phone:hover { color: var(--gold-2); }
.topbar__phone ~ .topbar__social { margin-left: 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); }
@media (max-width: 760px) { .topbar__phone { display: none; } .topbar__phone ~ .topbar__social { margin-left: auto; padding-left: 0; border-left: 0; } }

/* «Наша команда» по направлениям (18.11) */
.tgroup + .tgroup { margin-top: clamp(32px, 4vw, 48px); }
.tgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tgroup__head .h3 { margin: 0; }
.tgroup__head small { font: 600 14px/1 var(--sans); color: var(--gold-ink); vertical-align: middle; margin-left: 6px; }
.tgroup__link { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--gold-ink); white-space: nowrap; }
.tgroup .team { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.member__lead { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mprofile__photo img, .mprofile__photo .member__ph { max-width: 420px; }
@media (max-width: 640px) {
  .tgroup .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member__lead { display: none; }
}

/* Трубка в верхней полосе (≤760px, где номер скрыт) → окошко выбора номера (18.11) */
.tcall { display: none; position: relative; }
.tcall__btn { width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-2); color: var(--cocoa); cursor: pointer; }
.tcall__btn .ic { width: 15px; height: 15px; }
.tcall__btn[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.tcall__pop { position: absolute; top: calc(100% + 10px); right: -8px; z-index: 300; width: min(290px, calc(100vw - 32px)); background: #fff; color: var(--ink, #2b1f1b); border-radius: 18px; padding: 14px; box-shadow: 0 18px 50px rgba(43, 25, 20, .28); }
.tcall__pop::before { content: ""; position: absolute; top: -6px; right: var(--ax, 17px); width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.tcall__pop[hidden] { display: none; }
.tcall__title { margin: 2px 4px 10px; font-family: var(--serif, inherit); font-size: 18px; color: var(--cocoa); }
.tcall__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: inherit; background: #f6f0ea; }
.tcall__item + .tcall__item { margin-top: 8px; }
.tcall__item .ic { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--cocoa); color: var(--gold-2); }
.tcall__item b { display: block; font-size: 17px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.tcall__item small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.tcall__item:hover, .tcall__item:focus-visible { background: #efe5dc; }
@media (max-width: 760px) {
  .tcall { display: block; margin-left: auto; position: static; }
  .tcall__pop { right: 12px; top: calc(100% + 4px); }
  .tcall ~ .topbar__social { margin-left: 0; }
  .topbar__in { position: relative; }
}

.tcall__item--m { display: block; }
.tcall__tel { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.tcall__msgr { display: flex; gap: 8px; margin: 8px 0 0 48px; }
.tcall__msgr a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; }
.tcall__msgr .ic-brand { width: 20px; height: 20px; }

/* «Как нас найти»: мессенджеры под мобильным номером */
.visit__msgr { display: flex; gap: 8px; margin-top: 8px; }
.visit__msgr a { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; }
.visit__msgr .ic-brand { width: 20px; height: 20px; }

/* Значки мессенджеров (как на taurasfitness.ru): белый знак на фирменном круге — везде одинаково */
.soc--badge, .soc--badge:hover { color: #fff !important; }
.soc--badge.soc--telegram .ic-brand { transform: translateX(-1px); }

/* Окно записи: мессенджеры — «таблетки»: фирменный круг с белым знаком + название (18.11) */
.modal__alt { display: block; }
.modal__alt > span { display: block; margin-bottom: 10px; }
.modal__msgr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.modal__msgr .soc { background: #fff !important; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 5px; gap: 8px; color: var(--cocoa); font-size: 14px; min-width: 0; transition: border-color .15s, transform .15s; }
.modal__msgr .soc:hover { border-color: var(--gold-2); transform: translateY(-1px); }
.modal__msgr .soc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal__msgr .ic-brand { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; box-sizing: border-box; }
.modal__msgr .soc--max .ic-brand { background: linear-gradient(135deg, #22a6ff 0%, #5b3cff 55%, #a23cf0 100%); }
.modal__msgr .soc--whatsapp .ic-brand { background: #25d366; }
.modal__msgr .soc--telegram .ic-brand { background: #2aa3df; padding: 6px 7px 6px 5px; }
@media (max-width: 400px) { .modal__msgr { grid-template-columns: 1fr 1fr; } }

/* ===== Единые вертикальные отступы (19.11) =====
   Шаг между блоками один: --sec (84px на ПК → 40px на телефоне).
   Соседние блоки одного фона «склеиваются» (между ними один шаг, а не два);
   после блока с фоном следующий светлый блок получает полный верхний отступ (раньше текст прилипал к краю фона).
   Первый/последний элемент внутри блока не добавляет своих полей сверх шага. */
:root { --sec: clamp(44px, 6vw, 84px); }
@media (max-width: 640px) { :root { --sec: 40px; } }
.section { padding-top: var(--sec); padding-bottom: var(--sec); }
.section + .section:not(.section--tint):not(.section--dark) { padding-top: 0; }
.section--tint + .section:not(.section--tint):not(.section--dark),
.section--dark + .section:not(.section--tint):not(.section--dark),
.cta + .section:not(.section--tint):not(.section--dark) { padding-top: var(--sec); }
.section--tint + .section--tint, .section--dark + .section--dark { padding-top: 0; }
.prose > :first-child, .section .wrap > :first-child, .tgroup:first-child, .tgroup:first-child > :first-child { margin-top: 0; }
.prose > :last-child, .section .wrap > :last-child, .faq__item:last-child > p:last-child { margin-bottom: 0; }

/* Длинные кнопки («Записаться на наращивание и моделирование») на узких экранах переносятся, а не вылезают за край (19.11) */
@media (max-width: 640px) { .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; } }

/* 19.11: на телефоне рамка карты = высоте карты (было 380px при карте 320–340px — плашка сидела на 60px ниже рекламы и закрывала «© Яндекс»). */
@media (max-width: 640px) {
  .visit__map:has(.visit__ymap) { min-height: 0; }
}

/* 19.11: компактный подвал. Телефон: «Услуги» и «Салон» рядом, логотип и контакты на всю ширину. 641–1100: логотип сверху, ниже три колонки (Услуги / Салон / Контакты). */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer { padding-top: 44px; }
  .footer__grid { gap: 26px 16px; }
  .footer__about { margin-bottom: 16px; }
  .footer__h { font-size: 19px; margin-bottom: 10px; }
  .footer__list:not(.footer__contacts) { gap: 8px; font-size: 14.5px; line-height: 1.35; }
  .footer__bottom { margin-top: 32px; padding-top: 22px; padding-bottom: 22px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid > :last-child:not(:first-child) { grid-column: auto; }
  .footer__grid > :first-child { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; align-items: center; }
  .footer__grid > :first-child .footer__about { margin: 0; max-width: 52ch; grid-column: 2; grid-row: 1 / span 2; }
  .footer__grid > :first-child .btn { grid-column: 1; justify-self: start; }
  .footer__subscribe { gap: 8px; padding: 8px 8px 8px 14px; font-size: 14px; }
}
