: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: flex;
  align-items: center;
  gap: 28px;
}
.header-address {
  max-width: 31ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}
.header-links {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  font-size: 14px;
}
.header-links a:last-child { color: #1264a3; }
.header-phone {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
}
.header-links a:hover { color: var(--blue); }

.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: 145px;
  max-height: 54px;
}

.contact { padding: 50px max(56px, calc((100vw - var(--container)) / 2)) 18px; }
.contact-main { display: flex; justify-content: space-between; align-items: center; 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; }
.legal { margin-top: 18px; color: #5f6d77; }
.legal summary {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #33414b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid rgba(23, 33, 42, .2);
  border-radius: 50%;
  background: linear-gradient(var(--blue), var(--blue)) center / 10px 2px no-repeat,
              linear-gradient(var(--blue), var(--blue)) center / 2px 10px no-repeat;
}
.legal[open] summary::after {
  background: linear-gradient(var(--blue), var(--blue)) center / 10px 2px no-repeat;
}
.legal summary:hover { color: var(--blue); }
.legal summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.legal-grid {
  max-width: 880px;
  margin-top: 22px;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  border: 1px solid #e4e9ed;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(23, 33, 42, .05);
}
.legal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}
.legal-toolbar strong {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  letter-spacing: -.025em;
}
.legal-toolbar strong::before {
  content: "";
  width: 4px;
  height: 28px;
  flex: none;
  background: var(--blue);
}
.copy-requisites {
  flex: none;
  padding: 10px 16px;
  border: 1px solid #dce3e9;
  border-radius: 6px;
  background: #f7f9fb;
  color: #33414b;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.copy-requisites:hover { color: var(--blue); border-color: var(--blue); background: #fff; }
.copy-requisites:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.requisites { margin: 0; font-size: 14px; line-height: 1.55; }
.requisites div {
  display: grid;
  grid-template-columns: minmax(155px, 210px) minmax(0, 1fr);
  gap: 12px 28px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f2;
}
.requisites dt { color: #75818b; }
.requisites dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.copy-status { margin: 0; font-size: 13px; color: #53616b; }
.copy-status:not(:empty) { margin-top: 16px; }
@media (max-width: 600px) {
  .legal-grid { padding: 20px; }
  .legal-toolbar { align-items: flex-start; flex-wrap: wrap; padding-bottom: 18px; }
  .legal-toolbar strong { font-size: 18px; }
  .requisites div { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .requisites { font-size: 13px; }
}

.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-contact { flex-direction: column-reverse; align-items: flex-end; gap: 5px; }
  .header-links { justify-items: end; padding: 0; border: 0; gap: 0; font-size: 13px; }
  .header-phone { font-size: 15px; }
  .header-address { max-width: 32ch; font-size: 12px; line-height: 1.3; }
  .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: 120px; max-height: 44px; }
  .contact { padding: 30px 18px 14px; }
  .contact-main { display: grid; gap: 20px; padding-bottom: 21px; }
  .contact-main h2 { font-size: 36px; }
}

@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; }
}
