
/* ==========================================================
   3. PAGE: single — посадочные курсов (основной трафик)
   ========================================================== */

/* ══════════════════════════════════════════
   HEADER (single-specific, не site-header)
══════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  height: var(--header-h);
  padding-left: 40px;
}

.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid var(--border);
  padding-right: 40px;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-link .sep { color: #c0beb6; font-weight: 400; margin: 0 6px; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-nav);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--navy); }

.nav-more { position: relative; }
.nav-more-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-nav);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.nav-more-btn:hover { color: var(--navy); }
.nav-more-btn iconify-icon { font-size: 14px; transition: transform 0.2s; }
.nav-more:hover .nav-more-btn,
.nav-more:focus-within .nav-more-btn { color: var(--navy); }
.nav-more:hover .nav-more-btn iconify-icon,
.nav-more:focus-within .nav-more-btn iconify-icon { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 14px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 210;
}
.nav-dropdown-inner {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 16px 44px rgba(25,27,42,0.10);
}
.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14.5px;
  color: var(--navy);
  opacity: 0.82;
}
.nav-dropdown a:hover { background: var(--bg); opacity: 1; color: var(--navy); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.nav-burger:hover { background: var(--bg); }
.nav-burger svg { width: 22px; height: 22px; display: block; }
.nav-burger .burger-close { display: none; }
.nav-burger[aria-expanded="true"] .burger-open { display: none; }
.nav-burger[aria-expanded="true"] .burger-close { display: block; }

/* Мобильное меню — выезжает из-под хедера, не перекрывая его */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 199;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s, visibility 0.28s;
  pointer-events: none;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-card-top {
  width: var(--card-w);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 28px;
  border-left:   0.5px solid var(--border);
  border-right:  0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: #fff;
}

.card-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.card-top-free {
  margin-left: auto;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.wb-logo-svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════════ */
.page-wrap {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.content {
  flex: 1;
  padding: 72px 64px 0 40px;
  min-width: 0;
}

h1.writebook {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 66px;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -1.4px;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Для длинных профессий — уменьшаем шрифт */
h1.writebook:has(.h1-tail) {
  font-size: clamp(38px, 4.2vw, 66px);
}

.h1-tail {
  display: inline;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #666;
  background: #e2e0d8;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
  position: relative;
  top: -0.45em;
  white-space: nowrap;
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: 33px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.38;
  color: var(--navy);
  max-width: 740px;
  margin-bottom: 28px;
}

.body-text {
  font-family: 'Lora', serif;
  font-size: 23px;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
  max-width: 720px;
  margin-bottom: 26px;
}

.links-line {
  font-family: 'Lora', serif;
  font-size: 23px;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 64px;
  max-width: 720px;
}

.links-line a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.links-line a:hover { opacity: 0.7; }
.links-line .u {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ── Section ── */
.section-block {
  border-top: 0.5px solid var(--border);
  padding-top: 48px;
  margin-bottom: 64px;
}

h2.section-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 28px;
}

.section-body {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
  max-width: 680px;
  margin-bottom: 28px;
}

/* ── FAQ ── */
.faq-section {
  border-top: 0.5px solid var(--border);
  padding-top: 48px;
  margin-bottom: 80px;
  flex-basis: 100%;
  order: 10;
  padding-left: 40px;
  padding-right: 64px;
}

h2.faq-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-intro {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-style: italic;
  color: #5a5d6e;
  margin-bottom: 32px;
  line-height: 1.5;
}

.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

details.faq-item { border-top: 0.5px solid var(--border); }
details.faq-item:last-child { border-bottom: 0.5px solid var(--border); }

details.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 16px;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-nav);
  transition: border-color 0.2s, color 0.2s;
  position: relative;
}

.faq-icon::before { content: '+'; }
details[open] .faq-icon::before { content: '−'; }
details[open] .faq-icon { border-color: var(--navy); color: var(--navy); }

.faq-answer {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  color: #252736;
  padding-bottom: 20px;
  padding-right: 36px;
}

details.faq-item--muted > summary { color: #7a7e99; }

.faq-about-body {
  max-height: 280px;
  overflow-y: auto;
  padding: 0 36px 20px 0;
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
  color: #252736;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c9c7bd transparent;
}
.faq-about-body::-webkit-scrollbar { width: 6px; }
.faq-about-body::-webkit-scrollbar-thumb { background: #c9c7bd; border-radius: 3px; }
.faq-about-body::-webkit-scrollbar-track { background: transparent; }
.faq-about-body > *:first-child { margin-top: 14px; }
.faq-about-body h3 { font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); margin: 22px 0 8px; font-style: normal; }
.faq-about-body p { margin: 0 0 12px; }
.faq-about-body ul { margin: 4px 0 14px; padding-left: 20px; }
.faq-about-body li { margin-bottom: 4px; }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar {
  width: var(--card-w);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 0 0 32px 0;
  background: transparent;
}

.card {
  background: #fff;
  padding: 28px 28px 26px;
  border-radius: 0 0 10px 10px;
  border-left:  0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  box-shadow: 0 12px 32px rgba(25,27,42,0.10);
}

.card-what {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 28px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.features li .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--green);
}

.features li strong { font-weight: 800; }

.price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px 16px;
  background: #f4f3ee;
  border-radius: 8px;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}

.price-sub {
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

.btn-cta {
  display: block;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 17px 16px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-cta:hover { background: #1f8a1f; transform: translateY(-1px); }

.faq-note {
  margin-top: 18px;
  font-size: 15px;
  color: #555;
  line-height: 1.55;
}

.faq-note strong { font-weight: 700; color: var(--navy); }

.once-logo-svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ══════════════════════════════════════════
   TRUST BADGES
══════════════════════════════════════════ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border: 0.5px solid var(--border);
  border-radius: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  white-space: nowrap;
}

.trust-badge .tb-ico {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--green);
}

/* ══════════════════════════════════════════
   КОМУ ПОДХОДИТ
══════════════════════════════════════════ */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 680px;
}

.segment-card {
  padding: 22px 20px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.seg-icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: flex;
  color: var(--navy);
}

.segment-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.segment-card p {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: #3a3d4e;
  line-height: 1.55;
}

/* ══════════════════════════════════════════
   ДОКУМЕНТЫ
══════════════════════════════════════════ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  max-width: 680px;
}

.doc-card {
  padding: 20px 18px;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-card .doc-icon { font-size: 26px; color: var(--navy); display: flex; }
.doc-card .doc-name { font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.doc-card .doc-desc { font-family: 'Lora', serif; font-size: 16px; font-style: italic; color: #3a3d4e; line-height: 1.5; }

.doc-card .doc-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #f4f3ee;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-nav);
  align-self: flex-start;
}

/* ══════════════════════════════════════════
   ТАЙМЛАЙН
══════════════════════════════════════════ */
.timeline {
  max-width: 680px;
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 0.5px solid var(--border);
}

.tl-item:first-child { border-top: 0.5px solid var(--border); }

.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  width: 58px;
}

.tl-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.tl-day {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-nav);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.tl-body strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.tl-body span {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-style: italic;
  color: #4a4d5e;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   ЛИЦЕНЗИЯ
══════════════════════════════════════════ */
.license-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 680px;
  padding: 24px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 10px;
}

.license-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.license-info p {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.license-verify {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--grey-nav);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.license-verify a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   ЛОГОТИПЫ КОМПАНИЙ
══════════════════════════════════════════ */
.company-intro {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-style: italic;
  color: #5a5d6e;
  margin-bottom: 24px;
  max-width: 580px;
  line-height: 1.55;
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
}

.company-logo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.2px;
}

.company-logo-pill .c-ico { font-size: 18px; color: var(--grey-nav); display: flex; }

.companies-more {
  margin-top: 14px;
  font-family: 'Lora', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--grey-nav);
}

/* ══════════════════════════════════════════
   РЕЙТИНГИ
══════════════════════════════════════════ */
.ratings-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 680px;
}

.rating-widget {
  flex: 1;
  min-width: 160px;
  padding: 20px 18px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-platform {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.rating-score {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
}

.rating-stars { display: flex; gap: 2px; color: #f5a623; }
.rating-count { font-family: 'Lora', serif; font-size: 13px; font-style: italic; color: #999; }

/* ══════════════════════════════════════════
   ФОТО
══════════════════════════════════════════ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 680px;
}

.photo-item {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e0d8;
  position: relative;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.photo-item:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════════
   ВИДЕООТЗЫВЫ
══════════════════════════════════════════ */
.video-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 820px;
}

.video-card {
  width: 180px;
  aspect-ratio: 9/16;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.2s, transform 0.1s;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.video-card:hover img { opacity: 0.85; }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 16px;
  transition: transform 0.2s, opacity 0.2s;
}

.video-card:hover .video-play { transform: translate(-50%, -60%) scale(1.08); }

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 10px 12px;
  background: linear-gradient(to top, rgba(25,27,42,0.96) 0%, transparent 100%);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  line-height: 1.35;
  transition: opacity 0.2s;
}

/* Loading state */
.video-card.loading .video-play { opacity: 0; }

.video-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border: 2.5px solid rgba(255,255,255,0.25);
  border-top-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  animation: vid-spin 0.75s linear infinite;
  pointer-events: none;
}

.video-card.loading .video-caption { opacity: 0.4; }

@keyframes vid-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Имитация первого кадра: вспышка экспозиции → нормализация */
@keyframes vid-firstframe {
  0%   { filter: brightness(4) contrast(0.2) saturate(0);   opacity: 0.9; transform: scale(1.04); }
  12%  { filter: brightness(2) contrast(0.5) saturate(0.2); opacity: 0.85; transform: scale(1.03); }
  35%  { filter: brightness(1.4) contrast(0.8) saturate(0.6); opacity: 0.7; transform: scale(1.01); }
  60%  { filter: brightness(1.1) contrast(1)   saturate(0.9); opacity: 0.6; transform: scale(1); }
  100% { filter: brightness(1)   contrast(1)   saturate(1);   opacity: 1; transform: scale(1); }
}

@keyframes vid-flashoverlay {
  0%   { opacity: 0.7; }
  40%  { opacity: 0.1; }
  100% { opacity: 0; }
}

.video-card.jitter img {
  animation: vid-firstframe 0.55s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.video-card.jitter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  animation: vid-flashoverlay 0.4s ease-out forwards;
  z-index: 3;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   ДОСТАВКА
══════════════════════════════════════════ */
.delivery-banner {
  max-width: 680px;
  padding: 22px 26px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}

.delivery-icon { font-size: 32px; color: #fff; flex-shrink: 0; display: flex; }

.delivery-text strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.delivery-text span {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

/* ══════════════════════════════════════════
   SIDEBAR EXTRAS
══════════════════════════════════════════ */
.price-old-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.price-old {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #aaa;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: #fff4d4;
  color: #8a6200;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.discount-note {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.roi-note {
  margin-top: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--grey-nav);
  line-height: 1.45;
  text-align: center;
}

.card-divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 18px 0;
}

/* ── Messenger contact links ── */
.card-contacts {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-nav);
  transition: color 0.15s;
  padding: 7px 10px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  background: #fafaf8;
}

.contact-link:hover { color: var(--navy); border-color: #bbb; }

.contact-link .msg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: currentColor;
}

.contact-link .msg-icon svg { display: block; }
.contact-link .c-label {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════
   SAMPLE DOCUMENTS — one photo + side annotations
══════════════════════════════════════════ */
.samples-block {
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 32px 0 18px;
}
.samples-photo {
  width: 438px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 22px 44px rgba(20, 24, 40, 0.14),
              0 4px 10px rgba(20, 24, 40, 0.06);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}
.samples-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  line-height: 1.45;
  color: #5a5d6e;
  min-width: 0;
}
.samples-list li {
  position: relative;
  padding-left: 26px;
}
.samples-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 1.5px;
  background: var(--accent, #b88832);
}
.samples-list b {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 2px;
  letter-spacing: -0.1px;
}

.samples-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #5a5d6e;
}
.samples-hint iconify-icon { color: var(--green, #269e26); font-size: 16px; }

@media (max-width: 760px) {
  .samples-block {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .samples-photo { width: 100%; max-width: 438px; align-self: center; }
  .samples-list { font-size: 14px; }
}

/* ── Related (SEO, low emphasis) ── */
.related-posts {
  max-width: 1360px;
  margin: 40px auto 24px;
  padding: 18px 40px 0;
  border-top: 1px solid rgba(25, 27, 42, 0.08);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(25, 27, 42, 0.6);
}
.related-posts-label {
  display: inline;
  font-weight: 600;
  color: rgba(25, 27, 42, 0.75);
  margin-right: 6px;
}
.related-posts a {
  color: rgba(25, 27, 42, 0.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(25, 27, 42, 0.25);
  margin-right: 14px;
}
.related-posts a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.related-posts .related-category {
  margin-left: 4px;
  font-weight: 500;
}
@media (max-width: 760px) {
  .related-posts { padding: 16px 20px 0; margin-top: 24px; }
}

/* ══════════════════════════════════════════
   MOBILE (single)
══════════════════════════════════════════ */
@media (max-width: 840px) {
  .header-card-top { display: none; }
  .header-nav {
    border-bottom: 0.5px solid var(--border);
    padding-right: 16px;
    overflow: hidden;
  }
  .header-inner { padding-left: 16px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .logo-link { font-size: 14px; }

  .page-wrap { flex-direction: column; }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    order: 1;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 20px 20px 40px;
    background: transparent;
  }

  .card {
    border-radius: 10px;
    border: 0.5px solid var(--border);
    box-shadow: 0 2px 16px rgba(25,27,42,0.07);
  }

  .content {
    padding: 40px 16px 32px;
    order: 0;
  }

  .faq-section { margin-bottom: 32px; order: 2; padding-left: 20px; padding-right: 20px; }

  h1.writebook { font-size: 42px; letter-spacing: -0.8px; }
  .version-badge { font-size: 11px; padding: 3px 8px; margin-left: 8px; top: -0.55em; }
  .hero-subtitle { font-size: 24px; }
  .body-text, .links-line { font-size: 19px; }
  h2.section-heading, h2.faq-heading { font-size: 22px; }
  .segment-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card { width: 150px; }

  .ratings-row { gap: 8px; flex-wrap: nowrap; }
  .rating-widget { min-width: 0; padding: 16px 14px; gap: 6px; }
  .rating-platform { gap: 8px; }
  .rating-logo { width: 22px; height: 22px; border-radius: 5px; font-size: 12px; }
  .rating-score { font-size: 32px; letter-spacing: -0.8px; }
  .rating-count { font-size: 12px; }
}

