:root {
  --red: #e21f1d;
  --dark-red: #910000;
  --black: #000;
  --white: #fff;
  --muted: #9d9d9d;
  --content: min(1494px, calc(100% - 80px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.admin-bar .site-header {
  top: 32px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: #fff;
  color: #000;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: clamp(96px, 6.875vw, 132px);
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header__inner {
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: clamp(100px, 6.41vw, 123px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.9vw, 56px);
  text-transform: uppercase;
  font-size: clamp(12px, 0.83vw, 16px);
  letter-spacing: 0.01em;
}

.main-nav a,
.main-nav span {
  padding: 12px 4px;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav a[aria-current="page"] {
  color: var(--red);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  height: clamp(650px, 51.56vw, 990px);
  overflow: hidden;
  background: #101010;
  isolation: isolate;
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide {
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 720ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), visibility 720ms ease;
}

.hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image: url("../images/hero-railway.jpg");
  background-size: cover;
  background-position: center 48%;
  filter: grayscale(1) contrast(1.12) brightness(0.56);
  transform: scale(1.02);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
}

.hero__slide--laboratory .hero__photo {
  background-image: url("../images/contact-railway.jpg");
  background-position: center;
  filter: grayscale(1) contrast(1.18) brightness(0.42);
}

.hero__slide--laboratory .hero__signal {
  left: -18%;
  transform: scaleX(-1);
}

.hero__signal {
  position: absolute;
  z-index: -2;
  top: 29.5%;
  left: -26%;
  width: 149.6%;
  max-width: none;
  height: 47.7%;
  object-fit: fill;
  opacity: 0.48;
  mix-blend-mode: screen;
}

.hero__content {
  position: absolute;
  top: 47.8%;
  left: 50%;
  width: min(900px, 82%);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 22px));
  text-align: center;
  text-shadow: 0 4px 9px rgba(0, 0, 0, 0.28);
  transition: opacity 520ms ease 120ms, transform 680ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.hero__slide.is-active .hero__content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero h1,
.hero h2 {
  margin: 0 0 12px;
  font-size: clamp(42px, 2.6vw, 50px);
  font-weight: 900;
  line-height: 1.13;
}

.hero p {
  margin: 0 0 55px;
  font-size: clamp(15px, 0.9vw, 17px);
}

.outline-button,
.dark-outline-button {
  display: inline-flex;
  width: 272px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 15px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.outline-button:hover {
  background: #fff;
  color: #000;
  text-shadow: none;
}

.hero__pager {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 7%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero__pager button,
.news-dots button {
  position: relative;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero__pager button::after,
.news-dots button::after {
  content: "";
  position: absolute;
  inset: -9px;
}

.hero__pager button:hover,
.hero__pager button:focus-visible,
.news-dots button:hover,
.news-dots button:focus-visible {
  transform: scale(1.45);
}

.hero__pager button.is-active,
.news-dots button.is-active {
  background: var(--red);
}

@media (min-width: 781px) {
  .hero__slide--certification .hero__photo {
    inset: auto;
    top: 0.4%;
    left: -16.35%;
    width: 124.43%;
    height: 99.5%;
    overflow: hidden;
    background-image: none;
    transform: none;
  }

  .hero__slide--certification .hero__photo::before {
    content: "";
    position: absolute;
    top: -105.6%;
    left: 0;
    width: 100%;
    height: 362.6%;
    background: url("../images/hero-railway.jpg") center / 100% 100% no-repeat;
  }

  .hero__slide--certification .hero__signal {
    left: -34.6%;
    opacity: 0.51;
    mix-blend-mode: color-dodge;
  }

  .hero__slide--certification::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 29.5%;
    left: -34.6%;
    width: 149.6%;
    height: 47.7%;
    background: url("../images/hero-track-red.svg") 0 0 / 100% 100% no-repeat;
    opacity: 0.04;
    mix-blend-mode: screen;
  }

  .hero__slide--laboratory .hero__photo {
    inset: 0;
    width: 100%;
    height: 100%;
    background: url("../images/contact-railway.jpg") center 47% / cover no-repeat;
    transform: scale(1.025);
  }

  .hero__slide--laboratory .hero__signal {
    left: -14%;
    opacity: 0.42;
    mix-blend-mode: color-dodge;
  }

  .hero__content {
    top: 54.5%;
  }
}

.news {
  position: relative;
  z-index: 2;
  min-height: 980px;
  padding: clamp(90px, 8.5vw, 162px) 0 0;
  margin-top: -34px;
  overflow: hidden;
  background: #fff;
  color: #000;
  border-radius: 30px 30px 0 0;
}

.section-heading {
  margin-bottom: 68px;
  text-align: center;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(40px, 2.6vw, 50px);
  font-weight: 900;
  line-height: 1.13;
}

.section-heading p,
.about__intro > p,
.contact__intro > p {
  margin: 0;
  font-size: 17px;
}

.news-grid {
  width: var(--content);
  margin: 0 auto;
  display: flex;
  gap: clamp(22px, 2.2vw, 42px);
}

.news-card {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  height: clamp(370px, 25.73vw, 494px);
  overflow: hidden;
  border-radius: 20px;
  background: #5d0000;
  color: #fff;
  cursor: pointer;
  transition: flex 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 320ms ease, box-shadow 320ms ease;
}

.news-card.is-active {
  flex-grow: 1.28;
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(70, 0, 0, 0.2);
}

.news-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.news-card.is-active > img {
  transform: scale(1.055);
  filter: contrast(1.05);
}

.news-card:nth-child(1) > img {
  object-position: 52% center;
}

.news-card:nth-child(2) > img {
  object-position: 50% center;
}

.news-card:nth-child(3) > img {
  object-position: 55% center;
}

.news-card:nth-child(4) > img {
  object-position: 50% center;
}

.news-card__shade {
  position: absolute;
  inset: 0;
  background: var(--dark-red);
  opacity: 0.77;
  mix-blend-mode: hard-light;
  transition: opacity 420ms ease;
}

.news-card.is-active .news-card__shade {
  opacity: 0.62;
}

.news-card::after {
  content: "";
  position: absolute;
  inset: 36% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.news-card__body {
  position: absolute;
  z-index: 2;
  inset: auto 14px 16px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card.is-active .news-card__body {
  transform: translateY(-8px);
}

.news-card h3 {
  max-width: 305px;
  margin: 0 4px 16px;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.13;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.73);
}

.news-card a {
  min-height: 38px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 15px;
  transition: background 160ms ease, color 160ms ease;
}

.news-card a:hover {
  background: #fff;
  color: #000;
}

.is-preview-link {
  cursor: default;
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 50px;
}

.news-dots i {
  background: #d9d9d9;
}

.news-dots button {
  background: #d9d9d9;
}

.dark-outline-button {
  display: flex;
  margin: 0 auto;
}

.dark-outline-button:hover {
  background: #000;
  color: #fff;
}

.clients-label {
  margin: 118px 0 32px;
  text-align: center;
  font-size: 17px;
}

.clients {
  --marquee-gap: clamp(44px, 4.58vw, 88px);
  height: 115px;
  overflow: hidden;
  opacity: 0.5;
  filter: grayscale(1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients__track,
.clients__group {
  display: flex;
  align-items: center;
}

.clients__track {
  width: max-content;
  min-width: 100%;
  height: 100%;
  gap: var(--marquee-gap);
  will-change: transform;
  animation: clients-marquee 34s linear infinite;
}

.clients__group {
  flex: 0 0 auto;
  gap: var(--marquee-gap);
}

.clients:hover .clients__track,
.clients:focus-within .clients__track {
  animation-play-state: paused;
}

@keyframes clients-marquee {
  to {
    transform: translate3d(calc(-50% - (var(--marquee-gap) / 2)), 0, 0);
  }
}

.client-logo {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.client-logo img {
  position: absolute;
  max-width: none;
}

.client-logo--1 { width: 139px; height: 78px; }
.client-logo--1 img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client-logo--2 { width: 143px; height: 41px; }
.client-logo--2 img { width: 257.39%; height: 498.75%; left: -79.02%; top: -199.75%; }
.client-logo--3 { width: 98px; height: 39px; }
.client-logo--3 img { width: 126.42%; height: 177.78%; left: -17.28%; top: -31.48%; }
.client-logo--4 { width: 117px; height: 40px; }
.client-logo--4 img { width: 114.2%; height: 189.2%; left: -6.79%; top: -43.69%; }
.client-logo--5 { width: 174px; height: 36px; }
.client-logo--5 img { width: 101.28%; height: 269.81%; left: -0.64%; top: -81.13%; }
.client-logo--6 { width: 144px; height: 42px; }
.client-logo--6 img { width: 102.04%; height: 193.12%; left: -2.04%; top: -46.56%; }
.client-logo--7 { width: 73px; height: 42px; }
.client-logo--7 img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client-logo--8 { width: 106px; height: 42px; }
.client-logo--8 img { width: 186.84%; height: 262.34%; left: -0.09%; top: -81.82%; }
.client-logo--9 { width: 160px; height: 90px; }
.client-logo--9 img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

.about {
  min-height: 730px;
  background: #000;
}

.about__inner {
  width: var(--content);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.about__intro .outline-button {
  margin-top: 55px;
}

.about__copy {
  max-width: 602px;
  font-size: 17px;
  line-height: 1.24;
}

.about__copy p + p {
  margin-top: 26px;
}

.contact {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #c00000;
  isolation: isolate;
}

.contact__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("../images/contact-railway.jpg");
  background-position: center 48%;
  background-size: cover;
  opacity: 0.27;
  mix-blend-mode: screen;
}

.contact__inner {
  width: var(--content);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.contact__intro {
  text-shadow: 0 4px 9px rgba(0, 0, 0, 0.25);
}

.offer-form {
  position: relative;
  display: grid;
  gap: 11px;
}

.offer-form__required {
  margin: 0 0 2px;
  text-align: right;
  font-size: 14px;
  font-weight: 300;
}

.offer-form input[type="text"],
.offer-form input[type="email"],
.offer-form input[type="tel"],
.offer-form textarea,
.file-field {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.01);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.offer-form input[type="text"],
.offer-form input[type="email"],
.offer-form input[type="tel"] {
  height: 42px;
  padding: 0 24px;
}

.offer-form input::placeholder,
.offer-form textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.offer-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.offer-form textarea {
  min-height: 220px;
  padding: 12px 24px;
  resize: vertical;
}

.file-field {
  min-height: 42px;
  padding: 4px 12px 4px 24px;
  display: grid;
  grid-template-columns: 1fr 147px 1fr;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.file-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-field__button {
  padding: 6px 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.34);
  text-align: center;
  cursor: pointer;
}

.file-field__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.consent {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  align-items: start;
  margin: 3px 26px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.3;
}

.consent input {
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: #000;
}

.offer-form button {
  width: 272px;
  height: 42px;
  margin: 4px auto 0;
  border: 1px solid #fff;
  border-radius: 43px;
  background: #fff;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}

.offer-form button:hover {
  background: #000;
  color: #fff;
}

.offer-form__status {
  min-height: 19px;
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.form-preview-note {
  max-width: 520px;
  margin: 34px 0 0;
  padding: 18px 22px;
  border-left: 3px solid #fff;
  background: rgba(0, 0, 0, 0.12);
  font-size: 14px !important;
  line-height: 1.5;
  text-shadow: none;
}

.site-footer {
  min-height: 472px;
  background: #000;
  color: var(--muted);
}

.site-footer__inner {
  position: relative;
  width: var(--content);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70px 370px 180px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 72px;
}

.socials {
  display: grid;
  gap: 20px;
  padding-top: 36px;
}

.socials img {
  width: 34px;
  height: 34px;
}

.footer-contact {
  padding-left: 38px;
  border-left: 1px solid #474747;
  font-size: 15px;
  font-weight: 300;
}

.footer-contact strong {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: #fff;
}

.footer-nav {
  display: grid;
  gap: 13px;
  padding-left: 38px;
  border-left: 1px solid #474747;
  font-weight: 600;
}

.footer-logo {
  justify-self: end;
  width: 157px;
  height: auto;
}

.footer-legal {
  position: absolute;
  right: 0;
  bottom: 54px;
  left: 0;
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 38px;
  border-top: 1px solid #474747;
  color: #fff;
  font-size: 13px;
}

.fallback-page {
  min-height: 80vh;
  padding: 80px;
  background: #fff;
  color: #000;
}

.subpage-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #070707;
  isolation: isolate;
}

.subpage-hero__photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("../images/contact-railway.jpg") center 48% / cover no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(0.42);
}

.subpage-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.68) 100%);
}

.subpage-hero__signal {
  position: absolute;
  z-index: -2;
  top: 20%;
  left: -32%;
  width: 150%;
  max-width: none;
  height: 62%;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.subpage-hero__inner {
  width: var(--content);
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(62px, 6vw, 116px);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.subpage-hero__inner > p:last-child {
  max-width: 670px;
  margin: 30px 0 0;
  font-size: 20px;
}

.contact-directory {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding: 118px 0 130px;
  background: #fff;
  color: #000;
  border-radius: 30px 30px 0 0;
}

.contact-directory__heading,
.contact-cards,
.company-data__inner {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.contact-directory__heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.contact-directory__heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

.contact-directory__heading h2,
.company-data h2 {
  margin: 0;
  font-size: clamp(42px, 3.9vw, 74px);
  font-weight: 900;
  line-height: 1.02;
}

.contact-directory__heading > p:last-child {
  max-width: 580px;
  margin: 0 0 7px;
  color: #4d4d4d;
  font-size: 18px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  position: relative;
  min-height: 490px;
  padding: 44px 38px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 22px;
  background: #f5f5f5;
}

.contact-card::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 38px solid rgba(226, 31, 29, 0.08);
  border-radius: 50%;
}

.contact-card--primary {
  background: #080808;
  color: #fff;
  border-color: #080808;
}

.contact-card__eyebrow {
  margin: 0 0 24px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card h3 {
  max-width: 330px;
  margin: 0 0 14px;
  font-size: clamp(25px, 1.8vw, 34px);
  line-height: 1.08;
}

.contact-card__subtitle {
  min-height: 48px;
  margin: -4px 0 20px;
  color: #626262;
  font-size: 14px;
  line-height: 1.4;
}

.contact-card--primary .contact-card__subtitle {
  color: #aaa;
}

.contact-card address {
  margin: 18px 0 34px;
  font-style: normal;
  font-size: 17px;
}

.contact-card__links {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  gap: 9px;
}

.contact-card__links a {
  min-height: 68px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  font-size: clamp(13px, 0.85vw, 16px);
  overflow-wrap: anywhere;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-card--primary .contact-card__links a {
  border-color: #3d3d3d;
}

.contact-card__links a:hover {
  border-color: var(--red);
  background: rgba(226, 31, 29, 0.06);
}

.contact-card__links span {
  margin-bottom: 3px;
  color: #777;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact--page {
  min-height: 760px;
}

.contact--page .eyebrow {
  color: #fff;
}

.company-data {
  padding: 118px 0 130px;
  background: #050505;
}

.company-data__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.company-data__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.company-data__details p {
  margin: 0;
  padding: 24px;
  border-top: 1px solid #3a3a3a;
  color: #a9a9a9;
  line-height: 1.65;
}

.company-data__details strong {
  color: #fff;
  font-weight: 500;
}

.subpage-hero--about .subpage-hero__photo {
  background-image: url("../images/hero-railway.jpg");
  background-position: center 44%;
}

.about-overview {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding: 120px 0 132px;
  background: #fff;
  color: #000;
  border-radius: 30px 30px 0 0;
}

.about-overview__heading,
.about-pillars,
.about-permissions,
.research-unit,
.about-mission__inner {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.about-overview__heading {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 110px;
  align-items: end;
  margin-bottom: 68px;
}

.about-overview__heading h2,
.about-permissions h2,
.research-unit h2,
.about-mission h2 {
  margin: 0;
  font-size: clamp(46px, 4.2vw, 80px);
  font-weight: 900;
  line-height: 0.98;
}

.about-overview__heading > p {
  max-width: 610px;
  margin: 0 0 8px;
  color: #4d4d4d;
  font-size: 19px;
  line-height: 1.55;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-pillar {
  position: relative;
  min-height: 590px;
  padding: 56px 54px 46px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
}

.about-pillar::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 48px solid rgba(226, 31, 29, 0.08);
  border-radius: 50%;
}

.about-pillar--dark {
  background: #080808;
  color: #fff;
}

.about-pillar--light {
  background: #f1f1f1;
  color: #000;
  border: 1px solid #d8d8d8;
}

.about-pillar__number {
  position: absolute;
  top: 22px;
  right: 36px;
  margin: 0;
  color: rgba(226, 31, 29, 0.24);
  font-size: clamp(68px, 6vw, 112px);
  font-weight: 900;
  line-height: 1;
}

.about-pillar .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
}

.about-pillar h3 {
  position: relative;
  z-index: 1;
  max-width: 590px;
  margin: 84px 0 26px;
  font-size: clamp(32px, 2.7vw, 52px);
  line-height: 1.04;
}

.about-pillar > p:not(.eyebrow, .about-pillar__number) {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  color: #bcbcbc;
  font-size: 16px;
  line-height: 1.65;
}

.about-pillar--light > p:not(.eyebrow, .about-pillar__number) {
  color: #4d4d4d;
}

.about-pillar__tags {
  position: relative;
  z-index: 1;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.about-pillar__tags li {
  padding: 8px 14px;
  border: 1px solid #474747;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.about-pillar__proof {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.about-pillar__proof strong {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}

.about-pillar__proof span {
  max-width: 330px;
  color: #4d4d4d;
  font-size: 13px;
  line-height: 1.45;
}

.about-permissions {
  padding-top: 128px;
  padding-bottom: 136px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}

.about-permissions__intro {
  align-self: start;
  position: sticky;
  top: 178px;
}

.about-permissions__intro > p:last-child {
  max-width: 470px;
  margin: 34px 0 0;
  color: #a9a9a9;
  font-size: 17px;
  line-height: 1.6;
}

.permission-list {
  border-top: 1px solid #363636;
}

.permission-item {
  min-height: 142px;
  padding: 30px 8px;
  display: grid;
  grid-template-columns: 150px 1fr 34px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #363636;
  transition: border-color 160ms ease, color 160ms ease;
}

.permission-item:hover {
  border-color: var(--red);
}

.permission-item > strong {
  color: var(--red);
  font-size: clamp(20px, 1.8vw, 32px);
  line-height: 1;
}

.permission-item__copy {
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.55;
}

.permission-item__copy b {
  margin-bottom: 6px;
  display: block;
  color: #fff;
  font-size: 18px;
}

.permission-item__arrow {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transform: rotate(-45deg);
  transition: color 160ms ease, transform 160ms ease;
}

.permission-item:hover .permission-item__arrow {
  color: var(--red);
  transform: translate(3px, -3px) rotate(-45deg);
}

.research-unit {
  padding-top: 124px;
  padding-bottom: 132px;
  color: #000;
}

.research-unit {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  background: #f4f4f4;
  box-shadow: 0 0 0 100vmax #f4f4f4;
  clip-path: inset(0 -100vmax);
}

.research-unit__intro > p:last-child {
  max-width: 610px;
  margin: 34px 0 0;
  color: #4d4d4d;
  font-size: 17px;
  line-height: 1.65;
}

.research-unit__summary {
  align-self: end;
}

.research-unit__count {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.research-unit__count strong {
  color: var(--red);
  font-size: clamp(84px, 8vw, 150px);
  font-weight: 900;
  line-height: 0.8;
}

.research-unit__count span {
  max-width: 420px;
  color: #4d4d4d;
  font-size: 16px;
}

.research-unit__codes {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.research-unit__codes span {
  padding: 14px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.instruction-list {
  grid-column: 1 / -1;
  margin-top: 12px;
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.instruction-list summary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.instruction-list summary::-webkit-details-marker {
  display: none;
}

.instruction-list summary i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 25px;
  font-style: normal;
  transition: transform 160ms ease, background 160ms ease;
}

.instruction-list[open] summary i {
  background: var(--red);
  transform: rotate(45deg);
}

.instruction-list ol {
  margin: 0;
  padding: 0 0 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  counter-reset: instructions;
  list-style: none;
}

.instruction-list li {
  min-height: 96px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  border-top: 1px solid #d9d9d9;
  counter-increment: instructions;
}

.instruction-list li strong {
  color: var(--red);
  font-size: 14px;
}

.instruction-list li span {
  color: #4d4d4d;
  font-size: 13px;
  line-height: 1.55;
}

.about-mission {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #050505;
}

.about-mission__signal {
  position: absolute;
  right: -2vw;
  bottom: -23vw;
  color: rgba(226, 31, 29, 0.17);
  font-size: clamp(520px, 60vw, 1080px);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-18deg);
  pointer-events: none;
}

.about-mission__inner {
  position: relative;
  z-index: 1;
}

.about-mission h2 {
  max-width: 1120px;
  font-size: clamp(48px, 5.2vw, 94px);
}

.about-mission__inner > p:not(.eyebrow) {
  max-width: 690px;
  margin: 34px 0 44px;
  color: #b4b4b4;
  font-size: 18px;
}

.about-mission .outline-button {
  min-height: 50px;
}

@media (max-width: 1100px) {
  :root {
    --content: min(920px, calc(100% - 48px));
  }

  .main-nav {
    gap: 18px;
  }

  .news-grid {
    gap: 22px;
  }

  .clients {
    gap: 22px;
  }

  .client-logo:nth-child(n+7) {
    display: block;
  }

  .contact-cards {
    gap: 18px;
  }

  .contact-card {
    padding-right: 24px;
    padding-left: 24px;
  }

  .about-overview__heading,
  .about-permissions,
  .research-unit {
    gap: 60px;
  }

  .about-pillar {
    padding-right: 38px;
    padding-left: 38px;
  }

  .permission-item {
    grid-template-columns: 120px 1fr 30px;
  }
}

@media (max-width: 780px) {
  :root {
    --content: calc(100% - 36px);
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    position: sticky;
    height: 82px;
    border-radius: 0 0 18px 18px;
  }

  .site-header__inner {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 100px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 11px;
    display: grid;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle > span[aria-hidden="true"] {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(2) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span[aria-hidden="true"]:nth-of-type(4) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    padding: 118px 28px 48px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(0, 0, 0, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a,
  .main-nav .language-label {
    padding: 15px 0;
    display: block;
    border-bottom: 1px solid #252525;
    font-size: clamp(24px, 8vw, 38px);
    font-weight: 700;
    line-height: 1.2;
  }

  .hero {
    min-height: 660px;
    height: calc(100svh - 62px);
    max-height: 820px;
  }

  .hero__content {
    top: 48%;
    width: calc(100% - 40px);
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.04;
  }

  .hero p {
    max-width: 330px;
    margin-right: auto;
    margin-bottom: 44px;
    margin-left: auto;
    font-size: 14px;
  }

  .hero__photo {
    background-position: 48% center;
  }

  .hero__signal {
    top: 27%;
    left: -95%;
    width: 280%;
    height: 50%;
  }

  .outline-button,
  .dark-outline-button {
    width: min(272px, 100%);
    min-height: 48px;
  }

  .news {
    min-height: 0;
    padding: 90px 0 78px;
    margin-top: -24px;
    border-radius: 24px 24px 0 0;
  }

  .section-heading {
    width: calc(100% - 36px);
    margin: 0 auto 42px;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: 40px;
  }

  .section-heading p,
  .about__intro > p,
  .contact__intro > p {
    font-size: 15px;
  }

  .news-grid {
    width: 100%;
    padding: 0 18px 18px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-card {
    width: min(82vw, 330px);
    min-width: min(82vw, 330px);
    flex: 0 0 min(82vw, 330px);
    height: 470px;
    scroll-snap-align: center;
  }

  .news-card.is-active {
    transform: translateY(-6px);
  }

  .news-card h3 {
    font-size: 22px;
  }

  .news-dots {
    margin: 16px 0 34px;
  }

  .clients-label {
    margin-top: 84px;
  }

  .clients {
    --marquee-gap: 42px;
    padding: 0 28px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }

  .clients__track {
    animation-duration: 26s;
  }

  .client-logo {
    transform: scale(0.82);
  }

  .about {
    min-height: auto;
    padding: 100px 0 108px;
  }

  .about__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .about__intro .outline-button {
    margin-top: 34px;
  }

  .about__copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .contact {
    min-height: auto;
    padding: 92px 0 88px;
  }

  .contact__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .offer-form__row {
    grid-template-columns: 1fr;
  }

  .file-field {
    padding: 10px 14px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .file-field__name {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 12px;
  }

  .consent {
    margin-right: 0;
    margin-left: 0;
    grid-template-columns: 26px 1fr;
    gap: 14px;
  }

  .consent input {
    width: 26px;
    height: 26px;
  }

  .offer-form button {
    width: 100%;
    height: 48px;
  }

  .site-footer__inner {
    min-height: 0;
    padding: 72px 0 126px;
    grid-template-columns: 40px 1fr;
    gap: 28px 18px;
  }

  .footer-logo {
    width: 126px;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .socials {
    grid-row: 1 / span 2;
    padding-top: 0;
  }

  .footer-contact {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .footer-nav {
    grid-column: 1 / -1;
    padding: 28px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #333;
    border-left: 0;
  }

  .footer-legal {
    bottom: 32px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 11px;
  }

  .subpage-hero {
    min-height: 500px;
  }

  .subpage-hero__photo {
    background-position: 48% center;
  }

  .subpage-hero__signal {
    top: 20%;
    left: -116%;
    width: 300%;
    height: 62%;
  }

  .subpage-hero h1 {
    font-size: clamp(64px, 22vw, 86px);
  }

  .subpage-hero__inner > p:last-child {
    margin-top: 22px;
    font-size: 16px;
  }

  .contact-directory {
    margin-top: -20px;
    padding: 88px 0 94px;
    border-radius: 24px 24px 0 0;
  }

  .contact-directory__heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 46px;
  }

  .contact-directory__heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .contact-directory__heading h2,
  .company-data h2 {
    font-size: 44px;
  }

  .contact-directory__heading > p:last-child {
    font-size: 16px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 0;
    padding: 34px 26px 26px;
  }

  .contact-card__subtitle {
    min-height: 0;
  }

  .contact--page {
    min-height: 0;
  }

  .form-preview-note {
    margin-top: 28px;
  }

  .company-data {
    padding: 92px 0 104px;
  }

  .company-data__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .company-data__details {
    grid-template-columns: 1fr;
  }

  .company-data__details p {
    padding: 20px 0;
  }

  .about-overview {
    margin-top: -20px;
    padding: 88px 0 94px;
    border-radius: 24px 24px 0 0;
  }

  .about-overview__heading,
  .about-permissions,
  .research-unit {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-overview__heading {
    margin-bottom: 46px;
  }

  .about-overview__heading h2,
  .about-permissions h2,
  .research-unit h2,
  .about-mission h2 {
    font-size: 44px;
  }

  .about-overview__heading > * {
    min-width: 0;
  }

  .about-overview__heading h2 {
    font-size: 36px;
  }

  .about-overview__heading > p,
  .about-permissions__intro > p:last-child,
  .research-unit__intro > p:last-child,
  .about-mission__inner > p:not(.eyebrow) {
    font-size: 15px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-pillar {
    min-height: 520px;
    padding: 36px 26px 30px;
  }

  .about-pillar__number {
    right: 22px;
  }

  .about-pillar h3 {
    margin-top: 72px;
    font-size: 36px;
  }

  .about-pillar > p:not(.eyebrow, .about-pillar__number) {
    font-size: 15px;
  }

  .about-pillar__proof {
    grid-template-columns: 1fr;
  }

  .about-pillar__proof strong {
    justify-self: start;
  }

  .about-permissions {
    padding-top: 92px;
    padding-bottom: 96px;
  }

  .about-permissions__intro {
    position: static;
  }

  .permission-item {
    min-height: 0;
    padding: 26px 0;
    grid-template-columns: 1fr 34px;
    gap: 12px 20px;
  }

  .permission-item > strong {
    grid-column: 1;
    font-size: 28px;
  }

  .permission-item__copy {
    grid-column: 1;
  }

  .permission-item__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .research-unit {
    padding-top: 92px;
    padding-bottom: 98px;
  }

  .research-unit__count {
    gap: 18px;
  }

  .research-unit__count strong {
    font-size: 92px;
  }

  .research-unit__count span {
    font-size: 14px;
  }

  .research-unit__codes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instruction-list {
    margin-top: 20px;
  }

  .instruction-list summary {
    min-height: 76px;
    font-size: 15px;
  }

  .instruction-list ol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .instruction-list li {
    grid-template-columns: 68px 1fr;
  }

  .about-mission {
    min-height: 650px;
    padding: 96px 0;
  }

  .about-mission__signal {
    right: -70vw;
    bottom: -42vw;
    font-size: 155vw;
  }

  .about-mission .outline-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .clients {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .clients::-webkit-scrollbar {
    display: none;
  }

  .clients__track {
    animation: none;
    transform: none;
  }
}
