@charset "UTF-8";
/* Импорт компонентов */
html {
  scroll-behavior: smooth; /* Добавляем плавную прокрутку */
  scroll-padding-top: 80px; /* Компенсация фиксированной шапки при скролле */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gotham", "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    max-width: 95%;
    padding: 0 15px;
  }
}
/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка сайта */
.header {
  background-color: var(--primary-color);
  position: relative;
  width: 100%;
  padding: 0;
  line-height: 1.5;
}

.header .container {
  max-width: none;
  padding: 0;
  margin: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  width: 100%;
  margin: 0;
}

.logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  line-height: 1.5;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
  line-height: 1.5;
}

.nav-links a:hover {
  opacity: 0.7;
}

@media (max-width: 480px) {
  .header {
    padding-top: 20px;
  }
  .nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }
  .logo {
    font-size: 14px;
    text-align: center;
  }
  .nav-links {
    gap: 20px;
    justify-content: center;
  }
  .nav-links a {
    font-size: 14px;
  }
}
.main {
  background-color: var(--primary-color);
  margin-top: -1px;
  /* убираем зазор между header и main */
  padding-top: 0px;
}
.main .container {
  max-width: none;
  padding: 0;
  margin: 0;
}

.main__mainText {
  font-size: clamp(32px, 8vw, 60px);
  font-family: "Gotham", sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 30px 0 23px;
}

.main__mainText_title1,
.main__mainText_title2 {
  margin: 0;
  line-height: 1;
  font-weight: 300;
  /* сделать заголовки легче */
}

.main_low {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 30px 30px;
}

.main__mainText_002HUNT {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
  line-height: 1.5;
  text-decoration: underline;
  padding-top: 5px;
}

.main__mainText_002 {
  margin: 0;
  line-height: 1;
  font-weight: 300;
  align-self: flex-end;
  font-size: clamp(32px, 8vw, 60px);
  font-family: "Roboto", sans-serif;
}

.main__mainText_title1 {
  align-self: flex-start;
  /* прижать к левому краю */
  color: #fff0e3;
  background-color: #282828;
}

.main__mainText_title2 {
  align-self: flex-start;
  /* прижать к правому краю */
  padding-left: 110px;
}

.main__picture {
  display: block;
  max-width: 50%;
}

.main__picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

@media (max-width: 768px) {
  .main__mainText_title2 {
    padding-left: 0;
    /* убираем отступ на планшетах */
    text-align: right; /* прижимаем текст к правому краю */
  }
  .main__mainText_title1,
  .main__mainText_title2 {
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    font-size: 42px;
  }
  .main__picture {
    margin-left: 0;
    /* на узких экранах вернуть в поток */
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .main {
    padding-top: 0px;
  }
  .main__mainText {
    padding-top: 30px;
  }
  .main__mainText_title2 {
    padding-left: 0;
    /* убираем отступ на мобильных */
    text-align: right; /* прижимаем текст к правому краю */
  }
  .main__mainText_title1,
  .main__mainText_title2 {
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    font-size: 42px;
  }
  .main__picture {
    margin-top: 60px;
    padding-bottom: 5px;
  }
}
.main__mainText_002digits {
  font-size: 90px;
  font-family: "Roboto", sans-serif;
  margin: 0;
  line-height: 1;
  font-weight: 300;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .main__mainText {
    padding: 0 30px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .nav {
    padding: 0;
  }
}
@media (max-width: 480px) {
  .main__mainText {
    padding: 0 30px;
  }
}
@media (max-width: 375px) {
  .main__mainText {
    padding: 0 30px;
  }
}
@media (max-width: 768px) {
  .main_low {
    padding: 20px 30px;
  }
}
@media (max-width: 480px) {
  .main__mainText {
    padding: 10px 30px;
  }
  .main_low {
    padding: 15px 30px;
    position: relative;
    height: 215px;
  }
  .main__mainText_002digits {
    font-size: 30px;
  }
  .main__mainText_002HUNT {
    font-size: 12px;
  }
  .main__mainText_002 {
    padding-right: 10px;
    position: relative;
    align-self: flex-end;
  }
}
@media (max-width: 375px) {
  .main_low {
    padding: 10px 30px;
    position: relative;
    height: 215px;
  }
  .main__mainText_002digits {
    font-size: 30px;
  }
  .main__mainText_002HUNT {
    font-size: 12px;
  }
  .main__mainText_002 {
    padding-right: 10px;
    position: relative;
    align-self: flex-end;
  }
}
.about {
  padding: 40px 0;
  background-color: #FFF0E3;
}
.about__title {
  font-family: "Gotham", sans-serif;
  font-size: clamp(24px, 4vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  width: min(1000px, 90vw);
  min-height: 120px;
  padding: 15px 40px;
  border-radius: 15px;
  display: inline-block;
  text-align: center;
}
.about__text-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}
.about__text-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--text-color);
}
.about__text {
  font-family: "Gotham", sans-serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  color: #282828;
  letter-spacing: 0.01em;
  padding-left: 10px;
}
.about__howWeWork {
  font-family: "Gotham", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #282828;
  text-align: left;
  margin-top: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 800px;
}
.about .carousel {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about .according__item.active ~ .according__item {
  margin-top: calc(-1 * var(--acc-overlap)) !important;
  transition: margin-top 0.28s ease;
}

.according {
  margin-top: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  --acc-overlap: 50px;
}
.according__item {
  margin: 0;
  position: relative;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #FFF0E3;
  transition: all 0.3s ease;
}
.according__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(40, 40, 40, 0.3);
  z-index: 1;
}
.according__item:not(:first-child) {
  margin-top: calc(-1 * var(--acc-overlap));
}
.according__item.active {
  z-index: 999 !important;
  margin-bottom: var(--acc-overlap) !important;
}
.according__item_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px 25px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.according__item_header:hover .according__item_title,
.according__item_header:hover .according__item_toggle {
  color: var(--text-color);
}
.according__item_title {
  font-family: "Gotham", sans-serif;
  font-size: 50px;
  font-weight: 300;
  margin: 0;
  color: var(--text-color);
  transition: color 0.3s ease;
}
.according__item .num {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  margin-right: 10px;
  color: rgba(0, 0, 0, 0.6);
  position: relative;
  top: -28px;
}
.according__item .ttl {
  display: inline-block;
}
.according__item_toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.according__item_toggle .icon {
  transition: transform 0.3s ease;
}
.according__item_content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 30px;
}
.according__item_content p {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 30px;
  color: #282828;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: left;
}
.according__item_content ul {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #282828;
  margin: 0;
  padding-left: 20px;
  text-align: left;
}
.according__item_content ul li {
  margin-bottom: 8px;
}
.according__item_content .honorar-title {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #282828;
  text-align: left;
  margin-top: 20px;
}
.according__item.active .according__item_header .according__item_title,
.according__item.active .according__item_header .according__item_toggle {
  color: var(--text-color);
}
.according__item.active .according__item_header .icon {
  transform: rotate(45deg);
}
.according__item.active .according__item_content {
  max-height: 200px;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.3);
}
.according__item.active .according__item_content p {
  opacity: 1;
  transform: translateY(0);
}
.according .according__item:nth-child(1) {
  z-index: 1;
}
.according .according__item:nth-child(2) {
  z-index: 2;
}
.according .according__item:nth-child(3) {
  z-index: 3;
}
.according .according__item:nth-child(4) {
  z-index: 4;
}
.according .according__item:nth-child(5) {
  z-index: 5;
}
.according .according__item:nth-child(6) {
  z-index: 6;
}
.according .according__item:nth-child(7) {
  z-index: 7;
}
.according .according__item:nth-child(8) {
  z-index: 8;
}
.according .according__item:nth-child(9) {
  z-index: 9;
}
.according .according__item:nth-child(10) {
  z-index: 10;
}

@media (max-width: 768px) {
  .about {
    padding: 80px 0;
  }
  .about__title {
    font-size: 33px;
    margin-bottom: 30px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
    padding: 0 20px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 30px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 20px 20px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }
  .according__item_title {
    font-size: 36px;
  }
  .according__item .num {
    font-size: 11px;
    top: -20px;
  }
  .according__item_content {
    padding: 0 20px;
  }
  .according__item_content p {
    font-size: 16px;
    padding: 0 0 20px;
  }
  .according__item_content ul {
    font-size: 16px;
  }
  .according__item.active .according__item_content {
    max-height: 400px;
    padding: 15px 20px;
  }
}
@media (max-width: 480px) {
  .about {
    padding: 60px 0;
  }
  .about__title {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 25px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 15px 15px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }
  .according__item_title {
    font-size: 36px;
  }
  .according__item .num {
    font-size: 11px;
    top: -20px;
  }
  .according__item_content {
    padding: 0 15px;
  }
  .according__item_content p {
    font-size: 16px;
    padding: 0 0 15px;
  }
  .according__item_content ul {
    font-size: 16px;
  }
  .according__item.active .according__item_content {
    max-height: 400px;
    padding: 12px 15px;
  }
}
@media (max-width: 375px) {
  .about {
    padding: 60px 0;
  }
  .about__title {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 20px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 15px 15px;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }
  .according__item_title {
    font-size: 30px;
  }
  .according__item .num {
    font-size: 10px;
    top: -18px;
  }
  .according__item_content {
    padding: 0 15px;
  }
  .according__item_content p {
    font-size: 15px;
    padding: 0 0 15px;
  }
  .according__item_content ul {
    font-size: 15px;
  }
  .according__item.active .according__item_content {
    max-height: 450px;
    padding: 12px 15px;
  }
}
@media (max-width: 768px) {
  .about {
    padding: 80px 0;
  }
  .about__title {
    font-size: 33px;
    margin-bottom: 30px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
    padding: 0 20px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 40px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 20px 20px;
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
}
@media (max-width: 480px) {
  .about {
    padding: 60px 0;
  }
  .about__title {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 35px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 15px 15px;
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
}
@media (max-width: 375px) {
  .about {
    padding: 60px 0;
  }
  .about__title {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 15px 0;
  }
  .about__text {
    font-size: 14px;
  }
  .about__howWeWork {
    font-size: 10px;
    padding-left: 20px;
  }
  .according {
    --acc-overlap: 30px;
  }
  .according__item:not(:first-child) {
    margin-top: calc(-1 * var(--acc-overlap));
  }
  .according__item.active {
    margin-bottom: var(--acc-overlap) !important;
  }
  .according__item_header {
    padding: 0 15px 15px;
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
  }
}
.about-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}
.about-swiper .swiper-slide {
  width: 100%;
  height: auto;
}
.about-swiper .swiper-button-next,
.about-swiper .swiper-button-prev {
  position: absolute;
  top: 0;
  transform: translateY(0);
  color: #000;
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.about-swiper .swiper-button-next:hover,
.about-swiper .swiper-button-prev:hover {
  color: #333;
}
.about-swiper .swiper-button-next::after,
.about-swiper .swiper-button-prev::after {
  font-size: 20px;
}
.about-swiper .swiper-button-prev {
  left: 10px;
}
.about-swiper .swiper-button-next {
  right: 10px;
}
@media (max-width: 375px) {
  .about-swiper .swiper-button-prev {
    left: -35px;
  }
  .about-swiper .swiper-button-next {
    right: -35px;
  }
}
.about-swiper .swiper-pagination {
  position: relative;
  margin-top: 20px;
}
.about-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #000;
  opacity: 0.2;
}
.about-swiper .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.about-swiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-swiper .swiper-slide-active {
  opacity: 1;
}

.portfolio {
  background-color: #282828;
  color: #FFF0E3;
  padding: 50px 0;
}
.portfolio .container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.portfolio .container .portfolio__title__realized {
  margin-bottom: -10px;
}
.portfolio__title {
  font-family: "Gotham", sans-serif;
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 300;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 5px;
}
.portfolio__new-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}
.portfolio__new-text {
  width: 50%;
}
.portfolio__new-text p {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #FFF0E3;
  margin: 0;
}
.portfolio__new-button {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.portfolio__button-new {
  width: 100%;
  padding: 15px 30px;
  border: 2px solid #FFF0E3;
  background: transparent;
  color: #FFF0E3;
  font-family: "Gotham", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.portfolio__button-new:hover {
  background: #FFF0E3;
  color: #282828;
}
.portfolio__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.portfolio__content-block {
  width: 50%;
}
.portfolio__content-block p {
  font-family: "Gotham", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
.portfolio__content-button {
  padding: 10px 0 0 35px;
  width: 50%;
  display: flex;
  justify-content: center;
}
.portfolio__button {
  width: 100%;
  padding: 15px 30px;
  border: 2px solid #FFF0E3;
  background: #FFF0E3;
  color: #282828;
  font-family: "Gotham", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.portfolio__button:hover {
  background: transparent;
  color: #FFF0E3;
}

.footer {
  background-color: #282828;
  color: #FFF0E3;
  padding: 5px 0;
  font-weight: 700;
}
.footer .container {
  max-width: none;
  padding: 0;
  margin: 0;
}
.footer .footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  width: 100%;
  margin: 0;
}
.footer .logo {
  font-family: "Gotham", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #FFF0E3;
  letter-spacing: 0.05em;
}
.footer .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
}
.footer .nav-links li a {
  color: #FFF0E3;
  text-decoration: none;
  font-family: "Gotham", sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.3s ease;
}
.footer .nav-links li a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .portfolio {
    padding: 80px 0;
  }
  .portfolio__title {
    font-size: 48px;
    margin-bottom: 60px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  .portfolio__content {
    flex-direction: column;
    gap: 30px;
  }
  .portfolio__content-block {
    width: 100%;
  }
  .portfolio__content-button {
    width: 100%;
    padding: 0;
  }
  .footer .footer-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer .nav-links {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .portfolio {
    padding: 60px 0;
  }
  .portfolio__title {
    font-size: 36px;
    margin-bottom: 40px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  .portfolio__content-block p {
    font-size: 14px;
  }
  .portfolio__button {
    padding: 12px 30px;
    font-size: 14px;
  }
  .footer {
    padding: 30px 0;
  }
  .footer .logo {
    font-size: 14px;
  }
  .footer .nav-links {
    gap: 15px;
  }
  .footer .nav-links li a {
    font-size: 14px;
  }
}
@media (max-width: 375px) {
  .portfolio {
    padding: 40px 0;
  }
  .portfolio__title {
    font-size: 28px;
    margin-bottom: 30px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
  .portfolio__new-content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .portfolio__new-text {
    width: 100%;
    margin-bottom: 20px;
  }
  .portfolio__new-text p {
    font-size: 16px;
    line-height: 1.4;
  }
  .portfolio__new-button {
    width: 100%;
    justify-content: center;
  }
  .portfolio__button-new {
    padding: 12px 20px;
    font-size: 14px;
  }
  .portfolio__content {
    flex-direction: column;
    gap: 20px;
  }
  .portfolio__content-block {
    width: 100%;
    margin-bottom: 15px;
  }
  .portfolio__content-block p {
    font-size: 14px;
    line-height: 1.5;
  }
  .portfolio__content-button {
    width: 100%;
    padding: 0;
  }
  .portfolio__button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .footer {
    padding: 25px 0;
  }
  .footer .footer-nav {
    padding: 0 15px;
  }
  .footer .logo {
    font-size: 13px;
  }
  .footer .nav-links {
    gap: 12px;
  }
  .footer .nav-links li a {
    font-size: 13px;
  }
}
.header__about {
  background-color: var(--text-color);
  color: var(--white);
}
.header__about .nav-links a {
  color: var(--white);
  transition: opacity 0.3s ease;
}
.header__about .nav-links a:hover {
  opacity: 0.8;
}

.hero-about {
  background-color: var(--text-color);
  padding: 40px 0 40px 30px;
  color: var(--white);
  margin-top: -1px;
  min-height: 320px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hero-about .container {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.hero-about__title {
  font-family: "Gotham", sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  letter-spacing: 0.02em;
}
.hero-about .main__mainText {
  font-size: clamp(24px, 6vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 0 clamp(20px, 10vw, 106px);
  max-width: 100%;
  box-sizing: border-box;
}
.hero-about .main__mainText_title1 {
  color: var(--white);
  align-self: flex-start;
  margin: 0;
  line-height: 1.2;
  font-weight: 300;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.about-text {
  padding: 80px 0;
  background-color: #FFF0E3;
}
.about-text__content {
  max-width: 800px;
  margin: 0 auto;
}
.about-text__content p {
  font-family: "Gotham", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 300;
}
.about-text__content p:last-child {
  margin-bottom: 0;
}

.team {
  background-color: var(--white);
  padding: 0 0 40px 0;
  color: var(--white);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  gap: 20px;
  width: 95%;
  max-width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  align-items: start;
  padding: 0 20px;
}

.card__item {
  border: none;
  border-radius: 20px;
  font-family: "Gotham", sans-serif;
  width: 300px;
  height: 400px;
  position: relative;
  cursor: pointer;
  background: transparent;
  display: block;
  transform: scale(0.9);
}
.card__item_description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #FFF0E3;
  padding: 20px;
  color: black;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform-origin: center center;
}
.card__item_description h4 {
  margin: 0 0 0 0;
  font-size: 20px;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card__item_description h5 {
  margin: 0 0 20px 0;
  font-size: 13px;
  color: var(--text-color);
}
.card__item_description p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-color);
}
.card__item_photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--primary-color);
  transition: transform 0.4s ease;
  transform-origin: center center;
}
.card__item_photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.card__item.active {
  z-index: 9999 !important;
}
.card__item.active .card__item_description {
  transform: translateX(20px) translateY(10px) rotate(7deg);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--text-color);
  color: var(--white);
}
.card__item.active .card__item_description h4 {
  color: var(--white);
}
.card__item.active .card__item_description h5 {
  color: var(--white);
}
.card__item.active .card__item_description p {
  color: var(--white);
}
.card__item.active .card__item_photo {
  transform: translateY(-250px) rotate(-10deg);
}

.header,
.footer {
  padding: clamp(20px, 5vw, 40px) 0;
}
.header__content,
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 5vw, 40px);
  flex-wrap: wrap;
}

.footer__aboutUs {
  color: var(--text-color) !important;
  background-color: var(--white);
}

.font-weight-700 {
  font-weight: 700 !important;
}

@media (max-width: 1024px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .hero-about {
    margin-top: -1px;
    padding: 60px 0;
    padding-left: 0;
    padding-right: 0;
    min-height: auto; /* Возвращаем автоматическую высоту для мобильной версии */
  }
  .hero-about__title {
    font-size: 36px;
  }
  .hero-about .main__mainText {
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
  }
  .hero-about .main__mainText_title1 {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
  }
  .about-text {
    padding: 60px 20px;
  }
  .about-text__content p {
    font-size: 16px;
    line-height: 1.5;
  }
}
@media (max-width: 580px) {
  .team__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
  }
  .hero-about__title {
    font-size: 28px;
  }
  .header__content,
  .footer__content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .hero-about {
    margin-top: -1px;
    padding: 40px 0;
    padding-left: 0;
    padding-right: 0;
    min-height: auto; /* Возвращаем автоматическую высоту для мобильной версии */
  }
  .hero-about .main__mainText {
    font-size: 42px;
    padding: 20px 15px 0 15px;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
  }
  .hero-about .main__mainText_title1 {
    font-size: 42px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    align-self: center;
    text-align: center;
  }
  .about-text {
    padding: 40px 15px;
  }
  .about-text__content p {
    font-size: 14px;
  }
  .team {
    padding: 60px 0;
  }
  .team__grid {
    max-width: 320px;
    padding: 0 15px;
  }
  .card__item {
    width: 100%;
    max-width: 280px;
    height: 350px;
  }
  .card__item_description {
    padding: 15px;
  }
  .card__item_description h4 {
    font-size: 20px;
  }
  .card__item_description h5 {
    font-size: 16px;
  }
  .card__item_description p {
    font-size: 14px;
  }
}
@media (max-width: 1024px) {
  .hero-about {
    padding-left: 0;
    padding-right: 0;
    min-height: auto; /* Возвращаем автоматическую высоту для мобильной версии */
  }
  .hero-about .main__mainText {
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
  }
  .hero-about .main__mainText_title1 {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  .hero-about .main__mainText {
    text-align: center;
  }
  .hero-about .main__mainText_title1 {
    align-self: center;
    text-align: center;
  }
}
@media (max-width: 430px) {
  .hero-about {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-about .main__mainText {
    font-size: 32px;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
  }
  .hero-about .main__mainText_title1 {
    font-size: 32px;
    word-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
    line-height: 1.1;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    align-self: center;
    text-align: center;
  }
}
@media (max-width: 375px) {
  .hero-about {
    margin-top: -1px;
    padding: 30px 0;
    padding-left: 0;
    padding-right: 0;
    height: auto;
  }
  .hero-about .main__mainText {
    font-size: 32px;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
  }
  .hero-about .main__mainText_title1 {
    font-size: 32px;
    word-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
    line-height: 1.1;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    align-self: center;
    text-align: center;
  }
}
.projects-tabs {
  padding: 80px 0 0 0;
  background: #FFF0E3;
}
.projects-tabs .tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-around;
}
.projects-tabs .tab-button {
  background: none;
  border: none;
  font-family: "Gotham", "Montserrat", sans-serif;
  color: #666;
  padding: 20px 30px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  flex: 1;
}
.projects-tabs .tab-button:hover {
  color: var(--primary-color);
}
.projects-tabs .tab-button.active {
  color: var(--primary-color);
}
.projects-tabs .tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #666;
}
.projects-tabs .tab-button .tab-title {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 500;
}
.projects-tabs .tab-button .progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}
.projects-tabs .tab-button .progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.8s ease;
  width: 0;
}
.projects-tabs .tab-button .progress-text {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  text-align: center;
}
.projects-tabs .tab-button.active .progress-text {
  color: var(--primary-color);
}
.projects-tabs .tab-content {
  display: none;
}
.projects-tabs .tab-content.active {
  display: block;
}
.projects-tabs .projects-swiper {
  position: relative;
  max-width: 1240px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}
.projects-tabs .projects-swiper .swiper-wrapper {
  height: auto;
  transition: height 0.3s ease;
}
.projects-tabs .projects-swiper .swiper-slide {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  padding: 0 60px;
}
.projects-tabs .projects-swiper .swiper-button-prev,
.projects-tabs .projects-swiper .swiper-button-next {
  position: absolute;
  top: 70px;
  transform: translateY(0);
  color: #000;
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.projects-tabs .projects-swiper .swiper-button-prev:hover,
.projects-tabs .projects-swiper .swiper-button-next:hover {
  color: #333;
}
.projects-tabs .projects-swiper .swiper-button-prev::after,
.projects-tabs .projects-swiper .swiper-button-next::after {
  font-size: 20px;
}
.projects-tabs .projects-swiper .swiper-button-prev {
  left: 20px;
}
.projects-tabs .projects-swiper .swiper-button-next {
  right: 20px;
}
.projects-tabs .projects-swiper .swiper-pagination {
  bottom: -80px;
}
.projects-tabs .projects-swiper .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
}
.projects-tabs .projects-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color);
}
.projects-tabs .project-slide {
  text-align: left;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.projects-tabs .project-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  max-width: 850px;
  align-self: flex-start;
}
.projects-tabs .project-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--text-color);
  flex-shrink: 0;
}
.projects-tabs .project-info {
  flex: 1;
  min-width: 0; /* Позволяет flex-элементу сжиматься */
  max-width: 100%;
}
.projects-tabs .project-subtitle-3 {
  display: none; /* Скрываем третий subtitle на десктопе */
}
.projects-tabs .project-title {
  font-family: "Gotham", "Montserrat", sans-serif;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 5px 0;
  line-height: 1.2;
}
.projects-tabs .project-subtitle {
  font-family: "Gotham", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}
.projects-tabs .project-divider {
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto 30px;
}
.projects-tabs .project-text {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0 auto;
  text-align: left;
}
.projects-tabs .read-more-btn {
  display: none; /* По умолчанию скрываем кнопку на десктопе */
}

@media (max-width: 768px) {
  .projects-tabs {
    padding: 40px 0;
  }
  .projects-tabs .tabs {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 10px;
  }
  .projects-tabs .tab-button {
    min-width: 160px;
    padding: 12px 15px;
  }
  .projects-tabs .tab-button .tab-title {
    font-size: 14px;
  }
  .projects-tabs .tab-button .progress-text {
    font-size: 10px;
  }
  .projects-tabs .projects-swiper {
    padding: 0 15px;
    max-width: 100%;
  }
  .projects-tabs .projects-swiper .swiper-slide {
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .projects-tabs .projects-swiper .project-header {
    max-width: 100%;
    width: 100%;
  }
  .projects-tabs .projects-swiper .project-info {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .projects-tabs .projects-swiper .project-subtitle {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .projects-tabs .projects-swiper .swiper-button-prev,
  .projects-tabs .projects-swiper .swiper-button-next {
    width: 35px;
    height: 35px;
    margin-top: -17px;
  }
  .projects-tabs .projects-swiper .swiper-button-prev:after,
  .projects-tabs .projects-swiper .swiper-button-next:after {
    font-size: 14px;
  }
  .projects-tabs .project-slide {
    padding: 30px 15px;
  }
  .projects-tabs .project-title {
    font-size: 20px;
  }
  .projects-tabs .project-text {
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    max-height: 130px; /* Увеличиваем высоту для лучшей видимости */
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .projects-tabs .project-text.expanded {
    max-height: 2000px; /* Достаточно большое значение для полного текста */
  }
  .projects-tabs .project-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: -10px;
    background: linear-gradient(transparent, #FFF0E3);
    transition: opacity 0.3s ease;
  }
  .expanded .projects-tabs .project-text::after {
    opacity: 0;
    height: -10px; /* Полностью убираем градиент в раскрытом состоянии */
  }
  .projects-tabs .read-more-btn {
    display: flex; /* Показываем кнопку только на мобильных */
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    background: none;
    border: none;
    color: #666;
    font-family: "Gotham", "Montserrat", sans-serif;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.3s ease;
  }
  .projects-tabs .read-more-btn:hover {
    color: #282828;
  }
  .projects-tabs .read-more-btn::after {
    content: "↓";
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  .projects-tabs .read-more-btn.expanded::after {
    transform: rotate(180deg);
  }
}
@media (max-width: 480px) {
  .projects-tabs {
    padding: 30px 0;
  }
  .projects-tabs .tabs {
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 5px;
  }
  .projects-tabs .tab-button {
    min-width: 130px;
    padding: 10px 8px;
  }
  .projects-tabs .tab-button .tab-title {
    font-size: 12px;
    line-height: 1.2;
  }
  .projects-tabs .tab-button .progress-text {
    font-size: 9px;
  }
  .projects-tabs .projects-swiper {
    padding: 0 5px;
    max-width: 100%;
  }
  .projects-tabs .projects-swiper .swiper-slide {
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .projects-tabs .projects-swiper .project-header {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
  }
  .projects-tabs .projects-swiper .project-info {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    flex: 1 1 auto;
  }
  .projects-tabs .projects-swiper .project-subtitle {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
  }
  .projects-tabs .projects-swiper .swiper-button-prev,
  .projects-tabs .projects-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
  }
  .projects-tabs .projects-swiper .swiper-button-prev:after,
  .projects-tabs .projects-swiper .swiper-button-next:after {
    font-size: 12px;
  }
  .projects-tabs .projects-swiper .swiper-button-prev {
    left: -10px;
  }
  .projects-tabs .projects-swiper .swiper-button-next {
    right: -10px;
  }
  .projects-tabs .projects-swiper .swiper-pagination {
    bottom: -25px;
  }
  .projects-tabs .projects-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .projects-tabs .project-slide {
    padding: 20px 10px;
  }
  .projects-tabs .project-header {
    margin-bottom: 20px;
  }
  .projects-tabs .project-avatar {
    display: none; /* Удаляем аватар на мобильных устройствах */
  }
  .projects-tabs .project-subtitle-3 {
    display: block; /* Показываем третий subtitle на мобильных */
    font-family: "Gotham", "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.3;
  }
  .projects-tabs .project-title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  .projects-tabs .project-divider {
    width: 50px;
    margin-bottom: 15px;
  }
  .projects-tabs .project-text {
    font-size: 13px;
    line-height: 1.4;
  }
}
@media (max-width: 375px) {
  .projects-tabs .tabs {
    gap: 10px;
    margin-bottom: 30px;
  }
  .projects-tabs .tab-button {
    min-width: 120px;
    padding: 10px 8px;
  }
  .projects-tabs .tab-button .tab-title {
    font-size: 12px;
    word-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
    text-align: center;
    line-height: 1.2;
  }
  .projects-tabs .tab-button .progress-text {
    font-size: 9px;
  }
  .projects-tabs .project-slide {
    padding: 20px 10px;
  }
  .projects-tabs .project-title {
    font-size: 18px;
    line-height: 1.2;
  }
  .projects-tabs .project-subtitle {
    font-size: 12px;
    white-space: normal; /* Разрешаем перенос текста */
    line-height: 1.3;
  }
  .projects-tabs .project-text {
    font-size: 13px;
  }
}
/* Общие стили */
@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham/gotham_book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham/gotham_medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham/gotham_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary-color: #FEA75F;
  --text-color: #282828;
  --white: #fff0e3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* use local Gotham, fallback to Montserrat then generic sans */
  font-family: "Gotham", "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 5%;
    max-width: none;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 375px) {
  .container {
    padding: 0 15px;
  }
}/*# sourceMappingURL=styles.css.map */