:root {
  --dark: #000000;
  --light: #FFFFFF;
}

* {
  scrollbar-width: auto;
  scrollbar-color: var(--dark) var(--light);
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 10px;
  border-radius: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--dark);
  border-radius: 10px;
  border: 0px none var(--dark);
}

html {
  scroll-behavior: smooth;
}

html, body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--dark);
  color: var(--light);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  line-height: 1.44;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

.container {
  -webkit-transition: all .6s ease-in-out;
	-moz-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
  position: relative;
  z-index: 2;
}

@media (min-width: 1600px) {
  .container {
      max-width: 1400px;
  }
}

::-moz-selection {
  background-color: var(--light);
  color: var(--dark);
}

::selection {
  background-color: var(--light);
  color: var(--dark);
}

/* PARAGRAPH */

a {
  color: inherit;
  -webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
  display: inline-block;
  text-decoration: underline;
}

.no-underline {
  text-decoration: none;
}

.text-underline {
  text-decoration: underline;
}

a:hover,
a:active,
a:focus {
  color: inherit;
  outline: none;
  text-decoration: none;
}

button, button:hover, button:focus {
  background-color: transparent;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  color: inherit;
  -webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

input, input:hover, input:focus, select, textarea {
  background-color: var(--dark);
  border: none;
  border-bottom: 1px solid var(--light);
  outline: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0.5em 1em;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

::placeholder {
  color: var(--light);
  font-weight: 400;
}

:-ms-input-placeholder {
  color: var(--light);
  font-weight: 400;
}

::-ms-input-placeholder {
  color: var(--light);
  font-weight: 400;
 }

.align-right {
  text-align: right;
}

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

.align-left {
  text-align: left;
}

.align-right[class*="button"], .align-right[class*="read-more"] {
  text-align: center;
  float: right;
}

.align-center[class*="button"], .align-center[class*="read-more"] {
  text-align: center;
  float: none;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  float:right;
  margin: 0 0 1em 1em;
}

img.alignleft {
  float:left;
  margin: 0 1em 1em 0;
}

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float:right;
  margin: 0 0 1em 1em;
}

a img.alignleft {
  float:left;
  margin: 0 1em 1em 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.text-normal {
  font-size: 1em;
}

.text-smaller {
  font-size: 0.9em;
  line-height: 1.4em;
}

.text-smallest {
  font-size: 0.8em;
  line-height: 1.4em;
}

.text-bigger {
  font-size: 1.1em;
  line-height: 1.4em;
}

.text-biggest {
  font-size: 1.2em;
  letter-spacing: 0.1em;
  line-height: 1.4em;
}

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

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

footer ul, header ul {
  list-style: none;
}

strong, b {
  font-weight: bold;
}

.invert {
  color: var(--white);
}

/* HEADINGS */

h1, .h1 {
  font-size: 4.5em;
  font-weight: 700;
  display: table;
  margin-bottom: 10px;
}

h2, .h2 {
  font-size: 3.5em;
  font-weight: 400;
  display: table;
  margin-bottom: 10px;
}

h3, .h3 {
  font-size: 2.3em;
  font-weight: 500;
  display: table;
  margin-bottom: 10px;
}

h4, .h4 {
  font-size: 1.5em;
  font-weight: 500;
  display: table;
  margin-bottom: 10px;
}

h5, .h5 {
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  display: table;
  margin-bottom: 10px;
}

h6, .h6 {
  font-size: 1em;
  font-weight: 600;
  display: table;
  margin-bottom: 10px;
}

/* OTHER */

.break-after:after {
  content: '\A';
  white-space: pre;
}

.break-before:before {
  content: '\A';
  white-space: pre;
}

.va-middle {
  vertical-align: middle;
}

.va-top {
  vertical-align: top;
}

.va-bottom {
  vertical-align: bottom;
}

.no-border {
  border: none;
}

.inline-block {
  display: inline-block !important;
}

.block-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.vertical-middle {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.navbar-toggler {
  display: none;
}

.screen-reader-text {
  font-size: 0;
}

.invert .section-title {
  color: var(--white);
}

/* HEADER */

:root {
  --dark: #000000;
  --light: #FFFFFF;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 999;
  background: var(--dark);
  color: var(--light);
}

.logo-bar {
  position: relative;
  width: 100%;
  height: 100%;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: 26px;
}

.only-mobile {
  display: none;
}

.main-nav {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 4;
  height: 76px;
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  display: none;
}

body {
  padding-top: 76px;
}

@media (max-width: 1199px) {
  .main-nav ul {
    gap: 32px;
  }

  .main-nav a {
    font-size: 10px;
  }
}

@media (max-width: 991px) {
  header {
    height: 72px;
  }

  body {
    padding-top: 72px;
  }

  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: block;
  }

  .logo img {
    height: 32px;
  }

  .logo {
    left: 24px;
    transform: translateY(-50%);
  }

  .navbar-toggler {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--light);
    cursor: pointer;
    transform: translateY(-50%);
  }

  .navbar-toggler .text {
    display: inline-block;
    color: var(--light);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .burger {
    position: relative;
    width: 34px;
    height: 18px;
  }

  .burger span {
    position: absolute;
    left: 0;
    width: 34px;
    height: 2px;
    background: var(--light);
    border-radius: 10px;
    transform-origin: center;
    transition:
      top 0.3s ease,
      transform 0.3s ease,
      opacity 0.3s ease;
  }

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

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

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

  .navbar-toggler.open .burger span:nth-child(2) {
    top: 8px;
    transform: rotate(-45deg);
  }

  .navbar-toggler.open .text {
    opacity: 0;
    transform: translateX(8px);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 28px 40px;
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s ease;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
      radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06), transparent 32%);
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

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

  .main-nav.open::before {
    opacity: 1;
    transform: scale(1);
  }

  .main-nav ul {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 0;
  }

  .main-nav li {
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }

  .main-nav.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav.open li:nth-child(1) { transition-delay: 0.06s; }
  .main-nav.open li:nth-child(2) { transition-delay: 0.10s; }
  .main-nav.open li:nth-child(3) { transition-delay: 0.14s; }
  .main-nav.open li:nth-child(4) { transition-delay: 0.18s; }
  .main-nav.open li:nth-child(5) { transition-delay: 0.22s; }
  .main-nav.open li:nth-child(6) { transition-delay: 0.26s; }
  .main-nav.open li:nth-child(7) { transition-delay: 0.30s; }
  .main-nav.open li:nth-child(8) { transition-delay: 0.34s; }

  .main-nav a {
    justify-content: center;
    width: 100%;
    padding: 18px 0;
    color: var(--light);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-transform: none;
    letter-spacing: -0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav li:first-child a {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    opacity: 0.65;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  header {
    height: 68px;
  }

  body {
    padding-top: 68px;
  }

  .logo {
    left: 18px;
  }

  .logo img {
    height: 28px;
  }

  .navbar-toggler {
    right: 18px;
  }

  .navbar-toggler .text {
    display: none;
  }

  .main-nav {
    padding: 86px 22px 34px;
  }

  .main-nav a {
    padding: 16px 0;
    font-size: 24px;
  }
}

/* PAGE CONTAINER */

.page-container {
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
}

/* GALLERY MAIN */

.portfolio-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.portfolio-gallery-set {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 30px;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.portfolio-gallery-set-1 {
  grid-template-rows: repeat(1, minmax(0, 1fr));
  aspect-ratio: 4 / 1;
}

.portfolio-gallery-set-2,
.portfolio-gallery-set-3,
.portfolio-gallery-set-4 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 2 / 1;
}

.portfolio-gallery-set-5,
.portfolio-gallery-set-6,
.portfolio-gallery-set-7,
.portfolio-gallery-set-8 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  background: #eee;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  min-height: 0;
}

.portfolio-media {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portfolio-media > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% + 22px);
  display: block;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-media > img {
  transform: translateY(-10px);
}

.portfolio-media .owl-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: none;
}

.portfolio-media .owl-stage-outer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: none;
}

.portfolio-media .owl-stage,
.portfolio-media .owl-item,
.portfolio-media .slide {
  height: 100%;
}

.portfolio-media .owl-carousel img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% + 16px);
  display: block;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-media .owl-carousel img {
  transform: translateY(-7px);
}

.portfolio-title {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 5;
  display: block;
  max-width: calc(100% - 36px);
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-title::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -5px;
  bottom: -5px;
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99998;
  display: block;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(18px, 12px);
  transition: opacity 0.18s ease;
  mix-blend-mode: difference;
}

.portfolio-tooltip.is-visible {
  opacity: 1;
}

.portfolio-gallery-set .portfolio-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.portfolio-gallery-set .portfolio-item:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.portfolio-gallery-set .portfolio-item:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.portfolio-gallery-set .portfolio-item:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.portfolio-gallery-set .portfolio-item:nth-child(5) {
  grid-column: 1 / 2;
  grid-row: 3 / 5;
}

.portfolio-gallery-set .portfolio-item:nth-child(6) {
  grid-column: 2 / 5;
  grid-row: 3 / 4;
}

.portfolio-gallery-set .portfolio-item:nth-child(7) {
  grid-column: 2 / 4;
  grid-row: 4 / 5;
}

.portfolio-gallery-set .portfolio-item:nth-child(8) {
  grid-column: 4 / 5;
  grid-row: 4 / 5;
}

.portfolio-gallery-set-1 .portfolio-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.portfolio-gallery-set-2 .portfolio-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.portfolio-gallery-set-2 .portfolio-item:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.portfolio-gallery-set-3 .portfolio-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.portfolio-gallery-set-3 .portfolio-item:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.portfolio-gallery-set-3 .portfolio-item:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.portfolio-gallery-set-4 .portfolio-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.portfolio-gallery-set-4 .portfolio-item:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.portfolio-gallery-set-4 .portfolio-item:nth-child(3) {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.portfolio-gallery-set-4 .portfolio-item:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.portfolio-media .owl-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 8px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.portfolio-media .owl-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.portfolio-media .owl-dot span {
  display: block;
  width: 5px;
  height: 5px;
  border: 1px solid var(--light);
  border-radius: 50%;
  background: transparent;
  opacity: 0.75;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease;
}

.portfolio-media .owl-dot.active span {
  width: 7px;
  height: 7px;
  background: var(--light);
  opacity: 1;
}

.portfolio-media .owl-dot:hover span {
  opacity: 1;
}

.portfolio-media .owl-nav {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-item:hover .portfolio-title {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 991px) {
  .portfolio-gallery-set,
  .portfolio-gallery-set-5,
  .portfolio-gallery-set-6,
  .portfolio-gallery-set-7,
  .portfolio-gallery-set-8 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, minmax(0, 1fr));
    aspect-ratio: 1 / 3;
  }

  .portfolio-gallery-set-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    aspect-ratio: 2 / 1;
  }

  .portfolio-gallery-set-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    aspect-ratio: 2 / 1;
  }

  .portfolio-gallery-set-3,
  .portfolio-gallery-set-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    aspect-ratio: 2 / 3;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: 4 / 6;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(7) {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(8) {
    grid-column: 1 / 3;
    grid-row: 6 / 7;
  }

  .portfolio-gallery-set-1 .portfolio-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set-2 .portfolio-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set-2 .portfolio-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set-3 .portfolio-item:nth-child(1),
  .portfolio-gallery-set-4 .portfolio-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set-3 .portfolio-item:nth-child(2),
  .portfolio-gallery-set-4 .portfolio-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .portfolio-gallery-set-3 .portfolio-item:nth-child(3),
  .portfolio-gallery-set-4 .portfolio-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
  }

  .portfolio-gallery-set-4 .portfolio-item:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
  }
}

@media (max-width: 767px) {
  .portfolio-gallery {
    gap: 20px;
  }

  .portfolio-gallery-set,
  .portfolio-gallery-set-1,
  .portfolio-gallery-set-2,
  .portfolio-gallery-set-3,
  .portfolio-gallery-set-4,
  .portfolio-gallery-set-5,
  .portfolio-gallery-set-6,
  .portfolio-gallery-set-7,
  .portfolio-gallery-set-8 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    aspect-ratio: auto;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(n) {
    aspect-ratio: 1 / 1;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(3),
  .portfolio-gallery-set .portfolio-item:nth-child(5) {
    aspect-ratio: 1 / 1.5;
  }

  .portfolio-gallery-set .portfolio-item:nth-child(4),
  .portfolio-gallery-set .portfolio-item:nth-child(6),
  .portfolio-gallery-set .portfolio-item:nth-child(7),
  .portfolio-gallery-set .portfolio-item:nth-child(8) {
    aspect-ratio: 16 / 9;
  }

  .portfolio-media > img {
    height: calc(100% + 18px);
  }

  .portfolio-item:hover .portfolio-media > img {
    transform: translateY(-8px);
  }

  .portfolio-media .owl-carousel img {
    height: calc(100% + 24px);
  }

  .portfolio-item:hover .portfolio-media .owl-carousel img {
    transform: translateY(-10px);
  }

  .portfolio-media .owl-dots {
    bottom: 12px;
    gap: 6px;
  }

  .portfolio-media .owl-dot {
    width: 14px;
    height: 14px;
  }

  .portfolio-title {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 10px;
    opacity: 1;
    transform: translateY(0);
  }

  .portfolio-title::before {
    opacity: 1;
    background: var(--dark);
  }

  .portfolio-tooltip {
    display: none;
  }
}

/* PAGE INTRO*/

.page-intro {
  display: flex;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-intro .short-text,
.page-intro .long-text {
  width: calc(50% - 15px);
}

.page-intro .short-text {
  font-size: 7em;
}

.page-intro .long-text {
  font-size: 4em;
}

@media (max-width: 767px) {
  .page-intro .short-text,
  .page-intro .long-text {
    width: 100%;
  }

  .page-intro .short-text {
    font-size: 4em;
  }

  .page-intro .long-text {
    font-size: 2em;
  }
}

/* CUSTOM CURSOR */

@media (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  textarea,
  select,
  label,
  [role="button"] {
    cursor: none;
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 34px;
    height: 34px;
    border: 1px solid var(--light);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition:
      width 0.22s ease,
      height 0.22s ease,
      background-color 0.22s ease,
      border-color 0.22s ease,
      opacity 0.22s ease;
    mix-blend-mode: difference;
  }

  .custom-cursor.is-hover {
    width: 18px;
    height: 18px;
    background: var(--light);
    border-color: var(--light);
  }

  .custom-cursor.is-hidden {
    opacity: 0;
  }
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}

/* SLIDE TEXT MODULE */

.slide-text-module {
  overflow: hidden;
  width: 100%;
  background: var(--bg-main);
  margin-top: 50px;
}

.text-track {
  display: flex;
  white-space: nowrap;
  font-size: 7em;
}

.text-line {
  display: flex;
  animation: scrollLoop linear infinite;
}

.text-line span {
  display: inline-block;
  margin-right: 0.5em;
  font-weight: 800;
}

.text-line span:nth-child(odd) {
  color: var(--accent-main);
}

.text-line span:nth-child(even) {
  color: var(--bg-main);
  -webkit-text-stroke: 2px var(--accent-main);
  text-stroke: 2px var(--accent-main);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }

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

@media (max-width: 767px) {
  .text-track {
    font-size: 3em;
  }
}

/* FOOTER */

footer {
  display: block;
  position: relative;
  margin-top: 60px;
}

.footer-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-columns .footer-column {
  width: calc(25% - 22.5px);
}

@media (max-width: 767px) {
  .footer-columns .footer-column {
    width: calc(50% - 15px);
  }
}

footer ul {
  padding-left: 0;
}

footer a {
  position: relative;
  color: var(--light);
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

footer a:hover {
  opacity: 1;
}

footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* IMAGE GALLERY */

.image-gallery {
  width: 100%;
}

.image-gallery-item {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.image-gallery-image {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eee;
}

.image-gallery-image img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -18px;
  transform: translateY(0);
  transition: transform 0.6s ease;
}

.image-gallery-item:hover .image-gallery-image img {
  transform: translateY(-8px);
}

.gallery-layout-full {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery-layout-2 {
  column-count: 2;
  column-gap: 30px;
}

.gallery-layout-2 .image-gallery-item {
  display: inline-block;
  margin-bottom: 30px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.gallery-layout-featured-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.gallery-layout-featured-2 .image-gallery-item:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.gallery-layout-3 {
  column-count: 3;
  column-gap: 30px;
}

.gallery-layout-3 .image-gallery-item {
  display: inline-block;
  margin-bottom: 30px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.gallery-layout-mosaic {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery-mosaic-set {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 30px;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.gallery-mosaic-set .image-gallery-item {
  min-width: 0;
  min-height: 0;
}

.gallery-mosaic-set .image-gallery-image {
  height: 100%;
}

.gallery-mosaic-set .image-gallery-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% + 22px);
  margin-bottom: 0;
  object-fit: cover;
}

.gallery-mosaic-set .image-gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-mosaic-set .image-gallery-item:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.gallery-mosaic-set .image-gallery-item:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.gallery-mosaic-set .image-gallery-item:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3 / 5;
}

.gallery-mosaic-set .image-gallery-item:nth-child(5) {
  grid-column: 3 / 5;
  grid-row: 3 / 4;
}

.gallery-mosaic-set .image-gallery-item:nth-child(6) {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
}

.gallery-mosaic-set-1 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 2 / 1;
}

.gallery-mosaic-set-1 .image-gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-mosaic-set-2,
.gallery-mosaic-set-3 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 2 / 1;
}

.gallery-mosaic-set-2 .image-gallery-item:nth-child(1),
.gallery-mosaic-set-3 .image-gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-mosaic-set-2 .image-gallery-item:nth-child(2),
.gallery-mosaic-set-3 .image-gallery-item:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.gallery-mosaic-set-3 .image-gallery-item:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.gallery-mosaic-set-4 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
}

.gallery-mosaic-set-4 .image-gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-mosaic-set-4 .image-gallery-item:nth-child(2) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.gallery-mosaic-set-4 .image-gallery-item:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.gallery-mosaic-set-4 .image-gallery-item:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3 / 5;
}

.gallery-mosaic-set-5,
.gallery-mosaic-set-6 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
}

@media (max-width: 991px) {
  .gallery-layout-3 {
    column-count: 2;
  }

  .gallery-mosaic-set {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .gallery-layout-full,
  .gallery-layout-featured-2,
  .gallery-layout-mosaic {
    gap: 20px;
  }

  .gallery-layout-2,
  .gallery-layout-3 {
    column-count: 1;
    column-gap: 20px;
  }

  .gallery-layout-2 .image-gallery-item,
  .gallery-layout-3 .image-gallery-item {
    margin-bottom: 20px;
  }

  .gallery-layout-featured-2 {
    grid-template-columns: 1fr;
  }

  .gallery-layout-featured-2 .image-gallery-item:nth-child(n) {
    grid-column: auto;
  }

  .gallery-mosaic-set,
  .gallery-mosaic-set-1,
  .gallery-mosaic-set-2,
  .gallery-mosaic-set-3,
  .gallery-mosaic-set-4,
  .gallery-mosaic-set-5,
  .gallery-mosaic-set-6 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    aspect-ratio: auto;
  }

  .gallery-mosaic-set .image-gallery-image {
    height: auto;
  }

  .gallery-mosaic-set .image-gallery-image img {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: -16px;
    object-fit: initial;
  }

  .image-gallery-image img {
    margin-bottom: -16px;
  }

  .image-gallery-item:hover .image-gallery-image img {
    transform: translateY(-7px);
  }
}

/* BREADCRUMBS */

.breadcrumbs {
  display: block;
  width: 100%;
  margin: 0 0 30px;
  color: var(--light);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin: 0 9px;
  color: var(--light);
  opacity: 0.9;
}

.breadcrumbs a,
.breadcrumbs span {
  color: var(--light);
  text-decoration: none;
}

.breadcrumbs a {
  position: relative;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.breadcrumbs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.breadcrumbs a:hover {
  opacity: 1;
}

.breadcrumbs a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.breadcrumbs li:last-child span {
  opacity: 1;
}

@media (max-width: 767px) {
  .breadcrumbs {
    margin-bottom: 24px;
  }

  .breadcrumbs li {
    font-size: 10px;
    line-height: 1.4;
  }

  .breadcrumbs li:not(:last-child)::after {
    margin: 0 7px;
  }
}

/* PORTFOLIO INFORMATION */

.portfolio-informations {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.portfolio-informations h1 {
  width: 100%;
}

.portfolio-informations .project-description, .portfolio-informations .project-details {
  width: calc(50% - 15px);
}

.portfolio-informations .project-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--light);
}

.portfolio-informations .project-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-informations .project-detail-label {
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.92;
}

.portfolio-informations .project-detail-value,
.portfolio-informations .project-detail-value a,
.portfolio-informations .project-detail-value span {
  color: var(--light);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.portfolio-informations .project-detail-value a {
  position: relative;
  display: inline-flex;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.portfolio-informations .project-detail-value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.portfolio-informations .project-detail-value a:hover {
  opacity: 0.7;
}

.portfolio-informations .project-detail-value a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.portfolio-informations .project-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 7px;
}

.portfolio-informations .project-tags span {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .portfolio-informations .project-details {
    gap: 16px;
  }

  .portfolio-informations .project-detail-label {
    font-size: 10px;
  }

  .portfolio-informations .project-detail-value,
  .portfolio-informations .project-detail-value a,
  .portfolio-informations .project-detail-value span {
    font-size: 12px;
  }
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.contact-label {
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.contact-title {
  margin: 0;
  color: var(--light);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-detail-label {
  display: block;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.72;
}

.contact-detail a,
.contact-detail span:not(.contact-detail-label) {
  color: var(--light);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.contact-detail a {
  position: relative;
  width: fit-content;
  max-width: 100%;
  transition: opacity 0.25s ease;
}

.contact-detail a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.contact-detail a:hover {
  opacity: 0.7;
}

.contact-detail a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-form-wrap {
  width: 100%;
}

.contact-form-wrap .wpcf7 {
  width: 100%;
}

.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form-wrap p {
  margin: 0;
}

.contact-form-wrap label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.9;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--light);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.contact-form-wrap textarea {
  min-height: 150px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form-wrap input[type="text"]::placeholder,
.contact-form-wrap input[type="email"]::placeholder,
.contact-form-wrap input[type="tel"]::placeholder,
.contact-form-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap textarea:focus {
  border-bottom-color: var(--light);
}

.contact-form-wrap input[type="submit"],
.contact-form-wrap button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 28px;
  border: 1px solid var(--light);
  border-radius: 999px;
  background: transparent;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap button[type="submit"]:hover {
  background: var(--light);
  color: var(--dark);
}

.contact-form-wrap .wpcf7-spinner {
  margin-left: 12px;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: var(--light);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.7;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--light);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-info {
    gap: 34px;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-grid {
    gap: 42px;
  }

  .contact-info {
    gap: 28px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-title {
    font-size: clamp(46px, 18vw, 76px);
  }

  .contact-form-wrap form {
    gap: 18px;
  }

  .contact-form-wrap input[type="text"],
  .contact-form-wrap input[type="email"],
  .contact-form-wrap input[type="tel"],
  .contact-form-wrap textarea {
    font-size: 16px;
  }

  .contact-form-wrap input[type="submit"],
  .contact-form-wrap button[type="submit"] {
    width: 100%;
  }
}

/* OWL DOTS */

.portfolio-media .owl-dots,
.image-gallery-image .owl-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 8px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.portfolio-media .owl-dot,
.image-gallery-image .owl-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.portfolio-media .owl-dot span,
.image-gallery-image .owl-dot span {
  display: block;
  width: 5px;
  height: 5px;
  border: 1px solid var(--light);
  border-radius: 50%;
  background: transparent;
  opacity: 0.75;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease;
}

.portfolio-media .owl-dot.active span,
.image-gallery-image .owl-dot.active span {
  width: 7px;
  height: 7px;
  background: var(--light);
  opacity: 1;
}

.portfolio-media .owl-dot:hover span,
.image-gallery-image .owl-dot:hover span {
  opacity: 1;
}

.portfolio-media .owl-nav,
.image-gallery-image .owl-nav {
  display: none;
}

@media (max-width: 767px) {
  .portfolio-media .owl-dots,
  .image-gallery-image .owl-dots {
    bottom: 12px;
    gap: 6px;
  }

  .portfolio-media .owl-dot,
  .image-gallery-image .owl-dot {
    width: 14px;
    height: 14px;
  }
}

.portfolio-media .owl-carousel,
.image-gallery-image .owl-carousel {
  position: absolute;
  inset: 0;
}

.portfolio-media .owl-stage-outer,
.image-gallery-image .owl-stage-outer {
  height: 100%;
}

/* 404 */

.error-page {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  color: var(--light);
}

.error-404 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: end;
  width: 100%;
  padding: 0 0 80px 0;
}

.error-404-number {
  color: var(--light);
  font-size: clamp(120px, 24vw, 360px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.12em;
  opacity: 0.96;
}

.error-404-content {
  max-width: 720px;
  padding-bottom: 10px;
}

.error-404-label {
  margin: 0 0 18px;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.error-404 h1 {
  margin: 0;
  color: var(--light);
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.error-404-content > p:not(.error-404-label) {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--light);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.82;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 42px;
}

.error-404-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.error-404-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.error-404-link:hover {
  opacity: 1;
}

.error-404-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 991px) {
  .error-page {
    min-height: calc(100vh - 72px);
  }

  .error-404 {
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: start;
    padding: 70px 0;
  }

  .error-404-content {
    max-width: 100%;
    padding-bottom: 0;
  }

  .error-404-number {
    font-size: clamp(110px, 34vw, 260px);
  }
}

@media (max-width: 767px) {
  .error-page {
    min-height: calc(100vh - 68px);
  }

  .error-404 {
    gap: 34px;
    padding: 56px 0;
  }

  .error-404-number {
    font-size: clamp(96px, 38vw, 180px);
  }

  .error-404 h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .error-404-content > p:not(.error-404-label) {
    margin-top: 24px;
    font-size: 14px;
  }

  .error-404-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 34px;
  }
}

/* CONTACT FORM */

.aon-contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.aon-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.9;
}

.aon-contact-form input[type="text"],
.aon-contact-form input[type="email"],
.aon-contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--light);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.aon-contact-form textarea {
  min-height: 150px;
  padding-top: 14px;
  resize: vertical;
}

.aon-contact-form input::placeholder,
.aon-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.aon-contact-form input:focus,
.aon-contact-form textarea:focus {
  border-bottom-color: var(--light);
}

.aon-form-consent {
  margin-top: 4px;
}

.aon-form-consent .wpcf7-form-control-wrap {
  display: block;
}

.aon-form-consent .wpcf7-list-item {
  display: block;
  margin: 0;
}

.aon-form-consent label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  color: var(--light);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.68;
}

.aon-form-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: var(--light);
}

.aon-form-consent .wpcf7-list-item-label {
  display: block;
}

.aon-contact-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 28px;
  border: 1px solid var(--light);
  border-radius: 999px;
  background: transparent;
  color: var(--light);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.aon-contact-form input[type="submit"]:hover {
  background: var(--light);
  color: var(--dark);
}

.aon-contact-form .wpcf7-not-valid-tip {
  margin-top: 7px;
  color: var(--light);
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.7;
}

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--light);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .aon-contact-form {
    gap: 18px;
  }

  .aon-contact-form input[type="text"],
  .aon-contact-form input[type="email"],
  .aon-contact-form textarea {
    font-size: 16px;
  }

  .aon-contact-form input[type="submit"] {
    width: 100%;
  }
}