
:root {
        --bg: #111;
        --text: #e0e0e0;
        --green: #00ff66;
        --orange: #ff6900;
        --red: #fe0730;
        --neon: #00efd1;
        --text-light: #eee;
        --text-muted: #aaa;
        --border: rgba(0, 255, 102, 0.2);
        --fz-base: 16px;
        --fz-lg: 32px;
        --fz-sm: 14px;
        --gap: 1.5rem;
        --nav-w: 240px;
        --price-col-width: 200px;
        --pricing-pad: 1.5rem;

  
  /* Основные цвета */
  --bg-dark: #0e0e10;
  --bg-section: #16181c;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-main: #ffffff;
  

  /* Неоновые акценты */
  --neon: #00fff7;
  --neon-soft: #00f0c5;
  --neon-shadow: 0 0 10px #00fff7, 0 0 20px #00f0c5;

  /* Оттенки и вспомогательные */
  --border-light: rgba(255, 255, 255, 0.1);
  --input-bg: #1c1c1e;
  --error: #ff5a5a;
}




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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; /* или 400 */
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
   
}


a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,h2,h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; /* или 300, или 400 */
  word-break: keep-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Первый экран */
/* Секция */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  padding: 100px 20px; /* добавить */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;

  /* Градиент + ваше тёмное изображение (опционально) */
  background: 
    linear-gradient(135deg, #1a1a2e 0%, #16213e 100%),
  
}

@media (max-width: 768px) {
  #hero {
    padding: 100px 0; /* убираем боковые отступы */
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 1.6rem;
    white-space: normal;
    word-break: keep-word;
  }
}


/* Тёмная полупрозрачная накладка */
#hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Декоративные круги/линии для глубины */
#hero .shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  list-style: none;
  pointer-events: none;
}
#hero .shapes li {
  position: absolute;
  display: block;
  width: 20px; height: 20px;
  background: var(--neon);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
/* Расставьте несколько элементов в разных координатах */
#hero .shapes li:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
#hero .shapes li:nth-child(2) { top: 70%; left: 20%; animation-delay: 2s; }
#hero .shapes li:nth-child(3) { top: 10%; left: 80%; animation-delay: 4s; }
#hero .shapes li:nth-child(4) { top: 80%; left: 50%; animation-delay: 1s; }
#hero .shapes li:nth-child(5) { top: 30%; left: 60%; animation-delay: 3s; }
#hero .shapes li:nth-child(6) { top: 70%; left: 90%; animation-delay: 2s; }
#hero .shapes li:nth-child(7) { top: 15%; left: 35%; animation-delay: 2s; }

/* Анимация «плавания» */
@keyframes float {
  0%,100%   { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

/* ===== HERO BLOCK CLEAN STYLES ===== */

/* Общие стили контейнера hero */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;        /* чтобы контент не расползался */
  margin: 0 auto;
  color: var(--text-light);
  text-align: center;
  opacity: 1;
  transform: none;

  display: flex;            /* выравнивание по вертикали */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;              /* задаёт равномерный отступ между элементами */
}

/* === Заголовок === */
.hero-content h1#animated-title {
  font-family: 'Unbounded', serif;
  font-weight: 200;
  font-size: 3rem;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  display: inline-block;
  min-height: 3em;
  overflow: hidden;
  
}

/* === Подзаголовок === */
.hero-content p#subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-muted);
  min-height: 2.5em;
  margin: 0;
}

/* === Кнопка === */
.cta-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  color: #111;
  background: linear-gradient(90deg, var(--neon), var(--neon-soft));
  border: none;
  border-radius: 8px;
  box-shadow: var(--neon-shadow);
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 2.5rem;
}

/* === Адаптивность === */
@media (max-width: 991px) {
  .hero-content h1#animated-title {
    font-size: 2.5rem;
  }

  .hero-content p#subtitle {
    font-size: 1.3rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.65rem 1.8rem;
  }

  .hero-content {
    gap: 2rem;
    padding: 80px 20px;
  }
}

@media (max-width: 767px) {
  .hero-content h1#animated-title {
    font-size: 2rem;
  }

  .hero-content p#subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .hero-content {
    gap: 1.5rem;
    padding: 60px 15px;
  }
}



/* Анимация по буквам */
.letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(-100px);
  animation: drop 0.6s ease-out forwards;
}

.letter.space {
  display: inline-block;
  width: 0.6em;
}



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


.cta-button:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 239, 209, 0.8);
}

/* Анимации */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drop {
  0% {
    opacity: 0;
    transform: translateY(-100px) rotate(-10deg);
  }
  70% {
    opacity: 1;
    transform: translateY(10px) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0.5rem;
  }

 .hero-content h1#animated-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 2rem;
    margin-bottom: 2rem;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .hero-content p#subtitle {
    font-size: 0.8rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

.subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
/* ===== END HERO BLOCK STYLES ===== */


#main-wrapper {
  display: none; /* скрыт изначально */
  flex-direction: row;
  max-width: 100%;
  box-sizing: border-box;
}

/* Меню */
.sidebar {
  position: sticky;
  top: 0;
  width: 250px;
  height: 100vh;
  background-color: var(--bg-card);
  padding: 40px 20px;
  border-right: 1px solid #333;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 20px;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

.sidebar a:hover {
  text-decoration: underline;
}

.menu-item {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  margin-bottom: 20px;
  z-index: 9999;
}

.menu-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-item.active a {
  color: var(--neon); /* Подсветка активного пункта */
  font-weight: bold;
  text-decoration: underline;
}

.floating-cta {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 1000;
  display: inline-block;
  padding: 12px 20px;
  background-color: #111;
  color: var(--neon); /* Цвет текста, неон */
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.floating-cta,
.floating-cta:visited,
.floating-cta:hover,
.floating-cta:active,
.floating-cta:focus {
  text-decoration: none !important;
}


.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background-color: #111;
  color: #fff;
  box-shadow: 0 0 12px var(--neon),
              0 0 24px var(--neon),
              0 0 36px rgba(0, 255, 255, 0.7);
  transform: scale(1.05);
}

/* Контент */
.content {
  max-width: 100%;
  box-sizing: border-box;
  flex: 1;
  background-color: var(--bg-section);
}

/*Секция Преимущества*/

.advantages-section {
  max-width: 100%;
  box-sizing: border-box;
  padding: 150px 20px 100px 20px;
  background: var(--bg-section);
  width: 100%;
  color: #fff;
  text-align: center;
}


.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

.advantage-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px 20px;
  width: 260px;
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.advantage-card p {
  text-align: left;
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85); /* можно адаптировать под вашу цветовую схему */
}

.neon-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}


/* Адаптация advantages-grid для разных экранов */

@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 2fr;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px; /* отступ снизу */
  color: #fff; /* или нужный цвет */
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem; /* или 1rem */
  }
}



/*Секция Кейсы*/
.cases-section {
  max-width: 100%;
  box-sizing: border-box;
  padding: 100px 0 0 0;
  height: auto;
  background: var(--bg-section);
}

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

/*карточки кейсов*/
.case-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  max-height: 0;
  margin: 0;
  transition: all 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);

}

.case-card.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 1000px;
  margin-bottom: 20px;
}

.case-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.case-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.case-card:hover{
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.case-title:hover {
  opacity: 1;
  transform: translateY(0);
}

/* Показываем заголовок при наведении — только на десктопе */
@media (hover: hover) and (pointer: fine) {
  .case-card:hover .case-title {
    opacity: 1;
    transform: translateY(0);
  }
}

/* На мобильных заголовок всегда виден */
@media (hover: none) and (pointer: coarse) {
  .case-title {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .case-card {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    transform: none !important;
    opacity: 1 !important;
    max-height: none !important;
    margin-bottom: 16px;
  }

  .case-title {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}


/* === Секция Кейсы адаптация === */

@media (min-width: 1025px) and (max-width: 1279px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
}

@media (min-width: 1280px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 20px;
  }
}


@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 0 20px;
  }

}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .case-card {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    transform: none !important;
    opacity: 1 !important;
    max-height: none !important;
    margin-bottom: 16px;
  }

  .case-title {
    font-size: 0.95rem;
    padding: 0.8rem;
    opacity: 1;
    transform: translateY(0);
  }

}

/* Дополнительно для очень маленьких экранов */
@media (max-width: 480px) {
  .cases-grid {
    padding: 0 12px;
  }

  .case-title {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}

@media (max-width: 1024px) {
  .case-card.placeholder {
    display: none !important;
  }
}



/*Кнопка «Смотреть больше»*/
.show-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .show-more-wrapper {
    display: none;
  }
}

.show-more-btn {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--neon);
  cursor: pointer;
  padding: 12px 20px;
  font-weight: 300;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.show-more-btn .btn-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; 
  font-size: 1rem;
  transition: all 0.5s ease;
}

.show-more-btn .btn-text:hover {
  color: rgba(0, 255, 255, 0.5);
  font-size: 1rem;
}

.show-more-btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.show-more-btn:hover {
  color: rgba(0, 255, 255, 0.5);
}

.show-more-btn:hover .arrow {
  transform: translateX(5px);
  color: var(--orange);
}

.show-more-btn.expanded .arrow {
  transform: rotate(180deg);
}

.cases-grid:hover .case-item {
  opacity: 0.3;
}

.cases-grid:hover .case-item:hover {
  opacity: 1;
  z-index: 1;
}

/* Cекция отзывов */


.review-section {
  max-width: 100%;
  box-sizing: border-box;
  padding: 90px auto 0;
  padding: 0 20px 100px;
  background: var(--bg-section);
  color: #fff;
  text-align: center;
  border-radius: 32px;
  position: relative;
}

.testimonial-list {
 background: rgba(255, 255, 255, 0.04);
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
}

/* Неоновая линия-разделитель */
.review-section::before {
  content: "";
  display: block;
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon), #00ff2b);
  margin: 80px auto 100px auto;
  border-radius: 4px;
}

.review-card {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px #0005;
  transition: transform 0.3s ease;
  box-sizing: border-box; /* ← важно для padding */
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px var(--neon), 0 0 30px rgba(0, 255, 255, 0.2);
}

.review-photo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 2px solid var(--neon);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}


.review-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}


.review-message {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  line-height: 1.5;
}

.review-author {
  font-style: normal;
  color: var(--neon);
  font-weight: 300;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.25rem;
  text-align: right;
  display: block;
  padding-right: 10px;
}

.review-date .icon {
  margin-right: 4px;
  opacity: 0.7;
}



/* === КНОПКИ ПАГИНАЦИИ (Отзывы) === */
.review-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.review-buttons button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--neon);
  background-color: transparent;
  color: var(--neon);
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-buttons button:hover:not(:disabled) {
  background-color: var(--neon);
  color: #111;
}

.review-buttons button:disabled {
  opacity: 0.5 !important;
  border-color: #444 !important;
  background-color: transparent !important;
  color: #777 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  pointer-events: none;
}



/* Основной фон/обёртка формы отзывов */
.testimonial-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
}

/* Текст заголовка формы */
.review-section .testimonial-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

/* Точечные стили полей и кнопки */
.review-form.styled-form input,
.review-form.styled-form textarea,
.review-form.styled-form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.5);
  background: var(--bg-card);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.review-form.styled-form input:focus,
.review-form.styled-form textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 5px var(--neon);
}

/* Кнопка отправки */
.submit-btn {
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

.submit-btn:hover {
  background: var(--neon);
  color: #000;
}

/* Ограничиваем ширину формы отзывов */
.testimonial-form-wrapper {
  width: 700px;        /* чуть больше, чтобы фон было видно вокруг */
  margin: 60px auto 0;
}

.review-form.styled-form {
  max-width: 500px;
  width: 100%;
  margin: 1.5rem auto;     /* по центру сверху/снизу */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Сообщение после отправки */
.form-message {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #8f8;
  display: none;
}

.form-message.success {
  display: block;
  color: #8f8;
}

.form-message.error {
  display: block;
  color: #f88;
}

/*Автозаполнение*/
input:-webkit-autofill,
textarea:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #fff !important; /* <-- ЭТО добавь */
  transition: background-color 5000s ease-in-out 0s;
}

.anchor-offset {
  position: relative;
  top: -100px; /* подстрой под высоту фиксированного меню */
  height: 0;
}


/* === Адаптация секции отзывов === */

/* Планшеты */
@media (max-width: 1024px) {
  .testimonial-list,
  .testimonial-form-wrapper {
    max-width: 90%;
    padding: 30px;
  }

  .review-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .review-photo {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
  }

  .review-buttons {
    gap: 0.75rem;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .testimonial-list,
  .testimonial-form-wrapper {
    max-width: 95%;
    padding: 20px;
  }

  .review-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 8px;
  }

  .review-photo {
    width: 45px;
    height: 45px;
    font-size: 0.75rem;
  }

  .review-message {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .review-author {
    font-size: 0.9rem;
  }

  .review-date {
    font-size: 0.8rem;
    text-align: left;
    padding-right: 0;
  }

  .review-buttons button {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }

  .review-form.styled-form input,
  .review-form.styled-form textarea,
  .review-form.styled-form button {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .submit-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }

  .review-section::before {
    width: 90%;
    margin: 50px auto 60px auto;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .testimonial-list,
  .testimonial-form-wrapper {
    max-width: 98%;
    padding: 15px;
  }

  .review-card {
    padding: 12px;
  }

  .review-photo {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }

  .review-message {
    font-size: 0.9rem;
  }

  .review-author {
    font-size: 0.85rem;
  }

  .review-buttons button {
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }

  .submit-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

/* === Адаптация кнопок пагинации отзывов === */

@media (max-width: 768px) {
  .review-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .review-buttons button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .review-buttons button {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    min-width: 90px;
  }
}


/* Секция Обо мне */
.about-section {
  max-width: 100%;
  box-sizing: border-box;
  padding: 100px 20px;
  background: var(--bg-section);
  color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: nowrap; /* или wrap-reverse, если хочешь */
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-photo img {
  width: 280px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--white, #fff);
}


.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.toggle-about-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: none;
  border: none;
  color: var(--neon);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
  padding: 0;
}

.toggle-about-btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.toggle-about-btn:hover {
  color: rgba(0, 255, 255, 0.5);
}

.toggle-about-btn .arrow {
  color: var(--neon);
}

.toggle-about-btn:hover .arrow {
  color: var(--orange);
}

.more-about {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.5s ease;
}

.more-about.visible {
  max-height: 2000px; /* можно увеличить, если текст большой */
  opacity: 1;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat {
  background: #1c1c1c;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  flex: 1 1 120px;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--neon);
  margin-bottom: 0.5rem;
}

.stat span {
  font-size: 1rem;
  color: #ccc;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  height: 100vh;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ======= Секция Обо мне: адаптив ======= */

/* Базовые стили не меняем */

@media (max-width: 1024px) {
  .about-container {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .about-photo img {
    width: 220px;
  }

  .about-text {
    width: 100%;
    text-align: center;
  }

  .about-text h3 {
    font-size: 1.2rem;
  }

  .about-text p {
    font-size: 1rem;
    text-align: left;
  }

  .toggle-about-btn {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .about-photo img {
    width: 180px;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .about-text h3 {
    font-size: 1.1rem;
  }

  .toggle-about-btn {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .about-photo img {
    width: 150px;
  }

  .about-text p {
    font-size: 0.9rem;
  }
}


/* Секция Цена */
/* Секция Алгоритм */
.content-wrapper {
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.price-section,
.algoritm-section {
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: 100px 20px;
  background: var(--bg-section);
  color: white;
  font-size: 1.5rem;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

/* Вращающаяся иконка секции Цены */
.right-icon {
  position: absolute;
  top: 20%;
  right: -650px;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.icon-rotate-y {
  width: 400px;
  height: 400px;
  color: var(--neon);
  animation: rotateYIcon 16s linear infinite;
  transform-style: preserve-3d;
}

@keyframes rotateYIcon {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (max-width: 768px) {
    .floating-icon {
        display: none;
    }
}



/* вращающаяся иконка секции Алгоритм */
.floating-icon {
  position: absolute;
  top: 20%;
  left: 5%;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.floating-icon .icon-rotate {
  width: 400px;
  height: 400px;
  color: var(--neon);
  animation: rotateIcon 20s linear infinite;
  transform-origin: center;
}

@keyframes rotateIcon {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.section-divider {
  width: 120px;
  height: 3px;
  margin: 40px auto;
  background: linear-gradient(90deg, var(--neon, #00ffe0), white);
  border-radius: 2px;
}


.highlight-quote {
  font-style: italic;
  color: var(--white-50, rgba(255,255,255,0.5));
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.more-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--neon);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.4rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.more-link:hover {
  color: rgba(0, 255, 255, 0.5);
}

.more-link .arrow {
  color: var(--neon); 
  font-size: 0.8rem;
  transform: translateX(0) scaleX(1);
  display: inline-block;
  transition: all 0.3s ease;
}

.more-link:hover .arrow {
  transform: translateX(6px) scaleX(1.4);
  font-size: 1rem;
}

/* ======= Адаптация секций Цена и Алгоритм ======= */

@media (max-width: 991px) {
  .price-section,
  .algoritm-section {
    padding: 40px 16px;
    font-size: 1.3rem;
  }

  .content-wrapper {
    max-width: 90%;
    padding: 0 10px;
  }

  .highlight-quote {
    font-size: 1.05rem;
  }

  .more-link {
    font-size: 0.95rem;
  }


}

@media (max-width: 600px) {
  .price-section,
  .algoritm-section {
    padding: 30px 12px;
    font-size: 1.1rem;
  }

  .highlight-quote {
    font-size: 0.95rem;
  }

  .more-link {
    font-size: 0.9rem;
  }

  
}

@media (max-width: 400px) {
  .price-section,
  .algoritm-section {
    padding: 30px 10px;
    font-size: 1rem;
  }

  .highlight-quote {
    font-size: 0.9rem;
  }

  .more-link {
    font-size: 0.85rem;
  }
}

button[type="submit"] {
  background: transparent;
  color: var(--neon);
  padding: 10px 24px;
  border: 2px solid var(--neon);
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background: var(--neon);
  color: #000;
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
}

button[type="submit"]:disabled {
  color: #666;
  border-color: #666;
  cursor: not-allowed;
  background: transparent;
  box-shadow: none;
}

/* Секция Блог */
.blog-section {
  max-width: 100%;
  box-sizing: border-box;
  padding: 140px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center; /* центрирует, если карточек меньше, чем колонок */
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.blog-post {
  background: var(--bg-section);
  border: 1px solid var(--neon);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* чтобы можно было выравнивать по высоте */
  max-width: 100%; /* не ломает сетку */
}
.blog-post:hover {
  transform: translateY(-5px);
}
.blog-cover {
  width: 100%;
  max-height: 150px; /* уменьшить высоту */
  object-fit: contain;
  display: block;
}
.blog-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1; /* растягивает блок до низа */
}

.blog-date {
  font-size: 0.85rem;
  color: var(--white-50);
}

.blog-title {
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}

.blog-desc {
  font-size: 1rem;
  color: var(--white-50);
}

.blog-link {
  margin-top: auto;
  color: var(--neon);
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s ease;
}
.blog-link:hover {
  opacity: 0.8;
}

/* Страница статьи блога */
.blog-post-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-post-full {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
  line-height: 1.6;
  font-size: 1.05rem;
}

.full-post {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--neon);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.full-post-cover {
  width: 100%;
  max-height: 200px; /* уменьшить высоту */
  object-fit: contain;
  border-radius: 8px;
}

.full-post .blog-date {
  font-size: 0.9rem;
  color: var(--white-50);
}

.full-post .blog-title {
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.full-post .blog-desc {
  color: var(--white-50);
  font-style: italic;
}

.blog-full-text {
  margin-top: 1rem;
  color: var(--white);
  white-space: pre-line;
}

.full-post .blog-link {
  margin-top: 2rem;
  display: inline-block;
  color: var(--neon);
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.full-post .blog-link:hover {
  opacity: 0.8;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination button {
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 4px;
}

.pagination button:hover,
.pagination button.active {
  background: var(--neon);
  color: #000;
}

@media (max-width: 1024px) {
  .blog-section {
    padding: 100px 16px;
  }

  .blog-grid {
    padding: 40px 16px;
    gap: 1.5rem;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .blog-section {
    padding: 80px 12px;
  }

  .blog-grid {
    padding: 30px 12px;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 1rem;
  }

  .blog-desc {
    font-size: 0.9rem;
  }

  .blog-cover {
    max-height: 120px;
  }
}

@media (max-width: 400px) {
  .blog-section {
    padding: 60px 10px;
  }

  .blog-grid {
    padding: 20px 10px;
  }

  .blog-title {
    font-size: 0.95rem;
  }

  .blog-desc {
    font-size: 0.85rem;
  }

  .blog-cover {
    max-height: 100px;
  }
}

/* Контакты и Отзывы — одинаковый контейнер */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-section);
}

/* === ФОРМА (Контакты + Отзывы) === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
  margin-top: 1.5rem;
  /* сначала скрыта и немного смещена вниз */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Единый стиль для input, textarea и кнопки */
.form-field {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.5);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  /* сначала скрыты и чуть уменьшены */
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    border 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    opacity 0.6s ease,
    transform 0.6s ease;
}
.form-field.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Фокус на полях */
.form-field:focus {
  border-color: var(--neon);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}


/* Сообщение об ответе сервера */
.form-message {
  margin-top: 1rem;
  font-size: 1rem;
  color: #9f9;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.form-message.visible {
  opacity: 1;
}

/* Анимация для отдельных элементов формы */
.form-element {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.form-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-result {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-result.success {
  background-color: #e6f9f0;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.form-result.error {
  background-color: #ffe6e6;
  color: #c62828;
  border: 1px solid #c62828;
}

.form-message {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: white;
  background-color: #444;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 20px;
  text-align: center;
}

.form-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background-color: #4caf50;
}

.form-message.error {
  background-color: #f44336;
}


/* === СПИСОК ОТЗЫВОВ === */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 700px;
}


/* Подхватят стили .form-field автоматически, т.к. сами кнопки — .form-field */

/* === ОБЩАЯ АНИМАЦИЯ ПРИ СКРОЛЛЕ === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .contact-section {
    padding: 60px 16px;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 0 8px;
  }

  .form-field {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .contact-icons {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .contact-icons img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 50px 12px;
  }

  .contact-title {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .form-field {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .contact-icons img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 400px) {
  .contact-section {
    padding: 40px 10px;
  }

  .contact-title {
    font-size: 1.15rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .form-field {
    font-size: 0.85rem;
    padding: 8px 10px;
  }

  .contact-icons img {
    width: 32px;
    height: 32px;
  }
}






/* ————————————————————————————
   Оформление «серого» фона для Контактов
—————————————————————————————— */
#contacts .contact-section {
  background: rgba(255, 255, 255, 0.04); /* тот же фон, что и у отзывов */
  padding: 40px;                         /* внутренние отступы */
  border-radius: 20px;                   /* скругления */
  max-width: 700px;                      /* то же, что у отзывов */
  margin: 60px auto;                     /* по центру с небольшим отступом сверху */
  text-align: center;
}


 /* === Секция «Цены» === */


/* 2) Сетка контейнера: меню + контент */
.pricing {
  background: var(--bg-section);;
  
}
.pricing__inner {
  position: relative; /* чтобы фикс-меню относилось к этому контейнеру, если нужно */
  display: block;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;

}
@media (max-width: 991px) {
  .pricing__inner {
    display: block !important; /* отключаем флекс, чтобы убрать отступ слева */
    padding: 0 16px; /* добавим отступы по бокам */
  }
}



/* Ссылки */
.pricing__nav a {
  display: block;
  padding: 1rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}
.pricing__nav a:hover,
.pricing__nav a.active {
  background-color: rgba(0, 255, 255, 0.1); /* неоновая подсветка */
  color: var(--neon); /* твой акцентный цвет */
  text-shadow: 0 0 4px var(--neon);
}

.pricing__nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: var(--neon);
  border-radius: 2px;
}

/* Кнопка */
.pricing__nav .btn {
  display: flex;                  /* ← включаем флекс */
  align-items: center;            /* вертикальное центрирование */
  justify-content: center;        /* горизонтальное центрирование */
  margin-top: auto; /* ← опускает кнопку вниз */
  padding: 12px 20px;
  width: 100%;                    /* или фиксированную ширину по желанию */
  background-color: #111;
  color: var(--neon);
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  transition: all 0.4s ease;
}
.pricing__nav .btn:hover {
  background-color: #111;
  color: #fff;
  box-shadow: 0 0 12px var(--neon),
              0 0 24px var(--neon),
              0 0 36px rgba(0, 255, 255, 0.7);
  transform: scale(1.05);
  text-decoration: none;
}
/* Универсальный стиль для .pricing__content */
.pricing__content {
  margin-left: 0;
  padding-left: var(--gap);
  padding-right: var(--gap);
  flex: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* На десктопе можно вернуть отступ, если есть фиксированное меню */
@media (max-width: 991px) {
  .pricing__content {
    margin-left: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}


/* Заголовок */
.pricing__title {
  align-self: flex-start;
  font-size: var(--fz-lg);
  margin-bottom: .5rem;
  color: #fff;
   /* Сбрасываем лишние отступы по умолчанию */
  margin: 0;
  padding: 0;

  /* Текст прижмётся к левому краю контейнера .pricing__nav */
  margin-left: 0;
  margin-bottom: 20px;

  /* На всякий случай: */
  text-align: left;
}
.pricing__title .green {
  color: var(--orange);
}
.pricing__subtitle {
  color: var(--orange);
  margin-bottom: 2rem;
  font-size: var(--fz-base);
}

/* ========== Таблица цен ========== */
.pricing__table {
  border-top: 1px solid var(--border);
}

.pricing__price {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: var(--orange);
  border-right: 1px solid var(--border);
}

.pricing__row {
  display: grid;
  grid-template-columns: var(--price-col-width) 1fr;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.pricing__price {
  display: flex;
  flex-direction: column;
  padding: var(--pricing-pad);
  font-size: 1.5rem;
  color: var(--orange);
  border-right: 1px solid var(--border);
  position: relative;
}

/* каждый price-block — это свой «блок» цену+подпись */
.price-block {
  margin-bottom: 1rem; /* регулирует расстояние до следующего блока */
}
.price-block:last-child {
  margin-bottom: 0;
}

.amount {
  display: block;
  font-size: 1.5rem;
  color: var(--orange);
}

.label {
  display: block;
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.8);
  margin-top: 0.25rem; /* отступ сверху, чтобы подпись чуть отошла от цены */
}

/* зачёркнутая старая цена */
.pricing__price .old {
  position: absolute;
  left: var(--pricing-pad);
  top: calc(var(--pricing-pad) / 2); /* или как вам по дизайну */
  color: rgba(255, 105, 0, 0.5);
  text-decoration: line-through;
  font-size: 1, 25rem;
}
/* метка «Подарок» */
.pricing__price .gift {
  display: block;
  margin-top: 2rem;
  color: var(--neon);
  font-size: 1.5rem;
}
.pricing__desc {
  padding: 1.5rem;
}
.pricing__desc h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--neon);
}
.pricing__desc p {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  color: rgba(224, 224, 224, 0.8);
  line-height: 1.6;
}


/* кнопка внизу */
.pricing__footer {
  margin-top: 2rem;
  align-self: start;
}
.pricing__footer .btn-primary {
  padding: 0.75rem 1.5rem;
  background: var(--neon);
  color: var(--bg);
  border: none;
  text-transform: uppercase;
  font-size: var(--fz-base);
  cursor: pointer;
}
.pricing__desc span {
  display: block;
  margin: 0.5rem 0 0; /* при желании отступ сверху между пунктами */
}

/* ===== Мобильный сайдбар ===== */
@media (max-width: 991px) {
  .overlay-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 900;
    display: none;
  }

  .overlay-bg.active {
    display: block;
  }

  body.no-scroll {
    overflow: hidden;
  }
}

    /* add custom cursor */
  .typed-words::after {
  content: "|";
  display: inline;
  animation: blink 1s infinite;
  }
  /* custom cursor animation */
  @keyframes blink {
  0% {
  opacity: 1;
  }
  50% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
  }

.typed-words {
  color: var(--orange);
  text-align: left;
  letter-spacing: 3px;
  margin: 20px auto 0;
  font-family: Unbounded, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  display: block;
  min-height: 2.6em; /* фиксированная высота во избежание «прыжков» */
}

@media (max-width: 480px) {
  .typed-words {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
    min-height: 2.4em; /* адаптировать под меньший размер */
    padding: 0 10px; /* отступы по бокам */
  }
}

.about-typed {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.5;
  font-family: inherit;
  text-align: left; /* или center */
  min-height: 3.3em; /* ≈ 2 строки * line-height */
}

#typed-about {
  display: inline; /* не block, не inline-block */
  white-space: normal; /* разрешаем перенос */
  word-wrap: break-word;
}

/* Правим сам курсор */
.typed-cursor {
  display: inline;
  font-weight: normal;
  vertical-align: baseline;
}


@media (max-width: 480px) {
  #typed-about {
    font-size: 1rem;
    line-height: 1.4;
    min-height: 6em;
  }

  .about-typed {
    font-size: 1rem;
    min-height: 5em;
  }
}


.text-bg {
  min-height: 4rem;
  margin-bottom: 20px;
}



 .cursor {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 1px solid white;
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  z-index: 99; 
  }
  .cursor2 {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: #eeebeb;
  opacity: .3;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .3s, height .3s, opacity .3s;
  z-index: 100; 
  }
  .hover {
  background-color: #fe07309b;
  opacity: 0.5;
  }
  .cursorinnerhover {
  width: 50px;
  height: 50px;
  opacity: .5;
  }

  @media (max-width: 991px) {
  .cursor,
  .cursor2 {
    display: none !important;
  }
}


         /* общий стиль для всех «выделенных» ссылок */
.highlight-link {
  color: #d1cece;         /* цвет текста */
  font-weight: 500;            /* чуть более жирный шрифт */
  text-decoration: none;       /* убрать стандартное подчеркивание */
  background: rgba(0, 234, 255, 0.1); /* легкий фон-подсветка */
  padding: 2px 4px;            /* отступы вокруг текста */
  border-radius: 3px;          /* скруглить углы фона */
  transition: background 0.2s;
}

.highlight-link:hover {
  background: rgba(0, 234, 255, 0.2); /* при наведении чуть ярче фон */
  text-decoration: underline;      /* или любое другое hover-поведение */
}


.footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  background: var(--bg-section);
  color: var(--white-50, rgba(255,255,255,0.5));
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.footer a,
.footer .privacy {
  color: var(--neon);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.footer a:hover,
.footer .privacy:hover {
  opacity: 0.7;
}

#reset-lang {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  opacity: 0.2;
  font-size: 0.8rem;
  padding: 6px 10px;
  background: var(--bg-section);
  color: var(--neon);
  border: 1px solid var(--neon);
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease;
}

#reset-lang:hover {
  opacity: 0.8;
  background: rgba(0,255,255,0.1);
}

@media (max-width: 600px) {
  .footer {
    font-size: 0.85rem;
    padding: 16px 10px;
  }

  .footer a,
  .footer .privacy {
    font-size: 0.85rem;
  }

  #reset-lang {
    font-size: 0.75rem;
    padding: 5px 8px;
  }
}


.privacy {
  transition: all 0.5s ease;
  
}
.privacy:hover {
   text-decoration: underline;
}


.neon-icon {
  font-size: 40px;
  color: #05bca5;
  /*filter: drop-shadow(0 0 6px var(--neon));*/
  margin-bottom: 0.5rem;
}

/* === ИКОНОКИ КОНТАКТОВ === */
.contact-icons {
  margin-top: 2rem;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.contact-icon {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact-icon.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.contact-icon:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.6));
}


/* Свитчер */
.lang-switcher {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 2000;
  background-color: rgba(17, 17, 17, 0.75);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--neon);
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switcher a img {
  width: 22px;
  height: 16px;
  display: block;
  transition: transform 0.2s ease;
  filter: brightness(1.2) contrast(1.1);
}

.lang-switcher a:hover img {
  transform: scale(1.1);
}


@media (max-width: 480px) {
  .lang-switcher {
    font-size: 0.75rem;
    right: 1rem;
    top: 1rem;
    padding: 4px 8px;
  }
}

/* Политика конфиденциальности */
.privacy-section-yes {
  background-color: #0f0f0f;
  color: #fff;
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: 'Ubuntu', sans-serif;
}

.z-of-privacy {
  max-width: 900px;
  line-height: 1.7;
  font-size: 1rem;
  color: #ccc;
}

.h2-privacy {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--neon, #00f5d4);
  text-align: center;
}

.p.otst-niz {
  margin-bottom: 60px;
}

.p.otst-niz strong {
  display: block;
  margin-top: 30px;
  color: var(--neon, #00f5d4);
  font-weight: 500;
  font-family: 'Unbounded', sans-serif;
}

.center {
  text-align: center;
}

.l.pri {
  display: inline-block;
  margin-top: 40px;
  padding: 0.75rem 1.5rem;
  color: var(--neon, #00f5d4);
  border: 2px solid var(--neon, #00f5d4);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.l.pri:hover {
  background-color: var(--neon, #00f5d4);
  color: #0f0f0f;
}


/*Языковой попап*/
.lang-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #111;
  border: 1px solid var(--neon);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  z-index: 9999;
  font-size: 0.9rem;
  color: var(--neon);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.lang-popup.hidden {
  display: none;
}

.lang-popup .lang-btn {
  background: var(--neon);
  color: #000;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.lang-popup .lang-close {
  background: transparent;
  color: var(--neon);
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}

.back-to-cases-fixed {
  position: fixed;
  left: 20px;
  z-index: 2000;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neon);
  background-color: #111;
  border: 2px solid var(--neon);
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-cases-fixed:hover {
  background-color: var(--neon);
  color: #000;
}


.overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

.overlay-bg.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============= Sidebar ============= */

/* Десктоп: sidebar всегда виден */
@media (min-width: 1025px) {
  .sidebar {
    position: sticky;
    top: 0;
    left: 0;
    width: var(--nav-w, 300px);
    height: 100vh;
    background: var(--bg-section);
    padding: 40px 20px;
    border-right: 1px solid #333;
    overflow-y: auto;
  }
}

/* Мобильные: sidebar скрыт, показывается бургером */
@media (max-width: 991px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 280px;
    height: 100vh;
    background: var(--bg-section);
    padding: 60px 20px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

/* ============= Блокировка скролла при открытом меню ============= */
.no-scroll {
  overflow: hidden;
}



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

.sidebar .menu-item {
  margin-bottom: 20px;
}

.sidebar .menu-item a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar .menu-item a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .sidebar .menu-item {
    opacity: 1 !important;
    transform: none !important;
  }
}


.menu-item.active a {
  color: var(--neon);
}


.flying-tags {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.flying-tag {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  color: var(--neon, #00ffff);
  opacity: 0;
  white-space: nowrap;
  user-select: none;
  will-change: transform, opacity;
}


  .burger {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  width: 30px;
  height: 22px;
  
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.burger.visible {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 991px) {
  .burger {
    display: flex; /* Показывать на мобильных */
  }
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--neon, #00ffff);
  border-radius: 2px;
  transition: 0.3s;
}

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

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

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


@media (max-width: 767px) {
  .pricing__row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .pricing__price {
    text-align: center;
    font-size: 1.1rem;
    width: 100% !important;
  }

  .pricing__desc {
    width: 100% !important;
    text-align: center;
  }

  .pricing__desc h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .pricing__desc p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .price-block .amount {
    display: block;
    font-size: 1rem;
  }

  .price-block .label {
    font-size: 0.85rem;
  }
}


@media (max-width: 480px) {
  .pricing__row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .pricing__price {
    width: 100% !important;
    text-align: left;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
  }

  .pricing__desc {
    width: 100% !important;
    text-align: left;
    font-size: 1rem;
  }

  .pricing__desc h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .pricing__desc p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .price-block {
    display: block;
    margin-bottom: 0.5rem;
  }

  .price-block .amount {
    display: block;
    font-size: 1rem;
  }

  .price-block .label {
    font-size: 0.85rem;
    display: block;
    margin-top: 0.2rem;
  }
}








