/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

:root {
  --main-color: rgb(20, 30, 48);
  --accent-color: #27B6D9;
}

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

  padding: 0;
  margin: 0;
  border: none;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;

  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 70px;

  background-color: #141E30DD;
  backdrop-filter: blur(10px);
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  box-shadow: 0 4px 30.1px rgba(20, 30, 48, 0.4)
}

.header__logo {
  display: flex;
  align-items: center;

  height: 100%;
}

.header__logo img {
  height: 32px;
}

.header__menu {
  /*margin-left: auto;*/
  /*margin-right: auto;*/
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 18px;
  color: #fff;

  text-decoration: none;
}

.header__contacts svg {
  width: 24px;
  height: 24px;
}

.menu {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.menu__item {

}

.menu__item a {
  color: #fff;
  text-decoration: none;
  transition: .3s;
}

.menu__item a:hover {
  color: #dcdada;
}

.burger-menu {
  display: none;
  position: relative;
  z-index: 110;
  width: 30px;
  height: 20px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 9px;
}

.burger-menu span:nth-child(3) {
  top: 18px;
}

.burger-menu.burger-menu--open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.burger-menu.burger-menu--open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.burger-menu--open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 30, 48, 0.95);
  backdrop-filter: blur(10px);
  z-index: 105;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 32px 0;

  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__item, .mobile-menu__contacts {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
}

.body--no-scroll {
  overflow: hidden;
}

@media (max-width: 850px) {
  .header__menu,
  .header__contacts {
    display: none;
  }

  .burger-menu {
    display: block;
    margin-left: auto;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 100px;

  background-color: #EFEFEF;
}

.docs-content {
  padding: 140px 0 70px;
  display: flex;
  flex-direction: column;

  background-color: #EFEFEF;
}

.docs-content .title {
  margin-bottom: 24px;
}

.docs-content ul {
  padding-left: 20px;
}

.docs-list__bold {
  font-weight: bold;
  margin-bottom: 12px;
}

.docs-list__3 {

}

.hero {
  /*background-image: url(../img/main-page/bg.png);*/
  /*background-repeat: no-repeat;*/
  /*background-size: cover;*/

  background: linear-gradient( color-mix(in srgb, #141e30 80%, #00000059), color-mix(in srgb, #141e30 80%, transparent)), url(https://fqjltiegiezfetthbags.supabase.co/storage/v1/render/image/public/block.images/blocks/hero/hero-sparkles.jpg) bottom / cover no-repeat;

  border-radius: 0 0 20px 20px;
  height: calc(100vh - 40px);
  width: 100%;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;

  height: 100%;
  padding: 94px 24px 0 24px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  height: 100%;
}

.hero__title {
  font-size: 54px;
  line-height: 100%;
  font-weight: 700;
  color: #fff;

  padding-top: 24px;
  margin-bottom: 16px;
  margin-top: auto;
}

.hero__desc {
  color: #fff;
  font-size: 22px;

  margin-bottom: 16px;
  max-width: 500px;
  text-align: center;
}

.hero__cta {
  display: flex;
  gap: 20px;

  margin-bottom: auto;
}

.hero__img {
  margin-top: auto;
}

.hero__img img {
  height: 440px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0px -10px 10px 0px rgba(34, 60, 80, 0.2);
}

.problems {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.problems__title {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.problem {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.problem svg {
  width: 40px;
  height: 40px;

  margin-bottom: 12px;
}

.problem:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.problem__text {
  margin-bottom: 12px;

  font-size: 22px;
  font-weight: 600;
  color: var(--main-color);
  line-height: 24px;

  position: relative;
}

.problem__text svg {
  min-width: 24px;
}

.problem__solution > div:first-child {
  font-weight: 500;
  margin-bottom: 6px;
  color:var(--main-color);
  line-height: 1.5;
}

.problem__solution > div:last-child {
  color: #343434;
  line-height: 1.5;
}

.modules > .title {
  margin-bottom: 64px;
}

.module {
  position: relative;
}

.module:not(:last-child) {
  margin-bottom: 64px;
}

.module__wrapper {
  position: relative;
}

.module__inner {
  display: flex;
  gap: 60px;
  position: relative;
}

.module__content {
  display: flex;
  flex-direction: column;
}

.module__number {
  font-size: 70px;
  font-weight: bold;
  line-height: 1;
  color: #27B6D9;

  margin-bottom: 20px;
}

.module__name {
  font-size: 30px;
  font-weight: 500;
  color: var(--main-color);

  margin-bottom: 20px;
}

.module__desc {
  font-size: 20px;
}

.module__desc p:not(:last-child) {
  margin-bottom: 12px;
}

.module__image {
  position: relative;
}

.module__image img {
  height: 600px;
  margin-right: -80px;
}

.module__parallax {
  position: absolute;
  bottom: 100px;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.module__parallax--inspection {
  right: 45%;
}

.module__parallax--tracking {
  display: grid;
  grid-template-rows: 100px 100px;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  left: 30%;
}

.module__parallax--tracking .parallax-js:first-child {
  grid-column: 1 / 3;
}

.module__parallax--tracking .parallax-img {
  height: 100px;
  box-shadow: none;
}

.module__parallax--statistic {
  right: 25%;
  bottom: 0;
}

.module__parallax--statistic .parallax-img {
  height: 300px;
  box-shadow: none;
}

.module__advantages {
  display: flex;
  gap: 24px;
  margin-bottom: 120px;

  flex-wrap: wrap;
}

.module__advantage {
  flex: 1;

  padding: 24px;
  border-radius: 20px;
  background: #ffffff61;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);

  min-width: 300px;
}

.module__advantage:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.module__advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  font-size: 25px;
  font-weight: 600;
  color: #fff;

  border-radius: 50%;
  background-color: var(--main-color);

  margin-bottom: 16px;
}

.module__advantage-title {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.footer {}

.button {
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  background-color: transparent;
  font-size: 16px;

  cursor: pointer;
  text-decoration: none;
}

.button--primary {
  background-color: #27B6D9;
  color: #fff;
}

.button--transparent {
  color: #fff;
}

.title {
  font-size: 38px;
  font-style: normal;
  font-weight: 600;
  line-height: 44px;

  color: var(--main-color);
}

.parallax-js {
  will-change: transform;
}

.parallax-js--inspection {
  right: 0;
}

.parallax-img {
  box-shadow: 10px 24px 74px 0 rgba(28, 44, 60, 0.10);
  border-radius: 10px;
}

.parallax-img--telemetry {
  height: 60px;
}

.parallax-img--service-desk {
  width: 100%;
}

.parallax-img--inspection {
  height: 220px;
  border-radius: 50%;
}

.parallax-js:nth-child(even) {
  margin-left: 20px;
}

.contacts {
  padding: 80px 0;
}

.contacts__title {
  margin-bottom: 64px;
  font-size: 34px;
}

.contacts__inner {
  display: flex;
  gap: 64px;
}

.contact {
  flex: 1;

  display: flex;
  flex-direction: column;
}

.contact__title {
  font-size: 26px;
  margin-bottom: 24px;
}

.contact__address {
  margin-bottom: 44px;
  height: 40px;
  max-width: 400px;
}

.contact__name {
  font-size: 20px;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.contact__position {
  margin-bottom: 32px;
}

.contact__phone {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 8px;
  color: black;
  text-decoration: none;
}

.contact__phone svg {
  width: 24px;
  height: 24px;
}

.contact__mail {
  color: black;
  text-decoration: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  color: #fff;
  padding: 20px 0;

  text-align: center;
}

.footer__copyright {}

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-list__files {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.docs-list__files a {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--main-color);
  text-decoration: none;
}

.docs-list__files a svg {
  height: 40px;
  width: auto;
}

.link-anchor {
  display: none;
}

@media (max-width: 1200px) {
  .module__inner {
    flex-direction: column;
    align-items: center;
  }

  .parallax-img {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .module__image img {
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 800px) {
  .hero__img img {
    width: 100%;
    object-fit: contain;
  }

  .parallax-img {
    max-width: 100%;
    object-fit: contain;
  }

  .page-content {
    gap: 50px;
  }

  .module:not(:last-child) {
    margin-bottom: 32px !important;
  }

  .container {
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
  .module__image img {
    height: auto;
  }

  .module__parallax--inspection {
    left: 0;
  }

  .parallax-img--inspection {
    height: 120px;
    left: 0;
  }

  .contacts {
    margin-bottom: 32px;
  }

  .contacts__inner {
    flex-direction: column;
  }

  .hero__img img {
    height: auto;
  }

  .hero__cta {
    margin-bottom: 0;
  }
}
