/* ============================================
   ARTICLE PAGES — A propos, Comment, Pourquoi
   ============================================ */

body.article-page {
  background: var(--cocoa-bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Тонкая фоновая текстура для article-страниц (без slider) */
body.article-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(196, 69, 105, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body.article-page::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(212, 175, 55, 0.012) 2px,
      rgba(212, 175, 55, 0.012) 4px
    );
  pointer-events: none;
  z-index: 0;
}

.article-header,
.article,
.article-footer {
  position: relative;
  z-index: 1;
}

/* ============================================
   ARTICLE HEADER
   ============================================ */

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  border-bottom: 1px solid var(--hairline-soft);
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(31, 4, 0, 0.8) 0%, rgba(31, 4, 0, 0.4) 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.article-back {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  color: var(--gold);
  text-decoration: none;
  font-style: italic;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.article-back:hover {
  color: var(--gold-bright);
}

.article-nav {
  display: flex;
  gap: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.article-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.3s;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.article-nav a:hover {
  color: var(--gold);
}

.article-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============================================
   ARTICLE BODY
   ============================================ */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}

.article-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  display: inline-block;
}

.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 76px;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 40px;
  letter-spacing: -0.015em;
}

.article-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  display: inline-block;
}

.article-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: 64px;
  font-weight: 300;
  font-style: italic;
  max-width: 640px;
}

.article-section {
  margin-bottom: 56px;
}

.article-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.article-section h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}

.article-section p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 300;
}

.article-section p strong {
  color: var(--gold);
  font-weight: 500;
}

.article-section p a {
  color: var(--raspberry);
  text-decoration: none;
  border-bottom: 1px solid var(--raspberry-deep);
  transition: all 0.3s;
}

.article-section p a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.article-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.article-section ul li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 300;
}

.article-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 400;
}

.article-section ul li strong {
  color: var(--gold);
  font-weight: 500;
}

/* Value blocks */
.article-value {
  background: rgba(212, 175, 55, 0.03);
  border-left: 2px solid var(--gold);
  padding: 24px 28px;
  margin: 24px 0;
}

.article-value h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.article-value p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

/* Comparison table — расширяется за пределы article.max-width на десктопе */
.article-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 40px -150px;
}

@media (max-width: 1100px) {
  .article-comparison {
    margin: 40px -60px;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .article-comparison {
    margin: 40px 0;
  }
}

.compare-col {
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  background: rgba(15, 2, 0, 0.3);
}

.compare-col.highlight {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}

.compare-col h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline-soft);
}

.compare-col.highlight h3 {
  color: var(--gold);
  font-style: italic;
  border-bottom-color: var(--gold-soft);
}

.compare-col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.compare-col ul li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted);
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid var(--hairline-soft);
  margin: 0;
}

.compare-col ul li:last-child {
  border-bottom: none;
}

.compare-col ul li::before {
  content: '·';
  color: var(--gold);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.compare-col.highlight ul li {
  color: var(--ink);
}

/* CTA button link */
.article-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 16px 32px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--cocoa-deep) !important;
  background: var(--gold);
  text-decoration: none;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.02em;
}

.article-cta:hover {
  background: var(--gold-bright) !important;
  color: var(--cocoa-deep) !important;
  transform: translateX(4px);
  border: none !important;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.article-faq {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
}

.article-faq h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 32px;
  font-style: italic;
}

.article-faq details {
  border-bottom: 1px solid var(--hairline-soft);
  padding: 20px 0;
}

.article-faq details summary {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0 4px 28px;
  position: relative;
  list-style: none;
  transition: color 0.3s;
  font-weight: 400;
}

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

.article-faq details summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s;
}

.article-faq details[open] summary::before {
  content: '−';
  transform: rotate(0);
}

.article-faq details summary:hover {
  color: var(--gold);
}

.article-faq details p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-muted);
  padding: 14px 0 0 28px;
  margin: 0;
}

.article-faq details p a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
}

/* ============================================
   ARTICLE FOOTER
   ============================================ */

.article-footer {
  padding: 40px 56px;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.15em;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .article-header {
    padding: 20px 24px;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    position: static;
  }

  .article-nav {
    gap: 18px;
    font-size: 10px;
    flex-wrap: wrap;
  }

  .article {
    padding: 48px 24px 80px;
  }

  .article-title {
    font-size: 54px;
  }

  .article-lead {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .article-section h2 {
    font-size: 28px;
  }

  .article-section p {
    font-size: 17px;
  }

  .article-section ul li {
    font-size: 16px;
  }

  .article-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
  }

  .article-footer {
    padding: 32px 24px;
  }

  .article-footer .footer-nav,
  .article-footer .footer-meta {
    flex-direction: column;
    gap: 8px;
  }

  .article-footer .footer-nav span,
  .article-footer .footer-meta span {
    display: none;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 42px;
  }

  .article-section h2 {
    font-size: 24px;
  }

  .article-faq details summary {
    font-size: 17px;
  }
}
