:root {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --ink: #1a1f2e;
  --ink-muted: #5c6478;
  --accent: #0164fd;
  --accent-hover: #004ee0;
  --accent-soft: rgba(1, 100, 253, 0.1);
  --brand-royal: #0164fd;
  --brand-accent: #e64545;
  --hero-cta-bg: #0164fd;
  --hero-cta-bg-hover: #004ee0;
  --hero-cta-fg: #ffffff;
  --line: rgba(26, 31, 46, 0.08);
  --shadow: 0 12px 40px rgba(26, 31, 46, 0.06);
  --radius: 12px;
  --radius-pill: 999px;
  --font: "Geologica", system-ui, sans-serif;
  --container: 1200px;
  --header-top-h: 58px;
  --header-nav-h: 46px;
  --header-h: calc(var(--header-top-h) + var(--header-nav-h));
  --header-compact-h: 48px;
  --header-dark: #141820;
  --header-dark-2: #0f1219;
  --header-bg: #ffffff;
  --header-fg: #231f20;
  --header-fg-muted: rgba(35, 31, 32, 0.62);
  --header-fg-soft: rgba(35, 31, 32, 0.82);
  --header-divider: rgba(26, 31, 46, 0.1);
  --header-hover-bg: rgba(26, 31, 46, 0.05);
}

[data-theme="night"] {
  --bg: #0f1219;
  --bg-elevated: #171b26;
  --ink: #ffffff;
  --ink-muted: #ffffff;
  --accent: #0164fd;
  --accent-hover: #3d86ff;
  --accent-soft: rgba(1, 100, 253, 0.16);
  --line: rgba(238, 241, 248, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --header-bg: #141820;
  --header-fg: #eef1f8;
  --header-fg-muted: rgba(238, 241, 248, 0.55);
  --header-fg-soft: rgba(238, 241, 248, 0.82);
  --header-divider: rgba(255, 255, 255, 0.12);
  --header-hover-bg: rgba(255, 255, 255, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font: 400 16px/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, button, summary, [role="button"], .btn {
  -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus, summary:focus, [role="button"]:focus {
  outline: none;
}
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 2rem)); margin-inline: auto; }
.lead { font-size: 1.05rem; color: var(--ink-muted); max-width: 52ch; margin: 0 0 1.25rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: var(--radius-pill);
  font: 500 0.95rem var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--secondary {
  background: transparent;
  border-color: rgba(26, 31, 46, 0.32);
  color: var(--ink);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="night"] .btn--secondary {
  border-color: rgba(255, 255, 255, 0.38);
}
.btn--sm { min-height: 40px; padding-inline: 1rem; font-size: 0.88rem; }
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  min-height: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}
.btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Единое белое полотно + тонкий разделитель между крупными секциями. */
:root {
  --section-rule-accent: 56px;
}
@media (max-width: 640px) {
  :root { --section-rule-accent: 36px; }
}
.content-section {
  position: relative;
  background: var(--bg);
  --section-rule-cap: 0;
}
/* Rhythm: left, left, right, center diamond. Hero is usually section 1. */
section.content-section:nth-of-type(4n) {
  --section-rule-cap: 100%;
}
.page-hero + .content-section::before,
.zh-hero + .content-section::before,
.content-section + .content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 2rem));
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) var(--section-rule-cap) 50% / var(--section-rule-accent) 2px no-repeat,
    linear-gradient(color-mix(in srgb, var(--ink) 10%, transparent), color-mix(in srgb, var(--ink) 10%, transparent)) 0 50% / 100% 1px no-repeat;
}
.page-hero + .content-section:nth-of-type(4n+1)::before,
.zh-hero + .content-section:nth-of-type(4n+1)::before,
.content-section + .content-section:nth-of-type(4n+1)::before {
  height: 1px;
  background:
    linear-gradient(color-mix(in srgb, var(--ink) 10%, transparent), color-mix(in srgb, var(--ink) 10%, transparent)) 0 50% / calc(50% - 14px) 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--ink) 10%, transparent), color-mix(in srgb, var(--ink) 10%, transparent)) 100% 50% / calc(50% - 14px) 1px no-repeat;
}
.page-hero + .content-section:nth-of-type(4n+1)::after,
.zh-hero + .content-section:nth-of-type(4n+1)::after,
.content-section + .content-section:nth-of-type(4n+1)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--accent);
  border-radius: 1px;
  pointer-events: none;
}
.section__head { margin-bottom: 2rem; }
.section__head h2, .section h2, .page-hero h1, .hero h1 {
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1, .page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split--reverse .split__copy { order: 2; }
.split--reverse .split__media { order: 1; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media--cutout { background: transparent; }
.split__media--cutout img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Header — two tiers (Azhur-style) */
.header--tiered {
  position: relative;
  z-index: 100;
  color: var(--header-fg);
}
.header__shell {
  background: var(--header-bg);
  border-bottom: none;
  transition: background 0.25s;
  overflow: visible;
}
.header__container {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.header__top-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-top-h);
  border-bottom: none;
}
.header__nav-inner {
  min-height: var(--header-nav-h);
  display: flex;
  align-items: center;
  padding-bottom: 0.2rem;
  border-top: none;
  overflow: visible;
}
.header__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
  padding-inline: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--header-fg-muted);
}
.header__address,
.header__email {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__address {
  white-space: normal;
  max-width: 20rem;
}
.header__email {
  white-space: nowrap;
}
.header__email:hover { color: var(--accent); }
.header__measure {
  flex-shrink: 0;
}
.header .btn--outline {
  border-color: color-mix(in srgb, var(--header-fg) 35%, transparent);
  color: var(--header-fg);
}
.header .btn--outline:hover {
  background: var(--header-hover-bg);
  border-color: var(--header-fg);
  color: var(--header-fg);
}
.header__top-inner:not(:has(.header__meta)) .header__phone-block {
  margin-left: auto;
}
.header__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.header__social-btn {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.header__social-btn:hover { transform: translateY(-1px); }
.header__social-btn img { width: 100%; height: 100%; object-fit: cover; }
.header__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  padding-left: 0.85rem;
  border-left: 1px solid var(--header-divider);
}
.header__phone-number {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--accent);
  white-space: nowrap;
}
[data-theme="night"] .header__phone-number {
  color: var(--brand-royal);
}
.header__phone-label {
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: var(--header-fg-muted);
  white-space: nowrap;
}
.header__phone-block:hover .header__phone-number { color: var(--accent-hover); }

.logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.logo__img { height: auto; width: auto; display: block; }
.logo__img--header { height: 34px; width: auto; max-width: min(200px, 34vw); }
.logo__img--header.logo__img--night { display: none; }
[data-theme="night"] .logo__img--header.logo__img--day { display: none; }
[data-theme="night"] .logo__img--header.logo__img--night { display: block; }
.logo__img--footer { height: 40px; width: auto; max-width: 220px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}
.nav--main {
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.4vw, 1.75rem);
  flex-wrap: nowrap;
}
.nav--main .nav__dropdown,
.nav--main > .nav__link {
  flex: 0 1 auto;
}
.nav--main .nav__link {
  padding-inline: 0.1rem;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
}
.nav__link {
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--header-fg-soft);
  border-radius: 6px;
  white-space: nowrap;
}
.nav__link:hover { color: var(--header-fg); background: var(--header-hover-bg); }
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger { display: flex; align-items: center; }
.nav__sub-toggle {
  border: none;
  background: transparent;
  color: var(--header-fg-muted);
  padding: 0.35rem;
  cursor: pointer;
  border-radius: 6px;
}
.nav__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem;
  padding-top: 0.65rem;
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 50;
}
@media (min-width: 1025px) {
  .nav__dropdown:hover > .nav__panel,
  .nav__dropdown:focus-within > .nav__panel,
  .nav__dropdown.is-open > .nav__panel {
    display: block;
  }
}
.nav__panel--mega {
  width: max-content;
  max-width: min(720px, calc(100vw - 2rem));
  padding: 1.25rem;
}
.nav__panel--drop { list-style: none; margin: 0; padding: 0.5rem; }
.nav__panel--drop a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink);
  text-transform: none;
}
.nav__panel--drop a:hover { background: var(--accent-soft); color: var(--accent); }

.nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, max-content));
  column-gap: 1rem;
  row-gap: 0.75rem;
  justify-content: start;
}
.nav__mega-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav__mega-list { list-style: none; margin: 0; padding: 0; }
.nav__mega-list a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--ink);
  text-transform: none;
}
.nav__mega-list a:hover { color: var(--accent); }
.nav__mega-promo {
  grid-column: 1 / -1;
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--accent-soft);
}
.nav__mega-promo-title { margin: 0 0 0.35rem; font-weight: 600; color: var(--ink); }
.nav__mega-promo-text { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--ink-muted); }

.theme-toggle--header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--header-divider);
  background: #ffffff;
  color: var(--header-fg-soft);
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
}
[data-theme="night"] .theme-toggle--header { color: #231f20; }
[data-theme="night"] .theme-toggle__day { display: none; }
[data-theme="day"] .theme-toggle__night { display: none; }

/* Compact scroll header — inverted theme (dark bar in day, light bar in night) */
.header-compact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--header-compact-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(-105%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s, background 0.25s, color 0.25s, box-shadow 0.25s;
  overflow: visible;
  color: #eef1f8;
  background: rgba(20, 24, 32, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
[data-theme="night"] .header-compact {
  color: #231f20;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(26, 31, 46, 0.08);
}
.header-compact.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-compact .container {
  width: min(var(--container), calc(100% - 1rem));
}
.header-compact__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--header-compact-h);
}
.header-compact__logo {
  flex-shrink: 0;
}
.header-compact__logo .logo__img--header {
  height: 26px;
  max-width: min(160px, 22vw);
}
.header-compact__logo .logo__img--compact-light-bar { display: none; }
[data-theme="night"] .header-compact__logo .logo__img--compact-dark-bar { display: none; }
[data-theme="night"] .header-compact__logo .logo__img--compact-light-bar { display: block; }
.header-compact__nav {
  min-width: 0;
  display: flex;
  justify-content: center;
}
.header-compact__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}
.header-compact__nav .nav--compact {
  width: auto;
  max-width: 100%;
  justify-content: center;
  gap: clamp(0.15rem, 0.9vw, 0.85rem);
  flex-wrap: nowrap;
}
.header-compact__nav .nav--compact .nav__link {
  padding: 0.3rem 0.35rem;
  font-size: clamp(0.74rem, 0.88vw, 0.84rem);
  letter-spacing: 0.02em;
  color: rgba(238, 241, 248, 0.88);
}
.header-compact__nav .nav--compact .nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.header-compact__nav .nav--compact .nav__sub-toggle {
  color: rgba(238, 241, 248, 0.55);
}
[data-theme="night"] .header-compact__nav .nav--compact .nav__link {
  color: rgba(35, 31, 32, 0.82);
}
[data-theme="night"] .header-compact__nav .nav--compact .nav__link:hover {
  color: #231f20;
  background: rgba(26, 31, 46, 0.06);
}
[data-theme="night"] .header-compact__nav .nav--compact .nav__sub-toggle {
  color: rgba(35, 31, 32, 0.55);
}
.header-compact__nav .nav__dropdown {
  position: relative;
}
.header-compact .nav__panel {
  z-index: 120;
}
.header-compact__phone {
  flex-shrink: 0;
  font-weight: 700;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.header-compact__phone:hover { color: var(--accent-hover); }
[data-theme="night"] .header-compact__phone {
  color: var(--brand-royal);
}
.theme-toggle--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #eef1f8;
  cursor: pointer;
  font-size: 0.85rem;
  flex-shrink: 0;
}
[data-theme="night"] .theme-toggle--compact {
  border-color: rgba(26, 31, 46, 0.15);
  background: #fff;
  color: #231f20;
}
.burger--compact {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--brand-royal);
}
[data-theme="night"] .header-compact .burger--compact {
  color: var(--brand-royal);
  border: 0;
}

@media (min-width: 1025px) {
  .header-compact .container {
    width: min(var(--container), calc(100% - 0.75rem));
  }
  .header-compact__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(0.65rem, 1.2vw, 1.25rem);
    align-items: center;
  }
  .header-compact__logo {
    grid-column: 1;
    position: static;
    z-index: auto;
  }
  .header-compact__nav {
    grid-column: 2;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    z-index: auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    justify-self: center;
    pointer-events: auto;
    padding-inline: clamp(0.25rem, 0.8vw, 0.75rem);
  }
  .header-compact__nav .nav--compact {
    pointer-events: auto;
    max-width: 100%;
  }
  .header-compact__actions {
    grid-column: 3;
    position: static;
    z-index: auto;
    margin-left: 0;
    padding-left: 0;
  }
  .header-compact__nav .nav--compact {
    gap: clamp(0.12rem, 0.45vw, 0.55rem);
  }
  .header-compact__nav .nav--compact .nav__link {
    padding: 0.28rem 0.2rem;
    font-size: clamp(0.72rem, 0.78vw, 0.82rem);
  }
  .header-compact__nav .nav--compact .nav__sub-toggle {
    padding: 0.2rem;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .header-compact__nav .nav--compact .nav__link {
    padding: 0.26rem 0.14rem;
    font-size: clamp(0.68rem, 0.72vw, 0.76rem);
    letter-spacing: 0.015em;
  }
  .header-compact__nav .nav--compact {
    gap: clamp(0.08rem, 0.28vw, 0.32rem);
  }
  .header-compact__phone {
    font-size: 0.88rem;
  }
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--brand-royal);
  -webkit-appearance: none;
  appearance: none;
}
.burger__icon {
  display: block;
  width: 22px;
  height: 16px;
  pointer-events: none;
}
.header-compact .burger.burger--compact {
  border: 0;
  color: var(--brand-royal);
}
[data-theme="night"] .header-compact .burger.burger--compact {
  border: 0;
  color: var(--brand-royal);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--header-bg);
  color: var(--header-fg);
  z-index: 90;
  overflow: auto;
  border-top: 1px solid var(--header-divider);
  transition: background 0.25s, color 0.25s;
}
.mobile-nav__inner {
  width: min(var(--container), calc(100% - 0.5rem));
  margin-inline: auto;
  padding: 1rem 0.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.mobile-nav__inner > a,
.mobile-nav__group summary {
  padding: 0.68rem 0.25rem;
  font-weight: 550;
  font-size: 1.12rem;
  border-bottom: 1px solid var(--header-divider);
}
.mobile-nav__links { padding: 0.45rem 0 0.65rem 0.65rem; display: flex; flex-direction: column; gap: 0.32rem; }
.mobile-nav__links a {
  font-size: 1rem;
  font-weight: 550;
  color: var(--header-fg);
}
.mobile-nav__links a:hover { color: var(--brand-royal); }
.mobile-nav__messengers {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 0.75rem 0.35rem 0;
  border-top: 1px solid var(--header-divider);
}
.mobile-nav__social-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.mobile-nav__social-btn img { width: 100%; height: 100%; object-fit: cover; }
.mobile-nav__phone { margin-top: 0.85rem; padding: 0 0.25rem; font-weight: 600; font-size: 1.12rem; color: var(--accent); }
.mobile-nav__address { margin: 0.35rem 0 0; padding: 0 0.25rem; font-size: 0.92rem; color: var(--muted); }
[data-theme="night"] .mobile-nav__phone { color: var(--brand-royal); }

/* Hero */
.hero--cinema {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: max(620px, calc(100vh - var(--header-h)));
  min-height: max(620px, calc(100dvh - var(--header-h)));
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  transition: opacity 0.45s ease;
}
.hero__bg-img--night {
  opacity: 0;
}
[data-theme="night"] .hero__bg-img--day {
  opacity: 0;
}
[data-theme="night"] .hero__bg-img--night {
  opacity: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.85) 0%, rgba(10, 12, 18, 0.65) 42%, rgba(10, 12, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.08) 0%, rgba(10, 12, 18, 0.48) 100%);
}
[data-theme="night"] .hero__overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.78) 0%, rgba(10, 12, 18, 0.58) 42%, rgba(10, 12, 18, 0.21) 100%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.01) 0%, rgba(10, 12, 18, 0.41) 100%);
}
.hero--cinema .hero__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  text-align: left;
}
.hero--home .hero__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 26ch;
}
.hero__title-line {
  display: block;
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  max-width: 26ch;
}
.hero__title-line--products {
  max-width: none;
}
@media (min-width: 900px) {
  .hero__title-line--products { white-space: nowrap; }
}
.hero--cinema .hero__title-geo {
  display: inline-block;
  width: fit-content;
  margin-top: 0.65rem;
  padding: 0.4em 1em;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-accent);
  border-radius: var(--radius-pill);
  line-height: 1.15;
}
.hero--cinema .hero__subtitle {
  margin: 0 0 1.75rem;
  max-width: 32ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  text-transform: none;
}
.hero--cinema .hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 520px;
}
.hero--cinema .hero__fact {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.hero--cinema .hero__fact-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}
.hero--cinema .hero__fact-text {
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}
.hero--cinema .hero__fact-text strong {
  font-weight: 600;
  color: #fff;
}
.hero--cinema .hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}
.twogis-rating--hero {
  flex: 0 0 150px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.hero--cinema .hero__actions .btn--primary {
  background: var(--hero-cta-bg);
  color: var(--hero-cta-fg);
  border-color: transparent;
}
.hero--cinema .hero__actions .btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero__btn-text {
  position: relative;
  z-index: 1;
}
.hero__btn-text--fill {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  clip-path: inset(0 100% 0 0);
}

@media (min-width: 769px) {
  .hero--cinema .hero__actions .hero__btn-unfill,
  .hero--cinema .hero__actions .hero__btn-fill {
    --hero-btn-fill-duration: 0.85s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
    transition: border-color 0.45s ease;
    transform: none;
  }
  .hero--cinema .hero__actions .hero__btn-unfill {
    border-color: transparent;
    color: #fff;
  }
  .hero--cinema .hero__actions .hero__btn-unfill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-cta-bg);
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform var(--hero-btn-fill-duration) ease;
    z-index: 0;
  }
  .hero--cinema .hero__actions .hero__btn-unfill:hover,
  .hero--cinema .hero__actions .hero__btn-unfill:focus-visible {
    border-color: #fff;
    background: transparent;
    color: #fff;
    transform: none;
  }
  .hero--cinema .hero__actions .hero__btn-unfill:hover::before,
  .hero--cinema .hero__actions .hero__btn-unfill:focus-visible::before {
    transform: scaleX(0);
  }
  .hero--cinema .hero__actions .hero__btn-fill {
    border-color: rgba(255, 255, 255, 0.35);
  }
  .hero--cinema .hero__actions .hero__btn-fill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--hero-btn-fill-duration) ease;
    z-index: 0;
  }
  .hero--cinema .hero__actions .hero__btn-fill .hero__btn-text--fill {
    transition: clip-path var(--hero-btn-fill-duration) ease;
  }
  .hero--cinema .hero__actions .hero__btn-fill:hover,
  .hero--cinema .hero__actions .hero__btn-fill:focus-visible {
    border-color: var(--brand-accent);
    background: transparent;
  }
  .hero--cinema .hero__actions .hero__btn-fill:hover::before,
  .hero--cinema .hero__actions .hero__btn-fill:focus-visible::before {
    transform: scaleX(1);
  }
  .hero--cinema .hero__actions .hero__btn-fill:hover .hero__btn-text--fill,
  .hero--cinema .hero__actions .hero__btn-fill:focus-visible .hero__btn-text--fill {
    clip-path: inset(0 0 0 0);
  }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  .hero--cinema .hero__actions .hero__btn-unfill,
  .hero--cinema .hero__actions .hero__btn-fill {
    --hero-btn-fill-duration: 0.01ms;
  }
  .hero--cinema .hero__actions .hero__btn-unfill::before,
  .hero--cinema .hero__actions .hero__btn-fill::before,
  .hero--cinema .hero__actions .hero__btn-fill .hero__btn-text--fill {
    transition: none;
  }
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero__social {
  display: none;
}
@media (max-width: 1024px) {
  .hero__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    padding: 1.1rem 1rem 0;
  }
  .hero__social-btn {
    width: 58px;
    height: 58px;
  }
  .hero__social + .section--services {
    padding-top: 1.1rem;
  }
}
.hero--cinema .hero__tagline {
  margin: 1rem 0 0;
  padding: 0.9rem 1.25rem;
  max-width: max-content;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hero-cta-fg);
  background: var(--hero-cta-bg);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  padding-right: 1.75rem;
}

.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero--home:not(.hero--cinema) {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero__shell { max-width: 820px; }
.hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__title {
  margin: 0 0 1.75rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero__title-geo {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: -0.02em;
}
.hero__subtitle {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.hero__deck {
  margin: 0 0 2rem;
  max-width: 36ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  max-width: 560px;
}
.hero__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.hero__fact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}
.hero__fact-text {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-muted);
}
.hero__fact-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__tagline {
  margin: 1.75rem 0 0;
  padding: 0.85rem 1.15rem;
  max-width: max-content;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--hero-cta-fg);
  background: var(--hero-cta-bg);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  padding-right: 1.5rem;
}

.hero__grid, .page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero__actions, .page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero--home .hero__actions { margin-bottom: 0; }
.hero__media img, .page-hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__stats strong { display: block; font-size: 1.1rem; }
.hero__stats span { font-size: 0.85rem; color: var(--ink-muted); }

.page-hero { padding: clamp(2rem, 4vw, 3rem) 0 1rem; }
.page-hero--calc { text-align: center; }
.page-hero--calc .lead { margin-inline: auto; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card--link:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(1, 100, 253, 0.12); }
.card__img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card__body { padding: 1.1rem 1.25rem 1.35rem; }
.card__body h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.card__body p { margin: 0 0 0.75rem; font-size: 0.92rem; color: var(--ink-muted); }
.card__more { font-size: 0.88rem; font-weight: 500; color: var(--accent); }

/* Home — «Чем занимаемся» bento block */
.section--services {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--bg);
}
[data-theme="night"] .section--services {
  background: var(--bg);
}
.services__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}
.services__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.services__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-royal);
  box-shadow: 0 0 10px rgba(1, 100, 253, 0.55);
}
.services__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.services__title-line {
  display: block;
  color: var(--ink);
}
.services__brand {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand-royal);
}
[data-theme="night"] .services__brand {
  color: var(--brand-royal);
}
.services__lead {
  margin: 0 0 0.85rem;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.services__note {
  margin: 0 0 1.35rem;
  max-width: 36ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
[data-theme="night"] .services__note {
  opacity: 1;
}
.services__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.services__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}
.services__stats li {
  display: grid;
  gap: 0.15rem;
}
.services__stats strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand-royal);
}
[data-theme="night"] .services__stats strong { color: var(--brand-royal); }
.services__stats span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 0.85rem;
  min-height: 420px;
  perspective: 1800px;
}
.service-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  --beam-angle: 0deg;
  --card-accent: var(--brand-royal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-elevated);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:nth-child(2) { --card-accent: var(--brand-royal); }
.service-card:nth-child(3) { --card-accent: var(--brand-royal); }
.service-card:nth-child(4) { --card-accent: var(--brand-royal); }
.service-card:nth-child(5) { --card-accent: var(--brand-royal); }
.service-card--featured {
  grid-row: 1 / 3;
  grid-column: 1;
  min-height: 100%;
  border-color: rgba(1, 100, 253, 0.28);
  box-shadow: 0 16px 36px rgba(1, 100, 253, 0.1);
}
@media (min-width: 1101px) {
  .service-card--featured .service-card__img {
    object-position: 50% center;
  }
}
.service-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.service-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.service-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.service-card:nth-child(5) { grid-column: 3; grid-row: 2; }
.service-card--full {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: clamp(220px, 28vw, 320px);
  margin-top: 0.85rem;
  padding: 0;
}
.service-card--full .service-card__glare,
.service-card--full .service-card__shade,
.service-card--full::before {
  grid-column: unset;
  grid-row: unset;
}
.service-card--full .service-card__body {
  position: relative;
  align-self: flex-start;
  max-width: min(52ch, 58%);
  padding: 1.25rem 1.35rem;
  z-index: 4;
}
.service-card--full .service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.service-card--wide.service-card--full {
  display: flex;
  grid-template-columns: unset;
  min-height: clamp(220px, 28vw, 320px);
}
.service-card--wide.service-card--full .service-card__glare,
.service-card--wide.service-card--full .service-card__shade,
.service-card--wide.service-card--full::before {
  grid-column: unset;
  grid-row: unset;
}
.service-card--wide.service-card--full .service-card__num {
  position: absolute;
  grid-column: unset;
  grid-row: unset;
}
.service-card--wide.service-card--full .service-card__body {
  position: relative;
  grid-column: unset;
  grid-row: unset;
  align-self: center;
  max-width: min(52ch, 58%);
}
.service-card--wide.service-card--full .service-card__img {
  position: absolute;
  inset: 0;
  grid-column: unset;
  grid-row: unset;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.service-card--wide.service-card--full .service-card__shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.92) 0%, rgba(8, 10, 16, 0.62) 38%, rgba(8, 10, 16, 0.18) 72%, rgba(8, 10, 16, 0.08) 100%);
}
.service-card--wide.service-card--full .service-card__body {
  gap: 0.28rem;
}
.service-card--wide.service-card--full .service-card__title {
  font-size: 1.456rem;
}
.service-card--wide.service-card--full .service-card__text {
  font-size: 1.066rem;
}
.service-card--wide.service-card--full .service-card__list {
  gap: 0.15rem;
  margin-top: 0.15rem;
}
.service-card--wide.service-card--full .service-card__list li {
  font-size: 0.962rem;
}
.service-card--wide.service-card--full .service-card__list li::before {
  width: 5px;
  height: 5px;
}
.service-card--wide.service-card--full .service-card__more {
  font-size: 1.04rem;
  margin-top: 0.25rem;
}
.service-card--wide {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: 180px;
  padding: 0;
}
.service-card--wide .service-card__glare,
.service-card--wide .service-card__shade,
.service-card--wide::before {
  grid-column: 1 / -1;
  grid-row: 1;
}
.service-card--wide .service-card__num {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.service-card--wide .service-card__body {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 1.25rem 1.35rem;
  z-index: 4;
}
.service-card--wide .service-card__img {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 180px;
  z-index: 0;
}
.service-card__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), transparent 44%);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 6;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    var(--card-accent) 60deg,
    #2f7cff 140deg,
    var(--card-accent) 220deg,
    transparent 300deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.service-card.is-tilted {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 32px rgba(1, 100, 253, 0.28);
}
.service-card.is-tilted .service-card__glare,
.service-card.is-tilted::before,
.service-card:focus-visible .service-card__glare,
.service-card:focus-visible::before {
  opacity: 1;
}
.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.35s ease-out;
  transform: translateZ(0);
}
.service-card.is-tilted .service-card__img {
  transform: translateZ(10px) scale(1.025);
}
.service-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 10, 16, 0.08) 0%, rgba(8, 10, 16, 0.55) 48%, rgba(8, 10, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 10, 16, 0.35) 0%, transparent 55%);
}
.service-card--wide .service-card__shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.92) 0%, rgba(8, 10, 16, 0.55) 42%, rgba(8, 10, 16, 0.2) 100%);
}
.service-card__num {
  position: absolute;
  top: auto;
  left: auto;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 4;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.service-card__body {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 0.35rem;
  transform: translateZ(12px);
  padding-right: 2.5rem;
}
.service-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}
.service-card--featured .service-card__title { font-size: 1.25rem; }
.service-card__title-mark {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 0.34em 0.78em;
  border-radius: var(--radius-pill);
  background: var(--brand-royal);
  color: #fff;
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  vertical-align: top;
}
.service-card--featured .service-card__title-mark {
  font-size: 0.95em;
  padding: 0.38em 0.85em;
}
.service-card__title-mark--compact,
.service-card:nth-child(3) .service-card__title-mark {
  font-size: 0.74rem;
  padding: 0.3em 0.58em;
  white-space: nowrap;
  max-width: none;
  letter-spacing: 0;
}
.service-card__title-mark--red {
  background: var(--brand-accent);
}
.service-card--accent-red {
  --card-accent: #e64545;
}
.service-card--accent-red.is-tilted {
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 32px rgba(230, 69, 69, 0.28);
}
.service-card__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fff;
}
.service-card--featured .service-card__text { font-size: 0.88rem; }
.service-card__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}
.service-card__list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #fff;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-royal);
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-royal);
}
[data-theme="night"] .service-card__more { color: var(--brand-royal); }
.service-card__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.service-card.is-tilted .service-card__arrow,
.service-card:hover .service-card__arrow { transform: translateX(3px); }

.services__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.75rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}
[data-theme="night"] .services__bar {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.services__bar-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.services__bar-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.services__bar-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
}
.services__bar-icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}
.services__bar-list li > div {
  display: grid;
  gap: 0.15rem;
}
.services__bar-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.services__bar-list span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-muted);
}
.services__badge {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}
[data-theme="night"] .services__badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.services__badge-img {
  width: 58px;
  height: auto;
}
.services__badge-img--night { display: none; }
[data-theme="night"] .services__badge-img--day { display: none; }
[data-theme="night"] .services__badge-img--night { display: block; }

@media (max-width: 1100px) {
  .services__layout {
    grid-template-columns: 1fr;
  }
  .services__grid {
    min-height: 0;
    grid-template-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card--featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .service-card--wide,
  .service-card--full {
    grid-column: 1 / -1;
  }
  .service-card--wide.service-card--full,
  .service-card--full {
    min-height: clamp(240px, 55vw, 320px);
  }
  .service-card--wide.service-card--full .service-card__body,
  .service-card--full .service-card__body {
    max-width: min(100%, 36ch);
    padding: 1rem 1.05rem 1.1rem;
  }
  .services__bar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .services__stats { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .services__grid .service-card:not(.service-card--wide) .service-card__title {
    font-size: 1.25rem;
  }
  .services__grid .service-card:not(.service-card--wide) .service-card__title-mark,
  .services__grid .service-card:not(.service-card--wide) .service-card__title-mark--compact,
  .services__grid .service-card:nth-child(3) .service-card__title-mark {
    font-size: 0.95em;
    padding: 0.38em 0.85em;
    letter-spacing: 0.02em;
    white-space: normal;
  }
  .services__bar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0;
    margin-top: 1.35rem;
    padding: 0.9rem 0.7rem 1rem;
  }
  .services__bar-list {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.55rem;
  }
  .services__bar-list li { gap: 0.4rem; }
  .services__bar-icon img {
    width: 2.35rem;
    height: 2.35rem;
  }
  .services__bar-list strong {
    font-size: 0.78rem;
    margin-bottom: 0.05rem;
  }
  .services__bar-list span {
    font-size: 0.68rem;
    line-height: 1.3;
  }
  .services__badge { display: none; }
}

.section--promo {
  padding-top: clamp(2.5rem, 5vw, 4.25rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
}
[data-theme="night"] .section--promo {
  background: var(--bg);
}
.promo {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.promo__badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.42rem 0.95rem 0.42rem 0.6rem;
  border-radius: var(--radius-pill);
  background: #1b2a4a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.promo__badge-bolt {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.promo__sale {
  display: flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 1.1rem;
  padding: 0.55rem 1.35rem 0.6rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #e64545 0%, #ff5a4a 70%, #e64545 100%);
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  box-shadow:
    0 10px 28px rgba(230, 69, 69, 0.35),
    0 0 0 4px rgba(230, 69, 69, 0.12);
}
.promo__title {
  margin: 0 0 1.25rem;
  max-width: 12ch;
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #15233d;
}
[data-theme="night"] .promo__title { color: #f3f6ff; }
.promo__points {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.promo__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  color: #24324a;
}
[data-theme="night"] .promo__points li { color: #fff; }
.promo__ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(1, 100, 253, 0.1);
  color: var(--brand-royal);
}
[data-theme="night"] .promo__ico {
  background: rgba(1, 100, 253, 0.16);
  color: var(--brand-royal);
}
.promo__actions {
  display: grid;
  gap: 1.15rem;
  width: min(100%, 420px);
}
.promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 62px;
  width: 100%;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: linear-gradient(180deg, #2f7cff 0%, #0164fd 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow:
    0 14px 32px rgba(1, 100, 253, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.promo__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(1, 100, 253, 0.45);
}
.promo__cta--ghost {
  --promo-fill-duration: 0.85s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  color: #15233d;
  border-color: #15233d;
  box-shadow: none;
  filter: none;
}
.promo__cta--ghost:hover,
.promo__cta--ghost:focus-visible {
  transform: none;
  filter: none;
  box-shadow: none;
  background: transparent;
  border-color: var(--brand-accent);
}
[data-theme="night"] .promo__cta--ghost {
  color: #fff;
  border-color: #fff;
}
[data-theme="night"] .promo__cta--ghost:hover,
[data-theme="night"] .promo__cta--ghost:focus-visible {
  border-color: var(--brand-accent);
}
.promo__cta-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
}
.promo__cta-label--fill {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0 1.35rem;
  color: #fff;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--promo-fill-duration) ease;
}
.promo__cta--fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--promo-fill-duration) ease;
  z-index: 0;
}
.promo__cta--fill:hover::before,
.promo__cta--fill:focus-visible::before {
  transform: scaleX(1);
}
.promo__cta--fill:hover .promo__cta-label--fill,
.promo__cta--fill:focus-visible .promo__cta-label--fill {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .promo__cta--ghost { --promo-fill-duration: 0.01ms; }
  .promo__cta--fill::before,
  .promo__cta-label--fill { transition: none; }
}
.promo__cta-ico { display: grid; place-items: center; }
.promo__cta-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  transition: transform 0.15s;
}
.promo__cta:hover .promo__cta-arrow { transform: translateX(3px); }

.promo-plisse {
  position: relative;
  aspect-ratio: 719 / 782;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: #f3f4f7;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.promo-plisse.is-dragging { cursor: grabbing; }
.promo-plisse.is-dragging .promo-plisse__handle { cursor: grabbing; }
[data-theme="night"] .promo-plisse {
  background: #eceef3;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.promo-plisse__frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.promo-plisse__track {
  position: absolute;
  inset: 18% 18% 22% 18%;
  pointer-events: none;
}
.promo-plisse__handle {
  position: absolute;
  top: 20%;
  left: 73.5%;
  width: 56px;
  height: 52%;
  margin: 0;
  padding: 0;
  border: 0;
  touch-action: none;
  background: transparent;
  transform: translateX(-50%);
  cursor: grab;
  z-index: 2;
}
.promo-plisse__handle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
.promo-plisse__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 31, 46, 0.12);
  box-shadow:
    0 8px 22px rgba(26, 31, 46, 0.16),
    0 0 0 4px rgba(1, 100, 253, 0.12);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.promo-plisse__grip span {
  width: 3px;
  height: 18px;
  border-radius: 99px;
  background: var(--accent);
}
.promo-plisse.is-ready .promo-plisse__grip {
  animation: promo-grip-pulse 2.4s ease-in-out 2;
}
.promo-plisse.is-used .promo-plisse__grip { animation: none; }
@keyframes promo-grip-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(26, 31, 46, 0.16), 0 0 0 4px rgba(1, 100, 253, 0.12); }
  50% { box-shadow: 0 8px 22px rgba(26, 31, 46, 0.16), 0 0 0 10px rgba(1, 100, 253, 0.2); }
}
.promo-plisse__hint {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(20, 24, 32, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.promo-plisse.is-used .promo-plisse__hint { opacity: 0; }
.promo-plisse__hint-ico {
  font-size: 0.95rem;
  color: #9cbcff;
}

@media (max-width: 1024px) {
  .promo { grid-template-columns: 1fr; gap: 0; }
  .promo__copy { display: contents; }
  .promo__badge { order: 1; margin-bottom: 0.45rem; }
  .promo__sale { order: 2; margin-bottom: 0.7rem; }
  .promo__title { order: 3; max-width: none; margin-bottom: 0.85rem; }
  .promo-plisse { order: 4; max-width: 520px; margin: 0 auto 1.1rem; }
  .promo__points { order: 5; }
  .promo__actions { order: 6; }
}
@media (max-width: 640px) {
  .promo-plisse__handle { width: 72px; }
  .promo__actions { width: 100%; }
  .promo__badge { margin-bottom: 0.35rem; }
  .promo__sale { margin-bottom: 0.5rem; }
  .promo__title { margin-bottom: 0.7rem; }
}

.section--why {
  --why-logo-w: min(296px, 68vw);
  --why-logo-h: calc(var(--why-logo-w) * 148 / 120);
  padding-top: 0;
  padding-bottom: clamp(3.25rem, 6vw, 5.5rem);
  background: var(--bg);
}
.why__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--why-logo-h) 1rem;
  overflow: hidden;
}
.why__banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.why__banner-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.58);
}
.why__head {
  max-width: 40rem;
  margin: 1.75rem auto 2.25rem;
  text-align: center;
}
.why__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.why__logo {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--why-logo-w);
}
.why__logo-img {
  width: 100%;
  height: auto;
}
.why__lead {
  margin: 0 auto;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}
[data-theme="night"] .why__lead { color: #fff; }
.why__lead a {
  color: var(--brand-royal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-theme="night"] .why__lead a { color: var(--brand-royal); }
.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.why-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 0;
  min-height: 240px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 10px 28px rgba(1, 100, 253, 0.08);
  overflow: hidden;
}
[data-theme="night"] .why-card {
  background: #171b26;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.why-card__num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-royal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(1, 100, 253, 0.35);
}
.why-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.5rem 1.35rem 1.35rem 4.4rem;
}
.why-card__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-royal);
}
[data-theme="night"] .why-card__title { color: var(--brand-royal); }
.why-card__text {
  margin: 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}
[data-theme="night"] .why-card__text { color: #fff; }
.why-card__chips {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.why-card__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem 0.32rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-royal);
}
[data-theme="night"] .why-card__chips li { color: var(--brand-royal); }
.why-card__ico {
  display: grid;
  place-items: center;
  color: var(--brand-royal);
}
[data-theme="night"] .why-card__ico { color: var(--brand-royal); }
.why-card__media {
  margin: 0;
  min-height: 100%;
}
.why-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.why__cta-wrap .promo__cta { width: min(100%, 420px); }

@media (max-width: 860px) {
  .why-card {
    grid-template-columns: 1fr;
  }
  .why-card__copy { padding: 3.4rem 1.2rem 1.2rem; }
  .why-card__media {
    min-height: 200px;
    max-height: 240px;
  }
}

.section--order {
  overflow-x: clip;
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
  background: var(--bg);
}
.order-funnel__head {
  padding-bottom: clamp(1.2rem, 2.4vw, 1.85rem);
}
h2.order-funnel__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.order-bento {
  --bento-tile: #141414;
  --bento-ink: #ffffff;
  --bento-gap: 0.5rem;
  --bento-radius: 1.55rem;
  display: flex;
  flex-direction: column;
  gap: var(--bento-gap);
}
.order-bento__row {
  display: grid;
  grid-template-columns: minmax(16.5rem, 0.92fr) minmax(16rem, 1.08fr);
  gap: var(--bento-gap);
  min-height: 10.5rem;
}
.order-bento__label,
.order-bento__text {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--bento-radius);
  background: var(--bento-tile);
  color: var(--bento-ink);
  transition: background 0.35s ease, color 0.35s ease;
}
.order-bento__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.45rem 1.6rem;
  isolation: isolate;
}
.order-bento__label::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 92% 42%, rgba(255, 228, 150, 0.5) 0%, transparent 52%),
    radial-gradient(70% 100% at 80% 70%, rgba(80, 155, 255, 0.55) 0%, transparent 58%),
    radial-gradient(45% 55% at 62% 18%, rgba(255, 255, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.order-bento__label::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  transition: opacity 0.35s ease;
}
.order-bento__num,
.order-bento__name,
.order-bento__mark {
  position: relative;
  z-index: 2;
}
.order-bento__num {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.48);
}
.order-bento__name {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}
.order-bento__mark {
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.order-bento__text {
  display: flex;
  align-items: center;
  padding: 1.45rem 1.7rem;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}
.order-bento__text > span {
  display: block;
}
.order-funnel__phone {
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
@media (hover: hover) and (min-width: 821px) {
  .order-bento__row:hover .order-bento__label::before,
  .order-bento__row:focus-within .order-bento__label::before,
  .order-bento__row.is-hover .order-bento__label::before,
  .order-bento__row:hover .order-bento__label::after,
  .order-bento__row:focus-within .order-bento__label::after,
  .order-bento__row.is-hover .order-bento__label::after {
    opacity: 1;
  }
  .order-bento__row:hover .order-bento__mark,
  .order-bento__row:focus-within .order-bento__mark,
  .order-bento__row.is-hover .order-bento__mark {
    opacity: 1;
    transform: none;
  }
  .order-bento__row:hover .order-bento__text,
  .order-bento__row:focus-within .order-bento__text,
  .order-bento__row.is-hover .order-bento__text {
    background: var(--brand-royal);
  }
}
.order-funnel__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.order-funnel__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--brand-royal);
  border-radius: 0;
  background: var(--brand-royal);
  color: #fff;
  font: 800 0.92rem/1.2 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 -10px 28px rgba(1, 100, 253, 0.28);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.order-funnel__cta-btn:hover,
.order-funnel__cta-btn:focus-visible {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 820px) {
  .section--order { padding-block: clamp(2rem, 4vw, 2.75rem); }
  .order-bento {
    --bento-gap: 0.4rem;
    --bento-radius: 1.35rem;
  }
  .order-bento__row {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
  }
  .order-bento__row:last-child { margin-bottom: 0; }
  .order-bento__label {
    min-height: 7.25rem;
    justify-content: center;
    padding: 1.35rem 1.25rem;
  }
  .order-bento__name {
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
  .order-bento__text {
    min-height: 7.5rem;
    padding: 1.25rem 1.3rem;
    font-size: 0.98rem;
  }
  .order-bento__row--lead .order-bento__label::before,
  .order-bento__row--lead .order-bento__label::after {
    opacity: 1;
  }
  .order-bento__row--lead .order-bento__mark {
    opacity: 1;
    transform: none;
  }
  .order-bento__row--lead .order-bento__text {
    background: var(--brand-royal);
  }
  .order-funnel__cta {
    margin-top: clamp(1.75rem, 5vw, 2.25rem);
  }
  .order-funnel__cta-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .order-bento__label,
  .order-bento__text,
  .order-bento__label::before,
  .order-bento__label::after,
  .order-bento__mark {
    transition: none;
  }
}

.section--quote {
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem);
  background: var(--bg);
}
.quote {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}
.quote__photo {
  margin: 0;
  overflow: hidden;
}
.quote__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.quote__body {
  margin: 0;
  max-width: 40rem;
}
.quote__text {
  position: relative;
  margin: 0;
  padding-top: 0.15rem;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote__text::before {
  content: "«";
  display: block;
  margin: 0 0 0.35rem;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 0.8;
  color: var(--brand-royal);
}
[data-theme="night"] .quote__text { color: #fff; }
.quote__person {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
[data-theme="night"] .quote__person { color: #fff; }
@media (max-width: 768px) {
  .quote {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .quote__photo img {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .quote__body { max-width: none; }
}

.feature-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li { display: grid; gap: 0.15rem; }
.feature-list strong { font-weight: 550; }
.feature-list span { color: var(--ink-muted); font-size: 0.92rem; }

.subgrid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.subcard {
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--accent-soft);
}
.subcard h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.subcard p { margin: 0; font-size: 0.92rem; color: var(--ink-muted); }

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0 0; font-size: 0.85rem; color: var(--ink-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; opacity: 0.5; }
.breadcrumbs a:hover { color: var(--accent); }

/* FAQ — accordion, potolok-beru structure, HK colors */
.section--faq { background: var(--bg); }
h2.faq__title {
  margin: 0 0 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.faq { width: 100%; margin-top: 0; }
.faq__item {
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__question {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.18s ease;
}
.faq__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(1, 100, 253, 0.32);
  border-radius: 50%;
  color: var(--brand-royal);
  background: transparent;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.faq__toggle-icon {
  display: block;
  transition: transform 0.22s ease;
}
.faq__item:hover .faq__toggle,
.faq__summary:hover .faq__toggle,
.faq__summary:focus-visible .faq__toggle,
.faq__item[open] .faq__toggle {
  border-color: var(--brand-royal);
  color: #fff;
  background: var(--brand-royal);
  box-shadow: 0 0 0 4px rgba(1, 100, 253, 0.18);
}
.faq__item[open] .faq__toggle-icon { transform: rotate(45deg); }
.faq__item[open] .faq__question { color: var(--brand-royal); }
.faq__answer {
  padding: 0 0 1.15rem;
  max-width: 72ch;
}
.faq__answer p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}
[data-theme="night"] .faq__answer p { color: #fff; }
[data-theme="night"] .faq__item[open] .faq__question { color: var(--brand-royal); }

.lead-banner {
  background: #0c0c0c;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  overflow-x: clip;
}
.lead-banner__card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.lead-banner__brand {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--brand-royal);
}
.lead-banner__logo {
  width: min(100%, 360px);
  height: auto;
}
.lead-banner__panel {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16) 0, transparent 42%),
    radial-gradient(circle at 82% 88%, rgba(0, 0, 0, 0.12) 0, transparent 36%),
    linear-gradient(135deg, #f25a5a 0%, var(--brand-accent) 52%, #c53636 100%);
  color: #fff;
}
.lead-banner__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at center, #fff 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.lead-banner__title,
.lead-banner__lead,
.lead-banner__form,
.lead-banner__note {
  position: relative;
  z-index: 1;
}
.lead-banner__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
  color: #fff;
}
.lead-banner__lead {
  margin: 0 0 1.25rem;
  max-width: 42ch;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.55;
  color: #fff;
}
.lead-banner__form {
  display: grid;
  gap: 0.85rem;
  max-width: 420px;
}
.lead-banner__field input[type="tel"] {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 400 1rem/1.4 var(--font);
}
.lead-banner__field input::placeholder { color: rgba(255, 255, 255, 0.72); }
.lead-banner__field input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.lead-banner__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.lead-banner__consent a {
  color: #fff;
  text-decoration: underline;
}
.lead-banner__consent .zamer-toggle__track {
  background: rgba(255, 255, 255, 0.38);
}
.lead-banner__consent .zamer-toggle__input:checked + .zamer-toggle__track {
  background: #fff;
}
.lead-banner__consent .zamer-toggle__input:checked + .zamer-toggle__track .zamer-toggle__thumb {
  background: var(--brand-accent);
}
.lead-banner__consent .zamer-toggle:has(.zamer-toggle__input:focus-visible) .zamer-toggle__track {
  outline-color: #fff;
}
.lead-banner__submit {
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-accent);
  font: 800 0.95rem/1.2 var(--font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.lead-banner__submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.lead-banner__submit:not(:disabled) {
  opacity: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.lead-banner__submit:hover:not(:disabled),
.lead-banner__submit:focus-visible:not(:disabled) {
  background: #0d0d0d;
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}
.lead-banner__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}
.lead-banner__status {
  margin: 0;
  font-size: 0.88rem;
  color: #fff;
}
@media (max-width: 768px) {
  .lead-banner__card { grid-template-columns: 1fr; }
  .lead-banner__brand { min-height: 180px; }
  .lead-banner__title { max-width: none; }
  .lead-banner__form { max-width: none; }
}

/* Forms */
.lead-form, .calc-form { margin-top: 1.5rem; }
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.lead-form > .btn {
  align-self: center;
  height: auto;
}
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 0.85rem; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.form-note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--ink-muted); margin: 0; }

.calc-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.calc-result {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  margin-bottom: 1rem;
}
.calc-result__label { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }
.calc-result__value { margin: 0.25rem 0; font-size: 1.75rem; font-weight: 600; }
.calc-result__note { margin: 0; font-size: 0.85rem; color: var(--ink-muted); }

.section--cta { padding-bottom: clamp(4rem, 8vw, 6rem); }

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.shop-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.shop-card:hover { transform: translateY(-2px); }
.shop-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.shop-card__body { padding: 1rem; }
.shop-card__body h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.shop-card__body span { font-size: 0.85rem; color: var(--accent); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card__body { padding: 1rem; }
.product-card__body h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.product-card__price { margin: 0 0 0.75rem; font-weight: 600; color: var(--accent); }

/* Footer — always dark, compact workshop grid */
.footer {
  --footer-bg: #0d1119;
  --footer-ink: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.62);
  --footer-faint: rgba(255, 255, 255, 0.45);
  --footer-line: rgba(255, 255, 255, 0.14);
  --footer-accent: #0164fd;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 0 0 2rem;
  margin-top: 0;
}
.footer__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--footer-accent) 0 52px, var(--footer-line) 52px);
}
.footer__inner {
  padding-top: 4.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.85fr);
  gap: 0 3.5rem;
  align-items: start;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.footer__brand {
  min-width: 0;
  padding-right: 0.5rem;
}
.footer__col {
  min-width: 0;
  padding: 0 0 0 2.25rem;
}
.footer__tagline {
  margin: 1rem 0 1.15rem;
  color: var(--footer-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.footer__place,
.footer__hours {
  margin: 0 0 0.35rem;
  color: var(--footer-muted);
  font-size: 0.95rem;
}
.twogis-rating {
  display: block;
  width: 150px;
  height: 50px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}
.twogis-rating__frame {
  display: block;
  width: 150px;
  height: 50px;
  border: 0;
  background: transparent;
}
.twogis-rating--footer {
  margin: 1rem 0 0.25rem;
}
.footer__requisites {
  margin: 0 0 0.7rem;
  display: grid;
  gap: 0.12rem;
  max-width: 46rem;
  color: var(--footer-faint);
  font-size: 0.78rem;
  line-height: 1.45;
}
.footer__brand-contacts {
  display: none;
  margin-top: 1rem;
}
.footer__phone,
.footer__email {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--footer-ink);
  text-decoration: none;
  background-image: linear-gradient(var(--footer-accent), var(--footer-accent));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 180ms ease, background-size 180ms ease;
}
.footer__phone {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.footer__email {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}
.footer__phone:hover,
.footer__email:hover {
  color: var(--footer-accent);
  background-size: 100% 1px;
}
.footer__col-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}
.footer__acc-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.footer__col-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.footer__acc-icon {
  display: none;
  position: relative;
  width: 18px;
  height: 18px;
}
.footer__acc-icon::before,
.footer__acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--footer-ink);
  transform: translate(-50%, -50%);
}
.footer__acc-icon::before {
  width: 12px;
  height: 1.5px;
}
.footer__acc-icon::after {
  width: 1.5px;
  height: 12px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.footer__col.is-open .footer__acc-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.footer__acc-panel {
  display: grid;
  grid-template-rows: 1fr;
}
.footer__acc-clip { overflow: hidden; min-height: 0; }
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__list a,
.footer .nav__muted {
  display: block;
  padding: 0.28rem 0;
  font-size: 1.02rem;
  line-height: 1.5;
}
.footer__list a {
  width: fit-content;
  max-width: 100%;
  color: var(--footer-ink);
  background-image: linear-gradient(var(--footer-accent), var(--footer-accent));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 180ms ease, background-size 180ms ease;
}
.footer__list a:hover {
  color: var(--footer-accent);
  background-size: 100% 1px;
}
.footer .nav__muted {
  color: rgba(255, 255, 255, 0.45);
  opacity: 0.7;
  cursor: default;
}
.footer__contacts-list {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}
.footer__messengers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0 0.55rem;
}
.footer__socials {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5rem;
  margin: 2.75rem 0 0;
  border-top: 1px solid var(--footer-line);
}
.footer__social-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-ink);
  transition: color 180ms ease;
}
.footer__social-label {
  position: relative;
  display: inline-block;
}
.footer__social-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 4px;
  border-radius: 1px;
  background: var(--footer-accent);
  transform: scaleX(0);
  transform-origin: center bottom;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.footer__social-link:hover .footer__social-label::after {
  transform: scaleX(1);
}
.footer__social-link--muted {
  color: var(--footer-faint);
}
.footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-top: 1.75rem;
}
.footer__copy {
  margin: 0 0 0.55rem;
  color: var(--footer-muted);
  font-size: 0.92rem;
}
.footer__disclaimer {
  margin: 0;
  max-width: 42rem;
  color: var(--footer-faint);
  font-size: 0.8rem;
  line-height: 1.45;
}
.footer__legal {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}
.footer__legal a {
  color: var(--footer-muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}
.footer__legal a:hover { color: var(--footer-accent); }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--footer-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  justify-self: end;
  transition: color 180ms ease;
}
.footer__top:hover { color: var(--footer-accent); }
.footer__top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--footer-accent);
  border-radius: 50%;
  color: var(--footer-accent);
}
.header__social-btn--muted,
.mobile-nav__social-btn--muted {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.lead-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}
.lead-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
}
.lead-bar__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}
body { padding-bottom: 0; }
body.has-lead-bar { padding-bottom: 56px; }
body.has-header-compact .mobile-nav {
  inset: var(--header-compact-h) 0 0 0;
}

@media (max-width: 1024px) {
  :root {
    --header-h: var(--header-top-h);
    --header-compact-h: var(--header-top-h);
  }
  .header__meta,
  .header__measure,
  .header__social { display: none; }
  .header__nav-inner { display: none; }
  .header__top-inner { gap: 0.5rem; }
  .theme-toggle--header {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }
  .burger { display: flex; }
  .header__phone-block {
    border-left: none;
    padding-left: 0;
    margin-left: auto;
  }
  .hero__grid, .page-hero__grid, .split { grid-template-columns: 1fr; }
  .split--reverse .split__copy, .split--reverse .split__media { order: unset; }
  .footer__inner { padding-top: 3.5rem; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__col { padding-left: 1.5rem; }
  .footer__col:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .footer__bottom {
    grid-template-columns: 1fr auto;
  }
  .footer__legal { grid-column: 1; }
  .header-compact__nav { display: none; }
  .header-compact .container {
    width: calc(100% - 0.5rem);
  }
  .header-compact__inner {
    gap: 0.4rem;
  }
  .header-compact .burger.burger--compact { display: inline-flex; }
  .header-compact__logo .logo__img--header {
    height: 34px;
    max-width: min(200px, 34vw);
  }
  .header-compact__phone { font-size: 1rem; }
  [data-theme="day"] .header-compact__phone { color: #fff; }
  [data-theme="night"] .header-compact__phone { color: var(--brand-royal); }
}

@media (min-width: 769px) {
  .hero--cinema {
    align-items: stretch;
    padding-top: clamp(1rem, 2vw, 1.5rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
  }
  .hero--cinema .hero__shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--header-h) - clamp(2rem, 4vw, 3rem));
    min-height: calc(100dvh - var(--header-h) - clamp(2rem, 4vw, 3rem));
    padding-top: 0;
  }
  .page-home .hero--cinema .hero__shell {
    min-height: calc(100dvh - var(--header-h) - clamp(2rem, 4vw, 3rem));
  }
  .hero--home .hero__title {
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hero--cinema .hero__facts {
    margin-top: clamp(3rem, 20vh, 11rem);
    margin-bottom: 1.75rem;
  }
  .hero__cta {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .hero--cinema {
    align-items: stretch;
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
    min-height: max(620px, calc(var(--app-vh, 100svh) - var(--header-h)));
  }
  .hero--cinema .hero__shell {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--app-vh, 100svh) - var(--header-h) - 2.5rem);
    padding-bottom: 0.25rem;
    text-align: left;
  }
  .hero--home .hero__title {
    margin-top: auto;
    margin-bottom: 1.75rem;
    text-align: left;
    align-self: stretch;
  }
  .hero--cinema .hero__facts {
    margin-bottom: auto;
    text-align: left;
    align-self: stretch;
    max-width: none;
    margin-inline: 0;
  }
  .hero__cta {
    margin-top: 0;
    padding-top: 1.5rem;
    flex-shrink: 0;
  }
  .hero__title-line {
    font-size: clamp(2.15rem, 9vw, 2.9rem);
    max-width: none;
    line-height: 1.08;
  }
  .hero--cinema .hero__title-geo {
    font-size: clamp(1.15rem, 4.2vw, 1.55rem);
    padding: 0.42em 0.95em;
  }
  .hero--cinema .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .hero--cinema .hero__actions .btn {
    min-height: 44px;
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }
  .hero--cinema .hero__actions .twogis-rating--hero {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero--cinema .hero__facts { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero--cinema .hero__tagline,
  .hero__tagline { max-width: 100%; clip-path: none; border-radius: var(--radius); padding-right: 1.15rem; }
  .header__phone-label { display: none; }
  .header__phone-number { font-size: 0.88rem; }
  .header-compact__phone { font-size: 0.88rem; }
  .hero__facts { grid-template-columns: 1fr; gap: 0.75rem; }
  .lead-form { grid-template-columns: 1fr; }
  .footer__inner { padding-top: 2.75rem; }
  .footer__grid,
  .footer__nav,
  .footer__bottom {
    grid-template-columns: 1fr;
  }
  .footer__grid { gap: 0.35rem; }
  .footer__nav { margin-top: 0.75rem; }
  .footer__col {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--footer-line);
  }
  .footer__col-head {
    margin: 0;
    min-height: 52px;
  }
  .footer__acc-btn {
    display: inline-flex;
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    justify-content: flex-end;
  }
  .footer__acc-icon { display: block; }
  .footer__acc-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 200ms ease;
  }
  .footer__col.is-open .footer__acc-panel { max-height: 24rem; }
  .footer__col.is-open .footer__acc-clip { padding-bottom: 0.85rem; }
  .footer__brand-contacts { display: block; }
  .footer__socials {
    margin-top: 1.5rem;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 0.85rem 0;
  }
  .footer__social-link {
    min-height: 0;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
  .footer__bottom {
    gap: 1.15rem;
    margin-top: 1.25rem;
  }
  .footer__legal { justify-items: start; }
  .footer__top { justify-self: start; }
  .lead-bar__inner p { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .promo-plisse.is-ready .promo-plisse__grip { animation: none; }
}

/* Zamer lead modal */
.zamer-modal[hidden] { display: none; }
.zamer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.zamer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zamer-modal__bar { display: none; }
.zamer-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 20px;
  background: #fff;
  color: #231f20;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}
.zamer-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #231f20;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.zamer-modal__close:hover { opacity: 0.65; }
.zamer-modal__title {
  margin: 0 2.75rem 0.75rem 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
}
.zamer-modal__intro {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #888;
}
.zamer-modal__form {
  display: grid;
  gap: 1.05rem;
  min-width: 0;
}
.zamer-modal__time {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.zamer-modal__time-label { margin-bottom: 0.6rem; }
.zamer-modal__schedule {
  display: grid;
  gap: 1.05rem;
  min-width: 0;
}
.zamer-modal__schedule[hidden] { display: none; }
.zamer-chip-grid {
  display: grid;
  gap: 0.4rem;
}
.zamer-chip-grid--days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.zamer-chip-grid--hours { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.zamer-chip {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.zamer-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.zamer-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.35rem 0.15rem;
  border-radius: 12px;
  background: #e8e8e8;
  color: rgba(0, 0, 0, 0.48);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.zamer-chip--day span {
  flex-direction: column;
  gap: 0.18rem;
  min-height: 54px;
  padding: 0.4rem 0.1rem;
}
.zamer-chip--day em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.zamer-chip--day b {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
.zamer-chip:has(input:checked) span {
  background: var(--brand-royal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(1, 100, 253, 0.22);
}
.zamer-chip:has(input:focus-visible) span {
  outline: 2px solid var(--brand-royal);
  outline-offset: 2px;
}
.zamer-modal__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
}
.zamer-time-options {
  display: grid;
  gap: 0.5rem;
}
.zamer-time-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #e8e8e8;
  opacity: 0.82;
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.zamer-time-option__label {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.42);
  transition: color 0.2s ease;
}
.zamer-time-option:has(.zamer-toggle__input:checked) {
  background: linear-gradient(135deg, rgba(1, 100, 253, 0.08) 0%, rgba(1, 100, 253, 0.16) 100%);
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(1, 100, 253, 0.28),
    0 6px 22px rgba(1, 100, 253, 0.16);
}
.zamer-time-option:has(.zamer-toggle__input:checked) .zamer-time-option__label {
  color: #111;
}
.zamer-toggle {
  flex-shrink: 0;
  display: inline-flex;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.zamer-toggle__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.zamer-toggle:has(.zamer-toggle__input:focus-visible) .zamer-toggle__track {
  outline: 2px solid var(--brand-royal);
  outline-offset: 2px;
}
.zamer-toggle__track {
  display: block;
  width: 51px;
  height: 31px;
  border-radius: 999px;
  background: #ccc;
  position: relative;
  transition: background 0.15s ease;
}
.zamer-toggle__input:checked + .zamer-toggle__track {
  background: var(--brand-royal);
}
.zamer-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
  pointer-events: none;
}
.zamer-toggle__input:checked + .zamer-toggle__track .zamer-toggle__thumb {
  transform: translateX(20px);
}
.zamer-modal__field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.zamer-modal__field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border: 1px solid #d5d8e0;
  border-radius: 14px;
  background: #fff;
  color: #231f20;
  font: inherit;
  font-size: 1.02rem;
  box-sizing: border-box;
  outline: none;
}
.zamer-modal__field input:focus {
  border-color: rgba(1, 100, 253, 0.55);
  box-shadow: 0 0 0 3px rgba(1, 100, 253, 0.12);
}
.zamer-modal__submit {
  width: 100%;
  margin-top: 0.1rem;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: var(--brand-royal);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.zamer-modal__submit:hover { background: var(--accent-hover); }
.zamer-modal__consent {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
  color: #888;
}
.zamer-modal__consent a {
  color: #231f20;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.zamer-modal__consent a:hover { text-decoration-color: var(--brand-royal); }
.zamer-modal__status {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--brand-royal);
}
body.is-zamer-open { overflow: hidden; }

@media (max-width: 768px) {
  body.is-zamer-open .header,
  body.is-zamer-open .header-compact,
  body.is-zamer-open .lead-bar {
    visibility: hidden;
    pointer-events: none;
  }
  body.is-zamer-open .mobile-nav { display: none; }

  .zamer-modal {
    display: grid;
    grid-template-rows: var(--header-compact-h) minmax(0, 1fr);
    place-items: stretch;
    padding: 0;
    align-content: stretch;
  }
  .zamer-modal__backdrop { display: none; }
  .zamer-modal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: var(--header-compact-h);
    padding: 0 0.75rem;
    background: rgba(20, 24, 32, 0.96);
    color: #eef1f8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 2;
  }
  [data-theme="night"] .zamer-modal__bar {
    background: rgba(255, 255, 255, 0.96);
    color: #231f20;
    box-shadow: 0 8px 24px rgba(26, 31, 46, 0.08);
  }
  .zamer-modal__bar-logo { flex-shrink: 0; display: flex; align-items: center; }
  .zamer-modal__bar-logo .logo__img--header {
    height: 34px;
    width: auto;
    max-width: min(200px, 34vw);
  }
  .zamer-modal__bar-logo .logo__img--compact-light-bar { display: none; }
  [data-theme="night"] .zamer-modal__bar-logo .logo__img--compact-dark-bar { display: none; }
  [data-theme="night"] .zamer-modal__bar-logo .logo__img--compact-light-bar { display: block; }
  .zamer-modal__bar-phone {
    flex-shrink: 0;
    margin-left: auto;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
  }
  .zamer-modal__bar-phone:hover { color: var(--accent-hover); }
  [data-theme="night"] .zamer-modal__bar-phone { color: var(--brand-royal); }
  .zamer-modal__title,
  .zamer-modal__intro { display: none; }
  .zamer-modal__dialog {
    width: 100%;
    max-width: none;
    max-height: none;
    min-height: 0;
    padding: 0.95rem 1rem 0.85rem;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .zamer-modal__form { gap: 0.7rem; }
  .zamer-modal__time-label { margin-bottom: 0.4rem; }
  .zamer-time-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .zamer-time-option {
    padding: 0.55rem 0.6rem;
    border-radius: 14px;
    gap: 0.4rem;
  }
  .zamer-time-option__label { font-size: 0.82rem; }
  .zamer-modal__schedule { gap: 0.7rem; }
  .zamer-chip-grid { gap: 0.3rem; }
  .zamer-chip-grid--hours { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .zamer-chip span {
    min-height: 38px;
    font-size: 0.72rem;
    border-radius: 10px;
  }
  .zamer-chip--day span { min-height: 48px; }
  .zamer-chip--day em { font-size: 0.52rem; }
  .zamer-chip--day b { font-size: 0.95rem; }
  .zamer-modal__field input {
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
  }
  .zamer-modal__submit {
    min-height: 50px;
    padding: 0.82rem 1rem;
    font-size: 0.9rem;
    border-radius: 14px;
  }
  .zamer-modal__consent {
    font-size: 0.7rem;
    line-height: 1.38;
  }
  .zamer-modal__close {
    top: 0.35rem;
    right: 0.35rem;
    width: 36px;
    height: 36px;
    font-size: 1.75rem;
  }
}

.nav__link--static {
  cursor: default;
}
.nav__link--static:hover {
  background: transparent;
  color: var(--header-fg-soft);
}
.nav__muted {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: #8b93a3;
  cursor: default;
  text-transform: none;
}
.nav__panel--drop .nav__muted { padding: 0.55rem 0.75rem; }
.nav__soon {
  margin-left: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a0a7b4;
}
.mobile-nav__links .nav__muted {
  font-size: 1rem;
  font-weight: 400;
  padding: 0.15rem 0;
  color: var(--header-fg-muted);
  opacity: 0.55;
}
.mobile-nav__links .nav__soon {
  color: inherit;
}
.footer .nav__muted { color: rgba(255, 255, 255, 0.45); }

.not-found { padding: 4rem 0 5rem; }
.not-found__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.not-found__mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  color: var(--accent, #0164fd);
  font-weight: 600;
}
.not-found__code {
  margin: 0;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 0.85;
  font-weight: 700;
  color: #0164fd;
}
.not-found h1 { margin: 0.6rem 0 0.75rem; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.not-found__visual { margin: 0; }
.not-found__visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}
.not-found__visual figcaption {
  margin-top: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.contacts-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
}
.contacts-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contacts-card__list strong { display: block; color: var(--ink-muted); font-size: 0.8rem; margin-bottom: 0.2rem; }
@media (max-width: 800px) {
  .not-found__grid { grid-template-columns: 1fr; }
}
