:root {
  --bg: #0a0a0f;
  --bg-card: #14141c;
  --accent: #e50914;        /* кино-красный */
  --accent-hover: #b20710;
  --gold: #d4af37;
  --text: #e8e8ec;
  --muted: #8a8a95;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.btn-hero { display: inline-block; padding: 15px 34px; background: transparent; color: var(--text); border: 1.5px solid var(--muted); border-radius: var(--radius); font-weight: 600; transition: 0.2s; }
.btn-hero:hover { border-color: var(--accent); color: var(--accent); }
.btn-cta { display: inline-block; padding: 15px 36px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius); font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: 0.2s; }
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.section { padding: 75px 0; }
.section.alt { background: var(--bg-card); }
.sec-title { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--white); margin-bottom: 12px; }
.sec-line { display: block; width: 70px; height: 3px; background: var(--accent); margin-top: 12px; }
.sec-sub { color: var(--muted); margin-bottom: 35px; }

/* Header */
.header { background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #22222c; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; flex-wrap: wrap; }
.logo { font-size: 1.35rem; color: var(--text); letter-spacing: -0.5px; }
.logo b { color: var(--accent); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.nav a { font-weight: 500; font-size: 0.93rem; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--accent); color: var(--accent) !important; padding: 8px 16px; border-radius: 8px; }
.nav-cta:hover { background: var(--accent); color: var(--white) !important; }

/* Телефон в шапке */
.header__phone { font-weight: 700; color: var(--text); white-space: nowrap; font-size: 0.98rem; }
.header__phone:hover { color: var(--accent); }

/* Hero — фоновый кадр + затемнение */
.hero {
  position: relative;
  padding: 85px 0;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.9);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.75) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 45px; align-items: start; }
.hero-tag { display: inline-block; color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.4); padding: 7px 15px; border-radius: 40px; font-size: 0.83rem; margin-bottom: 18px; letter-spacing: 1px; }
.hero-text h1 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.15; margin-bottom: 18px; }
.hero-text .hl { color: var(--accent); }
.hero-desc { color: rgba(232, 232, 236, 0.9); font-size: 1.08rem; margin-bottom: 26px; }
.hero-facts { display: flex; gap: 30px; margin-bottom: 28px; flex-wrap: wrap; }
.fact { display: flex; flex-direction: column; }
.fact b { color: var(--accent); font-size: 1.5rem; }
.fact span { color: rgba(232, 232, 236, 0.7); font-size: 0.83rem; }

/* Форма в hero */
.hero-form-box { background: var(--bg-card); border: 1px solid #26262f; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.hf-title { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.hf-sub { color: var(--muted); font-size: 0.88rem; margin: 5px 0 18px; }
.hf-form { display: flex; flex-direction: column; gap: 12px; }
.hf-form input, .hf-form textarea {
  width: 100%; padding: 14px; border: 1.5px solid #2a2a35; border-radius: 8px;
  font-size: 1rem; font-family: inherit; resize: vertical;
  background: #0f0f16; color: var(--text);
}
.hf-form input:focus, .hf-form textarea:focus { outline: none; border-color: var(--accent); }
.hf-form textarea { min-height: 70px; }
.hf-phone { margin-top: 14px; margin-bottom: 0; text-align: center; color: var(--muted); font-size: 0.92rem; }
.hf-phone a { color: var(--accent); font-weight: 700; }

/* Направления */
.cat { background: var(--bg-card); border: 1px solid #26262f; border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; transition: 0.2s; }
.cat:hover { border-color: var(--accent); }
.cat-title { color: var(--white); font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.cat-items { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }

/* Works */
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 30px; }
.work { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid #26262f; }
.work img { width: 100%; height: 210px; object-fit: cover; filter: saturate(0.9); transition: 0.3s; }
.work:hover img { filter: saturate(1.1); }
.work figcaption { padding: 13px 16px; font-weight: 600; color: var(--text); }

/* Crew */
.crew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 30px; }
.crew-card { background: var(--bg-card); border: 1px solid #26262f; border-radius: var(--radius); padding: 24px; text-align: left; transition: 0.2s; }
.crew-card:hover { border-color: var(--accent); }
.crew-ico { font-size: 1.9rem; margin-bottom: 12px; }
.crew-card b { display: block; color: var(--white); margin-bottom: 6px; }
.crew-card span { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* Steps */
.steps-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 35px; }
.step-box { flex: 1; min-width: 220px; max-width: 250px; padding: 24px; background: var(--bg-card); border: 1px solid #26262f; border-radius: var(--radius); text-align: left; }
.step-box span { display: inline-block; font-size: 1.1rem; color: var(--gold); font-weight: 800; margin-bottom: 10px; letter-spacing: 2px; }
.step-box b { display: block; color: var(--white); margin-bottom: 6px; }
.step-box { color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq-list { max-width: 750px; margin: 0 auto; text-align: left; }
.faq-list details { background: var(--bg-card); border: 1px solid #26262f; border-radius: var(--radius); margin-bottom: 12px; }
.faq-list summary { padding: 17px 52px 17px 20px; font-weight: 600; cursor: pointer; list-style: none; position: relative; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); font-weight: 700; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 20px 17px; color: var(--muted); font-size: 0.94rem; }

/* CTA */
.cta-box { background: var(--bg-card); border: 1px solid #26262f; border-radius: var(--radius); padding: 45px 30px; }
.cta-box h2 { color: var(--white); margin-bottom: 10px; font-size: 1.7rem; }
.cta-sub { color: var(--muted); margin-bottom: 25px; }
.cta-phone { margin-top: 18px; color: var(--muted); }
.cta-phone a { color: var(--accent); font-weight: 700; }

/* Footer */
.footer { background: #060609; color: var(--muted); padding: 35px 0; text-align: center; font-size: 0.9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.footer a { color: var(--accent); font-weight: 600; }
.footer-disclaimer { width: 100%; max-width: 720px; margin: 0 auto; font-size: 0.75rem; color: #55555f; line-height: 1.5; }

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

/* Согласие (тёмная форма) */
.consent {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.78rem; color: var(--muted);
  text-align: left; line-height: 1.4;
  cursor: pointer; user-select: none;
}
.consent input[type="checkbox"] {
  width: auto !important; min-width: 16px; margin-top: 2px;
  padding: 0; cursor: pointer; accent-color: var(--accent);
}
.consent a { color: var(--accent); text-decoration: underline; }

/* Form status */
.form-status { min-height: 20px; font-weight: 600; text-align: center; }

/* Адаптив */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .header__inner { justify-content: center; }
  .hero { padding: 60px 0; }
}
@media (max-width: 480px) {
  .work img { height: 170px; }
  .crew-card { padding: 18px; }
}