/* Внутренние страницы преимуществ — к main style.css */

.detail-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.detail-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.detail-header .logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-shadow: none;
}

.detail-header__back {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.detail-header__back:hover {
  color: var(--text);
}

.detail-main {
  flex: 1;
  padding: 48px 0 80px;
}

.detail-article {
  max-width: 800px;
}

.detail-eyebrow {
  margin: 0 0 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.detail-article h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.detail-lead {
  margin: 0 0 36px;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.detail-media {
  margin: 0 0 40px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.detail-media img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.detail-media figcaption {
  padding: 12px 4px 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.detail-body-text h2 {
  margin: 40px 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-body-text p {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.detail-body-text ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.detail-body-text li {
  margin-bottom: 8px;
}

.detail-video-wrap {
  margin: 48px 0 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.detail-video-wrap video {
  width: 100%;
  display: block;
  max-height: min(70vh, 520px);
  object-fit: cover;
}

.detail-video-caption {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.detail-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.detail-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.detail-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.detail-footer a {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.detail-error {
  max-width: 640px;
  margin: 2rem auto;
  color: #b33;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .detail-main {
    padding: 32px 0 60px;
  }

  .detail-header__inner {
    flex-wrap: wrap;
  }
}
