@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap");
* {
  font-family: "Instrument Sans", sans-serif;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  text-decoration: none;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  background: #441A38;
}

.langs {
  position: fixed;
  right: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  top: 50%;
  z-index: 10;
}
.langs a {
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1254901961);
  backdrop-filter: blur(10px);
  padding: 10px;
  padding-right: 8px;
}
.langs a.active {
  background: rgba(255, 255, 255, 0.5647058824);
  color: #441A38;
}
.langs a:first-child {
  border-top-left-radius: 10px;
}
.langs a:last-child {
  border-bottom-left-radius: 10px;
}

.list {
  min-height: 900px;
  padding-top: 100px;
}

.tabs {
  margin-top: 190px;
  text-align: center;
}
.tabs .tabs_line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
.tabs .tabs_line a {
  -webkit-transition: 1s;
  transition: 1s;
  color: white;
  text-decoration: none;
  opacity: 0.5;
}
.tabs .tabs_line a.selected {
  opacity: 1;
}

.wsize {
  max-width: 1500px;
  margin: auto;
}

.navholder {
  height: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5vw;
  padding: 0 3vw;
}
.navholder ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.navholder ul li.selected a:after {
  -webkit-transform: translateY(-20px) !important;
          transform: translateY(-20px) !important;
  height: 42px !important;
}
.navholder ul a {
  padding: 17px 0;
  font-size: 80%;
  color: #ceab4e;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.navholder ul a:after {
  height: 0px;
  background: rgba(0, 0, 0, 0.4392156863);
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  z-index: -1;
}
.navholder ul a:hover:after {
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  height: 41px;
}
.navholder .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.navholder .line {
  height: 1px;
  width: 100%;
  background: #ceab4e;
}

.pheader {
  color: white;
  margin: 0;
  padding: 0 40px;
  font-size: 400%;
  font-weight: lighter;
  text-align: right;
  margin-bottom: 40px;
}

.mainimage img {
  width: calc(100% - 60px);
  border-radius: 30px;
  margin: 30px;
}

.page_clients {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}
.page_clients img {
  width: 100%;
}

.datatext {
  text-align: center;
  font-size: 200%;
  margin: 40px 0;
  color: white;
}

.gal_block {
  max-width: 900px;
  display: -ms-grid;
  display: grid;
  margin: auto;
  -ms-grid-columns: 1fr 3px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.gal_block a {
  display: block;
  /* верхний левый угол всегда */
  /* нижний правый угол — только если количество элементов чётное */
}
.gal_block a:first-child img {
  border-top-left-radius: 50px;
}
.gal_block a:last-child:nth-child(2n) img {
  border-bottom-right-radius: 50px;
}
.gal_block a img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  mix-blend-mode: lighten;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.gal_block a img:hover {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
  mix-blend-mode: inherit;
}

.page_whoweare {
  color: white;
  padding: 30px;
  text-align: right;
  font-size: 120%;
  line-height: 1.5;
}

.button {
  text-align: center;
  font-size: 130%;
  margin-top: 90px;
}
.button a {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3137254902);
  padding: 10px 30px 14px 30px;
  border-radius: 15px;
}

.form {
  color: white;
}

.list_contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
  color: white;
}
.list_contacts b {
  font-size: 120% !important;
}
.list_contacts a {
  color: white;
  text-decoration: none;
}

.inside_content {
  margin: auto;
  max-width: 1500px;
}
.inside_content .design_big_text {
  color: #8a4577;
  opacity: 0.15;
  -webkit-filter: blur(20px);
          filter: blur(20px);
  pointer-events: none !important;
  font-size: 1800%;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
      -ms-user-select: none !important;
          user-select: none !important;
  white-space: nowrap;
  overflow: hidden;
  line-height: 0.85;
  text-align: right;
  font-weight: bold;
}
.inside_content h1 {
  color: white;
  margin: 0;
  padding: 0 40px;
  font-size: 400%;
  font-weight: lighter;
  text-align: right;
  margin-bottom: 40px;
}
.inside_content .about_grid {
  padding: 0 40px;
  gap: 60px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 60px 1fr;
  grid-template-columns: 1fr 1fr;
}
.inside_content .about_grid .textbox {
  text-align: right;
  line-height: 1.7;
  color: white;
  font-size: 120%;
}
.inside_content .about_grid .textbox p {
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
}
.inside_content .about_grid img {
  width: 100%;
}

.inside .list ul {
  list-style: none;
  padding: 0;
  max-width: 1500px;
  margin: 90px auto;
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}
.inside .list ul li {
  max-width: 300px;
}
.inside .list ul li:hover .project {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.inside .list ul li:hover .project .projectname:after {
  background: #ffffff;
}
.inside .list ul .project {
  cursor: pointer;
  max-width: 300px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.inside .list ul .project .projectname {
  background: rgba(0, 0, 0, 0.3137254902);
  color: white;
  padding: 30px;
  font-size: 120%;
  position: relative;
  font-weight: lighter;
}
.inside .list ul .project .projectname:after {
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  left: 30px;
  bottom: 23px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5019607843);
  width: 30px;
  content: "";
}
.inside .list ul .project img {
  width: 300px;
  height: 340px;
  -o-object-fit: cover;
     object-fit: cover;
}
.inside .navholder ul {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.inside nav {
  bottom: auto !important;
  top: 0;
}

nav {
  pointer-events: none;
  position: fixed;
  bottom: 0;
  background: url("../images/nav_grad.png");
  background-size: 100% 100%;
  z-index: 100;
  height: 200px;
  width: 100%;
}
nav ul, nav .logo {
  pointer-events: all !important;
}

footer {
  margin-top: 100px;
  min-height: 400px;
  background: url("../images/footer_bg.png") no-repeat;
  background-size: cover;
}

.bx-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  position: absolute;
  gap: 30px;
  right: 60px;
  top: 40px;
}
.bx-controls .bx-pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 5px;
}
.bx-controls .bx-pager .bx-pager-item {
  width: 14px !important;
  text-indent: -99999px !important;
}
.bx-controls .bx-pager .bx-pager-item a.bx-pager-link {
  display: block;
  text-indent: -99999px !important;
  width: 14;
  height: 14px;
  border-radius: 100px;
  border: 2px solid #ceab4e;
}
.bx-controls .bx-pager .bx-pager-item a.bx-pager-link.active {
  -webkit-transform: scale(1.4);
          transform: scale(1.4);
  border: 3px solid #ceab4e;
}
.bx-controls .bx-controls-direction {
  width: 200px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.bx-controls .bx-controls-direction .bx-prev,
.bx-controls .bx-controls-direction .bx-next {
  text-indent: -9999px;
  width: 40px;
  height: 18px;
  background-size: contain;
}
.bx-controls .bx-controls-direction .bx-prev:hover,
.bx-controls .bx-controls-direction .bx-next:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.bx-controls .bx-controls-direction .bx-prev {
  background: url("../images/arrow-left.svg") no-repeat center;
}
.bx-controls .bx-controls-direction .bx-next {
  background: url("../images/arrow_right.svg") no-repeat center;
}

.slider .banner {
  overflow: hidden;
  position: relative;
}
.slider .banner img {
  height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: relative;
  width: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  -webkit-animation: slideIn 1.4s ease-out forwards, clipReveal 1s 1.4s ease-out forwards;
          animation: slideIn 1.4s ease-out forwards, clipReveal 1s 1.4s ease-out forwards;
}
.slider .banner .bigheader {
  position: absolute;
  left: 10vw;
  bottom: -10px;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.slider .banner .bigheader h1 {
  color: rgba(255, 255, 255, 0.2);
  font-size: 2200%;
  padding: 0;
  margin: 0;
  line-height: 0.8;
  font-weight: bold;
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-animation: textIn 1s 2.2s ease-out forwards;
          animation: textIn 1s 2.2s ease-out forwards;
}

/* === Анимации === */
@-webkit-keyframes slideIn {
  to {
    width: 50vw;
  }
}
@keyframes slideIn {
  to {
    width: 50vw;
  }
}
@-webkit-keyframes clipReveal {
  to {
    clip-path: polygon(0 0, 100% 0, calc(100% - 200px) 100%, 0 100%);
  }
}
@keyframes clipReveal {
  to {
    clip-path: polygon(0 0, 100% 0, calc(100% - 200px) 100%, 0 100%);
  }
}
@-webkit-keyframes textIn {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes textIn {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.data {
  margin-top: 200px !important;
  max-width: 1000px;
  margin: auto;
}
.data .grid {
  -ms-grid-columns: 300px 50px 1fr;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  display: -ms-grid;
  display: grid;
}
.data .grid img {
  width: 100%;
  height: auto;
}
.data .grid h2 {
  font-size: 600%;
  padding: 0;
  -webkit-transform: translateY(8px);
          transform: translateY(8px);
  margin: 0;
  color: white;
  line-height: 1;
}
.data .tabs {
  margin-top: 30px;
  display: -ms-grid;
  display: grid;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  -ms-grid-columns: 300px 50px 1fr;
  grid-template-columns: 300px 1fr;
  gap: 50px;
}
.data .tabs .text {
  color: white;
}
.data .tabs .tabs_ul {
  border-right: 1px solid #fff;
}
.data .tabs .tabs_ul ul {
  list-style: none !important;
}
.data .tabs .tabs_ul ul li {
  text-align: right;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  opacity: 0.5;
  color: white;
  padding-right: 20px !important;
}
.data .tabs .tabs_ul ul li.selected {
  opacity: 1;
}
.data .tabs .tabs_ul ul li.selected:after {
  background: #ffffff;
}
.data .tabs .tabs_ul ul li:after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3137254902);
}

.projects {
  margin: 100px 0;
}
.projects .line {
  width: 500px;
  height: 1px;
  background: #ceab4e;
  margin: auto;
}
.projects ul {
  list-style: none;
  padding: 0;
  max-width: 1500px;
  margin: 90px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.projects ul li:hover .project {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.projects ul li:hover .project .projectname:after {
  background: #ffffff;
}
.projects ul .project {
  cursor: pointer;
  max-width: 300px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.projects ul .project .projectname {
  background: rgba(0, 0, 0, 0.3137254902);
  color: white;
  padding: 30px;
  font-size: 120%;
  position: relative;
  font-weight: lighter;
}
.projects ul .project .projectname:after {
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: absolute;
  left: 30px;
  bottom: 23px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5019607843);
  width: 30px;
  content: "";
}
.projects ul .project img {
  width: 300px;
  height: 340px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 1055px) {
  .projects ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 40px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .projects ul li {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .data .grid {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .navholder .line {
    display: none;
  }
}
.burger {
  display: none;
}

@media (max-width: 900px) {
  .bx-controls .bx-controls-direction {
    width: 130px;
  }
  .slider .banner .bigheader h1 {
    font-size: 1500%;
  }
  .slider .banner img {
    height: 50vh;
  }
  @-webkit-keyframes slideIn {
    to {
      width: 70vw;
    }
  }
  @keyframes slideIn {
    to {
      width: 70vw;
    }
  }
  .burger {
    pointer-events: all;
    width: 26px;
    height: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    z-index: 1000;
  }
  .burger div {
    width: 100%;
    height: 2px;
    background-color: #ceab4e;
    border-radius: 2px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  /* Можно добавить легкую анимацию при активном меню */
  body.menuopen .burger div:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
            transform: translateY(8px) rotate(45deg);
  }
  body.menuopen .burger div:nth-child(2) {
    opacity: 0;
  }
  body.menuopen .burger div:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
            transform: translateY(-8px) rotate(-45deg);
  }
  .logo {
    position: relative;
    z-index: 100;
  }
  .inside_content {
    padding: 27px;
    padding-top: 120px;
  }
  .inside_content .about_grid {
    -ms-grid-columns: 1fr !important;
    grid-template-columns: 1fr !important;
  }
  .inside_content .textbox {
    text-align: left !important;
    font-size: 100% !important;
  }
  .inside_content h1 {
    font-size: 200%;
    text-align: left;
  }
  .design_big_text {
    display: none !important;
  }
  .menuopen .navholder ul {
    opacity: 1;
    pointer-events: all;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .menuopen .navholder ul li {
    pointer-events: all;
  }
  .menuopen .navholder ul li a {
    pointer-events: all;
  }
  .data .grid {
    padding: 20px;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .data .grid img {
    display: none;
  }
  .langs {
    display: none;
  }
  .navholder {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 0 30px;
  }
  .navholder ul {
    -webkit-transition: 0.4s;
    transition: 0.4s;
    position: fixed;
    left: 0;
    top: 0;
    background: #441A38;
    width: 100%;
    height: 100%;
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    opacity: 0;
    pointer-events: none !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
  }
  .navholder ul li {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
    pointer-events: none;
  }
  .navholder ul li a {
    pointer-events: none;
  }
  .navholder ul a {
    font-size: 150%;
  }
}
@media (max-width: 500px) {
  .contact-grid {
    padding: 0 !important;
  }
  .page_clients {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .list_images {
    margin: 0 !important;
  }
  .content {
    -webkit-transform: translateY(-80px);
            transform: translateY(-80px);
  }
  .inside_content {
    padding-top: 0;
  }
  .page_whoweare, .pheader {
    padding: 0;
  }
  .pheader {
    font-size: 250%;
  }
  .gal_block {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .gal_block img {
    height: 160px !important;
    mix-blend-mode: inherit;
    opacity: 0.7;
    -webkit-filter: grayscale(0) !important;
            filter: grayscale(0) !important;
  }
  .mainimage img {
    margin: 0;
    width: 100% !important;
    border-radius: 5px;
  }
  nav {
    left: 0;
    bottom: -50px;
  }
  .inside .list ul {
    margin-top: 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-line-pack: center;
        align-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .inside nav {
    top: -60px;
  }
  .slider .banner img {
    height: 60vh;
  }
  .slider .banner .bigheader h1 {
    font-size: 800% !important;
  }
  @-webkit-keyframes slideIn {
    to {
      width: 100vw;
    }
  }
  @keyframes slideIn {
    to {
      width: 100vw;
    }
  }
  .bx-controls {
    top: 60vh;
    width: 100%;
    padding: 20px;
    left: 0;
    right: auto;
  }
  .logo img {
    width: 100px;
  }
  .projects .line {
    width: 80% !important;
  }
  .projects ul {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .slider img {
    clip-path: polygon(0 0, 100% 0, calc(100% - 100px) 100%, 0 100%) !important;
  }
  .data .grid h2 {
    font-size: 300%;
  }
  .tabs {
    -ms-grid-columns: 1fr !important;
    grid-template-columns: 1fr !important;
  }
}