/* ==== RESET (Modern) ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure,
blockquote, dl, dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: inherit;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.header {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  z-index: 3;
}

.main-menu {
  display: flex;
  margin: 0;
  padding: 0;
}
.main-menu li {
  list-style-type: none;
}
.main-menu li a {
  color: var(--e-global-color-text);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

.menu-desktop .main-menu {
  flex-direction: row;
  gap: 40px;
}
.menu-mobile .main-menu {
  flex-direction: column;
  gap: 16px;
}
.menu-mobile-container {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
}

.header__burger {
  display: block;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}
.header__burger .burger__layer {
  width: 32px;
  height: 2px;
  background-color: var(--e-global-color-text);
  border-radius: 2px;
  position: absolute;
  transition: all 0.4s ease;
}
.header__burger .burger__layer:nth-child(1) {
  top: 0px;
}
.header__burger .burger__layer:nth-child(2) {
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.header__burger .burger__layer:nth-child(3) {
  bottom: 0px;
}
.header__burger_open .burger__layer:nth-child(1) {
  transform: rotate(45deg) translate(4px, -4px);
  transform-origin: top left;
}
.header__burger_open .burger__layer:nth-child(2) {
  transform: scaleX(0);
  transform-origin: 60% center;
}
.header__burger_open .burger__layer:nth-child(3) {
  transform: rotate(-45deg) translate(4px, 4px);
  transform-origin: bottom left;
}

.menu-mobile-container {
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-24px);
  transition: grid-template-rows 0.25s ease, padding 0.25s ease, transform 0.25s ease, opacity 0.75s ease;
  will-change: opacity, transform;
  z-index: 1;
}
.menu-mobile-container.active {
  grid-template-rows: 1fr;
  padding-top: 16px;
  padding-bottom: 16px;
  transform: translateY(0px);
  opacity: 1;
}
.menu-mobile-container > div {
  height: 100%;
  overflow: hidden;
}

.hero .e-con-inner {
  max-height: 100vh;
  will-change: max-height;
}

.animation-container {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  min-height: 0;
  justify-content: center;
  align-items: center;
}
.animation-container > div {
  width: 100%;
  height: 100%;
}
.animation-container .elementor-widget-container {
  width: 100%;
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}
.animation-container .elementor-widget-container::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.animation-container .elementor-widget-container canvas {
  contain: strict;
  will-change: contents;
}

.service-item {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background-color: #292B38;
  overflow: hidden;
}
.service-item__image-wrapper {
  padding-top: 60%;
  position: relative;
}
.service-item__image-wrapper div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.service-item__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.service-item__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2;
  will-change: opacity;
  opacity: 0;
  transition: opacity 0.25s ease, backdrop-filter 0.5s ease;
}
.service-item__name {
  padding: 16px;
  color: var(--e-global-color-primary);
  font-family: "Satoshi", Sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}
.service-item:hover .service-item__overlay {
  opacity: 1;
}

.contacts {
  position: relative;
}
.contacts::before {
  content: "";
  display: block;
  width: 100%;
  height: 192px;
  background-image: linear-gradient(to bottom, #1f202a, rgba(31, 32, 42, 0));
  position: absolute;
  top: 0;
  z-index: 1;
}
.contacts::after {
  content: "";
  display: block;
  width: 100%;
  height: 192px;
  background-image: linear-gradient(to top, #1f202a, rgba(31, 32, 42, 0));
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.contacts__map {
  mix-blend-mode: darken;
}
.contacts__pin {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}
.contacts__pin::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  z-index: 2;
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
.service-header {
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 96px 16px 48px;
  box-sizing: border-box;
  height: 400px;
  position: relative;
}
.service-header__name {
  max-width: 1024px;
  color: var(--e-global-color-primary);
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
  text-align: center;
  z-index: 1;
}
.service-header__background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  inset: 0;
  z-index: 0;
}
.service-header__image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.service-header__gradient {
  background-image: linear-gradient(to bottom, rgba(31, 32, 42, 0.6) 0%, rgba(31, 32, 42, 0.1) 50%, rgba(31, 32, 42, 0.6) 100%);
  backdrop-filter: blur(12px);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  inset: 0;
}
.service-header__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  inset: 0;
  background-image: url("../assets/images/mesh.svg");
  background-position: top;
  background-repeat: no-repeat;
  pointer-events: none;
}

body {
  background-color: #22242F;
}