@charset "UTF-8";

/* ---------- Базовое ---------- */
:root {
  --bg: #efefef;
  --surface: #fff;
  --ink: #2a2017;
  --muted: #5b4d3f;          /* ≥ 6:1 на всех светлых фонах сайта */
  --accent: #7a5429;           /* коричневый: выделенный текст */
  --green: #2f5f4b;            /* зелёный: кнопки и тёмные блоки */
  --accent-soft: #e6e6e6;
  --line: #d6d6d6;
  --title: "Trebuchet MS", Arial, sans-serif;
  --radius: 2px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: var(--bg); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
main:focus { outline: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul { margin-top: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-family: var(--title); }
.wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.site-header { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 13px/1 Georgia, serif; letter-spacing: .05em; padding-left: .05em; white-space: nowrap; }
.brand-name { display: grid; line-height: 1.15; }
.brand-name strong { font: 600 17px/1.2 var(--title); }
.brand-name small { margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; gap: clamp(8px, 1.6vw, 22px); color: var(--muted); font-size: 14px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.site-nav a[aria-current] { font-weight: 700; }

.header-cta, .button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border: 1px solid var(--green); border-radius: var(--radius); background: var(--green); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s, filter .2s; }
.header-cta:hover, .button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Главный экран ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding-block: 56px 72px; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
h1 { max-width: 650px; margin-bottom: 22px; font-size: clamp(42px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
h1 em { color: var(--accent); font-style: normal; }
.hero-lede { max-width: 500px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.teacher-mark { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.teacher-mark strong { color: var(--accent); font: 700 18px/1 var(--title); }
.teacher-mark span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.hero-media { min-width: 0; margin: 0; }
.hero-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: #c9b793; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-video-toggle { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(42, 32, 23, .72); color: #fff; cursor: pointer; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero-video-toggle .i-pause { display: none; }
.hero-video-toggle.is-playing .i-pause { display: block; }
.hero-video-toggle.is-playing .i-play { display: none; }
.hero-media figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero-media figcaption .dot { margin-inline: .35em; color: var(--green); }

/* ---------- Плашка ---------- */
.proof-band { background: var(--surface); }
.proof-items { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding-block: 19px; }
.proof-items li { display: flex; align-items: center; gap: 14px; padding: 5px 20px; border-right: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.45; }
.proof-items li:first-child { padding-left: 0; }
.proof-items li:last-child { border: 0; }
.proof-items strong { color: var(--accent); font: 24px/1 var(--title); }

/* ---------- Секции ---------- */
.section { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 11px; }
h2 { margin-bottom: 0; font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; }
.section-heading > p { max-width: 340px; margin: 0 0 3px; color: var(--muted); font-size: 15px; }

/* Направления */
.practice-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin: 0; }
.practice-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s; }
.practice-card { grid-column: span 2; }
.practice-card--ash { grid-column: span 2; }
.practice-card--str { grid-column: span 4; }
.practice-card:hover { border-color: var(--green); transform: translateY(-2px); }
.practice-card > img { width: 100%; height: 220px; object-fit: cover; object-position: center 43%; }
.practice-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 20px 14px; }
.practice-copy > span { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.practice-copy h3 { margin: 10px 0 8px; font-size: 26px; font-weight: 600; line-height: 1.15; }
.practice-copy p { margin: 0 0 8px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.practice-link { margin-top: auto; color: var(--green); }
.practice-link::after { position: absolute; inset: 0; content: ""; }   /* вся карточка кликабельна */
.breath-art { position: relative; display: grid; place-items: center; min-height: 220px; flex: 1; overflow: hidden; background: var(--accent-soft); color: var(--accent); }
.breath-art::before, .breath-art::after { position: absolute; width: 160px; height: 160px; border: 1px solid currentColor; border-radius: 50%; opacity: .42; content: ""; }
.breath-art::after { width: 240px; height: 240px; opacity: .23; }
.breath-art .breath-word { z-index: 1; font: italic 30px/1 var(--title); }
.breath-art .breath-num { position: absolute; right: 17px; bottom: 14px; font: 700 13px/1 Arial, Helvetica, sans-serif; }
.practice-card--ash > img { height: 300px; object-position: 48% 40%; }
.practice-card--str > img { height: 300px; object-position: 50% 58%; }

/* О преподавателе */
.teacher-section { padding-block: 76px; background: #e8e8e8; }
.teacher-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 8vw, 105px); }
.teacher-photo { margin: 0; }
.teacher-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; object-position: 52% 44%; }
.teacher-copy .eyebrow { margin-bottom: 13px; }
.teacher-copy h2 { max-width: 520px; margin-bottom: 18px; }
.teacher-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 16px; }
.teacher-copy .text-link { margin-top: 10px; }

/* Форматы */
.formats-section { padding-block: 83px 92px; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 0; border-block: 1px solid var(--line); }
.format-grid li { min-height: 178px; padding: 23px 22px 24px 0; }
.format-grid li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.format-grid li > span { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.format-grid h3 { margin: 14px 0 8px; font-size: 24px; font-weight: 600; }
.format-grid p { max-width: 320px; margin: 0; color: var(--muted); font-size: 15px; }
.format-grid .button { margin-top: 16px; }

/* Финал */
.closing-section { padding-block: 68px; background: var(--green); color: #fff; }
.closing-inner { text-align: center; }
.closing-inner .eyebrow { color: #cfe0d6; }
.closing-inner h2 { color: #fff; }
.closing-inner .button { border-color: #fff; background: #fff; color: var(--green); }
.closing-inner h2 { max-width: 710px; margin: 0 auto 13px; }
.closing-inner > p:not(.eyebrow) { margin-bottom: 24px; color: #e6efe9; font-size: 16px; }

/* ---------- Подвал ---------- */
.site-footer { background: #e4e4e4; color: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 115px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; margin: 0; max-width: 560px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 18px; font-weight: 700; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; padding-block: 8px; border-top: 1px solid #cfcfcf; color: var(--muted); font-size: 13px; }
.footer-bottom span, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a { text-decoration: none; }

/* ---------- Внутренние страницы ---------- */
.section-more { margin: 22px 0 0; }
.crumbs { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { margin-inline: 8px; color: var(--line); content: "/"; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: 40px 64px; }
.page-hero h1 { max-width: 640px; font-size: clamp(36px, 4.6vw, 62px); }
.page-hero-media { min-width: 0; margin: 0; }
.page-hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; }
.content-section { padding-block: 40px; border-top: 1px solid var(--line); }
.content-section:last-of-type { margin-bottom: 24px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 6vw, 80px); align-items: start; }
.content-section h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.content-body > :last-child { margin-bottom: 0; }
.content-body p { max-width: 640px; margin-bottom: 14px; color: var(--muted); font-size: 16px; }
.content-body a { color: var(--accent); text-underline-offset: 3px; }
.ticks { display: grid; gap: 10px; margin: 0 0 14px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); }
.ticks li::before { position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-50%); content: ""; }
.info-note { max-width: 640px; margin: 4px 0 14px; padding: 18px 20px; border-left: 3px solid var(--green); background: var(--surface); }
.info-note strong { display: block; margin-bottom: 6px; color: var(--ink); font: 600 17px/1.3 var(--title); }
.info-note p { margin: 0; }
.more-section { padding-block: 48px 64px; }
.more-section h2 { margin-bottom: 22px; font-size: clamp(26px, 3vw, 36px); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0; }
.more-link { display: grid; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.more-link:hover { border-color: var(--green); transform: translateY(-2px); }
.more-link span { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.more-link strong { font: 600 19px/1.25 var(--title); }
.more-link small { color: var(--muted); font-size: 14px; }
.faq-hero { padding-block: 40px 16px; }
.faq-hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
.faq-section { padding-bottom: 24px; }
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; min-height: 56px; padding: 16px 40px 16px 0; font: 600 19px/1.35 var(--title); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; content: ""; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { max-width: 680px; margin: 0 0 18px; color: var(--muted); }
.faq-list details a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Планшет ---------- */
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { gap: 18px; }
  .hero { gap: 32px; padding-block: 44px 56px; }
  .practice-card > img { height: 190px; }
  .practice-copy h3 { font-size: 23px; }
  .practice-card--ash > img, .practice-card--str > img { height: 260px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
  .br-wide { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 0 44px; }
  .hero-media { order: -1; width: 100vw; margin-inline: calc(50% - 50vw); }   /* видео-баннер на всю ширину, над текстом */
  .hero-frame { border-radius: 0; }
  .hero-media figcaption { margin: 10px 18px 0; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 0; gap: 4px 10px; padding-block: 10px 4px; }
  .brand-mark { width: 38px; height: 38px; font-size: 12px; }
  .brand-name strong { font-size: 15px; }
  .header-cta { min-height: 44px; padding-inline: 14px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: flex-start; gap: 0 14px; font-size: 14px; }
  .site-nav a { padding-inline: 0; white-space: nowrap; }
  h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
  .hero-lede { font-size: 16px; }
  .teacher-mark { margin-top: 24px; }
  .proof-items { grid-template-columns: 1fr; padding-block: 8px; }
  .proof-items li, .proof-items li:first-child { min-height: 56px; padding: 8px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-items li:last-child { border-bottom: 0; }
  .section { padding-block: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 22px; }
  h2 { font-size: 36px; }
  .practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .practice-card, .practice-card--ash, .practice-card--str { grid-column: auto; }
  .practice-card--ash > img { height: 290px; }
  .practice-card--str > img { height: 230px; }
  .practice-card > img { height: 230px; }
  .breath-art { min-height: 160px; flex: none; }
  .teacher-section { padding-block: 56px; }
  .teacher-grid { grid-template-columns: 1fr; gap: 26px; }
  .teacher-photo img { height: 74vw; min-height: 270px; max-height: 410px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-grid li { min-height: 0; padding: 19px 0; }
  .format-grid li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .closing-section { padding-block: 52px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 22px; }
  .footer-nav ul { justify-content: flex-start; flex-direction: column; }
  .page-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 20px 40px; }
  .page-hero-media { order: -1; }
  .page-hero-media img { height: auto; aspect-ratio: auto; }
  .content-grid { grid-template-columns: 1fr; gap: 14px; }
  .content-section { padding-block: 28px; }
  .more-grid { grid-template-columns: 1fr; }
  .faq-hero { padding-block: 20px 8px; }
}

/* ---------- Анкета ---------- */
.quiz-section { padding-block: 8px 72px; }
.quiz { max-width: 780px; }
.quiz-card { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); background: var(--surface); }
.quiz-count { margin: 0 0 8px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.quiz-bar { height: 4px; margin-bottom: 28px; background: var(--accent-soft); }
.quiz-bar span { display: block; height: 100%; background: var(--green); transition: width .3s; }
.quiz-lead { margin: 0 0 22px; padding: 14px 18px; border-left: 3px solid var(--green); background: #f1f5f2; color: var(--muted); font-size: 15px; line-height: 1.6; }
.quiz-q { margin: 0 0 8px; padding: 0; font: 700 clamp(22px, 3vw, 30px)/1.25 var(--title); outline: none; }
.quiz-fs { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-fs legend { float: left; width: 100%; }
.quiz-fs legend + * { clear: both; }
.quiz-hint { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.quiz-text { max-width: 600px; margin: 14px 0 26px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.quiz-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.quiz-opts { display: grid; gap: 10px; margin-top: 20px; }
.quiz-tile { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz-tile:hover { border-color: var(--green); }
.quiz-tile.is-on { border-color: var(--green); background: #eef4f0; }
.quiz-tile.is-disabled { cursor: not-allowed; opacity: .5; }
.quiz-tile:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.quiz-cb { position: absolute; width: 1px; height: 1px; opacity: 0; }
.quiz-mark { flex: none; position: relative; width: 20px; height: 20px; border: 1.5px solid #9b9b9b; background: #fff; transition: background .15s, border-color .15s; }
.quiz-mark--radio { border-radius: 50%; }
.quiz-mark--check { border-radius: 3px; }
.is-on > .quiz-mark { border-color: var(--green); background: var(--green); }
.is-on > .quiz-mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.quiz-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 26px; }
.quiz-nav--start { justify-content: flex-start; margin-top: 22px; }
.quiz-nav--result { justify-content: flex-start; gap: 12px 24px; margin-top: 26px; }
.quiz-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.quiz-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.quiz-start, .quiz-form .button, .quiz-nav .button { cursor: pointer; font-family: inherit; }
.quiz-form { margin-top: 20px; }
.quiz-input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.quiz-input:focus { border-color: var(--green); }
.quiz-result .eyebrow { margin-bottom: 12px; }
.result-sub { margin: 0 0 14px; color: var(--accent); font: 600 clamp(18px, 2.2vw, 22px)/1.35 var(--title); }
.quiz-result > p { max-width: 640px; color: var(--muted); }
.result-facts { display: grid; gap: 8px; max-width: 640px; margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.result-facts li { color: var(--muted); }
.result-facts strong { color: var(--ink); }
.quiz-result .result-extra { margin: 0 0 12px; font-size: 15px; }
.quiz-result .result-extra a, .quiz-alt a { color: var(--green); font-weight: 700; }
.quiz-alt { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.quiz-result .info-note { margin-block: 6px 16px; }
@media (max-width: 760px) {
  .quiz-section { padding-bottom: 48px; }
  .quiz-card { padding: 20px 16px; }
  .quiz-tile { padding: 11px 13px; font-size: 15px; }
  .quiz-nav { margin-top: 22px; }
  .quiz-nav--result .button { width: 100%; }
}

.teacher-copy p a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Мессенджеры ---------- */
.messengers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; }
.messengers li { min-width: 0; }
.messengers a { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; border: 1px solid var(--green); border-radius: var(--radius); color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.messengers a:hover { background: var(--green); color: #fff; }
.messengers--light { max-width: 520px; margin: 22px auto 0; }
.messengers--light a { border-color: rgba(255, 255, 255, .7); color: #fff; }
.messengers--light a:hover { border-color: #fff; background: #fff; color: var(--green); }
@media (max-width: 760px) {
  .hero-media .messengers { margin: 14px 18px; }
}
@media (max-width: 420px) {
  .messengers { gap: 8px; }
  .messengers a { padding: 0 6px; font-size: 13px; }
}

/* ---------- Уважение к настройкам пользователя ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Окно «Написать мне» ---------- */
html.cf-lock { overflow: hidden; }
.cf-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(42, 32, 23, .3); }
.cf-dialog::backdrop { background: rgba(42, 32, 23, .55); }
.cf-box { position: relative; padding: 38px 32px 28px; }
.cf-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.cf-close:hover { color: var(--ink); background: var(--bg); }
.cf-title { margin: 0 44px 8px 0; font: 700 28px/1.15 var(--title); letter-spacing: -.02em; }
.cf-title:focus { outline: none; }
.cf-lede { margin-bottom: 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.cf-field { margin-bottom: 16px; }
.cf-field > label:not(.cf-consent) { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.cf-opt { color: var(--muted); font-weight: 400; }
.cf-field input, .cf-field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #8a7f72; border-radius: var(--radius); background: #fff; color: var(--ink); font: 16px/1.4 Arial, Helvetica, sans-serif; }
.cf-field textarea { min-height: 96px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
.cf-field [aria-invalid="true"] { border-color: #a12d1f; }
.cf-err { margin: 6px 0 0; color: #a12d1f; font-size: 14px; line-height: 1.45; }
.cf-fail { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid #a12d1f; background: #faf1ef; color: var(--ink); font-size: 14px; line-height: 1.55; }
.cf-fail a { color: var(--green); font-weight: 700; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit, .cf-done-close { width: 100%; cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
.cf-submit:disabled { cursor: default; opacity: .7; transform: none; filter: none; }
.cf-alt { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.cf-alt a { color: var(--green); font-weight: 700; }
@media (max-width: 520px) {
  .cf-box { padding: 34px 20px 22px; }
  .cf-title { font-size: 25px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cf-dialog[open] { animation: cf-in .18s ease-out; }
  @keyframes cf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Политика конфиденциальности и согласие в форме ---------- */
.legal-head { padding-block: 40px 28px; }
.legal-head h1 { max-width: 760px; font-size: clamp(32px, 4.2vw, 54px); }
.legal-head .hero-lede { margin-bottom: 0; }
.cf-consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 0; font-weight: 400; font-size: 14px; line-height: 1.5; cursor: pointer; }
.cf-consent input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--green); cursor: pointer; }
.cf-consent a { color: var(--green); font-weight: 700; }

/* ---------- Абонементы ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 0; }
.price-grid li { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); background: var(--surface); }
.price-count { color: var(--muted); font-size: 14px; line-height: 1.35; }
.price-value { color: var(--ink); font: 700 26px/1.1 var(--title); letter-spacing: -.02em; white-space: nowrap; }
.price-each { color: var(--muted); font-size: 13px; line-height: 1.3; }
@media (max-width: 760px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.price-note { margin-top: 16px; }

.price-grid--solo { margin-top: 20px; }

/* Сертификаты в блоке «О преподавателе» */
.teacher-copy .text-link { color: var(--green); }
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 360px; margin: 20px 0 6px; padding: 0; list-style: none; }
.cert-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: zoom-in; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.cert-shot { display: block; aspect-ratio: 1.41 / 1; background-color: #fff; background-size: cover; background-position: center; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; -webkit-user-select: none; user-select: none; }
.cert-card:hover .cert-shot { border-color: var(--green); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.cert-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.cert-cap { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cert-cap strong { color: var(--green); }
.cert-dialog { width: min(1100px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.cert-dialog::backdrop { background: rgba(20,20,20,.82); }
.cert-view { position: relative; width: 100%; aspect-ratio: 1.41 / 1; max-height: 86vh; margin: 0 auto; background-color: #fff; background-repeat: no-repeat; background-size: contain; background-position: center; border-radius: var(--radius); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cert-view::after { content: ""; position: absolute; inset: 0; }
.cert-close { position: absolute; top: -44px; right: 0; min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius); background: #fff; color: var(--green); font: 700 14px/1 inherit; cursor: pointer; }
.cert-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cert-title { margin: 10px 0 0; color: #fff; font-size: 14px; text-align: center; }
@media (max-width: 650px) {
  .cert-list { gap: 10px; }
  .cert-dialog { width: 96vw; }
}
@media print { .cert-list { display: none; } }

/* ---------- Расписание ---------- */
.sched { --ppm: 1.5px; padding-bottom: 36px; }
.sched .k-lite { --k: #5e8f77; --kbg: #e1ece6; --kink: #1f3d30; }
.sched .k-hatha { --k: #1f4636; --kbg: #2f5f4b; --kink: #fff; }
.sched .k-flow { --k: #7a5429; --kbg: #efe3d3; --kink: #4a3118; }
.sched-next { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--green); background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1.4; }
.sched-next[hidden] { display: none; }
.sched-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 12px; }
.sched-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.sched-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 14px/1 inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.sched-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--kbg); box-shadow: inset 0 0 0 2px var(--k); }
.sched-chip:hover { border-color: var(--green); }
.sched-chip[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.sched-chip[aria-pressed="true"] i { box-shadow: inset 0 0 0 2px #fff; background: transparent; }
.sched-ics { min-height: 40px; padding: 0 16px; border: 1px solid var(--green); border-radius: var(--radius); background: transparent; color: var(--green); font: 700 14px/1 inherit; cursor: pointer; }
.sched-ics:hover { background: var(--green); color: #fff; }
.sched-tz { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sched-tz strong { color: var(--ink); }
.sched-board { display: grid; grid-template-columns: 56px minmax(0, 1fr); }
.sched-axis { position: relative; height: calc(540 * var(--ppm)); margin-top: 45px; }
.sched-head { padding-block: 28px 18px; }
.sched-head h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 10px; }
.sched-head .hero-lede { font-size: 16px; }
.sched-head .eyebrow { margin-bottom: 10px; }
.sched-head .crumbs { margin-bottom: 12px; }
.sched-axis span { position: absolute; top: calc(var(--h) * 60 * var(--ppm) - 8px); right: 10px; color: var(--muted); font-size: 13px; line-height: 16px; font-variant-numeric: tabular-nums; }
.sched-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--surface); }
.sched-day + .sched-day { border-left: 1px solid var(--line); }
.sched-day h3 { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 44px; margin: 0; border-bottom: 1px solid var(--line); background: #f4f4f4; font-size: 15px; line-height: 1.2; }
.sched-today { display: block; margin-top: 3px; color: var(--green); font: 700 11px/1 var(--title); letter-spacing: .1em; text-transform: uppercase; }
.sched-day.is-today h3 { background: #e3ede7; box-shadow: inset 0 3px 0 var(--green); }
.sched-list { position: relative; height: calc(540 * var(--ppm)); margin: 0; padding: 0; list-style: none; background-image: repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent calc(60 * var(--ppm))); }
.sched-day.is-today .sched-list { background-color: #f6faf8; }
.sched-class { position: absolute; left: 4px; right: 4px; top: calc((var(--s) - 720) * var(--ppm) + 1px); height: calc(var(--d) * var(--ppm) - 2px); }
.sched-class a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 8px 10px; overflow: hidden; border-left: 4px solid var(--k); border-radius: var(--radius); background: var(--kbg); color: var(--kink); font-size: 15px; line-height: 1.3; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.sched-class a:hover { box-shadow: 0 4px 12px rgba(0,0,0,.2); transform: translateY(-1px); }
.sched-class a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sc-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-name { font-weight: 600; }
.sc-dur, .sc-cta { display: none; }
.sched-class.is-off { visibility: hidden; }
.sched-note { margin-top: 24px; }
.sched-dirs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sched-dirs a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.sched-dirs a:hover { border-color: var(--green); }
.sched-dirs strong { color: var(--ink); font: 700 17px/1.3 var(--title); }
.sched-dirs span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .sched-board { display: block; }
  .sched-axis { display: none; }
  .sched-week { display: grid; grid-template-columns: 1fr; gap: 12px; border: 0; background: none; }
  .sched-day + .sched-day { border-left: 0; }
  .sched-day { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .sched-day.is-empty { display: none; }
  .sched-day h3 { flex-direction: row; justify-content: flex-start; gap: 10px; height: auto; min-height: 44px; padding: 10px 16px; font-size: 16px; }
  .sched-today { margin: 0; }
  .sched-list { height: auto; padding: 8px; background: none; }
  .sched-day.is-today .sched-list { background: none; }
  .sched-class { position: static; height: auto; }
  .sched-class + .sched-class { margin-top: 8px; }
  .sched-class a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "time name cta" "dur name cta"; align-items: center; gap: 0 14px; min-height: 60px; height: auto; padding: 10px 12px; font-size: 15px; }
  .sched-class a:hover { transform: none; }
  .sc-time { grid-area: time; font-size: 16px; }
  .sc-dur { grid-area: dur; display: block; font-size: 12px; opacity: .8; }
  .sc-name { grid-area: name; font-size: 16px; }
  .sc-cta { grid-area: cta; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid currentColor; border-radius: var(--radius); font-size: 13px; font-weight: 700; }
  .sched-class.is-off { display: none; }
}
@media (max-width: 480px) {
  .sched-class a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "time cta" "dur cta" "name name"; row-gap: 4px; }
  .sched-chip { padding: 0 12px; font-size: 13px; }
}
@media print { .sched-bar, .sched-next { display: none; } }

.button--outline { border-color: var(--green); background: transparent; color: var(--green); }
.button--outline:hover { background: var(--green); color: #fff; filter: none; }

/* Две практики на главной */
.practice-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.practice-grid--two .practice-card { grid-column: auto; }
.practice-grid--two .practice-card > img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.format-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .practice-grid--two { grid-template-columns: 1fr; }
  .format-grid--two { grid-template-columns: 1fr; }
}

/* Разделы с фото: текст и фото в две равные колонки, стороны чередуются */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: 56px; border-top: 1px solid var(--line); }
.band--left .band-media { order: -1; }
.band h2 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.band-media { min-width: 0; margin: 0; }
.band-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgba(42, 32, 23, .55); }
.band--tall .band-media { justify-self: start; width: min(100%, 400px); }
.band .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band + .content-section { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .band { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 40px; }
  .band--left .band-media { order: 0; }
  .band--tall .band-media { width: min(100%, 320px); justify-self: start; }
}

/* О преподавателе: лид, цифры и список */
.teacher-copy > p.about-lead { max-width: 520px; margin-bottom: 22px; color: var(--ink); font: 400 clamp(19px, 2vw, 23px)/1.4 var(--title); }
.about-stats { display: flex; flex-wrap: wrap; gap: 14px 30px; max-width: 520px; margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid var(--line); list-style: none; }
.about-stats li { display: flex; flex-direction: column; gap: 3px; }
.about-stats strong { color: var(--accent); font: 700 26px/1 var(--title); }
.about-stats span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.teacher-copy > p.about-sub { margin-top: 20px; margin-bottom: 10px; color: var(--ink); font-weight: 700; }
.about-ticks { max-width: 520px; margin-bottom: 22px; }
.about-ticks li { color: var(--muted); }
.about-ticks li strong { color: var(--ink); }

/* Видео в блоке «О преподавателе» */
.teacher-media { min-width: 0; }
.about-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.video-card { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #1f1913; aspect-ratio: 9 / 16; }
.video-card video { display: block; width: 100%; height: 100%; object-fit: contain; background: #1f1913; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.video-play svg { box-sizing: content-box; width: 26px; height: 26px; padding: 19px 17px 19px 21px; border-radius: 50%; background: var(--green); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55); transition: transform .2s ease, background-color .2s ease; }
.video-play:hover svg { background: #264e3d; transform: scale(1.06); }
.video-play:focus-visible { outline: 3px solid var(--green); outline-offset: -6px; }
.video-card.is-playing .video-play { display: none; }
@media (max-width: 650px) {
  .about-videos { gap: 10px; margin-top: 10px; }
  .video-play svg { width: 20px; height: 20px; padding: 14px 12px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .video-play svg { transition: none; } }
@media (max-width: 650px) {
  .about-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; }
  .about-stats strong { font-size: 21px; }
  .about-stats span { font-size: 12px; }
}

/* Баннер Rishikesh Way: фирменные цвета rishikeshway.com */
.rw-section { padding-block: 0 72px; }
.rw-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(22px, 3vw, 36px); border-radius: 18px; background: linear-gradient(135deg, #3D5A75 0%, #2E465D 100%); color: #fff; box-shadow: 0 24px 50px -30px rgba(26, 36, 48, .7); }
.rw-photo { min-width: 0; margin: 0; }
.rw-photo img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.rw-copy { min-width: 0; padding-right: clamp(0px, 2vw, 24px); }
.rw-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #fff; text-decoration: none; }
.rw-logo img { display: block; width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
.rw-logo span { display: flex; flex-direction: column; gap: 3px; }
.rw-logo strong { font: 400 22px/1 Forum, "Cormorant Garamond", Georgia, serif; letter-spacing: .01em; }
.rw-logo small { color: #A9C2D8; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rw-copy h2 { max-width: 460px; margin-bottom: 16px; color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.rw-copy p { max-width: 460px; margin: 0 0 12px; color: #E3ECF3; font-size: 16px; line-height: 1.65; }
.rw-button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 14px; padding: 0 24px; border-radius: 999px; background: #fff; color: #2E465D; font-weight: 700; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.rw-button:hover { background: #DCE8F1; transform: translateY(-1px); }
.rw-button:focus-visible, .rw-logo:focus-visible { outline: 3px solid #A9C2D8; outline-offset: 3px; }
@media (max-width: 760px) {
  .rw-section { padding-bottom: 48px; }
  .rw-banner { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 16px 16px 24px; border-radius: 14px; }
  .rw-copy { padding-right: 0; }
  .rw-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rw-button { transition: none; } }
.rw-dates { margin: 18px 0 4px; }
.rw-copy .rw-dates-label { margin: 0 0 10px; color: #A9C2D8; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rw-date-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rw-date-list li { padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 15px; font-weight: 600; }

/* Бесплатные пробные занятия в расписании */
.sched-class.is-trial a { border-left: 6px solid #D32F2F; }
.sc-trial { display: block; width: fit-content; margin-top: 6px; padding: 2px 7px; border-radius: 4px; background: #D32F2F; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.35; }
.sched-trial-legend { display: flex; align-items: center; gap: 10px; margin: -8px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sched-trial-line { flex: none; width: 4px; height: 18px; border-radius: 2px; background: #D32F2F; }

/* Плашка пробных занятий на главной */
.trial-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px 40px; margin-top: 18px; padding: 24px 30px; border: 1px solid var(--line); border-left: 6px solid #D32F2F; border-radius: var(--radius); background: var(--surface); }
.trial-head .eyebrow { margin-bottom: 8px; }
.trial-head h3 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
.trial-tz { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.trial-slots { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; padding: 0; list-style: none; }
.trial-slots li { display: flex; flex-direction: column; gap: 3px; padding: 2px 30px; border-left: 1px solid var(--line); }
.trial-slots li:first-child { padding-left: 0; border-left: 0; }
.trial-day { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.trial-time { font: 600 22px/1.2 var(--title); font-variant-numeric: tabular-nums; }
.trial-class { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 600; }
.trial-dot { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.trial-dot--lite { background: #5e8f77; }
.trial-dot--hatha { background: #1f4636; }
.trial-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 1020px) {
  .trial-note { grid-template-columns: minmax(0, 1fr); padding: 22px 22px 24px; }
}
@media (max-width: 560px) {
  .trial-slots { flex-direction: column; gap: 0; }
  .trial-slots li, .trial-slots li:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .trial-slots li:first-child { padding-top: 0; border-top: 0; }
  .trial-actions { align-items: stretch; }
  .trial-actions .button { justify-content: center; text-align: center; }
}

.button--red { border-color: #a3281f; background: #a3281f; color: #fff; box-shadow: 0 2px 0 rgba(42, 32, 23, .18); }
.button--red:hover { border-color: #84201a; background: #84201a; color: #fff; filter: none; box-shadow: 0 6px 14px rgba(163, 40, 31, .32); }
.button--red:active { transform: translateY(0); box-shadow: none; }
.button--red:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Блог (2026-11-15) ---------- */
.page-hero-media--portrait img { width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.article-meta { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.article { border-top: 1px solid var(--line); }
.article-body { max-width: 720px; padding-block: 44px 28px; font-size: 18px; line-height: 1.75; }
.article-body h2 { margin: 44px 0 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 18px; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.tag-title { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag-list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 14px; line-height: 1.35; }
.tag-list--small { margin-bottom: 14px; }
.tag-list--small li { padding: 4px 10px; font-size: 13px; }
.post-section { padding-block: 8px 64px; }
.post-list { display: grid; gap: 20px; margin: 0; }
.post-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-media img { width: 100%; height: auto; border-radius: var(--radius); }
.post-copy h2 { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.post-copy h2 a { text-decoration: none; }
.post-copy h2 a:hover { color: var(--accent); }
.post-copy p { color: var(--muted); }
@media (max-width: 650px) {
  .article-body { font-size: 17px; padding-top: 32px; }
  .post-card { grid-template-columns: minmax(0, 1fr); }
  .post-media { max-width: 240px; }
}
