:root {
  --black: #111111;
  --dark: #1f1f1f;
  --gray: #f2f2f2;
  --soft: #f6f7f8;
  --mid: #6f6f6f;
  --white: #ffffff;
  --red: #8e1616;
  --bright-red: #d84040;
  --border: #d9d9d9;
  --max: 980px;
  --font-body: "Manrope", Arial, Helvetica, sans-serif;
  --font-display: "Manrope", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: min-height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 170px;
}

.brand img {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #3b3b3b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.main-nav a {
  padding: 31px 0;
  transition: color 180ms ease;
}

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

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.header-phone {
  padding: 11px 16px;
  color: var(--white);
  background: var(--red);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 23px;
  cursor: pointer;
}

.language-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 156px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  padding: 9px 10px;
  color: var(--black);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover {
  color: var(--red);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--black);
  transition: transform 180ms ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 150px 24px 95px;
  color: var(--white);
  clip-path: inset(0);
  overflow: hidden;
}

.hero-media,
.hero-media iframe,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  position: fixed;
  inset: 0;
  background: url("/assets/images/hero-poster.jpg") center / cover no-repeat;
}

.hero-media iframe {
  top: 50%;
  left: 50%;
  width: max(122vw, 216.67vh);
  height: max(68.63vw, 122vh);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 500ms ease;
}

.hero-media.is-ready iframe {
  opacity: 1;
}

[data-parallax-speed] {
  will-change: transform;
}

.hero-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 72px);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-line {
  width: 74px;
  height: 6px;
  margin: 32px auto 28px;
  background: var(--red);
}

h2 {
  margin-bottom: 36px;
  font-size: clamp(32px, 4.2vw, 46px);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 17px;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

p {
  color: #565656;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  min-height: 43px;
  padding: 0 26px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--bright-red);
  border-color: var(--bright-red);
}

.button-outline {
  margin-left: 12px;
  color: var(--white);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.services-section,
.jobs-section,
.partners-section,
.contact-section {
  padding: 78px 24px;
}

.services-section {
  background: var(--white);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p {
  max-width: 710px;
  margin: -18px auto 0;
}

.service-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.service-carousel::before,
.service-carousel::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 82px;
  content: "";
  pointer-events: none;
}

.service-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.service-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.service-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: serviceSlide 42s linear infinite;
}

.service-carousel:hover .service-track {
  animation-play-state: paused;
}

.service-card {
  width: 280px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.service-card div {
  padding: 22px 22px 26px;
  text-align: center;
}

.service-card h3 {
  margin-bottom: 0;
}

.service-card ul {
  display: none;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #565656;
  font-size: 14px;
  line-height: 1.45;
}

.service-card li::marker {
  color: var(--red);
}

.service-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.service-actions {
  margin-top: 34px;
  text-align: center;
}

.services-detail-page {
  background: var(--white);
}

.detail-hero {
  padding: 150px 24px 72px;
  background: var(--soft);
}

.detail-hero > div {
  max-width: var(--max);
  margin: 0 auto;
}

.detail-hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(46px, 7vw, 82px);
  color: var(--black);
  text-align: left;
}

.detail-hero p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 18px;
}

.service-detail-grid {
  display: grid;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 24px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
}

.service-detail-card:nth-child(even) {
  background: var(--soft);
}

.service-detail-card img {
  width: 100%;
  background: var(--soft);
}

.service-detail-card:nth-child(even) img {
  background: var(--white);
}

.service-detail-card h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.3vw, 42px);
  text-align: left;
}

.service-detail-card p {
  max-width: 760px;
  margin-bottom: 18px;
}

.service-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #565656;
}

.service-detail-card li::marker {
  color: var(--red);
}

@keyframes serviceSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 12px));
  }
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--soft);
}

.about-copy {
  align-self: center;
  justify-self: end;
  max-width: 540px;
  padding: 86px 54px 86px 24px;
}

.about-copy h2 {
  text-align: left;
}

.about-copy p {
  font-size: 15px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  font-size: 14px;
}

.about-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.about-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
  will-change: transform;
}

.stats-section {
  padding: 54px 24px;
  background: var(--red);
  color: var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--white);
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 300;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 15px;
}

.jobs-section {
  background: var(--white);
}

.job-gallery {
  columns: 3 280px;
  column-gap: 5px;
  max-width: 1100px;
  margin: 0 auto;
}

.job-photo {
  display: block;
  margin: 0;
  margin-bottom: 5px;
  overflow: hidden;
  break-inside: avoid;
}

.job-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.job-photo.is-hidden {
  display: none;
}

.job-photo.is-revealing {
  animation: galleryReveal 420ms ease both;
}

.job-actions {
  margin-top: 34px;
  text-align: center;
}

.partners-section {
  background: var(--white);
}

.partner-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.partner-carousel::before,
.partner-carousel::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 96px;
  content: "";
  pointer-events: none;
}

.partner-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.partner-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.partner-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partnerSlide 38s linear infinite;
}

.partner-carousel:hover .partner-track {
  animation-play-state: paused;
}

.partner-track img {
  width: 200px;
  height: 120px;
  flex: 0 0 auto;
  margin: 0 34px;
  object-fit: contain;
  opacity: 0.9;
}

@keyframes galleryReveal {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes partnerSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 58px;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--white);
}

.contact-message h2 {
  text-align: left;
}

.contact-message p {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--red);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(142, 22, 22, 0.22);
  border-color: var(--red);
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.contact-panel {
  border-top: 1px solid var(--border);
}

.contact-panel h3 {
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border);
  font-size: 24px;
}

.contact-panel a,
.contact-panel div {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}

.contact-panel span {
  color: var(--red);
  font-size: 13px;
}

.contact-panel strong {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.contacts-page {
  background: var(--white);
}

.contact-page-hero {
  padding: 150px 24px 64px;
  background: var(--soft);
}

.contact-page-hero > div {
  max-width: var(--max);
  margin: 0 auto;
}

.contact-page-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--black);
  text-align: left;
}

.contact-page-hero p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 24px;
}

.contact-page-grid .contact-panel h2 {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(28px, 3.3vw, 42px);
  text-align: left;
}

.contact-page-info {
  display: grid;
  align-content: start;
  gap: 0;
  padding-top: 4px;
}

.contact-page-info h2 {
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: clamp(28px, 3.3vw, 42px);
  text-align: left;
}

.contact-info-list {
  display: grid;
  margin: 0;
}

.contact-info-list div {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-list dt {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-info-list dd {
  margin: 0;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.contact-info-list a {
  color: var(--black);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-info-list a:hover {
  color: var(--red);
  border-color: var(--red);
}

.contact-map-section {
  height: 440px;
  background: var(--soft);
}

.contact-map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  color: var(--white);
  background: #111111;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(260px, 1.4fr) minmax(130px, 0.7fr) minmax(150px, 0.8fr) 74px;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
  max-width: 1500px;
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 116px) clamp(24px, 7vw, 104px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: 145px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-contact {
  display: grid;
  gap: 26px;
}

.footer-address {
  margin: 0 0 34px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.35;
}

.footer-contact a,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  transition: color 180ms ease;
}

.footer-contact a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  font-size: 19px;
  line-height: 1.2;
}

.footer-links {
  display: grid;
  gap: 17px;
  padding-top: 10px;
}

.footer-links a {
  font-size: 15px;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--bright-red);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.footer-top:hover {
  background: var(--bright-red);
  transform: translateY(-3px);
}

.footer-note {
  grid-column: 3 / 5;
  align-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 154px;
  }

  .brand img {
    height: 56px;
  }

  .nav-toggle {
    grid-column: 3;
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    margin-left: 0;
  }

  .header-phone {
    display: none;
  }

  .about-section,
  .contact-section,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    justify-self: stretch;
    max-width: none;
    padding: 64px 28px;
  }

  .about-image {
    min-height: 390px;
  }

  .service-card {
    width: 260px;
  }

  .service-detail-card {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
  }

  .partner-track img {
    width: 180px;
    height: 108px;
    margin: 0 28px;
  }

  .footer-panel {
    grid-template-columns: minmax(150px, 0.8fr) minmax(260px, 1.4fr) minmax(130px, 0.7fr) 64px;
  }

  .footer-links:last-of-type {
    grid-column: 3;
    grid-row: 2;
  }

  .footer-top {
    grid-column: 4;
    grid-row: 1;
  }

  .footer-note {
    grid-column: 2 / 4;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .brand {
    width: 138px;
  }

  .brand img {
    height: 50px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 130px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .button {
    width: 100%;
  }

  .button-outline {
    margin: 12px 0 0;
  }

  .services-section,
  .jobs-section,
  .partners-section,
  .contact-section {
    padding: 58px 20px;
  }

  .service-carousel::before,
  .service-carousel::after {
    width: 34px;
  }

  .service-track {
    gap: 16px;
    animation-duration: 34s;
  }

  .service-card {
    width: 240px;
  }

  .service-card img {
    height: 180px;
  }

  .detail-hero {
    padding: 122px 20px 56px;
  }

  .contact-page-hero {
    padding: 122px 20px 56px;
  }

  .contact-page-hero p {
    font-size: 16px;
  }

  .contact-page-grid {
    padding: 58px 20px;
  }

  .contact-map-section {
    height: 360px;
  }

  .contact-info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .detail-hero p {
    font-size: 16px;
  }

  .service-detail-grid {
    padding: 58px 20px;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .service-detail-card img {
    max-width: 210px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .partner-carousel::before,
  .partner-carousel::after {
    width: 42px;
  }

  .partner-track {
    animation-duration: 30s;
  }

  .partner-track img {
    width: 170px;
    height: 86px;
    margin: 0 22px;
  }

  .contact-panel a,
  .contact-panel div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    padding: 0;
    background: #111111;
  }

  .footer-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 50px 24px;
  }

  .footer-brand {
    width: 132px;
  }

  .footer-address {
    margin-bottom: 12px;
    font-size: 28px;
  }

  .footer-contact {
    gap: 18px;
  }

  .footer-contact a {
    font-size: 17px;
  }

  .footer-links,
  .footer-links:last-of-type,
  .footer-top,
  .footer-note {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-top {
    width: 58px;
    height: 58px;
  }

  .footer-note {
    align-self: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-track,
  .partner-track {
    animation: none;
  }
}
