/* WOM.INSIGHTS — сайт студии. Палитра и шрифты из брендбука:
   графит #3E3E42 · серый #6B6B70 · коричневый #7A6B59 · пыльная роза #C98F96 · пудровый #F2D8E0 · молочный #FAF8F7
   Заголовки — Playfair Display, текст — Montserrat. */
@font-face { font-family: 'Playfair Display'; src: url(/fonts/playfair.woff) format('woff'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url(/fonts/playfair-italic.woff) format('woff'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url(/fonts/montserrat.woff) format('woff'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --graphite: #3E3E42; --ink: #2B2B2E; --ink-2: #232325; --gray: #6B6B70; --brown: #7A6B59;
  --rose: #C98F96; --rose-deep: #A9707A; --powder: #F2D8E0; --milk: #FAF8F7; --sand: #F1EBE7; --line: rgba(62, 62, 66, .14);
  --serif: 'Playfair Display', 'Didot', 'Bodoni 72', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 5vw, 56px);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--milk); color: var(--graphite); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; color: var(--milk); overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-wall { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 72% 18%, #8A7F79 0%, #6A615D 26%, #4A4547 55%, #2E2C2F 100%); }
.hero-bg .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .media.blur { filter: blur(2px) saturate(.85); transform: scale(1.03); }
.hero-leaves { position: absolute; inset: -6% -10% auto auto; width: min(1250px, 135vw); opacity: .55; mix-blend-mode: multiply; pointer-events: none;
  filter: blur(9px); transform-origin: 85% 0; animation: sway 14s ease-in-out infinite alternate; }
.hero-leaves img { width: 100%; height: auto; }
@keyframes sway { from { transform: rotate(-1.6deg) translateY(-6px); } to { transform: rotate(1.4deg) translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero-leaves { animation: none; } }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 24, 26, .42) 0%, rgba(25, 24, 26, .08) 30%, rgba(25, 24, 26, .1) 62%, rgba(25, 24, 26, .62) 100%),
              radial-gradient(90% 70% at 50% 50%, transparent 40%, rgba(20, 19, 21, .45) 100%); }
.hero.has-media .hero-leaves { display: none; }
.hero.has-media .hero-shade { background: linear-gradient(180deg, rgba(20, 19, 21, .55) 0%, rgba(20, 19, 21, .18) 32%, rgba(20, 19, 21, .25) 62%, rgba(20, 19, 21, .7) 100%); }

.topnav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: calc(22px + var(--safe-t)) var(--pad) 0; }
.topnav nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(18px, 3.2vw, 46px); }
.topnav nav a, .topnav-cab { font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: rgba(250, 248, 247, .86);
  padding: 10px 0; position: relative; transition: color .25s; }
.topnav nav a::after { content: ''; position: absolute; left: 0; right: .22em; bottom: 4px; height: 1px; background: var(--powder); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topnav nav a:hover { color: #fff; }
.topnav nav a:hover::after { transform: scaleX(1); }
.topnav-cab { position: absolute; right: var(--pad); top: calc(22px + var(--safe-t)); display: inline-flex; align-items: center; gap: 8px; }
.topnav-cab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 1020px) { .topnav-cab span { display: none; } }
.hero-icons { display: flex; gap: 14px; }
.cab-m { display: none; }
@media (max-width: 760px) {
  .topnav { padding: calc(16px + var(--safe-t)) 14px 0; }
  .topnav nav { display: grid; grid-template-columns: repeat(3, auto); gap: 0 20px; }
  .topnav nav a { font-size: 10px; letter-spacing: .16em; padding: 9px 0; text-align: center; }
  .topnav-cab { display: none; }
  .cab-m { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(250, 248, 247, .34); color: var(--milk); }
  .cab-m svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
}
@media (max-width: 370px) { .topnav nav { gap: 0 12px; } .topnav nav a { font-size: 9.5px; letter-spacing: .12em; } }

.hero-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px 24px; }
.logo { margin: 0; font: 400 clamp(46px, 12.2vw, 168px)/.9 var(--serif); letter-spacing: .015em; text-transform: uppercase; color: var(--milk);
  transform: scaleX(.86); white-space: nowrap; text-shadow: 0 2px 40px rgba(0, 0, 0, .18);
  animation: rise 1.4s var(--ease) both .1s; }
.logo-by { margin: clamp(10px, 1.6vw, 20px) 0 0; font: italic 400 clamp(17px, 2.3vw, 30px)/1.2 var(--serif); color: var(--powder); animation: rise 1.4s var(--ease) both .35s; }
.logo-line { width: 64px; height: 1px; background: rgba(242, 216, 224, .7); margin: clamp(16px, 2.2vw, 26px) 0; animation: grow 1.2s var(--ease) both .6s; }
.logo-tag { margin: 0 0 clamp(24px, 3.4vw, 40px); font: 500 clamp(10.5px, 1.05vw, 13px)/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: rgba(250, 248, 247, .84); animation: rise 1.4s var(--ease) both .7s; padding-left: .42em; }
.btn-pill { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--powder); color: var(--ink);
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); animation: rise 1.4s var(--ease) both .85s; }
.btn-pill span { transition: transform .3s var(--ease); }
.btn-pill:hover { background: #fff; transform: translateY(-1px); }
.btn-pill:hover span { transform: translateX(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scaleX(var(--sx, 1)); } }
.logo { --sx: .86; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo, .logo-by, .logo-line, .logo-tag, .btn-pill { animation: none; } }

.hero-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 16px calc(22px + var(--safe-b)); }
.socials { display: flex; gap: 14px; justify-content: center; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(250, 248, 247, .34); color: var(--milk); transition: background .25s, border-color .25s, color .25s; }
.socials a:hover { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint { width: 22px; height: 36px; border: 1px solid rgba(250, 248, 247, .4); border-radius: 12px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-hint span { width: 2px; height: 7px; border-radius: 1px; background: var(--milk); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(9px); opacity: 0; } }
@media (max-height: 620px) { .scroll-hint { display: none; } }

/* компактная шапка */
.stickybar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: calc(10px + var(--safe-t)) var(--pad) 10px;
  background: rgba(250, 248, 247, .86); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line);
  transform: translateY(-110%); transition: transform .45s var(--ease); }
.stickybar.on { transform: none; }
.sb-logo { font: 400 21px/1 var(--serif); letter-spacing: .04em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.stickybar nav { flex: 1; display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 30px); }
.stickybar nav a { font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--gray); padding: 8px 0; }
.stickybar nav a:hover, .stickybar nav a.cur { color: var(--ink); }
.sb-cta { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: var(--milk); white-space: nowrap; }
@media (max-width: 900px) { .stickybar nav { display: none; } .stickybar { justify-content: space-between; } }

/* ---------- Секции ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-sand { background: var(--sand); }
.sec-dark { background: var(--ink); color: var(--milk); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.eyebrow { margin: 0 0 12px; font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); }
.sec-dark .eyebrow { color: var(--rose); }
.display { margin: 0; font: 400 clamp(36px, 5.6vw, 72px)/1.02 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.sec-dark .display { color: var(--milk); }
.lead { margin: 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--gray); max-width: 640px; }
.link-arrow { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--ink); }
.link-arrow span { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.fine { font-size: 12.5px; color: var(--gray); margin: 18px 0 0; }

.intro { padding: clamp(72px, 10vw, 140px) 0 clamp(24px, 4vw, 40px); }
.intro-grid { display: grid; gap: 22px; max-width: 920px; }
.intro .display { font-size: clamp(34px, 5.2vw, 66px); }
.intro .display em { font-style: italic; color: var(--rose-deep); }

/* направления */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dir { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 22px; border: 0; border-radius: 22px; overflow: hidden; text-align: left; color: var(--milk);
  background: var(--graphite); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dir:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(43, 43, 46, .18); }
.dir .ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dir:hover .ph { transform: scale(1.05); }
.dir::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 29, 31, 0) 35%, rgba(30, 29, 31, .72) 100%); }
.dir.no-photo::after { background: linear-gradient(180deg, rgba(30, 29, 31, 0) 50%, rgba(30, 29, 31, .25) 100%); }
.dir h3 { margin: 0; font: 400 34px/1 var(--serif); }
.dir p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; opacity: .86; }
.dir .lvl { position: absolute; top: 18px; left: 18px; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 11px; border-radius: 999px;
  background: rgba(250, 248, 247, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dir .num { position: absolute; top: 14px; right: 20px; font: italic 400 40px/1 var(--serif); opacity: .35; }
/* фон карточки без фото: тон из палитры + тени листьев */
.tone-rose { background: linear-gradient(160deg, #D9A6AC 0%, #B77F87 55%, #8E5F67 100%); }
.tone-powder { background: linear-gradient(160deg, #F6E3E8 0%, #E7C4CD 55%, #C9A0AA 100%); color: var(--ink) !important; }
.tone-graphite { background: linear-gradient(160deg, #5A5A60 0%, #3E3E42 55%, #29292C 100%); }
.tone-brown { background: linear-gradient(160deg, #A2917D 0%, #7A6B59 55%, #574B3E 100%); }
.tone-milk { background: linear-gradient(160deg, #FFFFFF 0%, #F1EBE7 55%, #DCD2CC 100%); color: var(--ink) !important; }
.dir.no-photo .leafs { position: absolute; z-index: -1; right: -55%; top: -18%; width: 260%; max-width: none; opacity: .26; filter: blur(5px); mix-blend-mode: multiply; transform: rotate(10deg); }
.dir.tone-powder .lvl, .dir.tone-milk .lvl { background: rgba(43, 43, 46, .08); }

/* расписание */
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 22px; padding: 2px var(--pad); scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; padding: 12px 10px 13px; border: 1px solid var(--line); border-radius: 16px;
  background: transparent; color: var(--graphite); transition: background .25s, color .25s, border-color .25s; }
.day small { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.day b { font: 400 24px/1 var(--serif); }
.day i { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.day i.none { background: transparent; }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--milk); }
.day[aria-selected="true"] small { color: rgba(250, 248, 247, .7); }
.sched { display: grid; gap: 10px; }
.cls { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: var(--milk); text-decoration: none; color: inherit;
  border: 1px solid transparent; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.cls:hover { border-color: var(--line); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(43, 43, 46, .06); }
.cls-time b { display: block; font: 400 26px/1 var(--serif); color: var(--ink); }
.cls-time small { display: block; margin-top: 6px; font-size: 12px; color: var(--gray); }
.cls-main b { display: block; font: 600 16px/1.25 var(--sans); color: var(--ink); }
.cls-main span { display: block; margin-top: 4px; font-size: 13px; color: var(--gray); }
.cls-act { display: flex; align-items: center; gap: 12px; }
.spots { font: 600 11px/1 var(--sans); letter-spacing: .06em; padding: 8px 11px; border-radius: 999px; background: var(--powder); color: var(--ink); white-space: nowrap; }
.spots.few { background: var(--rose); color: #fff; }
.spots.full { background: var(--line); color: var(--gray); }
.cls-btn { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: var(--milk); white-space: nowrap; }
.cls.is-full .cls-btn { background: var(--line); color: var(--gray); }
.sched-empty { padding: 34px 22px; border-radius: 18px; background: var(--milk); color: var(--gray); text-align: center; }
@media (max-width: 640px) {
  .cls { grid-template-columns: 62px 1fr; gap: 6px 14px; padding: 16px; }
  .cls-time b { font-size: 22px; }
  .cls-act { grid-column: 2; justify-content: space-between; margin-top: 8px; }
}

/* абонементы */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s; min-height: 280px; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(43, 43, 46, .09); }
.plan.featured { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.plan .tag { align-self: flex-start; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--powder); color: var(--ink); margin-bottom: 18px; }
.plan .tag.empty { visibility: hidden; }
.plan h3 { margin: 0; font: 400 30px/1.05 var(--serif); }
.plan p { margin: 8px 0 0; font-size: 13.5px; color: var(--gray); }
.plan.featured p { color: rgba(250, 248, 247, .7); }
.plan .meta { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--gray); }
.plan.featured .meta { color: rgba(250, 248, 247, .7); }
.plan .meta span + span::before { content: '·'; margin-right: 8px; }
.plan .price { margin-top: auto; padding-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .price b { font: 500 32px/1 var(--sans); letter-spacing: -.02em; }
.plan .price s { color: var(--gray); font-size: 15px; }
.plan .price em { font-style: normal; font: 700 11px/1 var(--sans); padding: 6px 8px; border-radius: 999px; background: var(--rose); color: #fff; }
.plan .pv { display: block; margin-top: 8px; font-size: 12.5px; color: var(--gray); }
.plan.featured .pv { color: rgba(250, 248, 247, .6); }
.plan .buy { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding-top: 16px; border-top: 1px solid var(--line); }
.plan.featured .buy { border-top-color: rgba(250, 248, 247, .16); }
.plan .buy small { font: 500 12px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--gray); }
.plan.featured .buy small { color: rgba(250, 248, 247, .6); }

/* тренеры */
.trainers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.tr { display: grid; gap: 16px; align-content: start; }
.tr .ava { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #4B4B50, #2E2E31); position: relative; }
.tr .ava img { width: 100%; height: 100%; object-fit: cover; }
.tr .ava .mono { position: absolute; inset: 0; display: grid; place-items: center; font: italic 400 96px/1 var(--serif); color: rgba(242, 216, 224, .5); }
.tr h3 { margin: 0; font: 400 28px/1.1 var(--serif); }
.tr .role { margin: 6px 0 0; font: 600 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.tr p.bio { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: rgba(250, 248, 247, .72); }

/* новости */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.nw { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-align: left; padding: 0; color: inherit; transition: transform .35s var(--ease), box-shadow .35s; }
.nw:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(43, 43, 46, .08); }
.nw .img { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--powder), #E2BCC5); overflow: hidden; position: relative; }
.nw .img img { width: 100%; height: 100%; object-fit: cover; }
.nw .img .leafs, .m-cover .leafs { position: absolute; width: 260%; max-width: none; right: -70%; top: -60%; opacity: .24; filter: blur(5px); mix-blend-mode: multiply; transform: rotate(14deg); }
.nw .tx { padding: 20px 22px 24px; }
.nw time { font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); }
.nw h3 { margin: 10px 0 0; font: 400 24px/1.2 var(--serif); color: var(--ink); }
.nw p { margin: 10px 0 0; font-size: 14px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw .pin { position: absolute; top: 14px; left: 14px; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--milk); }
.news-empty { padding: 34px; border-radius: 22px; background: var(--sand); color: var(--gray); text-align: center; }

/* лояльность */
.loyalty { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; background: linear-gradient(150deg, #F6E5EA 0%, #EBCFD6 60%, #DDB6C0 100%); isolation: isolate; }
.loyalty .hero-leaves.soft { opacity: .22; filter: blur(7px); inset: -20% -20% auto auto; z-index: -1; animation-duration: 18s; }
.loyalty-in { text-align: center; display: grid; justify-items: center; gap: 18px; }
.loyalty .lead { color: var(--graphite); text-align: center; }
.soon { font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; padding: 12px 18px 12px 21px; border-radius: 999px; border: 1px solid rgba(43, 43, 46, .3); color: var(--ink); }

.quote { padding: clamp(70px, 9vw, 120px) 0; background: var(--milk); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; font: italic 400 clamp(30px, 4.6vw, 60px)/1.2 var(--serif); color: var(--ink); }

/* подвал */
.foot { background: var(--ink); color: rgba(250, 248, 247, .78); padding: 64px 0 calc(32px + var(--safe-b)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-logo { font: 400 32px/1 var(--serif); letter-spacing: .03em; text-decoration: none; color: var(--milk); }
.foot-by { margin: 8px 0 0; font: italic 400 17px/1 var(--serif); color: var(--powder); }
.foot-contacts, .foot-links { display: grid; gap: 10px; font-size: 14px; align-content: start; }
.foot a { text-decoration: none; }
.foot-links a:hover, .foot-contacts a:hover { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(250, 248, 247, .12); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot .fine { color: rgba(250, 248, 247, .45); margin: 0; max-width: 520px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { justify-content: center; text-align: center; } }

.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 6px; font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.swipe-hint::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.sec-dark .swipe-hint { color: rgba(250, 248, 247, .5); }
/* телефон: карточки листаются вбок */
@media (max-width: 640px) {
  .dir-grid, .plans, .trainers, .news { display: flex; overflow-x: auto; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 14px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .dir-grid::-webkit-scrollbar, .plans::-webkit-scrollbar, .trainers::-webkit-scrollbar, .news::-webkit-scrollbar { display: none; }
  .dir { flex: none; width: 78vw; min-height: 330px; scroll-snap-align: start; }
  .plan { flex: none; width: 74vw; scroll-snap-align: start; }
  .tr { flex: none; width: 66vw; scroll-snap-align: start; }
  .nw { flex: none; width: 80vw; scroll-snap-align: start; }
  .dir-grid > .skel, .plans > .skel { flex: none; width: 78vw; min-height: 300px; }
  .swipe-hint { display: flex; }
}

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-back { position: absolute; inset: 0; background: rgba(25, 24, 26, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s; }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 26px; background: var(--milk); animation: pop .45s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(250, 248, 247, .86); font-size: 24px; line-height: 1; color: var(--ink); }
.m-cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.m-cover img { width: 100%; height: 100%; object-fit: cover; }
.m-body { padding: 24px 26px 28px; }
.m-body h3 { margin: 0; font: 400 36px/1.05 var(--serif); color: var(--ink); }
.m-body .sub { margin: 8px 0 0; color: var(--gray); font-size: 14px; }
.m-body p.txt { margin: 16px 0 0; font-size: 15px; line-height: 1.7; white-space: pre-line; }
.m-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.m-chips span { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; background: var(--powder); color: var(--ink); }
.m-bring { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--sand); font-size: 14px; }
.m-bring b { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 8px; }
.m-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.m-actions a { flex: 1; text-align: center; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 16px 18px; border-radius: 999px; background: var(--ink); color: var(--milk); }
.m-actions a.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.skel { min-height: 120px; border-radius: 22px; background: linear-gradient(90deg, rgba(62, 62, 66, .05) 30%, rgba(62, 62, 66, .1) 50%, rgba(62, 62, 66, .05) 70%); background-size: 200% 100%; animation: sh 1.3s infinite; }
@keyframes sh { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
