@charset "UTF-8";
:root {
  --bg-black: #f2f2f2;
  --color-black: #2a62b5;
  --logo-black: #393e3a;
  --logo-gold: #fddc6f;
  --color-white: #ffffff;
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #1b1f2a;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent2: #06b6d4;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 18px;
}

/*--- COMMON ---*/
body {
  font-family: "Rubik", sans-serif;
  background-color: #ffffff;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  h1 {
    font-size: calc(28px + 34 * (100vw - 320px) / 1900);
  }
}
@media (min-width: 767px) {
  h1 {
    font-size: calc(28px + 20 * 100vw / 1900);
  }
}
h1 {
  font-weight: 400;
}

@media (max-width: 767px) {
  h2 {
    font-size: calc(28px + 13.6 * (100vw - 320px) / 1900);
  }
}
@media (min-width: 767px) {
  h2 {
    font-size: calc(28px + 8 * 100vw / 1900);
  }
}
h2 {
  line-height: 1.2;
}

@media (max-width: 767px) {
  h3 {
    font-size: calc(20px + 10.2 * (100vw - 320px) / 1900);
  }
}
@media (min-width: 767px) {
  h3 {
    font-size: calc(20px + 6 * 100vw / 1900);
  }
}

@media (max-width: 767px) {
  h4 {
    font-size: calc(18px + 6.8 * (100vw - 320px) / 1900);
  }
}
@media (min-width: 767px) {
  h4 {
    font-size: calc(18px + 4 * 100vw / 1900);
  }
}

p:not(:last-child) {
  margin: 0 0 10px 0;
}

a {
  text-decoration: none;
  color: #333;
}

.btn {
  padding: 10px 20px;
  background-image: linear-gradient(90deg, #e7c8aa 13%, #d9b391);
  color: #333;
  border: none;
  border-radius: 2%;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/*--- COMMON ---*/
/*--- HEADER ---*/
.header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 100;
}
@media (max-width: 991px) {
  .header {
    top: 15px;
  }
}

.header--active {
  top: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  padding: 10px 0;
  transition: all 0.1s ease-in-out;
}
@media (max-width: 767px) {
  .header--active {
    padding: 5px 0;
  }
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-navigation .btn {
  color: #ffffff;
  border: 1px solid #ffffff;
  background: transparent;
  font-weight: 300;
}
@media (max-width: 1170px) {
  .main-navigation .btn {
    display: none;
  }
}

.logo {
  width: 160px;
}
@media (max-width: 767px) {
  .logo {
    width: 110px;
  }
}

.header--active .logo {
  width: 120px;
}
@media (max-width: 767px) {
  .header--active .logo {
    width: 110px;
  }
}

.logo__img {
  width: 100%;
}

.menu {
  width: 50%;
}
@media (max-width: 1170px) {
  .menu {
    width: 70%;
  }
}
@media (max-width: 991px) {
  .menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(90deg, #0c1218 13%, #1b1f2a 100%);
    transform: translateX(150%);
    transition: transform 0.2s ease-in-out;
    box-sizing: border-box;
    padding: 15px 15px;
    z-index: 800;
  }
}

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

@media (max-width: 991px) {
  .header--active .menu--active {
    top: 52px;
  }
}

.menu-list {
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 991px) {
  .menu-list {
    flex-direction: column;
  }
}

.menu-list__item {
  padding: 6px 0;
}

@media (max-width: 991px) {
  .menu-list__item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
}

.menu-list__link {
  color: #ffffff;
}

.social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 360px;
}
@media (max-width: 1170px) {
  .social {
    width: 150px;
  }
}
@media (max-width: 991px) {
  .social {
    display: none;
  }
}

.social__tel {
  color: #ffffff;
}

.btn-icon {
  width: 20px;
  margin: 0 0 0 10px;
}

/*--- HEADER ---*/
/*--- BURGER ---*/
.burger {
  display: none;
  width: 30px;
  height: 25px;
  background-color: transparent;
  border: none;
  font-size: 0;
  position: relative;
}
.burger::after, .burger::before {
  position: absolute;
  content: "";
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.75);
  transition: transform 0.2s ease-in-out;
}
.burger::after {
  top: 0;
}
.burger::before {
  bottom: 0;
}
@media (max-width: 991px) {
  .burger {
    display: block;
  }
}

.burger__line {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.75);
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.burger--active::after {
  top: 48%;
  transform: rotate(47deg);
}

.burger--active::before {
  transform: rotate(-47deg);
  bottom: 48%;
}

.burger--active .burger__line {
  opacity: 0;
}

/*--- BURGER ---*/
/*--- HERO ---*/
.hero {
  background-image: url(../img/bg/bg-black.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 168px 0 60px 0;
}
@media (max-width: 991px) {
  .hero {
    padding: 120px 0 60px 0;
  }
}
@media (max-width: 567px) {
  .hero {
    padding: 90px 0 60px 0;
  }
}

.container-hero {
  overflow-x: hidden;
}

.hero-content h1 {
  width: 720px;
  line-height: 1.35;
  color: #d4d4d4;
  text-transform: uppercase;
}
@media (max-width: 991px) {
  .hero-content h1 {
    width: 100%;
  }
}
@media (max-width: 567px) {
  .hero-content h1 {
    text-transform: none;
  }
}
.hero-content h1 span {
  color: #bea28a;
}
.hero-content .hero-text {
  width: 510px;
  margin: 40px 0;
  color: #ffffff;
  opacity: 0.5;
}
@media (max-width: 767px) {
  .hero-content .hero-text {
    width: 100%;
  }
}
@media (max-width: 567px) {
  .hero-content .hero-text {
    margin: 30px 0;
  }
}

.hero-adv {
  display: flex;
  align-items: flex-start;
  margin: 60px 0 0 0;
}
@media (max-width: 767px) {
  .hero-adv {
    flex-direction: column;
  }
}
@media (max-width: 567px) {
  .hero-adv {
    margin: 40px 0 0 0;
  }
}
.hero-adv p {
  color: #ffffff;
  opacity: 0.5;
  width: 650px;
}
@media (max-width: 991px) {
  .hero-adv p {
    width: 100%;
  }
}

.hero-adv__content {
  width: 72%;
}
@media (max-width: 1440px) {
  .hero-adv__content {
    width: 78%;
  }
}
@media (max-width: 1220px) {
  .hero-adv__content {
    width: 100%;
  }
}

.wrapper-adv {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 225, 0.4);
  margin: 0 0 36px 0;
  background-color: rgba(66, 63, 63, 0.1);
  backdrop-filter: blur(3px);
  padding: 20px 0;
}
@media (max-width: 991px) {
  .wrapper-adv {
    padding: 0px 0;
  }
}

.wrapper-adv__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 25%;
  box-sizing: border-box;
  padding: 0px 10px;
}
@media (max-width: 991px) {
  .wrapper-adv__item {
    width: 50%;
    padding: 15px 15px;
  }
}
@media (max-width: 567px) {
  .wrapper-adv__item {
    width: 100%;
  }
}

.wrapper-adv__item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}
@media (max-width: 991px) {
  .wrapper-adv__item:not(:last-child) {
    border-right: none;
  }
}

@media (max-width: 991px) {
  .wrapper-adv__item:nth-child(1) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
  }
}
@media (max-width: 567px) {
  .wrapper-adv__item:nth-child(1) {
    border-right: none;
  }
}

@media (max-width: 991px) {
  .wrapper-adv__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
}

@media (max-width: 991px) {
  .wrapper-adv__item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
  }
}
@media (max-width: 567px) {
  .wrapper-adv__item:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
}

.wrapper-adv__icon {
  width: 34px;
}

.wrapper-adv__content {
  width: calc(100% - 42px);
}

.wrapper-adv__title {
  text-transform: uppercase;
  margin: 0 0 6px 0;
  color: #ffffff;
  opacity: 0.8;
}

.wrapper-adv__text {
  color: #ffffff;
  opacity: 0.5;
}

.hero-adv__portfolio {
  width: 28%;
}
@media (max-width: 1440px) {
  .hero-adv__portfolio {
    width: 22%;
  }
}
@media (max-width: 1220px) {
  .hero-adv__portfolio {
    display: none;
  }
}

.hero-adv__bg {
  position: relative;
  z-index: 0;
}
.hero-adv__bg::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 7px;
  background-image: linear-gradient(90deg, rgba(12, 12, 15, 0.2) 13%, rgba(16, 18, 24, 0.53) 100%);
  z-index: 1;
}

.adv-portfolio-text {
  position: absolute;
  top: 0px;
  right: -98%;
  color: #ffffff;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(40px);
  box-sizing: border-box;
  padding: 6px 10px;
  opacity: 0.5;
  text-transform: uppercase;
  z-index: 10;
}
@media (max-width: 1440px) {
  .adv-portfolio-text {
    right: -128%;
  }
}

.hero-adv__img {
  width: 100%;
  height: 138px;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0;
  position: relative;
  z-index: 0;
}
@media (max-width: 1329px) {
  .hero-adv__img {
    height: 160px;
  }
}

.adv-portfolio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 20px 20px;
  background-color: rgba(66, 63, 63, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 225, 0.4);
  border-top: none;
  margin: -7px 0 0 0;
}

.adv-portfolio__content {
  width: calc(100% - 40px);
}
.adv-portfolio__content .text {
  color: #ffffff;
  opacity: 0.8;
}
.adv-portfolio__content .subtext {
  color: #bea28a;
  opacity: 1;
  text-transform: uppercase;
}

.adv-portfolio__icon {
  display: flex;
  width: 20px;
}

.hero-adv__link {
  display: flex;
  justify-content: flex-end;
  color: #ffffff;
  opacity: 0.5;
  margin: 20px 0 0 0;
  position: relative;
}
.hero-adv__link::before {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 210px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.45);
}

/*--- HERO ---*/
/*--- COMPANY ---*/
.company {
  background-image: url(../img/bg/bg-2.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  padding: 70px 0;
}

.container-company h2 {
  width: 700px;
  margin: 0 0 30px 0;
}
@media (max-width: 767px) {
  .container-company h2 {
    width: 100%;
  }
}

.wrapper-company {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 0 0;
}
@media (max-width: 991px) {
  .wrapper-company {
    flex-direction: column;
  }
}

.wrapper-company__content {
  width: 57%;
  box-sizing: border-box;
  padding: 0 25px 0 0;
  position: relative;
}
@media (max-width: 1240px) {
  .wrapper-company__content {
    width: 57%;
  }
}
@media (max-width: 991px) {
  .wrapper-company__content {
    width: 100%;
    padding: 0;
    margin: 0 0 20px 0;
  }
}

.wrapper-company__bg {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 43%;
}
@media (max-width: 991px) {
  .wrapper-company__bg {
    width: 100%;
  }
}

.company-adv {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0px 0 0 0;
}

.company-adv__item {
  width: calc(50% - 9px);
  background-color: #fff;
  border-radius: 4px 4px;
  box-sizing: border-box;
  padding: 10px 10px;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
  box-sizing: border-box;
}
@media (max-width: 567px) {
  .company-adv__item {
    width: 100%;
  }
}

.company-adv__icon {
  width: 40px;
  margin: 0 0 4px 0;
}

.company-adv__title {
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.wrapper-company__item {
  width: calc(33.333% - 12px);
}
@media (max-width: 567px) {
  .wrapper-company__item {
    width: calc(50% - 12px);
  }
}

.wrapper-company__img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px 4px;
}

.wrapper-proizvodstvo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 34px 0 0 0;
}

.wrapper-proizvodstvo__content {
  width: 55%;
  box-sizing: border-box;
  padding: 0 20px 0 0;
}

.wrapper-material {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0 0;
}

.wrapper-material__item {
  width: calc(33.333% - 14px);
  border-radius: 0 0 4px 4px;
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
}

.wrapper-material__content {
  box-sizing: border-box;
  padding: 10px 10px;
}

.wrapper-material__img {
  width: 100%;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px 4px;
}

.wrapper-material__title {
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.wrapper-material__text {
  line-height: 1.3;
}

.wrapper-proizvodstvo__portfolio {
  width: 100%;
}

.wrapper-proizvodstvo__portfolio {
  background-color: #fffaf4;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
  box-sizing: border-box;
  padding: 24px 30px;
}
@media (max-width: 567px) {
  .wrapper-proizvodstvo__portfolio {
    padding: 14px 14px;
  }
}

.company-portfolio {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .company-portfolio {
    flex-direction: column;
  }
}

.company-portfolio__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50%;
}
@media (max-width: 991px) {
  .company-portfolio__header {
    width: 100%;
    margin: 0 0 20px 0;
  }
}

.company-portfolio__circle {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: 1px solid #bea28a;
  box-sizing: border-box;
  padding: 10px;
}
@media (max-width: 567px) {
  .company-portfolio__circle {
    width: 45px;
    height: 45px;
  }
}

.company-portfolio__img {
  width: 100%;
}

.company-portfolio__content {
  width: calc(100% - 75px);
}
@media (max-width: 567px) {
  .company-portfolio__content {
    width: calc(100% - 55px);
  }
}

.company-portfolio__title {
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.company-portfolio__body {
  display: flex;
  width: 500px;
}
@media (max-width: 991px) {
  .company-portfolio__body {
    width: 100%;
  }
}
@media (max-width: 567px) {
  .company-portfolio__body {
    flex-direction: column;
  }
}
.company-portfolio__body .btn {
  margin: 0 20px 0 0;
}
@media (max-width: 567px) {
  .company-portfolio__body .btn {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
}
.company-portfolio__body .btn:last-child {
  background: #fff;
  border: 1px solid #bea28a;
}
@media (max-width: 567px) {
  .company-portfolio__body .btn:last-child {
    margin: 10px 0 0 0;
  }
}

/*--- COMPANY ---*/
/*--- SERVICE ---*/
.service {
  padding: 60px 0;
}

.container-service h2 {
  margin: 0 0 20px 0;
}
.container-service p {
  width: 70%;
}

.wrapper-service {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 40px 0 0 0;
}

.wrapper-service__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: calc(33.333% - 20px);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  box-sizing: border-box;
  padding: 150px 15px 20px 15px;
  border-radius: 4px 4px;
  overflow: hidden;
}
@media (max-width: 991px) {
  .wrapper-service__item {
    width: 100%;
  }
}
.wrapper-service__item h4 {
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 2;
}
.wrapper-service__item p {
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 14px 0;
  position: relative;
  opacity: 0.65;
  z-index: 2;
  width: 100%;
}
.wrapper-service__item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 75%;
  background-image: linear-gradient(180deg, rgba(32, 32, 32, 0.05) 7%, rgb(0, 0, 0) 45%, rgb(32, 32, 32) 70%, rgb(20, 20, 20) 100%);
  left: 0;
  bottom: 0;
  z-index: 0;
}

.wrapper-service__item:first-child {
  background-image: url(../img/bg/service-1.png);
}

.wrapper-service__item:nth-child(2) {
  background-image: url(../img/bg/service-2.jpg);
}

.wrapper-service__item:last-child {
  background-image: url(../img/bg/service-3.jpg);
}

.wrapper-service__crkl {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: #bea28a;
  box-sizing: border-box;
  padding: 10px 10px;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 2;
}

.wrapper-service__img {
  width: 100%;
}

.wrapper-service__icon {
  width: 20px;
}

.wrapper-service__content {
  display: flex;
  justify-content: space-between;
  padding: 0 15px 0 15px;
}

.service-list {
  color: #ffffff;
  opacity: 0.65;
  font-weight: 300;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.service-list__item {
  font-size: 14px;
}

.wrapper-service__link {
  display: flex;
  align-items: flex-end;
  margin: 18px 0 0 0;
  color: #ffffff;
  font-weight: 300;
  position: relative;
  z-index: 2;
  color: #bea28a;
}

.wrapper-service__line {
  width: 100px;
  height: 1px;
  background-color: #bea28a;
}

/*--- SERVICE ---*/
/*--- ADVANTAGES ---*/
.advantges {
  padding: 60px 0;
}

.container-advantges h2 {
  margin: 0 0 20px 0;
}

.wrapper-advantges {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 0 0;
}
@media (max-width: 567px) {
  .wrapper-advantges {
    margin: 30px 0 0 0;
  }
}

.wrapper-advantges__main {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  width: 70%;
}
@media (max-width: 1240px) {
  .wrapper-advantges__main {
    width: 100%;
  }
}
@media (max-width: 567px) {
  .wrapper-advantges__main {
    gap: 16px;
  }
}

.wrapper-advantges__item {
  display: flex;
  justify-content: space-between;
  width: calc(50% - 16px);
  border-radius: 4px 4px;
  border: 1px solid #e1e1e1;
  overflow: hidden;
}
@media (max-width: 1240px) {
  .wrapper-advantges__item {
    flex-direction: column;
  }
}
@media (max-width: 567px) {
  .wrapper-advantges__item {
    width: 100%;
  }
}

.wrapper-advantges__content {
  box-sizing: border-box;
  padding: 10px 10px;
  background-color: #ffffff;
  width: 60%;
}
@media (max-width: 1240px) {
  .wrapper-advantges__content {
    width: 100%;
  }
}
.wrapper-advantges__content p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.wrapper-advantges__num {
  text-transform: uppercase;
  color: #bea28a;
}

.wrapper-advantges__title {
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}
.wrapper-advantges__title::before {
  position: absolute;
  content: "";
  width: 70px;
  height: 1px;
  background-color: #bea28a;
  left: 0;
  bottom: -4px;
}

.wrapper-advantges__img {
  width: 40%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1240px) {
  .wrapper-advantges__img {
    width: 100%;
    height: 170px;
  }
}
@media (max-width: 767px) {
  .wrapper-advantges__img {
    height: 150px;
  }
}

.wrapper-advantges__bg {
  width: 28.5%;
  background-image: url(../img/all/adv-7.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 4px 4px;
}
@media (max-width: 1240px) {
  .wrapper-advantges__bg {
    display: none;
  }
}

/*--- ADVANTAGES ---*/
.portfolio {
  padding: 60px 0px;
  background-image: url(../img/bg/bg-2.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.portfolio p {
  margin: 20px 0 30px 0;
}

.projects__accent {
  font-weight: 700;
  color: #bea28a;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 20px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-rows: minmax(100px, auto);
}

.projects__item {
  overflow: hidden;
  border-radius: 16px;
  background-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.projects__image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.projects__item:nth-child(3) .projects__image {
  height: 300px;
}

.projects__item:nth-child(5) .projects__image {
  height: 300px;
}

.projects__item:nth-child(6) .projects__image {
  height: 300px;
}

@media (max-width: 1024px) {
  .projects__item:nth-child(5) .projects__image {
    height: 220px;
  }
}
.projects__item--1 {
  grid-column: span 2;
  grid-row: span 2;
}

.projects__item--2 {
  grid-column: span 1;
  grid-row: span 2;
}

.projects__item--3 {
  grid-column: span 1;
  grid-row: span 1;
}

.projects__item--4 {
  grid-column: span 1;
  grid-row: span 2;
}

.projects__item--5 {
  grid-column: span 2;
  grid-row: span 1;
}

.projects__item--6 {
  grid-column: span 1;
  grid-row: span 1;
}

.projects__item--7 {
  grid-column: span 1;
  grid-row: span 2;
}

.projects__item--8 {
  grid-column: span 2;
  grid-row: span 1;
}

.projects__item--9 {
  grid-column: span 1;
  grid-row: span 1;
}

.projects__item--10 {
  grid-column: span 1;
  grid-row: span 2;
}

.projects__info {
  background: var(--darker);
  border-radius: 48px;
  padding: 34px 56px;
}

.projects__description {
  font-size: 18px;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 18px;
}

.projects__address {
  font-style: normal;
  box-sizing: border-box;
  padding: 12px 24px;
  border-radius: 40px;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 850px;
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .projects__address {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .projects__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects {
    padding: 40px 16px;
  }
  .projects__item--1 {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }
  .projects__item--2,
  .projects__item--3,
  .projects__item--4,
  .projects__item--5 {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1/1;
  }
  .projects__item--6 {
    grid-column: span 3;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }
  [class*=projects__item--] {
    grid-row: span 1 !important;
    /* !important для переопределения десктопных значений, 
           но можно и точнее перечислить классы */
  }
  .projects__info {
    padding: 24px;
  }
  .projects__description {
    font-size: 1.2rem;
  }
  .projects__address {
    font-size: 1rem;
    padding: 10px 18px;
    word-break: break-word;
  }
}
/*--- FAQ ---*/
.faq {
  padding: 60px 0;
}

.faq-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 40px 0 0 0;
}

@media (max-width: 1080px) {
  .faq-wrapper {
    flex-direction: column;
  }
}
.faq-wrapper__content {
  width: calc(100% - 370px);
  border: 1px solid #f2f0e9;
}

@media (max-width: 1080px) {
  .faq-wrapper__content {
    width: 100%;
  }
}
.faq-wrapper__question {
  width: 350px;
  border: 1px solid #e9edf2;
  box-sizing: border-box;
  padding: 15px 20px;
}

@media (max-width: 1080px) {
  .faq-wrapper__question {
    width: 100%;
    margin: 16px 0 0 0;
  }
}
.faq-wrapper__question h3 {
  margin: 10px 0 10px 0;
  text-align: center;
}

.faq-wrapper__question .btn {
  display: block;
  text-align: center;
  margin-top: 18px;
}

.faq-wrapper__icon {
  display: block;
  width: 82px;
  height: 82px;
  border-radius: 100%;
  margin: 0 auto;
}

.faq__list {
  list-style: none;
  padding: 0 0 0 0;
  margin: 0;
}

.faq__item {
  border-bottom: 1px solid #e9edf2;
  transition: background 0.2s, box-shadow 0.2s;
}

.faq__item--active {
  background: #bea28a;
  position: relative;
}

.faq__question {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  box-sizing: border-box;
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
  font-family: inherit;
}

.faq__item--active .faq__question {
  color: #ffffff;
}

.faq__question:hover {
  background: rgba(190, 162, 138, 0.1176470588);
}

.faq__question-text {
  flex: 1;
  line-height: 1.4;
  color: #333;
}

.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  color: #bea28a;
}

.faq__item--active .faq__icon {
  transform: rotate(45deg);
  color: #bea28a;
}

/* Блок с ответом (скрыт по умолчанию) */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.2s ease;
  background: rgba(255, 255, 255, 0.8);
}

/* Когда активен — показываем ответ с анимацией */
.faq__item--active .faq__answer {
  max-height: 380px;
  /* достаточно для контента */
  transition: max-height 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq__answer-content {
  padding: 15px 20px;
  line-height: 1.55;
  border-top: 1px dashed #dce5ec;
  margin-top: 0;
}

.faq__answer-content p:last-child {
  margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 640px) {
  .faq__question {
    padding: 16px 20px;
    font-size: 1rem;
  }
  .faq__answer-content {
    padding: 0.2rem 1.25rem 1.2rem 1.25rem;
  }
  .faq__title {
    font-size: 26px;
  }
  .faq__header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  }
}
.faq__question:focus-visible {
  outline-offset: -2px;
  border-radius: 12px;
  background: rgba(70, 134, 236, 0.1);
}

.faq__item:last-child {
  border-bottom: none;
}

/*--- FAQ ---*/
/*--- WEDGETS ---*/
.messenger-widgets {
  position: fixed;
  right: 60px;
  bottom: 60px;
  width: 74px;
  height: 74px;
  background: linear-gradient(240deg, rgb(225, 72, 211), rgb(17, 187, 226));
  border: 1px solid rgb(182, 229, 243);
  box-sizing: border-box;
  padding: 14px 14px;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: messenger-pulse 1.5s infinite;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
@media (max-width: 991px) {
  .messenger-widgets {
    right: 0px;
    bottom: 35px;
    width: 55px;
    height: 55px;
    padding: 10px 10px;
  }
}

.messenger-widgets--active {
  background: #646464;
  animation: none;
}

@keyframes messenger-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 187, 226, 0.6);
  }
  70% {
    box-shadow: 0 0 0 30px rgba(17, 187, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(17, 187, 226, 0);
  }
}
.widgets-img {
  width: 100%;
}

.widgets-img-close {
  width: 100%;
  display: none;
}

.widgets-menu {
  display: none;
  position: absolute;
  bottom: 74px;
  right: 4px;
  width: 286px;
  background-color: #fff;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  box-sizing: border-box;
  padding: 16px 16px;
  border-radius: 6px 6px;
}

.widgets-menu--active {
  display: block;
}

.widgets-menu__header {
  font-weight: 600;
  box-sizing: border-box;
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e1e1e1;
  color: #333;
}

.widgets-menu__body {
  padding: 12px 0 0px 0;
}

.widgets-text {
  font-size: 14px;
  line-height: 1.25;
  color: #696969;
}

.widgets-text:not(:last-child) {
  margin: 0 0 6px 0;
}

.group-widgets {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 0 0;
}

.messenger-widget__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  box-sizing: border-box;
  padding: 6px 17px;
  border-radius: 6px 6px;
}

.messenger-widget__link--telegram {
  background-color: #2aabee;
}

.widgets-icon {
  margin: 0 10px 0 0;
}

.widgets-icon--mobile {
  width: 25px;
  margin: 0;
}

.messenger-widget__link--max {
  background-color: #0077ff;
}

.widgets-menu__footer {
  padding: 10px 0 0 0;
}

/*--- WEDGETS ---*/
/*--- COOKIE ---*/
.cookie {
  position: fixed;
  right: 12%;
  bottom: 70px;
  background-color: #ffffff;
  border-radius: 4px 4px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  z-index: 500;
}
@media (max-width: 1440px) {
  .cookie {
    right: 15px;
  }
}
@media (max-width: 767px) {
  .cookie {
    left: 15px;
    bottom: 50px;
  }
}

.container-cookie {
  width: 580px;
  box-sizing: border-box;
  padding: 20px 20px;
}
@media (max-width: 767px) {
  .container-cookie {
    width: calc(100% - 0px);
    padding: 12px 12px;
  }
}

.wrapper-buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 0 0 0;
}
@media (max-width: 567px) {
  .wrapper-buttons {
    flex-direction: column;
  }
}
.wrapper-buttons .btn {
  width: 150px;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 567px) {
  .wrapper-buttons .btn {
    width: 100%;
    margin: 0 0 6px 0;
  }
}

.privacy {
  border-bottom: 1px dashed #333;
}

.cookie.hidden {
  display: none;
}

/*--- COOKIE ---*/
/*--- CONTACT ---*/
.contact {
  border-top: 1px solid #e1e1e1;
  padding: 60px 0;
}

.container-contact h2 {
  margin: 0 0 20px 0;
}
.container-contact p {
  margin: 0 0 20px 0;
}

.wrapper-contact {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .wrapper-contact {
    flex-direction: column;
  }
}

.wrapper-contact__content {
  width: 35%;
}
@media (max-width: 991px) {
  .wrapper-contact__content {
    width: 100%;
    margin: 0 0 20px 0;
  }
}

.group-contact {
  display: flex;
  justify-content: space-between;
  border-radius: 4px 4px;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
  box-sizing: border-box;
  padding: 14px 14px;
}

.group-contact:not(:last-child) {
  margin: 0 0 16px 0;
}

.group-contact__crcl {
  width: 50px;
  height: 50px;
  background: rgba(190, 162, 138, 0.1176470588);
  border-radius: 100%;
  box-sizing: border-box;
  padding: 10px 10px;
}

.group-contact__img {
  width: 100%;
}

.group-contact__content {
  width: calc(100% - 60px);
}

.group-contact__title {
  font-weight: 500;
}

.group-contact__info {
  margin: 4px 0 4px 0;
}

.group-contact__text {
  opacity: 0.7;
}

.wrapper-contact__maps {
  width: 62%;
}
@media (max-width: 991px) {
  .wrapper-contact__maps {
    width: 100%;
  }
}

.map-contact {
  width: 100%;
  height: 100%;
}
@media (max-width: 991px) {
  .map-contact {
    height: 250px;
  }
}

/*--- CONTACT ---*/
/*--- FOOTER ---*/
.footer {
  background: #0c1218;
  color: #aaa;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 767px) {
  .footer__inner {
    justify-content: center;
    text-align: center;
  }
}
.footer__colum {
  width: calc(20% - 24px);
}

@media (max-width: 991px) {
  .footer__colum {
    width: calc(50% - 24px);
  }
}
@media (max-width: 767px) {
  .footer__colum {
    width: 100%;
  }
}
.footer__colum:first-child {
  width: calc(30% - 24px);
}

@media (max-width: 991px) {
  .footer__colum:first-child {
    width: calc(50% - 24px);
  }
}
@media (max-width: 767px) {
  .footer__colum:first-child {
    width: 100%;
  }
}
.footer__logo {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-logo {
  width: 170px;
}

.footer__about {
  color: #9a9a9a;
  line-height: 1.6;
}

.footer__heading {
  color: white;
  font-weight: 500;
  margin-bottom: 24px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__item {
  margin-bottom: 14px;
}

.footer__link {
  color: #aaa;
  text-decoration: none;
  transition: 0.2s;
}

.footer__link:hover {
  color: #bea28a;
}

.footer__copyright {
  width: 100%;
  text-align: center;
  padding-top: 50px;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  margin-top: 30px;
}

/* кастом */
.icon-text {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Адаптив */
@media (max-width: 1200px) {
  .page {
    padding: 0 30px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .catalog__track {
    gap: 20px;
  }
  .card {
    flex: 0 0 calc(50% - 10px);
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .card {
    flex: 0 0 100%;
  }
}
/*--- FOOTER ---*/

/*--- MODAL ---*/
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  padding: 10px;
  z-index: 9999;
}
.modal .btn {
  justify-content: center;
  text-align: center;
}
.modal h3 {
  width: 90%;
  margin-bottom: 10px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  box-sizing: border-box;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: show 0.3s;
}

@keyframes show {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 22px;
}

.subtitle {
  color: #666;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .subtitle {
    margin-bottom: 20px;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: 0.2s;
}
@media (max-width: 600px) {
  input,
  textarea {
    padding: 12px;
  }
}

input:focus,
textarea:focus {
  border-color: #d9b391;
}

textarea {
  height: 110px;
  resize: none;
}

.info {
  font-size: 14px;
  color: #888;
  text-align: center;
}

.result {
  display: none;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 8px;
  background: #eef9ef;
  color: #2d7d32;
}

.result.error {
  background: #ffecec;
  color: #c62828;
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  .modal-box {
    box-sizing: border-box;
    padding: 15px;
  }
}
/*--- MODAL ---*/

.privaty {
  background-color: rgb(20, 20, 20);
  padding: 40px 0;
}