/* ==========================================================================
   DIRECTNAVIGATOR — UNIFIED SERVICES HERO DESIGN SYSTEM (9 SERVICES)
   Provides strict visual, layout, typographic and component harmony across:
   1. Google Ads (services/reklama-google-ads/)
   2. Таргетированная реклама (services/targetirovannaya-reklama/)
   3. VK Реклама (services/reklama-v-vk/)
   4. Telegram Ads (services/reklama-v-telegram/)
   5. Реклама в MAX (services/reklama-v-max/)
   6. Медийная реклама (services/mediynaya-reklama/)
   7. Реклама в AI (services/reklama-v-ai/)
   8. Аудит рекламы (services/audit-reklamnoy-kampanii/)
   9. Тизерная реклама (services/tizernaya-reklama/)
   
   Homepage (index.html / Яндекс Директ) is strictly excluded and untouched.
   ========================================================================== */

/* 1. HERO WRAPPER & CONTAINER */
html body .dv3-hero,
html body .tg-hero,
html body .vk-hero-section,
html body .dn9-hero--reklama-v-telegram,
html body .tg-hero--telegram,
html body .max-hero,
html body .dn9-hero--mediynaya-reklama,
html body .ai-hero-sec,
html body .audit-hero-section,
html body .audit-hero,
html body .dn9-hero--tizernaya-reklama,
html body .tz-hero {
  position: relative !important;
  isolation: isolate !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Desktop Monitor Screen Height Fit:
   Exactly mirrors homepage (.home-mountain-hero):
   min-height: calc(100vh - 5.25rem);
   display: flex; flex-direction: column; justify-content: space-between;
   padding-top: 0; padding-bottom: 0;
   Inside the hero:
   1. The inner content container is flex: 1 1 auto; vertically centered.
   2. The ticker ribbon (.service-ribbon) is docked at the very bottom (flex: 0 0 auto; margin-top: auto; margin-bottom: 0).
   The entire hero block fits on screen without overflow, and the ribbon sits flush at the bottom edge. */
@media (min-width: 992px) {
  html body .dv3-hero,
  html body .tg-hero,
  html body .vk-hero-section,
  html body .dn9-hero--reklama-v-telegram,
  html body .tg-hero--telegram,
  html body .max-hero,
  html body .dn9-hero--mediynaya-reklama,
  html body .ai-hero-sec,
  html body .audit-hero-section,
  html body .audit-hero,
  html body .dn9-hero--tizernaya-reklama,
  html body .tz-hero {
    min-height: calc(100vh - 5.25rem) !important;
    min-height: calc(100svh - 5.25rem) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: clamp(0.5rem, 1.2vh, 1.5rem) !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 991px) {
  html body .dv3-hero,
  html body .tg-hero,
  html body .vk-hero-section,
  html body .dn9-hero--reklama-v-telegram,
  html body .tg-hero--telegram,
  html body .max-hero,
  html body .dn9-hero--mediynaya-reklama,
  html body .ai-hero-sec,
  html body .audit-hero-section,
  html body .audit-hero,
  html body .dn9-hero--tizernaya-reklama,
  html body .tz-hero {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: clamp(1.5rem, 3.5vw, 2.5rem) !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Shell & Container Alignment: Centered vertically inside the hero block */
.tg-hero .tg-container,
.vk-hero-section .vk-container,
.dn9-hero--reklama-v-telegram .tg-container,
.max-hero .max-shell,
.max-hero .max-container,
.ai-hero-sec .ai-container,
.audit-hero .audit-container,
.audit-hero-section .audit-container,
.tz-hero .tz-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: min(calc(100% - (var(--home-gutter, clamp(1rem, 2.35vw, 2.5rem)) * 2)), var(--home-page-max, 100rem)) !important;
  max-width: var(--home-page-max, 100rem) !important;
  padding-inline: 0 !important;
  padding-top: clamp(0.25rem, 0.8vh, 1rem) !important;
  padding-bottom: clamp(0.4rem, 1vh, 1.25rem) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Ensure all service hero grids align identically in 2 columns */
.dv3-hero .dv3-shell,
.dv3-hero .dv3-hero__grid,
.dv3-hero__grid,
.tg-hero__grid,
.vk-hero-grid,
.max-hero__grid,
.dn9-hero--mediynaya-reklama .dn9-shell,
.dn9-hero--mediynaya-reklama .dn9-hero__grid,
.ai-hero-grid,
.audit-hero__grid,
.dn9-hero--tizernaya-reklama .dn9-shell,
.dn9-hero--tizernaya-reklama .dn9-hero__grid,
.tz-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) !important;
  gap: clamp(1.5rem, 3.2vw, 3.5rem) !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: auto 0 !important;
}

/* Combined shell + grid elements (Google Ads & Media Ads) */
.dv3-hero .dv3-shell.dv3-hero__grid,
.dn9-hero--mediynaya-reklama .dn9-shell.dn9-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) !important;
  gap: clamp(1.5rem, 3.2vw, 3.5rem) !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: min(calc(100% - (var(--home-gutter, clamp(1rem, 2.35vw, 2.5rem)) * 2)), var(--home-page-max, 100rem)) !important;
  max-width: var(--home-page-max, 100rem) !important;
  padding-inline: 0 !important;
  padding-top: clamp(0.25rem, 0.8vh, 1rem) !important;
  padding-bottom: clamp(0.4rem, 1vh, 1.25rem) !important;
  margin: auto !important;
  box-sizing: border-box !important;
}

/* Ticker ribbon inside Hero - docked flush at the very bottom, mirroring index.html */
html body .service-ribbon,
html body .growth-ticker {
  flex: 0 0 auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 15 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-block: 1px solid rgba(7, 25, 37, 0.18) !important;
  color: #071925 !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.42), transparent 24%),
    radial-gradient(circle at 78% 0%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(105deg, #40d83d 0%, #68ee3f 48%, #9bf153 100%) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), 0 0.7rem 2rem rgba(40, 162, 48, 0.12) !important;
}

html body .service-ribbon::before,
html body .growth-ticker::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  background:
    repeating-linear-gradient(115deg, transparent 0 5rem, rgba(7, 25, 37, 0.045) 5rem 5.08rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 26%, transparent 74%, rgba(7, 25, 37, 0.06)) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

html body .service-ribbon::after,
html body .growth-ticker::after {
  display: none !important;
}

html body .growth-ticker__track,
html body .service-ribbon__track,
html:not(.dn-full-motion) .growth-ticker__track,
html:not(.dn-full-motion) .service-ribbon__track {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  min-height: 4.15rem !important;
  height: 4.15rem !important;
  will-change: transform !important;
  animation: growth-ticker-flow 34s linear infinite !important;
  -webkit-animation: growth-ticker-flow 34s linear infinite !important;
  animation-play-state: running !important;
}

html body .service-ribbon:hover .service-ribbon__track,
html body .growth-ticker:hover .growth-ticker__track,
html body .service-ribbon:focus-within .service-ribbon__track,
html body .growth-ticker:focus-within .growth-ticker__track,
html body .service-ribbon__track:hover,
html body .growth-ticker__track:hover {
  animation-play-state: running !important;
}

html body .growth-ticker__track span,
html body .service-ribbon__track span {
  display: inline-flex !important;
  align-items: center !important;
  padding-inline: clamp(1.3rem, 2.4vw, 2.25rem) !important;
  color: #071925 !important;
  -webkit-text-fill-color: #071925 !important;
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.105em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

html body .growth-ticker__track i,
html body .service-ribbon__track i {
  display: inline-block !important;
  width: 0.44rem !important;
  height: 0.44rem !important;
  min-width: 0.44rem !important;
  min-height: 0.44rem !important;
  flex: 0 0 auto !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 0.24rem rgba(7, 25, 37, 0.09) !important;
}

@keyframes growth-ticker-flow {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@-webkit-keyframes growth-ticker-flow {
  0% { -webkit-transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); }
}

@keyframes service-ribbon-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@-webkit-keyframes service-ribbon-marquee {
  0% { -webkit-transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html body .growth-ticker__track,
  html body .service-ribbon__track,
  html:not(.dn-full-motion) .growth-ticker__track,
  html:not(.dn-full-motion) .service-ribbon__track {
    animation-name: growth-ticker-flow !important;
    animation-duration: 45s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
  }
}

@media (max-width: 48rem) {
  html body .growth-ticker__track,
  html body .service-ribbon__track {
    min-height: 3.5rem !important;
    height: 3.5rem !important;
  }

  html body .growth-ticker__track span,
  html body .service-ribbon__track span {
    padding-inline: 1rem !important;
    font-size: 0.72rem !important;
  }

  html body .growth-ticker__track i,
  html body .service-ribbon__track i {
    width: 0.38rem !important;
    height: 0.38rem !important;
    min-width: 0.38rem !important;
    min-height: 0.38rem !important;
  }
}


/* 2. UNIFIED BREADCRUMBS */
.dv3-hero .hero-breadcrumbs,
.tg-breadcrumbs,
.vk-breadcrumbs,
.max-breadcrumbs,
.dn9-hero--mediynaya-reklama .dn9-breadcrumbs,
.ai-breadcrumbs,
.audit-hero__breadcrumbs,
.dn9-hero--tizernaya-reklama .dn9-breadcrumbs,
.tz-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #64748b !important;
  margin: 0 0 1.15rem 0 !important;
  padding: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.dv3-hero .hero-breadcrumbs a,
.tg-breadcrumbs a,
.vk-breadcrumbs a,
.max-breadcrumbs a,
.dn9-hero--mediynaya-reklama .dn9-breadcrumbs a,
.ai-breadcrumbs a,
.audit-hero__breadcrumbs a,
.dn9-hero--tizernaya-reklama .dn9-breadcrumbs a,
.tz-breadcrumbs a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

.dv3-hero .hero-breadcrumbs a:hover,
.tg-breadcrumbs a:hover,
.vk-breadcrumbs a:hover,
.max-breadcrumbs a:hover,
.dn9-hero--mediynaya-reklama .dn9-breadcrumbs a:hover,
.ai-breadcrumbs a:hover,
.audit-hero__breadcrumbs a:hover,
.dn9-hero--tizernaya-reklama .dn9-breadcrumbs a:hover,
.tz-breadcrumbs a:hover {
  color: #16a34a !important;
}

.dv3-hero .hero-breadcrumbs span,
.tg-breadcrumbs span,
.vk-breadcrumbs span,
.max-breadcrumbs span,
.dn9-hero--mediynaya-reklama .dn9-breadcrumbs span,
.ai-breadcrumbs span,
.audit-hero__breadcrumbs span,
.dn9-hero--tizernaya-reklama .dn9-breadcrumbs span,
.tz-breadcrumbs span {
  color: #0c1015 !important;
  font-weight: 650 !important;
}

/* 3. UNIFIED PILL BADGE / KICKER */
.hero-pill-badge,
.dv3-hero .dv3-kicker,
.tg-hero__pill,
.vk-hero-badge,
.tg-kicker,
.max-hero__kicker,
.dn9-hero--mediynaya-reklama .dn9-kicker,
.ai-pill-badge,
.audit-kicker,
.dn9-hero--tizernaya-reklama .dn9-kicker,
.tz-hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #15803d !important;
  -webkit-text-fill-color: #15803d !important;
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 0.78125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  padding: 0.42rem 0.95rem !important;
  border-radius: 999px !important;
  margin: 0 0 1.25rem 0 !important;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.08) !important;
  width: fit-content !important;
}

/* Exactly ONE clean glowing dot */
.hero-pill-badge::before,
.dv3-hero .dv3-kicker::before,
.audit-scene-card__dot {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #16a34a !important;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6) !important;
  flex-shrink: 0 !important;
}

/* Prevent double-dot when both ::before and span.hero-dot-icon are present */
.hero-pill-badge .hero-dot-icon,
.hero-pill-badge .tg-hero__pill-dot,
.hero-pill-badge .tg-kicker__dot,
.hero-pill-badge .tz-hero-eyebrow-dot {
  display: none !important;
}

/* 4. UNIFIED H1 HEADING */
.dv3-hero h1,
.tg-hero__title,
.vk-hero-title,
.max-hero__title,
.dn9-hero--mediynaya-reklama h1,
.ai-hero-title,
.audit-hero__title,
.dn9-hero--tizernaya-reklama h1,
.tz-hero-title {
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.35rem, 3.8vw, 3.45rem) !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  color: #0c1015 !important;
  -webkit-text-fill-color: #0c1015 !important;
  margin: 0 0 1.25rem 0 !important;
  max-width: 100% !important;
  text-wrap: balance !important;
  text-transform: none !important;
}

/* Green Brand Accent within H1 */
html body .hero-accent-green,
html body .hero-green-accent,
html body .dv3-hero__green,
html body .tg-title-accent,
html body .vk-accent-blue,
html body .tg-hero__title-accent,
html body .max-gradient-text,
html body .dn9-hero__title-rest,
html body .ai-accent,
html body .ai-hero-title .ai-accent,
html body .audit-hero__title-accent,
html body .tz-title-accent {
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  display: inline !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* 5. UNIFIED SUBTITLE / LEAD TEXT */
.dv3-hero__lead,
.tg-hero__lead,
.vk-hero-subtitle,
.max-hero__lead,
.dn9-hero--mediynaya-reklama .dn9-hero__lead,
.ai-hero-lead,
.audit-hero__lead,
.dn9-hero--tizernaya-reklama .dn9-hero__lead,
.tz-hero-lead {
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(1.05rem, 1.22vw, 1.1875rem) !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
  max-width: 38.5rem !important;
  margin: 0 0 2rem 0 !important;
  font-weight: 500 !important;
}

/* 6. UNIFIED ACTIONS / BUTTONS ROW */
.dv3-hero .hero-actions-row,
.tg-hero__actions,
.vk-hero-actions,
.max-hero__actions,
.dn9-hero--mediynaya-reklama .dn9-hero__actions,
.ai-hero-actions,
.audit-hero__actions,
.dn9-hero--tizernaya-reklama .dn9-hero__actions,
.tz-hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  margin: 0 0 2.25rem 0 !important;
}

/* Exact 56px (3.5rem) Height Standard for ALL Buttons */
.hero-btn-primary,
.dv3-hero .dv3-btn,
.tg-btn-primary,
.tg-hero .tg-btn-primary,
.max-btn-lime,
.dn9-hero--mediynaya-reklama .dn9-button,
.ai-btn-primary,
.audit-btn-primary,
.dn9-hero--tizernaya-reklama .dn9-button,
.tz-btn-cta {
  height: 3.5rem !important;
  min-height: 3.5rem !important;
  max-height: 3.5rem !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  padding: 0 2rem !important;
  border-radius: 999px !important;
  background: #0c1015 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 1.5px solid #0c1015 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(12, 16, 21, 0.16) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: none !important;
}

.hero-btn-primary:hover,
.dv3-hero .dv3-btn:hover,
.tg-btn-primary:hover,
.tg-hero .tg-btn-primary:hover,
.max-btn-lime:hover,
.dn9-hero--mediynaya-reklama .dn9-button:hover,
.ai-btn-primary:hover,
.audit-btn-primary:hover,
.dn9-hero--tizernaya-reklama .dn9-button:hover,
.tz-btn-cta:hover {
  background: #6cf023 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 10px 24px -4px rgba(108, 240, 35, 0.48), 0 0 16px rgba(108, 240, 35, 0.28) !important;
}

/* Secondary Button: Exact 56px (3.5rem) Height Standard */
.hero-btn-secondary,
.dv3-hero .hero-btn-secondary,
.tg-btn-secondary,
.vk-btn-white,
.tg-hero .tg-btn-secondary,
.max-btn-white,
.dn9-hero--mediynaya-reklama .dn9-button-secondary,
.ai-btn-secondary,
.audit-btn-secondary,
.dn9-hero--tizernaya-reklama .dn9-button-secondary,
.tz-btn-link {
  height: 3.5rem !important;
  min-height: 3.5rem !important;
  max-height: 3.5rem !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  padding: 0 1.85rem !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0c1015 !important;
  -webkit-text-fill-color: #0c1015 !important;
  font-family: "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 1.5px solid #e2e8f0 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.22s ease !important;
}

.hero-btn-secondary:hover,
.dv3-hero .hero-btn-secondary:hover,
.tg-btn-secondary:hover,
.vk-btn-white:hover,
.tg-hero .tg-btn-secondary:hover,
.max-btn-white:hover,
.dn9-hero--mediynaya-reklama .dn9-button-secondary:hover,
.ai-btn-secondary:hover,
.audit-btn-secondary:hover,
.dn9-hero--tizernaya-reklama .dn9-button-secondary:hover,
.tz-btn-link:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #16a34a !important;
  -webkit-text-fill-color: #16a34a !important;
  transform: translateY(-1px) !important;
}

/* 7. UNIFIED RIGHT VISUAL COLUMN */
.dv3-hero__visual,
.tg-hero-visual-wrap,
.vk-hero-visual,
.tg-hero__visual,
.max-hero__visual,
.dn9-hero--mediynaya-reklama .dn9-hero__art,
.ai-hero-visual,
.audit-hero__visual,
.dn9-hero--tizernaya-reklama .dn9-hero__art,
.tz-hero-visual-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 100% !important;
  min-height: 380px !important;
  margin: 0 !important;
}

/* Soft ambient green glow backdrop */
.dv3-hero__visual::before,
.tg-hero-visual-wrap::before,
.vk-hero-visual::before,
.tg-hero__visual::before,
.max-hero__visual::before,
.dn9-hero--mediynaya-reklama .dn9-hero__art::before,
.ai-hero-visual::before,
.audit-hero__visual::before,
.dn9-hero--tizernaya-reklama .dn9-hero__art::before,
.tz-hero-visual-wrap::before {
  content: "" !important;
  position: absolute !important;
  width: 82% !important;
  height: 82% !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.16) 0%, rgba(34, 197, 94, 0.04) 52%, transparent 74%) !important;
  filter: blur(48px) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Visual graphic scaling & drop-shadow:
   Responsive height (clamp 400px - 540px) ensures imposing visuals that fit
   comfortably inside the desktop screen viewport. */
.dv3-hero__visual img,
.tg-hero-visual-wrap img,
.vk-hero-visual img,
.tg-hero__visual img,
.max-hero__visual img,
.dn9-hero--mediynaya-reklama .dn9-hero__art img,
.ai-hero-visual img,
.audit-hero__visual img,
.dn9-hero--tizernaya-reklama .dn9-hero__art img,
.tz-hero-visual-img {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: clamp(350px, 48vh, 560px) !important;
  object-fit: contain !important;
  filter: drop-shadow(0 20px 38px rgba(12, 16, 21, 0.08)) drop-shadow(0 4px 14px rgba(22, 163, 74, 0.12)) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}

.dv3-hero__visual:hover img,
.tg-hero-visual-wrap:hover img,
.vk-hero-visual:hover img,
.tg-hero__visual:hover img,
.max-hero__visual:hover img,
.dn9-hero--mediynaya-reklama .dn9-hero__art:hover img,
.ai-hero-visual:hover img,
.audit-hero__visual:hover img,
.dn9-hero--tizernaya-reklama .dn9-hero__art:hover img,
.tz-hero-visual-wrap:hover img,
.tz-hero-visual-img:hover {
  transform: translateY(-4px) scale(1.015) !important;
  filter: drop-shadow(0 26px 46px rgba(12, 16, 21, 0.12)) drop-shadow(0 8px 20px rgba(22, 163, 74, 0.18)) !important;
}

/* 8. MOBILE & TABLET RESPONSIVE RULES */
@media (max-width: 991px) {
  .dv3-hero__grid,
  .dv3-hero .dv3-shell.dv3-hero__grid,
  .tg-hero__grid,
  .vk-hero-grid,
  .max-hero__grid,
  .dn9-hero--mediynaya-reklama .dn9-hero__grid,
  .dn9-hero--mediynaya-reklama .dn9-shell.dn9-hero__grid,
  .ai-hero-grid,
  .audit-hero__grid,
  .dn9-hero--tizernaya-reklama .dn9-hero__grid,
  .dn9-hero--tizernaya-reklama .dn9-shell.dn9-hero__grid,
  .tz-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }

  .dv3-hero__visual,
  .tg-hero-visual-wrap,
  .vk-hero-visual,
  .tg-hero__visual,
  .max-hero__visual,
  .dn9-hero--mediynaya-reklama .dn9-hero__art,
  .ai-hero-visual,
  .audit-hero__visual,
  .dn9-hero--tizernaya-reklama .dn9-hero__art,
  .tz-hero-visual-wrap {
    min-height: auto !important;
    max-height: 380px !important;
  }

  .dv3-hero__visual img,
  .tg-hero-visual-wrap img,
  .vk-hero-visual img,
  .tg-hero__visual img,
  .max-hero__visual img,
  .dn9-hero--mediynaya-reklama .dn9-hero__art img,
  .ai-hero-visual img,
  .audit-hero__visual img,
  .dn9-hero--tizernaya-reklama .dn9-hero__art img,
  .tz-hero-visual-img {
    max-height: 380px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 540px) {
  .hero-btn-primary,
  .hero-btn-secondary,
  .dv3-hero .dv3-btn,
  .dv3-hero .hero-btn-secondary,
  .tg-btn-primary,
  .tg-btn-secondary,
  .vk-btn-lime,
  .vk-btn-white,
  .max-btn-lime,
  .max-btn-white,
  .dn9-hero--mediynaya-reklama .dn9-button,
  .dn9-hero--mediynaya-reklama .dn9-button-secondary,
  .ai-btn-primary,
  .ai-btn-secondary,
  .audit-btn-primary,
  .audit-btn-secondary,
  .dn9-hero--tizernaya-reklama .dn9-button,
  .dn9-hero--tizernaya-reklama .dn9-button-secondary,
  .tz-btn-cta,
  .tz-btn-link {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   9. MEDIA ADVERTISING: HERO VISUAL BALANCING & STAMP ALIGNMENT
   ========================================================================== */
@media (min-width: 992px) {
  .dn9-hero--mediynaya-reklama .dn9-shell.dn9-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) !important;
    gap: clamp(1rem, 2.4vw, 2.5rem) !important;
    align-items: center !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__art {
    display: inline-block !important;
    position: relative !important;
    align-self: center !important;
    margin-top: -125px !important;
    margin-bottom: 0 !important;
    line-height: 0 !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__art > img {
    object-position: center center !important;
    max-height: clamp(520px, 68vh, 680px) !important;
    width: auto !important;
    max-width: 114% !important;
    transform: none !important;
    display: block !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__stamp {
    position: absolute !important;
    bottom: 1.5rem !important;
    left: 1rem !important;
    z-index: 5 !important;
    transform: rotate(-2deg) !important;
    box-shadow: 0 16px 36px rgba(12, 16, 21, 0.16) !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__art figcaption {
    position: absolute !important;
    bottom: -1.4rem !important;
    right: 0.5rem !important;
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    opacity: 0.85 !important;
    line-height: normal !important;
  }
}

@media (max-width: 991px) {
  .dn9-hero--mediynaya-reklama .dn9-hero__art {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin-top: 1.5rem !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__art img {
    max-height: 280px !important;
    width: auto !important;
    max-width: 100% !important;
    object-position: center center !important;
    transform: none !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__stamp {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: -1.5rem !important;
    transform: rotate(-1deg) !important;
    z-index: 5 !important;
  }
  .dn9-hero--mediynaya-reklama .dn9-hero__art figcaption {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 0.75rem !important;
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   DIRECTNAVIGATOR — UNIFIED BUTTON SYSTEM (SERVICES HERO)
   ========================================================================== */
.site-hero-btn,
.site-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  border-radius: 999px !important;
  font-family: "Manrope", "Manrope Variable", "DN Header Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 750 !important;
  font-variation-settings: "wght" 750 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  position: relative !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  transform: none !important;
  transition: background-color 0.25s ease,
              color 0.25s ease,
              -webkit-text-fill-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease !important;
}

.site-hero-btn svg,
.site-hero-btn .arr,
.site-hero-btn span[class*="arrow"],
.site-button svg,
.site-button .arr,
.site-button span[class*="arrow"] {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  transform: none !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              stroke 0.2s ease,
              color 0.2s ease !important;
}

.site-hero-btn:hover svg,
.site-hero-btn:hover .arr,
.site-hero-btn:hover span[class*="arrow"],
.site-button:hover svg,
.site-button:hover .arr,
.site-button:hover span[class*="arrow"] {
  transform: translateX(4px) !important;
}

.site-hero-btn:active,
.site-button:active {
  transform: scale(0.98) !important;
  box-shadow: 0 2px 6px rgba(12, 16, 21, 0.12) !important;
}

.site-hero-btn:focus-visible,
.site-button:focus-visible {
  outline: 2px solid #6cf023 !important;
  outline-offset: 3px !important;
}

.site-hero-btn {
  min-height: 3.5rem !important;
  padding: 0 1.75rem !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.015em !important;
}

.site-hero-btn--primary,
.site-hero-btn:not(.site-hero-btn--secondary) {
  background: #0c1015 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid #0c1015 !important;
  box-shadow: 0 4px 14px rgba(12, 16, 21, 0.16) !important;
}

.site-hero-btn--primary svg,
.site-hero-btn--primary .arr,
.site-hero-btn:not(.site-hero-btn--secondary) svg,
.site-hero-btn:not(.site-hero-btn--secondary) .arr {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.site-hero-btn--primary:hover,
.site-hero-btn:not(.site-hero-btn--secondary):hover {
  background: #6cf023 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 10px 24px -4px rgba(108, 240, 35, 0.48), 0 0 16px rgba(108, 240, 35, 0.28) !important;
}

.site-hero-btn--primary:hover svg,
.site-hero-btn--primary:hover .arr,
.site-hero-btn:not(.site-hero-btn--secondary):hover svg,
.site-hero-btn:not(.site-hero-btn--secondary):hover .arr {
  stroke: #0a0d12 !important;
  color: #0a0d12 !important;
}

.site-hero-btn--secondary {
  background: #ffffff !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border: 1.5px solid #d3dce0 !important;
  box-shadow: 0 2px 8px rgba(12, 16, 21, 0.04) !important;
}

.site-hero-btn--secondary svg,
.site-hero-btn--secondary .arr {
  stroke: currentColor !important;
  color: #0a0d12 !important;
}

.site-hero-btn--secondary:hover {
  background: #ffffff !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 8px 24px -4px rgba(108, 240, 35, 0.35), 0 0 14px rgba(108, 240, 35, 0.18) !important;
}

.site-hero-btn--secondary:hover svg,
.site-hero-btn--secondary:hover .arr {
  stroke: #16a34a !important;
  color: #16a34a !important;
}

.site-button {
  min-height: 3.125rem !important;
  padding: 0.75rem 1.45rem !important;
  font-size: 0.9375rem !important;
  letter-spacing: -0.015em !important;
}

/* Primary hero buttons on light service hero backgrounds */
:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) .site-button--primary,
:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark):not(.kcard-btn) {
  background: #0c1015 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid #0c1015 !important;
  box-shadow: 0 4px 14px rgba(12, 16, 21, 0.16) !important;
}

:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) :is(.site-button--primary, .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark)) svg,
:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) :is(.site-button--primary, .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark)) .arr {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) .site-button--primary:hover,
:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark):not(.kcard-btn):hover {
  background: #6cf023 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 10px 24px -4px rgba(108, 240, 35, 0.48), 0 0 16px rgba(108, 240, 35, 0.28) !important;
}

:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) :is(.site-button--primary, .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark)):hover svg,
:is(.services-hero, .service-hero, [class*="hero"]):not([class*="analytics-hero"]):not([class*="analytics-hero"] *):not(.home-dark *):not(.svc2-hero *):not(.svc2-hero) :is(.site-button--primary, .site-button:not(.site-button--secondary):not(.site-button--light):not(.site-button--dark)):hover .arr {
  stroke: #0a0d12 !important;
  color: #0a0d12 !important;
}

/* All buttons on dark blocks, cards, and CTA banners */
:is([class*="cta"], [class*="tariff--dark"], [class*="bottom-banner"], [class*="goal-banner"], [class*="hr-card"], [class*="sub-card"], [class*="featured"], .tg-advantages-dark, .privacy-bottom-banner, .svc2-hero, [class*="analytics-hero"], article.media-creative-card, .media-card-horizontal, .dark-section, .sec-dark, [data-theme="dark"]) :is(.site-button, .site-button--green, .site-button--primary, .site-hero-btn--primary, .site-hero-btn, .btn, .kbb-cta-btn, .vk-btn-lime, .keisy-featured__btn, .tg-advantages-btn, .media-creative-btn, .privacy-bottom-btn--primary, button) {
  background: #6cf023 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border: 1.5px solid #6cf023 !important;
  box-shadow: 0 8px 24px -4px rgba(108, 240, 35, 0.42), 0 0 14px rgba(108, 240, 35, 0.22) !important;
  transform: none !important;
}

:is([class*="cta"], [class*="tariff--dark"], [class*="bottom-banner"], [class*="goal-banner"], [class*="hr-card"], [class*="sub-card"], [class*="featured"], .tg-advantages-dark, .privacy-bottom-banner, .svc2-hero, [class*="analytics-hero"], article.media-creative-card, .media-card-horizontal, .dark-section, .sec-dark, [data-theme="dark"]) :is(.site-button, .site-button--green, .site-button--primary, .site-hero-btn--primary, .site-hero-btn, .btn, .kbb-cta-btn, .vk-btn-lime, .keisy-featured__btn, .tg-advantages-btn, .media-creative-btn, .privacy-bottom-btn--primary, button) span {
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
}

:is([class*="cta"], [class*="tariff--dark"], [class*="bottom-banner"], [class*="goal-banner"], [class*="hr-card"], [class*="sub-card"], [class*="featured"], .tg-advantages-dark, .privacy-bottom-banner, .svc2-hero, [class*="analytics-hero"], article.media-creative-card, .media-card-horizontal, .dark-section, .sec-dark, [data-theme="dark"]) :is(.site-button, .site-button--green, .site-button--primary, .site-hero-btn--primary, .site-hero-btn, .btn, .kbb-cta-btn, .vk-btn-lime, .keisy-featured__btn, .tg-advantages-btn, .media-creative-btn, .privacy-bottom-btn--primary, button) :is(svg, .arr, span[class*="arrow"], span[class*="arr"]) {
  stroke: #0a0d12 !important;
  color: #0a0d12 !important;
}

:is([class*="cta"], [class*="tariff--dark"], [class*="bottom-banner"], [class*="goal-banner"], [class*="hr-card"], [class*="sub-card"], [class*="featured"], .tg-advantages-dark, .privacy-bottom-banner, .svc2-hero, [class*="analytics-hero"], article.media-creative-card, .media-card-horizontal, .dark-section, .sec-dark, [data-theme="dark"]) :is(.site-button, .site-button--green, .site-button--primary, .site-hero-btn--primary, .site-hero-btn, .btn, .kbb-cta-btn, .vk-btn-lime, .keisy-featured__btn, .tg-advantages-btn, .media-creative-btn, .privacy-bottom-btn--primary, button):hover {
  background: #7ef438 !important;
  border-color: #7ef438 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  box-shadow: 0 14px 32px -4px rgba(108, 240, 35, 0.58), 0 0 22px rgba(108, 240, 35, 0.38) !important;
  transform: none !important;
}

:is([class*="cta"], [class*="tariff--dark"], [class*="bottom-banner"], [class*="goal-banner"], [class*="hr-card"], [class*="sub-card"], [class*="featured"], .tg-advantages-dark, .privacy-bottom-banner, .svc2-hero, [class*="analytics-hero"], article.media-creative-card, .media-card-horizontal, .dark-section, .sec-dark, [data-theme="dark"]) :is(.site-button, .site-button--green, .site-button--primary, .site-hero-btn--primary, .site-hero-btn, .btn, .kbb-cta-btn, .vk-btn-lime, .keisy-featured__btn, .tg-advantages-btn, .media-creative-btn, .privacy-bottom-btn--primary, button):hover :is(svg, .arr, span[class*="arrow"], span[class*="arr"], .keisy-cta-card__btn-arrow, .keisy-featured__btn-arrow) {
  transform: translateX(4px) !important;
}

.site-button--dark {
  background: #0c1015 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid #0c1015 !important;
  box-shadow: 0 4px 14px rgba(12, 16, 21, 0.12) !important;
}

.site-button--dark:hover {
  background: #6cf023 !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 10px 24px -4px rgba(108, 240, 35, 0.48), 0 0 16px rgba(108, 240, 35, 0.28) !important;
}

.site-button--light {
  background: #ffffff !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border: 1.5px solid #d3dce0 !important;
  box-shadow: 0 2px 8px rgba(12, 16, 21, 0.04) !important;
}

.site-button--light:hover {
  background: #ffffff !important;
  color: #0a0d12 !important;
  -webkit-text-fill-color: #0a0d12 !important;
  border-color: #6cf023 !important;
  transform: none !important;
  box-shadow: 0 8px 24px -4px rgba(108, 240, 35, 0.35), 0 0 14px rgba(108, 240, 35, 0.18) !important;
}

@media (max-width: 48rem) {
  .site-hero-btn {
    min-height: 3.25rem !important;
    padding: 0 1.35rem !important;
    font-size: 0.9rem !important;
  }
  .site-button {
    min-height: 2.9rem !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.875rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-hero-btn,
  .site-button,
  .site-hero-btn svg,
  .site-hero-btn .arr,
  .site-hero-btn span[class*="arrow"],
  .site-button svg,
  .site-button .arr,
  .site-button span[class*="arrow"] {
    transition: none !important;
    transform: none !important;
  }
  .site-hero-btn:hover,
  .site-button:hover,
  .site-hero-btn:active,
  .site-button:active {
    transform: none !important;
  }
}


