/* Shared rhythm for the existing content sections; Hero keeps its own scale. */
:root {
  --section-space: 80px;
  --section-font: Manrope, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --section-heading-size: clamp(32px, 2.85vw, 44px);
  --section-heading-line-height: 1.14;
  --section-heading-gap: 20px;
  --header-offset: 100px;
}
html { scroll-behavior: smooth; scroll-padding-top: 0; }
:is(#top,#main,#xizmatlar,#loyihalar,#integratsiyalar,#biz-haqimizda,#nega-yantar-1,#nega-yantar-2,#nega-yantar-3,#jarayon,#kontakt) {
  scroll-margin-top: var(--header-offset);
}
.yantar-services-v2 .ys2-intro h2,
.yantar-approach-v2 .ya2-title,
.yantar-why-01 .yw1-intro h2,
.yantar-why-02 .yw2-brand-row h2,
.yantar-why-03 .yw3-copy h2,
.yantar-portfolio-v1 .ypf-header h2,
.yantar-process-v1 #ypc-heading,
.yantar-footer-v1 .yf-title {
  font: 800 var(--section-heading-size)/var(--section-heading-line-height) var(--section-font);
  letter-spacing: -.04em;
  margin: 0;
}
.yantar-services-v2 .ys2-kicker,
.yantar-approach-v2 .ya2-kicker,
.yantar-why-01 .yw1-kicker,
.yantar-why-03 .yw3-kicker,
.yantar-portfolio-v1 .ypf-eyebrow,
.yantar-process-v1 .ypc-eyebrow,
.yantar-footer-v1 .yf-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--section-heading-gap);
  font: 800 16px/1.4 var(--section-font);
  letter-spacing: .015em;
}
.yantar-services-v2 .ys2-kicker > span,
.yantar-approach-v2 .ya2-kicker > span,
.yantar-why-01 .yw1-kicker > span,
.yantar-process-v1 .ypc-eyebrow > span,
.yantar-footer-v1 .yf-eyebrow > span {
  width: 30px;
  height: 4px;
  flex: 0 0 30px;
  border-radius: 4px;
}
.yantar-portfolio-v1 .ypf-eyebrow { padding: 0; border: 0; }
.yantar-portfolio-v1 .ypf-eyebrow::before { content: ""; width: 30px; height: 4px; flex: 0 0 30px; border-radius: 4px; background: #ff9a37; }
.yantar-portfolio-v1 .ypf-brand-row { margin-bottom: 0; }
.yantar-why-02 .yw2-brand-row { margin-bottom: var(--section-heading-gap); }
.yantar-services-v2 .ys2-intro-copy,
.yantar-approach-v2 .ya2-lead,
.yantar-why-01 .yw1-lead,
.yantar-why-03 .yw3-lead,
.yantar-portfolio-v1 .ypf-intro,
.yantar-footer-v1 .yf-lead { margin-top: var(--section-heading-gap); }
@media (max-width: 1040px) {
  :root { --section-space: 64px; }
}
@media (max-width: 600px) {
  :root { --section-space: 48px; --section-heading-size: clamp(28px, 7.6vw, 36px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
