/* Darkside — самодостаточный лендинг курса «Сила Тёмной Стороны».
   Не зависит от /brand-colors.css и /style.css. Собственные CSS-переменные и reset. */

:root {
  --bg: #050508;
  --bg-2: #0a0a0e;
  --bg-3: #0f0f14;
  --surface: #141418;
  --silver: #c0c0c0;
  --silver-l: #e0e0e0;
  --silver-d: #888;
  --silver-10: rgba(192,192,192,0.10);
  --accent: #8b2252;
  --accent-d: #5a1438;
  --text: #f0f0f0;
  --text-soft: #c8c8c8;
  --text-muted: #777;
  --line: rgba(255,255,255,0.06);
  --line-h: rgba(255,255,255,0.12);
  --glow: 0 0 60px rgba(255,255,255,0.04);
  --radius: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: all .4s ease; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Forum', Georgia, serif; font-weight: 400; line-height: 1.15; }

/* Длинные русские слова на 360px переносятся по символам. */
h1, h2, h3, h4, p, li, a, span, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
html { overflow-x: hidden; }
video { max-width: 100%; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══ НАВБАР ═══ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all .5s ease;
}
.navbar.scrolled {
  background: rgba(5,5,8,.92);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,.5);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo__text { font-family: 'Forum', serif; font-size: 1.15rem; color: #fff; letter-spacing: .03em; }
.nav-logo__text span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: .65rem;
  color: var(--silver-d);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-style: italic;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .85rem; color: var(--text-soft); letter-spacing: .05em; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--silver), var(--silver-d));
  color: var(--bg) !important;
  font-weight: 600;
  font-size: .8rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.nav-cta:hover { box-shadow: 0 0 30px rgba(200,200,200,.2); transform: translateY(-1px); color: var(--bg) !important; }

.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-switch__btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--line-h);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}
.lang-switch__btn:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.lang-switch__btn.active { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 1.5px; background: #fff; transition: all .4s ease; }
.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══ КНОПКИ ═══ */
.dk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 60px;
  background: linear-gradient(135deg, var(--silver), var(--silver-d));
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .5s ease;
  text-decoration: none;
}
.dk-btn:hover {
  box-shadow: 0 0 40px rgba(200,200,200,.15), 0 8px 32px rgba(200,200,200,.1);
  transform: translateY(-2px);
  color: var(--bg);
}
.dk-btn--outline { background: transparent; color: var(--silver); border: 1px solid var(--silver-d); }
.dk-btn--outline:hover { background: rgba(255,255,255,.05); color: #fff; border-color: var(--silver); }

/* ═══ ГЕРОЙ ═══ */
.dk-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.dk-hero__bg { position: absolute; inset: 0; z-index: 0; }
.dk-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.5); }
.dk-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,8,.5) 0%, rgba(5,5,8,.2) 40%, rgba(5,5,8,.9) 100%),
    radial-gradient(ellipse at 50% 60%, rgba(139,34,82,.12) 0%, transparent 60%);
  z-index: 1;
}
.dk-hero__content { position: relative; z-index: 2; max-width: 900px; padding: 160px 40px 120px; }

.dk-hero__logo { margin: 0 auto 40px; }
.dk-hero__label {
  font-size: 1.1rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 36px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.dk-hero__label::before, .dk-hero__label::after { content: ''; width: 40px; height: 1px; background: var(--silver-d); }
.dk-hero__title { font-size: clamp(3.5rem, 9vw, 6.5rem); color: #fff; margin-bottom: 20px; line-height: 1.05; text-shadow: 0 4px 40px rgba(0,0,0,.7); }
.dk-hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--silver);
  margin-bottom: 52px;
  font-style: italic;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dk-hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ SECTION HEAD ═══ */
.dk-section-head { text-align: center; margin-bottom: 72px; }
.dk-section-head__label { font-size: 1.1rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--silver-d); margin-bottom: 24px; }
.dk-section-head__title { font-size: clamp(2.4rem, 5vw, 3.8rem); color: #fff; }

/* ═══ МОДУЛИ ═══ */
.dk-modules { padding: 140px 0; background: var(--bg); }
.dk-module { margin-bottom: 100px; }
.dk-module:last-child { margin-bottom: 0; }

.dk-module__header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.dk-module__number { font-family: 'Forum', serif; font-size: 5rem; color: rgba(255,255,255,.06); line-height: 1; flex-shrink: 0; }
.dk-module__title { font-size: clamp(2rem, 3.5vw, 2.8rem); color: #fff; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }

.dk-module__body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.dk-module__topics { display: flex; flex-direction: column; gap: 14px; }
.dk-module__topic {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 1.4rem; color: var(--text-soft);
  line-height: 1.6;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.dk-module__topic::before { content: ''; width: 8px; height: 8px; background: rgba(255,255,255,.15); border-radius: 50%; margin-top: 10px; flex-shrink: 0; }

.dk-module__sub { margin-top: 24px; padding: 20px 24px; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: var(--radius); }
.dk-module__sub-title { font-size: .85rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.dk-module__sub-items { display: flex; gap: 24px; flex-wrap: wrap; }
.dk-module__sub-item { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text-soft); font-style: italic; }

/* Секция разбора артистов */
.dk-artists-section { text-align: center; margin-top: 60px; }
.dk-artists-section__title { font-size: 1.4rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); margin-bottom: 36px; }

/* Карточки артистов */
.dk-artists { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.dk-artist { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line); transition: all .5s ease; }
.dk-artist:hover { border-color: var(--line-h); transform: translateY(-4px); box-shadow: var(--glow); }
.dk-artist img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.7); transition: all .6s ease; }
.dk-artist:hover img { filter: saturate(.85) brightness(.85); transform: scale(1.05); }
.dk-artist__name {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,.85);
  font-style: italic;
  letter-spacing: .03em;
}

.dk-module__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius); overflow: hidden; }
.dk-module__gallery--single { grid-template-columns: 1fr; }
.dk-module__gallery--spaced { gap: 8px; }

/* Широкая галерея — 1 крупная + 2 боковых */
.dk-module__gallery-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 48px; border-radius: var(--radius); overflow: hidden; }
.dk-module__gallery-wide-main { aspect-ratio: 3/4; overflow: hidden; border-radius: 6px; }
.dk-module__gallery-wide-main img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); transition: all .6s ease; }
.dk-module__gallery-wide-main:hover img { filter: saturate(.9); transform: scale(1.04); }
.dk-module__gallery-wide-side { display: flex; flex-direction: column; gap: 8px; }
.dk-module__gallery-wide-item { flex: 1; overflow: hidden; border-radius: 6px; }
.dk-module__gallery-wide-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); transition: all .6s ease; }
.dk-module__gallery-wide-item:hover img { filter: saturate(.9); transform: scale(1.04); }

.dk-module__img { aspect-ratio: 3/3.5; overflow: hidden; border-radius: 4px; }
.dk-module__img--tall { aspect-ratio: 3/4; }
.dk-module__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6); transition: all .6s ease; }
.dk-module__img:hover img { filter: saturate(.9); transform: scale(1.04); }

.dk-module__divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-h), transparent); margin-top: 100px; }

/* ═══ СТОИМОСТЬ ═══ */
.dk-pricing { padding: 140px 0; background: var(--bg-2); border-top: 1px solid var(--line); position: relative; }
.dk-pricing::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139,34,82,.06) 0%, transparent 60%);
  pointer-events: none;
}

.dk-pricing__card {
  position: relative; max-width: 680px; margin: 0 auto; text-align: center;
  padding: 80px 60px;
  background: var(--bg); border: 1px solid var(--line-h);
  border-radius: var(--radius); overflow: hidden;
}
.dk-pricing__card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--silver-d), transparent);
}

.dk-pricing__label { font-size: 1.1rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.dk-pricing__price { font-family: 'Forum', serif; font-size: clamp(4rem, 9vw, 6rem); color: #fff; line-height: 1; margin-bottom: 8px; }
.dk-pricing__currency { font-size: .4em; color: var(--text-muted); }
.dk-pricing__includes { margin: 44px 0; text-align: left; display: inline-block; }
.dk-pricing__includes li {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.35rem; color: var(--text-soft);
  margin-bottom: 20px; line-height: 1.5;
}
.dk-pricing__includes li::before { content: ''; width: 6px; height: 6px; background: var(--silver-d); border-radius: 50%; flex-shrink: 0; }
.dk-pricing__cta { margin-top: 36px; }

/* ═══ КИНЕМАТОГРАФИЧЕСКИЙ РАЗДЕЛИТЕЛЬ ═══ */
.dk-cinematic { position: relative; width: 100%; height: 50vh; min-height: 350px; overflow: hidden; }
.dk-cinematic--short { height: 45vh; min-height: 300px; }
.dk-cinematic--tall { height: 65vh; }
.dk-cinematic--hero { height: 90vh; min-height: 600px; }

.dk-cinematic img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35) saturate(.5); transition: transform 8s ease-out; }
.dk-cinematic:hover img { transform: scale(1.04); }
.dk-cinematic__img--dimmer { filter: brightness(.5) saturate(.6); }
.dk-cinematic__img--bright { filter: brightness(.85); }

.dk-cinematic__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%); pointer-events: none; }
.dk-cinematic__quote { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; padding: 0 40px; }
.dk-cinematic__quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: rgba(255,255,255,.6);
  text-align: center;
  font-style: italic;
  max-width: 600px;
  line-height: 1.6;
  text-shadow: 0 4px 20px rgba(0,0,0,.8);
}

.dk-cinematic__video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(.9); }
.dk-cinematic__video--final { filter: brightness(.35) saturate(.6); }

/* ═══ МИНИ-ЛЕНТА МЕЖДУ СЕКЦИЯМИ ═══ */
.dk-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; padding: 3px 0; background: var(--bg); }
.dk-strip__item { aspect-ratio: 16/9; overflow: hidden; }
.dk-strip__item--tall { aspect-ratio: 3/4; }
.dk-strip__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.4) brightness(.55); transition: all .6s ease; }
.dk-strip__item:hover img { filter: saturate(.7) brightness(.8); transform: scale(1.06); }

/* ═══ ГАЛЕРЕЯ ═══ */
.dk-gallery { padding: 4px 0; background: var(--bg); }
.dk-gallery__grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
.dk-gallery__item { aspect-ratio: 1; overflow: hidden; }
.dk-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: saturate(.4) brightness(.65); }
.dk-gallery__item:hover img { transform: scale(1.08); filter: saturate(.7) brightness(.85); }

/* ═══ ФИНАЛ ═══ */
.dk-final { position: relative; padding: 0; overflow: hidden; }
.dk-final__bg { position: relative; height: 100vh; min-height: 800px; }
.dk-final__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3); }
.dk-final__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,8,.7) 0%, rgba(5,5,8,.3) 40%, rgba(5,5,8,.8) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 48px;
}
.dk-final__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--silver-l);
  max-width: 800px;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
  padding: 0 40px;
}

/* ═══ ФУТЕР ═══ */
.dk-footer { padding: 60px 0 32px; background: var(--bg-2); border-top: 1px solid var(--line); }
.dk-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.dk-footer__brand { display: flex; align-items: center; gap: 14px; }
.dk-footer__name { font-family: 'Forum', serif; font-size: 1.1rem; color: #fff; }
.dk-footer__social { display: flex; gap: 20px; }
.dk-footer__social a { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-muted); }
.dk-footer__social a:hover { color: #fff; }
.dk-footer__copy { width: 100%; text-align: center; padding-top: 32px; margin-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-muted); }

/* ═══ АДАПТИВ ═══ */
@media (max-width: 1024px) {
  .dk-module__body { grid-template-columns: 1fr; }
  .dk-gallery__grid { grid-template-columns: repeat(4,1fr); }
  .dk-strip { grid-template-columns: repeat(2,1fr); }
  .dk-module__gallery-wide { grid-template-columns: 1fr; }
  .dk-module__gallery-wide-side { flex-direction: row; }
}

@media (max-width: 768px) {
  .dk-artists { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .dk-artist__name { font-size: .9rem; padding: 14px 12px 12px; }
  .container { padding: 0 24px; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: rgba(5,5,8,.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 28px;
    transition: right .4s ease;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .burger { display: flex; }
  .dk-hero__content { padding: 140px 24px 100px; }
  .dk-module__header { flex-direction: column; gap: 8px; }
  .dk-module__number { font-size: 2.5rem; }
  .dk-pricing__card { padding: 48px 28px; }
  .dk-gallery__grid { grid-template-columns: repeat(3,1fr); }
  .dk-hero__cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .dk-gallery__grid { grid-template-columns: repeat(2,1fr); }
  .dk-btn { padding: 18px 36px; width: 100%; justify-content: center; }
}
