/* The Studio by Vaynberg
   Тёплый светлый фон, почти чёрный текст, оранжевый акцент.
   Крупные скруглённые плитки, кнопки-таблетки, заголовки капсом. */

/* Палитра: холодный светлый фон, пудрово-голубой, глубокий бордо. */
:root {
  --paper:      #e9ecf0;
  --paper-2:    #cbdcec;
  --card:       #ffffff;
  --ink:        #16171a;
  --ink-2:      #4a4f57;
  --muted:      #8a9099;
  --line:       #dbe1e8;
  --accent:     #6e1322;
  --accent-ink: #58101c;
  --accent-soft:#f0dee2;
  --blue:       #bbd4ea;
  --blue-deep:  #7ea6cc;
  --dark:       #5c101d;

  --display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ui: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --gutter: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- типографика ------------------------------------------------------ */
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
h1 {
  font-size: clamp(2.4rem, 9.5vw, 5rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em; text-wrap: balance;
}
h2 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); font-weight: 600; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink); margin: 0 0 16px;
}
.eyebrow--pill {
  border: 1px solid currentColor; border-radius: var(--r-pill);
  padding: 7px 16px; color: inherit;
}
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 46ch; }
.quiet { color: var(--muted); font-size: 0.88rem; }
.accent { color: var(--accent-ink); }

/* стрелка в углу плитки, как на карточках-бенто */
.arrow {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(20,19,18,.06); color: var(--ink); font-size: 15px; line-height: 1;
}
.arrow--light { background: rgba(255,255,255,.22); color: #fff; }

/* --- кнопки ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 28px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: background .18s ease, color .18s ease, transform .12s ease;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
  text-decoration: none; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.textlink:hover { color: var(--accent-ink); }

/* --- шапка ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(233,236,240,.86);
  backdrop-filter: saturate(150%) blur(14px);
}
.site-header__inner { display: flex; align-items: center; gap: 14px; min-height: 72px; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark b {
  font-family: var(--display); font-size: 1.15rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.02em; white-space: nowrap;
}
.wordmark span { font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.site-nav { display: none; margin-left: auto; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-mine { color: var(--accent-ink); }
.site-header .btn { margin-left: auto; min-height: 44px; padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.site-nav + .btn { margin-left: 24px; }
@media (min-width: 900px) { .site-nav { display: flex; } }

.btn__long { display: none; }
.btn__short { display: inline; }
@media (min-width: 560px) { .btn__long { display: inline; } .btn__short { display: none; } }

/* ======================================================================
   БЛОКИ ГЛАВНОЙ
   ====================================================================== */

/* --- 1. Герой: картина во всю ширину, заголовок на оранжевой полосе --- */
.hero-full {
  position: relative; margin: 0 var(--gutter); border-radius: var(--r-lg);
  overflow: hidden; background: var(--paper-2); isolation: isolate;
  min-height: 560px; display: grid;
}
.hero-full__media { position: absolute; inset: 0; z-index: -2; }
.hero-full__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-full__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,18,.52) 0%, rgba(20,19,18,.18) 38%, rgba(20,19,18,.74) 100%);
}
/* оранжевая полоса под заголовком */
.hero-full__streak {
  position: absolute; left: 0; right: 0; top: 38%; height: 190px; z-index: -1;
  background: linear-gradient(90deg, rgba(110,19,34,0) 0%, rgba(110,19,34,.86) 18%, rgba(110,19,34,.92) 55%, rgba(110,19,34,0) 100%);
  filter: blur(1px);
}
.hero-full__inner {
  position: relative; display: grid; align-content: space-between; gap: 28px;
  padding: 26px 22px 24px; color: #fff; min-height: inherit;
}
.hero-full__top { display: flex; justify-content: center; }
.hero-full__mid { text-align: center; }
.hero-full h1 { color: #fff; margin-bottom: 18px; }
.hero-full__sub { color: rgba(255,255,255,.92); font-size: 1rem; max-width: 42ch; margin: 0 auto; font-weight: 500; }
.hero-full__corners {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.hero-full__corners span:last-child { text-align: right; }
.hero-full .eyebrow--pill { color: #fff; border-color: rgba(255,255,255,.5); margin: 0; }
.hero-full__cta { padding-top: 6px; }
@media (min-width: 760px) {
  .hero-full { min-height: 86vh; }
  .hero-full__inner { padding: 40px 40px 36px; }
  .hero-full__streak { height: 26%; top: 36%; }
}

/* --- 2. Три плитки с фактами ----------------------------------------- */
.offer { margin-top: 14px; }
.offer__facts { display: grid; gap: 10px; }
.offer__facts > div {
  background: var(--card); border-radius: var(--r-md); padding: 22px 20px;
}
.offer__facts b {
  display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.offer__facts span {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-top: 9px;
}
.offer__notes {
  background: var(--card); border-radius: var(--r-md); padding: 24px 20px;
  margin-top: 10px;
}
@media (min-width: 680px) { .offer__facts { grid-template-columns: repeat(3, 1fr); } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: block; }
.checks svg {
  width: 15px; height: 15px; color: var(--accent);
  display: inline-block; vertical-align: -2px; margin-right: 9px;
}
/* текст идёт сразу за галочкой, перенос строки — по левому краю карточки */
.checks li > div, .checks li p { display: inline; }
.checks b { display: block; font-weight: 700; font-size: 0.97rem; }
.checks p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* --- 3. Тёмная плитка с крупным числом -------------------------------- */
.band-dark {
  background: var(--dark); color: #f2efec; border-radius: var(--r-lg);
  margin: 0 var(--gutter); padding: 34px 22px;
}
.band-dark__label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.band-dark__num {
  font-family: var(--display); font-size: clamp(3.6rem, 17vw, 7rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.04em; line-height: .9; color: #fff; margin: 0 0 24px;
}
.band-dark__num em { font-style: normal; color: var(--blue); }
.band-dark h2 { color: #fff; margin-bottom: 16px; }
.band-dark p { color: rgba(255,255,255,.76); max-width: 48ch; }
.band-dark__caption { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 24px; }
.band-dark .textlink { color: #fff; border-color: var(--blue); }
.band-dark__photo { position: relative; margin: 28px 0 0; border-radius: var(--r-md); overflow: hidden; }
.band-dark__photo img { width: 100%; height: auto; }
.band-dark__photo figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(20,19,18,.72);
  backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 600;
  padding: 9px 14px; border-radius: var(--r-pill);
}
@media (min-width: 900px) {
  .band-dark { padding: 56px 48px; }
  .band-dark__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .band-dark__photo { margin: 0; }
}

/* --- 4. Курсы: крупные плитки ----------------------------------------- */
.section { padding: 56px 0; }
.section--plain { padding-top: 40px; }
.section__head { margin-bottom: 26px; max-width: 42ch; }
.schedule__head { margin-bottom: 10px; max-width: 34ch; }
.schedule__head h2 { margin-bottom: 14px; }
.schedule__head p { color: var(--ink-2); }
.schedule__mine { font-size: 0.9rem; color: var(--muted); margin-bottom: 26px; }
.schedule__group {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px;
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.schedule__group i {
  font-style: normal; font-size: 11px; font-weight: 700; color: #fff;
  background: var(--accent); border-radius: var(--r-pill); padding: 4px 10px; letter-spacing: 0;
}
@media (min-width: 860px) { .section { padding: 84px 0; } }

.interstitial {
  background: var(--card); border-radius: var(--r-lg); padding: 26px 22px;
  text-align: center; margin-top: 12px;
}
.interstitial p { color: var(--ink-2); margin-bottom: 16px; }

/* --- 5. Цены: чипсы-переключатели и две плитки ------------------------ */
.switch {
  display: flex; gap: 8px; margin: 0 0 18px; overflow-x: auto;
  padding-bottom: 4px; scrollbar-width: none;
}
.switch::-webkit-scrollbar { display: none; }
.switch button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--card); border: 0; border-radius: var(--r-pill); cursor: pointer;
  padding: 12px 20px; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.switch button i {
  font-style: normal; background: var(--accent); color: #fff; border-radius: var(--r-pill);
  padding: 2px 9px; font-size: 11px; font-weight: 700;
}
.switch button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.compare { background: var(--card); border-radius: var(--r-lg); padding: 24px 20px; margin-bottom: 12px; }
.compare__label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.compare h3 { margin-bottom: 18px; }
.compare__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compare__note { font-size: 0.84rem; color: var(--muted); margin: 16px 0 0; }

.plans { display: grid; gap: 12px; }
.plan {
  position: relative; background: var(--card); border-radius: var(--r-lg);
  padding: 28px 22px; display: flex; flex-direction: column;
}
.plan--best { background: var(--dark); color: #fff; }
.plan--best h3, .plan--best .plan__price { color: #fff; }
.plan--best .plan__who, .plan--best .plan__sub, .plan--best .plan__fine { color: rgba(255,255,255,.6); }
.plan--best li { color: rgba(255,255,255,.85); }
.plan--best .arrow { background: rgba(255,255,255,.14); color: #fff; }
.plan h3 { margin-bottom: 6px; }
.plan__who { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.plan__price { font-family: var(--display); font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0; }
.plan__price small { font-family: var(--ui); font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.plan__sub { font-size: 0.84rem; color: var(--muted); margin: 10px 0 24px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.plan li::before { content: '+'; color: var(--accent); font-weight: 700; }
.plan--best li::before { color: var(--blue); }
.plan .btn { margin-top: auto; }
.plan--best .btn { background: rgba(255,255,255,.16); }
.plan--best .btn:hover { background: #fff; color: var(--ink); }
.plan__fine { font-size: 0.78rem; color: var(--muted); margin: 14px 0 0; line-height: 1.55; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }

/* --- 6. Что внутри: плитки с крупным значением ------------------------ */
.inside { display: grid; gap: 12px; }
.inside__item {
  position: relative; background: var(--card); border-radius: var(--r-lg);
  padding: 24px 20px; display: grid; gap: 10px; align-content: start;
}
.inside__item--accent { background: var(--accent); color: #fff; }
.inside__item--accent .inside__cat, .inside__item--accent p:last-child { color: rgba(255,255,255,.82); }
.inside__item--accent h3, .inside__item--accent .inside__value { color: #fff; }
.inside__item--accent .arrow { background: rgba(255,255,255,.2); color: #fff; }
.inside__cat { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.inside__value { font-family: var(--display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--accent-ink); line-height: 1; margin: 0; }
.inside__item h3 { margin: 0; font-size: 1.25rem; }
.inside__item p:last-child { color: var(--ink-2); font-size: 0.92rem; margin: 0; }
@media (min-width: 700px) { .inside { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .inside { grid-template-columns: repeat(3, 1fr); } }

/* --- 7. Обо мне -------------------------------------------------------- */
.about { display: grid; gap: 18px; }
.about__photo { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.about__card { background: var(--card); border-radius: var(--r-lg); padding: 28px 22px; }
.pull {
  font-family: var(--display); font-size: clamp(1.3rem, 4.6vw, 1.8rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 20px;
}
.about__meta { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.about__meta li {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--paper); border-radius: var(--r-pill); padding: 11px 18px; font-size: 0.9rem;
}
.about__meta span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 880px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 12px; align-items: start; } }

/* --- 8. Отзывы --------------------------------------------------------- */
.quotes { display: grid; gap: 12px; }
.quote { background: var(--card); border-radius: var(--r-lg); padding: 26px 22px; margin: 0; }
.quote p { font-family: var(--display); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 16px; }
.quote cite { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* --- 9. Полоса для коллекционеров -------------------------------------- */
.ptband { }
.ptband__grid { background: var(--card); border-radius: var(--r-lg); padding: 30px 22px; display: grid; gap: 26px; }
.ptband ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ptband li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 0.94rem; color: var(--ink-2); }
.ptband li::before { content: '↗'; color: var(--accent); }
@media (min-width: 880px) { .ptband__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 44px; } }

/* --- 10. Вопросы ------------------------------------------------------- */
.faq-group + .faq-group { margin-top: 26px; }
.faq-group > h3 {
  font-family: var(--ui); font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px;
}
.faq-item { background: var(--card); border-radius: var(--r-md); margin-bottom: 8px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; position: relative;
  font-size: 1rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--paper);
  color: var(--accent-ink); display: grid; place-items: center; font-size: 16px; line-height: 1;
}
.faq-item[open] summary::after { content: '–'; background: var(--accent); color: #fff; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-item__body { padding: 0 20px 20px; color: var(--ink-2); font-size: 0.95rem; max-width: 64ch; }
.faq-note { font-size: 0.86rem; color: var(--muted); margin-top: 26px; max-width: 70ch; }

/* --- 11. Финальный призыв, хвост, футер -------------------------------- */
.cta-final {
  background: var(--accent); color: #fff; border-radius: var(--r-lg);
  margin: 0 var(--gutter); padding: 48px 22px; text-align: center;
}
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.85); margin-bottom: 26px; }
.cta-final .eyebrow { color: rgba(255,255,255,.8); }
.cta-final .btn { background: #fff; color: var(--ink); }
.cta-final .btn:hover { background: var(--ink); color: #fff; }

.about-studio { padding: 34px 0 10px; }
.about-studio p { font-size: 0.82rem; color: var(--muted); max-width: 95ch; margin: 0; }

.site-footer {
  background: var(--dark); color: #cdc8c2; border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin: 16px var(--gutter) 0; padding: 40px 22px 28px; font-size: 0.92rem;
}
.site-footer a { color: #cdc8c2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; gap: 26px; padding-bottom: 26px; }
.site-footer .wordmark, .site-footer .wordmark b { color: #fff; }
.site-footer h4 { font-family: var(--ui); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.78rem; }
@media (min-width: 760px) { .site-footer { padding: 52px 44px 32px; } .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }

/* ======================================================================
   ОБЩЕЕ: окно оплаты, страницы ученицы
   ====================================================================== */

.notice {
  background: var(--accent-soft); color: var(--accent-ink);
  border-radius: var(--r-sm); padding: 13px 16px; font-size: 0.88rem; margin: 0;
}

dialog.sheet {
  border: 0; border-radius: var(--r-lg); padding: 0; width: min(480px, calc(100vw - 24px));
  background: var(--card); color: var(--ink);
}
dialog.sheet::backdrop { background: rgba(20,19,18,.55); backdrop-filter: blur(3px); }
.sheet__head { padding: 26px 24px 16px; }
.sheet__head h3 { margin-bottom: 6px; }
.sheet__body { padding: 8px 20px 20px; display: grid; gap: 10px; }
.option {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--paper); border: 0; border-radius: var(--r-md); padding: 18px 20px;
  font-family: var(--ui); color: var(--ink); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.option:hover { background: var(--accent-soft); }
.option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.option__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.option b { font-size: 1rem; font-weight: 700; }
.option .price { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.option p { margin: 6px 0 0; font-size: 0.87rem; color: var(--ink-2); }
.option--highlight { background: var(--dark); color: #fff; }
.option--highlight:hover { background: var(--accent); }
.option--highlight p { color: rgba(255,255,255,.75); }
.sheet__foot { padding: 0 24px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sheet__close {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--ui); font-size: 13px; font-weight: 600; padding: 8px 0;
}
.sheet__close:hover { color: var(--ink); }

/* --- страницы ученицы -------------------------------------------------- */
.page { padding-block: 32px 64px; min-height: 60vh; }
.page--narrow { max-width: 620px; margin: 0 auto; }
.panel { background: var(--card); border-radius: var(--r-lg); padding: 26px 22px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input {
  font-family: var(--ui); font-size: 16px; padding: 15px 18px; min-height: 54px;
  border: 0; background: var(--paper); color: var(--ink); border-radius: var(--r-pill);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.status { margin: 14px 0 0; font-size: 0.92rem; color: var(--ink-2); }
.status--ok { color: var(--accent-ink); }
.status--bad { color: var(--accent-ink); font-weight: 600; }

.spinner {
  width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .9s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab {
  background: var(--card); border: 0; color: var(--ink-2); border-radius: var(--r-pill);
  padding: 12px 20px; cursor: pointer; font-family: var(--ui); font-size: 14px; font-weight: 600;
}
.tab[aria-selected="true"] { background: var(--dark); color: #fff; }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.learn { display: grid; gap: 16px; }
.player { background: #000; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-md); overflow: hidden; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lesson-list li { background: var(--card); border-radius: var(--r-md); }
.lesson-list button {
  width: 100%; display: flex; gap: 14px; align-items: center; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 16px 18px; border-radius: var(--r-md);
  font-family: var(--ui); font-size: 0.95rem; font-weight: 500; color: var(--ink);
}
.lesson-list button:hover { color: var(--accent-ink); }
.lesson-list button[aria-current="true"] { background: var(--dark); color: #fff; }
.lesson-list button[aria-current="true"] .num { color: var(--blue); }
.lesson-list button[aria-current="true"] .dur { color: rgba(255,255,255,.6); }
.lesson-list .num { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--muted); min-width: 26px; }
.lesson-list .dur { margin-left: auto; font-size: 0.8rem; color: var(--muted); white-space: nowrap; flex: none; }
.side-box { background: var(--card); border-radius: var(--r-lg); padding: 22px 20px; }
.side-box h3 { font-size: 1.15rem; margin-bottom: 10px; }
.side-box p { font-size: 0.92rem; color: var(--ink-2); }
.side-box + .side-box { margin-top: 12px; }
@media (min-width: 960px) { .learn { grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; } }

.learn-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.learn-head h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
.learn-head .sr-email { margin-left: auto; font-size: 0.85rem; color: var(--muted); }
.linkbtn {
  background: var(--card); border: 0; border-radius: var(--r-pill); padding: 10px 18px;
  cursor: pointer; color: var(--ink-2); font-family: var(--ui); font-size: 13px; font-weight: 600;
}
.linkbtn:hover { background: var(--ink); color: #fff; }

/* три абзаца с галочками в две колонки на большом экране */
@media (min-width: 760px) { .offer__notes .checks { grid-template-columns: 1fr 1fr; gap: 20px 28px; } }
@media (min-width: 980px) { .offer__notes .checks { grid-template-columns: 1fr; } }

/* ======================================================================
   СТРАНИЦА ОДНОЙ КАРТИНЫ
   ====================================================================== */
.cpage-hero { display: grid; gap: 16px; padding-top: 8px; }
.cpage-hero__img { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.cpage-hero__img img { width: 100%; height: auto; }
.cpage-hero__body { display: grid; gap: 16px; align-content: start; }
.cpage-hero__body h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
.cpage-buy { background: var(--card); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
@media (min-width: 900px) {
  .cpage-hero { grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
  .cpage-hero__body { padding-top: 10px; }
}

.cpage-about { display: grid; gap: 16px; }
.cpage-about .about__card p + p { margin-top: 1em; }
@media (min-width: 880px) { .cpage-about { grid-template-columns: 1.3fr .7fr; align-items: start; } }

.curriculum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.curriculum li {
  background: var(--card); border-radius: var(--r-md); padding: 20px;
  display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: start;
}
.curriculum li:first-child { background: var(--dark); color: #fff; }
.curriculum li:first-child h3 { color: #fff; }
.curriculum li:first-child p { color: rgba(255,255,255,.72); }
.curriculum li:first-child .curriculum__num,
.curriculum li:first-child .curriculum__dur { color: var(--blue); }
.curriculum__num { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.curriculum h3 { font-size: 1.1rem; margin: 0 0 6px; }
.curriculum p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.curriculum__dur { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) {
  .curriculum li { grid-template-columns: 34px 1fr; }
  .curriculum__dur { grid-column: 2; }
}

.materials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.materials li {
  background: var(--card); border-radius: var(--r-md); padding: 16px 20px;
  display: grid; gap: 4px;
}
.materials span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.materials p { margin: 0; color: var(--ink-2); font-size: 0.94rem; }
@media (min-width: 760px) {
  .materials { grid-template-columns: 1fr 1fr; }
  .materials li { grid-template-columns: 130px 1fr; align-items: baseline; gap: 14px; }
}

/* ссылка-картинка на главной */
.ecard__link { display: block; text-decoration: none; color: inherit; }
.ecard__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.ecard__link:hover .ecard__onimg h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ======================================================================
   ВИТРИНА: сетка магазина
   ====================================================================== */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shop-head h2 { font-size: clamp(2.2rem, 9vw, 3.6rem); text-transform: uppercase; font-weight: 800; letter-spacing: -0.03em; }
.shop-head__count { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }

.filters { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  background: var(--card); border: 0; border-radius: var(--r-pill); padding: 11px 18px;
  font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.filters button i {
  font-style: normal; background: var(--paper-2); color: var(--accent-ink);
  border-radius: var(--r-pill); padding: 2px 9px; font-size: 11px; font-weight: 700;
}
.filters button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.filters button[aria-pressed="true"] i { background: rgba(255,255,255,.18); color: #fff; }
.filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard {
  background: var(--card); border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .14s ease;
}
.pcard:hover { transform: translateY(-2px); }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pcard__img { position: relative; background: var(--paper-2); }
.pcard__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pcard__tag {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94);
  border-radius: var(--r-pill); padding: 5px 11px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pcard__tag--accent { background: var(--accent); color: #fff; }
.pcard__b { padding: 13px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__b h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 5px; }
.pcard__b > p { margin: 0; font-size: 0.78rem; color: var(--muted); }
.pcard__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 12px; }
.pcard__price b { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.pcard__price span { font-size: 0.75rem; color: var(--muted); }

.pcard--wide { grid-column: 1 / -1; }
.pcard--wide .pcard__img img { aspect-ratio: 16 / 7; }
.pcard--wide .pcard__b h3 { font-size: 1.3rem; }

.shop__soon {
  grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: var(--r-md);
  padding: 18px; text-align: center; color: var(--muted); font-size: 0.86rem;
}
@media (min-width: 760px) {
  .shop { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pcard--wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .pcard--wide .pcard__img img { height: 100%; aspect-ratio: auto; min-height: 260px; }
  .pcard--wide .pcard__b { padding: 30px 28px; justify-content: center; }
  .pcard--wide .pcard__b h3 { font-size: 1.8rem; }
}

/* ======================================================================
   СТРАНИЦА КАРТИНЫ: карточка товара
   ====================================================================== */
.p-back {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--ink-2); font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.p-back:hover { color: var(--accent-ink); }
.p-top { display: grid; gap: 18px; }
.p-gallery { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.p-gallery img { width: 100%; height: auto; }
.p-info h1 { font-size: clamp(2rem, 7.5vw, 3rem); margin-bottom: 12px; }
.p-info .lede { margin-bottom: 16px; }

.p-opts { display: grid; gap: 8px; margin: 18px 0 0; }
.p-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  background: var(--card); border: 1px solid transparent; border-radius: var(--r-md);
  padding: 15px 18px; cursor: pointer; text-align: left; font-family: var(--ui); color: inherit;
}
.p-opt b { display: block; font-size: 0.97rem; font-weight: 600; }
.p-opt small { font-size: 0.8rem; color: var(--muted); }
.p-opt i { font-style: normal; font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.p-opt[aria-pressed="true"] { background: var(--dark); color: #fff; }
.p-opt[aria-pressed="true"] small { color: rgba(255,255,255,.65); }
.p-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.buybar {
  position: sticky; bottom: 0; z-index: 30; margin: 18px calc(var(--gutter) * -1) 0;
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(233,236,240,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.buybar__price { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.buybar .btn { flex: 1; }
.buybar__note { font-size: 0.78rem; color: var(--muted); }

.p-acc { display: grid; gap: 8px; }
.p-acc > details { background: var(--card); border-radius: var(--r-md); overflow: hidden; }
.p-acc summary {
  list-style: none; cursor: pointer; padding: 17px 50px 17px 18px; position: relative;
  font-size: 0.98rem; font-weight: 600;
}
.p-acc summary::-webkit-details-marker { display: none; }
.p-acc summary::after {
  content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--paper);
  color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; line-height: 1;
}
.p-acc details[open] summary::after { content: '–'; background: var(--accent); color: #fff; }
.p-acc summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.p-acc__body { padding: 0 18px 18px; }

@media (min-width: 900px) {
  .p-top { grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
  .p-info { position: sticky; top: 90px; }
  .buybar { position: static; margin: 18px 0 0; border-radius: var(--r-md); border: 0; padding: 16px 18px; }
}

/* список «чему научишься» на странице картины */
.learn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.learn-list li {
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  color: var(--ink-2); font-size: 0.95rem;
}
.learn-list li::before { content: '+'; color: var(--accent); font-weight: 700; }
.p-acc__body .p-about { color: var(--ink-2); }
.p-acc__body .p-about + .p-about { margin-top: 1em; }
