:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-three);
}

body.mobile-menu-visible {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000000000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white-color);
  background: var(--main-color);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.main-header .header-lower .logo-box .logo img {
  width: 180px;
  min-width: 180px;
  height: auto;
}

.main-header .main-menu .navigation > li.current > a {
  color: var(--main-color);
}

.main-header .mobile-nav-toggler,
.mobile-menu .menu-backdrop,
.mobile-menu .close-btn,
.team-one_arrows button {
  border: 0;
  background: none;
}

.mobile-menu .menu-backdrop {
  cursor: pointer;
}

.mobile-menu .close-btn {
  height: 34px;
  line-height: 30px;
  font-family: Inter, sans-serif;
}

.legacy-title-space {
  margin-top: 50px;
}

.legacy-list-page .sec-title_heading,
.legacy-detail-page h1.sec-title_heading {
  font-size: 48px;
  line-height: 58px;
}

.pricing-tabs .tab-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-tabs .tab-buttons .tab-btn {
  float: none;
  padding: 0;
}

.pricing-tabs .tab-buttons .tab-btn a {
  display: block;
  padding: 9px 18px;
  color: inherit;
}

.legacy-tabs-content {
  position: relative;
  margin-top: 40px;
  margin-bottom: 100px;
}

.news-block_one-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.legacy-image-placeholder,
.legacy-cover-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 45px;
  background: linear-gradient(145deg, var(--color-nine), var(--color-seven));
}

.legacy-image-placeholder img,
.legacy-cover-placeholder img {
  width: min(76%, 420px) !important;
  height: auto !important;
  object-fit: contain !important;
}

.legacy-empty {
  padding: 90px 30px;
  border: 1px solid rgba(var(--white-color-rgb), 0.08);
  border-radius: 8px;
  text-align: center;
  background: var(--color-seven);
}

.legacy-empty span {
  color: var(--main-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
}

.legacy-empty h2 {
  margin: 16px 0 12px;
  color: var(--white-color);
}

.legacy-empty p {
  margin: 0;
  color: var(--color-three);
}

.legacy-detail-page .story-one {
  padding-top: 100px;
}

.legacy-detail-page .service-detail_image-two {
  margin-top: 48px;
  margin-bottom: 30px;
}

.legacy-detail-page .legacy-lead {
  color: var(--white-color);
  font-size: 20px;
  line-height: 31px;
}

.legacy-rich {
  color: var(--color-three);
  font-size: 17px;
  line-height: 27px;
}

.legacy-rich h2,
.legacy-rich h3,
.legacy-rich h4,
.legacy-rich h5,
.legacy-rich h6,
.legacy-rich strong {
  color: var(--white-color);
}

.legacy-rich h2,
.legacy-rich h3,
.legacy-rich h4 {
  margin: 28px 0 14px;
}

.legacy-rich p {
  margin-bottom: 22px;
}

.legacy-rich a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legacy-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 45px;
  margin: 0 0 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(var(--white-color-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--white-color-rgb), 0.1);
}

.legacy-facts dt {
  color: var(--main-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.legacy-facts dd {
  margin: 3px 0 0;
  color: var(--white-color);
  font-size: 16px;
}

.legacy-gallery-wrap {
  margin-top: 45px;
}

.legacy-gallery-wrap .team-one_team-column {
  padding: 0;
}

.legacy-gallery-wrap .team-one_arrows {
  display: flex;
  justify-content: flex-end;
}

.legacy-gallery-wrap .team-one_arrows button {
  line-height: 52px;
}

.legacy-video-thumb {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  background: radial-gradient(circle at center, #4a2915, #060606 70%);
}

.legacy-video-label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--color-three);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.gallery-youtube-play {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--main-color);
  background: var(--white-color);
}

.legacy-prices {
  padding-bottom: 80px;
}

.legacy-prices .price-block_one {
  margin-bottom: 30px;
}

.legacy-prices .price-block_one-inner > * {
  z-index: 1;
}

.legacy-prices .price-block_one-price sup:only-child {
  top: 0;
  font-size: 23px;
  line-height: 1.2;
}

.footer_pattern {
  background-image: url('../images/background/footer-pattern.png');
}

.footer-logo img {
  width: 180px;
}

.main-footer .contact-form textarea {
  height: 170px;
}

.legacy-lightbox,
.legacy-video-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(calc(100vw - 32px), 1100px);
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 46px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 10px;
  color: var(--white-color);
  background: rgba(8, 8, 8, 0.98);
}

.legacy-lightbox::backdrop,
.legacy-video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.legacy-lightbox > button,
.legacy-video-dialog > button {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 15px;
  border: 0;
  color: var(--white-color);
  background: none;
  font-size: 34px;
  cursor: pointer;
}

.legacy-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  margin: 0 auto;
  object-fit: contain;
}

.legacy-video-dialog {
  width: min(calc(100vw - 32px), 1100px, calc(177.78vh - 128px));
  width: min(calc(100vw - 32px), 1100px, calc(177.78dvh - 128px));
}

.legacy-video-dialog > div {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.legacy-video-dialog iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.loader-wrap {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loader-wrap.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.main-header.is-sticky .header-lower {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  background: var(--color-two);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.main-header.is-sticky .header-lower .logo-box .logo {
  padding-top: 15px;
  padding-bottom: 15px;
}

.legacy-not-found {
  min-height: 75vh;
  padding-top: 200px;
}

@media (max-width: 1023px) {
  .main-header .header-lower .logo-box .logo img {
    min-width: 160px;
    width: 160px;
  }

  .legacy-title-space {
    margin-top: 0;
  }

  .legacy-detail-page .story-one_content-column {
    margin-bottom: 55px;
  }

  .main-header.is-sticky .header-lower {
    position: relative;
  }
}

@media (max-width: 767px) {
  .legacy-list-page .sec-title_heading,
  .legacy-detail-page h1.sec-title_heading {
    font-size: 36px;
    line-height: 44px;
  }

  .pricing-tabs .buttons-outer {
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    text-align: left;
  }

  .pricing-tabs .buttons-outer::-webkit-scrollbar {
    display: none;
  }

  .pricing-tabs .tab-buttons {
    width: max-content;
    max-width: none;
    flex-wrap: nowrap;
  }

  .legacy-tabs-content {
    margin-bottom: 70px;
  }

  .legacy-empty {
    padding: 60px 20px;
  }

  .legacy-gallery-wrap {
    margin-top: 20px;
  }

  .legacy-lightbox,
  .legacy-video-dialog {
    padding: 42px 14px 14px;
  }

  .footer-copyright {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .main-footer .widgets-section {
    padding-top: 160px;
  }

  .main-footer .contact-form {
    margin-top: 25px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-follower {
    display: none;
  }
}

.main-header .main-menu .navigation > li > a,
.main-header .mobile-menu .navigation li > a {
  text-transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
