:root {
  --hv-blue: #006edc;
  --hv-blue-2: #2997ff;
  --hv-ink: #1d1d1f;
  --hv-muted: #6e6e73;
  --hv-soft: #f5f5f7;
  --hv-ice: #eef8ff;
  --hv-line: rgba(29, 29, 31, .12);
  --blue: #006edc;
  --blue-dark: #003f88;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, .12);
  --surface-soft: #f5f5f7;
  --shadow: 0 24px 70px rgba(21, 65, 107, .12);
  --container: min(1180px, calc(100% - 48px));
  --header-height: 56px;
}

/* Keep every circular carousel/lightbox control optically centered. */
body.hv-site-page .hero__arrow,
body.hv-site-page .hero-slider__arrow,
body.hv-site-page .hero-slider__control,
body.hv-site-page .slider-control,
body.hv-site-page .lightbox__close,
body.hv-site-page .lightbox__nav,
body.hv-site-page .photo-lightbox__close,
body.hv-site-page .photo-lightbox__nav,
body.hv-site-page .modal__close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
}

body.hv-site-page .hv-round-control__icon {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  flex: 0 0 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body.hv-site-page {
  width: 100%; max-width: 100%; margin: 0; overflow-x: hidden;
  background: #fff; color: var(--hv-ink);
}
body.hv-site-page, body.hv-site-page button, body.hv-site-page input,
body.hv-site-page textarea, body.hv-site-page select {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body.hv-site-page *, body.hv-site-page *::before, body.hv-site-page *::after { box-sizing: border-box; }
body.hv-site-page img, body.hv-site-page video, body.hv-site-page iframe { max-width: 100%; }
body.hv-site-page h1,
body.hv-site-page h2,
body.hv-site-page h3,
body.hv-site-page .project-card__body strong,
body.hv-site-page .project-title,
body.hv-site-page .hero__overlay strong {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}
body.hv-site-page p,
body.hv-site-page li { text-wrap: pretty; }
body.hv-site-page .elementor, body.hv-site-page .elementor-location-single { width: 100%; }
body.hv-site-page .elementor > .e-con,
body.hv-site-page .hv-site-root.e-con {
  width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0;
  gap: 0; --gap: 0; --row-gap: 0; --column-gap: 0;
}
body.hv-site-page .elementor-widget-hv-design-section,
body.hv-site-page .elementor-widget-hv-design-section > .elementor-widget-container { display: contents; }
body.hv-site-page .hv-fragment-shell { display: contents; }
body.hv-site-page .hv-site-root > .elementor-element { width: 100%; }
body.hv-site-page .section, body.hv-site-page section[id], body.hv-site-page div[id] { scroll-margin-top: 76px; }

/* The shared header contains a legacy skip link from the source templates.
   Hide it consistently on every generated page instead of relying on the
   homepage-only stylesheet. */
body.hv-site-page .skip-link {
  display: none !important;
}

/* Content must never disappear when a page script is delayed or Elementor
   inserts a section dynamically. Motion is decorative, visibility is not. */
body.hv-site-page .reveal,
body.hv-site-page [data-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Elementor inserts widgets after the page scripts have already run. Keep the
   whole section selectable and visible in the editor, including mobile mode. */
body.elementor-editor-active .elementor-widget-hv-design-section,
body.elementor-editor-preview .elementor-widget-hv-design-section,
body.elementor-editor-active .elementor-widget-hv-design-section > .elementor-widget-container,
body.elementor-editor-preview .elementor-widget-hv-design-section > .elementor-widget-container {
  display: block !important;
  width: 100% !important;
  min-height: 1px !important;
}
body.elementor-editor-active .reveal,
body.elementor-editor-preview .reveal,
body.elementor-editor-active [data-reveal],
body.elementor-editor-preview [data-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
body.elementor-editor-active .elementor-inline-editing,
body.elementor-editor-preview .elementor-inline-editing {
  /* Elementor wraps every editable token in an extra span.  Page styles use
     ordinary spans for numbers, pills and controls, so the editor wrapper
     must remain typographically neutral instead of becoming a second UI
     element inside the real one. */
  display: inline !important;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-align: inherit !important;
  text-transform: inherit !important;
  white-space: inherit !important;
  overflow-wrap: inherit !important;
  word-break: inherit !important;
  transform: none !important;
  opacity: 1 !important;
  outline-offset: 4px;
}

/* The approved header is reused unchanged on all twelve pages. These rules
   are deliberately loaded after every page stylesheet. */
body.hv-site-page .site-header {
  position: relative !important; z-index: 1200 !important; top: auto; right: auto; left: auto;
  width: 100% !important; height: var(--header-height) !important; padding: 0 !important;
  border: 0 !important; border-bottom: 1px solid transparent !important;
  background: rgba(255,255,255,.94) !important; color: var(--hv-ink) !important;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* The partner ribbon must remain continuous even when the visitor has reduced
   motion enabled. A slower speed is used there instead of stopping the strip. */
.partner-section .partner-marquee__track {
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  gap: 0 !important;
  animation: partner-scroll 30s linear infinite !important;
  will-change: transform;
}
.partner-section .partner-marquee {
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%) !important;
}
.partner-section .partner-marquee__group {
  width: auto !important;
  padding: 0 16px 0 0 !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 16px !important;
}
body.hv-site-page .site-header.is-scrolled { border-bottom-color: var(--line) !important; box-shadow: 0 5px 20px rgba(29,29,31,.04); }
body.hv-site-page .header__inner {
  width: var(--container) !important; height: 100% !important; margin: 0 auto !important;
  display: flex !important; flex-direction: row !important; align-items: center !important;
  gap: 26px !important; padding: 0 !important;
}
body.hv-site-page .brand { display: inline-flex !important; align-items: center !important; flex: 0 0 auto !important; margin: 0 !important; }
body.hv-site-page .brand img { display: block; width: 132px !important; height: auto !important; max-height: 50px; object-fit: contain; }
body.hv-site-page .desktop-nav {
  position: static !important; width: auto !important; height: auto !important; padding: 0 !important;
  display: flex !important; flex-direction: row !important; align-items: center !important;
  justify-content: center !important; gap: 17px !important; margin: 0 0 0 auto !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
}
body.hv-site-page .desktop-nav .hv-nav-key { color: var(--hv-blue) !important; font-weight: 680 !important; }
body.hv-site-page .mobile-menu .hv-mobile-key { color: var(--hv-blue) !important; }

/* Supplied partner artwork is displayed at its natural proportion and never
   cropped. The fixed card footprint keeps the duplicated marquee cycles
   exactly equal, which prevents a visible jump at the loop boundary. */
.partner-section .partner-pill--logo {
  width: 220px !important;
  min-width: 220px !important;
  flex: 0 0 220px !important;
  height: 104px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  place-items: center !important;
  padding: 20px 26px !important;
  overflow: hidden !important;
  background: #fff !important;
}
@media (max-width: 640px) {
  .partner-section .partner-marquee__track { animation-duration: 22s !important; }
  .partner-section .partner-pill--logo { width: 205px !important; min-width: 205px !important; flex-basis: 205px !important; }
}

.hv-legal-page { background: #f6f8fb; padding: 56px 20px; color: #15191f; }
.hv-legal-page__inner { width: min(920px, 100%); margin: 0 auto; padding: 48px; border-radius: 24px; background: #fff; box-shadow: 0 14px 48px rgba(27, 54, 84, .08); }
.hv-legal-page h1 { margin: 0 0 28px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.hv-legal-page h2 { margin: 34px 0 14px; font-size: 24px; line-height: 1.25; }
.hv-legal-page p, .hv-legal-page li { font-size: 16px; line-height: 1.7; }
@media (max-width: 640px) { .hv-legal-page { padding: 24px 12px; } .hv-legal-page__inner { padding: 26px 20px; border-radius: 18px; } }
.partner-section .partner-pill--logo img {
  display: block !important;
  width: 100% !important;
  max-width: 168px !important;
  height: 58px !important;
  max-height: 58px !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body.hv-site-page .desktop-nav .nav-link {
  display: inline-flex !important; width: auto !important; min-height: 44px !important;
  align-items: center !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; color: var(--hv-ink) !important;
  font-size: 13px !important; font-weight: 560 !important; line-height: 1.2 !important;
  text-decoration: none !important; white-space: nowrap;
}
body.hv-site-page .desktop-nav .nav-link:hover { color: var(--hv-blue) !important; }
body.hv-site-page .nav-dropdown { position: relative !important; display: block !important; }
body.hv-site-page .nav-dropdown__control {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
}
body.hv-site-page .nav-dropdown__main { flex: 0 0 auto !important; }
body.hv-site-page .nav-dropdown__trigger {
  width: 28px !important;
  min-width: 28px !important;
  min-height: 44px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--hv-ink) !important;
  cursor: pointer !important;
}
body.hv-site-page .nav-dropdown__trigger svg {
  display: inline-block !important; width: 14px !important; height: 14px !important; margin: 0 !important;
  fill: none !important; stroke: currentColor !important; stroke-width: 1.5 !important;
}
body.hv-site-page .nav-dropdown__panel {
  position: absolute !important; z-index: 10; top: calc(100% + 8px) !important; left: -24px !important;
  width: min(620px, 80vw) !important; padding: 14px !important;
  border: 1px solid var(--line) !important; border-radius: 22px !important;
  background: rgba(255,255,255,.98) !important; box-shadow: var(--shadow) !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 6px !important;
}
body.hv-site-page .nav-dropdown__panel[hidden] { display: none !important; }
body.hv-site-page .nav-dropdown__panel:not([hidden]) { display: grid !important; }
body.hv-site-page .nav-dropdown__panel a { display: block !important; padding: 15px !important; border-radius: 14px; color: var(--hv-ink) !important; font-size: 15px !important; font-weight: 650 !important; text-decoration: none; }
body.hv-site-page .nav-dropdown__panel a:hover { background: var(--hv-soft) !important; color: var(--hv-blue) !important; }
body.hv-site-page .nav-dropdown__panel span { display: block !important; margin-top: 3px; color: var(--hv-muted) !important; font-size: 12px !important; font-weight: 450; }
body.hv-site-page .header__actions {
  position: static !important; display: flex !important; flex-direction: row !important;
  align-items: center !important; gap: 10px !important; margin-left: auto !important;
}
body.hv-site-page .header__actions .icon-button {
  width: 44px !important; height: 44px !important; min-height: 44px !important;
  display: inline-grid !important; place-items: center !important; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; background: transparent !important;
}
body.hv-site-page .header__actions .icon-button svg { width: 21px !important; height: 21px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.7 !important; }
body.hv-site-page .header-phone { display: inline-flex !important; width: auto !important; color: var(--hv-ink) !important; font-size: 13px !important; font-weight: 650 !important; white-space: nowrap; }
body.hv-site-page .header-consult { display: inline-flex !important; width: auto !important; min-height: 42px !important; padding: 10px 18px !important; background: var(--hv-blue) !important; color: #fff !important; border-radius: 999px !important; }
body.hv-site-page .menu-toggle {
  display: none !important; width: 44px !important; height: 44px !important; min-height: 44px !important;
  padding: 0 !important; border: 0 !important; background: transparent !important;
  position: relative !important; cursor: pointer;
}
body.hv-site-page .menu-toggle span { position: absolute !important; left: 12px !important; width: 20px !important; height: 1.5px !important; background: currentColor !important; }
body.hv-site-page .menu-toggle span:first-child { top: 17px !important; }
body.hv-site-page .menu-toggle span:last-child { top: 25px !important; }
body.hv-site-page .menu-toggle[aria-expanded="true"] span:first-child { top: 21px !important; transform: rotate(45deg); }
body.hv-site-page .menu-toggle[aria-expanded="true"] span:last-child { top: 21px !important; transform: rotate(-45deg); }
body.hv-site-page .mobile-menu {
  position: fixed !important; z-index: 1100 !important; inset: var(--header-height) 0 0 !important;
  display: none !important; width: 100% !important; padding: 0 !important;
  background: rgba(255,255,255,.985) !important; color: var(--hv-ink) !important;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease;
}
body.hv-site-page .mobile-menu.is-open { opacity: 1 !important; visibility: visible !important; transform: none !important; }
body.hv-site-page .mobile-menu__inner { height: 100%; display: flex !important; flex-direction: column !important; padding-top: 30px; padding-bottom: 30px; overflow-y: auto; }
body.hv-site-page .mobile-menu nav > a,
body.hv-site-page .mobile-menu summary { display: block !important; padding: 14px 0 !important; border-bottom: 1px solid var(--line) !important; color: var(--hv-ink) !important; font-size: 28px !important; font-weight: 690 !important; text-decoration: none !important; list-style: none; }
body.hv-site-page .mobile-menu summary::after { content: "+"; float: right; color: var(--hv-muted); font-weight: 400; }
body.hv-site-page .mobile-menu details[open] summary::after { content: "−"; }
body.hv-site-page .mobile-subnav { display: grid !important; padding: 10px 0 14px 18px !important; }
body.hv-site-page .mobile-subnav a { padding: 8px 0 !important; color: var(--hv-muted) !important; font-size: 18px !important; }
body.hv-site-page .mobile-menu__footer { margin-top: auto; display: grid !important; gap: 16px; padding-top: 30px; }
body.hv-site-page .mobile-menu__footer > a { font-size: 20px; font-weight: 650; }
body.admin-bar.hv-site-page .site-header { top: 32px; }
body.admin-bar.hv-site-page .mobile-menu { top: calc(var(--header-height, 56px) + 32px); }
body.hv-site-page .mobile-menu:not(.is-open) { opacity: 0; visibility: hidden; pointer-events: none; }
body.hv-site-page .mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
body.hv-site-page.is-locked { overflow: hidden; }

/* Every large section remains light. Blue is kept for accents and controls. */
body.hv-site-page .section--dark,
body.hv-site-page section.dark,
body.hv-site-page .consultation-card,
body.hv-site-page .cta__box,
body.hv-site-page .project-cta,
body.hv-site-page .project-cta__inner,
body.hv-site-page .why,
body.hv-site-page .request__shell {
  background: var(--hv-ice) !important;
  color: var(--hv-ink) !important;
}
body.hv-site-page .consultation-card h2,
body.hv-site-page .consultation-card h3,
body.hv-site-page .consultation-card p,
body.hv-site-page .cta__box h2,
body.hv-site-page .cta__box h3,
body.hv-site-page .cta__box p,
body.hv-site-page .project-cta h2,
body.hv-site-page .project-cta h3,
body.hv-site-page .project-cta p,
body.hv-site-page .why h2,
body.hv-site-page .why h3,
body.hv-site-page .why p,
body.hv-site-page .request__shell h2,
body.hv-site-page .request__shell h3,
body.hv-site-page .request__shell p { color: inherit !important; }
body.hv-site-page .consultation-card .button--white,
body.hv-site-page .cta__box .button--white,
body.hv-site-page .project-cta .button--white { background: var(--hv-blue) !important; color: #fff !important; }
body.hv-site-page .consultation-card .button--outline-white,
body.hv-site-page .cta__box .button--outline-white,
body.hv-site-page .project-cta .button--outline-white {
  border-color: var(--hv-blue) !important; color: var(--hv-blue) !important; background: #fff !important;
}

/* Text in project cards is placed below the visual instead of over it. */
body.hv-site-page .project-grid .project-card {
  display: grid !important; grid-template-rows: minmax(230px, 1fr) auto;
  min-height: 0 !important; overflow: hidden; background: #fff;
  border: 1px solid var(--hv-line); border-radius: 24px;
}
body.hv-site-page .project-grid .project-art {
  position: relative !important; inset: auto !important; min-height: 230px; transform: none;
}
body.hv-site-page .project-grid .project-art--photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .5s var(--ease);
}
body.hv-site-page .project-grid .project-art--photo::before,
body.hv-site-page .project-grid .project-art--photo::after {
  content: none !important;
  display: none !important;
}
body.hv-site-page .project-grid .project-card:hover .project-art--photo img {
  transform: scale(1.025);
}

/* Keep words intact on every page. Individual headings may still wrap at
   normal spaces, but never in the middle of a word. Settlement abbreviations
   are additionally tied to their names in the saved text by the upgrader. */
body.hv-site-page h1,
body.hv-site-page h2,
body.hv-site-page h3,
body.hv-site-page h4,
body.hv-site-page h5,
body.hv-site-page h6,
body.hv-site-page p,
body.hv-site-page a,
body.hv-site-page span,
body.hv-site-page strong,
body.hv-site-page small,
body.hv-site-page label {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Supplied homepage solution photos replace the abstract drawings completely:
   no circular decoration, gradient plate or additional background remains. */
body.hv-site-page-glavnaya .solution-card {
  background: #fff !important;
  display: grid !important;
  grid-template-rows: minmax(190px, auto) auto !important;
  align-content: stretch !important;
  padding-bottom: 0 !important;
}
body.hv-site-page-glavnaya .solution-visual--photo {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  align-self: end !important;
  margin: 0 calc(-1 * clamp(28px, 4vw, 46px)) !important;
  width: calc(100% + clamp(28px, 4vw, 46px) + clamp(28px, 4vw, 46px)) !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.hv-site-page-glavnaya .solution-visual--photo::before,
body.hv-site-page-glavnaya .solution-visual--photo::after {
  content: none !important;
  display: none !important;
}
body.hv-site-page-glavnaya .solution-visual--photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

body.hv-site-page-glavnaya .solution-card:hover .solution-visual--photo {
  transform: none !important;
}

@media (max-width: 767px) {
  body.hv-site-page-glavnaya .solution-card .solution-visual--photo {
    width: calc(100% + 48px) !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 10px -24px 0 !important;
  }
}
body.hv-site-page .project-grid .project-card__copy {
  position: relative !important; inset: auto !important; padding: 20px 22px 22px !important;
  background: #fff !important; color: var(--hv-ink) !important;
}
body.hv-site-page .project-grid .project-card__copy p,
body.hv-site-page .project-grid .project-card__copy span { color: var(--hv-muted) !important; }

/* Stable home-project grid: artwork and captions always stay inside cards. */
body.hv-site-page-glavnaya .project-grid {
  grid-template-rows: repeat(2, minmax(360px, auto)) !important;
  align-items: stretch !important;
}
body.hv-site-page-glavnaya .project-grid .project-card {
  grid-template-rows: minmax(0, 1fr) 132px !important;
  height: 100% !important;
  min-width: 0 !important;
}
body.hv-site-page-glavnaya .project-grid .project-card__copy {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 132px !important;
  padding: 17px 20px 18px !important;
  overflow: hidden !important;
}
body.hv-site-page-glavnaya .project-grid .project-card__copy p {
  margin: 0 0 6px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}
body.hv-site-page-glavnaya .project-grid .project-card__copy h3,
body.hv-site-page-glavnaya .project-grid .project-card--large .project-card__copy h3 {
  margin: 0 0 7px !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
  line-height: 1.22 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}
body.hv-site-page-glavnaya .project-grid .project-card__copy span {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

@media (max-width: 1023px) {
  body.hv-site-page-glavnaya .project-grid {
    grid-template-rows: minmax(440px, auto) repeat(2, minmax(350px, auto)) !important;
  }
  body.hv-site-page-glavnaya .project-grid .project-card {
    grid-template-rows: minmax(0, 1fr) 132px !important;
  }
}

/* 14.6.3: independent mobile header. Elementor may hide the original shared
   header widget in responsive preview, so mobile navigation cannot depend on
   that widget's parent container. */
.hv-mobile-fixed-header,
.hv-mobile-fixed-menu { display: none; }

@media (max-width: 1023px) {
  body.hv-site-page .site-header:not(.hv-mobile-fixed-header),
  body.hv-site-page .mobile-menu:not(.hv-mobile-fixed-menu) { display: none !important; }

  body.hv-site-page .hv-mobile-fixed-header {
    position: sticky !important;
    z-index: 5000 !important;
    top: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    border-bottom: 1px solid rgba(29,29,31,.1) !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 4px 16px rgba(21,65,107,.06) !important;
    overflow: visible !important;
  }
  /* WordPress already reserves the admin-bar height in the document. Adding
     it again as sticky top shifted the header over the first breadcrumbs. */
  body.admin-bar.hv-site-page .hv-mobile-fixed-header { top: 0 !important; }
  body.hv-site-page .hv-mobile-fixed-header__brand {
    width: auto !important;
    max-width: calc(100% - 64px) !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  body.hv-site-page .hv-mobile-fixed-header__brand img {
    display: block !important;
    width: 126px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  body.hv-site-page .hv-mobile-fixed-header__toggle {
    position: relative !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: block !important;
    flex: 0 0 46px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #0759a7 !important;
  }
  body.hv-site-page .hv-mobile-fixed-header__toggle span {
    position: absolute !important;
    left: 9px !important;
    width: 28px !important;
    height: 3px !important;
    display: block !important;
    border-radius: 3px !important;
    background: #0759a7 !important;
    opacity: 1 !important;
    transition: top .2s ease, transform .2s ease, opacity .2s ease !important;
  }
  body.hv-site-page .hv-mobile-fixed-header__toggle span:nth-child(1) { top: 13px !important; }
  body.hv-site-page .hv-mobile-fixed-header__toggle span:nth-child(2) { top: 22px !important; }
  body.hv-site-page .hv-mobile-fixed-header__toggle span:nth-child(3) { top: 31px !important; }
  body.hv-site-page .hv-mobile-fixed-header__toggle.is-open span:nth-child(1) { top: 22px !important; transform: rotate(45deg) !important; }
  body.hv-site-page .hv-mobile-fixed-header__toggle.is-open span:nth-child(2) { opacity: 0 !important; }
  body.hv-site-page .hv-mobile-fixed-header__toggle.is-open span:nth-child(3) { top: 22px !important; transform: rotate(-45deg) !important; }

  body.hv-site-page .hv-mobile-fixed-menu {
    position: fixed !important;
    z-index: 4999 !important;
    top: var(--hv-mobile-menu-top, 64px) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 18px 20px 28px !important;
    background: rgba(255,255,255,.99) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease !important;
    overflow-y: auto !important;
  }
  body.hv-site-page .hv-mobile-fixed-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  body.hv-site-page .hv-mobile-fixed-menu nav { display: grid !important; }
  body.hv-site-page .hv-mobile-fixed-menu nav a {
    display: block !important;
    padding: 12px 2px !important;
    border-bottom: 1px solid rgba(29,29,31,.1) !important;
    color: #1d1d1f !important;
    font-size: 20px !important;
    font-weight: 680 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }
  body.hv-site-page .hv-mobile-systems {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(29,29,31,.1) !important;
  }
  body.hv-site-page .hv-mobile-systems__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: center !important;
  }
  body.hv-site-page .hv-mobile-fixed-menu nav .hv-mobile-systems__head > a {
    border-bottom: 0 !important;
  }
  body.hv-site-page .hv-mobile-systems__head button {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  body.hv-site-page .hv-mobile-systems__head button span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 9px !important;
    height: 9px !important;
    border-right: 2px solid #0759a7 !important;
    border-bottom: 2px solid #0759a7 !important;
    transform: translate(-50%, -65%) rotate(45deg) !important;
    transition: transform .2s ease !important;
  }
  body.hv-site-page .hv-mobile-systems__head button[aria-expanded="true"] span {
    transform: translate(-50%, -30%) rotate(225deg) !important;
  }
  body.hv-site-page .hv-mobile-systems__links {
    display: grid !important;
    padding: 0 0 10px 16px !important;
  }
  body.hv-site-page .hv-mobile-systems__links[hidden] { display: none !important; }
  body.hv-site-page .hv-mobile-fixed-menu nav .hv-mobile-systems__links a {
    padding: 10px 10px !important;
    border-bottom: 0 !important;
    color: #424245 !important;
    font-size: 16px !important;
    font-weight: 560 !important;
  }
  body.hv-site-page .hv-mobile-fixed-menu > .button {
    width: 100% !important;
    margin-top: 20px !important;
    color: #fff !important;
  }
}

@media (max-width: 767px) {
  body.hv-site-page-glavnaya .project-grid {
    grid-template-rows: none !important;
    grid-auto-rows: minmax(340px, auto) !important;
  }
  body.hv-site-page-glavnaya .project-grid .project-card,
  body.hv-site-page-glavnaya .project-grid .project-card--large {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-rows: minmax(210px, 1fr) auto !important;
  }
  body.hv-site-page-glavnaya .project-grid .project-card__copy {
    min-height: 118px !important;
    padding: 16px 17px 18px !important;
    overflow: visible !important;
  }
}

/* 14.6.2: prevent the mobile document from becoming wider than the viewport.
   The overflow previously moved the right side of the header (including the
   menu button) outside the visible screen. */
@media (max-width: 1023px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
  }
  body.hv-site-page {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }
  body.hv-site-page #page,
  body.hv-site-page .elementor,
  body.hv-site-page .elementor-page,
  body.hv-site-page .hv-site-root,
  body.hv-site-page .hv-fragment-shell,
  body.hv-site-page main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .hv-site-root,
  body.hv-site-page main { overflow-x: clip !important; }

  body.hv-site-page .site-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  body.hv-site-page .site-header .header__inner {
    position: relative !important;
    width: calc(100% - 24px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 12px !important;
    padding-right: 54px !important;
    overflow: visible !important;
  }
  body.hv-site-page .site-header .brand {
    min-width: 0 !important;
    max-width: calc(100% - 54px) !important;
  }
  body.hv-site-page .site-header .header__actions {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }
  body.hv-site-page .site-header .menu-toggle {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
  }
}

/* 14.4 release fixes: stable public layouts for Contacts and Catalog. */
@media (min-width: 1121px) {
  body.hv-site-page-kontakty .contact-hero__grid {
    grid-template-columns: minmax(430px, .88fr) minmax(620px, 1.12fr) !important;
    gap: 34px !important;
  }
}
body.hv-site-page-kontakty .hero-copy h1 {
  margin-bottom: 16px !important;
  font-size: clamp(48px, 4.2vw, 68px) !important;
  line-height: 1 !important;
}
body.hv-site-page-kontakty .contact-summary__row {
  grid-template-columns: 38px 74px minmax(0, 1fr) !important;
}
body.hv-site-page-kontakty .contact-summary__value {
  font-size: 13px !important;
  line-height: 1.35 !important;
}
body.hv-site-page-kontakty .hero-actions .button--primary {
  min-width: 190px !important;
  color: #fff !important;
}
body.hv-site-page-kontakty .contact-form > .button--primary {
  color: #fff !important;
}

/* 14.6: stable public mobile layout and form controls. */
body.hv-site-page label.agreement,
body.hv-site-page .agreement,
body.hv-site-page label.form__consent,
body.hv-site-page .form__consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.hv-site-page .agreement input[type="checkbox"],
body.hv-site-page .form__consent input[type="checkbox"] {
  position: static !important;
  display: block !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
}
body.hv-site-page .agreement > span,
body.hv-site-page .form__consent > span {
  min-width: 0 !important;
  line-height: 1.45 !important;
  overflow-wrap: break-word !important;
}

@media (min-width: 1051px) {
  body.hv-site-page-katalog-tovarov .hero__grid {
    grid-template-columns: minmax(420px, .9fr) minmax(540px, 1.1fr) !important;
    gap: 50px !important;
    align-items: center !important;
  }
}
body.hv-site-page-katalog-tovarov .hero__copy .breadcrumbs {
  position: static !important;
  width: auto !important;
  margin: 0 0 23px !important;
  display: flex !important;
}
body.hv-site-page-katalog-tovarov .hero__actions .button--primary {
  min-width: 172px !important;
  color: #fff !important;
  background: var(--hv-blue) !important;
}

/* Shared footer: white on all pages, with readable schedules. */
body.hv-site-page .hv-unified-footer { background: #fff !important; color: #424245 !important; }
body.hv-site-page .hv-unified-footer {
  width: 100% !important; padding: 64px 0 28px !important;
  border-top: 1px solid #e5e5e7 !important;
}
body.hv-site-page .hv-unified-footer .container { width: var(--container) !important; max-width: 1180px; margin: 0 auto !important; padding: 0 !important; }
body.hv-site-page .hv-unified-footer .footer-grid {
  display: grid !important; grid-template-columns: 1.45fr repeat(4,minmax(0,1fr)) !important;
  gap: 30px !important; align-items: start !important;
}
body.hv-site-page .hv-unified-footer .footer-brand { display: block !important; }
body.hv-site-page .hv-unified-footer .footer-brand img { display: block; width: 170px !important; height: auto !important; filter: none !important; }
body.hv-site-page .hv-unified-footer .footer-brand p { max-width: 290px; margin: 18px 0 0 !important; color: var(--hv-muted) !important; font-size: 14px !important; line-height: 1.55; }
body.hv-site-page .hv-unified-footer .footer-grid > div:not(.footer-brand) { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; }
body.hv-site-page .hv-unified-footer h2 { margin: 0 0 15px !important; color: var(--hv-ink) !important; font-size: 16px !important; line-height: 1.25; }
body.hv-site-page .hv-unified-footer a { display: block !important; margin: 0 0 10px !important; padding: 0 !important; color: #424245 !important; background: transparent !important; font-size: 14px !important; line-height: 1.45; text-align: left !important; text-decoration: none !important; }
body.hv-site-page .hv-unified-footer p { margin: 0 0 10px !important; color: var(--hv-muted) !important; font-size: 14px !important; line-height: 1.5; }
body.hv-site-page .hv-unified-footer .footer-bottom { display: flex !important; flex-direction: row !important; justify-content: space-between !important; gap: 24px !important; margin-top: 42px !important; padding-top: 22px !important; border-top: 1px solid #e5e5e7 !important; }
body.hv-site-page .hv-unified-footer .hv-footer-hours { margin-top: 13px; }
body.hv-site-page .hv-unified-footer .hv-footer-hours strong { color: var(--hv-ink); }
body.hv-site-page .hv-unified-footer .footer-grid > div:last-child > p:nth-of-type(2) {
  white-space: nowrap !important;
  font-size: 12px !important;
  letter-spacing: -.01em;
}

/* Stable forms and touch targets. */
body.hv-site-page button, body.hv-site-page a, body.hv-site-page input,
body.hv-site-page select, body.hv-site-page textarea { max-width: 100%; }
body.hv-site-page .hv-form-message { margin-top: 12px; font-size: 14px; font-weight: 650; }
body.hv-site-page .hv-form-message.is-success { color: #027a48; }
body.hv-site-page .hv-form-message.is-error { color: #b42318; }
body.hv-site-page .wizard__error.is-visible,
body.hv-site-page .form-message.is-error,
body.hv-site-page .form__status.is-error,
body.hv-site-page .hv-form-message.is-error {
  display: block !important; width: 100% !important; margin: 14px 0 0 !important;
  padding: 12px 14px !important; border: 1px solid rgba(180,35,24,.2) !important;
  border-radius: 12px !important; background: #fff0f0 !important; color: #b42318 !important;
  font-size: 14px !important; font-weight: 700 !important; line-height: 1.4 !important;
  overflow-wrap: break-word !important;
}
body.hv-site-page .wizard__error.is-success,
body.hv-site-page .form-message.is-success,
body.hv-site-page .form__status.is-success,
body.hv-site-page .hv-form-message.is-success {
  display: block !important; width: 100% !important; margin: 14px 0 0 !important;
  padding: 12px 14px !important; border-radius: 12px !important;
  background: #ecfdf3 !important; color: #027a48 !important; font-weight: 700 !important;
}
body.hv-site-page .hv-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

body.hv-site-page .hv-max-icon { display: block !important; width: 22px !important; height: 22px !important; flex: 0 0 22px !important; object-fit: contain !important; }
body.hv-site-page .cookie-banner,
body.hv-site-page .hv-cookie-banner {
  position: fixed !important; z-index: 9999 !important; right: 20px !important; bottom: 20px !important;
  width: min(440px, calc(100% - 40px)) !important; padding: 18px !important;
  border: 1px solid var(--hv-line) !important; border-radius: 20px !important;
  background: rgba(255,255,255,.98) !important; box-shadow: 0 24px 70px rgba(21,65,107,.18) !important;
  color: var(--hv-ink) !important; backdrop-filter: blur(16px);
}
body.hv-site-page .cookie-banner[hidden] { display: none !important; }
body.hv-site-page .cookie-banner p { margin: 0 0 14px !important; color: var(--hv-muted) !important; font-size: 14px !important; line-height: 1.5 !important; }
body.hv-site-page .cookie-banner > div { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 14px !important; }
body.hv-site-page .cookie-banner a { color: var(--hv-blue) !important; font-size: 13px !important; font-weight: 650 !important; }

@media (max-width: 1180px) {
  body.hv-site-page .desktop-nav { gap: 12px !important; }
  body.hv-site-page .desktop-nav .nav-link { font-size: 12px !important; }
  body.hv-site-page .header-phone { display: none !important; }
}

@media (max-width: 1023px) {
  body.hv-site-page .desktop-nav, body.hv-site-page .header-consult { display: none !important; }
  body.hv-site-page .site-header .header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  body.hv-site-page .site-header .header__actions {
    position: relative !important;
    display: flex !important;
    width: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
    margin-left: auto !important;
    overflow: visible !important;
  }
  body.hv-site-page .site-header .menu-toggle {
    position: relative !important;
    inset: auto !important;
    z-index: 5 !important;
    display: block !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    color: #151515 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.hv-site-page .site-header .menu-toggle::before,
  body.hv-site-page .site-header .menu-toggle::after {
    content: "" !important;
    position: absolute !important;
    left: 11px !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #151515 !important;
    opacity: 1 !important;
    transition: top .2s ease, transform .2s ease !important;
  }
  body.hv-site-page .site-header .menu-toggle::before { top: 16px !important; }
  body.hv-site-page .site-header .menu-toggle::after { top: 26px !important; }
  body.hv-site-page .site-header .menu-toggle[aria-expanded="true"]::before { top: 21px !important; transform: rotate(45deg) !important; }
  body.hv-site-page .site-header .menu-toggle[aria-expanded="true"]::after { top: 21px !important; transform: rotate(-45deg) !important; }
  body.hv-site-page .site-header .menu-toggle span { display: none !important; }
  body.hv-site-page .mobile-menu { display: block !important; }
  body.hv-site-page .hv-unified-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  body.hv-site-page .hv-unified-footer .footer-brand { grid-column: 1 / -1 !important; }
}

@media (max-width: 782px) {
  body.admin-bar.hv-site-page .site-header { top: 46px; }
  body.admin-bar.hv-site-page .mobile-menu { top: calc(var(--header-height, 52px) + 46px); }
}

@media (max-width: 767px) {
  body.hv-site-page .container {
    width: min(calc(100% - 28px), 1180px) !important;
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  body.hv-site-page h1 { font-size: clamp(34px, 10.5vw, 50px) !important; line-height: 1.03 !important; }

  body.hv-site-page .menu-toggle {
    z-index: 3 !important;
    display: block !important;
    flex: 0 0 44px !important;
    color: var(--hv-ink) !important;
    border-radius: 10px !important;
  }
  body.hv-site-page .menu-toggle span {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #151515 !important;
  }

  body.hv-site-page-kontakty .contact-hero__grid,
  body.hv-site-page-kontakty .location-hub,
  body.hv-site-page-kontakty .location-map,
  body.hv-site-page-kontakty .location-hub__footer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page-kontakty .contact-summary__row {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 4px 10px !important;
    align-items: start !important;
  }
  body.hv-site-page-kontakty .contact-summary__icon { grid-column: 1 !important; grid-row: 1 / 3 !important; }
  body.hv-site-page-kontakty .contact-summary__label,
  body.hv-site-page-kontakty .contact-summary__value { grid-column: 2 !important; min-width: 0 !important; }
  body.hv-site-page-kontakty .contact-summary__value {
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.hv-site-page-kontakty #routeAddress,
  body.hv-site-page-kontakty .store-address {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
  }

  body.hv-site-page-podbor-filtra .hero__visual {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }
  body.hv-site-page-podbor-filtra .hero__image {
    width: 100% !important;
    height: 330px !important;
    min-height: 330px !important;
    border-radius: 24px !important;
  }
  body.hv-site-page-podbor-filtra .hero__image img {
    object-position: center top !important;
  }
  body.hv-site-page-podbor-filtra .hero__card {
    position: relative !important;
    inset: auto !important;
    width: calc(100% - 20px) !important;
    min-height: 0 !important;
    margin: -34px auto 0 !important;
  }
  body.hv-site-page h2 { font-size: clamp(28px, 8vw, 40px) !important; line-height: 1.08 !important; }
  body.hv-site-page h1, body.hv-site-page h2, body.hv-site-page h3,
  body.hv-site-page h4, body.hv-site-page p, body.hv-site-page li,
  body.hv-site-page label, body.hv-site-page legend, body.hv-site-page strong,
  body.hv-site-page small, body.hv-site-page a, body.hv-site-page button {
    max-width: 100%;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  body.hv-site-page .hero__stage, body.hv-site-page .hero__grid, body.hv-site-page .hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.hv-site-page .hero__media { width: 100%; min-width: 0; }
  body.hv-site-page .hero__overlay { left: 14px !important; right: 14px !important; bottom: 14px !important; width: auto !important; }
  body.hv-site-page .hero__price { right: 12px !important; top: 12px !important; }
  body.hv-site-page .project-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.hv-site-page .project-grid .project-card { grid-template-rows: minmax(210px, auto) auto; }
  body.hv-site-page .project-grid .project-art { min-height: 210px; }
  body.hv-site-page .button, body.hv-site-page button, body.hv-site-page input,
  body.hv-site-page select { min-height: 44px; }
  body.hv-site-page .footer-grid { grid-template-columns: 1fr !important; }
  body.hv-site-page .footer-brand { grid-column: auto !important; }
  body.hv-site-page .footer-bottom { flex-direction: column !important; }
  body.hv-site-page .hv-unified-footer .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  body.hv-site-page .hv-unified-footer .footer-brand { grid-column: auto !important; }
  body.hv-site-page .hv-unified-footer .footer-bottom { flex-direction: column !important; margin-top: 30px !important; }
  body.hv-site-page .hv-unified-footer .footer-grid > div:last-child > p:nth-of-type(2) {
    white-space: normal !important;
    font-size: 14px !important;
  }
  body.hv-site-page main,
  body.hv-site-page section,
  body.hv-site-page .section,
  body.hv-site-page .elementor,
  body.hv-site-page .elementor-element,
  body.hv-site-page .elementor-widget-container,
  body.hv-site-page .hv-fragment-shell { min-width: 0; max-width: 100%; }
  body.hv-site-page .container > *,
  body.hv-site-page [class*="__grid"] > *,
  body.hv-site-page [class*="-grid"] > *,
  body.hv-site-page [class*="layout"] > * { min-width: 0; max-width: 100%; }
  body.hv-site-page table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.hv-site-page .button,
  body.hv-site-page button { white-space: normal !important; }
  /* Individual components control image height. A global `height:auto` here
     exposed the pale media background below cover photos on mobile. */
  body.hv-site-page img { max-width: 100%; }
  body.hv-site-page iframe { width: 100%; }
  body.hv-site-page .cookie-banner,
  body.hv-site-page .hv-cookie-banner { right: 14px !important; bottom: 14px !important; width: calc(100% - 28px) !important; }
  body.hv-site-page .cookie-banner > div { align-items: stretch !important; flex-direction: column !important; }

  /* Approved 2.4 mobile composition: copy and decorative equipment occupy
     separate rows, so no text can sit on top of the visual. */
  body.hv-site-page-glavnaya .solution-card {
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(220px, auto) !important;
    align-content: stretch !important;
    padding: 28px 24px 0 !important;
  }
  body.hv-site-page-glavnaya .solution-card__copy {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: none !important;
  }
  body.hv-site-page-glavnaya .solution-card__copy .text-link {
    position: relative !important;
    z-index: 4 !important;
    margin-bottom: 10px !important;
  }
  body.hv-site-page-glavnaya .solution-visual {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 240px !important;
    align-self: end !important;
    margin-top: 10px !important;
    transform: none !important;
  }

  /* All narrow layouts use the available content width. This list covers the
     recurring grids on all twelve supplied page designs. */
  body.hv-site-page .quiz-layout,
  body.hv-site-page .choice-grid,
  body.hv-site-page .choice-grid--two,
  body.hv-site-page .choice-grid--problem,
  body.hv-site-page .advantage-grid,
  body.hv-site-page .advantages-grid,
  body.hv-site-page .service-grid,
  body.hv-site-page .services-grid,
  body.hv-site-page .solution-grid,
  body.hv-site-page .about-grid,
  body.hv-site-page .about-head,
  body.hv-site-page .about-body,
  body.hv-site-page .about-details,
  body.hv-site-page .about-contacts,
  body.hv-site-page .contacts-grid,
  body.hv-site-page .contact-cards,
  body.hv-site-page .request-grid,
  body.hv-site-page .request-form,
  body.hv-site-page .questions-form,
  body.hv-site-page .product-grid,
  body.hv-site-page .systems-grid,
  body.hv-site-page .technology-grid,
  body.hv-site-page .benefits-grid,
  body.hv-site-page .benefit-grid,
  body.hv-site-page .engineering-cards,
  body.hv-site-page .impact-grid,
  body.hv-site-page .impact-layout,
  body.hv-site-page .tds-layout,
  body.hv-site-page .why-layout,
  body.hv-site-page .calc-cards,
  body.hv-site-page .feature-strip__inner,
  body.hv-site-page .steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.hv-site-page .quiz-card,
  body.hv-site-page .hv-filter-quiz,
  body.hv-site-page .questions-form,
  body.hv-site-page .request-form,
  body.hv-site-page .form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .choice-grid label,
  body.hv-site-page .choice-grid > *,
  body.hv-site-page .hv-quiz-step,
  body.hv-site-page .hv-quiz-step > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .choice-grid > label > span,
  body.hv-site-page .hv-quiz-option,
  body.hv-site-page .hv-quiz-option > span {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .quiz-actions,
  body.hv-site-page .hv-quiz-actions {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
    overflow: visible !important;
  }
  body.hv-site-page .quiz-actions .button,
  body.hv-site-page .hv-quiz-actions button {
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 140px !important;
    margin: 0 !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
  body.hv-site-page .quiz-actions [data-quiz-next],
  body.hv-site-page .quiz-actions [data-quiz-submit],
  body.hv-site-page .hv-quiz-next,
  body.hv-site-page .hv-quiz-submit { margin-left: auto !important; }

  /* Sliders and calls-to-action never extend beyond the mobile container. */
  body.hv-site-page .hero-slider,
  body.hv-site-page .hero__slider,
  body.hv-site-page .about-slider,
  body.hv-site-page .product-carousel-shell,
  body.hv-site-page .product-scroller,
  body.hv-site-page .consultation-card,
  body.hv-site-page .consultation-card__actions,
  body.hv-site-page .cta__box,
  body.hv-site-page .project-cta__box,
  body.hv-site-page .project-cta__inner {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .about-slider__footer,
  body.hv-site-page .product-carousel__controls {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.hv-site-page .consultation-card__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  body.hv-site-page .consultation-card__actions .button,
  body.hv-site-page .consultation-card__actions a[href^="tel:"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

@media (max-width: 420px) {
  body.hv-site-page .header__inner { width: calc(100% - 20px); gap: 5px; }
  body.hv-site-page .brand img { width: 118px !important; }
  body.hv-site-page .header__actions .icon-button { display: none !important; }
  body.hv-site-page .header-phone { font-size: 12px; }
  body.hv-site-page .mobile-menu nav > a,
  body.hv-site-page .mobile-menu summary { font-size: 24px; }
}

/* Version 10: compact interactive controls. The generic 44 px touch-target
   rule must not turn slider dots and icon markers into large blue pills. */
body.hv-site-page .hero-slider__dot,
body.hv-site-page .hero__dot,
body.hv-site-page .about-slider__dots button,
body.hv-site-page button[data-filter-dot],
body.hv-site-page button[data-hero-dot],
body.hv-site-page button[class*="slider-dot"],
body.hv-site-page button[class*="slider__dot"] {
  min-width: 9px !important;
  min-height: 0 !important;
  height: 9px !important;
  padding: 0 !important;
  line-height: 0 !important;
  border-radius: 999px !important;
}
body.hv-site-page .hero-slider__control,
body.hv-site-page .hero__arrow,
body.hv-site-page .slider-control {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  flex: 0 0 40px !important;
}

/* Old source layouts contained fixed bottom bars. They duplicate the normal
   page CTA, cover footer content and look like unexplained floating buttons. */
body.hv-site-page .mobile-bar,
body.hv-site-page .floating-actions,
body.hv-site-page .sticky-cta {
  display: none !important;
}

@media (max-width: 767px) {
  /* Compact consultation actions; the phone stays on one readable line. */
  body.hv-site-page .consultation-card__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  body.hv-site-page .consultation-card__actions .button,
  body.hv-site-page .consultation-card__actions a[href^="tel:"] {
    width: auto !important;
    max-width: 100% !important;
    min-height: 40px !important;
    padding: 9px 15px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  body.hv-site-page .mobile-menu__footer > a[href^="tel:"],
  body.hv-site-page .hv-unified-footer a[href^="tel:"] {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  body.hv-site-page .trust-icon {
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    flex: 0 0 30px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }
  body.hv-site-page .feature-strip__icon {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
    padding: 0 !important;
  }

  /* Services page: restore the complete page even on narrow screens and keep
     all captions in their own rows instead of over the photography. */
  body.hv-site-page-uslugi .hero {
    min-height: 0 !important;
    padding-top: var(--header-height, 56px) !important;
  }
  body.hv-site-page-uslugi .hero__stage {
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
    padding-top: 42px !important;
    padding-bottom: 56px !important;
    text-align: left !important;
  }
  body.hv-site-page-uslugi .hero__copy { max-width: none !important; margin: 0 !important; }
  body.hv-site-page-uslugi .breadcrumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-bottom: 18px !important;
    font-size: 12px !important;
  }
  body.hv-site-page-uslugi .hero h1 {
    margin-bottom: 18px !important;
    font-size: clamp(36px, 11vw, 50px) !important;
    line-height: 1 !important;
  }
  body.hv-site-page-uslugi .hero__lead { font-size: 17px !important; line-height: 1.45 !important; }
  body.hv-site-page-uslugi .hero__actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  body.hv-site-page-uslugi .hero__actions .button {
    width: auto !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  body.hv-site-page-uslugi .hero__facts {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  body.hv-site-page-uslugi .hero__fact {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 14px !important;
  }
  body.hv-site-page-uslugi .hero__media {
    position: relative !important;
    display: grid !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 12px !important;
  }
  body.hv-site-page-uslugi .hero__slider {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 24px !important;
  }
  body.hv-site-page-uslugi .hero__price {
    right: 12px !important;
    top: 12px !important;
    max-width: calc(100% - 24px) !important;
    padding: 11px 14px !important;
  }
  body.hv-site-page-uslugi .hero__price strong { font-size: 20px !important; }
  body.hv-site-page-uslugi .hero__overlay {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    padding: 18px !important;
    border: 1px solid var(--hv-line) !important;
    background: #fff !important;
    box-shadow: 0 16px 42px rgba(21,65,107,.1) !important;
  }
  body.hv-site-page-uslugi .hero__overlay-top { align-items: center !important; }
  body.hv-site-page-uslugi .hero__overlay .chem {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
  }
  body.hv-site-page-uslugi .service-card,
  body.hv-site-page-uslugi .service-card--reverse {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 12px !important;
  }
  body.hv-site-page-uslugi .service-card--reverse .service-card__media,
  body.hv-site-page-uslugi .service-card--reverse .service-card__content { order: initial !important; }
  body.hv-site-page-uslugi .service-card__media { min-height: 250px !important; }
  body.hv-site-page-uslugi .service-card__head {
    flex-direction: column !important;
    gap: 12px !important;
  }
  body.hv-site-page-uslugi .service-card__price { min-width: 0 !important; }
  body.hv-site-page-uslugi .price-grid,
  body.hv-site-page-uslugi .steps,
  body.hv-site-page-uslugi .benefits,
  body.hv-site-page-uslugi .request,
  body.hv-site-page-uslugi .form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.hv-site-page-uslugi .benefit { min-height: 0 !important; padding: 26px 22px !important; }
  body.hv-site-page-uslugi .benefit__number {
    position: static !important;
    display: block !important;
    margin-bottom: 18px !important;
    font-size: 54px !important;
  }
  body.hv-site-page-uslugi .cta__box {
    align-items: flex-start !important;
    padding: 26px 22px !important;
  }
  body.hv-site-page-uslugi .cta__box .button {
    width: auto !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 360px) {
  body.hv-site-page .consultation-card__actions .button,
  body.hv-site-page .consultation-card__actions a[href^="tel:"] {
    font-size: 12px !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

/* Version 11: final delivery polish requested after the mobile review. */
body.hv-site-page .site-header {
  position: relative !important;
  inset: auto !important;
}
body.admin-bar.hv-site-page .site-header { top: auto !important; }
body.hv-site-page .mobile-menu {
  position: fixed !important;
  top: var(--header-height) !important;
}
body.admin-bar.hv-site-page .mobile-menu {
  top: calc(var(--header-height) + 32px) !important;
}

/* Contact data must stay intact as a single readable unit. */
body.hv-site-page a[href^="tel:"],
body.hv-site-page a[href^="mailto:"],
body.hv-site-page .header-phone,
body.hv-site-page .phone,
body.hv-site-page .mobile-actions__phone {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
body.hv-site-page .hv-unified-footer a[href^="mailto:"],
body.hv-site-page .request__contacts a[href^="mailto:"] {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  font-size: clamp(12px, 3.7vw, 14px) !important;
}
body.hv-site-page .hv-unified-footer p:not(.hv-footer-hours) {
  overflow-wrap: normal !important;
  word-break: normal !important;
}
body.hv-site-page .hv-unified-footer p:not(.hv-footer-hours):has(+ .hv-footer-hours) {
  white-space: nowrap !important;
  font-size: 12px !important;
  letter-spacing: -0.01em !important;
}
body.hv-site-page .hv-unified-footer a[href^="mailto:"] + p + p {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  font-size: 12px !important;
  letter-spacing: -0.01em !important;
}
body.hv-site-page-kontakty #routeAddress,
body.hv-site-page-kontakty .store-address {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  font-size: clamp(11px, 3.15vw, 14px) !important;
}

/* Old floating mobile action bar is intentionally disabled site-wide. */
body.hv-site-page .mobile-actions,
body.hv-site-page .floating-actions,
body.hv-site-page .mobile-cta,
body.hv-site-page .sticky-actions { display: none !important; }

/* Compact and consistently aligned text-arrow links. */
body.hv-site-page .text-link,
body.hv-site-page .hero__panel-action,
body.hv-site-page .project-link,
body.hv-site-page .card-link {
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: #eef8ff !important;
  color: var(--hv-blue) !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.hv-site-page .text-link > span,
body.hv-site-page .hero__panel-action > span,
body.hv-site-page .project-link > span,
body.hv-site-page .card-link > span {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

/* Center numbered process markers and their labels. */
body.hv-site-page .process-list li,
body.hv-site-page .steps .step { text-align: center !important; }
body.hv-site-page .process-list li > span,
body.hv-site-page .steps .step > span,
body.hv-site-page .step__number {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  line-height: 1 !important;
}
body.hv-site-page .steps .step > span,
body.hv-site-page .step__number { margin-right: auto !important; margin-left: auto !important; }

/* Native select arrow stays inside the field without the old green ring. */
body.hv-site-page select {
  width: 100% !important;
  max-width: 100% !important;
  padding-right: 44px !important;
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50% !important;
  box-shadow: none !important;
}
body.hv-site-page select:focus {
  border-color: var(--hv-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,110,220,.1) !important;
  outline: 0 !important;
}

/* Legal documents shown consistently next to every feedback form. */
body.hv-site-page .hv-form-legal-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 14px !important;
  width: 100% !important;
  margin: 8px 0 14px !important;
  color: var(--hv-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
body.hv-site-page .hv-form-legal-links a {
  color: var(--hv-blue) !important;
  font-weight: 650 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

@media (max-width: 767px) {
  body.hv-site-page .hero,
  body.hv-site-page-uslugi .hero {
    padding-top: 38px !important;
  }
  body.hv-site-page .project-card__copy h3,
  body.hv-site-page .project-card--large .project-card__copy h3 {
    font-size: clamp(15px, 4.4vw, 19px) !important;
    line-height: 1.18 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.hv-site-page a[href^="tel:"].button,
  body.hv-site-page .consultation-card__actions a[href^="tel:"] {
    width: auto !important;
    max-width: 100% !important;
    padding: 9px 12px !important;
    font-size: clamp(11px, 3.2vw, 13px) !important;
  }
}

/* Final mobile viewport guard: kept last so legacy page CSS cannot move the
   navigation control or widen the document after the shared header rules. */
@media (max-width: 1023px) {
  html, body.hv-site-page {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }
  body.hv-site-page { touch-action: pan-y !important; }
  body.hv-site-page #page,
  body.hv-site-page .elementor,
  body.hv-site-page .hv-site-root,
  body.hv-site-page .hv-fragment-shell,
  body.hv-site-page main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .site-header,
  body.hv-site-page .site-header .header__inner {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  body.hv-site-page .site-header .header__inner {
    position: relative !important;
    margin: 0 !important;
    padding: 0 64px 0 12px !important;
  }
  body.hv-site-page .site-header .header__actions {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }
  body.hv-site-page .site-header .menu-toggle {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* 14.6.39 — approved homepage photos must fill their photo frames edge-to-edge.
   This deliberately targets only editorial/category photos, not product images
   or contact galleries where the complete object/photo must remain visible. */
body.hv-site-page-glavnaya .solution-visual--photo,
body.hv-site-page-sistemy-vodoochistki .hero-slider,
body.hv-site-page-sistemy-vodoochistki .hero-slide,
body.hv-site-page-sistemy-vodoochistki .system-card__media,
body.hv-site-page-filtry-dlya-kvartir .hero-product,
body.hv-site-page-filtry-dlya-kottedzhej .hero-photo,
body.hv-site-page-filtry-dlya-kottedzhej .calc-photo,
body.hv-site-page-filtry-dlya-horeca .hero-photo,
body.hv-site-page-filtry-dlya-predpriyatij .hero__visual,
body.hv-site-page-filtry-dlya-predpriyatij .technology-feature,
body.hv-site-page-filtry-dlya-predpriyatij .engineering-photo,
body.hv-site-page-filtry-dlya-predpriyatij .benefit-photo {
  padding: 0 !important;
  overflow: hidden !important;
}
body.hv-site-page-glavnaya .solution-visual--photo img,
body.hv-site-page-sistemy-vodoochistki .hero-slider .hero-slide img,
body.hv-site-page-sistemy-vodoochistki .system-card__media img,
body.hv-site-page-filtry-dlya-kvartir .hero-product img,
body.hv-site-page-filtry-dlya-kottedzhej .hero-photo img,
body.hv-site-page-filtry-dlya-kottedzhej .calc-photo img,
body.hv-site-page-filtry-dlya-horeca .hero-photo img,
body.hv-site-page-filtry-dlya-predpriyatij .hero__visual img,
body.hv-site-page-filtry-dlya-predpriyatij .technology-feature img,
body.hv-site-page-filtry-dlya-predpriyatij .engineering-photo img,
body.hv-site-page-filtry-dlya-predpriyatij .benefit-photo img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
body.hv-site-page-glavnaya .solution-visual--photo { position: relative !important; }
body.hv-site-page-glavnaya .solution-visual--photo img { position: absolute !important; }
body.hv-site-page-sistemy-vodoochistki .hero-slide { margin: 0 !important; padding: 0 !important; }

@media (max-width: 767px) {
  body.hv-site-page-sistemy-vodoochistki .hero-slider .hero-slide img,
  body.hv-site-page-sistemy-vodoochistki .system-card__media img,
  body.hv-site-page-filtry-dlya-kvartir .hero-product img,
  body.hv-site-page-filtry-dlya-kottedzhej .hero-photo img,
  body.hv-site-page-filtry-dlya-kottedzhej .calc-photo img,
  body.hv-site-page-filtry-dlya-horeca .hero-photo img,
  body.hv-site-page-filtry-dlya-predpriyatij .hero__visual img,
  body.hv-site-page-filtry-dlya-predpriyatij .technology-feature img,
  body.hv-site-page-filtry-dlya-predpriyatij .engineering-photo img,
  body.hv-site-page-filtry-dlya-predpriyatij .benefit-photo img {
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
  }
}


/* 14.6.48: footer typography + copyright line. */
body.hv-site-page .hv-unified-footer .footer-grid > div:last-child > p:nth-of-type(2),
body.hv-site-page .hv-unified-footer p:not(.hv-footer-hours):has(+ .hv-footer-hours),
body.hv-site-page .hv-unified-footer a[href^="mailto:"] + p + p {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
}
body.hv-site-page .hv-unified-footer .footer-bottom .hv-all-rights {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  body.hv-site-page .hv-unified-footer .footer-bottom .hv-all-rights {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }
}


/* 14.6.49 — mobile polish requested from real-device screenshots. */

/* One checkbox appearance across every public form (iOS/Safari included). */
body.hv-site-page label.agreement,
body.hv-site-page .agreement,
body.hv-site-page label.form__consent,
body.hv-site-page .form__consent,
body.hv-site-page label.checkbox-field,
body.hv-site-page .checkbox-field {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.hv-site-page form input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: static !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #8e8e93 !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  vertical-align: top !important;
  flex: 0 0 22px !important;
  cursor: pointer !important;
}
body.hv-site-page form input[type="checkbox"]:checked {
  border-color: #0877df !important;
  background-color: #0877df !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}
body.hv-site-page form input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(8,119,223,.18) !important;
  outline-offset: 2px !important;
}
body.hv-site-page .agreement > span,
body.hv-site-page .form__consent > span,
body.hv-site-page .checkbox-field > span {
  min-width: 0 !important;
  line-height: 1.42 !important;
  overflow-wrap: break-word !important;
}

/* Correct location marker in the catalog hero. */
body.hv-site-page-katalog-tovarov .hero-trust__icon--location {
  position: relative !important;
  font-size: 0 !important;
  color: #0877df !important;
  background: #fff !important;
}
body.hv-site-page-katalog-tovarov .hero-trust__icon--location::before {
  content: "" !important;
  width: 15px !important;
  height: 18px !important;
  display: block !important;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.15 7 13 7 13s7-7.85 7-13a7 7 0 0 0-7-7Zm0 10.1A3.1 3.1 0 1 1 12 5.9a3.1 3.1 0 0 1 0 6.2Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.15 7 13 7 13s7-7.85 7-13a7 7 0 0 0-7-7Zm0 10.1A3.1 3.1 0 1 1 12 5.9a3.1 3.1 0 0 1 0 6.2Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

@media (max-width: 767px) {
  /* Apartment trust-strip numbers: keep every badge fully inside its card. */
  body.hv-site-page-filtry-dlya-kvartir .trust-strip__inner {
    padding: 16px !important;
    gap: 10px !important;
    overflow: hidden !important;
  }
  body.hv-site-page-filtry-dlya-kvartir .trust-item {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
  body.hv-site-page-filtry-dlya-kvartir .trust-icon {
    position: static !important;
    inset: auto !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    flex: 0 0 42px !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transform: none !important;
  }

  /* Homepage process: six clear cards instead of a loose vertical timeline. */
  body.hv-site-page-glavnaya .process-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.hv-site-page-glavnaya .process-list::before { display: none !important; }
  body.hv-site-page-glavnaya .process-list li {
    position: relative !important;
    min-height: 108px !important;
    padding: 18px 18px 18px 78px !important;
    border: 1px solid #e1e5e9 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(21,65,107,.045) !important;
    text-align: left !important;
    overflow: hidden !important;
  }
  body.hv-site-page-glavnaya .process-list li > span {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border: 1px solid rgba(8,119,223,.15) !important;
    border-radius: 14px !important;
    background: #eef8ff !important;
    color: #0877df !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transform: none !important;
  }
  body.hv-site-page-glavnaya .process-list h3 {
    margin: 0 0 7px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  body.hv-site-page-glavnaya .process-list p {
    margin: 0 !important;
    color: #6e6e73 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  /* Contacts now follows the same mobile container and typography as the rest of the site. */
  body.hv-site-page-kontakty .contact-hero__grid {
    width: min(calc(100% - 28px), 1180px) !important;
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    gap: 28px !important;
  }
  body.hv-site-page-kontakty .contact-hero {
    padding-top: calc(var(--header-height, 64px) + 30px) !important;
    padding-bottom: 54px !important;
  }
  body.hv-site-page-kontakty .hero-copy h1 {
    margin-bottom: 18px !important;
    font-size: clamp(36px, 10.5vw, 48px) !important;
    line-height: 1.03 !important;
  }
  body.hv-site-page-kontakty .hero-copy__lead {
    margin-bottom: 24px !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
  body.hv-site-page-kontakty .contact-summary {
    width: 100% !important;
    max-width: none !important;
    gap: 10px !important;
  }
  body.hv-site-page-kontakty .contact-summary__row {
    width: 100% !important;
    min-height: 72px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
  }
  body.hv-site-page-kontakty .contact-summary__value {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  body.hv-site-page-kontakty .hero-channels {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 18px !important;
  }
  body.hv-site-page-kontakty .location-hub {
    width: 100% !important;
    margin: 0 !important;
  }
}


/* 14.6.50 — final visual alignment pass from the latest device screenshots. */

/* Keep the shared header fixed while scrolling on every public page. */
body.hv-site-page .site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 4000 !important;
}
body.admin-bar.hv-site-page .site-header { top: 32px !important; }
@media (max-width: 782px) {
  body.admin-bar.hv-site-page .site-header { top: 46px !important; }
}

/* Home process line: centre the steps cleanly on desktop/tablet. */
body.hv-site-page-glavnaya .process .section-heading {
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.hv-site-page-glavnaya .process .section-heading h2 {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.hv-site-page-glavnaya .process-list {
  align-items: start !important;
}
body.hv-site-page-glavnaya .process-list li {
  text-align: center !important;
}
body.hv-site-page-glavnaya .process-list li > span {
  left: 50% !important;
  transform: translateX(-50%) !important;
}
body.hv-site-page-glavnaya .process-list h3,
body.hv-site-page-glavnaya .process-list p {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Better alignment for the catalog location badge. */
body.hv-site-page-katalog-tovarov .hero-trust__item,
body.hv-site-page-katalog-tovarov .trust-item {
  align-items: center !important;
}
body.hv-site-page-katalog-tovarov .hero-trust__icon--location {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  margin-top: 2px !important;
  transform: translateY(2px) !important;
}

/* Product/category photos should stay fully visible inside the mobile cards. */
@media (max-width: 767px) {
  body.hv-site-page-filtry-dlya-kvartir .product-card__image {
    height: 270px !important;
    padding: 18px 12px 10px !important;
  }
  body.hv-site-page-filtry-dlya-kvartir .product-card__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.hv-site-page-glavnaya .solution-card {
    min-height: 450px !important;
  }
  body.hv-site-page-glavnaya .solution-visual--photo {
    right: 0 !important;
    bottom: 0 !important;
    width: min(78%, 320px) !important;
    height: 52% !important;
    padding: 10px !important;
  }
  body.hv-site-page-glavnaya .solution-visual--photo img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  /* 'Как мы работаем' cards on the Company page: centred and even. */
  body.hv-site-page-o-kompanii .section__head,
  body.hv-site-page-o-kompanii .section__head h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.hv-site-page-o-kompanii .steps .step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 24px 20px !important;
  }
  body.hv-site-page-o-kompanii .steps .step__number,
  body.hv-site-page-o-kompanii .steps .step h3,
  body.hv-site-page-o-kompanii .steps .step p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  body.hv-site-page-o-kompanii .steps .step p {
    max-width: 30ch !important;
  }

  /* Home process cards: keep title and content visually centred and tidy. */
  body.hv-site-page-glavnaya .process .section-heading,
  body.hv-site-page-glavnaya .process .section-heading h2 {
    text-align: center !important;
  }
  body.hv-site-page-glavnaya .process-list li {
    padding: 20px 20px 20px 20px !important;
    min-height: 158px !important;
    text-align: center !important;
  }
  body.hv-site-page-glavnaya .process-list li > span {
    position: static !important;
    display: grid !important;
    margin: 0 auto 14px !important;
    transform: none !important;
  }
  body.hv-site-page-glavnaya .process-list h3,
  body.hv-site-page-glavnaya .process-list p {
    text-align: center !important;
  }
}


/* 14.6.51 — full-width white header background + slightly wider desktop navigation. */
@media (min-width: 1024px) {
  body.hv-site-page .site-header {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: #fff !important;
    overflow: visible !important;
  }
  body.hv-site-page .site-header::before {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -100vw !important;
    right: -100vw !important;
    background: #fff !important;
    pointer-events: none !important;
  }
  body.hv-site-page .site-header .header__inner {
    width: var(--container) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 18px !important;
  }
  body.hv-site-page .desktop-nav {
    gap: 15px !important;
  }
}


/* 14.6.53 — based strictly on 14.6.51: only make the desktop header slightly taller. */
@media (min-width: 1024px) {
  body.hv-site-page {
    --header-height: 64px !important;
  }
}




/* 14.6.56 — keep every desktop header element inside the same content
   boundaries as the page. The full-width white header background remains,
   but the logo, navigation and actions are constrained to --container. */
@media (min-width: 1024px) {
  body.hv-site-page .site-header .header__inner {
    width: var(--container) !important;
    max-width: 1180px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    gap: 18px !important;
  }

  body.hv-site-page .site-header .brand {
    margin: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  body.hv-site-page .site-header .brand img {
    display: block !important;
    max-width: 100% !important;
  }

  body.hv-site-page .site-header .desktop-nav {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: clamp(10px, .75vw, 15px) !important;
  }

  body.hv-site-page .site-header .desktop-nav .nav-link,
  body.hv-site-page .site-header .nav-dropdown__control {
    white-space: nowrap !important;
  }

  body.hv-site-page .site-header .header__actions {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    gap: 8px !important;
  }

  body.hv-site-page .site-header .header-phone,
  body.hv-site-page .site-header .header-consult {
    white-space: nowrap !important;
  }
}

/* On narrower desktop widths, preserve the container boundary by compacting
   the navigation before the mobile breakpoint is reached. */
@media (min-width: 1024px) and (max-width: 1180px) {
  body.hv-site-page .site-header .header__inner {
    gap: 12px !important;
  }

  body.hv-site-page .site-header .desktop-nav {
    gap: 9px !important;
  }

  body.hv-site-page .site-header .desktop-nav .nav-link {
    font-size: 12px !important;
  }
}
