/* ============================================================
   PROSTATE LATAM — новостной лендинг (es-419)
   Светлая тема новостного портала. Mobile first, но ПК-версия
   раскладывается в две колонки (статья + сайдбар с формой).
   Никаких зависимостей, один файл.
   ============================================================ */

:root {
  --red: #d31f26;
  --red-dark: #a1131a;
  --navy: #16233a;
  --navy-dark: #0d1626;
  --ink: #14181f;
  --ink-soft: #3d444f;
  --muted: #6b7280;
  --line: #e2e5ea;
  --page: #eef0f3;
  --card: #ffffff;
  --green: #1c7c3c;
  --amber: #b45309;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 8px 24px rgba(16, 24, 40, .06);
  --radius: 10px;
  --wrap: 1180px;
  --col: 720px;
  --font: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--page);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

/* ==================== 1. ВЕРХНЯЯ ПАНЕЛЬ (чёрная) ==================== */
.topbar {
  background: #000;
  color: #fff;
  font-size: 13px;
  letter-spacing: .06em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 44px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-inner::-webkit-scrollbar { display: none; }
.topbar a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .92;
  transition: opacity .15s;
}
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}
.topbar-search svg { width: 20px; height: 20px; fill: currentColor; }

/* ==================== 2. МАСТХЕД (тёмно-синий) ==================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
}
.masthead-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  padding: 8px 18px 8px 12px;
  margin: 0 18px 0 -16px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--red);
  border-radius: 4px 4px 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.brand-text { line-height: 1.05; }
.brand-name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.brand-tagline {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--red);
  text-transform: uppercase;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .15s;
}
.section-nav a:hover { background: rgba(255, 255, 255, .12); }

.menu-toggle {
  display: none;
  margin-left: auto;
  align-self: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 5px;
  width: 42px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.menu-toggle .bar { width: 18px; height: 2px; background: #fff; }

/* ==================== 3. ПОЛОСА «ÚLTIMA HORA» ==================== */
.breaking {
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breaking-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px 16px;
}
.breaking-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.75); }
}
.breaking-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==================== 4. МАКЕТ СТАТЬИ ==================== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 16px 40px;
}

.article {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px 30px;
  min-width: 0;
}

.kicker {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.headline {
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.12;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  text-wrap: balance;
}

.subheadline {
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 44em;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.meta-author { font-weight: 700; color: var(--ink-soft); }
.meta-sep { color: var(--line); }
.meta-badge {
  border: 1px solid var(--muted);
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform .12s, background .15s;
}
.share-btn:hover { transform: translateY(-2px); background: var(--red); }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }
.share-copied {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s;
}
.share-copied.show { opacity: 1; }

/* ==================== 5. ВИДЕО ==================== */
.video-block { margin: 0 0 8px; }

.video-frame {
  background: #dcdfe4;
  border: 1px solid #c9ced6;
  border-radius: 8px;
  padding: 10px;
  position: relative;
}
.video-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 9px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .09em;
  color: var(--ink);
  text-transform: uppercase;
}
.live-badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseDot 1.3s ease-in-out infinite;
}
.frame-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--navy);
  text-transform: uppercase;
}
.frame-brand span.dot {
  width: 16px;
  height: 16px;
  border-radius: 3px 3px 6px 3px;
  background: var(--red);
}

.video-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  border-radius: 3px;
}
.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  cursor: pointer;
  transition: opacity .3s;
  padding: 16px;
}
.video-overlay.hidden { opacity: 0; pointer-events: none; }
.unmute-btn {
  background: var(--red);
  color: #fff;
  padding: 14px 22px;
  font-size: clamp(13px, 2.4vw, 16px);
  font-weight: 900;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(211, 31, 38, .55);
  letter-spacing: .02em;
}
.unmute-sub { margin-top: 9px; font-size: 12.5px; color: #f1f1f1; }
.unmute-icon { font-size: 26px; margin-bottom: 6px; }

.video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--red);
  z-index: 6;
  transition: width .1s linear;
}

.viewers {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 12px 0 4px;
}
.viewers b { color: var(--ink); font-variant-numeric: tabular-nums; }

.video-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

/* ==================== 6. ТЕКСТ СТАТЬИ ==================== */
.article-body { max-width: var(--col); margin: 0 auto; }
.article-body p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.article-body p.lead-in {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  border-left: 4px solid var(--red);
  padding-left: 14px;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 26px 0 12px;
  color: var(--ink);
}
.checklist { list-style: none; margin: 0 0 18px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-box {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 15.5px;
  color: #7c2d12;
}

/* ==================== 7. БЛОК ЗАКАЗА ==================== */
.form-section { margin: 26px 0 8px; scroll-margin-top: 80px; }

.form-card {
  background: var(--card);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(211, 31, 38, .13);
}
.form-card-head {
  background: var(--red);
  color: #fff;
  padding: 13px 18px;
  text-align: center;
}
.form-title-text { font-size: clamp(16px, 2.2vw, 20px); font-weight: 900; letter-spacing: .01em; }
.form-card-body { padding: 18px; }

.offer-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.product-img-wrap { width: 118px; flex-shrink: 0; }
.product-img-wrap img { border-radius: 6px; }
.price-col { display: flex; flex-direction: column; line-height: 1.15; }
.price-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 16px; font-weight: 600; }
.price-new { font-size: clamp(26px, 4.4vw, 34px); font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.discount-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(211, 31, 38, .4);
  animation: pricePulse 1.5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes pricePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.urgency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.scarcity {
  font-size: 14px;
  font-weight: 800;
  color: var(--amber);
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 7px 11px;
}
.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}
.timer-box .my-timer-now {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px;
  font-weight: 900;
  color: #ffd166;
  font-variant-numeric: tabular-nums;
}

/* Форма */
.lead-form { display: block; }
.lead-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.field { margin-bottom: 12px; }

.lead-form input[type="text"],
.lead-form input[type="tel"] {
  width: 100%;
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid #cfd4dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.lead-form input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(211, 31, 38, .12); }

/* Селект страны + телефон */
.phone-row { display: flex; gap: 8px; }
.country-select {
  position: relative;
  flex-shrink: 0;
  width: 128px;
}
.country-select select {
  width: 100%;
  height: 100%;
  min-height: 48px;
  font-size: 15px;
  font-family: inherit;
  padding: 0 8px 0 38px;
  border: 1.5px solid #cfd4dc;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.country-select select:focus { outline: none; border-color: var(--red); }
.country-select .flag {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, .12);
  pointer-events: none;
}
.country-select::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.phone-input { position: relative; flex: 1; min-width: 0; }
.phone-input input[type="tel"] { width: 100%; min-height: 48px; }

.input-error {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 5px;
}

.submit-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 14px;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 900;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 6px 18px rgba(211, 31, 38, .35);
  transition: background .15s, transform .1s;
  animation: ctaPulse 2s ease-in-out infinite;
}
.submit-btn:hover { background: var(--red-dark); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: .65; cursor: not-allowed; animation: none; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(211, 31, 38, .35); }
  50% { box-shadow: 0 6px 26px rgba(211, 31, 38, .6); }
}

.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 9px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ==================== 8. КОММЕНТАРИИ ==================== */
.comments {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 26px;
  margin-top: 24px;
}
.comments-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 16px;
}
.comments-title { font-size: 19px; font-weight: 900; }
.comments-count { font-size: 14px; color: var(--muted); }
.comments-sort { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 700; }

.comment-compose { display: flex; gap: 10px; margin-bottom: 18px; }
.compose-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 15px;
}
.compose-fields { flex: 1; min-width: 0; }
.compose-fields textarea {
  width: 100%;
  min-height: 46px;
  resize: vertical;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #cfd4dc;
  border-radius: 20px;
  background: #f4f5f7;
  color: var(--ink);
}
.compose-fields textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.compose-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.compose-btn:disabled { opacity: .45; cursor: not-allowed; }
.compose-note {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 700;
  margin-top: 8px;
  display: none;
}
.compose-note.show { display: block; }

.comment { display: flex; gap: 11px; padding: 12px 0; }
.comment + .comment { border-top: 1px solid #f0f1f4; }
.comment.new-in { animation: slideIn .45s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #dfe3e8;
}
.comment-main { flex: 1; min-width: 0; }
.comment-bubble {
  background: #f2f3f5;
  border-radius: 16px;
  padding: 9px 14px;
}
.comment-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #1c2b4a;
}
.comment-place { font-size: 12px; color: var(--muted); font-weight: 600; }
.comment-text { font-size: 15px; line-height: 1.5; color: var(--ink); margin-top: 2px; word-wrap: break-word; }
.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 5px 14px 0;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
}
.comment-actions > * { white-space: nowrap; }
.comment-actions button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.comment-actions button:hover { text-decoration: underline; color: var(--ink); }
.comment-actions .liked { color: var(--red); }
.like-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.like-count .thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.like-count.tick { animation: countTick .35s ease; }
@keyframes countTick {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
.comment-replies { margin-top: 10px; padding-left: 22px; border-left: 2px solid #eceef1; }
.comment-replies .comment-avatar { width: 32px; height: 32px; }
.reply-box { display: flex; gap: 8px; margin: 8px 0 0 22px; }
.reply-box input {
  flex: 1;
  font-size: 14px;
  padding: 9px 13px;
  border: 1.5px solid #cfd4dc;
  border-radius: 18px;
  background: #f4f5f7;
  font-family: inherit;
}
.reply-box input:focus { outline: none; border-color: var(--navy); background: #fff; }
.reply-box button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.comments-more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  background: #f2f3f5;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  cursor: pointer;
}
.comments-more:hover { background: #e8eaee; }

/* ==================== 9. САЙДБАР (ПК) ==================== */
.sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
.side-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-card-head {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
}
.side-card-body { padding: 14px; }
.side-list { list-style: none; }
.side-list li {
  padding: 10px 0;
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.side-list li:last-child { border-bottom: none; }
.side-list li span { color: var(--red); font-weight: 900; margin-right: 6px; }

.side-cta {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 8px;
  cursor: pointer;
  animation: ctaPulse 2s ease-in-out infinite;
}
.side-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 9px; }

/* ==================== 10. КОМБЕКЕР ==================== */
.comebacker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 22, .86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 14px;
  overflow-y: auto;
}
.comebacker-overlay.open { display: flex; }
.comebacker-card {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  padding: 22px 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  margin: auto;
}
.comebacker-close {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 30px;
  line-height: 1;
  color: #9aa1ab;
  cursor: pointer;
}
.cb-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef2b32, #a1131a);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  animation: pricePulse 1.4s ease-in-out infinite;
}
.comebacker-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
}
.cb-price { display: flex; align-items: baseline; gap: 12px; margin: 8px 0; }
.cb-price-old { text-decoration: line-through; color: var(--muted); font-size: 18px; font-weight: 700; }
.cb-price-new { font-size: 36px; font-weight: 900; color: var(--red); line-height: 1; }
.cb-sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.cb-timer { display: flex !important; justify-content: center; width: 100%; margin-bottom: 12px; }
.cb-lock { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ==================== 11. БЛАГОДАРНОСТЬ INLINE ==================== */
.thank-block {
  display: none;
  background: #f0fdf4;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin: 20px 0;
}
.thank-block.show { display: block; }
.thank-block h2 { color: var(--green); font-size: 22px; margin-bottom: 10px; }
.thank-block p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 6px; }

/* ==================== 12. ПОДВАЛ ==================== */
.site-footer {
  background: var(--navy-dark);
  color: #9aa5b5;
  padding: 26px 16px 34px;
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
}
.site-footer .footer-brand {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.site-footer p { max-width: 680px; margin: 0 auto 8px; line-height: 1.6; }
.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-weight: 700;
}

/* ==================== 13. АДАПТИВ ==================== */
@media (max-width: 1023px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .sidebar .side-card.only-desktop { display: none; }
}

@media (max-width: 860px) {
  .section-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 10px 12px;
    display: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
  }
  .section-nav.open { display: flex; }
  .section-nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu-toggle { display: flex; }
  .masthead-inner { position: relative; min-height: 56px; }
  .brand { margin-right: auto; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .layout { padding: 14px 10px 28px; gap: 18px; }
  .article { padding: 18px 14px 22px; border-radius: 8px; }
  .headline { font-size: clamp(22px, 6.6vw, 30px); }
  .subheadline { font-size: clamp(14px, 4vw, 17px); }
  .article-body p { font-size: 16px; }
  .article-meta { font-size: 12px; gap: 7px; }
  .share { margin-left: 0; width: 100%; justify-content: flex-start; padding-top: 4px; }
  .video-frame { padding: 7px; border-radius: 6px; }
  .video-frame-bar { padding: 1px 2px 7px; }
  .live-badge, .frame-brand { font-size: 11px; }

  .form-card-body { padding: 14px; }
  .offer-row { gap: 12px; }
  .product-img-wrap { width: 92px; }
  .discount-badge { margin-left: 0; }
  .urgency-row { flex-direction: column; align-items: stretch; }
  .urgency-row .timer-box { justify-content: center; }
  .phone-row { flex-direction: column; gap: 8px; }
  .country-select { width: 100%; }
  .country-select select { min-height: 48px; }

  .comments { padding: 16px 12px 20px; border-radius: 8px; }
  .comment-actions { gap: 4px 10px; padding-left: 10px; font-size: 12px; }
  .comment-actions button { font-size: 12px; }
  .comment-avatar { width: 36px; height: 36px; }
  .comment-replies { padding-left: 12px; }
  .reply-box { margin-left: 12px; }
  .compose-avatar { width: 34px; height: 34px; font-size: 13px; }

  .comebacker-card { padding: 18px 15px; }
  .comebacker-card h3 { font-size: 19px; }
  .cb-price-new { font-size: 30px; }
  .topbar-inner { height: 38px; gap: 18px; font-size: 12px; }
}

@media (max-width: 380px) {
  .brand { padding-right: 10px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; font-size: 13px; }
}

/* Уважаем системную настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
