/* ===== Сброс и базовые стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== Кастомный скроллбар ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #444 #1a1a1a;
}

img, video

html {
  scroll-behavior: smooth;
  overflow-x: hidden;

}
body {
  font-family: 'Playfair Display', serif;
  width: 100%;
  background-color: #f5f5f5;
  color: #111;
  line-height: 1.6;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.hero__content {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  border-radius: 8px;
  width: 100%;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.contact-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}





/* ===== Шапка при скролее ===== */

/* Шапка */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7); /* прозрачный чёрный */
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.hide {
  transform: translateY(-100%);
}


.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.logo img {
  height: 60px;
  width: auto;
}


/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav__list a {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s ease;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}
.nav__list a:hover::after {
  width: 100%;
}

.nav__list a:hover {
  color: #ccc;
}

/* Кнопка в шапке */
.header-cta-btn {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 0;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  margin-left: 20px;
}

.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
/* БОКОВОЕ МЕНЮ */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80vw; /* ширина меню */
  max-width: 360px;

  height: auto;                /* изменено */
  max-height: 85vh;            /* ограничим по высоте */
  overflow-y: auto;            /* если вдруг контента больше */

  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  z-index: 9999;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
  font-family: 'Playfair Display', serif;

  border-radius: 0 0 20px 0; /* необязательно: мягкий нижний угол */
}


.side-menu.active {
  right: 0;
}

.side-menu__nav li {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.side-menu__nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 60%;
  background: rgba(255, 255, 255, 0.15);
}

.side-menu__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  margin-left: auto;
  margin-bottom: 32px;
  cursor: pointer;
  transition: 0.2s ease;
}

.side-menu__close:hover {
  color: #aaa;
}




.side-menu__nav {
  list-style: none;
  transition: right 0.4s ease, backdrop-filter 0.5s ease;
  margin-bottom: 5px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-menu__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: 0.2s ease;
}

.side-menu__nav a:hover {
  color: #ccc;
}

.side-menu__contacts {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.side-menu__contacts a {
  color: #bbb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-menu__contacts a:hover {
  color: #fff;
}


.side-menu__nav li::after {
  transition: width 0.3s ease;
}

.side-menu__nav li:hover::after {
  width: 100%;
}





/* ===== Первый экран ===== */
.hero {
  background: url('../img/hero-main.webp') center center/cover no-repeat;
  min-height: 100vh;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}


.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.hero__title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
}

.hero__text {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* затемнение */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}



.hero__text {
  font-size: 18px;
  font-weight: 70;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
}

.hero__btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 44px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 0;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero__background{
  position: absolute;
  inset: 0;
  z-index: -1;           /* фон под контентом */
  display:block;
}
.hero__background img{
  width:100%;
  height:100%;
  object-fit: cover;     /* как cover у background */
  object-position: center;
}

/* затемнение как раньше */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:0;
}

/* контент поверх */
.hero .container{position:relative; z-index:1}

/* ===== Секция: Наши услуги ===== */
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.services {
  padding: 60px 20px;
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #111;
  color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.service-card p {
  margin-top: 15px;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}


h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 16px;
  margin-bottom: 12px;
}

a, button {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
/* ===== О КОМПАНИИ ===== */
.about-section {
  background: #f8f8f8;
  color: #111;
  padding: 90px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  gap: 60px;
}

/* --- Текстовый блок --- */
.about-text {
  flex: 1 1 420px;
  min-width: 280px;
  position: relative;
  padding-left: 28px;
  border-left: 3px solid rgba(0, 0, 0, 0.12);
}

.about-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #111;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.3px;
}

/* --- Статистика --- */
.about-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.about-stat span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.about-stat p {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* --- Изображение (clip-path + подложка) --- */
.about-image {
  flex: 1 1 400px;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: -1;
  opacity: 0.3;
  filter: blur(1px);
  clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 95%);
  transition: transform 0.3s ease;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.seo-hidden {
  display: none;
}

/* --- Сворачивание текста --- */
.about-text.is-collapsed .about-text__content {
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

.about-text.is-collapsed .about-text__content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(248,248,248,0) 0%, rgba(248,248,248,.95) 70%, #f8f8f8 100%);
}

.about-text__content {
  transition: max-height .4s ease;
}

/* --- Кнопка «Читать дальше» --- */
.btn-more {
  margin-top: 20px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-more:hover {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}


/* ===== ПОРТФОЛИО ===== */

.portfolio-slider-section {
  background: #fff;
  padding: 90px 0 80px;
  position: relative;
}

.portfolio-label {
  display: block;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 12px;
}

.portfolio-slider-section .section-title {
  margin-bottom: 50px;
}

.project-swiper {
  overflow: hidden;
}

.portfolio-project {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.portfolio-project.reverse {
  flex-direction: row-reverse;
}

/* --- Описание (наплывает на мозаику) --- */
.portfolio-description {
  flex: 1 1 35%;
  position: relative;
  z-index: 2;
}

.portfolio-description::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -60px;
  width: 135%;
  height: 125%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.12));
  clip-path: polygon(6% 0%, 100% 5%, 95% 100%, 0% 95%);
  z-index: -1;
  border-radius: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.portfolio-description h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.portfolio-description p {
  font-size: 16px;
  color: #555;
}

/* --- Пагинация --- */
.portfolio-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.portfolio-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: #ccc;
  opacity: 1;
  transition: all 0.35s ease;
}

.portfolio-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: #111;
}

/* --- Подсказка «листайте» --- */
.portfolio-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.portfolio-hint__text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #bbb;
}

.portfolio-hint__line {
  width: 40px;
  height: 1px;
  background: #ddd;
}

.fslightbox-toolbar-button {
  filter: none !important;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 6px;
  transition: background 0.3s ease;
}

.fslightbox-toolbar-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* ===== МОЗАИКА ===== */
.portfolio-mosaic-wrapper {
  position: relative;
  z-index: 1;
  flex: 1 1 60%;
  padding-left: 20px;
  padding-right: 10px;
}

.portfolio-mosaic-wrapper::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120%;
  height: 130%;
  background: #ffffff;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
  z-index: -1;
  border-radius: 16px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.06);
  opacity: 1;
  transform: rotate(-1.3deg);
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
  flex: 1 1 60%;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.mosaic-item:hover {
  transform: scale(1.02);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0 100%);
}

/* Разные размеры */
.mosaic-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item.medium {
  grid-column: span 2;
  grid-row: span 1;
}

.mosaic-item.tall {
  grid-column: span 1;
  grid-row: span 2;
}


/* ====== ПРЕИМУЩЕСТВА ===== */
.advantages {
  background: #2b2b2b;
  padding: 70px 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 95%);
  overflow: hidden;
}

.advantages .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  padding: 0 20px;
}

/* --- Бегущая лента (marquee) --- */
.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  /* мягкие затухания по краям */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.marquee.is-dragging {
  cursor: grabbing;
}

.marquee.is-dragging .marquee__card {
  pointer-events: none;
}

.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
  will-change: transform;
}

/* Пауза при наведении */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Карточка в ленте --- */
.marquee__card {
  flex: 0 0 300px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.marquee__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.marquee__number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.marquee__card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.35;
  color: #fff;
}

.marquee__card p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
  margin-bottom: 0;
}





/*====== УСЛУГИ =====*/

.services-section {
  padding: 80px 0;
  overflow: hidden;
}

.services-section .section-title {
  text-align: center;
  margin-bottom: 0;
}

.services-new-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 50px;
}

.service-new {
  width: 62%;
  position: relative;
}

.service-new--left {
  align-self: flex-start;
  margin-left: -20px;
}

.service-new--right {
  align-self: flex-end;
  margin-right: -20px;
}

.service-new__panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 48px;
  background: #fff;
  color: #1a1a1a;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-new__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

.service-new--right .service-new__panel::before {
  background: radial-gradient(ellipse at 80% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}

/* Косые углы — левые карточки срезаны справа */
.service-new--left .service-new__panel {
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
  padding-left: 60px;
}

/* Косые углы — правые карточки срезаны слева */
.service-new--right .service-new__panel {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%);
  padding-right: 60px;
  flex-direction: row-reverse;
  text-align: right;
}

/* Акцентная полоска на прямой стороне */
.service-new--left .service-new__panel::after {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15), transparent);
}

.service-new--right .service-new__panel::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15), transparent);
}

/* Hover */
.service-new--left:hover .service-new__panel {
  transform: translateX(20px);
  box-shadow: 20px 15px 40px rgba(0, 0, 0, 0.12);
}

.service-new--right:hover .service-new__panel {
  transform: translateX(-20px);
  box-shadow: -20px 15px 40px rgba(0, 0, 0, 0.12);
}

/* Номер */
.service-new__num {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.service-new:hover .service-new__num {
  color: rgba(0, 0, 0, 0.12);
}

/* Текст */
.service-new__body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
  line-height: 1.3;
}

.service-new__body p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA-кнопка в секциях ===== */
.section-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

.section-cta {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  transition: all 0.35s ease;
  background: #1a1a1a;
  color: #fff;
}

.section-cta:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Светлый вариант для тёмных секций */
.section-cta--light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.section-cta--light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.fullwidth-black-info {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 100px 20px;
  width: 100%;
  margin-top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%);
  position: relative;
  overflow: hidden;
}

.fullwidth-black-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.black-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.black-info-inner h3 {
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.approach-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.approach-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.approach-card:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.approach-card-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.approach-card:hover .approach-card-number {
  color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.approach-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.approach-card:hover p {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

/*====== ВИЗУАЛ ПОДХОДА =====*/

.project-scope-light {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%);
  background: #fff;
  padding: 100px 20px 200px;
}
.scope-text ul {
  margin-bottom: 40px; /* добавим отступ под списком */
}
.scope-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
}

.scope-text {
  flex: 1 1 500px;
}

.scope-text h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: #111;
}

.scope-text ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scope-text li {
  font-size: 16px;
  line-height: 1.6;
  border-left: 2px solid #999;
  padding-left: 14px;
  color: #333;
}

.scope-text li strong {
  color: #111;
}

.scope-image {
  flex: 1 1 400px;
  min-width: 280px;
  position: relative;
  z-index: 1;
}

.scope-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: -1;
  opacity: 0.3;
  filter: blur(1px);

  clip-path: polygon(
    0 0,
    100% 5%,
    95% 100%,
    5% 95%
  );

  transition: transform 0.3s ease;
}

.scope-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: rotate(-1.3deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}





/* ===== ЭТАПЫ ===== */
.workflow-horizontal {
  background: #fff;
  padding: 100px 0;
  font-family: 'Playfair Display', serif;
  color: #111;
}

.timeline-horizontal {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}

.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  z-index: 0;
}

.stage {
  position: relative;
  width: 22%;
  z-index: 1;
}

.stage.up {
  align-self: flex-start;
  margin-bottom: 60px;
}

.stage.down {
  align-self: flex-end;
  margin-top: 60px;
}

.stage .content {
  background: #f5f5f5;
  margin: 0 auto 24px auto;
  padding: 20px 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
  border-left: 4px solid #111;
}

.stage.down .content {
  border-left: none;
  border-right: 4px solid #111;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.stage h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.stage p {
  font-size: 14px;
  color: #444;
}





/* ===== ГОТОВЫЕ ПРОЕКТЫ ===== */

.video-grid {
  background: #fff;
  padding: 100px 0;
  color: #111;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.video-grid .section-title {
  color: #111;
  margin-bottom: 20px;
  font-size: 36px;
  text-align: center;
}

.video-grid .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.video-grid-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

.video-grid__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  transition: all 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-8px);
}

.video-item video {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  display: block;
  clip-path: polygon(1% 0%, 100% 1%, 99% 100%, 0% 99%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.video-item video:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: scale(1.02);
}

.video-caption {
  margin-top: 24px;
  font-size: 17px;
  color: #222;
  text-align: center;
  max-width: 90%;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}


/* ===== форма обратной связи ===== */
.contact-form-section {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 100px 20px;
  z-index: 1;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 98%, 0% 100%);
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact-form-section .container {
  position: relative;
  z-index: 1;
}

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  text-align: left;
}

.form-agreement input[type="checkbox"] {
  margin-top: 3px;
  accent-color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.form-agreement a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.form-agreement a:hover {
  color: #fff;
}

/* reCAPTCHA для тёмного фона */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}




.contact-form-section .section-title {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
}

.form-subtext {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.contact-form input,
.contact-form textarea {
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  resize: vertical;
  transition: all 0.3s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form button {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 0.8px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.contact-form button:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.contact-form input.error,
.contact-form textarea.error {
  border: 1px solid red;
  outline: none;
}


/* ===== Стили для уведомления ===== */
.form-alert {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745; /* по умолчанию — успех */
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.form-alert.error {
  background-color: #dc3545;
}
/* кнопка вверх*/
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: rgba(0, 0, 0, 0.85);
}

/*====== ЛЕНТА НАПРАВЛЕНИЙ =====*/
.commercial-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.commercial-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
}

.commercial-tag__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #444;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .commercial-tags {
    gap: 12px;
    margin-bottom: 28px;
  }

  .commercial-tag {
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}




/* ===== КОММЕРЧЕСКОЕ ПОРТФОЛИО ===== */

.commercial-portfolio-section {
  background: #1f1f1f;
  padding: 90px 0 80px;
  position: relative;
  color: #fff;
}

.commercial-portfolio-label {
  display: block;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #666;
  margin-bottom: 12px;
}

.commercial-portfolio-section .section-title {
  color: #fff;
  margin-bottom: 50px;
}

.commercial-swiper {
  overflow: hidden;
}

/* --- Проект: текст слева, мозаика справа --- */
.commercial-project {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

/* --- Описание (слева) --- */
.commercial-description {
  flex: 1 1 35%;
  position: relative;
  z-index: 2;
}

.commercial-description::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -60px;
  width: 135%;
  height: 125%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
  clip-path: polygon(6% 0%, 100% 5%, 95% 100%, 0% 95%);
  z-index: -1;
  border-radius: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.commercial-description h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.commercial-description p {
  font-size: 16px;
  color: #aaa;
  line-height: 1.7;
}

/* --- Мозаика (справа) --- */
.commercial-mosaic-wrapper {
  position: relative;
  z-index: 1;
  flex: 1 1 60%;
  padding-left: 20px;
  padding-right: 10px;
}

.commercial-mosaic-wrapper::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120%;
  height: 130%;
  background: #2a2a2a;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0% 100%);
  z-index: -1;
  border-radius: 16px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: rotate(-1.3deg);
}

.commercial-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}

.commercial-mosaic .mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 10%, 100% 0%, 100% 90%, 0 100%);
}

/* --- Пагинация (светлая на тёмном) --- */
.commercial-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.commercial-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: #555;
  opacity: 1;
  transition: all 0.35s ease;
}

.commercial-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: #fff;
}

/* --- Подсказка «листайте» --- */
.commercial-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.commercial-hint__text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #555;
}

.commercial-hint__line {
  width: 40px;
  height: 1px;
  background: #444;
}

/* --- Адаптив коммерческого портфолио --- */
@media (max-width: 1024px) {
  .commercial-project {
    flex-direction: column;
    gap: 28px;
  }

  .commercial-mosaic-wrapper::before {
    left: 0;
    width: 100%;
  }

  .commercial-description {
    flex: 1 1 100%;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .commercial-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
}

@media (max-width: 600px) {
  .commercial-portfolio-section {
    padding: 50px 0 40px;
  }

  .commercial-portfolio-section .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .commercial-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 8px;
  }

  .commercial-mosaic .mosaic-item.large,
  .commercial-mosaic .mosaic-item.medium,
  .commercial-mosaic .mosaic-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .commercial-mosaic .mosaic-item:nth-child(n+5) {
    display: none;
  }

  .commercial-mosaic-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .commercial-mosaic-wrapper::before {
    top: -20px;
    left: -10px;
    width: 110%;
    height: 120%;
  }

  .commercial-project {
    gap: 20px;
  }

  .commercial-description {
    padding: 0 16px;
  }

  .commercial-description::before {
    top: -15px;
    left: -20px;
    width: 120%;
    height: 120%;
  }

  .commercial-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .commercial-description p {
    font-size: 14px;
    line-height: 1.5;
  }

  .commercial-pagination {
    margin-top: 24px;
  }

  .commercial-hint {
    margin-top: 12px;
  }
}

/* ===== Контакты ===== */
/* ===== ГЕОГРАФИЯ И КОНТАКТЫ ===== */
.contact-section-styled {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Карточка карты - левая половина */
.contact-map-container {
  background: #fff;
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.contact-map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
  z-index: -1;
}

.map-title {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 700;
  color: #111;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  text-align: center;
}

.map-embed {
  flex: 1;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  clip-path: polygon(1% 0%, 100% 0%, 99% 100%, 0% 100%);
  position: relative;
}

.map-embed > *,
.map-embed iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Карточка контактов - правая половина */
.contact-info-card {
  background: #fff;
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  clip-path: polygon(5% 0, 100% 0%, 100% 100%, 0% 100%);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  z-index: -1;
}

.contact-info-card h2 {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 700;
  color: #111;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  text-align: center;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  color: #333;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.contact-info-card li:hover {
  background: rgba(0, 0, 0, 0.04);
  border-left-color: #111;
  transform: translateX(4px);
}

.contact-info-card img,
.contact-info-card .contact-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
}

.contact-info-card a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #000;
  text-decoration: underline;
}

.contact-info-card span {
  color: #333;
  font-weight: 400;
}

.contact-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 28px;
  text-align: center;
}

/* График работы */
.contact-schedule {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-schedule__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.contact-schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #333;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-schedule__row--off span:last-child {
  color: #999;
  font-style: italic;
}

/* CTA в карточке контактов */
.contact-info-card .contact-card-cta {
  display: block;
  margin-top: 32px;
  padding: 16px 32px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  background: #1a1a1a;
  color: #fff;
  clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
  transition: all 0.35s ease;
}

.contact-info-card .contact-card-cta:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}


/* Мобильная адаптация для контактов */
@media (max-width: 900px) {
  .contact-section-styled {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-map-container {
    padding: 60px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0% 100%);
    order: 2;
  }

  .contact-info-card {
    padding: 60px 20px;
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0% 100%);
    order: 1;
  }

  .map-title,
  .contact-info-card h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .map-embed {
    min-height: 300px;
  }

  .contact-info-card li {
    font-size: 15px;
    padding: 14px 16px;
    gap: 12px;
  }

  .contact-info-card img,
  .contact-info-card .contact-icon {
    width: 18px;
    height: 18px;
  }

  .contact-list {
    gap: 16px;
  }
}



/* ===== Стили для плавающих кнопок ===== */
.floating-buttons {
  position: fixed;
  bottom: 80px;
  right: 21.2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-button {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.float-button img {
  width: 22px;
  height: 22px;
}
.float-button:hover {
  transform: scale(1.1);
}

/* Адаптация под мобильные экраны */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 100px;
    right: 15px;
  }
}


/* ===== ФУТЕР ===== */
/* ===== ФУТЕР ===== */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  color: #fff;
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0% 100%);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 100px 0 60px;
}

.footer-top .footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Колонки */
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* Бренд */
.footer-logo {
  width: 400px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

/* Навигация и контакты */
.footer-nav ul,
.footer-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a,
.footer-contacts a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: #fff;
  padding-left: 6px;
}

/* Адрес */
.footer-address p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 20px;
}

.footer-doc-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-doc-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Нижняя полоска */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-policy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-policy:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Адаптив футера */
@media (max-width: 900px) {
  .site-footer {
    clip-path: polygon(0 2vw, 100% 0, 100% 100%, 0% 100%);
  }

  .footer-inner {
    padding: 0 24px;
  }

  .footer-top {
    padding: 80px 0 40px;
  }

  .footer-top .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-nav a:hover,
  .footer-contacts a:hover {
    padding-left: 0;
  }

  .footer-bottom .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}



/* Адаптив О КОМПАНИИ */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 16px 50px;
  }
  .about-container {
    flex-direction: column;
    gap: 36px;
  }
  .about-text {
    padding-left: 20px;
    border-left-width: 2px;
  }
  .about-text h2 {
    font-size: 28px;
  }
  .about-text p {
    font-size: 15px;
  }
  .about-stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }
  .about-stat span {
    font-size: 24px;
  }
  .about-image::before {
    display: none;
  }
}

/* ===== АДАПТИВ: МОБИЛЬНЫЕ ===== */
@media (max-width: 768px) {
  /* Общие отступы и размеры */
  body {
    font-size: 15px;
  }

  .hero {
    padding-top: 180px;
    min-height: 100vh;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.2;
    padding: 0 10px;
  }

  .hero__text {
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .hero__btn {
    font-size: 14px;
    padding: 12px 24px;
  }

  .header .container {
    padding: 12px 20px;
  }

  .logo img {
    height: 45px;
  }

  .header-cta-btn {
    display: none;
  }

  .nav {
    flex: unset;
    justify-content: flex-end;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .services {
    padding: 40px 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    font-size: 16px;
    padding: 20px 15px;
  }
  .nav__list {
    position: absolute;
    top: 70px;
    right: 16px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.85);
    padding: 16px;
    border-radius: 12px;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
  }
  
  .nav__list.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  .nav__list a {
    color: #fff;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
  }

  .burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Бургер превращается в крестик */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 900px) {
  .header .container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .nav {
    margin-left: auto;
    flex-wrap: wrap;
  }

  .nav__list {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
  }

  .nav__list li a {
    font-size: 13px;
    padding: 6px 8px;
  }

  .logo img {
    max-width: 120px;
    height: auto;
  }
}
 
/* ===== АДАПТИВ ПОРТФОЛИО ===== */
@media (max-width: 1024px) {
  .portfolio-project {
    flex-direction: column;
    gap: 28px;
  }

  .portfolio-mosaic-wrapper::before {
    left: 0;
    width: 100%;
  }

  .portfolio-project.reverse {
    flex-direction: column;
  }

  .portfolio-description {
    flex: 1 1 100%;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
}

@media (max-width: 600px) {
  .portfolio-slider-section {
    padding: 50px 0 40px;
  }

  .portfolio-slider-section .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 8px;
  }

  /* Все элементы одного размера на мобилке */
  .mosaic-item.large,
  .mosaic-item.medium,
  .mosaic-item.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Показываем только первые 4 фото */
  .portfolio-mosaic .mosaic-item:nth-child(n+5) {
    display: none;
  }

  .portfolio-mosaic-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .portfolio-mosaic-wrapper::before {
    top: -20px;
    left: -10px;
    width: 110%;
    height: 120%;
  }

  .portfolio-project {
    gap: 20px;
  }

  .portfolio-description {
    padding: 0 16px;
  }

  .portfolio-description::before {
    top: -15px;
    left: -20px;
    width: 120%;
    height: 120%;
  }

  .portfolio-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .portfolio-description p {
    font-size: 14px;
    line-height: 1.5;
  }

  .portfolio-pagination {
    margin-top: 24px;
  }

  .portfolio-hint {
    margin-top: 12px;
  }
}
/* Дополнительно: немного меньше на очень маленьких экранах */
@media (max-width: 480px) {
  #scrollTopBtn {
    width: 44px;
    height: 40px;
    font-size: 20px;
    bottom: 50px;
    right: 15px;
  }
}
@media (max-width: 768px) {
  .video-grid {
    padding: 60px 0;
  }

  .video-grid .container {
    padding: 0 12px;
  }

  .video-grid .section-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .video-grid-intro {
    font-size: 16px;
    margin-bottom: 32px;
    padding: 0 8px;
  }

  .video-grid__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .video-wrapper {
    padding: 0;
    width: 100%;
  }

  .video-item video {
    width: 100%;
    border-radius: 8px;
    clip-path: polygon(0.5% 0%, 100% 0.5%, 99.5% 100%, 0% 99.5%);
  }

  .video-caption {
    font-size: 15px;
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .timeline-horizontal {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 40px 0;
  }

  .timeline-horizontal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #111;
    z-index: 0;
  }

  .stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .stage::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    z-index: 2;
  }

  .stage .content {
    position: relative;
    width: 90%;
    max-width: 360px;
    margin: 0 auto 40px auto;
    background: #f5f5f5;
    padding: 20px 24px;
    border-left: 4px solid #111;
    border-right: none;
    clip-path: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .stage.down .content {
    border-left: 4px solid #111;
    border-right: none;
  }

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

@media (max-width: 768px) {
  .services-section {
    padding: 50px 0;
  }

  .services-new-list {
    gap: 16px;
    margin-top: 32px;
  }

  .service-new {
    width: 95%;
  }

  .service-new--left {
    margin-left: -10px;
  }

  .service-new--right {
    margin-right: -10px;
  }

  .service-new__panel {
    padding: 28px 24px;
    gap: 16px;
  }

  .service-new--left .service-new__panel {
    padding-left: 24px;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
  }

  .service-new--right .service-new__panel {
    padding-right: 24px;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .service-new__num {
    font-size: 40px;
  }

  .service-new__body h3 {
    font-size: 18px;
  }

  .service-new__body p {
    font-size: 14px;
  }

  .service-new--left:hover .service-new__panel {
    transform: translateX(10px);
  }

  .service-new--right:hover .service-new__panel {
    transform: translateX(-10px);
  }
}

/* Адаптив ленты преимуществ */
@media (max-width: 768px) {
  .advantages {
    padding: 50px 0;
    clip-path: polygon(0 0, 100% 3%, 100% 100%, 0% 97%);
  }
  .marquee__card {
    flex: 0 0 260px;
    padding: 22px 18px;
  }
  .marquee__card h3 {
    font-size: 16px;
  }
  .marquee__track {
    animation-duration: 45s;
  }

  .fullwidth-black-info {
    padding: 60px 20px;
  }

  .black-info-inner h3 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .approach-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .approach-card {
    padding: 32px 24px;
  }

  .approach-card::before {
    top: -12px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
  }

  .approach-card-number {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .approach-card p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* Старые дублирующиеся стили удалены - новые стили выше */

/* Адаптация шапки для средних экранов */
@media (max-width: 1300px) {
  .nav__list {
    gap: 20px;
  }

  .nav__list a {
    font-size: 13px;
  }

  .header-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .header .container {
    padding: 20px 30px;
  }

  .nav__list {
    gap: 16px;
  }

  .nav__list a {
    font-size: 12px;
  }

  .header-cta-btn {
    padding: 10px 18px;
    font-size: 12px;
  }
}
