/* Align service section introductions with the left-led homepage rhythm. */
main[data-service-page] section h2 {
  text-align: left !important;
}

main[data-service-page] .dn-section-head--center,
main[data-service-page] .dn-inner--audience .dn-audience-intro,
main[data-service-page] .gads-head--center {
  text-align: left !important;
}

main[data-service-page] .dn-section-head--center > :is(h2, p),
main[data-service-page] .dn-inner--audience .dn-audience-intro > :is(h2, p),
main[data-service-page] .gads-head--center > :is(h2, p) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

main[data-service-page] .dn-inner--audience .dn-audience-intro {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

main[data-service-page] .gads-head--center {
  align-items: flex-start !important;
}

html body.page-service-max #benefits.maxm-sec .maxm-sec03-row,
body.page-service-max #guarantees .max-guar-hero-row,
body.page-service-ai #guarantees .aim-guar-split {
  text-align: left !important;
}

html body.page-service-max #benefits.maxm-sec .maxm-sec03-info,
body.page-service-max #guarantees .max-guar-hero-info,
body.page-service-ai #guarantees .aim-guar-head-col {
  align-items: flex-start !important;
  text-align: left !important;
}

body.page-service-max #benefits .maxm-sec03-info > :is(h2, p),
body.page-service-max #guarantees .max-guar-hero-info > :is(h2, p),
body.page-service-ai #guarantees .aim-guar-head-col > :is(h2, p) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-service-max #benefits h2,
body.page-service-max #guarantees h2,
body.page-service-ai #guarantees h2 {
  text-align: left !important;
}

/* ==========================================================================
   UNIFIED SERVICE SECTION EYEBROWS
   ========================================================================== */
.dn-sec-eyebrow,
.dn-service-eyebrow,
.eyebrow,
.dn-service-cases-home__eyebrow,
.dn-consult__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: fit-content !important;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  color: #16a34a !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  white-space: nowrap !important;
}

.dn-sec-eyebrow::before,
.dn-service-eyebrow::before,
.eyebrow::before,
.dn-service-cases-home__eyebrow::before,
.dn-consult__eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  width: 32px !important;
  height: 2px !important;
  background: #22c55e !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}

/* Dark mode variations */
.dn-sec-eyebrow--dark,
[data-dn-tone="dark"] .dn-sec-eyebrow,
[data-service-tone="dark"] .dn-sec-eyebrow,
[data-tone="dark"] .dn-sec-eyebrow,
.dv3-sec--dark .dn-sec-eyebrow,
.tgr-section--dark .dn-sec-eyebrow,
.tgr-dark-section .dn-sec-eyebrow,
.tg-bento-section .dn-sec-eyebrow,
.target-guarantees .dn-sec-eyebrow,
.vkm-sec--dark .dn-sec-eyebrow,
.maxm-sec--dark .dn-sec-eyebrow,
.tz-dark-section .dn-sec-eyebrow,
.gads-sec--dark .dn-sec-eyebrow,
.tgr-07-stage .dn-sec-eyebrow {
  color: #22c55e !important;
}

.dn-sec-eyebrow--dark::before,
[data-dn-tone="dark"] .dn-sec-eyebrow::before,
[data-service-tone="dark"] .dn-sec-eyebrow::before,
[data-tone="dark"] .dn-sec-eyebrow::before,
.dv3-sec--dark .dn-sec-eyebrow::before,
.tgr-section--dark .dn-sec-eyebrow::before,
.tgr-dark-section .dn-sec-eyebrow::before,
.tg-bento-section .dn-sec-eyebrow::before,
.target-guarantees .dn-sec-eyebrow::before,
.vkm-sec--dark .dn-sec-eyebrow::before,
.maxm-sec--dark .dn-sec-eyebrow::before,
.tz-dark-section .dn-sec-eyebrow::before,
.gads-sec--dark .dn-sec-eyebrow::before,
.tgr-07-stage .dn-sec-eyebrow::before {
  background: #22c55e !important;
}

/* Ensure headings immediately following eyebrows have margin-top: 0 so total distance is strictly 14px */
.dn-sec-eyebrow + h1,
.dn-sec-eyebrow + h2,
.dn-sec-eyebrow + .h2,
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + .h2,
.dn-service-cases-home__eyebrow + h1,
.dn-service-cases-home__eyebrow + h2,
.dn-consult__eyebrow + h1,
.dn-consult__eyebrow + h2,
.dn-consult__eyebrow + .dn-consult__title,
main[data-service-page] .dn-service-cases-home__head h2,
main[data-service-page] .dn-audience-intro h2,
main[data-service-page] .faq-head h2,
.stoimost-side-info h2 {
  margin-top: 0 !important;
}

/* Pricing top bar distance */
.stoimost-top-bar {
  margin-bottom: 14px !important;
}
.stoimost-top-bar .dn-sec-eyebrow,
.stoimost-top-bar .eyebrow {
  margin-bottom: 0 !important;
}

/* Universal guarantee for eyebrows across all service sections */
main[data-service-page] section:not(#pricing) .dn-sec-eyebrow,
main[data-service-page] section:not(#pricing) .eyebrow,
main[data-service-page] section:not(#pricing) .dn-service-cases-home__eyebrow,
main[data-service-page] section:not(#pricing) .dn-consult__eyebrow {
  display: inline-flex !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

#formats.vkm-sec .vkm-formats-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Exact overrides for sections where parent grid/flex gap added extra distance or where specific stylesheets existed */
.stoimost-top-bar {
  margin-bottom: 14px !important;
}
.stoimost-top-bar .dn-sec-eyebrow,
.stoimost-top-bar .eyebrow {
  margin-bottom: 0 !important;
}
.stoimost-top-bar .dn-sec-eyebrow::before,
.stoimost-top-bar .eyebrow::before {
  width: 32px !important;
}

.faq-head .eyebrow,
.faq-head .dn-sec-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  color: #16a34a !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.faq-head .eyebrow::before,
.faq-head .dn-sec-eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  width: 32px !important;
  height: 2px !important;
  background: #22c55e !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}

.gads-related-sidebar__top {
  gap: 0 !important;
}
.gads-related-sidebar__top .dn-sec-eyebrow,
.gads-related-sidebar__top .eyebrow {
  margin-bottom: 14px !important;
}
.gads-related-sidebar__top h2,
.gads-related-sidebar__top .gads-h2 {
  margin-top: 0 !important;
  margin-bottom: 1.15rem !important;
}

.gads-guarantee-panoramic__left {
  gap: 0 !important;
}
.gads-guarantee-panoramic__left .dn-sec-eyebrow {
  margin-bottom: 14px !important;
}
.gads-guarantee-panoramic__left h2,
.gads-guarantee-panoramic__left .gads-h2 {
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}

/* Exact vertical spacing unification for #pricing */
.stoimost-top-bar {
  align-items: flex-end !important;
  margin-bottom: 14px !important;
}
.stoimost-side-info {
  padding-top: 0 !important;
}
.stoimost-side-info h2,
#pricing h2 {
  margin-top: 0 !important;
}

/* Exact vertical spacing unification for #guarantees on AI page */
#guarantees.aim-sec .aim-h2,
.aim-guar-head-col .aim-h2,
.aim-guar-head-col h2,
#guarantees.aim-sec h2 {
  margin-top: 0 !important;
}
