/* ООО «БЕНЕФИС» — «Театр / Афиша» (theatrical playbill) bespoke theme */

:root {
  --wine: #5a1a2b;
  --wine-deep: #47131f;
  --wine-2: #7a2438;
  --cream: #f5efe2;
  --cream-2: #efe6d2;
  --gold: #c8a45c;
  --gold-bright: #d9b872;
  --ink: #2a1218;
  --muted: #7a6a63;
  --paper: #fbf7ee;
  --line: rgba(90, 26, 43, 0.18);
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --serif-2: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.is-hidden { display: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--wine-deep); padding: 10px 18px;
  font-weight: 700; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

img { max-width: 100%; display: block; }

a { color: inherit; }

/* ---------- Nav ---------- */
.playbill-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--wine);
  color: var(--cream);
  border-bottom: 2px solid var(--gold);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.nav-mark { color: var(--gold); font-size: 1.15rem; }
.nav-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .06em;
}
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a {
  text-decoration: none; color: var(--cream);
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  opacity: .88; transition: opacity .2s, color .2s;
}
.nav-menu a:hover { opacity: 1; color: var(--gold-bright); }
.nav-cta {
  border: 1px solid var(--gold); border-radius: 999px; padding: 8px 18px;
  color: var(--gold-bright) !important; opacity: 1 !important;
}
.nav-cta:hover { background: var(--gold); color: var(--wine-deep) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--gold-bright); transition: .25s; }

/* ---------- Hero poster ---------- */
.hero {
  background:
    radial-gradient(circle at 50% -10%, rgba(200,164,92,.22), transparent 55%),
    linear-gradient(180deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--cream);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.hero::before, .hero::after {
  content: ""; position: absolute; top: 26px; bottom: 26px; width: 2px;
  background: linear-gradient(var(--gold), transparent);
  opacity: .35;
}
.hero::before { left: 26px; }
.hero::after { right: 26px; }
.hero-poster { text-align: center; max-width: 860px; position: relative; }

.eyebrow {
  font-family: var(--serif-2);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: .2em;
  color: var(--gold-bright);
  margin: 0 0 20px;
  text-transform: lowercase;
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); margin-bottom: 14px; }
.ornament .rule { height: 1px; width: min(160px, 26vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament .rule:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
  font-family: var(--serif);
  margin: 6px 0 22px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: .01em;
}
.hero-title .line { display: block; }
.line-sm { font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 600; letter-spacing: .04em; }
.line-amp { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold); font-style: italic; margin: 2px 0; }
.line-lg { font-size: clamp(2.6rem, 8vw, 5rem); text-transform: uppercase; letter-spacing: .02em; }

.hero-text { max-width: 620px; margin: 0 auto 30px; color: rgba(245,239,226,.86); font-size: 1.05rem; }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 56px; border-top: 1px solid rgba(200,164,92,.35);
  border-bottom: 1px solid rgba(200,164,92,.35);
}
.stat { padding: 22px 14px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(200,164,92,.25); }
.stat-title { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-bright); font-weight: 700; }
.stat-text { display: block; font-size: .86rem; color: rgba(245,239,226,.75); margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn-gold { background: var(--gold); color: var(--wine-deep); box-shadow: 0 6px 18px rgba(200,164,92,.28); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--cream); border-color: var(--gold); }
.btn-line:hover { background: rgba(200,164,92,.16); transform: translateY(-2px); }
.btn-wide { width: 100%; padding: 16px; }
.btn-mini {
  padding: 9px 16px; font-size: .72rem; background: transparent;
  color: var(--wine); border: 1px solid var(--gold);
}
.btn-mini:hover { background: var(--wine); color: var(--cream); }

/* on light sections, btn-line becomes ink */
.act .btn-line, .fleet .btn-line { color: var(--wine); }
.act .btn-line:hover { background: rgba(90,26,43,.08); }

/* ---------- Act sections ---------- */
.act, .fleet, .programme, .lead { padding: 84px 0; }
.act { background: var(--paper); }
.act-alt { background: var(--cream-2); }

.act-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.act-label {
  font-family: var(--serif-2); font-style: italic; font-size: 1rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 8px;
}
.act-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 14px; color: var(--wine);
  line-height: 1.05;
}
.act-title::after {
  content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.act-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

.card-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-row-4 { grid-template-columns: repeat(4, 1fr); }

.scene-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 30px 26px; position: relative;
  box-shadow: 0 8px 24px rgba(71,19,31,.06);
  transition: transform .2s, box-shadow .2s;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(71,19,31,.12); }
.scene-no {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--gold); letter-spacing: .1em;
}
.scene-card h3 { font-family: var(--serif); font-weight: 700; color: var(--wine); font-size: 1.35rem; margin: 8px 0 8px; }
.scene-card p { margin: 0; color: var(--muted); }

.act-foot { text-align: center; margin-top: 42px; }

/* ---------- Fleet / cast ---------- */
.fleet { background: var(--wine); color: var(--cream); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.fleet .act-title { color: var(--cream); }
.fleet .act-lead { color: rgba(245,239,226,.78); }
.cast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cast-card {
  background: var(--paper); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--gold);
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  transition: transform .2s;
}
.cast-card:hover { transform: translateY(-6px); }
.cast-photo { aspect-ratio: 4/3; overflow: hidden; background: #d8cfc0; border-bottom: 2px solid var(--gold); }
.cast-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cast-card:hover .cast-photo img { transform: scale(1.05); }
.cast-body { padding: 20px; text-align: center; color: var(--ink); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cast-class {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0; font-weight: 700;
}
.cast-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; margin: 0; color: var(--wine); }
.cast-price { font-family: var(--serif-2); font-size: 1.2rem; color: var(--wine-2); margin: 0 0 12px; font-weight: 600; }
.cast-body .btn-mini { margin-top: auto; }

/* ---------- Programme ---------- */
.programme { background: var(--cream); }
.programme-list {
  list-style: none; margin: 0; padding: 0;
  max-width: 720px; margin: 0 auto;
  counter-reset: prog;
}
.prog-item {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.prog-item:last-child { border-bottom: 0; }
.prog-no {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--wine);
  background: #fff;
}
.prog-item h3 { font-family: var(--serif); color: var(--wine); margin: 6px 0 4px; font-size: 1.3rem; }
.prog-item p { margin: 0; color: var(--muted); }

/* ---------- Lead form ---------- */
.lead { background: var(--paper); }
.lead-wrap { max-width: 760px; }
#leadForm {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 4px; padding: 34px; margin-bottom: 26px;
  box-shadow: 0 14px 40px rgba(71,19,31,.08);
}
.field { margin-bottom: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label {
  display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--wine); margin-bottom: 7px;
}
input, select, textarea {
  width: 100%; padding: 12px 14px; font-family: var(--sans); font-size: .96rem;
  color: var(--ink); background: var(--cream); border: 1px solid var(--line);
  border-radius: 3px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,92,.2); background: #fff;
}
textarea { resize: vertical; }
#formMessage { margin: 14px 0 0; font-weight: 600; min-height: 1.2em; }
#formMessage.is-error { color: #b02a37; }
#formMessage.is-success { color: var(--wine-2); }
#mailLink { display: inline-block; margin-top: 10px; color: var(--wine-2); font-weight: 700; }

.requisites { border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.requisites summary {
  cursor: pointer; padding: 18px 24px; font-family: var(--serif); font-weight: 700;
  font-size: 1.1rem; color: var(--wine); list-style: none; background: var(--cream);
}
.requisites summary::-webkit-details-marker { display: none; }
.requisites summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.3rem; }
.requisites[open] summary::after { content: "–"; }
.req-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
  margin: 0; padding: 8px 24px 22px;
}
.req-grid dt { font-weight: 700; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.req-grid dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-foot { background: var(--wine-deep); color: var(--cream); padding: 44px 0; border-top: 2px solid var(--gold); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: var(--gold-bright); text-decoration: none; font-size: .9rem; }
.foot-links a:hover { text-decoration: underline; }
.foot-note { flex-basis: 100%; margin: 8px 0 0; color: rgba(245,239,226,.6); font-size: .84rem; }

/* ---------- Reveal (curtain) ----------
   Без JS (или если observer не сработал) контент полностью видим:
   скрытое состояние включается только классом js-anim на <html>. */
html.js-anim .reveal {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(18px);
  transition: opacity .7s ease, clip-path .8s cubic-bezier(.16,.84,.44,1), transform .7s ease;
}
html.js-anim .reveal.is-visible { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wine-deep); border-bottom: 2px solid var(--gold);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu a { padding: 15px 24px; border-top: 1px solid rgba(200,164,92,.2); text-align: center; }
  .nav-cta { border: 0; border-radius: 0; }
  .card-row-4 { grid-template-columns: repeat(2, 1fr); }
  .cast { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 68px; }
  .hero::before, .hero::after { display: none; }
  .act, .fleet, .programme, .lead { padding: 56px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(200,164,92,.25); }
  .card-row, .card-row-4, .cast { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .req-grid dt { border-bottom: 0; padding-bottom: 0; }
  .req-grid dd { padding-top: 2px; }
  #leadForm { padding: 22px; }
  .foot-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-anim .reveal { opacity: 1; clip-path: none; transform: none; transition: none; }
  .btn:hover, .scene-card:hover, .cast-card:hover, .cast-card:hover .cast-photo img { transform: none; }
}


/* === Этап 1: фундамент (авто-добавлено) === */
img { height: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  padding: 10px 18px; background: #111; color: #fff; border-radius: 6px;
  font-size: .9rem; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }


/* === Этап 2: функциональность === */

/* --- Кнопка-фото в афише (лайтбокс-триггер) --- */
.cast-photo-btn {
  display: block; width: 100%; height: 100%;
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
}
.cast-photo-btn:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: -3px; }

/* --- Программка автомобиля (модальное окно) --- */
.car-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.car-modal[hidden] { display: none; }
.car-modal-backdrop { position: absolute; inset: 0; background: rgba(42, 18, 24, 0.7); }
.car-modal-card {
  position: relative; z-index: 1;
  width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--cream);
  border: 1px solid var(--gold); border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  animation: car-modal-in .3s ease;
}
@keyframes car-modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.car-modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(42, 18, 24, 0.55); color: var(--gold-bright);
  border: 1px solid var(--gold); border-radius: 50%;
  font-size: 1rem; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s;
}
.car-modal-close:hover { background: var(--gold); color: var(--wine-deep); }
.car-modal-photo { aspect-ratio: 4/3; overflow: hidden; border-bottom: 2px solid var(--gold); background: #d8cfc0; }
.car-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-modal-body { padding: 26px 28px 30px; text-align: center; }
.car-modal-class {
  margin: 0 0 6px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 700;
}
.car-modal-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 4px 0 8px; }
.car-modal-ornament span { height: 1px; width: min(110px, 24vw); background: linear-gradient(90deg, transparent, var(--gold)); }
.car-modal-ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.car-modal-name { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; margin: 0 0 6px; color: var(--cream); }
.car-modal-price { font-family: var(--serif-2); font-size: 1.3rem; font-weight: 600; color: var(--gold-bright); margin: 0 0 20px; }

/* --- Мобильная CTA-полоса --- */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--wine-deep); border-top: 2px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    transition: transform .3s ease, opacity .3s ease;
  }
  .mobile-cta.is-off { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .mobile-cta-btn { width: 100%; padding: 13px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* --- Билетная касса (калькулятор) --- */
.calc { padding: 84px 0; background: var(--cream-2); }
.ticket {
  display: grid; grid-template-columns: 1.4fr 1fr;
  max-width: 780px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--gold); border-radius: 6px;
  box-shadow: 0 14px 40px rgba(71, 19, 31, 0.12);
  position: relative;
}
.ticket-main { padding: 30px 28px; }
.ticket-main .field:last-child { margin-bottom: 0; }
.ticket-stub {
  padding: 30px 26px; text-align: center;
  border-left: 2px dashed var(--gold);
  background:
    radial-gradient(circle at 50% -8%, rgba(200, 164, 92, 0.2), transparent 60%),
    var(--wine);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  border-radius: 0 5px 5px 0;
}
.ticket-label {
  margin: 0; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 700;
}
.ticket-total {
  margin: 0; font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.2rem); color: var(--gold-bright);
}
.ticket-note { margin: 0 0 12px; font-size: .8rem; color: rgba(245, 239, 226, 0.7); }
.stepper { display: flex; align-items: stretch; gap: 8px; }
.stepper input { text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn {
  flex: 0 0 46px; border: 1px solid var(--gold); border-radius: 3px;
  background: #fff; color: var(--wine);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s;
}
.step-btn:hover { background: var(--wine); color: var(--cream); }
@media (max-width: 600px) {
  .calc { padding: 56px 0; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 2px dashed var(--gold); border-radius: 0 0 5px 5px; }
}

/* --- FAQ: из зрительного зала --- */
.faq { padding: 84px 0; background: var(--cream); }
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px; }
.faq-item summary {
  cursor: pointer; padding: 17px 44px 17px 22px; list-style: none; position: relative;
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: var(--wine);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.3rem; font-family: var(--serif-2);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; padding: 16px 22px 20px; color: var(--muted); }
@media (max-width: 600px) {
  .faq { padding: 56px 0; }
}

/* --- Печать реквизитов --- */
.req-print { padding: 0 24px 22px; }
@media print {
  body.print-requisites { background: #fff; padding-bottom: 0; }
  body.print-requisites .playbill-nav,
  body.print-requisites .site-foot,
  body.print-requisites .mobile-cta,
  body.print-requisites .car-modal,
  body.print-requisites .skip-link { display: none !important; }
  body.print-requisites * { visibility: hidden; }
  body.print-requisites .requisites,
  body.print-requisites .requisites * { visibility: visible; }
  body.print-requisites .requisites {
    position: absolute; left: 0; top: 0; width: 100%;
    border: 0; box-shadow: none; background: #fff; color: #000;
  }
  body.print-requisites .requisites summary { background: #fff; color: #000; }
  body.print-requisites .requisites summary::after { content: none; }
  body.print-requisites .req-grid dt,
  body.print-requisites .req-grid dd { color: #000; border-color: #ccc; }
  body.print-requisites .req-print { display: none !important; }
}

/* --- Уважение к prefers-reduced-motion (Этап 2) --- */
@media (prefers-reduced-motion: reduce) {
  .car-modal-card { animation: none; }
  .mobile-cta { transition: none; }
  .step-btn:hover, .car-modal-close:hover { transform: none; }
}


/* === Этап 3: тонировка фото и микро-детали === */
#fleet img, .bnflb__img, .car-modal__img, .lightbox__img {
  filter: sepia(.12) saturate(.96) contrast(1.04);
}
::selection { background: #c8a45c; color: #3d0f1d; }
html { scrollbar-color: #c8a45c #efe6d4; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #efe6d4; }
::-webkit-scrollbar-thumb { background: #c8a45c; border-radius: 6px; border: 2px solid #efe6d4; }

/* === Этап 3: wow === */

.bnf-curtain { position: fixed; top:0; bottom:0; width:51%; z-index: 400; background:
  linear-gradient(90deg, #4a1423, #5a1a2b); pointer-events:none; }
.bnf-curtain--l { left:0; transform-origin:left; animation: gwCurtainL 1.1s .25s cubic-bezier(.7,0,.3,1) both; }
.bnf-curtain--r { right:0; transform-origin:right; animation: gwCurtainR 1.1s .25s cubic-bezier(.7,0,.3,1) both; }
@keyframes gwCurtainL { to { transform: translateX(-101%); } }
@keyframes gwCurtainR { to { transform: translateX(101%); } }
@media (prefers-reduced-motion: reduce) { .bnf-curtain { display:none; } }


/* === Этап 4: отзывы === */
.bnfrev { padding: clamp(48px,6vw,76px) clamp(18px,4vw,48px); }
.bnfrev__wrap { max-width: 1200px; margin: 0 auto; }
.bnfrev__title { margin: 0 0 30px; }
.bnfrev__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bnfrev__item { margin: 0; padding: 24px 24px 20px; border-left: 3px solid #c8a45c; position: relative; }
.bnfrev__item::before { content: "\201C"; position: absolute; top: 6px; right: 16px; font-size: 3rem; line-height: 1; color: #c8a45c; opacity: .35; font-family: Georgia, serif; }
.bnfrev__item blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.bnfrev__item figcaption { font-size: .82rem; opacity: .75; }
.bnfrev__note { margin-top: 16px; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .bnfrev__grid { grid-template-columns: 1fr; } }
.bnfrev__item { background: rgba(0,0,0,.025); }

/* === Этап 4: правки вёрстки === */
.bnfrev__title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; }

/* === Этап 4: тап-таргеты === */
@media (max-width: 900px) {
  nav a, footer a { padding-top: 8px; padding-bottom: 8px; }
}

/* === Этап 4: анти-переполнение v2 === */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
}

/* === Этап 4: форма на мобиле (анти-min-content) === */
@media (max-width: 900px) {
  #lead * { min-width: 0; }
  #lead input, #lead select, #lead textarea { width: 100%; }
  #lead .bnfconsent input[type="checkbox"] { width: 16px; flex: 0 0 auto; }
}

/* === Этап 4: рекламный шоукейс === */
.bnfads { margin: 34px 0 0; }
.bnfads img { width: 100%; height: auto; display: block; border-radius: 6px;
  border: 1px solid #c8a45c; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.bnfads figcaption { margin-top: 10px; font-size: .82rem; opacity: .75;
  padding-left: 12px; border-left: 3px solid #c8a45c; }

/* === Этап 5: согласие ПДн === */
.bnfconsent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem;
  line-height: 1.5; opacity: .9; grid-column: 1 / -1; margin: 4px 0 2px; }
.bnfconsent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto;
  accent-color: #c8a45c; }
.bnfconsent a { text-decoration: underline; }

/* === Этап 6: аудит (доверие, форма, форматы) === */
.bnftrust { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; align-items:center;
  padding:14px 20px; font-size:.82rem; letter-spacing:.02em; opacity:.92;
  border-top:1px solid #c8a45c55; border-bottom:1px solid #c8a45c55; }
.bnftrust span { white-space:nowrap; }
.bnftrust span::before { content:"✓ "; color:#c8a45c; font-weight:700; }
.bnfformats { list-style:none; margin:26px 0 0; padding:0; display:grid;
  grid-template-columns:repeat(6,1fr); gap:10px; }
.bnfformats li { display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:14px 6px; font-size:.78rem; text-align:center; border:1px solid #c8a45c44;
  border-radius:8px; color:inherit; }
.bnfformats svg { color:#c8a45c; }
.bnfmore { grid-column:1/-1; margin:2px 0; }
.bnfmore summary { cursor:pointer; font-size:.85rem; opacity:.8; padding:8px 0; }
.bnfmore summary:hover { opacity:1; }
.bnfmore__grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding-top:12px; }
.bnfnote { grid-column:1/-1; font-size:.8rem; opacity:.65; margin:8px 0 0; line-height:1.5; }
@media (max-width:900px){ .bnfformats { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .bnfmore__grid { grid-template-columns:1fr; } .bnfformats { grid-template-columns:repeat(2,1fr); } }

/* === P1: юрссылки в футере === */
footer a[href^="privacy"], footer a[href^="terms"], footer a[href^="mailto"] {
  opacity: .62; font-size: .86em; }
footer a[href^="privacy"]:hover, footer a[href^="terms"]:hover, footer a[href^="mailto"]:hover { opacity: 1; }

/* === Волна 1: интеграция === */

.bnftrust { font-family: 'Playfair Display', serif; font-style: italic; font-size: .95rem; border-color: rgba(200,164,92,.5); }
.bnftrust span::before { content: ""; } .bnftrust span + span::before { content: "◆  "; color: #c8a45c; font-size: .7em; vertical-align: middle; font-style: normal; }
.bnfformats li { border-color: rgba(200,164,92,.45); border-radius: 2px; }
.bnfformats svg { color: #c8a45c; }
.bnfrev__item blockquote { font-style: italic; }

/* === Волна 3: композиционный ритм === */
/* акт «Парк + Калькулятор»: секции сшиваются */
#fleet:has(+ #calc) { padding-bottom: clamp(14px, 2.2vw, 28px); }
#fleet + #calc { padding-top: clamp(14px, 2.2vw, 28px); }
/* акт «Отзывы + FAQ» */
#reviews:has(+ #faq) { padding-bottom: clamp(16px, 2.4vw, 30px); }
#reviews + #faq { padding-top: clamp(16px, 2.4vw, 30px); }
/* вдох перед актом отзывов */
* + #reviews { margin-top: clamp(8px, 1.6vw, 22px); }
/* сценарии/сравнение прижаты к trust-полосе */
.bnftrust + .bnfscen, .bnftrust + .bnfcompare { padding-top: clamp(18px, 2.6vw, 30px); }

/* === Волна 5: футер-подвал === */
.bnffoot { margin-top: clamp(30px,4vw,54px); padding: clamp(28px,4vw,46px) clamp(20px,4vw,48px) 26px; border-top: 1px solid #c8a45c55; }
.bnffoot__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.bnffoot__brand strong { font-size: 1.15rem; }
.bnffoot__brand p { margin: 8px 0 0; font-size: .85rem; opacity: .7; max-width: 32ch; }
.bnffoot__col { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.bnffoot__col span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.bnffoot__col a { opacity: .85; } .bnffoot__col a:hover { opacity: 1; color: #c8a45c; }
.bnffoot__legal { max-width: 1200px; margin: 26px auto 0; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .bnffoot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bnffoot__grid { grid-template-columns: 1fr; } }
.bnffoot { background: #4a1423; color: #f5efe2; }
.bnffoot__brand strong { font-family: 'Playfair Display', serif; }

/* === Переделка Бенефиса: премьера === */

/* Действие I: разворот фото + сцены */
.act-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 3.5vw, 44px); align-items: start; margin-top: 8px; }
.act-duo__photo { margin: 0; position: relative; }
.act-duo__photo img { width: 100%; height: auto; border: 1px solid var(--gold); outline: 6px solid var(--paper); outline-offset: -7px; box-shadow: 0 18px 44px rgba(90, 26, 43, .18); }
.act-duo__photo figcaption { margin-top: 12px; font-family: var(--serif-2); font-style: italic; font-size: .95rem; color: var(--muted); text-align: center; }
.act-duo__scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.act-duo__scenes .scene-card { margin: 0; }
.act-duo__scenes .scene-card p { font-size: .92rem; line-height: 1.55; }
@media (max-width: 900px) {
  .act-duo { grid-template-columns: 1fr; }
  .act-duo__scenes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .act-duo__scenes { grid-template-columns: 1fr; } }

/* Антракт: бордовая лента чисел */
.antrakt { background: var(--wine-deep); color: var(--cream); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); padding: clamp(30px, 4vw, 46px) 0; }
.antrakt__wrap { text-align: center; }
.antrakt__label { margin: 0 0 20px; font-family: var(--serif-2); font-style: italic; letter-spacing: .34em; text-transform: uppercase; font-size: .8rem; color: var(--gold-bright); }
.antrakt__row { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.antrakt__item dt { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-bright); line-height: 1.1; }
.antrakt__item dd { margin: 6px auto 0; font-size: .84rem; color: rgba(245, 239, 226, .78); max-width: 22ch; }
.antrakt__item + .antrakt__item { border-left: 1px solid rgba(200, 164, 92, .3); }
@media (max-width: 760px) {
  .antrakt__row { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .antrakt__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) {
  .antrakt__row { grid-template-columns: 1fr; }
  .antrakt__item + .antrakt__item { border-left: 0; border-top: 1px solid rgba(200, 164, 92, .3); padding-top: 16px; }
}

/* Отзывы: акт «Аплодисменты» вместо generic-модуля */
.bnfrev { background: var(--cream-2); padding: clamp(48px, 6vw, 76px) clamp(18px, 4vw, 48px); }
.bnfrev .act-head { text-align: center; margin-bottom: 34px; }
.bnfrev .act-head .act-label { font-family: var(--serif-2); font-style: italic; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--gold); margin: 0 0 10px; }
.bnfrev .act-head .act-title { font-family: var(--serif); color: var(--wine); font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 12px; }
.bnfrev .act-head .act-lead { color: var(--muted); margin: 0 auto; max-width: 52ch; }
.bnfrev__item { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); box-shadow: 0 10px 26px rgba(90, 26, 43, .07); }
.bnfrev__item blockquote { font-family: var(--serif-2); font-size: 1.12rem; font-style: italic; color: var(--ink); }
.bnfrev__item figcaption { font-style: normal; letter-spacing: .04em; }
.bnfrev__item::before { color: var(--gold); opacity: .5; }

/* Билет: перфорация между корешком и «итого» */
.ticket-stub { position: relative; }
.ticket-stub::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(245, 239, 226, .55); }
@media (min-width: 761px) {
  .ticket-stub::after { content: ""; position: absolute; left: -10px; top: -10px; bottom: -10px; width: 20px; pointer-events: none;
    background:
      radial-gradient(circle at 50% 10px, var(--cream) 9px, transparent 10px),
      radial-gradient(circle at 50% calc(100% - 10px), var(--cream) 9px, transparent 10px); }
}
@media (max-width: 760px) {
  .ticket-stub::before { left: 12px; right: 12px; top: -1px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(245, 239, 226, .55); }
}

/* Ритм: сшить программу с отзывами и отзывами-FAQ */
.programme { padding-bottom: clamp(20px, 3vw, 36px); }
.programme-list { margin-bottom: 0; }
.bnfrev + .faq { padding-top: clamp(28px, 4vw, 48px); }

/* Футер: звезда бренда */
.bnffoot__star { color: #d9b872; }
.bnffoot__brand strong { font-size: 1.35rem; letter-spacing: .04em; }

/* Согласие ПДн: обычный текст вместо капса глобального label + фикс flex-схлопывания */
.bnfconsent { text-transform: none; letter-spacing: normal; font-weight: 400; }
.bnfconsent span { flex: 1 1 0; min-width: 0; }


/* === Итерация 2: модули === */
/* Футер-программка: две колонки — сцена слева, кулисы справа */
.bnffoot--bill .bnffoot__bill { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.bnffoot--bill .bnffoot__stage strong { font-family: 'Playfair Display', serif; font-size: 1.35rem; }
.bnffoot--bill .bnffoot__stage p { margin: 8px 0 0; font-size: .85rem; opacity: .75; max-width: 40ch; }
.bnffoot--bill .bnffoot__legal { margin-top: 20px; font-size: .74rem; opacity: .5; }
.bnffoot--bill .bnffoot__wings { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; text-align: right; }
.bnffoot--bill .bnffoot__playbill, .bnffoot--bill .bnffoot__paper { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.bnffoot--bill .bnffoot__playbill a { font-size: .9rem; opacity: .85; }
.bnffoot--bill .bnffoot__paper { border-top: 1px solid rgba(200, 164, 92, .4); padding-top: 12px; }
.bnffoot--bill .bnffoot__paper a { font-size: .8rem; opacity: .7; }
.bnffoot--bill a:hover { opacity: 1; color: #c8a45c; }
@media (max-width: 700px) {
  .bnffoot--bill .bnffoot__bill { grid-template-columns: 1fr; }
  .bnffoot--bill .bnffoot__wings { align-items: flex-start; text-align: left; }
  .bnffoot--bill .bnffoot__playbill, .bnffoot--bill .bnffoot__paper { justify-content: flex-start; }
}


/* === Итерация 3: легенда === */
/* «Для бухгалтерии — программка»: театральная программка с пунктами */
.buhbill { padding: clamp(44px, 6vw, 76px) 0; }
.buhbill__card {
  max-width: 760px; margin: 0 auto;
  background: var(--paper);
  border: 3px double var(--gold);
  box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--line);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 56px);
}
.buhbill__cast {
  margin: 0 0 18px; text-align: center;
  font-family: var(--serif-2); font-style: italic;
  font-size: 1.08rem; color: var(--muted);
}
.buhbill__cast::before { content: "★ "; color: var(--gold); font-style: normal; font-size: .78em; }
.buhbill__cast::after { content: " ★"; color: var(--gold); font-style: normal; font-size: .78em; }
.buhbill__list { list-style: none; margin: 0; padding: 0; }
.buhbill__list li {
  display: grid; grid-template-columns: 150px 1fr; gap: 4px 26px;
  align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line);
}
.buhbill__list li:first-child { border-top: 0; }
.buhbill__list span {
  font-family: var(--serif); font-weight: 700; font-size: 1.08rem;
  color: var(--wine); letter-spacing: .02em;
}
.buhbill__list p { margin: 0; font-size: .95rem; color: var(--ink); }
@media (max-width: 900px) {
  .buhbill__card { padding: 24px 18px; }
  .buhbill__list li { grid-template-columns: 1fr; padding: 14px 0; }
}
