/* Стили секций и компонентов. */

/* ============ Заголовки секций ============ */
.sec-title { font-size: clamp(32px, 4.4vw, 52px); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section--alt { background: var(--cream-deep); }

/* ============ Центрированная компоновка — синхронно с Hero «По центру» ============ */
/* Заголовочные блоки разделов центрируются, чтобы вся страница была однотипной с центрированным Hero. */
body.layout-centered .sec-head { text-align: center; }
body.layout-centered .sec-head .eyebrow { justify-content: center; }
body.layout-centered .sec-head .lead { margin-left: auto; margin-right: auto; }
body.layout-centered .sec-head--row { flex-direction: column; align-items: center; text-align: center; }

body.layout-centered .about__solo { margin-left: auto; margin-right: auto; text-align: center; }
body.layout-centered .about__solo .lead { margin-left: auto; margin-right: auto; }
body.layout-centered .about__solo .eyebrow { justify-content: center; }
body.layout-centered .about__sign { align-items: center; }

body.layout-centered #methods .methods__title { margin-left: auto; margin-right: auto; text-align: center; }

body.layout-centered .faq__intro { text-align: center; }
body.layout-centered .faq__intro .eyebrow { justify-content: center; }

/* Плейсхолдеры изображений — полосатые, с моноподписью */
.ph-label, .map-pin { position: relative; z-index: 1; }
.art-feature__media, .contacts__map, .map-bg {
  position: relative; overflow: hidden;
  background-color: var(--accent-tint);
  background-image: repeating-linear-gradient(135deg,
    color-mix(in oklch, var(--accent) 12%, transparent) 0 1px,
    transparent 1px 11px);
}
.ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: 0.04em; color: var(--accent-deep);
  opacity: .8; position: absolute; top: 16px; left: 18px;
}

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero__title { font-size: clamp(44px, 7vw, 88px); }
.hero__title--xl { font-size: clamp(46px, 8vw, 104px); letter-spacing: -0.025em; }
.hero__sub { color: var(--ink-soft); }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero__strip {
  display: flex; gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px; border-top: 1px solid var(--line-soft); flex-wrap: wrap;
  justify-content: center;
}
.hero__strip--left { justify-content: flex-start; }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat-num { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 38px); color: var(--ink); line-height: 1; }
.hero__stat-label { font-size: 13.5px; color: var(--ink-faint); }

/* centered */
.hero--centered { text-align: center; padding: clamp(36px, 5.5vw, 75px) 0 clamp(56px, 7vw, 96px); }
.hero--centered .hero__inner { position: relative; z-index: 2; }
.hero--centered .hero__cta { justify-content: center; }
.hero__orbit-bg { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); opacity: .55; z-index: 1; pointer-events: none; }

/* portrait — текст + снимок */
.hero--portrait { padding: clamp(24px, 3.5vw, 48px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid--portrait { align-items: center; }
.hero--portrait .hero__title { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.02em; }
.hero__quote-mark { font-family: var(--serif); font-size: 60px; line-height: 0.5; color: var(--accent); display: block; height: 30px; }
.hero__portrait { position: relative; margin: 0; }
.hero__portrait-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; width: 100%;
}
.hero__portrait-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 9%, #000 60%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 9%, #000 60%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__portrait-orbit { position: absolute; right: -26px; top: -26px; opacity: .5; pointer-events: none; }
.hero__portrait-cap { margin: 18px 0 0; max-width: 360px; }
.hero__portrait-cap p { font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.45; color: var(--ink-soft); margin-top: 6px; }

/* type */
.hero--type { padding: clamp(32px, 5vw, 70px) 0 clamp(48px, 6vw, 80px); }
.hero__giant { font-size: clamp(52px, 11vw, 150px); line-height: 0.98; letter-spacing: -0.03em; margin-top: 24px; }
.hero__giant em { font-style: italic; color: var(--accent-deep); }
.hero__giant-mark { display: inline-block; vertical-align: middle; margin: 0 8px; }
.hero__giant-mark svg { display: inline-block; }
.hero__type-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 44px; flex-wrap: wrap; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 420px; }
}

/* ============ О ПСИХОЛОГЕ ============ */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about__solo { max-width: 760px; }
.about__solo .lead { font-size: clamp(21px, 2.4vw, 27px); }
.about__sign { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.about__sign-name { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--ink); }

.timeline { display: flex; flex-direction: column; gap: 2px; padding-left: 4px; }
.tl-item { display: grid; grid-template-columns: 56px 18px 1fr; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.tl-item:last-child { border-bottom: 0; }
.tl-year { font-family: var(--serif); font-size: 17px; color: var(--accent-deep); }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 0 auto; box-shadow: 0 0 0 4px var(--accent-tint); }
.tl-text { font-size: 15.5px; color: var(--ink-soft); }

.methods__title { font-size: clamp(24px, 3vw, 34px); max-width: 620px; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.method-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.method-card__badge {
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-deep); border: 1px solid var(--accent-soft);
}
.method-card__name { font-size: 19px; line-height: 1.25; }
.method-card__desc { font-size: 14.5px; line-height: 1.55; }

@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } }

/* ============ УСЛУГИ ============ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.svc-card { padding: 30px 28px; display: flex; flex-direction: column; }
.svc-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.svc-card__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; }
.svc-card__aud { font-size: 13px; }
.svc-card__name { font-size: 23px; margin-bottom: 10px; }
.svc-card__desc { font-size: 15px; line-height: 1.55; flex-grow: 0; }
.svc-card__points { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 9px; }
.svc-card__points li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); }
.svc-card__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.svc-card__price { display: flex; align-items: baseline; gap: 6px; }
.svc-card__prices { display: flex; flex-direction: column; gap: 2px; }
.svc-card__online { font-size: 13px; color: var(--ink-faint); }
.svc-card__amount { font-family: var(--serif); font-size: 24px; color: var(--ink); white-space: nowrap; }

/* ============ ТЕСТЫ ============ */
.section--tests { background: var(--cream-deep); }
.tests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.test-card { padding: 30px 28px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 14px; font-family: inherit; background: var(--paper); }
.test-card__top { display: flex; align-items: center; justify-content: space-between; }
.test-card__idx { font-family: var(--serif); font-size: 28px; color: var(--line); }
.test-card__name { font-size: 24px; line-height: 1.2; }
.test-card__meta { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-faint); }
.test-card__go { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--accent-deep); }

/* ============ СТАТЬИ ============ */
.art-feature { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; margin-bottom: 28px; }
.art-feature__media { min-height: 300px; }
.art-feature__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.art-feature__title { font-size: clamp(24px, 3vw, 34px); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.art-row { background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; transition: background .25s; cursor: pointer; }
.art-row:hover { background: var(--accent-tint); }
.art-row__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.art-row__title { font-size: 21px; line-height: 1.22; }
.art-row__ex { font-size: 14.5px; line-height: 1.55; flex-grow: 1; }
.art-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; margin-top: 4px; }
.art-meta span { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 760px) { .art-feature { grid-template-columns: 1fr; } .art-feature__media { min-height: 200px; } }

/* ============ FAQ ============ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__q { width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0;
  font-size: 18px; font-weight: 600; color: var(--ink); transition: color .2s; }
.faq-item__q:hover { color: var(--accent-deep); }
.faq-item--open .faq-item__q { color: var(--accent-deep); }
.faq-item__ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.faq-item--open .faq-item__ic { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-item__a { overflow: hidden; transition: max-height .4s cubic-bezier(.3,.7,.3,1); }
.faq-item__a p { padding-bottom: 24px; font-size: 16px; line-height: 1.65; max-width: 620px; }

@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

/* ============ КОНТАКТЫ ============ */
.contacts { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.contacts__left { padding: clamp(36px, 5vw, 64px); }
.contacts__rows { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.contact-row:last-child { border-bottom: 0; }
.contact-row b { white-space: nowrap; }
.contacts__note { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 13px 16px; border-radius: 11px; background: var(--accent-tint); border: 1px solid var(--accent-soft); color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.contact-row__ic { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.contacts__map { position: relative; min-height: 380px; display: grid; place-items: center; }
.map-pin { width: 54px; height: 54px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 12px 30px -8px oklch(0.4 0.05 168 / .5); z-index: 2; }
.map-pin svg { transform: rotate(45deg); }

@media (max-width: 820px) { .contacts { grid-template-columns: 1fr; } .contacts__map { min-height: 260px; } }

/* ============ ФУТЕР ============ */
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h3 { font-size: 16px; margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 15px; }
.footer__bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid oklch(0.4 0.01 80); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: oklch(0.66 0.01 80); }

@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ Мобильное меню ============ */
.nav__mobile { display: flex; flex-direction: column; padding: 8px var(--gut) 20px; gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.nav__mobile-link { padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }

/* ============ МОДАЛКИ ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: oklch(0.25 0.012 70 / .42);
  backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 4vw, 48px) 16px; overflow-y: auto;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; background: var(--cream); border-radius: 20px; width: 100%; max-width: 560px;
  box-shadow: 0 40px 100px -30px oklch(0.2 0.02 70 / .5); margin: auto;
  animation: pop .35s cubic-bezier(.2,.8,.3,1); overflow: hidden;
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal--test { max-width: 600px; }
.modal--booking { max-width: 600px; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink-soft); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--ink); color: var(--cream); }
.modal__title { font-size: clamp(24px, 3vw, 30px); }
.modal__body { padding: clamp(28px, 4vw, 44px); }
.modal__foot { display: flex; justify-content: space-between; gap: 12px; padding: 22px clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-soft); background: var(--paper); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* шаги записи */
.modal__progress { display: flex; gap: 6px; padding: 26px clamp(28px, 4vw, 44px) 0; }
.pstep { display: flex; align-items: center; gap: 8px; flex: 1; opacity: .5; transition: opacity .3s; }
.pstep--on, .pstep--done { opacity: 1; }
.pstep__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--line); flex-shrink: 0; transition: background .3s, color .3s; }
.pstep--on .pstep__dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pstep--done .pstep__dot { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-soft); }
.pstep__label { font-size: 13px; font-weight: 600; }
@media (max-width: 540px) { .pstep__label { display: none; } }

/* booking embed */
.booking-head { padding: 30px clamp(24px, 4vw, 40px) 8px; }
.booking-embed { padding: 16px clamp(16px, 3vw, 28px) 28px; display: flex; justify-content: center; }

/* ============ ТЕСТ-раннер ============ */
.test-head { padding: 32px clamp(28px, 4vw, 44px) 0; }
.test-bar { height: 4px; background: var(--line-soft); border-radius: 999px; margin-top: 22px; overflow: hidden; }
.test-bar__fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s cubic-bezier(.3,.7,.3,1); }
.test-bar__label { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; display: inline-block; white-space: nowrap; }
.q-area { padding: 24px clamp(28px, 4vw, 44px) 36px; }
.q-text { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; min-height: 70px; animation: rise .35s ease; }
.q-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.q-opt { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: inherit; font-size: 16px; color: var(--ink); text-align: left; transition: border-color .2s, background .2s; }
.q-opt:hover { border-color: var(--accent); background: var(--accent-tint); }
.q-opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; transition: border-color .2s, box-shadow .2s; }
.q-opt--on { border-color: var(--accent); background: var(--accent-tint); }
.q-opt--on .q-opt__radio { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--accent-tint); }
.q-nav { display: flex; justify-content: space-between; margin-top: 22px; }

/* результат */
.result { padding: 38px clamp(28px, 4vw, 44px) 40px; text-align: center; }
.result .eyebrow { justify-content: center; }
.result-gauge { position: relative; display: inline-block; margin: 14px 0 6px; }
.result-gauge__num { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; }
.result-gauge__score { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--ink); }
.result-gauge__max { font-size: 13px; color: var(--ink-faint); }
.result__level { font-size: clamp(26px, 3.4vw, 34px); margin-top: 8px; }
.result__note { max-width: 420px; margin: 14px auto 0; font-size: 16px; line-height: 1.6; }
.band-scale { display: flex; gap: 6px; margin: 30px auto 0; max-width: 460px; }
.band-seg { flex: 1; display: flex; flex-direction: column; gap: 8px; opacity: .45; transition: opacity .3s; }
.band-seg--on { opacity: 1; }
.band-seg__bar { height: 5px; border-radius: 999px; background: var(--line); }
.band-seg--on .band-seg__bar { background: var(--accent); }
.band-seg__txt { font-size: 10.5px; line-height: 1.25; color: var(--ink-soft); font-weight: 600; }
.result__disclaimer { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-faint); margin: 26px auto 0; max-width: 440px; }
.result__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* опции записи (legacy, на случай) */
.opt-grid { display: grid; gap: 14px; }
.opt-grid--2 { grid-template-columns: 1fr 1fr; }
.opt-card { position: relative; padding: 26px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-family: inherit; color: var(--ink); transition: border-color .2s, background .2s; }
.opt-card:hover { border-color: var(--accent); }
.opt-card--on { border-color: var(--accent); background: var(--accent-tint); }
.opt-card__check { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .2s; }
.opt-card--on .opt-card__check, .svc-row--on .opt-card__check { opacity: 1; transform: scale(1); }
.opt-card__title { font-size: 18px; font-weight: 700; }
.opt-card__note { font-size: 13.5px; color: var(--ink-soft); }

.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: inherit; text-align: left; transition: border-color .2s, background .2s; }
.svc-row:hover { border-color: var(--accent); }
.svc-row--on { border-color: var(--accent); background: var(--accent-tint); }
.svc-row__ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; flex-shrink: 0; }
.svc-row--on .svc-row__ic { background: var(--paper); }
.svc-row__main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.svc-row__name { font-size: 16px; font-weight: 600; color: var(--ink); }
.svc-row__meta { font-size: 13.5px; color: var(--ink-faint); }
.svc-row .opt-card__check { position: static; }

/* день/время */
.day-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.day-chip { flex-shrink: 0; width: 62px; padding: 12px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 3px; transition: .2s; }
.day-chip:hover { border-color: var(--accent); }
.day-chip--on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.day-chip__dow { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.day-chip__day { font-family: var(--serif); font-size: 22px; line-height: 1; }
.day-chip__mo { font-size: 11px; opacity: .7; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 18px; transition: opacity .3s; }
.slot-row--off { opacity: .4; }
.slot { padding: 13px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: inherit; font-size: 15px; color: var(--ink); transition: .2s; }
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot--on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

/* поля */
.field { margin-bottom: 18px; }
.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field__input { width: 100%; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field__hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* готово */
.bstep--done { text-align: center; }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .5s cubic-bezier(.2,.8,.3,1); }
.summary { margin-top: 26px; text-align: left; border: 1px solid var(--line-soft); border-radius: 14px; padding: 8px 20px; background: var(--paper); }
.summary__row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.summary__row:last-child { border-bottom: 0; }

/* ============ МЕДИТАЦИИ ============ */
.med-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.med-item { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 24px; }
.med-item__head { display: flex; align-items: center; justify-content: space-between; }
.med-item__dur { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.med-item__title { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); line-height: 1.3; }
.med-item__desc { font-size: 15px; line-height: 1.65; flex: 1; }

.med-player { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.med-player__btn {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--cream);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, transform 0.1s;
  padding-left: 2px;
}
.med-player__btn:hover { background: var(--accent-deep); transform: scale(1.06); }
.med-player__btn--playing { background: var(--accent-deep); padding-left: 0; }
.med-player__track { flex: 1; display: flex; flex-direction: column; gap: 8px; cursor: pointer; user-select: none; }
.med-player__bar {
  position: relative; height: 3px;
  background: var(--accent-soft); border-radius: 2px;
}
.med-player__fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--accent); border-radius: 2px;
  transition: width 0.1s linear;
}
.med-player__thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
  transition: left 0.1s linear;
}
.med-player__times { display: flex; justify-content: space-between; font-size: 12px; }

@media (max-width: 680px) {
  .med-grid { grid-template-columns: 1fr; }
}
