:root {
  color-scheme: light;
  --blue: #0868ff;
  --red: #f3262f;
  --ink: #17212a;
  --muted: #687681;
  --line: rgba(23, 33, 42, .14);
  --night: #f4f6f8;
  --panel: #edf1f3;
  --container: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: 14px; top: -60px; z-index: 8; padding: 10px 14px; background: #fff; color: #111; }
.skip-link:focus { top: 10px; }

.header {
  width: min(var(--container), calc(100% - 80px));
  height: 100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 98px; height: 86px; object-fit: contain; }
.header-contact {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #53616b;
  font-size: 13px;
}
.header-address { max-width: 36ch; text-align: right; line-height: 1.3; }
.header-contact a { color: #1264a3; }
.header-contact .header-phone { color: var(--ink); }
.header-phone {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: .01em;
}
.header-phone:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: var(--blue);
  transform: scaleX(.45);
  transform-origin: left;
  transition: transform .2s;
}
.header-phone:hover:after { transform: scaleX(1); }

.hero {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
}
.hero-copy {
  padding: clamp(26px, 4vw, 58px) clamp(20px, 4vw, 58px) 30px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: #65737d;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .16em;
}
.eyebrow span { width: 30px; height: 3px; background: var(--blue); }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.hero h1 {
  max-width: 22ch;
  margin: 0;
  color: #17212a;
  font-size: clamp(48px, 4.7vw, 70px);
  line-height: .93;
  letter-spacing: -.075em;
  font-weight: 720;
}
.hero h1 em { color: #075dff; font-style: normal; }
.lead {
  max-width: 62ch;
  margin: 27px 0 0;
  color: #53616b;
  font-size: 19px;
  line-height: 1.55;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.cycle {
  width: min(var(--container), calc(100% - 40px));
  min-height: 104px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 58px);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: #24303a;
  font-size: 15px;
  font-weight: 570;
}
.cycle-label { margin-right: 20px; color: #73818c; font-size: 10px; font-weight: 740; letter-spacing: .16em; }
.cycle b { color: #2877ff; font-size: 19px; font-weight: 420; }

.services {
  width: min(var(--container), calc(100% - 112px));
  margin: 0 auto;
  padding: 66px 0 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.services > div { padding: 4px 22px 0; border-left: 1px solid var(--line); }
.services > div:first-child { padding-left: 0; border: 0; }
.services small { display: block; color: #4386ff; font-size: 11px; font-weight: 760; letter-spacing: .1em; }
.services h2 { min-height: 2.24em; margin: 14px 0 6px; font-size: 25px; line-height: 1.12; letter-spacing: -.045em; font-weight: 620; }
.services ul { list-style: none; margin: 10px 0 0; padding: 0; color: #53616b; font-size: 15px; }
.services li + li { margin-top: 4px; }

.clients {
  padding: 12px max(56px, calc((100vw - var(--container)) / 2));
  background: #17212a;
  color: #f5f7fa;
  border-top: 1px solid rgba(210, 226, 235, .08);
  border-bottom: 1px solid rgba(210, 226, 235, .08);
}
.logo-grid {
  container-type: inline-size;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: #82909d transparent;
}
.logo-track { display: flex; width: max-content; }
.logo-group {
  --logo-gap: 40px;
  display: flex;
  flex: none;
  min-width: 100cqw;
  gap: var(--logo-gap);
  padding-inline-end: var(--logo-gap);
}
.logo-group[aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .logo-grid.is-moving { overflow: hidden; padding-bottom: 0; }
  .is-moving .logo-group[aria-hidden="true"] { display: flex; }
  .is-moving .logo-track { animation: logo-loop 32s linear infinite; }
}

@keyframes logo-loop {
  to { transform: translateX(-50%); }
}
.logo-grid:focus-visible { outline: 2px solid #9bc5ff; outline-offset: 3px; }
.logo-card img.logo-severstal { filter: brightness(0) invert(1); }
.logo-card {
  flex: none;
  min-height: 76px;
  padding-block: 8px;
  display: grid;
  place-items: center;
}
.logo-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 165px;
  max-height: 54px;
}

.contact { padding: 50px max(56px, calc((100vw - var(--container)) / 2)) 18px; }
.contact-main { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.contact .eyebrow { margin: 0 0 14px; color: #687681; font-size: 10px; }
.contact .eyebrow:before { content: ""; width: 22px; height: 2px; background: var(--red); }
.contact-main h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -.06em; font-weight: 620; }
.contact-links { min-width: 310px; display: grid; gap: 5px; }
.contact-links a:first-child { font-size: 22px; font-weight: 660; }
.contact-links a:nth-child(2) { font-size: 16px; color: #1264a3; }
.contact-links address { margin-top: 7px; color: #5f6d77; font-size: 13px; font-style: normal; }
.legal { margin-top: 15px; color: #5f6d77; font-size: 11px; }
.legal summary { cursor: pointer; color: #33414b; }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 14px; }
.legal-grid b { font-size: 11px; }
.legal-grid p { font-size: 11px; line-height: 1.7; margin: 4px 0 0; color: #5f6d77; }
.copyright { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: #74818a; font-size: 11px; }

@media (max-width: 1000px) {
  .header { width: calc(100% - 56px); }
  .hero h1 { font-size: clamp(39px, 4.8vw, 56px); }
  .services { width: calc(100% - 72px); }
  .cycle { gap: 8px; font-size: 12px; }
  .cycle-label { margin-right: 7px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .services > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .services h2 { font-size: 21px; }
  .clients, .contact { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 760px) {
  .hero { width: calc(100% - 20px); }
  .header { width: calc(100% - 36px); min-height: 84px; height: auto; padding-block: 8px; gap: 12px; }
  .brand img { width: 68px; height: 60px; }
  .header-phone { font-size: 13px; }
  .eyebrow { gap: 8px; margin-bottom: 22px; font-size: 9px; }
  .eyebrow span { width: 22px; height: 2px; }
  .hero h1 { font-size: clamp(36px, 11.5vw, 64px); line-height: .96; }
  .lead { max-width: 420px; margin-top: 18px; font-size: 15px; }
  .cycle { width: calc(100% - 20px); min-height: 0; padding: 19px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 12px; }
  .cycle-label { grid-column: 1 / -1; margin: 0 0 2px; }
  .cycle b { display: none; }
  .cycle span:not(.cycle-label):before { content: "—"; margin-right: 7px; color: var(--blue); }
  .services { width: calc(100% - 40px); padding: 36px 0 40px; grid-template-columns: 1fr; gap: 19px; }
  .services > div, .services > div:first-child { padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--line); }
  .services > div:last-child { padding-bottom: 0; border: 0; }
  .services h2 { min-height: 0; margin: 7px 0 3px; font-size: 20px; }
  .services ul { font-size: 14px; }
  .clients { padding: 8px 18px; }
  .logo-group { --logo-gap: 28px; }
  .logo-card { min-height: 58px; padding-block: 6px; }
  .logo-card img { max-width: 130px; max-height: 44px; }
  .contact { padding: 30px 18px 14px; }
  .contact-main { display: grid; gap: 20px; padding-bottom: 21px; }
  .contact-main h2 { font-size: 36px; }
  .contact-links { min-width: 0; gap: 4px; }
  .contact-links a:first-child { font-size: 21px; }
  .contact-links address { font-size: 11px; }
  .legal-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}

.logo-card img.logo-rtu { max-width: 125px; }

.logo-card img.logo-stg { width: 52px; }
@media (max-width: 700px) {
  .logo-card img.logo-stg { width: 44px; }
}
