/* ============================================================
   СТУДИЯ «ЙОГА ДЛЯ ВСЕХ» — Балашов
   CSS для Тильды (Настройки сайта → Ещё → код в HEAD,
   обернуть в теги style либо подключить как файл)
   Все классы с префиксом yg- — не конфликтуют со стилями Тильды
   ============================================================ */

:root {
  --yg-linen: #faf6f3;
  --yg-peach: #f5ece5;
  --yg-sand: #dec9b8;
  --yg-ink: #3c3835;
  --yg-ink-soft: #6f6862;
  --yg-ink-faint: #9a9188;
  --yg-terra: #bc773f;
  --yg-terra-deep: #a05f2c;
  --yg-maroon: #4a1a2c;
  --yg-line: #e6dfd3;
  --yg-font-display: 'Cormorant', 'Times New Roman', serif;
  --yg-font-body: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
}

.yg-root {
  font-family: var(--yg-font-body);
  color: var(--yg-ink);
  background: var(--yg-linen);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.yg-root *, .yg-root *::before, .yg-root *::after { box-sizing: border-box; }
.yg-root img { display: block; max-width: 100%; height: auto; border: 0; }
.yg-root a { text-decoration: none; }
.yg-root a:not([class]) { color: inherit; }
.yg-root p, .yg-root h1, .yg-root h2, .yg-root h3, .yg-root dl, .yg-root dd, .yg-root ul { margin: 0; padding: 0; }
.yg-root ul { list-style: none; }
.yg-root button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* Растяжка секции на всю ширину (T123 выводится в колонке Тильды) */
body { overflow-x: hidden; overflow-x: clip; } /* 100vw-секции не дают горизонтального скролла; clip не ломает sticky-меню Тильды */
.yg-full { width: 100vw; margin-left: calc(50% - 50vw); position: relative; overflow: hidden; }
.yg-wrap { max-width: 1152px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* --- Типографика --- */
.yg-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--yg-terra);
}
.yg-h1, .yg-big, .yg-mid, .yg-display { font-family: var(--yg-font-display); font-weight: 500; line-height: 1.08; }
.yg-h1 { font-size: clamp(42px, 6vw, 72px); margin-top: 20px; }
.yg-big { font-size: clamp(32px, 4.4vw, 56px); margin-top: 16px; }
.yg-mid { font-size: clamp(26px, 3vw, 38px); }
.yg-accent { font-family: var(--yg-font-display); font-style: italic; font-weight: 500; color: var(--yg-terra); }
.yg-lead { font-size: 18px; line-height: 1.65; color: var(--yg-ink-soft); max-width: 34em; }
.yg-soft { color: var(--yg-ink-soft); }
.yg-faint { color: var(--yg-ink-faint); }

/* --- Кнопки и ссылки --- */
.yg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yg-terra); color: #fff;
  padding: 16px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.yg-btn:hover { background: var(--yg-terra-deep); transform: translateY(-1px); }
.yg-btn .yg-arr { transition: transform 0.25s ease; }
.yg-btn:hover .yg-arr { transform: translateX(4px); }
.yg-btn--small { padding: 11px 20px; font-size: 14px; }
.yg-btn--light { background: #faf6f3; color: var(--yg-maroon); }
.yg-btn--light:hover { background: #fff; }
.yg-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--yg-terra); border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}
.yg-link-arrow:hover { color: var(--yg-terra-deep); }

/* --- Появление при скролле (скрипт в HEAD) --- */
.yg-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.yg-reveal.yg-in { opacity: 1; transform: none; }
.yg-d1 { transition-delay: 0.08s; } .yg-d2 { transition-delay: 0.16s; }
.yg-d3 { transition-delay: 0.24s; } .yg-d4 { transition-delay: 0.32s; }

/* --- Декор: пятна и солнце --- */
.yg-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.yg-sun { position: absolute; pointer-events: none; }

/* --- Картинки с подложкой --- */
.yg-img-reveal { overflow: hidden; position: relative; background: var(--yg-peach); }
.yg-img-reveal img { width: 100%; height: 100%; object-fit: cover; }

/* --- Тонкие линии --- */
.yg-hairline-t { border-top: 1px solid var(--yg-line); }
.yg-hairline-b { border-bottom: 1px solid var(--yg-line); }

/* ============ ГЛАВНАЯ: HERO ============ */
.yg-hero { overflow: hidden; }
.yg-hero-grid {
  display: grid; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 90px;
}
.yg-hero-text { max-width: 620px; }
.yg-hero-text .yg-lead { margin-top: 26px; }
.yg-hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.yg-trial-pill {
  margin-top: 30px; display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 6px 12px; padding: 11px 20px;
  border: 1px solid rgba(188, 119, 63, 0.45); border-radius: 999px;
  background: var(--yg-peach); font-size: 14px; font-weight: 500;
}
.yg-trial-pill .yg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yg-terra); flex-shrink: 0; }
.yg-trial-pill .yg-price { font-family: var(--yg-font-display); font-size: 19px; color: var(--yg-terra); }
.yg-trial-pill .yg-note { color: var(--yg-ink-soft); }
.yg-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 460px; }
.yg-stats dt { font-family: var(--yg-font-display); font-size: clamp(26px, 2.6vw, 36px); color: var(--yg-terra); }
.yg-stats dd { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--yg-ink-soft); }
.yg-hero-photo { position: relative; max-width: 400px; margin: 0 auto; }
.yg-hero-photo .yg-arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--yg-peach); }
.yg-hero-photo .yg-arch img { width: 100%; height: 100%; object-fit: cover; }
.yg-hero-caption { margin-top: 22px; text-align: center; font-size: 24px; }
@media (min-width: 900px) {
  .yg-hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-top: 90px; }
}

/* ============ БЕГУЩАЯ СТРОКА ============ */
.yg-ticker { overflow: hidden; padding: 16px 0; }
.yg-ticker-track { display: flex; width: max-content; animation: yg-marquee 46s linear infinite; }
.yg-ticker span {
  display: flex; align-items: center; gap: 48px; padding-right: 48px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--yg-ink-faint); white-space: nowrap;
}
.yg-ticker i { width: 8px; height: 8px; border-radius: 50%; background: var(--yg-sand); display: inline-block; }
@keyframes yg-marquee { to { transform: translateX(-50%); } }

/* ============ ФИЛОСОФИЯ (бордо) ============ */
.yg-phil { background: var(--yg-maroon); color: #fff; overflow: hidden; }
.yg-phil .yg-wrap { padding-top: 90px; padding-bottom: 110px; position: relative; z-index: 1; }
.yg-phil .yg-eyebrow { color: #d9a06b; }
.yg-phil .yg-big { color: rgba(255, 255, 255, 0.95); max-width: 900px; }
.yg-phil .yg-accent { color: #e0b28a; }
.yg-phil-cols { margin-top: 54px; display: grid; gap: 40px; }
.yg-phil-cols > div { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 24px; }
.yg-phil-cols h3 { font-family: var(--yg-font-display); font-size: 26px; font-weight: 500; color: rgba(255, 255, 255, 0.95); margin: 0; }
.yg-phil-cols p { margin-top: 12px; color: rgba(255, 255, 255, 0.6); }
@media (min-width: 900px) { .yg-phil-cols { grid-template-columns: repeat(3, 1fr); } }

/* ============ НАПРАВЛЕНИЯ ============ */
.yg-section { padding-top: 80px; padding-bottom: 100px; }
.yg-dirs { margin-top: 56px; display: grid; gap: 64px; }
.yg-dir { display: grid; gap: 32px; align-items: center; }
.yg-dir .yg-img-reveal { border-radius: 20px; }
.yg-dir img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.yg-dir h3 { margin: 0; }
.yg-dir p { margin-top: 12px; max-width: 28em; color: var(--yg-ink-soft); }
.yg-dir .yg-link-arrow { margin-top: 20px; }
@media (min-width: 900px) {
  .yg-dir { grid-template-columns: 1fr 1fr; gap: 40px; }
  .yg-dir--flip .yg-dir-media { order: 2; }
  .yg-dir--flip .yg-dir-body { padding-right: 40px; }
  .yg-dir:not(.yg-dir--flip) .yg-dir-body { padding-left: 40px; }
}

/* ============ ПРЕПОДАВАТЕЛЬ ============ */
.yg-teacher { background: var(--yg-peach); }
.yg-teacher .yg-wrap { display: grid; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 100px; }
.yg-teacher-photo { max-width: 400px; margin: 0 auto; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--yg-linen); }
.yg-teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.yg-teacher .yg-lead { margin-top: 24px; }
.yg-points { margin-top: 32px; max-width: 460px; }
.yg-points li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--yg-line);
}
.yg-points li:last-child { border-bottom: 1px solid var(--yg-line); }
.yg-points .yg-p-name { font-family: var(--yg-font-display); font-size: 21px; }
.yg-points .yg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yg-terra); flex-shrink: 0; }
.yg-teacher .yg-link-arrow { margin-top: 30px; }
@media (min-width: 900px) {
  .yg-teacher .yg-wrap { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
}

/* ============ ГАЛЕРЕЯ ============ */
.yg-gallery { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.yg-gallery .yg-img-reveal { border-radius: 20px; }
.yg-gallery img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .yg-gallery { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .yg-gallery .yg-odd { transform: translateY(40px); }
}

/* ============ CTA ============ */
.yg-cta { overflow: hidden; }
.yg-cta .yg-wrap { padding-top: 90px; padding-bottom: 110px; text-align: center; position: relative; z-index: 1; }
.yg-cta .yg-lead { margin: 24px auto 0; max-width: 36em; }
.yg-cta .yg-btn { margin-top: 34px; }

/* ============ СТАТЬИ (SEO) ============ */
.yg-articles { background: var(--yg-peach); }
.yg-articles .yg-wrap { padding-top: 80px; padding-bottom: 100px; }
.yg-articles-grid { margin-top: 50px; display: grid; gap: 28px; }
.yg-article {
  background: var(--yg-linen); border: 1px solid var(--yg-line); border-radius: 20px;
  padding: 30px 28px 34px;
}
.yg-article h3 { font-family: var(--yg-font-display); font-size: 25px; font-weight: 500; line-height: 1.2; margin: 0; }
.yg-article p { margin-top: 14px; font-size: 15px; color: var(--yg-ink-soft); }
.yg-article .yg-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yg-terra); }
@media (min-width: 900px) { .yg-articles-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ FAQ ============ */
.yg-faq { padding-top: 80px; padding-bottom: 100px; }
.yg-faq-list { margin-top: 44px; max-width: 820px; }
.yg-faq details { border-top: 1px solid var(--yg-line); }
.yg-faq details:last-child { border-bottom: 1px solid var(--yg-line); }
.yg-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 8px; font-family: var(--yg-font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500;
}
.yg-faq summary::-webkit-details-marker { display: none; }
.yg-faq summary .yg-plus { color: var(--yg-terra); font-size: 26px; transition: transform 0.3s ease; }
.yg-faq details[open] summary .yg-plus { transform: rotate(45deg); }
.yg-faq .yg-faq-body { padding: 0 8px 26px; color: var(--yg-ink-soft); max-width: 44em; }

/* ============ РАСПИСАНИЕ ============ */
.yg-sched-grid { margin-top: 48px; display: grid; gap: 28px; }
.yg-day-card { background: var(--yg-peach); border-radius: 20px; padding: 28px 26px 30px; }
.yg-day-card h3 { font-family: var(--yg-font-display); font-size: 28px; font-weight: 500; margin: 0; }
.yg-day-card .yg-day-note { font-size: 14px; color: var(--yg-ink-soft); margin-top: 4px; }
.yg-slot {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 6px 14px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--yg-line); margin-top: 16px;
}
.yg-slot .yg-time { font-family: var(--yg-font-display); font-size: 24px; color: var(--yg-terra); }
.yg-slot .yg-title { font-weight: 600; font-size: 17px; }
.yg-slot .yg-level { font-size: 13px; color: var(--yg-ink-soft); }
.yg-slot .yg-dur { font-size: 14px; color: var(--yg-ink-soft); text-align: right; }
.yg-trial-card {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding: 26px 30px;
  border: 1px solid rgba(188, 119, 63, 0.4); background: var(--yg-peach); border-radius: 20px;
}
.yg-trial-card .yg-tc-title { font-family: var(--yg-font-display); font-size: 25px; line-height: 1.25; }
.yg-trial-card .yg-tc-title span { color: var(--yg-terra); }
.yg-trial-card p { color: var(--yg-ink-soft); margin-top: 6px; max-width: 34em; }
.yg-note { margin-top: 28px; font-size: 14px; color: var(--yg-ink-faint); max-width: 40em; }
.yg-note a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.yg-note a:hover { color: var(--yg-terra); }
.yg-tips { margin-top: 56px; background: var(--yg-peach); border-radius: 20px; padding: 30px 28px 34px; }
.yg-tips h3 { font-family: var(--yg-font-display); font-size: 25px; font-weight: 500; margin: 0; }
.yg-tips ul { margin-top: 22px; display: grid; gap: 20px; }
.yg-tips li { display: flex; gap: 12px; color: var(--yg-ink-soft); }
.yg-tips .yg-num { font-family: var(--yg-font-display); font-size: 20px; color: var(--yg-terra); flex-shrink: 0; }
@media (min-width: 900px) {
  .yg-sched-grid { grid-template-columns: repeat(3, 1fr); }
  .yg-tips ul { grid-template-columns: repeat(3, 1fr); }
}

/* ============ ЦЕНЫ ============ */
.yg-plans { margin-top: 50px; }
.yg-plan { border-top: 1px solid var(--yg-line); }
.yg-plan:last-child { border-bottom: 1px solid var(--yg-line); }
.yg-plan summary {
  list-style: none; cursor: pointer;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px;
  padding: 26px 8px;
}
.yg-plan summary::-webkit-details-marker { display: none; }
.yg-plan .yg-plan-name { font-family: var(--yg-font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 500; flex: 1 1 240px; }
.yg-plan .yg-hit {
  display: inline-block; transform: translateY(-2px); margin-left: 12px; vertical-align: middle;
  border: 1px solid var(--yg-terra); border-radius: 999px; padding: 3px 12px;
  font-family: var(--yg-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--yg-terra);
}
.yg-plan .yg-plan-price { font-family: var(--yg-font-display); font-size: clamp(26px, 3.4vw, 36px); color: var(--yg-terra); }
.yg-plan .yg-plan-per { width: 130px; font-size: 14px; color: var(--yg-ink-soft); }
.yg-plan .yg-plus { font-family: var(--yg-font-display); font-size: 30px; color: var(--yg-ink); transition: transform 0.3s ease; }
.yg-plan[open] .yg-plus { transform: rotate(45deg); }
.yg-plan-body { padding: 4px 8px 34px; display: grid; gap: 24px; }
.yg-plan-body .yg-tagline { font-family: var(--yg-font-display); font-style: italic; font-size: 23px; color: var(--yg-terra); }
.yg-plan-feats { display: grid; gap: 10px; }
.yg-plan-feats li { display: flex; align-items: flex-start; gap: 10px; color: var(--yg-ink-soft); }
.yg-plan-feats .yg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yg-terra); flex-shrink: 0; margin-top: 9px; }
@media (min-width: 700px) {
  .yg-plan-body { grid-template-columns: 1fr auto; align-items: end; }
  .yg-plan-feats { grid-template-columns: 1fr 1fr; }
}

/* ============ КОНТАКТЫ ============ */
.yg-contacts-grid { margin-top: 52px; display: grid; gap: 44px; }
.yg-info { display: grid; gap: 30px; align-content: start; }
.yg-info > div { border-left: 2px solid var(--yg-sand); padding-left: 20px; }
.yg-info > div:first-child { border-left-color: var(--yg-terra); }
.yg-info .yg-i-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yg-ink-faint); }
.yg-info .yg-i-value { font-family: var(--yg-font-display); font-size: 26px; margin-top: 6px; line-height: 1.25; }
.yg-info .yg-i-value a:hover { color: var(--yg-terra); }
.yg-info .yg-i-sub { margin-top: 4px; color: var(--yg-ink-soft); }
.yg-map-card {
  position: relative; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--yg-maroon); color: #fff; border-radius: 20px; padding: 30px 28px; overflow: hidden;
}
.yg-map-card .yg-map-dots { position: absolute; inset: 0; opacity: 0.15; }
.yg-map-card .yg-mc-title { font-family: var(--yg-font-display); font-size: 30px; color: rgba(255, 255, 255, 0.95); margin-top: 14px; position: relative; }
.yg-map-card p { color: rgba(255, 255, 255, 0.6); margin-top: 8px; position: relative; }
.yg-map-card .yg-btn { margin-top: 30px; align-self: flex-start; position: relative; }
.yg-form-hint {
  margin-top: 44px; background: var(--yg-peach); border-radius: 20px; padding: 30px 28px 34px; text-align: center;
}
.yg-form-hint .yg-mid { margin-top: 10px; }
.yg-form-hint p { margin-top: 12px; color: var(--yg-ink-soft); }
@media (min-width: 1000px) { .yg-contacts-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ============ Мобильная адаптация ============ */
@media (max-width: 640px) {
  .yg-hero-grid { padding-top: 40px; padding-bottom: 70px; }
  .yg-stats { gap: 16px; }
  .yg-section, .yg-faq { padding-top: 60px; padding-bottom: 70px; }
  .yg-phil .yg-wrap, .yg-articles .yg-wrap { padding-top: 60px; padding-bottom: 70px; }
  .yg-teacher .yg-wrap { padding-top: 60px; padding-bottom: 70px; }
  .yg-cta .yg-wrap { padding-top: 70px; padding-bottom: 80px; }
  .yg-plan .yg-plan-per { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .yg-reveal { opacity: 1; transform: none; transition: none; }
  .yg-ticker-track { animation: none; }
}

/* ============================================================
   V2: шапка, подвал, статьи, политика
   ============================================================ */

/* ============ ШАПКА (страница-хедер) ============ */
.yg-header {
  position: sticky; top: 0; z-index: 990;
  background: rgba(250, 246, 243, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--yg-line);
  overflow: visible; /* переопределяем overflow:hidden от .yg-full, иначе обрезается выпадающее мобильное меню */
}
.yg-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.yg-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--yg-ink); }
.yg-logo-badge {
  width: 42px; height: 42px; border-radius: 50%; background: var(--yg-terra);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.yg-logo-text b { display: block; font-family: var(--yg-font-display); font-size: 23px; font-weight: 600; line-height: 1.1; }
.yg-logo-text i { display: block; font-style: normal; font-size: 12px; color: var(--yg-ink-soft); margin-top: 1px; }
.yg-nav { display: flex; align-items: center; gap: 26px; }
.yg-nav a.yg-nav-link { font-size: 15px; font-weight: 500; color: var(--yg-ink); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color 0.2s ease; }
.yg-nav a.yg-nav-link:hover { color: var(--yg-terra); }
.yg-nav a.yg-nav-link.yg-current { color: var(--yg-terra); border-bottom-color: var(--yg-terra); }
.yg-nav .yg-btn { color: #fff; }
.yg-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--yg-line); border-radius: 12px; background: var(--yg-linen); }
.yg-burger span { display: block; height: 2px; background: var(--yg-ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.yg-burger.yg-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.yg-burger.yg-active span:nth-child(2) { opacity: 0; }
.yg-burger.yg-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .yg-burger { display: flex; }
  .yg-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--yg-linen); border-bottom: 1px solid var(--yg-line);
    padding: 14px 20px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 18px 34px rgba(60, 56, 53, 0.1);
  }
  .yg-nav.yg-open { transform: none; opacity: 1; pointer-events: auto; }
  .yg-nav a.yg-nav-link { padding: 10px 4px; font-size: 17px; border-bottom: 1px solid var(--yg-line); }
  .yg-nav a.yg-nav-link.yg-current { border-bottom: 1px solid var(--yg-line); color: var(--yg-terra); }
  .yg-nav .yg-btn { margin-top: 12px; justify-content: center; }
}

/* ============ ПОДВАЛ (страница-футер) ============ */
.yg-footer { background: var(--yg-peach); border-top: 1px solid var(--yg-line); }
.yg-footer .yg-wrap { padding-top: 52px; padding-bottom: 34px; }
.yg-footer-grid { display: grid; gap: 36px; }
.yg-footer-brand b { font-family: var(--yg-font-display); font-size: 28px; font-weight: 500; display: block; line-height: 1.15; }
.yg-footer-brand .yg-accent { font-size: 20px; }
.yg-footer-brand p { margin-top: 10px; color: var(--yg-ink-soft); font-size: 15px; max-width: 24em; }
.yg-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yg-ink-faint); margin: 0 0 14px; }
.yg-footer nav { display: grid; gap: 10px; align-content: start; }
.yg-footer nav a { font-size: 15px; font-weight: 500; }
.yg-footer nav a:hover { color: var(--yg-terra); }
.yg-footer-contacts { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.yg-footer-contacts a { color: var(--yg-ink); }
.yg-footer-contacts a.yg-phone { font-weight: 600; font-size: 17px; color: var(--yg-maroon); white-space: nowrap; }
.yg-footer-contacts a:hover { color: var(--yg-terra); }
.yg-footer-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--yg-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: var(--yg-ink-faint);
}
.yg-footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.yg-footer-bottom a:hover { color: var(--yg-terra); }
@media (min-width: 860px) { .yg-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* ============ СТАТЬИ: хаб и тизеры ============ */
.yg-article { display: flex; flex-direction: column; }
.yg-article .yg-read { margin-top: auto; padding-top: 18px; }
.yg-all-link { margin-top: 36px; display: inline-flex; }
.yg-hub-intro { margin-top: 24px; }

/* ============ СТРАНИЦА СТАТЬИ ============ */
.yg-breadcrumbs { font-size: 13px; color: var(--yg-ink-faint); display: flex; flex-wrap: wrap; gap: 8px; }
.yg-breadcrumbs a { color: var(--yg-ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.yg-breadcrumbs a:hover { color: var(--yg-terra); }
.yg-post { max-width: 760px; }
.yg-post .yg-h1 { font-size: clamp(32px, 4.6vw, 52px); }
.yg-post-meta { margin-top: 16px; font-size: 14px; color: var(--yg-ink-faint); display: flex; gap: 16px; flex-wrap: wrap; }
.yg-post-body { margin-top: 34px; }
.yg-post-body h2 { font-family: var(--yg-font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 500; margin: 40px 0 14px; }
.yg-post-body p { margin: 0 0 16px; color: var(--yg-ink-soft); line-height: 1.75; font-size: 16.5px; }
.yg-post-body ul { margin: 0 0 16px; display: grid; gap: 10px; }
.yg-post-body li { position: relative; padding-left: 18px; color: var(--yg-ink-soft); line-height: 1.6; }
.yg-post-body li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--yg-terra); }
.yg-post-body strong { color: var(--yg-ink); }
.yg-post-body a { color: var(--yg-terra); text-decoration: underline; text-underline-offset: 3px; }
.yg-post-hero { margin-top: 30px; border-radius: 20px; overflow: hidden; }
.yg-post-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.yg-cta-box {
  margin-top: 44px; background: var(--yg-peach); border: 1px solid rgba(188, 119, 63, 0.35);
  border-radius: 20px; padding: 30px 28px; text-align: center;
}
.yg-cta-box .yg-mid { margin-top: 0; }
.yg-cta-box p { margin-top: 12px; color: var(--yg-ink-soft); }
.yg-cta-box .yg-btn { margin-top: 22px; }
.yg-more { margin-top: 56px; }
.yg-more-list { margin-top: 24px; display: grid; gap: 14px; }
.yg-more-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--yg-line); border-radius: 14px; background: #fff;
  font-family: var(--yg-font-display); font-size: 20px; transition: border-color 0.2s ease;
}
.yg-more-list a:hover { border-color: var(--yg-terra); }
.yg-more-list a span { font-family: var(--yg-font-body); font-size: 14px; color: var(--yg-terra); flex-shrink: 0; }

/* ============ ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ ============ */
.yg-policy { max-width: 760px; }
.yg-policy h2 { font-family: var(--yg-font-display); font-size: 26px; font-weight: 500; margin: 36px 0 12px; }
.yg-policy p, .yg-policy li { color: var(--yg-ink-soft); line-height: 1.7; }
.yg-policy p { margin: 0 0 14px; }
.yg-policy ul { margin: 0 0 14px; display: grid; gap: 8px; }
.yg-policy li { display: flex; gap: 10px; }
.yg-policy li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yg-terra); flex-shrink: 0; margin-top: 9px; }