/* Чужестранка: интимные сцены — тема "при свечах"
   Палитра: тёплый чёрный, золото свечей, бордо. Шрифты: Playfair Display + Manrope. */

:root {
  --bg: #141009;
  --bg-soft: #1c1610;
  --surface: #211a12;
  --surface-2: #2a2117;
  --border: #3a2c1c;
  --gold: #d4a45a;
  --gold-soft: #b08a4f;
  --red: #a03a3a;
  --text: #ece2d0;
  --muted: #a99a83;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --radius: 14px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: #e8c084; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 16, 9, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: .02em;
}
.logo .flame { width: 22px; height: 22px; flex: 0 0 auto; }
.logo small { color: var(--gold); font-size: 15px; margin-left: 3px; letter-spacing: 0; }
.main-nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  color: #c4b49b; font-size: 15px; font-weight: 600;
  padding: 8px 13px; border-radius: 9px; white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--gold); background: rgba(212, 164, 90, .1); }
.nav-toggle { display: none; }
.burger { display: none; }
.badge-18 {
  flex: 0 0 auto;
  border: 1.5px solid var(--red); color: #d47a7a;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 7px;
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; gap: 12px; position: relative; padding: 10px 0; }
  .logo { font-size: 18px; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: -20px; right: -20px;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin-left: 0; width: auto; overflow-x: visible;
    background: rgba(20,16,9,.98);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 16px;
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 16px; border-radius: 6px; }
  .lang-switch { margin-left: 8px; }
  .nav-toggle { display: none; }
.burger { display: none; }
.badge-18 { margin-left: auto; order: 2; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    flex: 0 0 auto;
    width: 44px; height: 44px; margin-left: 4px;
    cursor: pointer; user-select: none;
    border: 1px solid var(--border); border-radius: 6px;
    background: rgba(33,26,18,.6);
  }
  .burger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 1px; margin: 0 auto; transition: transform .25s, opacity .2s; }
  .burger:hover { border-color: var(--gold-soft); }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Хиро / обложка ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.hero img.cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: saturate(1.05) contrast(1.02);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,9,.30) 0%, rgba(20,16,9,.55) 38%, rgba(20,16,9,.96) 86%, rgba(20,16,9,1) 100%),
    radial-gradient(70% 80% at 18% 78%, rgba(20,16,9,.62), transparent 70%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 64px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 13.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--gold-soft); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08; font-weight: 900;
  max-width: 780px;
  text-shadow: 0 2px 14px rgba(20,16,9,.9), 0 4px 34px rgba(20,16,9,.75);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead {
  margin-top: 20px; max-width: 640px;
  font-size: 18.5px; color: #d9cdb9;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  background: rgba(33, 26, 18, .82);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
}
.chip b { color: var(--gold); }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 11px;
  font-weight: 700; font-size: 15.5px;
  transition: transform .2s, box-shadow .2s, background .25s;
}
.btn-gold { background: linear-gradient(135deg, #e2b269, #b8873f); color: #221a0e; box-shadow: 0 8px 26px rgba(212,164,90,.28); }
.btn-gold:hover { transform: translateY(-2px); color: #221a0e; box-shadow: 0 12px 32px rgba(212,164,90,.4); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text); background: rgba(33,26,18,.6); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold); }

/* ---------- Секции ---------- */
.section { padding: 68px 0 20px; }
.section-head { margin-bottom: 34px; }
.section-head .kicker {
  color: var(--gold-soft); font-size: 13px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15;
  margin-top: 10px; font-weight: 800;
}
.section-head p { color: var(--muted); margin-top: 12px; max-width: 660px; }

/* ---------- Карточки сцен ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.scene-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.scene-card:hover { transform: translateY(-4px); border-color: var(--gold-soft); }
.scene-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.scene-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.scene-card:hover .thumb img { transform: scale(1.05); }
.scene-card .thumb .ep {
  position: absolute; left: 12px; top: 12px;
  background: rgba(20,16,9,.85); border: 1px solid var(--border);
  color: var(--gold); font-weight: 700; font-size: 12.5px;
  padding: 5px 11px; border-radius: 8px; backdrop-filter: blur(6px);
}
.scene-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scene-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.25; }
.scene-card h3 a { color: var(--text); }
.scene-card h3 a:hover { color: var(--gold); }
.scene-card p { color: var(--muted); font-size: 15px; flex: 1; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gold); font-weight: 700; }
.stars { letter-spacing: 3px; }
.scene-card .more { font-weight: 700; font-size: 14.5px; }

/* ---------- Контент статьи ---------- */
.page-hero { padding: 58px 0 8px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--gold-soft); }
.crumbs a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; font-weight: 900;
  max-width: 880px;
}
.page-hero .sub { color: var(--muted); margin-top: 14px; font-size: 17.5px; max-width: 700px; }
.article { padding: 34px 0 30px; }
.article figure {
  margin: 34px 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.article figure img { width: 100%; }
.article figcaption {
  padding: 13px 18px; color: var(--muted);
  font-size: 13.5px; background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.article h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 33px); font-weight: 800;
  margin: 44px 0 16px; line-height: 1.2;
}
.article h3 { font-size: 20px; font-weight: 800; margin: 30px 0 12px; color: var(--gold); }
.article p { margin: 14px 0; color: #ddd1bd; max-width: 760px; }
.article ul, .article ol { margin: 14px 0 14px 22px; color: #ddd1bd; }
.article li { margin: 9px 0; }
.article blockquote {
  margin: 26px 0; padding: 20px 26px;
  background: var(--surface); border-left: 3px solid var(--gold-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--text);
}
.quote-by { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 13.5px; font-style: normal; color: var(--muted); }

/* ---------- Таймлайн сцены ---------- */
.timeline { margin: 30px 0; border-left: 2px solid var(--border); padding-left: 26px; }
.moment { position: relative; padding: 0 0 26px; }
.moment::before {
  content: ""; position: absolute; left: -33px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(212,164,90,.18);
}
.moment .t { color: var(--gold); font-weight: 800; font-size: 13.5px; letter-spacing: .06em; }
.moment h4 { font-size: 17.5px; font-weight: 700; margin: 4px 0 6px; }
.moment p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Таблица сезонов ---------- */
.season-table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.season-table th {
  text-align: left; padding: 13px 16px; color: var(--gold);
  font-weight: 800; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase;
  background: var(--surface-2); border-bottom: 2px solid var(--border);
}
.season-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: #ddd1bd; }
.season-table tr:hover td { background: rgba(212,164,90,.05); }
.season-table .ep-cell { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { margin: 20px 0; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; margin: 12px 0; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px;
  font-weight: 700; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--gold); border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 16px 22px 20px; color: var(--muted); font-size: 15.5px; }
.faq .faq-body p { margin: 8px 0; }

/* ---------- Подвал ---------- */
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 44px 0 40px;
  font-size: 14px; color: var(--muted);
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-grid h4 { color: var(--text); font-family: var(--font-display); font-size: 17px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: 7px 0; }
.footer-disclaimer {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 12.8px; line-height: 1.65; color: #8d8069;
}
.footer-disclaimer b { color: #c77a7a; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 66vh; }
  .hero-content { padding: 90px 0 44px; }
  .article p { font-size: 16.5px; }
  .header-inner { gap: 8px; }
  .logo small { display: none; }
  .season-table { font-size: 13.5px; }
  .season-table th, .season-table td { padding: 10px 8px; }
}
