:root {
  --bg: #07110f;
  --bg-soft: #0d1b18;
  --surface: #f5f1e9;
  --surface-2: #ebe5da;
  --ink: #13201d;
  --muted: #61706b;
  --white: #ffffff;
  --accent: #b7ff3c;
  --accent-2: #2bd5c4;
  --line: rgba(255, 255, 255, .14);
  --radius: 26px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .24);
  --container: min(1180px, calc(100% - 40px));
}



* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; padding: 12px 18px; background: var(--accent); color: var(--bg); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: var(--white); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(7,17,15,.88); border-color: var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.02em; font-size: 20px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .82; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent); transition: right .25s; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-phone { margin-left: 8px; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05); }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--white); background: var(--bg); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,8,7,.92) 0%, rgba(4,11,10,.68) 52%, rgba(4,11,10,.25) 100%), linear-gradient(0deg, rgba(7,17,15,.8), transparent 46%), url('../img/hero.jpg') center/cover no-repeat; transform: scale(1.035); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 85%); pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(85px); opacity: .42; pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; background: var(--accent-2); left: -240px; bottom: -140px; }
.hero-glow-two { width: 300px; height: 300px; background: var(--accent); right: 2%; top: 12%; opacity: .12; }
.hero-content { position: relative; z-index: 2; padding-block: 150px 100px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 850; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(54px, 9.4vw, 142px); line-height: .83; letter-spacing: -.075em; font-weight: 900; text-wrap: balance; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-subtitle { max-width: 760px; margin: 34px 0 0; color: rgba(255,255,255,.76); font-size: clamp(16px, 2vw, 22px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-weight: 850; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0b160f; box-shadow: 0 10px 32px rgba(183,255,60,.18); }
.button-primary:hover { background: #c8ff6f; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.scroll-hint { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1180px)/2)); bottom: 30px; width: 38px; height: 58px; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 12px; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translate(-50%,0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%,24px); opacity: 0; } }

.section { padding: 110px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 52px; }
.section-heading h2, .contacts h2, .promo h2 { margin: 0; font-size: clamp(42px, 7vw, 88px); line-height: .95; letter-spacing: -.055em; }
.section-heading .section-kicker { margin-bottom: 9px; }
.section-heading-light h2 { color: var(--white); }

.about { background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid rgba(19,32,29,.12); border-radius: var(--radius); background: rgba(255,255,255,.42); transition: transform .25s, background .25s; }
.stat-card:hover { transform: translateY(-5px); background: var(--white); }
.stat-card strong { display: block; font-size: clamp(48px, 6vw, 84px); line-height: .9; letter-spacing: -.07em; }
.stat-card span { max-width: 180px; margin-top: 18px; color: var(--muted); font-weight: 700; }
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin: 90px 0; padding: 50px 0; border-block: 1px solid rgba(19,32,29,.13); }
.about-story h3 { margin: 0; max-width: 520px; font-size: clamp(34px, 4.6vw, 62px); line-height: 1; letter-spacing: -.045em; }
.about-copy { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; }
.about-copy p { margin: 0 0 24px; }
.clients h3 { margin: 0 0 22px; font-size: 26px; }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.client-strip { min-height: 160px; display: grid; place-items: center; padding: 24px; background: var(--white); border-radius: 20px; border: 1px solid rgba(19,32,29,.09); }

.shows, .video-section { color: var(--white); background: var(--bg); }
.show-list { display: grid; gap: 32px; }
.show-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 540px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.show-card-reverse .show-image-wrap { order: 2; }
.show-image-wrap { position: relative; min-height: 420px; overflow: hidden; }
.show-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,17,15,.7), transparent 48%); }
.show-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.show-card:hover .show-image-wrap img { transform: scale(1.045); }
.show-number { position: absolute; z-index: 2; right: 24px; bottom: 18px; color: var(--accent); font-size: 72px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.show-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 68px); }
.show-info h3 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 66px); line-height: .95; letter-spacing: -.05em; }
.show-info p:not(.section-kicker) { margin: 0; color: rgba(255,255,255,.7); font-size: 18px; }
.show-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.show-footer strong { color: var(--accent); font-size: 20px; }
.show-footer a { font-weight: 850; }
.show-footer a span { color: var(--accent); }

.promo { position: relative; padding: 70px 0; color: var(--white); background: linear-gradient(115deg, #123d34, #07110f 70%); overflow: hidden; }
.promo::before { content: "10%"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); color: rgba(183,255,60,.07); font-weight: 900; font-size: 260px; line-height: .7; letter-spacing: -.1em; }
.promo-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.promo h2 { max-width: 900px; font-size: clamp(40px, 6vw, 76px); }
.promo h2 em { color: var(--accent); font-style: normal; }

.portfolio { background: var(--surface); }
.portfolio-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-button { padding: 11px 17px; border: 1px solid rgba(19,32,29,.15); border-radius: 999px; background: transparent; cursor: pointer; font-weight: 750; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; }
.portfolio-item { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #d8d4ca; cursor: zoom-in; }
.portfolio-item:nth-child(9n + 1), .portfolio-item:nth-child(9n + 6) { grid-column: span 2; grid-row: span 2; }
.portfolio-item.is-hidden { display: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.portfolio-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,17,15,.56); opacity: 0; transition: opacity .25s; }
.portfolio-overlay span { color: var(--white); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 9px 16px; font-weight: 800; transform: translateY(8px); transition: transform .25s; }
.portfolio-item:hover img { transform: scale(1.045); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-overlay span { transform: translateY(0); }
.portfolio-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.portfolio-pagination[hidden] { display: none; }
.portfolio-page-button { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 1px solid rgba(19,32,29,.18); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; font-size: 26px; transition: transform .2s, border-color .2s, background .2s, color .2s, opacity .2s; }
.portfolio-page-button:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--ink); color: var(--white); background: var(--ink); }
.portfolio-page-button:disabled { opacity: .28; cursor: default; }
.portfolio-page-status { min-width: 250px; margin: 0; color: rgba(19,32,29,.68); text-align: center; font-size: 14px; font-weight: 750; }
#portfolio-grid { scroll-margin-top: 110px; }

.video-section { background: #050a09; }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.contacts { color: var(--white); background: radial-gradient(circle at 15% 10%, rgba(43,213,196,.18), transparent 30%), var(--bg); }
.contacts-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: start; }
.contacts h2 { max-width: 620px; }
.contacts-lead { max-width: 470px; color: rgba(255,255,255,.62); font-size: 20px; }
.contacts dl { margin: 60px 0 0; display: grid; gap: 26px; }
.contacts dl div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contacts dt { color: rgba(255,255,255,.5); }
.contacts dd { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(26px, 4vw, 48px); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 30px; backdrop-filter: blur(18px); }
.field { display: grid; gap: 9px; }
.field span { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 750; }
.field input, .field select { width: 100%; min-height: 58px; padding: 0 16px; color: var(--white); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.06); outline: none; transition: border-color .2s, background .2s; }
.field select option { color: #101a17; }
.field input:focus, .field select:focus { border-color: var(--accent-2); background: rgba(255,255,255,.09); }
.field input:user-invalid, .field select:user-invalid { border-color: #ff7b7b; }
.form-submit, .form-status { grid-column: 1 / -1; }
.form-submit { border: 0; margin-top: 6px; }
.form-status { min-height: 25px; margin: 0; color: var(--accent); }
.form-status.is-error { color: #ff9a9a; }
.button-loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(7,17,15,.25); border-top-color: #07110f; border-radius: 50%; animation: spin .7s linear infinite; }
.form-submit.is-loading .button-loader { display: block; }
.form-submit.is-loading { pointer-events: none; opacity: .78; }
@keyframes spin { to { transform: rotate(360deg); } }
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.site-footer { padding: 28px 0; color: rgba(255,255,255,.7); background: #030706; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-footer { color: var(--white); }
.brand-footer img { width: 44px; height: 44px; }

.lightbox { width: min(95vw, 1240px); max-width: none; height: min(92vh, 900px); padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: rgba(2,7,6,.98); box-shadow: 0 30px 100px rgba(0,0,0,.7); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(10px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: var(--white); background: rgba(0,0,0,.45); cursor: pointer; backdrop-filter: blur(8px); }
.lightbox-close { top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; font-size: 30px; }
.lightbox-nav { top: 50%; width: 52px; height: 74px; transform: translateY(-50%); border-radius: 16px; font-size: 44px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
cursor: default;

/* ===== Видео-слайдер ===== */

.video-slider {
  width: 100%;
}

.video-slides {
  position: relative;
  width: 100%;
}

.video-slide {
  display: none;
  width: 100%;
  animation: videoFade 0.4s ease;
}

.video-slide.active {
  display: block;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Кружочки */

.video-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.video-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.video-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.video-dot.active {
  background: #fff;
  transform: scale(1.35);
}

@keyframes videoFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .video-frame {
    border-radius: 14px;
  }

  .video-dots {
    margin-top: 16px;
    gap: 9px;
  }
}

@media (max-width: 980px) {
  .header-phone { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 82px 16px auto; display: grid; gap: 0; padding: 14px; background: rgba(7,17,15,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: translateY(-18px); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 16px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .show-card { grid-template-columns: 1fr; }
  .show-card-reverse .show-image-wrap { order: 0; }
  .show-image-wrap { min-height: 500px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 24px, 1180px); --radius: 20px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .main-nav { inset-top: 72px; }
  .hero-content { padding-top: 130px; }
  .hero h1 { font-size: clamp(50px, 17vw, 84px); }
  .hero-subtitle { margin-top: 26px; }
  .button { width: 100%; }
  .scroll-hint { display: none; }
  .section { padding: 78px 0; }
  .section-heading { display: block; margin-bottom: 34px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 170px; }
  .about-story { grid-template-columns: 1fr; gap: 30px; margin: 60px 0; padding: 38px 0; }
  .clients-grid { grid-template-columns: 1fr; }
  .show-card { min-height: 0; border-radius: 24px; }
  .show-image-wrap { min-height: 340px; }
  .show-info { padding: 30px 22px 34px; }
  .show-footer { align-items: flex-start; flex-direction: column; }
  .promo-inner { align-items: flex-start; flex-direction: column; }
  .promo::before { font-size: 150px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 8px; }
  .portfolio-item:nth-child(9n + 1), .portfolio-item:nth-child(9n + 6) { grid-column: span 2; grid-row: span 2; }
  .portfolio-pagination { gap: 10px; margin-top: 26px; }
  .portfolio-page-button { width: 48px; height: 48px; }
  .portfolio-page-status { min-width: 0; max-width: 190px; font-size: 12px; line-height: 1.35; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 16px; }
  .contacts dl div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .lightbox { width: 100vw; height: 100vh; max-height: none; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
