html {
  scroll-behavior: smooth;
}
/* === ПОДКЛЮЧЕНИЕ MONTSERRAT ИЗ ЛОКАЛЬНЫХ ФАЙЛОВ === */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
/* Сброс стандартных отступов */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
}

/* При скролле — лёгкое затемнение */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
}
/* === ЦВЕТ МЕНЮ НА СВЕТЛОМ ФОНЕ === */
.header.header-light .nav a,
.header.header-light .dropdown-toggle {
  color: #333 !important; /* тёмный текст */
}

.header.header-light .nav a:hover,
.header.header-light .dropdown-toggle:hover {
  color: #d4b996 !important; /* золото при наведении */
}

.header.header-light .nav-icon-link svg {
  fill: #333 !important;
}

.header.header-light .icon-btn img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px;
}

/* Навигация */
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a.active,
.dropdown-toggle.active {
  color: #f0d9b5;
  font-weight: 600;
}
/* Заголовок h1 в hero-секциях */
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: #d4b996;
  margin-bottom: 1rem;
  text-align: left;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 20px;
    text-align: left;
  }

  .hero-utp p,
  .hero-utp .features {
    text-align: left;
  }
}

/* Пункты меню — всегда золотые */
.nav a,
.dropdown-toggle {
  color: #d4b996;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav a:hover,
.dropdown-toggle:hover {
  color: #f0d9b5;
}

/* === ИКОНКА ДОМА === */
.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #d4b996;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-icon-link:hover {
  color: #f0d9b5;
}

.nav-icon-link svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  fill: currentColor;
  margin-top: 6px;
}

/* === ВЫПАДАЮЩЕЕ МЕНЮ === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #383838;
  text-decoration: none;
  font-weight: 300;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: #f8f5f2;
  color: #7d5c3e;
}

/* Кнопки справа */
.header-actions {
  display: flex;
  gap: 1rem;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7d5c3e;
  transition: background 0.3s;
}

.icon-btn:hover {
  background: #5a402b;
}

.icon-btn img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

/* Адаптивность выпадашки */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    padding: 8px 0;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* === БУРГЕР И МОБИЛЬНОЕ МЕНЮ === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #d4b996;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* === МОБИЛЬНОЕ МЕНЮ — ПЛАВНАЯ АНИМАЦИЯ === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  padding: 0;
  overflow-y: auto;
  z-index: 1001;
  /* Убираем display — управляем через opacity и visibility */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.4s linear;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Контент меню */
.mobile-menu > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open > * {
  opacity: 1;
  transform: translateY(0);
}

/* Задержка для каскадного появления */
.mobile-menu.open .nav-mobile a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .nav-mobile a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .nav-mobile a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .nav-mobile a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .nav-mobile a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open .nav-mobile a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.open .nav-mobile a:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.open .nav-mobile a:nth-child(8) { transition-delay: 0.45s; }
.mobile-menu.open .nav-mobile a:nth-child(9) { transition-delay: 0.5s; }
.mobile-menu.open .nav-mobile a:nth-child(10) { transition-delay: 0.55s; }

.mobile-menu.open .mobile-header-actions {
  transition-delay: 0.6s;
}

/* Крестик в правом верхнем углу (если используется) */
.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open .close-btn {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu .close-btn:hover {
  opacity: 0.8 !important;
}

/* Мобильное меню — список ссылок */
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 60px auto 12px;
  text-align: center;
  width: 90%;
  max-width: 500px;
}

.nav-mobile a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  padding: 6px 6px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #d4b996 !important;
}

/* Кнопки в мобильном меню */
.mobile-header-actions {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-header-actions .icon-btn {
  width: 40px;
  height: 40px;
  background: #7d5c3e;
  border-radius: 50%;
}

.mobile-header-actions .icon-btn img {
  filter: invert(1);
}

/* === АДАПТИВНОСТЬ — СКРЫТИЕ ЭЛЕМЕНТОВ === */
@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .burger {
    display: none !important;
  }
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: white;
  text-align: center;
  padding-top: 6rem;
}

.video-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-parallax video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

/* === HERO CONTENT === */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  gap: 2rem;
}

.hero-main-block {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  background: rgba(31, 20, 56, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.hero-utp {
  flex: 0 0 65%;
  color: white;
  text-align: left;
  padding-left: 1rem;
}

.hero-utp h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  color: #d4b996;
  margin-bottom: 0.5rem;
  text-align: left;
}

.hero-utp .price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  color: #f0d9b5;
  margin: 0.5rem 0 1rem;
  text-align: left;
}

.hero-utp p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: white;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-utp .features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: white;
  text-align: left;
}

.hero-utp .features li {
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 1.2rem;
  text-align: left;
}

.hero-utp .features li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d4b996;
  text-align: left;
}

.hero-utp .min-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  color: #d4b996;
  opacity: 0.8;
  margin-top: 1rem;
  text-align: left;
}

.hero-form {
  flex: 0 0 30%;
}

.contact-form {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: white;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #4a3a6a;
  border-radius: 30px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus {
  outline: none;
  border-color: #d4b996;
}

/* === ОБЩИЙ СТИЛЬ CTA-КНОПОК — ЦЕНТРИРОВАННЫЕ И С МОНТАНСЕР === */
.cta-button {
  display: block;
  margin: 0 auto;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: linear-gradient(90deg, #4e4ce0, #d4a36b);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.hero-quote {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  line-height: 1.6;
  color: white;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 5;
}

.quote-text {
  flex: 0 0 65%;
  text-align: left;
  padding-left: 1rem;
}

.quote-text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: white;
  margin-bottom: 1rem;
}

.quote-text blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #d4b996;
  font-style: italic;
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #d4b996;
}

.quote-text .contact-info {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.quote-text .signature {
  text-align: right;
  margin-top: 0.7rem;
}

.quote-text .signature img {
  max-width: 100px;
  height: auto;
}

.hero-image {
  flex: 0 0 35%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: none;
}

/* Адаптивность для hero */
@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 0 1rem 1rem;
    gap: 1.5rem;
  }

  .hero-main-block {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-utp,
  .hero-form {
    flex: 0 0 100%;
  }

  .hero-quote {
    flex-direction: column;
    gap: 1rem;
  }

  .quote-text,
  .hero-image {
    flex: 0 0 100%;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    max-width: 200px;
  }
}

/* === CONTENT === */
.content {
  padding: 5rem 2rem;
  background: #f9f9f9;
}

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

/* === RESPONSIVE (общий) === */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .header-actions {
    order: 3;
    justify-content: center;
    width: 100%;
  }
}

/* === СЕКЦИЯ ПРОЦЕССА — ГРАДИЕНТНЫЙ ФОН + АДАПТИВНОСТЬ === */
.process-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 4rem 2rem;
}

.container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 2rem;
}

.section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.process-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  color: #d4b996;
}

.card-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0.5rem;
  color: white;
  line-height: 1.4;
}

.card-text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #d4b996;
  line-height: 1.4;
  margin: 0;
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
  .process-section {
    padding: 1.5rem 0.5rem;
  }

  .container-inner {
    padding: 1rem;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-card {
    padding: 1.2rem;
  }

  .card-content {
    gap: 0.4rem;
  }

  .card-icon {
    width: 28px;
    height: 28px;
  }

  .card-text h3 {
    font-size: 15px;
  }

  .card-text p {
    font-size: 13px;
  }
}

/* Запрет скролла при открытом мобильном меню */
body.no-scroll {
  overflow: hidden;
}

/* === СЕКЦИЯ "ДЛЯ КОГО МЫ?" — С ГРАДИЕНТНЫМ ФОНОМ И ГРАДИЕНТНОЙ РАМКОЙ === */
.target-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.target-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px; /* Толщина градиентной рамки */
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.target-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.target-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: #333;
  letter-spacing: 0.5px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.2rem;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  margin-bottom: 0.5rem;
}

.card-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  line-height: 1.4;
}

.section-footer {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  opacity: 0.9;
  margin: 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#openModalBtn {
  display: block;
  margin: 0 auto;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  background: linear-gradient(90deg, #4e4ce0, #d4a36b);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#openModalBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* === МОДАЛЬНОЕ ОКНО — ПЛАВНОЕ ПО ЦЕНТРУ === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex; /* ← КЛЮЧЕВОЕ: делаем флекс-контейнером */
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.4s linear;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: #1a132a;
  color: white;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  /* Анимация: выезжает снизу и увеличивается */
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              opacity 0.4s ease;
}

.modal-overlay.open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.modal-overlay.open .close-modal {
  opacity: 1;
  transform: translateY(0);
}

.close-modal:hover {
  color: #fff;
}

.modal-header {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  color: #d4b996;
}

.form-group {
  margin-bottom: 18px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #4a3a6a;
  border-radius: 30px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: #d4b996;
}
/* === СЕКЦИЯ "НАШИ КРАЙНИЕ РАБОТЫ" === */
.works-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.works-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.works-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 2rem;
}

.works-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.work-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* === СЕКЦИЯ "ОТЗЫВЫ" — ПАРАЛЛАКС ОТНОСИТЕЛЬНО ЦЕНТРА === */
/* === СЕКЦИЯ "ОТЗЫВЫ" — ИСПРАВЛЕННЫЙ ПАРАЛЛАКС === */
.reviews-section {
  position: relative;
  padding: 1rem 1rem 2rem;
  color: white;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ← не 'top', а 'flex-start' */
  overflow: visible; /* ← КЛЮЧЕВОЕ: не 'hidden'! */
}

.parallax-bg {
  position: absolute;
  top: -10%;    /* ← выносим вверх */
  left: 0;
  width: 100%;
  height: 120%; /* ← делаем выше секции */
  z-index: -1;
  overflow: hidden;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0);
  will-change: transform;
}

/* При скролле — смещаем фон */
.reviews-section.scrolled .parallax-bg img {
  transform: translateY(-8%);
}
.reviews-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 11;
  text-align: center;
}

.reviews-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  justify-items: center;
}

.review-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;
  max-width: 350px;
}

.review-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
  color: #333;
}

.review-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: #666;
}

.reviews-footer {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: white;
  opacity: 0.9;
  margin: 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.girl-overlay {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 280px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  margin-bottom: -10px;
}

.girl-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

  
@media (max-width: 768px) {
  .reviews-section {
    min-height: auto;
    padding: 1rem 0.5rem 1rem;
  }

  .girl-overlay {
    width: 200px;
    bottom: 10px;
    right: 10px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
/* === СЕКЦИЯ "ПОЧЕМУ ВЫБИРАЮТ НАС" === */
.why-us-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.why-us-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.why-us-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 1rem;
}

.why-us-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #d4b996;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: white;
  line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
/* === СЕКЦИЯ "ЭТАПЫ РАБОТ (КРАТКО)" === */
.stages-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.stages-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.stages-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stages-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: #333;
  letter-spacing: 0.5px;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stage-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: stretch; /* ← Важно: растягиваем по высоте */
  gap: 1rem;
}

.stage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stage-video {
  width: 120px; /* Ширина квадрата */
  height: 100%; /* Занимает всю высоту карточки */
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.stage-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stage-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 0.5rem;
}

.stage-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  flex: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
  .stages-grid {
    grid-template-columns: 1fr;
  }

  .stage-card {
    flex-direction: column;
    gap: 1rem;
  }

  .stage-video {
    width: 100%;
    height: 120px;
  }
}
/* === СЕКЦИЯ "ТАРИФЫ" === */
.tariffs-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.tariffs-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.tariffs-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 1rem;
}

.tariffs-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tariff-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.tariff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #d4b996;
  color: #1a132a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.tariff-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #d4b996;
  margin-bottom: 0.5rem;
}

.tariff-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: white;
  margin-bottom: 1rem;
}

.tariff-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

.tariff-features li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1rem;
}

.tariff-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4f4ab8;
  font-weight: bold;
}

.tariff-button {
  display: block;
  width: 100%;
  padding: 12px 20px; /* Убираем height, задаём padding */
  background: rgba(79, 74, 184, 0.2);
  color: #d4b996;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: 1rem;
  line-height: 1.4; /* Чтобы текст не прилипал к краям */
}

.tariff-button:hover {
  background: rgba(79, 74, 184, 0.4);
}

.tariffs-note {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #aaa;
  opacity: 0.9;
  margin: 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
  }

  .tariff-badge {
    top: -10px;
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* === СЕКЦИЯ "ПАРТНЁРЫ ДЛЯ ДИЗАЙНЕРОВ" === */
.partners-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.partners-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.partners-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.partners-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 1.5rem;
  color: #333;
  letter-spacing: 0.5px;
}

.partner-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.partner-intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.partner-columns {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .partner-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.partner-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  margin-bottom: 0.8rem;
}

.partner-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.partner-list li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1rem;
}

.partner-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4F4AB8;
  font-weight: bold;
}

.partner-steps {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.partner-steps li {
  margin-bottom: 0.5rem;
}

.partner-link {
  color: #4F4AB8;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.partner-link:hover {
  opacity: 0.8;
}

.partner-note,
.partner-contacts,
.partner-tagline {
  margin: 1.5rem 0;
  text-align: center;
}

.partner-tagline {
  font-weight: 500;
  font-size: 17px;
  color: #333;
}

.partner-cta {
  display: block;
  margin: 2rem auto 0;
  width: fit-content;
  padding: 14px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 17px;
  background: linear-gradient(90deg, #4e4ce0, #d4a36b);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
}

.partner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* === СЕКЦИЯ "ГАРАНТИИ" === */
.guarantees-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.guarantees-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.guarantees-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 1rem;
}

.guarantees-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.guarantee-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem;
  transition: transform 0.2s ease;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.guarantee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 74, 184, 0.2);
  border-radius: 10px;
}

.guarantee-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(85%) sepia(20%) saturate(1000%) hue-rotate(180deg);
}

.guarantee-content {
  flex: 1;
}

.guarantee-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #d4b996;
  margin-bottom: 0.5rem;
}

.guarantee-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
}

.guarantees-footer {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #aaa;
  opacity: 0.9;
  margin: 1.5rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}
/* === СЕКЦИЯ "ЧАСТЫЕ ВОПРОСЫ" === */
.faq-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.faq-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.faq-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: #333;
  letter-spacing: 0.5px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.faq-item {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(79, 74, 184, 0.05);
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #4F4AB8;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Анимация раскрытия */
@keyframes slideDown {
  from { opacity: 0; max-height: 0; padding: 0 1.5rem; }
  to { opacity: 1; max-height: 200px; padding: 0 1.5rem 1.2rem; }
}

.faq-answer.show {
  animation: slideDown 0.3s ease forwards;
}

/* === СЕКЦИЯ "КОНТАКТЫ / CTA" === */
.contacts-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.contacts-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.contacts-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 1rem;
}

.contacts-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.contacts-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contacts-info {
  flex: 1;
}

.contact-item {
  margin-bottom: 1.2rem;
}

.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #d4b996;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-value:hover {
  opacity: 0.8;
}

/* Форма и карта */
.contacts-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #4a3a6a;
  border-radius: 30px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.contact-form input:focus {
  outline: none;
  border-color: #d4b996;
}

.map-placeholder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
  .contacts-content {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-form input {
    padding: 14px 16px;
    font-size: 16px;
  }
}

/* === ФУТЕР === */
.footer {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 40px;
}

.footer-column {
  flex: 1;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #d4b996;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-contact {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #aaa;
}

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

.footer-dev {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dev .dev-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d4b996;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-dev .dev-link:hover {
  opacity: 0.8;
}

.footer-dev svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Адаптивность */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }
}
/* === СЕКЦИЯ "ПОРТФОЛИО: 12 КАРТОЧЕК" === */
.portfolio-section {
  background: linear-gradient(90deg, #3a2c5e, #120d1a);
  color: white;
  padding: 2rem 1rem;
}

.portfolio-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4f4ab8, #b5915e);
  border-radius: 20px;
}

.portfolio-section .container-inner {
  background: linear-gradient(#3a2c5e, #120d1a);
  border-radius: 18px;
  padding: 1rem;
}

.portfolio-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: white;
  letter-spacing: 0.5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.portfolio-content {
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.2);
}

.portfolio-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #d4b996;
  margin-bottom: 0.5rem;
}

.portfolio-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-image {
    height: 150px;
  }
}
/* === SEO-ТЕКСТ === */
.seo-section {
  padding: 2rem 1rem;
  background: #f9f9f9;
  color: #333;
}

.seo-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.seo-section h2,
.seo-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-section h2 {
  font-size: 28px;
  text-align: center;
  margin-top: 0;
}

.seo-section h3 {
  font-size: 22px;
  color: #4F4AB8;
}

.seo-section p,
.seo-section ul {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.seo-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.seo-section li {
  margin-bottom: 0.6rem;
}
/* === SEO-ТЕКСТ В СТИЛЕ САЙТА === */
.seo-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.seo-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.seo-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.seo-section .section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 2rem;
  color: #333;
  letter-spacing: 0.5px;
}

.seo-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.seo-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #333;
  margin: 2rem 0 1rem;
}

.seo-content p,
.seo-content ul {
  margin-bottom: 1.5rem;
}

.seo-content ul {
  padding-left: 1.5rem;
}

.seo-content li {
  margin-bottom: 0.6rem;
}

/* === ФИНАЛЬНЫЙ CTA-БЛОК === */
.cta-final-section {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  color: #333;
  padding: 2rem 1rem;
}

.cta-final-section .container-border {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px;
  background: linear-gradient(90deg, #4F4AB8, #B5915E);
  border-radius: 20px;
}

.cta-final-section .container-inner {
  background: linear-gradient(90deg, #8695E0, #FFD6C9);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.cta-final-section .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 1rem;
  color: #333;
  letter-spacing: 0.5px;
}

.cta-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 2rem;
}
/* === БЛОК КОМАНДЫ === */
.team-section {
  padding: 4rem 2rem;
  background: #0f0a1a;
  color: white;
}

.team-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 29px;
  margin-bottom: 3rem;
  color: white;
  letter-spacing: 0.5px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.team-member {
  text-align: center;
  max-width: 280px;
  width: 100%;
}

.member-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(212, 185, 150, 0.2);
}

.member-photo svg {
  width: 60px;
  height: 60px;
  color: #d4b996;
}

.team-member h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 0.5rem;
  color: white;
}

.member-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #d4b996;
  line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
  .team-section {
    padding: 2.5rem 1rem;
  }

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

  .team-grid {
    gap: 2rem;
  }
}



/* === HERO VIDEO & POSTER === */
.video-parallax,
.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Видео — только на десктопе */
@media (min-width: 769px) {
  .hero-poster {
    display: none;
  }
}

/* Постер — только на мобильных */
@media (max-width: 768px) {
  .video-parallax {
    display: none;
  }

  .hero-poster {
    background: url('assets/video/poster.webp') center/cover no-repeat;
  }
}

/* Затемнение поверх видео/постера */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
  pointer-events: none;
}
/* === СЕКЦИЯ НОВОСТЕЙ === */
.news-section {
    background: linear-gradient(90deg, #3a2c5e, #120d1a);
    color: white;
    padding: 4rem 1rem;
    min-height: 100vh;
}

.news-section .container-border {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
    background: linear-gradient(90deg, #4f4ab8, #b5915e);
    border-radius: 20px;
}

.news-section .container-inner {
    background: linear-gradient(#3a2c5e, #120d1a);
    border-radius: 18px;
    padding: 2rem;
}

.news-section .section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 29px;
    margin-bottom: 2rem;
    color: #d4b996;
    letter-spacing: 0.5px;
}

/* === СЕТКА НОВОСТЕЙ === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* === КАРТОЧКА НОВОСТИ === */
.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 185, 150, 0.3);
}

.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* === ИЗОБРАЖЕНИЕ НОВОСТИ === */
.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #d4b996;
    background: linear-gradient(135deg, rgba(79, 74, 184, 0.3), rgba(181, 145, 94, 0.3));
}

/* === КОНТЕНТ КАРТОЧКИ === */
.news-card-content {
    padding: 1.5rem;
}

.news-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #d4b996;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #aaa;
}

.news-card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(90deg, #4e4ce0, #d4a36b);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover .news-card-button {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(212, 185, 150, 0.3);
}

/* === СТРАНИЦА ПОЛНОЙ НОВОСТИ === */
.news-full-page {
    padding: 8rem 1rem 4rem;
    background: linear-gradient(90deg, #3a2c5e, #120d1a);
    min-height: 100vh;
    color: white;
}

.news-full-page .container-border {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
    background: linear-gradient(90deg, #4f4ab8, #b5915e);
    border-radius: 20px;
}

.news-full-page .container-inner {
    background: linear-gradient(#3a2c5e, #120d1a);
    border-radius: 18px;
    padding: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #d4b996;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.8;
}

.news-full-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-full-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #d4b996;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.news-full-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-full-date,
.news-full-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #aaa;
}

.news-full-content {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
    margin: 2rem 0;
}

.news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
}

.news-video {
    width: 100%;
    max-height: 500px;
    border-radius: 8px;
    margin: 2rem 0;
    background: #000;
}

.news-gif {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
}

.telegram-video {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.telegram-video iframe {
    border-radius: 8px;
}

/* === ДОКУМЕНТЫ === */
.documents-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4f4ab8;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    max-width: 500px;
}

.doc-button:hover {
    background: rgba(79, 74, 184, 0.2);
    border-color: #d4b996;
    transform: translateY(-2px);
}

.doc-button.doc-external {
    border-color: #28a745;
}

.doc-button.doc-external:hover {
    background: rgba(40, 167, 69, 0.2);
}

.doc-icon {
    font-size: 32px;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.doc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-name {
    font-weight: 600;
    font-size: 14px;
    word-break: break-word;
}

.doc-size {
    font-size: 12px;
    color: #aaa;
}

.doc-download {
    font-size: 14px;
    padding: 8px 16px;
    background: #4f4ab8;
    color: white;
    border-radius: 6px;
    white-space: nowrap;
}

.doc-button:hover .doc-download {
    background: #d4b996;
    color: #1a132a;
}

/* === ИСТОЧНИК === */
.news-full-source {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.news-full-source a {
    color: #d4b996;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s;
}

.news-full-source a:hover {
    opacity: 0.8;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .news-section {
        padding: 2rem 0.5rem;
    }
    
    .news-section .container-inner {
        padding: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-full-page {
        padding: 6rem 0.5rem 2rem;
    }
    
    .news-full-page .container-inner {
        padding: 1.5rem;
    }
    
    .news-full-title {
        font-size: 22px;
    }
    
    .news-full-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .doc-button {
        flex-wrap: wrap;
    }
    
    .doc-download {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* === ПУСТАЯ СЕТКА === */
.news-grid:empty::before {
    content: "Новости скоро появятся...";
    display: block;
    text-align: center;
    padding: 4rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #aaa;
    grid-column: 1 / -1;
}