/* pr-mobile-overflow-guard-v1 */
@media (max-width: 1199.98px) {
  body.theme-cinematic .custom-navbar > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.theme-cinematic .custom-navbar .navbar-collapse:not(.show) {
    display: none !important;
  }

  body.theme-cinematic .navbar-brand.brand-mark {
    min-width: 0 !important;
    max-width: 190px !important;
    flex: 1 1 auto !important;
  }

  body.theme-cinematic .brand-lockup,
  body.theme-cinematic .brand-title,
  body.theme-cinematic .brand-tagline {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.theme-cinematic .header-right-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
  }

  body.theme-cinematic .header-messengers-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body.theme-cinematic .header-messengers-desktop,
  body.theme-cinematic .header-actions {
    display: none !important;
  }

  body.theme-cinematic .header-messengers-mobile .header-messenger,
  body.theme-cinematic .site-header .custom-toggler,
  body.theme-cinematic .site-header .navbar-toggler {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  body.theme-cinematic .site-header .custom-toggler,
  body.theme-cinematic .site-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.theme-cinematic .hero-cinematic--page .hero-cinematic__content {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1,
  body.theme-cinematic .hero-subtitle {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.theme-cinematic .hero-actions,
  body.theme-cinematic .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 430px) {
  body.theme-cinematic .navbar-brand.brand-mark {
    max-width: 178px !important;
  }

  body.theme-cinematic .brand-mark__glyph {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  body.theme-cinematic .header-messengers-mobile .header-messenger,
  body.theme-cinematic .site-header .custom-toggler,
  body.theme-cinematic .site-header .navbar-toggler {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
}
/**
 * Главная: cinematic hero + светлый контент.
 * body.theme-cinematic на index.html.
 *
 * Фон hero: /img/hero-home.webp
 */
body.theme-cinematic {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --text: #1f2937;
  --text-light: #4b5563;
  --border: #e5e7eb;
  --accent: #d62828;
  --accent-hover: #b91c1c;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.12);
  --radius-sm: 11px;
  --radius: 17px;
  --radius-lg: 25px;
  --radius-card: 23px;
  --radius-card-md: 21px;
  --radius-card-sm: 19px;
  --radius-card-xs: 17px;
  --transition: 0.25s ease;
  --header-height: 91px;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  --hero-bg-image: url("/img/hero-home.webp");
  --pr-glass-text: #1f2937;
  --pr-glass-text-soft: #4b5563;
  --pr-glass-link: #d62828;
  --pr-glass-link-hover: #b91c1c;
  --pr-glass-accent: #d62828;
  --pr-glass-bg: #ffffff;
  --pr-glass-bg-strong: #ffffff;
  --pr-glass-inner: #ffffff;
  --pr-glass-line: #e5e7eb;
  --pr-glass-line-strong: rgba(214, 40, 40, 0.35);
  --pr-glass-shadow: var(--shadow-sm);
  --text-soft: #6b7280;
  --text-muted: #4b5563;
  --accent-3: #d62828;

  background: #0f1419 !important;
  color: #e5e7eb;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 0 !important;
}

@media (max-width: 575.98px) {
  body.theme-cinematic {
    --header-height: 82px;
  }
}

body.theme-cinematic::before {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html:has(body.theme-cinematic:not(.page-home)),
html:has(body.theme-cinematic:not(.page-home)) body {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
}

body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) .hero-title,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) h1 {
  color: var(--text) !important;
  text-shadow: none !important;
}

body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) .hero-subtitle,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) .hero-subtitle-strong,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) .lead {
  color: var(--text-light) !important;
}

body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero:not(.hero-cinematic--page) .hero-badge {
  color: var(--text) !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
}

html:has(body.theme-cinematic),
html:has(body.theme-cinematic) body {
  background: #0f1419 !important;
}

html:has(body.theme-cinematic:not(.page-home)),
html:has(body.theme-cinematic:not(.page-home)) body {
  background: var(--bg) !important;
}

.brand-tagline {
  display: none;
}

.brand-mark__glyph {
  display: none;
}

/* ===== LOGOTYPE (главная) ===== */
body.theme-cinematic .brand-mark {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px;
}

body.theme-cinematic .brand-mark__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.28);
}

body.theme-cinematic .brand-mark__glyph img,
body.theme-cinematic .brand-mark__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-cinematic.past-hero .brand-mark__glyph {
  box-shadow: 0 6px 16px rgba(214, 40, 40, 0.22);
}

body.theme-cinematic .brand-title {
  font-size: 1.62rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body.theme-cinematic .brand-title__part {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 400 !important;
}

body.theme-cinematic .brand-title__part--strong {
  color: #fff !important;
  font-weight: 800 !important;
}

body.theme-cinematic .brand-title__domain {
  color: #ff6b6b !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  margin-left: 0.02em;
}

body.theme-cinematic .brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

body.theme-cinematic .custom-navbar {
  min-height: var(--header-height, 91px) !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

body.theme-cinematic .navbar-nav .nav-link,
body.theme-cinematic .site-header .services-toggle {
  font-size: 1.14rem !important;
  min-height: 50px;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

body.theme-cinematic .site-header .header-phone {
  font-size: 1.12rem !important;
}

body.theme-cinematic .header-messengers-desktop .header-messenger,
body.theme-cinematic .header-messengers-mobile .header-messenger {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  font-size: 1.15rem !important;
}

body.theme-cinematic .site-header .custom-toggler,
body.theme-cinematic .site-header .navbar-toggler {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
}

/* ===== HEADER: прозрачный над hero ===== */
body.theme-cinematic .site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000 !important;
  min-height: var(--header-height, 91px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.theme-cinematic .site-header.scrolled:not(.site-header--light) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.32) 100%) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body.theme-cinematic .brand-tagline {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.58) !important;
  line-height: 1.2;
}

body.theme-cinematic.past-hero .brand-tagline {
  color: var(--text-light) !important;
}

body.theme-cinematic:not(.past-hero) .navbar-nav .nav-link,
body.theme-cinematic:not(.past-hero) .site-header .services-toggle,
body.theme-cinematic:not(.past-hero) .site-header .header-phone,
body.theme-cinematic:not(.past-hero) .site-header .header-write-toggle {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.theme-cinematic:not(.past-hero) .navbar-nav .nav-link:hover,
body.theme-cinematic:not(.past-hero) .navbar-nav .nav-link:focus,
body.theme-cinematic:not(.past-hero) .site-header .services-toggle:hover,
body.theme-cinematic:not(.past-hero) .site-header .header-write-toggle:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.theme-cinematic .site-header .header-cta.btn-main {
  min-height: 50px;
  padding: 12px 22px;
  font-size: 1.1rem;
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.32) !important;
}

body.theme-cinematic .site-header .header-cta.btn-main:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

body.theme-cinematic:not(.past-hero) .custom-toggler .burger-lines span {
  background: #fff !important;
}

/* ===== HEADER: светлый после hero ===== */
body.theme-cinematic.past-hero {
  padding-top: 0 !important;
}

body.theme-cinematic.past-hero .site-header {
  position: fixed !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: saturate(150%) blur(14px) !important;
  -webkit-backdrop-filter: saturate(150%) blur(14px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
}

body.theme-cinematic.past-hero .brand-title__part {
  color: var(--text-light) !important;
}

body.theme-cinematic.past-hero .brand-title__part--strong {
  color: var(--text) !important;
}

body.theme-cinematic.past-hero .brand-tagline {
  color: var(--text-light) !important;
}

body.theme-cinematic.past-hero .navbar-nav .nav-link,
body.theme-cinematic.past-hero .site-header .services-toggle,
body.theme-cinematic.past-hero .site-header .header-phone,
body.theme-cinematic.past-hero .site-header .header-write-toggle {
  color: var(--text) !important;
  border-color: var(--border) !important;
}

body.theme-cinematic.past-hero .navbar-nav .nav-link:hover,
body.theme-cinematic.past-hero .site-header .services-toggle:hover {
  color: var(--accent) !important;
  background: rgba(214, 40, 40, 0.06) !important;
}

body.theme-cinematic.past-hero .custom-toggler .burger-lines span {
  background: var(--text) !important;
}

body.theme-cinematic.past-hero .header-cta.btn-main {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(214, 40, 40, 0.2) !important;
}

/* ===== CINEMATIC HERO ===== */
body.theme-cinematic {
  --hero-photo-focus-x: 78%;
  --hero-photo-focus-y: 26%;
  --hero-photo-focus-y-lg: 22%;
  --hero-photo-min-h: clamp(520px, 62vh, 720px);
  --hero-photo-min-h-home: clamp(580px, 68vh, 780px);
  --hero-photo-max-w: 1920px;
  --hero-content-offset: calc(env(safe-area-inset-top, 0px) + var(--header-height, 91px) + 28px);
}

body.theme-cinematic .hero-cinematic {
  position: relative;
  min-height: clamp(580px, 90vh, 860px);
  padding: calc(var(--header-height, 91px) + 40px) 0 72px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: 0;
}

body.theme-cinematic .hero-cinematic__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #12161c;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: 72% 40%;
  background-repeat: no-repeat;
}

/* Одно изображение: img вместо дублирующего CSS background (главная и внутренние) */
body.theme-cinematic .hero-cinematic__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--page-hero-position, 72% 40%);
  display: block;
}

/*
 * Широкие экраны: картинка = ширина секции, но не шире 1920px (без апскейла/blur).
 * По бокам — тёмный фон .hero-cinematic__bg, кадр по центру.
 */
@media (min-width: 1024px) {
  body.theme-cinematic .hero-cinematic__bg-img {
    inset: auto;
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: min(100%, var(--page-hero-max-w, 1920px));
    max-width: var(--page-hero-max-w, 1920px);
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
  }
}

/* Большие экраны: отдельный фокус кадра + ниже hero → меньше обрезки по вертикали */
@media (min-width: 1200px) {
  body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__bg-img {
    object-position: var(--page-hero-position-lg, var(--page-hero-position, 72% 40%));
  }

  body.theme-cinematic.page-home .hero-cinematic:not(.hero-cinematic--full-photo) .hero-cinematic__bg-img {
    object-position: var(--page-hero-position-lg, var(--page-hero-position, 72% 42%));
  }
}

@media (min-width: 1400px) {
  body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) {
    min-height: clamp(460px, 56vh, 640px);
  }

  body.theme-cinematic.page-hub-photo .hero-cinematic--page:not(.hero-cinematic--full-photo) {
    min-height: clamp(520px, 62vh, 720px);
  }

  /* Цены: убрано отдельное увеличение — единый стандарт full-photo */

  body.theme-cinematic .hero-cinematic--full-photo {
    min-height: clamp(480px, 52vh, 640px) !important;
  }

  body.theme-cinematic.page-home .hero-cinematic--full-photo {
    min-height: clamp(520px, 56vh, 680px) !important;
  }

  body.theme-cinematic .hero-cinematic--compact.hero-cinematic--full-photo {
    min-height: clamp(440px, 48vh, 580px) !important;
  }

  body.theme-cinematic .hero-cinematic--page.hero-cinematic--compact:not(.hero-cinematic--full-photo) {
    min-height: clamp(420px, 50vh, 580px) !important;
  }
}

body.theme-cinematic .hero-cinematic__bg:has(.hero-cinematic__bg-img) {
  background-image: none !important;
}

body.theme-cinematic.page-home .hero-cinematic__bg {
  background-image: none !important;
}

body.theme-cinematic .hero-cinematic__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.88) 28%, rgba(8, 10, 14, 0.45) 48%, rgba(8, 10, 14, 0.06) 62%, rgba(8, 10, 14, 0.15) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.02) 45%, rgba(8, 10, 14, 0.55) 100%);
}

body.theme-cinematic .hero-cinematic__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 580px) 1fr;
  align-items: center;
}

body.theme-cinematic .hero-cinematic__content {
  max-width: 580px;
  width: 100%;
  text-align: left;
  justify-self: start;
}

body.theme-cinematic .hero-cinematic__eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-cinematic.page-home #home-hero .hero-cinematic__eyebrow,
body.theme-cinematic.page-hub-photo .hero-cinematic--page .hero-cinematic__eyebrow {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

body.theme-cinematic.page-home #home-hero.hero-cinematic:not(.hero-cinematic--full-photo) {
  padding-top: calc(var(--header-height, 91px) + 12px) !important;
  align-items: flex-start !important;
}

body.theme-cinematic.page-home #home-hero .hero-cinematic__eyebrow {
  margin-top: 0;
  margin-bottom: 8px;
}

body.theme-cinematic.page-home .hero-cinematic__lead {
  margin: 0 0 18px;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

body.theme-cinematic .hero-cinematic__icon .fas {
  font-size: 1.15rem;
  line-height: 1;
}

body.theme-cinematic.page-home .hero-cinematic__lead-accent {
  color: #fff;
  font-weight: 700;
}

body.theme-cinematic.page-home #home-hero .hero-title {
  margin-bottom: 10px !important;
}

body.theme-cinematic.page-home #home-hero .hero-home-cta-triggers {
  max-width: 34rem;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

body.theme-cinematic.page-home #home-hero .hero-home-cta-triggers .cta-trigger {
  font-weight: 600 !important;
  font-size: 0.94rem !important;
  background: rgba(214, 40, 40, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.theme-cinematic.page-home #home-hero .hero-home-cta-triggers .cta-trigger::before {
  background: var(--accent) !important;
}

@media (min-width: 768px) {
  body.theme-cinematic.page-home #home-hero .hero-home-cta-triggers {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

body.theme-cinematic.page-home #home-hero .hero-cinematic__actions .btn-main {
  font-size: 1.05rem !important;
  letter-spacing: -0.01em;
}






body.theme-cinematic .hero-cinematic:not(.hero-cinematic--page) .hero-title {
  margin: 0 0 16px;
  color: var(--hero-text) !important;
  font-size: clamp(2.5rem, 4.8vw, 3.85rem) !important;
  line-height: 1.02 !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  max-width: 11ch;
  text-wrap: balance;
}

body.theme-cinematic .hero-cinematic:not(.hero-cinematic--page) .hero-subtitle {
  margin: 0 0 28px;
  color: var(--hero-muted) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  max-width: 26rem;
  font-weight: 400 !important;
}

body.theme-cinematic .hero-subtitle__line {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

body.theme-cinematic .hero-cinematic__services {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px 18px;
  max-width: 420px;
}

body.theme-cinematic .hero-cinematic__services li {
  padding: 0;
  margin: 0;
}

body.theme-cinematic .hero-cinematic__services a,
body.theme-cinematic .hero-cinematic__services a:hover,
body.theme-cinematic .hero-cinematic__services a:focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 62px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

body.theme-cinematic .hero-cinematic__services a:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

body.theme-cinematic .hero-cinematic__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.theme-cinematic .hero-cinematic__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

body.theme-cinematic .hero-cinematic__services a:hover .hero-cinematic__icon {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

body.theme-cinematic .hero-cinematic__services a span:last-child {
  color: inherit !important;
}

body.theme-cinematic .hero-cinematic__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

body.theme-cinematic .hero-cinematic .btn-main {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 1rem;
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 12px 32px rgba(214, 40, 40, 0.34) !important;
}

body.theme-cinematic .hero-cinematic .btn-main:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

body.theme-cinematic .btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 22px 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body.theme-cinematic .btn-hero-ghost__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  padding-left: 2px;
}

body.theme-cinematic .btn-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  transform: translateY(-2px);
}

body.theme-cinematic .hero-cinematic__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

body.theme-cinematic .hero-cinematic__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.theme-cinematic .hero-cinematic__trust i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* ===== LIGHT CONTENT (main) ===== */
body.theme-cinematic main.theme-editorial {
  background: var(--bg);
  color: var(--text);
}

body.theme-cinematic main.theme-editorial section:not(#home-hero) a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.service-link) {
  color: var(--accent) !important;
}

body.theme-cinematic main.theme-editorial section:not(#home-hero) a:not(.btn):not(.dropdown-item):not(.nav-link):not(.navbar-brand):hover {
  color: var(--accent-hover) !important;
}

body.theme-cinematic .section-title,
body.theme-cinematic main.theme-editorial .section-title {
  color: var(--text) !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

body.theme-cinematic .section-subtitle,
body.theme-cinematic main.theme-editorial .section-subtitle,
body.theme-cinematic .muted,
body.theme-cinematic main.theme-editorial .muted,
body.theme-cinematic .text-muted {
  color: var(--text-light) !important;
}

body.theme-cinematic .eyebrow,
body.theme-cinematic main.theme-editorial .eyebrow {
  background: rgba(153, 27, 27, 0.1) !important;
  border: 1px solid rgba(153, 27, 27, 0.22) !important;
  color: #991b1b !important
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.1) !important;
  outline: 0 !important;
}

body.theme-cinematic .lead-form-v6__messengers {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

body.theme-cinematic .lead-form-v6__messengers-label {
  color: var(--text-light) !important;
}

body.theme-cinematic .lead-form-v6__messenger {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  color: var(--text) !important;
}

body.theme-cinematic .lead-form-v6__messenger:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.1) !important;
  color: var(--text) !important;
}

body.theme-cinematic .lead-form-v6__submit {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(214, 40, 40, 0.22) !important;
}

body.theme-cinematic .lead-form-v6__trust li {
  background: transparent !important;
  border: 0 !important;
  color: var(--text-light) !important;
}

body.theme-cinematic .lead-form-v6__trust i {
  color: var(--accent) !important;
}

/* Главная и hub-страницы с hero-фото: один прозрачный хэдер над кадром */
body.theme-cinematic.page-home .site-header,
body.theme-cinematic.page-hub-photo .site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000 !important;
  min-height: var(--header-height, 91px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-cinematic.page-home .site-header.scrolled:not(.site-header--light),
body.theme-cinematic.page-hub-photo .site-header.scrolled:not(.site-header--light) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.32) 100%) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* ===== HUB PAGE PHOTO HERO (elektrik) ===== */
body.theme-cinematic.page-hub-photo {
  padding-top: 0 !important;
  background: #0f1419 !important;
}

/* Хэдер — fixed; контент hero начинается ниже через --hero-content-offset */
body.theme-cinematic.page-hub-photo .hero-cinematic--page.hero-cinematic--full-photo,
body.theme-cinematic.page-hub-photo .hero-cinematic--full-photo {
  margin-top: 0 !important;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page:not(.hero-cinematic--full-photo) {
  margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 91px));
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
  padding-top: 24px !important;
}

/* Кастомные hero-фото: единый кадр (мастер справа, лицо в верхней трети) */
body.theme-cinematic .hero-cinematic--full-photo {
  min-height: var(--hero-photo-min-h) !important;
  padding: 0 0 48px !important;
}

body.theme-cinematic .hero-cinematic--compact.hero-cinematic--full-photo {
  min-height: clamp(480px, 58vh, 660px) !important;
}

body.theme-cinematic.page-home .hero-cinematic--full-photo {
  min-height: var(--hero-photo-min-h-home) !important;
  align-items: flex-start !important;
}

body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  padding-top: var(--hero-content-offset) !important;
  padding-bottom: 8px !important;
}

body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__bg-img {
  object-fit: cover;
  object-position: var(--page-hero-position, var(--hero-photo-focus-x) var(--hero-photo-focus-y));
}

/* Широкие экраны: без растягивания на весь монитор — кадр до 1920px по центру */
@media (min-width: 1024px) {
  body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__bg-img {
    inset: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    right: auto !important;
    width: min(100%, var(--hero-photo-max-w, 1920px)) !important;
    max-width: var(--hero-photo-max-w, 1920px) !important;
    height: 100% !important;
    transform: translateX(-50%) !important;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__bg-img {
    object-position: var(--page-hero-position-lg, var(--hero-photo-focus-x) var(--hero-photo-focus-y-lg));
  }
}

body.theme-cinematic .hero-cinematic--page {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 78vh, 760px);
  padding: 0 0 56px !important;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
}

body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 91px) + 32px) !important;
  padding-bottom: 8px !important;
}

body.theme-cinematic .hero-cinematic--page .hero-cinematic__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #12161c;
  background-image: var(--page-hero-image, url("/img/hero-home.webp"));
  background-size: cover;
  background-position: var(--page-hero-position, 72% 42%);
  background-repeat: no-repeat;
  overflow: hidden;
}

body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__bg-img {
  object-position: var(--page-hero-position, 72% 42%);
}

body.theme-cinematic .hero-cinematic--page .hero-cinematic__bg:has(.hero-cinematic__bg-img) {
  background-image: none !important;
}

body.theme-cinematic .hero-cinematic--page .hero-cinematic__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.88) 34%, rgba(8, 10, 14, 0.42) 52%, rgba(8, 10, 14, 0.08) 66%, rgba(8, 10, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.42) 0%, rgba(8, 10, 14, 0.02) 42%, rgba(8, 10, 14, 0.58) 100%);
}

body.theme-cinematic .hero-cinematic--page .hero-cinematic__content {
  max-width: 680px;
  width: 100%;
  text-align: left;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs {
  margin: 0 0 16px;
  padding: 0 !important;
  background: transparent !important;
  position: relative;
  z-index: 2;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs a:hover {
  color: #fff !important;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.96) !important;
  font-weight: 600;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__breadcrumbs li + li::before {
  content: "›";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45) !important;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1 {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35) !important;
  max-width: none !important;
  font-size: clamp(1.95rem, 3.8vw, 2.85rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-wrap: pretty;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-subtitle,
body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-subtitle-strong {
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 36rem;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-badge {
  color: rgba(255, 255, 255, 0.94) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-inline-trust {
  color: rgba(255, 255, 255, 0.78) !important;
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-inline-trust a {
  color: rgba(255, 255, 255, 0.94) !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-inline-trust a:hover {
  color: #fff !important;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .btn-hero-soft {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  box-shadow: none !important;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .btn-hero-soft:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.48) !important;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .btn-hero-soft i {
  color: #fff !important;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 18px;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .micro-trust i {
  color: var(--accent);
}

body.theme-cinematic.page-hub-photo .hero-cinematic--page .hero-alert {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== SERVICE CARDS (hub + главная) ===== */
body.theme-cinematic main.theme-editorial section[id="services"] .page-services-panel.content-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.theme-cinematic main.theme-editorial .page-services-cards .row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

body.theme-cinematic main.theme-editorial .page-services-cards .service-card,
body.theme-cinematic main.theme-editorial section[id="services"] .service-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: none !important;
  border-radius: var(--radius-card-md) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-cinematic main.theme-editorial .page-services-cards .service-card::before,
body.theme-cinematic main.theme-editorial .page-services-cards .service-card::after,
body.theme-cinematic main.theme-editorial section[id="services"] .service-card::before,
body.theme-cinematic main.theme-editorial section[id="services"] .service-card::after {
  display: none !important;
  content: none !important;
}

body.theme-cinematic main.theme-editorial .page-services-cards .service-card:hover,
body.theme-cinematic main.theme-editorial section[id="services"] .service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11) !important;
}

body.theme-cinematic main.theme-editorial .service-card .service-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 32%;
  border-bottom: none;
  border-radius: 0 !important;
}

body.theme-cinematic main.theme-editorial .service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 22px !important;
}

body.theme-cinematic main.theme-editorial .service-card-body .h5 {
  color: var(--text) !important;
  font-size: 1.14rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-bottom: 8px !important;
}

body.theme-cinematic main.theme-editorial .service-card-body .muted,
body.theme-cinematic main.theme-editorial .service-card-body p.muted {
  color: #4b5563 !important;
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
  flex: 1 1 auto;
  margin-bottom: 0 !important;
}

body.theme-cinematic main.theme-editorial .service-card-body .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: none;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
  text-decoration: none;
}

body.theme-cinematic main.theme-editorial .service-card-body .service-link i {
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

body.theme-cinematic main.theme-editorial .service-card:hover .service-link i {
  transform: translateX(4px);
}

/* Карточки без фото — иконка сверху */
body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) {
  padding: 22px 22px 20px !important;
}

/* Hub «Основные … работы»: равная высота без overflow-хака */
body.theme-cinematic main.theme-editorial .page-services-cards .service-card:not(:has(.service-thumb)) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px !important;
  overflow: hidden;
}

body.theme-cinematic main.theme-editorial .page-services-cards .row.g-4 {
  align-items: stretch;
}

body.theme-cinematic main.theme-editorial .page-services-cards .row.g-4 > [class*="col-"] {
  display: flex;
}

body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) .service-icon {
  margin-bottom: 14px !important;
}

body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) .h5 {
  color: var(--text) !important;
  font-size: 1.14rem !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) .muted,
body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) p:not(.h5) {
  color: #4b5563 !important;
  flex: 1 1 auto;
  line-height: 1.62 !important;
}

body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: none;
}

@media (max-width: 575.98px) {
  body.theme-cinematic main.theme-editorial .service-card-body {
    padding: 16px 18px 18px !important;
  }

  body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)) {
    padding: 18px 18px 16px !important;
  }

  body.theme-cinematic main.theme-editorial .page-services-cards .service-card:not(:has(.service-thumb)) {
    padding: 18px 18px 16px !important;
  }
}

body.theme-cinematic .hero-cinematic--compact:not(.hero-cinematic--full-photo) {
  min-height: clamp(460px, 68vh, 620px) !important;
}

@media (max-width: 991px) {
  body.theme-cinematic .hero-cinematic--compact {
    min-height: clamp(420px, 62vh, 540px) !important;
  }
}

@media (max-width: 991px) {
  body.theme-cinematic.page-hub-photo .hero-cinematic--page:not(.hero-cinematic--full-photo) {
    margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 82px));
  }

  body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) {
    min-height: clamp(500px, 74vh, 680px);
    padding-bottom: 48px !important;
  }

  body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 82px) + 24px) !important;
  }

  body.theme-cinematic.page-hub-photo .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
    padding-top: 20px !important;
  }

  body.theme-cinematic .hero-cinematic--page .hero-cinematic__bg {
    background-position: 78% 38%;
  }

  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1 {
    max-width: none;
    font-size: clamp(1.75rem, 6vw, 2.35rem) !important;
  }
}

/* Перебить main.css glass-рамки на карточках услуг */
body.theme-cinematic main.theme-editorial .service-card,
body.theme-cinematic main.theme-editorial .service-card:has(.service-thumb),
body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)),
body.theme-cinematic main.theme-editorial section[id="services"] .service-card,
body.theme-cinematic main.theme-editorial .page-services-cards .service-card {
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  outline: none !important;
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07) !important;
}

body.theme-cinematic main.theme-editorial .service-card:hover,
body.theme-cinematic main.theme-editorial .service-card:has(.service-thumb):hover,
body.theme-cinematic main.theme-editorial .service-card:not(:has(.service-thumb)):hover,
body.theme-cinematic main.theme-editorial section[id="services"] .service-card:hover,
body.theme-cinematic main.theme-editorial .page-services-cards .service-card:hover {
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11) !important;
  transform: translateY(-6px) !important;
}

body.theme-cinematic main.theme-editorial .service-card::before,
body.theme-cinematic main.theme-editorial .service-card::after {
  display: none !important;
  content: none !important;
}

body.theme-cinematic main.theme-editorial .service-card .service-thumb {
  border: none !important;
  border-bottom: none !important;
}

/* ===== CINEMATIC LIGHT: beat main.css glass (!important) ===== */
body.theme-cinematic main.theme-editorial .steps-list li {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card-xs) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--text-light) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-cinematic main.theme-editorial .steps-list li::before {
  background: rgba(214, 40, 40, 0.1) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(214, 40, 40, 0.16) !important;
  box-shadow: none !important;
}

body.theme-cinematic main.theme-editorial .process-list > .process-item,
body.theme-cinematic main.theme-editorial .process-list > li.process-item {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card-xs) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--text-light) !important;
}

body.theme-cinematic main.theme-editorial .process-item-num {
  background: rgba(214, 40, 40, 0.1) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(214, 40, 40, 0.16) !important;
  box-shadow: none !important;
}

body.theme-cinematic main.theme-editorial .process-item-title {
  color: var(--text) !important;
  text-shadow: none !important;
}

body.theme-cinematic main.theme-editorial .process-item-text {
  color: var(--text-light) !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .content-card,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .content-card,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .content-card,
body.theme-cinematic.page-home main.theme-editorial #nav .content-card,
body.theme-cinematic.page-home main.theme-editorial #trust .content-card,
body.theme-cinematic.page-home main.theme-editorial #contacts .content-card {
  background: var(--surface) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .content-card .section-title,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .content-card .section-title,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .content-card .section-title,
body.theme-cinematic.page-home main.theme-editorial #nav .content-card .section-title,
body.theme-cinematic.page-home main.theme-editorial #trust .content-card .section-title,
body.theme-cinematic.page-home main.theme-editorial #contacts .content-card .section-title {
  color: var(--text) !important;
  text-shadow: none !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .content-card .section-subtitle,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .content-card .section-subtitle,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .content-card .section-subtitle,
body.theme-cinematic.page-home main.theme-editorial #nav .content-card .section-subtitle,
body.theme-cinematic.page-home main.theme-editorial #trust .content-card .section-subtitle,
body.theme-cinematic.page-home main.theme-editorial #contacts .content-card .section-subtitle {
  color: var(--text-light) !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .mini-info-card,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .mini-info-card,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .mini-info-card,
body.theme-cinematic.page-home main.theme-editorial #nav .related-card, body.theme-cinematic.page-home main.theme-editorial #directions .related-card {
  padding: 22px !important;
  padding-left: 22px !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .mini-info-card .h5,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .mini-info-card .h5,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .mini-info-card .h5,
body.theme-cinematic.page-home main.theme-editorial #nav .related-card .h5, body.theme-cinematic.page-home main.theme-editorial #directions .related-card .h5 {
  color: var(--text) !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .mini-info-card p,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .mini-info-card p,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .mini-info-card p {
  color: var(--text-light) !important;
}

body.theme-cinematic.page-home main.theme-editorial #use-cases .mini-info-card::before,
body.theme-cinematic.page-home main.theme-editorial #use-cases .mini-info-card::after,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .mini-info-card::before,
body.theme-cinematic.page-home main.theme-editorial #how-we-work .mini-info-card::after,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .mini-info-card::before,
body.theme-cinematic.page-home main.theme-editorial #prices-factors .mini-info-card::after,
body.theme-cinematic.page-home main.theme-editorial #nav .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::before,
body.theme-cinematic.page-home main.theme-editorial #nav .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after, body.theme-cinematic.page-home main.theme-editorial #directions .related-card::after {
  display: none !important;
  content: none !important;
}

body.theme-cinematic main.theme-editorial .btn-main:not(.dropdown-toggle),
body.theme-cinematic main.theme-editorial .premium-submit-btn {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(214, 40, 40, 0.22) !important;
}

body.theme-cinematic main.theme-editorial .btn-soft {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

body.theme-cinematic main.theme-editorial .btn-soft:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

body.theme-cinematic main.theme-editorial .cta-band {
  background: var(--surface) !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--text) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.theme-cinematic main.theme-editorial .cta-band .section-title,
body.theme-cinematic main.theme-editorial .cta-band p {
  color: var(--text) !important;
  text-shadow: none !important;
}

/* ===== Кнопки: текст по центру ===== */
body.theme-cinematic .btn:not(.dropdown-toggle),
body.theme-cinematic a.btn:not(.dropdown-toggle),
body.theme-cinematic button.btn:not(.dropdown-toggle),
body.theme-cinematic .header-cta.btn-main {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.5rem;
}

body.theme-cinematic .btn:not(.dropdown-toggle) i,
body.theme-cinematic .header-cta.btn-main i {
  line-height: 1;
  flex-shrink: 0;
}

/* ===== CTA-триггеры: мягкий фон + галочка, без рамки ===== */
body.theme-cinematic .cta-triggers {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px 14px !important;
  margin: 0 0 18px !important;
  max-width: 780px !important;
  padding: 0 !important;
}

@media (min-width: 768px) {
  body.theme-cinematic .cta-triggers {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

body.theme-cinematic .cta-trigger {
  position: relative !important;
  display: block !important;
  padding: 11px 14px 11px 38px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.48 !important;
  text-align: left !important;
  width: auto !important;
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: -0.005em !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

body.theme-cinematic:not(.page-home):not(.page-hub-photo) .cta-trigger,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero .cta-trigger {
  background: rgba(214, 40, 40, 0.05) !important;
  color: var(--text) !important;
}

body.theme-cinematic .cta-trigger::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 13px !important;
  top: 13px !important;
  width: 17px !important;
  height: 17px !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.theme-cinematic .cta-trigger::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 13px !important;
  top: 13px !important;
  width: 17px !important;
  height: 17px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 18 3.85 12.3l1.42-1.42 4.28 4.28L18.73 6l1.42 1.43z'/%3E%3C/svg%3E") center / 11px 11px no-repeat !important;
  pointer-events: none !important;
}

body.theme-cinematic .cta-trigger:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #fff !important;
}

body.theme-cinematic:not(.page-home):not(.page-hub-photo) .cta-trigger:hover,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) main.theme-editorial .hero .cta-trigger:hover {
  background: rgba(214, 40, 40, 0.08) !important;
  color: var(--text) !important;
}

@media (max-width: 575.98px) {
  body.theme-cinematic .cta-triggers {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  body.theme-cinematic .cta-trigger {
    padding: 10px 12px 10px 34px !important;
    font-size: 0.9rem !important;
  }

  body.theme-cinematic .cta-trigger::before,
  body.theme-cinematic .cta-trigger::after {
    left: 11px !important;
    top: 11px !important;
    width: 16px !important;
    height: 16px !important;
  }

  body.theme-cinematic .cta-trigger::after {
    background-size: 10px 10px !important;
  }
}

/* ===== Выравнивание ритма секций (v42 — компактнее) ===== */
body.theme-cinematic {
  --section-y: clamp(2.25rem, 4vw, 3.25rem);
  --section-y-sm: clamp(1.75rem, 3vw, 2.5rem);
  --section-head-gap: clamp(1.25rem, 2.5vw, 1.85rem);
  --section-soft-bg: #f0ede6;
  --card-gap: clamp(0.85rem, 1.6vw, 1.15rem);
  --card-pad: clamp(1.15rem, 2.2vw, 1.65rem);
}

body.theme-cinematic .section-soft {
  background: var(--section-soft-bg) !important;
}

body.theme-cinematic main.theme-editorial .merged-from-child.section-soft {
  background: var(--bg) !important;
}

body.theme-cinematic main.theme-editorial > section:not(.hero):not(#home-hero) {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

body.theme-cinematic main.theme-editorial > section.py-4 {
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y-sm);
}

body.theme-cinematic main.theme-editorial section > .container > .text-center.mb-4,
body.theme-cinematic main.theme-editorial section > .container > .text-center.mb-5,
body.theme-cinematic main.theme-editorial .content-card > .text-center.mb-4,
body.theme-cinematic main.theme-editorial .content-card > .text-center.mb-5 {
  margin-bottom: var(--section-head-gap) !important;
}

body.theme-cinematic main.theme-editorial p.section-title {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

body.theme-cinematic main.theme-editorial .content-card > .section-title:first-child,
body.theme-cinematic main.theme-editorial .content-card > h2.section-title:first-child {
  margin-bottom: 1rem !important;
}

body.theme-cinematic main.theme-editorial #contacts .content-card > p {
  color: var(--text-light);
  max-width: 46rem;
  line-height: 1.65;
}

body.theme-cinematic main.theme-editorial #contacts .content-card > .section-title + p {
  margin-top: 0.35rem;
}

body.theme-cinematic main.theme-editorial #contacts .content-card .d-flex.mt-3 {
  margin-top: 1.35rem !important;
}

body.theme-cinematic .hero-inline-trust {
  margin-top: 0.85rem !important;
  color: var(--hero-muted) !important;
  line-height: 1.55 !important;
}

body.theme-cinematic main.theme-editorial .mini-cta {
  margin-top: 1.35rem;
  margin-bottom: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(214, 40, 40, 0.06);
  border: 1px solid rgba(214, 40, 40, 0.1);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

body.theme-cinematic main.theme-editorial .cta-band .text-white,
body.theme-cinematic main.theme-editorial .cta-band .text-white-50 {
  color: var(--text) !important;
  text-shadow: none !important;
}

body.theme-cinematic main.theme-editorial .cta-band p.text-white-50,
body.theme-cinematic main.theme-editorial .cta-band .text-white-50 {
  color: var(--text-light) !important;
}

body.theme-cinematic main.theme-editorial .cta-band-side {
  border-left: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  body.theme-cinematic main.theme-editorial .cta-band-side {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

body.theme-cinematic main.theme-editorial .hero-alert {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(214, 40, 40, 0.07);
  border: 1px solid rgba(214, 40, 40, 0.12);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
}

body.theme-cinematic main.theme-editorial .row.g-4 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

body.theme-cinematic .mini-info-card,
body.theme-cinematic main.theme-editorial .mini-info-card {
  padding: var(--card-pad) !important;
}

body.theme-cinematic main.theme-editorial .benefit-card,
body.theme-cinematic main.theme-editorial #advantages .benefit-card {
  padding: var(--card-pad) !important;
}

body.theme-cinematic main.theme-editorial .related-card {
  padding: var(--card-pad) !important;
}

body.theme-cinematic main.theme-editorial .service-card-body {
  padding: var(--card-pad) !important;
}

body.theme-cinematic main.theme-editorial .guarantee-strip {
  padding: 0.85rem 1rem !important;
  margin-top: 1rem !important;
}

body.theme-cinematic main.theme-editorial .text-center.mb-5 {
  margin-bottom: var(--section-head-gap) !important;
}

body.theme-cinematic .diy-compact .section-title.h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem) !important;
  margin-bottom: 0.65rem !important;
}

body.theme-cinematic .diy-compact .diy-lead,
body.theme-cinematic .diy-compact ul {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

body.theme-cinematic .diy-compact ul {
  margin-bottom: 0.85rem;
  padding-left: 1.15rem;
}

body.theme-cinematic main.theme-editorial > section.diy-section {
  padding-top: var(--section-y-sm);
  padding-bottom: var(--section-y-sm);
}

body.theme-cinematic main.theme-editorial .benefit-card,
body.theme-cinematic main.theme-editorial .mini-info-card {
  height: 100%;
}

body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

@media (min-width: 992px) {
  body.theme-cinematic .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }
}

/* pr-mobile-overflow-guard-v2 */
@media (max-width: 1199.98px) {
  body.theme-cinematic .site-header .custom-navbar > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.theme-cinematic .site-header .custom-navbar .navbar-collapse:not(.show) {
    display: none !important;
  }

  body.theme-cinematic .site-header .navbar-brand.brand-mark {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 178px !important;
  }

  body.theme-cinematic .site-header .brand-lockup,
  body.theme-cinematic .site-header .brand-title,
  body.theme-cinematic .site-header .brand-tagline {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.theme-cinematic .site-header .header-right-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-left: auto !important;
  }

  body.theme-cinematic .site-header .header-messengers-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
  }

  body.theme-cinematic .site-header .header-messengers-desktop,
  body.theme-cinematic .site-header .header-actions {
    display: none !important;
  }

  body.theme-cinematic .site-header .header-messengers-mobile .header-messenger,
  body.theme-cinematic .site-header .custom-toggler,
  body.theme-cinematic .site-header .navbar-toggler {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
  }

  body.theme-cinematic .site-header .custom-toggler,
  body.theme-cinematic .site-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 38px !important;
  }

  body.theme-cinematic .hero-cinematic--page .hero-cinematic__content {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1,
  body.theme-cinematic .hero-subtitle {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.theme-cinematic .hero-actions,
  body.theme-cinematic .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* pr-mobile-final-viewport-v1 */
@media (max-width: 430px) {
  body.theme-cinematic .site-header .navbar-brand.brand-mark {
    max-width: 160px !important;
  }

  body.theme-cinematic .site-header .brand-tagline {
    display: none !important;
  }

  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1 {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
    font-size: clamp(1.7rem, 7.2vw, 2rem) !important;
    line-height: 1.12 !important;
  }

  body.theme-cinematic .hero-badge {
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  body.theme-cinematic .hero-subtitle {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body.theme-cinematic .hero-cinematic--page .hero-cinematic__shell,
  body.theme-cinematic .hero-cinematic--page .hero-cinematic__content {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* pr-mobile-final-viewport-v1 */
@media (max-width: 991.98px) {
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-cinematic__shell {
    max-width: 430px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page .hero-title,
  body.theme-cinematic.page-hub-photo main.theme-editorial .hero-cinematic--page h1 {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    font-size: 1.7rem !important;
    line-height: 1.12 !important;
  }
}

/* ===== HEADER: mobile phone + brand v2 ===== */
body.theme-cinematic .header-phone-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  font-weight: 700;
  font-size: clamp(0.84rem, 3.5vw, 1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

body.theme-cinematic .header-phone-mobile i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.theme-cinematic .header-phone-mobile__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-cinematic .header-phone-mobile:hover,
body.theme-cinematic .header-phone-mobile:focus-visible {
  color: #fff;
  opacity: 0.92;
}

body.theme-cinematic:not(.past-hero) .header-phone-mobile,
body.theme-cinematic.page-home .header-phone-mobile,
body.theme-cinematic.page-hub-photo .header-phone-mobile {
  color: #fff;
}

body.theme-cinematic.past-hero:not(.page-home):not(.page-hub-photo) .header-phone-mobile,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) .header-phone-mobile {
  color: var(--text);
}

body.theme-cinematic.past-hero:not(.page-home):not(.page-hub-photo) .header-phone-mobile i,
body.theme-cinematic:not(.page-home):not(.page-hub-photo) .header-phone-mobile i {
  background: rgba(214, 40, 40, 0.08);
  border-color: rgba(214, 40, 40, 0.14);
  color: var(--accent);
}

@media (max-width: 1199.98px) {
  body.theme-cinematic .header-phone-mobile.d-xl-none {
    display: inline-flex !important;
  }

  body.theme-cinematic .site-header .custom-navbar > .container {
    gap: 6px !important;
  }

  body.theme-cinematic .site-header .header-right-mobile {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 380px) {
  body.theme-cinematic .header-phone-mobile {
    font-size: 0.82rem;
    gap: 6px;
  }

  body.theme-cinematic .header-phone-mobile i {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

@media (min-width: 1200px) {
  body.theme-cinematic .brand-mark:hover .brand-mark__glyph {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(214, 40, 40, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  body.theme-cinematic .brand-mark__glyph {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  body.theme-cinematic.page-home .brand-tagline,
  body.theme-cinematic.page-hub-photo .brand-tagline {
    display: none;
  }
}

/* Section hubs: photo may sit under the transparent header, but hero content starts below it. */
body.theme-cinematic.page-hub-photo:is(
  [data-nav-services^="/mebel"],
  [data-nav-services^="/demonta"],
  [data-nav-services^="/demontazh"],
  [data-nav-services^="/metall"],
  [data-nav-services="/obrabotka-metalla.html#services"]
) .hero-cinematic--page:not(.hero-cinematic--full-photo) {
  margin-top: 0 !important;
}

body.theme-cinematic.page-hub-photo:is(
  [data-nav-services^="/mebel"],
  [data-nav-services^="/demonta"],
  [data-nav-services^="/demontazh"],
  [data-nav-services^="/metall"],
  [data-nav-services="/obrabotka-metalla.html#services"]
) .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 91px) + 32px) !important;
}

@media (max-width: 991px) {
  body.theme-cinematic.page-hub-photo:is(
    [data-nav-services^="/mebel"],
    [data-nav-services^="/demonta"],
    [data-nav-services^="/demontazh"],
    [data-nav-services^="/metall"],
    [data-nav-services="/obrabotka-metalla.html#services"]
  ) .hero-cinematic--page:not(.hero-cinematic--full-photo) .hero-cinematic__shell {
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 82px) + 24px) !important;
  }
}

/* ===== pr-mobile-v80: menu fix, header, hero gap ===== */
@media (max-width: 1199.98px) {
  body.theme-cinematic.menu-open .site-header,
  body.theme-cinematic.mobile-nav-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.theme-cinematic.menu-open .menu-backdrop,
  body.theme-cinematic.mobile-nav-open .menu-backdrop {
    z-index: 10050 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(7, 12, 22, 0.55) !important;
  }

  body.theme-cinematic.menu-open #siteNavbar.navbar-collapse.show,
  body.theme-cinematic.mobile-nav-open #siteNavbar.navbar-collapse.show {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-height, 82px)) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(390px, 92vw) !important;
    max-width: 390px !important;
    height: calc(100dvh - env(safe-area-inset-top, 0px) - var(--header-height, 82px)) !important;
    margin: 0 !important;
    padding: 12px 14px 22px !important;
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10070 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #0f1419 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45) !important;
  }

  body.theme-cinematic .site-header .custom-navbar > .container {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  body.theme-cinematic .site-header .navbar-brand.brand-mark--header {
    display: inline-flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 11rem) !important;
    overflow: hidden !important;
    margin-right: auto !important;
  }

  body.theme-cinematic .site-header .brand-mark--header .brand-lockup {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body.theme-cinematic .site-header .brand-mark--header .brand-mark__glyph {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  body.theme-cinematic .site-header .brand-mark--header .brand-tagline {
    display: none !important;
  }

  body.theme-cinematic .site-header .brand-mark--header .brand-title {
    font-size: clamp(0.92rem, 3.8vw, 1.05rem) !important;
  }

  body.theme-cinematic .site-header .header-right-mobile {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    gap: 6px !important;
  }

  body.theme-cinematic .site-header .header-messengers-mobile {
    display: none !important;
  }

  body.theme-cinematic .header-phone-mobile {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 11.5rem;
    padding: 0 2px !important;
    font-size: clamp(0.78rem, 3.2vw, 0.92rem) !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
  }

  body.theme-cinematic .header-phone-mobile i {
    display: none !important;
  }

  body.theme-cinematic .header-phone-mobile__text {
    display: inline !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 991.98px) {
  body.theme-cinematic {
    --hero-content-offset: calc(env(safe-area-inset-top, 0px) + var(--header-height, 82px) + 6px);
  }

  body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__shell,
  body.theme-cinematic.page-hub-photo .hero-cinematic--full-photo .hero-cinematic__shell {
    padding-top: var(--hero-content-offset) !important;
    padding-bottom: 4px !important;
  }

  body.theme-cinematic .hero-cinematic--full-photo.py-5,
  body.theme-cinematic .hero-cinematic--page.py-5 {
    padding-top: 0 !important;
    padding-bottom: 32px !important;
  }

  body.theme-cinematic .hero-cinematic--full-photo .hero-cinematic__shell.py-2,
  body.theme-cinematic .hero-cinematic--page .hero-cinematic__shell.py-2 {
    padding-top: var(--hero-content-offset) !important;
    padding-bottom: 0 !important;
  }

  body.theme-cinematic .hero-cinematic__breadcrumbs {
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body.theme-cinematic.page-hub-photo .hero-cinematic--page .hero-cinematic__breadcrumbs {
    margin-top: 0 !important;
  }

  body.theme-cinematic.page-home #home-hero.hero-cinematic:not(.hero-cinematic--full-photo) {
    padding-top: calc(var(--header-height, 82px) + 4px) !important;
  }
}

@media (max-width: 575.98px) {
  body.theme-cinematic.page-home #home-hero .hero-cinematic__services {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
    max-width: 100% !important;
    justify-content: stretch !important;
  }

  body.theme-cinematic.page-home #home-hero .hero-cinematic__services li {
    min-width: 0 !important;
  }

  body.theme-cinematic.page-home #home-hero .hero-cinematic__services a {
    min-width: 0 !important;
    width: 100% !important;
    gap: 6px !important;
  }

  body.theme-cinematic.page-home #home-hero .hero-cinematic__services i {
    width: auto !important;
    height: auto !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
  }

  body.theme-cinematic.page-home #home-hero .hero-cinematic__icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
  }

  body.theme-cinematic.page-home #home-hero .hero-cinematic__services a span:last-child {
    display: block !important;
    width: 100% !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
}

/* ===== pr-mobile-v84: bigger phone, brand clipped ===== */
@media (max-width: 1199.98px) {
  body.theme-cinematic .site-header .custom-navbar > .container {
    gap: 8px !important;
    overflow: hidden !important;
  }

  body.theme-cinematic .site-header .navbar-brand.brand-mark--header {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 11rem) !important;
    overflow: hidden !important;
  }

  body.theme-cinematic .site-header .brand-mark--header .brand-lockup,
  body.theme-cinematic .site-header .brand-mark--header .brand-title {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.theme-cinematic .site-header .header-right-mobile {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
  }

  body.theme-cinematic .header-phone-mobile {
    flex: 0 0 auto !important;
    max-width: 8.6rem !important;
    min-height: 38px !important;
    padding: 0 !important;
    font-size: clamp(0.86rem, 3.5vw, 0.96rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
    align-items: center !important;
    text-underline-offset: 2px !important;
  }
}

@media (max-width: 480px) {
  body.theme-cinematic .site-header .navbar-brand.brand-mark--header {
    max-width: calc(100% - 10.5rem) !important;
  }

  body.theme-cinematic .header-phone-mobile {
    font-size: 0.84rem !important;
    max-width: 8.35rem !important;
  }
}
