@font-face {
  font-family: "IMU Poppins";
  src: url("/assets/fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IMU Poppins";
  src: url("/assets/fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --text: #1f1f1f;
  --blue: #0d2bb3;
  --font: "IMU Poppins", "Poppins", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

img,
video {
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-video,
.hero-poster,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-poster {
  z-index: 0;
}

.hero-video {
  z-index: 1;
}

.hero::after {
  content: "";
  z-index: 2;
  background: rgba(0, 0, 0, 0.42);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(132px, 10.8vw, 182px);
  margin-top: 7.8vh;
}

.hero-title {
  width: min(760px, 72vw);
  margin: 28.8vh auto 0;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

.services {
  min-height: 504px;
  padding: 79px 24px 70px;
  background: #fff;
  color: #222;
}

.services h2 {
  margin: 0 0 76px;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.services-grid {
  display: grid;
  width: min(940px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 39px;
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 205px;
  height: 267px;
  max-width: 100%;
  margin: 0 auto 20px;
  border-radius: 46px;
  object-fit: cover;
  object-position: center;
}

.service-card h3 {
  margin: 0 0 14px;
  color: #444;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.service-card p {
  width: 210px;
  max-width: 100%;
  margin: 0 auto;
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.32;
}

.about {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.about-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-media img {
  position: absolute;
  border-radius: 42px;
  object-fit: cover;
  filter: brightness(0.38);
}

.about-img-1 {
  top: 95px;
  left: 13.45%;
  width: 232px;
  height: 152px;
}

.about-img-2 {
  top: 68px;
  right: 17.25%;
  width: 260px;
  height: 220px;
}

.about-img-3 {
  bottom: 96px;
  left: 17.2%;
  width: 211px;
  height: 276px;
}

.about-img-4 {
  bottom: 124px;
  left: 36%;
  width: 350px;
  height: 140px;
}

.about-img-5 {
  bottom: 105px;
  right: 30%;
  width: 110px;
  height: 144px;
}

.about-img-6 {
  right: 10.45%;
  bottom: 88px;
  width: 232px;
  height: 152px;
}

.about-content {
  position: relative;
  z-index: 2;
  width: min(885px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 90px;
  text-align: center;
}

.about h2 {
  margin: 0 0 24px;
  font-size: clamp(82px, 8.8vw, 132px);
  font-weight: 700;
  line-height: 0.96;
}

.about p {
  margin: 0 auto 31px;
  color: #e6e6e6;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.48;
}

.contact-section {
  background: #fff;
  padding: 31px 24px 24px;
}

.contact-form {
  width: min(955px, 100%);
  margin: 0 auto;
}

.contact-form h2 {
  margin: 0 0 28px;
  font-size: clamp(43px, 4.1vw, 55px);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.field {
  display: flex;
  min-height: 77px;
  flex-direction: column;
  justify-content: flex-end;
}

.field label {
  margin-bottom: 21px;
  color: #1f1f1f;
  font-size: 15px;
}

.input-line,
.message-line {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #777;
  border-radius: 0;
  background: transparent;
  color: #1f1f1f;
  font: 16px var(--font);
  outline: 0;
}

.input-line {
  height: 28px;
}

.message-field {
  margin-top: 17px;
}

.message-line {
  min-height: 86px;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 100%;
  height: 43px;
  margin: 23px 0 54px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font: 16px var(--font);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #111;
  color: #fff;
}

.footer-line {
  margin: 0 auto;
  color: #111;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.footer-line a {
  text-decoration: underline;
}

.legal-page {
  background: #fff;
  color: #222;
}

.legal-content {
  width: min(830px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 130px;
}

.legal-content h1 {
  margin: 0 0 48px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.legal-copy {
  font-size: 15px;
  line-height: 1.42;
}

.legal-copy p {
  margin: 0 0 19px;
}

.legal-copy ul {
  margin: 0 0 22px 24px;
  padding: 0;
}

.legal-copy li {
  margin: 0 0 2px;
}

.privacy-floating {
  position: fixed;
  z-index: 9998;
  bottom: 37px;
  left: 39px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #0d2bb3;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

.privacy-floating svg {
  width: 35px;
  height: 35px;
  margin: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-video,
  .hero-poster {
    display: none;
  }

  .hero {
    min-height: 340px;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    min-height: 340px;
  }

  .hero-logo {
    width: 96px;
    margin-top: 39px;
  }

  .hero-title {
    width: 284px;
    margin-top: 50px;
    font-size: 26px;
    line-height: 1.18;
  }

  .services {
    padding: 35px 23px 27px;
  }

  .services h2 {
    margin-bottom: 36px;
    font-size: 21px;
  }

  .services-grid {
    width: 255px;
    grid-template-columns: repeat(2, 112px);
    column-gap: 30px;
    row-gap: 32px;
  }

  .service-card {
    min-width: 0;
  }

  .service-card img {
    width: 112px;
    height: 145px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .service-card h3 {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .service-card p {
    width: 112px;
    font-size: 11px;
    line-height: 1.1;
  }

  .about {
    min-height: 755px;
  }

  .about-content {
    width: min(276px, calc(100% - 36px));
    padding: 104px 0 63px;
  }

  .about h2 {
    margin-bottom: 22px;
    font-size: 50px;
  }

  .about p {
    margin-bottom: 31px;
    font-size: 16px;
    line-height: 1.45;
  }

  .about-media img {
    border-radius: 31px;
    filter: brightness(0.34);
  }

  .about-img-1 {
    top: 32px;
    left: -33px;
    width: 121px;
    height: 78px;
  }

  .about-img-2 {
    top: 15px;
    right: 33px;
    width: 72px;
    height: 108px;
  }

  .about-img-3 {
    bottom: 56px;
    left: -26px;
    width: 72px;
    height: 108px;
  }

  .about-img-4 {
    bottom: 52px;
    left: 100px;
    width: 115px;
    height: 77px;
  }

  .about-img-5 {
    right: -18px;
    bottom: 74px;
    width: 74px;
    height: 97px;
  }

  .about-img-6 {
    top: 94px;
    right: -39px;
    width: 106px;
    height: 70px;
  }

  .contact-section {
    padding: 46px 40px 20px;
  }

  .contact-form h2 {
    margin-bottom: 26px;
    font-size: 24px;
  }

  .form-row {
    display: block;
  }

  .field {
    min-height: 91px;
  }

  .field label {
    margin-bottom: 26px;
    font-size: 12px;
  }

  .message-field {
    margin-top: 0;
  }

  .message-line {
    min-height: 101px;
  }

  .submit-button {
    height: 38px;
    margin: 21px 0 11px;
    font-size: 14px;
  }

  .footer-line {
    width: 242px;
    font-size: 9px;
  }

  .legal-content {
    width: min(292px, calc(100% - 48px));
    padding: 54px 0 78px;
  }

  .legal-content h1 {
    margin-bottom: 34px;
    font-size: 24px;
  }

  .legal-copy {
    font-size: 13px;
  }

  .privacy-floating {
    bottom: 14px;
    left: 18px;
    width: 37px;
    height: 37px;
  }

  .privacy-floating svg {
    width: 23px;
    height: 23px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

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

  .about-img-4 {
    left: 32%;
  }
}
