/* ===== Evolution — внутренние страницы, попапы ===== */

/* Шапка на светлых страницах (404, «Спасибо», статья) */
.header-dark .site-header { color: var(--ink); background: transparent; }
.header-dark .site-header .site-logo img { filter: brightness(0) saturate(100%) invert(9%) sepia(4%) saturate(500%) hue-rotate(10deg); }
.header-dark .site-header .site-header__cta { background: var(--ink); color: var(--cream); }
.header-dark .site-header .lang { color: var(--ink); }
.header-dark .site-header.is-scrolled { background: rgba(245, 234, 216, .96); }
body:not(.has-hero) .site-header { background: transparent; }
.header-dark .site-header.is-scrolled { background: rgba(245, 234, 216, .96); }

/* Появление картинок «шторкой» на внутренних страницах */
.js .page-inner .img-mask, .js .page-inner .img-mask > img { transition: transform 1.3s cubic-bezier(.76, 0, .24, 1); }
.js .page-inner:not(.has-fx) .img-mask:not(.is-in) { transform: translate3d(-100%, 0, 0); }
.js .page-inner:not(.has-fx) .img-mask:not(.is-in) > img { transform: translate3d(100%, 0, 0); }
.js .page-inner [data-reveal].is-in, .js .page-inner [data-reveal-text].is-in { opacity: 1; transform: none; }
.link-line--dark { color: var(--ink); }
.icon-btn--dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.icon-btn--dark:hover { background: var(--brown); }
.muted { color: var(--brown); }

/* ---------- Первый экран внутренних страниц ---------- */
.phero {
	position: relative; min-height: max(620px, 100svh); max-height: 1000px; display: flex;
	color: var(--light); background: #3a332d var(--bg) center / cover no-repeat; overflow: hidden;
}
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 24, 20, .5), rgba(28, 24, 20, .35) 40%, rgba(28, 24, 20, .55)); }
.phero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(130px, 18vh, 180px); padding-bottom: 72px; }
.phero__title { font-size: clamp(56px, 8.4vw, 124px); line-height: 1.04; letter-spacing: -.015em; margin: 0; }
.phero__l2 { padding-left: .9em; }
.phero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 48px; }
.phero__sub { max-width: 380px; font-size: 15px; line-height: 1.45; }
.phero--split .phero__inner { justify-content: center; }
.phero--split .phero__bottom { position: absolute; right: var(--gut); top: 44%; transform: translateY(-50%); margin: 0; width: min(520px, 42%); flex-direction: column; align-items: flex-start; }
.phero--split .phero__title { font-size: clamp(64px, 9vw, 136px); }
.phero--split .phero__l2 { padding-left: 0; }
.phero__lead { font-size: 17px; line-height: 1.4; margin-bottom: 40px; max-width: 430px; }
.phero--split .btn-row { flex-wrap: nowrap; }
.phero .btn-row { gap: 12px; }

/* ---------- Направление ---------- */
.dintro { padding: 140px 0 120px; overflow: hidden; }
.dintro__title { font-size: clamp(56px, 7.6vw, 110px); line-height: 1; margin-bottom: 72px; }
.dintro__title span { display: inline-block; padding-left: 2.4em; }
.dintro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dintro__pics { position: relative; padding-bottom: 120px; }
.dintro__p1 { width: 82%; aspect-ratio: 560 / 640; }
.dintro__p2 { position: absolute; right: 0; bottom: 0; width: 45%; aspect-ratio: 300 / 380; outline: 10px solid var(--cream); }
.dintro__text { display: grid; grid-template-columns: 1fr; padding-top: 4px; }
.dintro__lead p { font-size: 18px; line-height: 1.45; margin: 0 0 1em; max-width: 480px; }
.dintro__sub { font-size: 15px; line-height: 1.45; color: var(--brown); max-width: 480px; margin-bottom: 56px; }
.dintro__p3 { justify-self: end; width: 360px; max-width: 100%; aspect-ratio: 360 / 260; margin-bottom: 120px; }
.dintro__btn { justify-self: end; width: 360px; max-width: 100%; }
.dprices { margin-top: 96px; padding-top: 32px; border-top: 1px solid rgba(28, 28, 27, .2); display: grid; grid-template-columns: 1fr 2fr; gap: 24px 60px; }
.dprices__label { font-size: 12px; text-transform: uppercase; color: var(--brown); padding-top: 4px; }
.dprices__table { max-width: none; margin: 0; color: var(--ink); }
.dprices__table th { color: var(--brown); }
.dprices__table td { border-top-color: rgba(28, 28, 27, .18); }
.dprices__note { grid-column: 2; font-size: 12px; color: var(--brown); }

.daud { background: var(--brown); color: var(--cream); padding: 150px 0; }
.daud__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.daud__title { font-size: clamp(34px, 3vw, 44px); line-height: 1.12; max-width: 260px; }
.daud__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.daud__card { background: var(--cream); color: var(--ink); display: flex; flex-direction: column; }
.daud__card .img-mask { aspect-ratio: 300 / 320; }
.daud__body { padding: 24px 24px 32px; }
.daud__body h3 { font-size: 28px; line-height: 1.1; margin: 0 0 16px; }
.daud__body p { font-size: 14px; line-height: 1.45; margin: 0; }

.dcoach { background: linear-gradient(160deg, #ebe7e1 0%, #d8d2ca 100%); overflow: hidden; }
.dcoach__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 840px; padding-top: 64px; }
.dcoach__name { font-size: clamp(64px, 8vw, 116px); line-height: .98; position: relative; z-index: 2; }
.dcoach__name span { color: #a1988c; }
.dcoach__exp { justify-self: end; text-align: right; font-size: clamp(64px, 8vw, 116px); line-height: .95; position: relative; z-index: 2; }
.dcoach__photo { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 82%; width: auto; max-width: 60%; object-fit: contain; object-position: bottom; z-index: 1; }
.dcoach__info { align-self: end; width: 340px; padding-bottom: 60px; position: relative; z-index: 2; }
.dcoach__info dl { margin: 0 0 40px; }
.dcoach__info dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(28, 28, 27, .25); font-size: 14px; }
.dcoach__info dl div:last-child { border-bottom: 1px solid rgba(28, 28, 27, .25); }
.dcoach__info dt { font-size: 12px; }
.dcoach__info dd { margin: 0; text-align: right; }
.dcoach__info .btn { width: 100%; gap: 12px; }
.dcoach__quote { align-self: end; justify-self: end; text-align: right; padding-bottom: 96px; max-width: 360px; position: relative; z-index: 2; }
.dcoach__leads { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.dcoach__quote .h-serif { font-size: 28px; line-height: 1.15; }

.faq { padding: 150px 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq__title { font-size: clamp(42px, 4.4vw, 64px); line-height: 1.08; max-width: 480px; }
.faq__item { border-bottom: 1px solid rgba(28, 28, 27, .25); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.faq__q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q i::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { font-size: 15px; line-height: 1.5; max-width: 520px; padding-bottom: 24px; margin: 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- О нас ---------- */
.amanifest { padding: 140px 0 100px; }
.amanifest__big { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.15; max-width: 720px; margin-bottom: 120px; }
.amanifest__row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.amanifest__img { justify-self: end; width: 305px; aspect-ratio: 305 / 300; margin-top: 0; }
.amanifest__text { max-width: 380px; padding-left: 10%; }
.amanifest__text p { font-size: 15px; line-height: 1.45; margin: 0 0 20px; }
.amanifest__text .link-line { margin-top: 24px; }
.aformats { padding: 0 0 140px; }
.aformats__grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; border-top: 1px solid rgba(28, 28, 27, .25); padding-top: 56px; }
.aformats__side { display: flex; flex-direction: column; justify-content: space-between; }
.aformats__side p { font-size: 15px; line-height: 1.45; max-width: 280px; }
.aformats__nav { display: flex; gap: 12px; }
.aformats__rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
.aformats__rail::-webkit-scrollbar { display: none; }
.aformats__item { flex: 0 0 305px; scroll-snap-align: start; position: relative; }
.aformats__img { display: block; aspect-ratio: 305 / 400; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.aformats__item:hover .aformats__img { transform: scale(.97); }
.aformats__name { display: block; font-size: 14px; margin-top: 12px; }
.aatmo { padding: 0 0 140px; }
.aatmo__grid { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; gap: 0 60px; }
.aatmo__big { grid-row: 1 / 3; aspect-ratio: 660 / 620; }
.aatmo__text { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; max-width: 420px; padding-top: 40px; padding-left: 10%; }
.aatmo__small { align-self: end; justify-self: end; width: 240px; aspect-ratio: 240 / 300; }
.aphilo { background: var(--brown); color: var(--cream); padding: 64px 0 64px; }
.aphilo__top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 140px; }
.aphilo__title { font-size: clamp(48px, 5vw, 72px); line-height: 1.05; }
.aphilo__lead { font-size: 20px; line-height: 1.35; margin-bottom: 12px; max-width: 460px; }
.aphilo__text p:not(.aphilo__lead) { font-size: 14px; line-height: 1.45; max-width: 460px; opacity: .85; }
.aphilo__text .link-line { margin-top: 28px; color: var(--cream); }
.aphilo__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.aphilo__stats strong, .aphilo__stats b { font: 300 clamp(48px, 5vw, 72px)/1 var(--sans); letter-spacing: -.02em; }
.aphilo__stats span { display: block; font-size: 12px; opacity: .7; margin-top: 16px; }
.awide { height: min(90vh, 820px); overflow: hidden; position: relative; }
.awide__img { position: absolute; inset: -10% 0; background: var(--bg) 50% 35% / cover no-repeat; will-change: transform; transform: scale(1.15); }
.aspace { background: #b9ae9f; padding: 120px 0 100px; overflow: hidden; }
.aspace__head { text-align: center; margin-bottom: 48px; }
.aspace__head p { max-width: 520px; margin: 18px auto 0; font-size: 15px; line-height: 1.45; color: var(--brown); }
.aspace__stage { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; }
.aspace__track { position: relative; flex: 1; height: 560px; }
.aspace__slide { position: absolute; left: 50%; top: 50%; width: 560px; height: 550px; margin: 0; cursor: pointer; transition: transform .9s var(--ease), opacity .6s, width .9s var(--ease), height .9s var(--ease); transform: translate(-50%, -50%); }
.aspace__slide img { width: 100%; height: 100%; object-fit: cover; }
.aspace__slide[data-pos="0"] { z-index: 3; cursor: default; }
.aspace__slide[data-pos="-1"], .aspace__slide[data-pos="1"] { width: 260px; height: 350px; z-index: 2; }
.aspace__slide[data-pos="-1"] { transform: translate(calc(-50% - 470px), -50%); }
.aspace__slide[data-pos="1"] { transform: translate(calc(-50% + 470px), -50%); }
.aspace__slide[data-pos="-2"], .aspace__slide[data-pos="2"] { width: 200px; height: 270px; opacity: 0; z-index: 1; }
.aspace__slide[data-pos="-2"] { transform: translate(calc(-50% - 760px), -50%); }
.aspace__slide[data-pos="2"] { transform: translate(calc(-50% + 760px), -50%); }
.aspace__arrow { position: relative; z-index: 4; }
.aspace__caption { text-align: center; margin-top: 32px; }
.aspace__count { font-size: 12px; font-weight: 500; }
.aspace__caption h3 { font-size: 40px; margin: 20px 0 14px; }
.aspace__caption p { max-width: 480px; margin: 0 auto; font-size: 15px; line-height: 1.45; color: var(--brown); }
.aspace__caption .is-swap { opacity: 0; transform: translateY(8px); }
.aspace__caption h3, .aspace__caption p { transition: opacity .25s, transform .25s; }

/* ---------- Контакты ---------- */
.cinfo { padding: 140px 0 120px; }
.cinfo__big { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.18; padding-right: 30% !important; padding: 28px 0; border-top: 1px solid rgba(28, 28, 27, .25); border-bottom: 1px solid rgba(28, 28, 27, .25); margin-bottom: 40px; }
.cinfo__indent { display: inline-block; padding-left: 47%; }
.cinfo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.cinfo__img { justify-self: center; width: 260px; aspect-ratio: 260 / 340; }
.cinfo__group { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(28, 28, 27, .2); }
.cinfo__label { font-size: 11px; font-weight: 500; text-transform: uppercase; padding-top: 18px; }
.cinfo__group ul { display: flex; flex-direction: column; gap: 6px; }
.cinfo__group li { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #faf6ee; padding: 14px 16px; font-size: 14px; }
.cinfo__group li span { font-size: 12px; color: var(--brown); }
.cinfo__group li b { font-weight: 400; text-align: right; }
.cinfo__group li a { display: inline-flex; gap: 8px; align-items: center; text-align: right; }
.cinfo__group li a:hover { color: var(--brown); }
.cinfo__btn { margin: 8px 0 0 auto; display: flex; width: fit-content; }
.cmap { position: relative; height: min(830px, 100vh); overflow: hidden; background: #e8e6e1; }
.cmap__viewport { position: absolute; inset: 0; overflow: hidden; }
.cmap__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cmap__card { position: absolute; left: var(--gut); bottom: 60px; background: #fff; padding: 36px 40px; width: min(440px, calc(100% - 2 * var(--gut))); }
.cmap__card h2 { font-size: 36px; margin-bottom: 14px; }
.cmap__card p { font-size: 14px; line-height: 1.45; margin-bottom: 24px; }
.cmap__links { display: flex; gap: 32px; flex-wrap: wrap; }
.cmap__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.cmap__pin { width: 10px; height: 13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: inline-block; }
.cmap__pin--y { background: #e5402b; }
.cmap__pin--g { background: linear-gradient(135deg, #4285f4, #34a853 50%, #fbbc05 75%, #ea4335); }
.cmap__zoom { position: absolute; right: var(--gut); top: 50%; display: flex; flex-direction: column; gap: 4px; }
.cmap__zoom button { width: 44px; height: 44px; background: var(--cream); font-size: 20px; }
.cmap__zoom button:hover { background: #fff; }

/* ---------- 404 / Спасибо ---------- */
.msg { padding: clamp(150px, 20vh, 210px) 0 140px; text-align: center; }
.msg__title { font-size: clamp(64px, 9vw, 130px); line-height: 1.02; margin-bottom: 32px; }
.msg__text { max-width: 560px; margin: 0 auto 40px; font-size: 17px; line-height: 1.45; }
.e404 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px 40px; }
.e404__side { text-align: left; font-size: 15px; line-height: 1.4; max-width: 230px; }
.e404__label { font-size: 12px; margin-bottom: 14px; }
.e404__num { font-size: clamp(150px, 36vw, 520px); line-height: .9; margin: 0; }
.e404__num b { position: relative; font-weight: inherit; display: inline-block; }
.e404__num em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: clamp(16px, 1.6vw, 24px); }
.e404__img { justify-self: end; width: 200px; aspect-ratio: 1; }
.e404__text { grid-column: 1 / -1; font-size: clamp(28px, 2.6vw, 38px); }
.e404__btn { grid-column: 1 / -1; justify-self: center; }

/* ---------- Календарь ---------- */
.cal { position: relative; padding: 140px 0 80px; }
.cal__week { font-size: clamp(48px, 5vw, 72px); margin-bottom: 40px; }
.cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 48px; }
.cal__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cal__filters button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--c, var(--ink)); font: 500 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; transition: background .3s, color .3s; }
.cal__filters button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cal__filters button.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cal__filters button:hover:not(.is-active) { background: rgba(28, 28, 27, .06); }
.cal__arrows { display: flex; gap: 12px; flex: none; }
.cal__arrows button { padding: 6px; }
.cal__arrows button:hover { color: var(--brown); }
.cal__scroll { overflow-x: auto; }
.cal__grid {
	--hh: 88px; position: relative; min-width: 920px;
	display: grid; grid-template-columns: 80px repeat(7, 1fr); grid-template-rows: auto calc(var(--rows) * var(--hh));
}
.cal__corner { border-bottom: 1px solid var(--ink); }
.cal__day { padding: 0 0 12px 8px; border-bottom: 1px solid var(--ink); }
.cal__day span { display: block; font-size: 11px; margin-bottom: 8px; }
.cal__day b { display: inline-block; font: 400 44px/1 var(--sans); padding: 2px 4px; }
.cal__day.is-today b { background: var(--brown); color: var(--cream); }
.cal__times { display: flex; flex-direction: column; }
.cal__times span { height: var(--hh); font-size: 11px; padding-top: 4px; }
.cal__col {
	position: relative; border-left: 1px solid #e3d6c3;
	background-image: linear-gradient(#e3d6c3 1px, transparent 1px); background-size: 100% var(--hh);
}
.cal__col:last-child { border-right: 1px solid #e3d6c3; }
.cal__col.is-today { background-color: #f8efe2; }
.cal__item {
	position: absolute; left: 3px; right: 3px; top: calc(var(--top) * var(--hh) + 2px); height: calc(var(--len) * var(--hh) - 4px);
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; overflow: hidden;
	background: var(--bg); border-left: 3px solid var(--c); text-align: left;
	transition: opacity .3s, box-shadow .3s, background .3s, color .3s;
}
.cal__item:hover, .cal__item.is-hover { box-shadow: 0 12px 30px -12px rgba(60, 40, 20, .35); z-index: 3; }
.cal__item.is-dim { opacity: .18; }
.cal__time { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--brown); }
.cal__time i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.cal__item strong { font-size: 15px; font-weight: 400; line-height: 1.2; }
.cal__coach { font-size: 12px; color: var(--muted); }
.cal__note { font-size: 12px; margin-top: 28px; color: var(--brown); }
.cal__pop {
	position: absolute; z-index: 20; width: 300px; padding: 28px 24px 24px; background: #faf8f3;
	border-left: 3px solid var(--c, var(--ink)); box-shadow: 0 30px 60px -20px rgba(40, 28, 16, .35);
	animation: popIn .3s var(--ease);
}
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } }
.cal__pop h3 { font-size: 30px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid rgba(28, 28, 27, .2); }
.cal__pop dl { margin: 0 0 22px; }
.cal__pop dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; }
.cal__pop dt { font-size: 10px; text-transform: uppercase; font-weight: 500; padding-top: 2px; }
.cal__pop dd { margin: 0; text-align: right; }
.cal__pop-btns { display: flex; align-items: center; gap: 16px; }
.cal__pop-btns .btn { height: 44px; padding: 0 20px; font-size: 12px; }
.cal__pop-btns .link-line { font-size: 11px; }

/* ---------- Блог ---------- */
.bloglist { padding: 120px 0 140px; }
.blog__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(28, 28, 27, .25); margin-bottom: 32px; }
.blog__cats { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.blog__cats a { color: var(--brown); transition: color .3s; }
.blog__cats a:hover { color: var(--ink); }
.blog__cats a.is-active { color: var(--ink); font-weight: 500; }
.blog__sort { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--brown); white-space: nowrap; }
.blog__sort select { appearance: none; border: 0; background: transparent; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; padding-right: 4px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { position: relative; display: block; aspect-ratio: 430 / 520; overflow: hidden; color: #fff; background: #3a332d; }
.pcard__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28, 22, 16, .7)); transition: background .5s; }
.pcard__body { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.pcard__cat { font-size: 12px; opacity: .85; }
.pcard__title { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }
.pcard__more { display: inline-flex; align-self: flex-start; height: 0; opacity: 0; overflow: hidden; background: var(--light); color: var(--ink); font-size: 11px; align-items: center; padding: 0 16px; transition: height .4s var(--ease), opacity .4s, margin .4s; }
.pcard:hover .pcard__img { transform: scale(1.06); }
.pcard:hover::after { background: linear-gradient(180deg, rgba(28, 22, 16, .25), rgba(28, 22, 16, .7)); }
.pcard:hover .pcard__more { height: 36px; opacity: 1; margin-top: 6px; }
.blog__more { text-align: center; margin-top: 48px; }
.blog__more .is-loading { opacity: .5; pointer-events: none; }

/* ---------- Статья ---------- */
.art__head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: clamp(150px, 20vh, 220px); padding-bottom: 100px; }
.art__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; padding-top: 18px; }
.art__meta span { color: var(--muted); }
.art__title { font-size: clamp(44px, 6vw, 88px); line-height: 1.06; margin-bottom: 40px; }
.art__lead { font-size: 17px; line-height: 1.5; max-width: 760px; }
.art__cover { height: min(760px, 85vh); overflow: hidden; }
.art__cover img { width: 100%; height: 100%; object-fit: cover; }
.art__body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 120px; padding-bottom: 120px; }
.art__toc { position: sticky; top: 110px; align-self: start; }
.art__toc p { font-size: 11px; font-weight: 500; margin-bottom: 18px; }
.art__toc ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.art__toc a { color: var(--brown); transition: color .3s; }
.art__toc a.is-active, .art__toc a:hover { color: var(--ink); font-weight: 500; }
.art__content { max-width: 760px; font-size: 17px; line-height: 1.6; }
.art__content h2 { font: 400 clamp(28px, 2.4vw, 36px)/1.2 var(--serif); margin: 64px 0 22px; scroll-margin-top: 110px; }
.art__content h2:first-child { margin-top: 0; }
.art__content p { margin: 0 0 1em; }
.art__content blockquote { margin: 56px 0; padding: 18px 0 18px 40px; border-left: 1px solid var(--ink); }
.art__content blockquote p { font: italic 400 clamp(24px, 2.2vw, 32px)/1.3 var(--serif); margin-bottom: 18px; }
.art__content blockquote cite { font-size: 13px; font-style: normal; color: var(--muted); }
.art__content figure { margin: 56px 0; }
.art__content figure img { width: 100%; height: auto; }
.art__content figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.art__btns { margin-top: 56px; gap: 16px; }
.related { padding: 0 0 140px; }
.related__title { font-size: clamp(36px, 3.4vw, 50px); margin-bottom: 40px; }

/* ---------- Попапы ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; transition: visibility 0s .9s; }
.modal.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.modal__overlay { position: absolute; inset: 0; background: rgba(40, 32, 25, .62); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__box {
	position: relative; display: grid; background: var(--cream); color: var(--ink); max-height: calc(100vh - 48px); overflow: auto;
	clip-path: inset(100% 0 0 0); transition: clip-path .7s cubic-bezier(.76, 0, .24, 1);
}
.modal.is-open .modal__box { clip-path: inset(0 0 0 0); transition-duration: 1s; }
html.modal-open { overflow: hidden; }
.modal__close { position: absolute; right: 24px; top: 24px; width: 26px; height: 26px; z-index: 2; }
.modal__close span { position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: currentColor; transform: rotate(45deg); transition: transform .4s var(--ease); }
.modal__close span:last-child { transform: rotate(-45deg); }
.modal__close:hover span:first-child { transform: rotate(135deg); }
.modal__close:hover span:last-child { transform: rotate(45deg); }

.book { width: min(1085px, 100%); grid-template-columns: 460px 1fr; min-height: min(760px, calc(100vh - 48px)); }
.book__media { position: relative; overflow: hidden; }
.book__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1; }
.book__lines * { vector-effect: non-scaling-stroke; }
.book__form { position: relative; display: flex; flex-direction: column; padding: 72px 64px 64px; }
.book__title { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; margin-bottom: 18px; }
.book__lead { font-size: 15px; line-height: 1.45; max-width: 380px; margin-bottom: 32px; }
.book__for { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--brown); margin: -12px 0 24px; }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; font-size: 13px; }
.field input { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 6px 0 12px; font: 400 16px var(--sans); color: var(--ink); border-radius: 0; }
.field input::placeholder { color: #9a9086; }
.field input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.hp { position: absolute !important; left: -9999px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.4; margin-top: auto; margin-bottom: 28px; cursor: pointer; }
.check input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--ink); flex: none; margin: 1px 0 0; display: grid; place-content: center; cursor: pointer; }
.check input::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--cream); border-bottom: 1.5px solid var(--cream); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--ink); }
.check input:checked::after { opacity: 1; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.book__submit { width: 100%; }

.tmodal { width: min(1240px, 100%); grid-template-columns: 480px 1fr; min-height: 520px; }
.tmodal__media { position: relative; overflow: hidden; background: #c9b49a; }
.tmodal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tmodal__role { position: absolute; left: 16px; right: 16px; bottom: 20px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; white-space: nowrap; }
.tmodal__role::before, .tmodal__role::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .7); }
.tmodal__body { position: relative; padding: 56px 64px; display: flex; flex-direction: column; }
.tmodal__name { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; margin-bottom: 32px; padding-right: 40px; }
.tmodal__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.tmodal__stats div { padding: 0 24px; border-left: 1px solid rgba(28, 28, 27, .25); }
.tmodal__stats div:first-child { padding-left: 0; border-left: 0; }
.tmodal__stats strong { display: block; font-size: 36px; font-weight: 400; line-height: 1; margin-bottom: 10px; }
.tmodal__stats span { font-size: 12px; color: var(--brown); }
.tmodal__bio { font-size: 15px; line-height: 1.45; margin-bottom: 18px; }
.tmodal__label { font-size: 11px; text-transform: uppercase; color: var(--brown); margin-bottom: 10px; }
.tmodal__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tmodal__tags li { border: 1px solid var(--ink); padding: 10px 16px; font-size: 13px; }
.tmodal__book { width: 100%; margin-top: auto; }
.team__card.is-active { cursor: pointer; }
.team__card.is-active::after { content: "Подробнее"; position: absolute; top: 14px; right: 14px; background: var(--cream); color: var(--ink); font-size: 11px; padding: 6px 10px; opacity: 0; transition: opacity .3s; }
.team__card.is-active:hover::after { opacity: 1; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.dcoach__photo { max-width: 52%; }
	.aspace__slide { width: 440px; height: 440px; }
	.aspace__slide[data-pos="-1"] { transform: translate(calc(-50% - 360px), -50%); }
	.aspace__slide[data-pos="1"] { transform: translate(calc(-50% + 360px), -50%); }
}
@media (max-width: 1024px) {
	.phero--split .phero__bottom { position: static; transform: none; width: auto; margin-top: 40px; }
	.dintro__grid, .daud__grid, .faq__grid, .amanifest__row, .aatmo__grid, .aphilo__top, .cinfo__grid, .art__head, .art__body, .dprices { grid-template-columns: 1fr; }
	.dintro__title span { padding-left: 1em; }
	.dintro__p3, .dintro__btn { justify-self: start; }
	.dintro__p3 { margin-bottom: 40px; }
	.dprices__note { grid-column: 1; }
	.daud__cards { grid-template-columns: 1fr 1fr; }
	.dcoach__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
	.dcoach__exp { justify-self: start; text-align: left; margin-top: 16px; }
	.dcoach__photo { position: relative; left: auto; transform: none; height: auto; width: 100%; max-width: 520px; margin: 24px auto 0; order: 5; }
	.dcoach__info { width: 100%; max-width: 420px; padding: 40px 0 0; }
	.dcoach__quote { justify-self: start; text-align: left; padding: 32px 0 0; }
	.amanifest__img { justify-self: start; }
	.amanifest__text { padding-left: 0; }
	.aformats__grid { grid-template-columns: 1fr; }
	.aformats__side { flex-direction: row; align-items: flex-end; gap: 24px; }
	.aatmo__big { grid-row: auto; }
	.aatmo__text { padding: 32px 0; }
	.aphilo__stats { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.aspace__arrow { display: none; }
	.cinfo__indent { padding-left: 0; }
	.cinfo__img { justify-self: start; }
	.art__toc { position: static; }
	.e404 { grid-template-columns: 1fr; text-align: center; }
	.e404__side { text-align: center; max-width: none; }
	.e404__img { justify-self: center; }
	.blog__grid { grid-template-columns: 1fr 1fr; }
	.blog__bar { flex-direction: column; align-items: flex-start; }
	.cal__bar { flex-direction: column; align-items: flex-start; }
	.book { grid-template-columns: 1fr; }
	.book__media { display: none; }
	.tmodal { grid-template-columns: 1fr; }
	.tmodal__media { height: 360px; }
}
@media (max-width: 640px) {
	.phero__inner { padding-bottom: 40px; }
	.phero__l2 { padding-left: .4em; }
	.dintro, .faq, .amanifest, .cinfo, .bloglist { padding-top: 80px; padding-bottom: 80px; }
	.daud { padding: 80px 0; }
	.daud__cards { grid-template-columns: 1fr; }
	.aspace { padding: 80px 0; }
	.aspace__track { height: 380px; }
	.aspace__slide { width: 280px; height: 340px; }
	.aspace__slide[data-pos="-1"], .aspace__slide[data-pos="1"] { opacity: 0; }
	.aphilo__top { margin-bottom: 64px; }
	.blog__grid { grid-template-columns: 1fr; }
	.cal { padding-top: 80px; }
	.cinfo__group { grid-template-columns: 1fr; }
	.cinfo__label { padding-top: 0; }
	.book__form, .tmodal__body { padding: 56px 24px 32px; }
	.tmodal__stats div { padding: 0 12px; }
	.tmodal__stats strong { font-size: 26px; }
	.modal { padding: 0; }
	.modal__box { max-height: 100vh; height: 100%; }
}

/* Закрытие попапа: окно уезжает вверх ступенчатой маской, затемнение гаснет */
.modal.is-closing .modal__box { clip-path: inset(0 0 100% 0); transition: clip-path .75s cubic-bezier(.76, 0, .24, 1); }
.modal.is-closing .modal__overlay { transition: opacity .6s .2s; }
.modal__box > * { transition: opacity .4s, transform .6s var(--ease); }
.modal.is-closing .modal__box > * { opacity: 0; transform: translateY(-24px); }

/* Переходы-маски на внутренних страницах: у секций должен быть непрозрачный фон */
:where(.has-fx main > section) { background-color: var(--cream); }

/* 404 без футера — на весь экран */
.msg--404 { min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 80px; }
.msg--404 > .container { width: 100%; }
.e404__num b { line-height: 1; vertical-align: top; }
.e404__num em {
	top: 65%; white-space: nowrap; letter-spacing: 0; line-height: 1;
	font: italic 400 clamp(16px, 1.7vw, 26px)/1 var(--serif);
}

/* ===== 404: цифры «прорисовываются» пером, затем заливаются ===== */
.e404__draw { position: relative; width: min(44vw, 640px); }
.e404__draw svg { display: block; width: 100%; height: auto; overflow: visible; }
.e404__draw text {
	font-family: var(--serif); font-weight: 400; font-size: 820px; letter-spacing: -.01em;
	fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 2.2;
	stroke-dasharray: 4200; stroke-dashoffset: 4200;
	animation: e404draw 2.6s cubic-bezier(.65, 0, .35, 1) .2s forwards, e404fill 1s ease 2.2s forwards;
}
.e404__draw tspan:nth-child(2) { animation-delay: .5s; }
.e404__err {
	position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
	font-size: clamp(16px, 1.8vw, 28px); white-space: nowrap; opacity: 0; animation: plFade .8s 2.6s forwards;
}
@keyframes e404draw { to { stroke-dashoffset: 0; } }
@keyframes e404fill { to { fill-opacity: 1; stroke-width: 0; } }
.page-404 [data-intro] { transition-delay: 1.4s !important; }
.error404 .ptr { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	.e404__draw text { animation: none; fill-opacity: 1; stroke-width: 0; }
	.e404__err { animation: none; opacity: 1; }
}

/* Секции внутренних страниц на весь экран: содержимое по центру по вертикали */
.page-inner.has-fx main > section:not(.phero) { display: flex; flex-direction: column; justify-content: center; }
.page-inner.has-fx main > section:not(.phero) > .container { width: 100%; }
@media (max-width: 1024px) {
	.e404__draw { width: min(86vw, 560px); justify-self: center; }
	.e404__err { font-size: clamp(14px, 3.6vw, 22px); }
}

/* 404 v2: каждая цифра прорисовывается по своему векторному контуру, по очереди, затем заливается */
.e404__svg { display: block; width: 100%; height: auto; overflow: visible; }
.e404__digit path {
	fill: var(--ink); fill-opacity: 0;
	stroke: var(--ink); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round;
	stroke-dasharray: 1; stroke-dashoffset: 1;
	animation:
		d404draw 1.5s cubic-bezier(.65, 0, .35, 1) calc(.3s + var(--i) * .65s) forwards,
		d404fill .8s ease calc(1.6s + var(--i) * .65s) forwards;
}
@keyframes d404draw { to { stroke-dashoffset: 0; } }
@keyframes d404fill { to { fill-opacity: 1; stroke-opacity: 0; } }
.e404__err { animation-delay: 3s !important; }
.page-404 [data-intro] { transition-delay: 1.8s !important; }
@media (prefers-reduced-motion: reduce) {
	.e404__digit path { animation: none; fill-opacity: 1; stroke-opacity: 0; stroke-dashoffset: 0; }
}
.e404__err { top: 36% !important; left: 50.1% !important; }
/* заливка — одним путём (с «дыркой» в нуле), обводка — по контурам */
.e404__digit path.e404__f { fill: var(--ink); fill-opacity: 0; stroke: none; stroke-dasharray: none; animation: d404fillOnly .8s ease calc(1.6s + var(--i) * .65s) forwards; }
.e404__digit path.e404__s { fill: none; }
@keyframes d404fillOnly { to { fill-opacity: 1; } }
.e404__digit path.e404__s { animation: d404draw 1.5s cubic-bezier(.65, 0, .35, 1) calc(.3s + var(--i) * .65s) forwards, d404line .6s ease calc(1.9s + var(--i) * .65s) forwards; }
@keyframes d404line { to { stroke-opacity: 0; } }
.e404__err { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .e404__digit path.e404__f { animation: none; fill-opacity: 1; } }
/* прорисовка 404 стартует, когда страница открылась (после прелоадера/шторки) */
.js body:not(.is-ready) .e404__digit path, .js body:not(.is-ready) .e404__err { animation-play-state: paused; }

/* Фото в окне тренера: лёгкое затемнение снизу, чтобы читалась подпись */
.tmodal__media::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
	background: linear-gradient(180deg, rgba(28, 22, 16, 0) 0%, rgba(28, 22, 16, .22) 55%, rgba(28, 22, 16, .5) 100%);
	pointer-events: none;
}
.tmodal__role { z-index: 1; }

/* ===== Публичная оферта и Политика конфиденциальности ===== */
.legal { padding-top: clamp(140px, 18vh, 190px); padding-bottom: 140px; }
.legal__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 120px; }
.legal__title { font-size: clamp(56px, 8.4vw, 124px); line-height: 1.02; letter-spacing: -.015em; margin: 0; }
.legal__l2 { padding-left: 1.9em; }
.legal__lead { font-size: 14px; line-height: 1.45; max-width: 380px; padding-bottom: 14px; }
.legal__body { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.legal__toc { position: sticky; top: 110px; align-self: start; }
.legal__toc p { font-size: 11px; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; }
.legal__toc ul { display: flex; flex-direction: column; gap: 10px; font-size: 13px; margin-bottom: 40px; }
.legal__toc a { color: var(--brown); transition: color .3s; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--ink); }
.legal__content { max-width: 760px; }
.legal__sec { border-top: 1px solid rgba(28, 28, 27, .25); padding: 40px 0 56px; scroll-margin-top: 100px; }
.legal__sec h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 32px; }
.legal__sec ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.legal__sec li { display: grid; grid-template-columns: 64px 1fr; gap: 0; font-size: 16px; line-height: 1.5; }
.legal__sec li span { color: var(--muted); }
.legal__sec li p { margin: 0; }
.legal__privacy { padding: 60px 0 56px; scroll-margin-top: 100px; }
.legal__title--2 { font-size: clamp(48px, 6.4vw, 92px); margin-bottom: 28px; }
.legal__privacy .legal__lead { max-width: 560px; }
.legal__req { margin: 0; }
.legal__req div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(28, 28, 27, .2); font-size: 15px; }
.legal__req dt { font-size: 12px; color: var(--brown); padding-top: 2px; }
.legal__req dd { margin: 0; }
.site-footer__legal { display: inline-flex; gap: 28px; flex-wrap: wrap; }
.site-footer__legal a:hover { opacity: .7; }
/* слово в футере плавно растворяется книзу */
.site-footer__word { -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 35%, transparent 100%); }
@media (max-width: 1024px) {
	.legal__head, .legal__body { grid-template-columns: 1fr; }
	.legal__head { margin-bottom: 64px; }
	.legal__toc { position: static; }
	.legal__toc ul { margin-bottom: 20px; }
}
@media (max-width: 640px) {
	.legal__l2 { padding-left: .8em; }
	.legal__sec li { grid-template-columns: 44px 1fr; font-size: 15px; }
	.legal__req div { grid-template-columns: 1fr; gap: 4px; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ===== Календарь: иконки направлений, фильтр, мобильная версия ===== */
.cal__filters button .dir-ico { color: var(--c); flex: none; }
.cal__filters button.is-active .dir-ico { color: currentColor; }
.cal__item.is-dim { pointer-events: none; }
.cal__today { display: none; height: 40px; padding: 0 16px; border: 1px solid var(--ink); font: 500 12px/1 var(--sans); text-transform: uppercase; margin-right: 8px; }
.calm-days, .calm-list, .calm-more, .calm-sheet { display: none; }

@media (max-width: 760px) {
	.cal { padding-top: 64px; }
	.cal .container { position: relative; }
	.cal__week { font-size: 44px; line-height: 1.05; margin-bottom: 28px; padding-right: 110px; }
	.cal__week em { display: block; }
	.cal__bar { display: block; margin-bottom: 24px; }
	.cal__arrows { position: absolute; right: var(--gut); top: 6px; gap: 8px; }
	.cal__arrows button[data-cal-nav] { width: 40px; height: 40px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
	.cal__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
	.cal__filters::-webkit-scrollbar { display: none; }
	.cal__filters button { flex: none; height: 40px; }
	.cal__scroll, .cal__pop { display: none !important; }

	.calm-days { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid rgba(28, 28, 27, .3); margin-bottom: 24px; }
	.calm-day { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0 10px; color: var(--ink); transition: background .3s, color .3s; }
	.calm-day span { font-size: 11px; text-transform: uppercase; }
	.calm-day b { font: 400 24px/1 var(--sans); }
	.calm-day i { display: flex; gap: 3px; height: 4px; }
	.calm-day em { width: 4px; height: 4px; border-radius: 50%; }
	.calm-day.is-active { background: var(--brown); color: var(--cream); }
	.calm-day.is-active em { background: var(--cream) !important; }

	.calm-list { display: block; }
	.calm-dayblock { margin-top: 36px; }
	.calm-dayblock header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
	.calm-dayblock h3 { font-size: 26px; font-weight: 400; margin: 0; }
	.calm-dayblock header span { font-size: 11px; color: var(--brown); white-space: nowrap; }
	.calm-item { display: grid; grid-template-columns: 56px 1fr; gap: 0; width: 100%; text-align: left; margin-bottom: 8px; color: var(--ink); }
	.calm-item time { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); padding-top: 14px; }
	.calm-item time b { font-size: 14px; font-weight: 500; color: var(--ink); }
	.calm-item__card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); border-left: 3px solid var(--c); min-height: 60px; }
	.calm-item__card > span { display: flex; flex-direction: column; gap: 4px; }
	.calm-item__card strong { font-size: 16px; font-weight: 400; }
	.calm-item__card small { font-size: 12px; color: var(--brown); }
	.calm-item__card .dir-ico { color: var(--c); flex: none; width: 18px; height: 18px; }
	.calm-item.is-past { opacity: .5; }
	.calm-now { display: grid; grid-template-columns: 56px 1fr; align-items: center; margin: 4px 0 12px; }
	.calm-now time { font-size: 12px; font-weight: 500; }
	.calm-now i { position: relative; height: 1px; background: var(--ink); }
	.calm-now i::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
	.calm-more { display: flex; width: 100%; margin-top: 28px; }

	/* карточка занятия — снизу */
	.calm-sheet { display: block; position: fixed; inset: 0; z-index: 450; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
	.calm-sheet.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
	.calm-sheet__overlay { position: absolute; inset: 0; background: rgba(40, 32, 25, .55); opacity: 0; transition: opacity .4s; }
	.calm-sheet.is-open .calm-sheet__overlay { opacity: 1; }
	.calm-sheet__box {
		position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto;
		background: #faf8f3; border-radius: 24px 24px 0 0; padding: 14px var(--gut) calc(24px + env(safe-area-inset-bottom));
		transform: translateY(100%); transition: transform .5s cubic-bezier(.22, .61, .36, 1);
	}
	.calm-sheet.is-open .calm-sheet__box { transform: none; }
	.calm-sheet__handle { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--ink); margin: 0 auto 22px; }
	.calm-sheet h3 { font-size: 40px; font-weight: 400; margin: 0 0 20px; }
	.calm-sheet dl { margin: 0 0 24px; border-top: 1px solid rgba(28, 28, 27, .15); }
	.calm-sheet dl div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(28, 28, 27, .15); font-size: 14px; }
	.calm-sheet dt { font-size: 11px; text-transform: uppercase; color: var(--brown); padding-top: 2px; }
	.calm-sheet dd { margin: 0; text-align: right; }
	.calm-sheet__book { width: 100%; margin-bottom: 16px; }
	.calm-sheet__url { display: table; margin: 0 auto; font-size: 13px; }
	.cal__today { display: inline-flex; align-items: center; }
}
@media (max-width: 760px) { body > .calm-sheet { display: block; } }
@media (min-width: 761px) { body > .calm-sheet { display: none; } }
